I have been running ispconfig for a while now no problems. Yesterday I installed typo3 and had some problems with php.ini, but I figured it out. During these problems I restarted the server and one time the whole computer. Today I wanted to go to the admin panel and I got error: can't connect to sever www.example.com:81 I am running FC4 netstat -tap gave : tcp 0 0 *:https *:* LISTEN 3382/httpd I am completely stuck.
This is what I get. ispconfig_httpd: could not open document config file /root/ispconfig/httpd/conf/httpd.conf /root/ispconfig/httpd/bin/apachectl startssl: httpd could not be started FreshClam is already running! ISPConfig system is now up and running! locate httpd.conf gave : /root/ispconfig/httpd/conf/httpd.conf_https /root/ispconfig/httpd/conf/httpd.conf_http /root/ispconfig/httpd/conf/httpd.conf,v /root/ispconfig/httpd/conf/httpd.conf.bak /root/ispconfig/httpd/conf/httpd.conf.default /usr/share/system-config-httpd/httpd.conf.xsl /etc/httpd/conf/httpd.conf /etc/httpd/conf/httpd.conf.26-09-06_21-17-35 /etc/httpd/conf/httpd.conf.orig
Did you accidentally rename that file? Anyway, rename it back to httpd.conf: Code: mv /root/ispconfig/httpd/conf/httpd.conf,v /root/ispconfig/httpd/conf/httpd.conf and restart ISPConfig: Code: /etc/init.d/ispconfig_server restart
I did as you told but stil not working. /etc/init.d/ispconfig_server restart Shutting down ISPConfig system... /root/ispconfig/httpd/bin/apachectl stop: httpd (no pid file) not running ISPConfig system stopped! Starting ISPConfig system... Syntax error on line 1264 of /root/ispconfig/httpd/conf/httpd.conf: Invalid command '@', perhaps mis-spelled or defined by a module not included in the server configuration /root/ispconfig/httpd/bin/apachectl startssl: httpd could not be started ISPConfig system is now up and running! The first part of the httpd.cof looks like this: head 1.1; access; symbols; locks; strict; comment @# @; 1.1 date 2006.10.04.01.15.46; author root; state Exp; branches; next ; desc @exit quit q @ 1.1 log @Initial revision @ text @## ## httpd.conf -- Apache HTTP server configuration file ##
I changed httpd.conf_http to httpd.conf ( after making a backup of the other one ) Now it's running again but not in https. But this is OK for now. I wil make it https later, using the topic : http://www.howtoforge.com/forums/showthread.php?t=3732&highlight=https+http Thank you very much for thr help
You can delete the other one as it doesn't contain any Apache directives at all. You must have replaced the contents somehow...
Leen, Not sure if you've fixed it, but your NETSTAT -TAP report is showing that your Apache is listening on port 443. I think you should have a line that ends in /ispconfig_http (probably on port 81) for the ISPConifg server. Cheers, Nap
I thought I fixed it but today again it didn't work. Something is changing the httpd.conf file. I just coppied the httpd.conf_https back to httpd.conf and all is working again.