Koozali.org formerly Contribs.org

Unable to access Server manager during restore from workstation.

Searched forum but have not found exactly this issue.

First I tried to upgrade my server from v8.1 to V9.0 and for some reason I couldn't make this work.  So I did a fresh install of v8.0 and did all the updates to get v8.1.

Then I started a restore from workstation (which is taking an inordinately long time incidentally) and found that I could no longer access server manager from my browser.  I am able to log into root via a terminal session using PuTTY.

I am not very familiar with Linux and I am trying to tell if the restore is finished by using Wireshark and monitoring the traffic between the server and the workstation (running it on the workstation).

Can I tell if the restore is finished in a better way?  Is there something I can look at via my tty session?

Also any ideas why I can't access server manager.

Thanks in advance for any help.
« Last Edit: April 30, 2015, 02:14:44 AM by abarron »

Offline janet

  • ****
  • 4,812
Re: Unable to access Server manager during restore from workstation.
« Reply #1 on: April 30, 2015, 05:13:10 AM »
abarron

Try accessing server manager directly at the server console.
Log in as admin (at the command prompt) & from the menu select server manager.
It will open a text based server manager view

Please search before asking, an answer may already exist.
The Search & other links to useful information are at top of Forum.

Re: Unable to access Server manager during restore from workstation.
« Reply #2 on: April 30, 2015, 04:45:29 PM »
Thank you Janet.  Yes I can access server manager from the console via my terminal connection.

That is I can access the login dialogue and when I supply the appropriate credentials it brings up a new URL and then eventually cycles back to the login dialogue after a few seconds.

This is essentially the same behaviour I am getting from the web interface.

Any more ideas gratefully received.

Offline Stefano

  • *
  • 10,805
  • Skype account: maghissimo
    • Smeserver italian community
Re: Unable to access Server manager during restore from workstation.
« Reply #3 on: April 30, 2015, 04:54:13 PM »
are you still waiting for the data restore?
Consulente di Smeserver.it -  Soluzioni e supporto su Sme server in Italia

Re: Unable to access Server manager during restore from workstation.
« Reply #4 on: April 30, 2015, 07:43:14 PM »
Yes Stefano I am,  lot of data.

Offline janet

  • ****
  • 4,812
Re: Unable to access Server manager during restore from workstation.
« Reply #5 on: April 30, 2015, 08:12:00 PM »
abarron

Quote
  Yes I can access server manager from the console via my terminal connection.
That is I can access the login dialogue and when I supply the appropriate credentials it brings up a new URL and then eventually cycles back to the login dialogue after a few seconds.
This is essentially the same behaviour I am getting from the web interface.

I do not call that being able to access server manager. I call that NOT being able to access server manager.

Did you configure the identical backup job in server manager, so it can find your backup to do the restore from ?

Please search before asking, an answer may already exist.
The Search & other links to useful information are at top of Forum.

Offline Stefano

  • *
  • 10,805
  • Skype account: maghissimo
    • Smeserver italian community
Re: Unable to access Server manager during restore from workstation.
« Reply #6 on: April 30, 2015, 08:12:57 PM »
how much data?
is your raid rebuilding? raid1? raid5?
how is connected the remote machine? 100 MBit? 1Gbit?

you don't need server-manager to monitor restoring..
just login as root and use top, iptraf, df (open at least 3 different sessions)

you'll see what's running (dar), network traffic speed (iptraf), disk space occupation (df)

in the meanwhile, I suggest you to smoke a lot of cigarettes and drink coffee :-)
if you are not a smoker, just start ;-)

Consulente di Smeserver.it -  Soluzioni e supporto su Sme server in Italia

Re: Unable to access Server manager during restore from workstation.
« Reply #7 on: April 30, 2015, 08:17:55 PM »
abarron

I do not call that being able to access server manager. I call that NOT being able to access server manager.

Did you configure the identical backup job in server manager, so it can find your backup to do the restore from ?

Yes you are right, sorry.

Yes I had configured the backup the same way, it offered me a selection of backups to restore starting with the last full
backup which is what is currently restoring.

