lvs-users
|
To: | wensong@xxxxxxxxxxxx, lvs-users@xxxxxxxxxxxxxxxxxxxxxx |
---|---|
Subject: | Problem with /etc/ha.d/resource.d/apache script |
From: | Ryan Turnbull <ryan.turnbull@xxxxxxxxxxxxx> |
Date: | Tue, 14 Sep 2004 17:13:43 -0600 |
I have having problems with the apache script after installing on Slackware 9.1 I was getting messages about problems with line 395 of the script. Here is the line..... if [ ! -f "$CONFIGFILE" -a "X$COMMAND" -eq Xstop ] <------- PROBLEMS OCCUR HERE then echo "$CONFIGFILE not found - apache considered stopped" exit 0 fi WHY??? Easy fix. -eq is for NUMERIC comparision so change the line to the following: [ ! -f "$CONFIGFILE" -a "X$COMMAND" = "Xstop" ] Then you will have no errors in your logs...... |
<Prev in Thread] | Current Thread | [Next in Thread> |
---|---|---|
|
Previous by Date: | RE: load balancer sending to the wrong real servers, Peter Mueller |
---|---|
Next by Date: | Re: load balancer sending to the wrong real servers, Horms |
Previous by Thread: | Re: Ultra Monkey + RedHat 7.3, Horms |
Next by Thread: | [OT] Re: Problem with /etc/ha.d/resource.d/apache script, Roberto Nibali |
Indexes: | [Date] [Thread] [Top] [All Lists] |