ispCP - Board - Support
ispcp.conf Service Management Area - Printable Version

+- ispCP - Board - Support (http://www.isp-control.net/forum)
+-- Forum: ispCP Omega Development Area (/forum-1.html)
+--- Forum: Suggestions (/forum-2.html)
+--- Thread: ispcp.conf Service Management Area (/thread-6613.html)



ispcp.conf Service Management Area - gOOvER - 05-04-2009 03:50 AM

Ich hab mir eben mal die ispcp.conf zu gemüte gefürt, da das Updatescript mir den Apachen nicht restartet hat. Dort steht für die Debian ispcp.conf

I just have taken a look at ispcp.conf because the updatescript didn't start apache afterwards.
This is what can be found for Debian based systems :
Code:
CMD_HTTPD = /usr/sbin/apache2ctl

Sollte das aber nicht besser
TR: shouldn't it be

Code:
CMD_HTTPD = /etc/init.d/apache2

sein??
like that ?

Edit (ephigenie) :
This Information maybe relevant for more then just the germans Wink


RE: ispcp.conf Bereich Service Manager - sci2tech - 05-04-2009 03:53 AM

Code:
sci2tech:/# /usr/sbin/apache2ctl
Usage: /usr/sbin/apache2ctl start|stop|restart|graceful|graceful-stop|configtest|status|fullstatus
       /usr/sbin/apache2ctl <apache2 args>
sc
/etc/init.d/apache2 it`s a wrapper for apache2ctl


RE: ispcp.conf Bereich Service Manager - gOOvER - 05-04-2009 03:59 AM

You're right, but i can't execute with STATUS oder FULLSTATUS. First i have to change the script /usr/sbin/apache2ctl. Wink
Code:
web01:~# /usr/sbin/apache2ctl status
/usr/sbin/apache2ctl: line 116: www-browser: command not found
web01:~# /usr/sbin/apache2ctl fullstatus
/usr/sbin/apache2ctl: line 119: www-browser: command not found


I also don't see, if the Apache is restartet or not, when use the UpdateScript. Smile


RE: ispcp.conf Bereich Service Manager - sci2tech - 05-04-2009 04:04 AM

I do not have anything against changing to default wrapper. Maybe is better to use default debian way to restart apache.


RE: ispcp.conf Bereich Service Manager - gOOvER - 05-04-2009 04:15 AM

Maybe it's the better way to use the default. Wink What does the others mean??


RE: ispcp.conf Bereich Service Manager - sci2tech - 05-04-2009 04:44 AM

Did some research. In engine is used start stop and restart. /etc/init.d/apache2 will do a cache clean that will delay restart. This can be critical. Lets stick for now with /usr/sbin/apache2ctl.


RE: ispcp.conf Bereich Service Manager - freinhard - 05-08-2009 08:05 PM

(05-04-2009 03:59 AM)gOOvER Wrote:  
Code:
web01:~# /usr/sbin/apache2ctl status
/usr/sbin/apache2ctl: line 116: www-browser: command not found
web01:~# /usr/sbin/apache2ctl fullstatus
/usr/sbin/apache2ctl: line 119: www-browser: command not found

apt-get install lynx

maybe lynx should be added to the required package-list?


RE: ispcp.conf Service Management Area - BeNe - 05-08-2009 09:01 PM

Correct!

Line 116 in /usr/sbin/apache2ctl
Code:
status)
    $LYNX $STATUSURL | awk ' /process$/ { print; exit } { print } '
    ;;

Greez BeNe