Thank you for your help
« Last Edit: April 30, 2015, 08:40:13 PM by abarron »

Re: Unable to access Server manager during restore from workstation.
« Reply #8 on: April 30, 2015, 08:37:24 PM »
how much data?
is your raid rebuilding? raid1? raid5?
how is connected the remote machine? 100 MBit? 1Gbit?

you don't need server-manager to monitor restoring..
just login as root and use top, iptraf, df (open at least 3 different sessions)

you'll see what's running (dar), network traffic speed (iptraf), disk space occupation (df)

in the meanwhile, I suggest you to smoke a lot of cigarettes and drink coffee :-)
if you are not a smoker, just start ;-)


About 750 GB of data
Top shows Dar is running and also MD2_Raid5  is that a raid rebuild?
100Mb network
IPTraf shows traffic that pretty much agrees with traffic from workstation shown by Wireshark.

Guess I have to take up smoking and wait   :shock:

Thank you for your help.

Offline Stefano

  • *
  • 10,805
  • Skype account: maghissimo
    • Smeserver italian community
Re: Unable to access Server manager during restore from workstation.
« Reply #9 on: April 30, 2015, 08:53:29 PM »
well

750 Gb -> about 75000 MB
100Mb -> about 10 MB/s

then you need at least 75000/10 s -> 22 hours

don't hold your breath ;-)
Consulente di Smeserver.it -  Soluzioni e supporto su Sme server in Italia

Re: Unable to access Server manager during restore from workstation.
« Reply #10 on: April 30, 2015, 09:04:19 PM »
Ah!  Currently it has been running for about 70 hours.

Offline Stefano

  • *
  • 10,805
  • Skype account: maghissimo
    • Smeserver italian community
Re: Unable to access Server manager during restore from workstation.
« Reply #11 on: April 30, 2015, 09:08:39 PM »
well, I forgot to say that reid5 rebuilding is a big stress..
please, post the output of
Code: [Select]
df -h

and the first 5 rows of
Code: [Select]
top
Consulente di Smeserver.it -  Soluzioni e supporto su Sme server in Italia

Offline janet

  • ****
  • 4,812
Re: Unable to access Server manager during restore from workstation.
« Reply #12 on: April 30, 2015, 09:17:11 PM »
abarron

Yes that's a lot of data to restore over a 100Mb network & not really practical to do so.

Quote
Currently it has been running for about 70 hours.

It may have hung & you are waiting for nothing. Use the tools Stefano advised to check what is happeneing.

You would be far better off (IMHO) to copy your backup off the workstation to a USB drive (locally connected on sme server formatted as ext3/4) to a correct folder location to suit the backup "layout", & then use that USB drive to restore from on the sme server.
That amount of data might typically take 8 - 10 hours to restore depending on various factors (USB speed, data type etc).
Please search before asking, an answer may already exist.
The Search & other links to useful information are at top of Forum.

Offline janet

  • ****
  • 4,812
Re: Unable to access Server manager during restore from workstation.
« Reply #13 on: April 30, 2015, 09:22:09 PM »
abarron

Quote
...I tried to upgrade my server from v8.1 to V9.0 and for some reason I couldn't make this work

sme 9 (CentOS 6.5) does not support direct upgrades from prior versions, so the only path to update an older version of sme server, is via backup & restore.

Quote
Can I tell if the restore is finished in a better way?

Server manager restore panel should display the prgress of the restore & tell you when it is complete, I assume you instigated the restore via server manager & then server manager disconnected or you closed it (???).
Please search before asking, an answer may already exist.
The Search & other links to useful information are at top of Forum.

Offline janet

  • ****
  • 4,812
Re: Unable to access Server manager during restore from workstation.
« Reply #14 on: April 30, 2015, 09:25:26 PM »
abarron

Quote
top shows .... MD2_Raid5  is that a raid rebuild?

Also show output of
cat /proc/mdstat

If your restore is nearing completion, then you may be best to just wait, assuming it is still running.
Please search before asking, an answer may already exist.
The Search & other links to useful information are at top of Forum.