Current time: 12-28-2024, 06:26 AM Hello There, Guest! (LoginRegister)


Post Reply 
ispcp.conf Service Management Area
Author Message
gOOvER Offline
Banned

Posts: 3,561
Joined: Jul 2007
Post: #1
ispcp.conf Service Management Area
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
(This post was last modified: 05-06-2009 09:11 PM by ephigenie.)
05-04-2009 03:50 AM
Visit this user's website Find all posts by this user Quote this message in a reply
sci2tech Away
Senior Member
****

Posts: 1,285
Joined: Jan 2007
Reputation: 23
Post: #2
RE: ispcp.conf Bereich Service Manager
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
05-04-2009 03:53 AM
Visit this user's website Find all posts by this user Quote this message in a reply
gOOvER Offline
Banned

Posts: 3,561
Joined: Jul 2007
Post: #3
RE: ispcp.conf Bereich Service Manager
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
(This post was last modified: 05-04-2009 04:01 AM by gOOvER.)
05-04-2009 03:59 AM
Visit this user's website Find all posts by this user Quote this message in a reply
sci2tech Away
Senior Member
****

Posts: 1,285
Joined: Jan 2007
Reputation: 23
Post: #4
RE: ispcp.conf Bereich Service Manager
I do not have anything against changing to default wrapper. Maybe is better to use default debian way to restart apache.
05-04-2009 04:04 AM
Visit this user's website Find all posts by this user Quote this message in a reply
gOOvER Offline
Banned

Posts: 3,561
Joined: Jul 2007
Post: #5
RE: ispcp.conf Bereich Service Manager
Maybe it's the better way to use the default. Wink What does the others mean??
05-04-2009 04:15 AM
Visit this user's website Find all posts by this user Quote this message in a reply
sci2tech Away
Senior Member
****

Posts: 1,285
Joined: Jan 2007
Reputation: 23
Post: #6
RE: ispcp.conf Bereich Service Manager
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.
05-04-2009 04:44 AM
Visit this user's website Find all posts by this user Quote this message in a reply
freinhard Offline
Junior Member
*

Posts: 39
Joined: Apr 2009
Reputation: 0
Post: #7
RE: ispcp.conf Bereich Service Manager
(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?
05-08-2009 08:05 PM
Find all posts by this user Quote this message in a reply
BeNe Offline
Moderator
*****
Moderators

Posts: 5,899
Joined: Jan 2007
Reputation: 68
Post: #8
RE: ispcp.conf Service Management Area
Correct!

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

Greez BeNe
05-08-2009 09:01 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)