Koozali.org: home of the SME Server

Cannot access server-manager

Offline ocascante

  • **
  • 36
  • +0/-0
Cannot access server-manager
« on: February 16, 2012, 01:54:33 PM »
Hi,

After recovering a backup, i can access the server using user root, but i do not have access to the server using "ipserver"/server-manager in a local network computer by firefox, google chrome or windows explorer.
Somebody knows something about this problem?
Thanks.

Offline globalsi

  • *****
  • 167
  • +0/-0
Re: Cannot access server-manager
« Reply #1 on: February 16, 2012, 03:07:13 PM »
is apache started ?

Offline ocascante

  • **
  • 36
  • +0/-0
Re: Cannot access server-manager
« Reply #2 on: February 16, 2012, 03:28:33 PM »
Yes...apache is runniing

Offline Stefano

  • *
  • 10,894
  • +3/-0
Re: Cannot access server-manager
« Reply #3 on: February 16, 2012, 04:33:32 PM »
what about looking for errors in log files?

/var/log/httpd/admin_error_log, for example

Offline ocascante

  • **
  • 36
  • +0/-0
Re: Cannot access server-manager
« Reply #4 on: February 16, 2012, 04:48:08 PM »
I am going to check the logs....

Offline cactus

  • *
  • 4,880
  • +3/-0
    • http://www.snetram.nl
Re: Cannot access server-manager
« Reply #5 on: February 17, 2012, 12:32:06 PM »
What is the output of the following commands:
Code: [Select]
sv s httpd-e-smith
sv s httpd-admin
httpd -t
httpd-admin -t
Be careful whose advice you buy, but be patient with those who supply it. Advice is a form of nostalgia, dispensing it is a way of fishing the past from the disposal, wiping it off, painting over the ugly parts and recycling it for more than its worth ~ Baz Luhrmann - Everybody's Free (To Wear Sunscreen)

Offline ocascante

  • **
  • 36
  • +0/-0
Re: Cannot access server-manager
« Reply #6 on: February 17, 2012, 02:48:41 PM »
ok, In case it happens to someone i am going to explain what I believe is a bug in sme server.
The sme server version: 7.5.1
Problem:
After recovering a backup realized in remote computer, server-manager cannot be access, users and ibays not recovery.
In the error_log file there was a message about the server certificate.
Solution:
I delete all the certificate files in ssl folder and restart the httpd service. 
The server-manager now is running and it can be accessed but the backup cannot be recovered.
So...In my opinion if the server has the openvpn installed the backup does not work well.

Offline cactus

  • *
  • 4,880
  • +3/-0
    • http://www.snetram.nl
Re: Cannot access server-manager
« Reply #7 on: February 17, 2012, 02:50:46 PM »
There is no proof of your assumptions in this thread. The backup does only work on clean machines or machines that have the contribs installed on the machine the backup was made.
Restoring a backup will only restore settings for contribs, i will not install contribs, this is by design an not a bug.
Be careful whose advice you buy, but be patient with those who supply it. Advice is a form of nostalgia, dispensing it is a way of fishing the past from the disposal, wiping it off, painting over the ugly parts and recycling it for more than its worth ~ Baz Luhrmann - Everybody's Free (To Wear Sunscreen)

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Re: Cannot access server-manager
« Reply #8 on: February 17, 2012, 03:35:49 PM »
ok, In case it happens to someone i am going to explain what I believe is a bug in sme server.

Please now do what you should have done when you first had the problem - create a bug report in the bug tracker.

Thanks.

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Re: Cannot access server-manager
« Reply #9 on: February 17, 2012, 03:38:56 PM »
The backup does only work on clean machines or machines that have the contribs installed on the machine the backup was made.

No, that isn't true. Restore should work on any fresh install, regardless of what contribs were previously installed. The contribs, of course, will not work, but SME server should, including the server manager.

Offline ocascante

  • **
  • 36
  • +0/-0
