HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   Installation/Configuration (http://www.howtoforge.com/forums/forumdisplay.php?f=4)
-   -   ISPCONFIG not restarting apache (http://www.howtoforge.com/forums/showthread.php?t=9589)

akaiser 5th January 2007 20:13

ISPCONFIG not restarting apache
 
I've installed ISPCONFIG 2.2.9 and have some problems with the apache directives... but don't know if it's fault of the cms I use or some incorrect configuration...

Anyway what I've noticed is that when I make changes in ISPCONFIG (for example creating a new site in ISPCONFIG) I have to restart Apache manually. I use Apache 1.3 and all ISPCONFIG configuration seems to be ok:
Code:

Conf. Dir.: /etc/apache
httpd.conf: /etc/apache/httpd.conf
Document Root: /var/www

but this seems to be incorrect:

Code:

access Log: /var/log/httpd/ispconfig_access_log
(not sure if this should be /var/log/apache/access.log)

Last at ISPCONFIG log I have this line:
Code:

05.01.2007 - 18:48:55 => INFO - /root/ispconfig/scripts/lib/classes/ispconfig_system.lib.php, Line 706: /etc/init.d/apache2 reload &> /dev/null
Shouldn't this line be a /etc/init.d/apache reload (or restart)? Where can this be modified?

falko 6th January 2007 15:52

If you are sure you're using Apache 1.3 instead of Apache 2, then you must change some settings in the isp_server table in the ISPConfig MySQL database.

akaiser 6th January 2007 18:55

I changed in the mysql db "apache2" to "apache" and now the webserver seems to reload after doing changes in ISPCONFIG (of course I mean the apache server at port 80).

Would this change in ISPCONFIG db affect the ISP Apache server at port 81?

falko 7th January 2007 19:24

Quote:

Originally Posted by akaiser
Would this change in ISPCONFIG db affect the ISP Apache server at port 81?

No, not at all. :)


All times are GMT +2. The time now is 16:08.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.