Koozali.org: home of the SME Server

Legacy Forums => General Discussion (Legacy) => Topic started by: funkusmunkus on May 25, 2004, 12:44:58 AM

Title: httpd.conf is dead
Post by: funkusmunkus on May 25, 2004, 12:44:58 AM
I managed to kill my httpd.conf file, or something there, because i can't get to my e-smith-manager,heres what i did:
 i was trying to get proxypass to work for my internal webmail exchange server, and after a few failed attempts, i thought id play around with the httpd.conf file, and i copied the entrys that proxypass created under the port80 listing and pasted them under the port 443 listing thingy, and restarted httpd.conf all was fine, and then i thought why not re-expand it, so i re-expanded that file and the admin-conf one as well, and tried to restart the service, and thats when i got it. failed to restart httpd.conf
Starting httpd: Ouch! ap_mm_create(1048576, "/var/run/httpd.mm.12680") failed Error: MM: mm:core: failed to acquire semaphore (No space left on device): OS: Invalid argument [ FAILED ]
so now that you know how badly i screwed it up any helpfull adeas on how to fix it up Cheers
Title: I may have killed mine too
Post by: robin on May 25, 2004, 02:18:32 AM
I can't access my server-manager even from within the server console using putty
I tried to install mod_dav using this how-to: http://no.longer.valid/phpwiki/index.php/How%20to%20install%20mod_dav and I think this has stuffed things up
I am running SME 6.0.1
Any help greatfully appreciated

Thanks
Robin
Title: fixed mine
Post by: robin on May 25, 2004, 03:05:37 AM
I have fixed mine
used mc to view the /etc/httpd/logs/error_log
scrolled to the bottom and found
"syntax error in line 1377 of /etc/httpd/conf/httpd.conf:"
then I used mc to edit the /etc/httpd/conf/httpd.conf , jumped to line 1377 and found stuff relating to what I tried to install (mod_dav)
deleted this line, saved the httpd.conf
and then restarted httpd with this
/etc/e-smith/events/actions/restart-httpd-full

and now I can get back into my server-manager
Yippee !!!

hopefully I haven't stuffed anything else in the process.

Robin
Title: httpd.conf is dead
Post by: Anonymous on May 25, 2004, 04:30:25 AM
In my error logs i found the following

[Mon May 24 14:55:07 2004] [error] [client 192.168.0.114] (111)Connection refused: proxy connect to 127.0.0.1 port 980 failed

hmm why would that happen,  I really don't want to reinstall e-smith, but if i can't work it out by the weekend then i'll have to.
Title: httpd.conf is dead
Post by: funkusmunkus on May 25, 2004, 06:08:20 AM
Sorry i forgot to log in that last post was mine