Re: Cannot access server-manager
« Reply #10 on: February 17, 2012, 04:08:47 PM »
I install the server with all the contribs before recovering the information so i think that is a sufficient prove of what I think.
Anyway, the important thing for my is that if someone has the same problem it knows how to resolve it!!

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Re: Cannot access server-manager
« Reply #11 on: February 17, 2012, 04:28:59 PM »
I install the server with all the contribs before recovering the information...

That's not the recommended "restore from backup" procedure.

Quote
... so i think that is a sufficient prove of what I think.
Anyway, the important thing for my is that if someone has the same problem it knows how to resolve it!!

Please create a bug report so that whatever problem occurred can be properly diagnosed and, hopefully, corrected in the software.

Offline ocascante

  • **
  • 36
  • +0/-0
Re: Cannot access server-manager
« Reply #12 on: February 17, 2012, 05:58:07 PM »
"That's not the recommended "restore from backup" procedure." This was the second recovery procedure i did, the first was with a sme server without contribs.
Could you tell me where can i read the recommended procedure?
Thanks.

Offline chris burnat

  • *****
  • 1,135
  • +2/-0
    • http://www.burnat.com
Re: Cannot access server-manager
« Reply #13 on: February 17, 2012, 11:46:10 PM »
"That's not the recommended "restore from backup" procedure." This was the second recovery procedure i did, the first was with a sme server without contribs.
Could you tell me where can i read the recommended procedure?
Thanks.

Ocascante, you have now been asked twice by a Senior Developper to report your issue to Bugzilla, please comply. If you do not know how to report a potential bug, go: http://bugs.contribs.org/

Thanks
- chris
If it does not work out of the box, please fill in a Bug Report @ Bugzilla (http://bugs.contribs.org)  - check: http://wiki.contribs.org/Bugzilla_Help .  Thanks.

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Re: Cannot access server-manager
« Reply #14 on: February 18, 2012, 01:40:40 AM »
Could you tell me where can i read the recommended procedure?

I would hope that was in the system documentation. I don't read that often, so don't know what's there.

From looking here:

http://wiki.contribs.org/SME_Server:Documentation:Administration_Manual:Chapter10

I'd say that there were some updates required.

Offline chris burnat

  • *****
  • 1,135
  • +2/-0
    • http://www.burnat.com
Re: Cannot access server-manager
« Reply #15 on: February 18, 2012, 02:49:35 AM »

I'd say that there were some updates required.

Indeed.  However, operating words are:
"Ideally you should restore on a freshly installed server"
- chris
If it does not work out of the box, please fill in a Bug Report @ Bugzilla (http://bugs.contribs.org)  - check: http://wiki.contribs.org/Bugzilla_Help .  Thanks.

Offline janet

  • *****
  • 4,812
  • +0/-0
Re: Cannot access server-manager
« Reply #16 on: February 18, 2012, 04:08:43 AM »
ocascante

Quote
Could you tell me where can i read the recommended procedure?

http://wiki.contribs.org/Backup_server_config#Backup_and_Restore_concepts.2C_issues_and_other_information
Please search before asking, an answer may already exist.
The Search & other links to useful information are at top of Forum.

Offline ocascante

  • **
  • 36
  • +0/-0
Re: Cannot access server-manager
« Reply #17 on: February 20, 2012, 11:25:32 PM »
Thanks Mary,

I did the bug report.

Please follow here: http://bugs.contribs.org/show_bug.cgi?id=6853
« Last Edit: February 21, 2012, 01:07:20 AM by chris burnat »

Offline janet

  • *****
  • 4,812
  • +0/-0
Re: Cannot access server-manager
« Reply #18 on: February 24, 2012, 03:33:15 AM »
ocascante

Quote
I did the bug report. Please follow here: http://bugs.contribs.org/show_bug.cgi?id=6853

Please follow up in bugzilla by answering the information requested of you ie
.....did you use a restore process from SME Server or did you manually do that or use a custom restore process?
Please search before asking, an answer may already exist.
The Search & other links to useful information are at top of Forum.