Koozali.org: home of the SME Server

Lost HTTP Access

Jim Darrough

Lost HTTP Access
« on: October 25, 2002, 07:37:44 AM »
I am running an SME Server version 5 and for some reason can no longer access the server manager via another computer on my network. I could do so until recently, and have made no changes to configuration except to send administrative messages to my local use account.

Mail pickup and delivery still works, and I am not getting anything weird from CRON, so am not sure where to look. When I bring up my dual-boot box in either system, I get "DNS errors".

Anyone got a good idea? I do not want to resort to a reboot.

Thanks!

Steve Bush

Re: Lost HTTP Access
« Reply #1 on: October 25, 2002, 08:48:16 AM »
Try running the following at a console prompt:
service httpd restart

Jim Darrough

Re: Lost HTTP Access
« Reply #2 on: October 26, 2002, 09:55:34 AM »
Thanks for your help, but no go. I really don't want to reboot, but I may have to do so. Would it help if I posted the results of ps-aux?

Thanks, Jim

Jáder Marasca

Re: Lost HTTP Access
« Reply #3 on: November 02, 2002, 04:30:30 AM »
Hi

I got same here. At 3 pm httpd was working ok. At 6 pm it was stopped!

I had tried to restart server but nothing!
Look at this:
root@zeus log]# service httpd status
httpd dead but subsys locked
[root@zeus log]# service httpd restart
Stopping httpd:                                            [ FAILED ]
Starting httpd:                                            [   OK   ]
[root@zeus log]# ps -gaux |grep http

WOW! THAT´S sound like a beatiful problem!

Any tips ?

Jáder Marasca

Re: Lost HTTP Access
« Reply #4 on: November 02, 2002, 03:31:23 PM »
As I remeber the only thing I do at 3pm was create an ibay. So I tryed to redo it again... deleted that ibay and created another one. What my screen (all in 30 seconds interval!)

[root@zeus root]# ps -aux |grep http
root      1157  0.0  1.0  5932 2756 ?        S    Nov01   0:00 /usr/sbin/httpd-a
admin     1160  0.0  1.1  6012 2892 ?        S    Nov01   0:00 /usr/sbin/httpd-a
admin    12521  0.0  1.1  6012 2900 ?        S    09:23   0:00 /usr/sbin/httpd-a
admin    12533  0.0  1.0  5932 2756 ?        S    09:24   0:00 /usr/sbin/httpd-a
root     12751  0.0  0.2  1744  608 pts/1    S    09:25   0:00 grep http
[root@zeus root]# ps -aux |grep http
root      1157  0.0  1.0  5932 2756 ?        S    Nov01   0:00 /usr/sbin/httpd-a
admin     1160  0.0  1.1  6012 2896 ?        S    Nov01   0:00 /usr/sbin/httpd-a
admin    12521  0.0  1.1  6012 2900 ?        S    09:23   0:00 /usr/sbin/httpd-a
admin    12533  0.0  1.1  6012 2896 ?        S    09:24   0:00 /usr/sbin/httpd-a
root     12830  0.0  1.6 44008 4348 ?        R    09:27   0:00 httpd
root     12832  0.0  0.2  1744  608 pts/1    S    09:27   0:00 grep http
[root@zeus root]# ps -aux |grep http
root      1157  0.0  1.0  5932 2756 ?        S    Nov01   0:00 /usr/sbin/httpd-a
admin     1160  0.0  1.1  6012 2896 ?        S    Nov01   0:00 /usr/sbin/httpd-a
admin    12521  0.0  1.1  6012 2900 ?        S    09:23   0:00 /usr/sbin/httpd-a
admin    12533  0.0  1.1  6012 2896 ?        S    09:24   0:00 /usr/sbin/httpd-a
root     12845  0.0  0.2  1744  608 pts/1    S    09:27   0:00 grep http


Appears that httpd is going up and down in matter of seconds... what can be wrong? I have searched on messages file but there is nothing there (at least I can see!)

Thanks!

Jáder

Jáder Marasca

Re: Lost HTTP Access
« Reply #5 on: November 04, 2002, 04:14:54 PM »
Hi,

GREAT NEWS! I discovered something...

I had gone to /etc/httpd and edit httpd.conf file. I saw two lines saying:
Listen 0.0.0.0:80  

So I thought: Why TWO lines... I remarked one of them and restarted http
with httpd start or restart

WOW! It´s working now!
I´ll check who da****d package put that second time of Listen 0.0.0.0:80... or I´ll have this problem again... because shall be in a template!

Any tips about this please write!

Thanks!

Jáder