Koozali.org: home of the SME Server

Server Manager Not Available

Offline AlistairH

  • **
  • 28
  • +0/-0
    • http://www.betamicrosolutions.com
Server Manager Not Available
« on: May 15, 2007, 04:56:17 PM »
Today I've been installing available updates on three SME 7.1 servers at a client's. These machines, upgraded from version 6.5 have been rock solid since they were installed over a year ago and I've never had to look at them.

Therein lies the problem in that my lack of experience is holding me back on where to look to correct the following problem:

One of the servers seems to have stopped the web server-manager. When ever I try to access it I get a server not found or DNS error web page. The server is definitely available as I can ping it and all users have network access to the i-bays.

Can someone point me in the right direction as to where to look to sort it?

Please note that I'm only in this client's office once a week so apologies in advance if I do not get back to you today.

Thanks

Alistair
Alistair...

Offline skydivers

  • *
  • 178
  • +0/-0
Server Manager Not Available
« Reply #1 on: May 15, 2007, 05:03:49 PM »
Are both http servers running?

Code:
/etc/rc7.d/httpd-e-smith status

Code:
/etc/rc7.d/httpd-admin status

Offline AlistairH

  • **
  • 28
  • +0/-0
    • http://www.betamicrosolutions.com
Server Manager Not Available
« Reply #2 on: May 22, 2007, 05:25:41 PM »
Quote from: "skydivers"
Are both http servers running?

Code:
/etc/rc7.d/httpd-e-smith status

Code:
/etc/rc7.d/httpd-admin status


Sorry for taking so long to get back to you. I'm only ever at this client once a week.

I couldn't get the above commands to work, assuming I'm not doing something stupid which is always a distinct possibility.

When logged in as root, both these commands produced the following message...

Code: [Select]
no such file or directory

I cd'd down into the rc7.d directory and did an ls which returned, amongst other things:

Code: [Select]
S86httpd-admin
S86httpd-e-smith


Not sure what the S86 means

From here, doing
Code: [Select]
httpd-e-smith status produced a bash error message:

Code: [Select]
command not found

Doing the same with httpd-admin simply lists the syntax help for httpd-admin. From this I tried:

Code: [Select]
httpd-admin -k start

Which didn't give me any feedback at all, but checking from another machine did not make the server-manager interface available.

Code: [Select]
httpd-admin -k restart

only gave me the following feedback:

Code: [Select]
httpd not running, trying to start

I'm now at a loss what to do next and still seeking guidance.

Unfortunately, I won't be around for another week. The server itself is providing the functionality the users' need. It's just that I cannot get to the server-manager web interface. As a result, I cannot modify user accounts, upgrade software etc. I'm sure there are command line ways of doing so but I am not familiar with them so I'd dearly like to get this sorted out. Even if it does take a week to exchange each forum message. :roll:

Thanks for your patience

Alistair
Alistair...

Offline skydivers

  • *
  • 178
  • +0/-0
Server Manager Not Available
« Reply #3 on: May 22, 2007, 05:58:51 PM »
You should take it to the bugtracker.

In the meanwhile you can try to make/update some users by using the console. Log in as admin with putty. From their on you could try to reach the server-manager.

Offline cactus

  • *
  • 4,880
  • +3/-0
    • http://www.snetram.nl
Server Manager Not Available
« Reply #4 on: May 22, 2007, 06:10:55 PM »
Quote from: "AlistairH"
Quote from: "skydivers"
Are both http servers running?

Code:
/etc/rc7.d/httpd-e-smith status

Code:
/etc/rc7.d/httpd-admin status


[...]

When logged in as root, both these commands produced the following message...

Code: [Select]
no such file or directory

I cd'd down into the rc7.d directory and did an ls which returned, amongst other things:

Code: [Select]
S86httpd-admin
S86httpd-e-smith


Not sure what the S86 means
The S86 determines the startup sequence of all things in the list.

What happens when you issue the commands with the S86 infront like so:

Code: [Select]
/etc/rc7.d/S86httpd-e-smith status
/etc/rc7.d/S86httpd-admin status
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 AlistairH

  • **
  • 28
  • +0/-0
    • http://www.betamicrosolutions.com
Server Manager Not Available
« Reply #5 on: May 23, 2007, 01:54:53 PM »
Hi cactus

Putting the S86 in front as you describe simply results in a 'command not found' error message.
Alistair...

Offline Confucius

  • *****
  • 235
  • +0/-0
Server Manager Not Available
« Reply #6 on: May 23, 2007, 02:03:43 PM »
try it with :

Code: [Select]

service httpd-admin restart

Offline cactus

  • *
  • 4,880
  • +3/-0
    • http://www.snetram.nl
Server Manager Not Available
« Reply #7 on: May 24, 2007, 06:23:03 PM »
Quote from: "AlistairH"
Hi cactus

Putting the S86 in front as you describe simply results in a 'command not found' error message.
Strange, my SME Server 7.1 does the following OK:
Code: [Select]
[root@homer ~]# /etc/rc7.d/S86httpd-e-smith restart
Restarting httpd-e-smith                                   [  OK  ]
[root@homer ~]#
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 AlistairH

  • **
  • 28
  • +0/-0
    • http://www.betamicrosolutions.com
Server Manager Not Available
« Reply #8 on: August 07, 2007, 05:03:57 PM »
Sorry for the long delay in posting a resolution to this. I was never able to establish what was wrong but I got everything back to normal by booting to the installation CD and choosing the upgrade option. The installation process didn't do much and finished a few seconds later but it seemed to kick start things again and I can now access the server manager through a browser.

As the issue was not a major one, I doubt that I'll ever establish the cause. Thanks to all for your input anyway.
Alistair...

Offline TrevorB

  • *
  • 259
  • +0/-0
    • http://www.batley.id.au
Server Manager Not Available
« Reply #9 on: August 08, 2007, 12:26:31 AM »
Quote from: "AlistairH"
As the issue was not a major one, I doubt that I'll ever establish the cause.
Hmmm...  To make sure you don't have this issue again..
Quote from: "AlistairH"
These machines, upgraded from version 6.5 have been rock solid since they were installed over a year ago and I've never had to look at them.
Then very likely they do NOT have all of the correct repositories available and you WILL encounter this error again
Quote from: "FAQ"
Note:
A system installed from the SME 7.1 CD will have the 5 repositories above enabled. A system installed from the SME 7.0 iso and updated to 7.1 or later will only have the 3 SME Server repositories enabled. After updating from SME 7.0 to SME 7.1.x you should enable the Centos - os & Centos - updates repositories in server-manager.
You can check this by
Code: [Select]
db yum_repositories show base
db yum_repositories show updates
If the status on either/both is disabled, the please read the Updating from SME 7.0 or 7.1 to SME 7.2 section of the FAQ

Trevor B

Offline AlistairH

  • **
  • 28
  • +0/-0
    • http://www.betamicrosolutions.com
Server Manager Not Available
« Reply #10 on: August 08, 2007, 12:39:27 AM »
Thanks for that Trevor. I'll check next time I'm visiting that client's site - probably next Tuesday.

Cheers
Alistair...