Weblogs for pablosanchez
#2
Posted by pablosanchez on Mon 1 Oct 2007 at 04:05
I've stumled upon a problem on lenny with saslauthd , precisely with /etc/init.d/saslauthd . It doesn't (re)start .
The problem here seems to be the line:
start-stop-daemon --start --quiet --pidfile $PIDFILE --name $NAME \
--exec $DAEMON --test > /dev/null
and the one that really starts saslauthd.
$NAME always return an empty string. So as for start-stop-daemon, it throws :
"start-stop-daemon: --start needs --exec or --startas
Try `start-stop-daemon --help' for more information."
Also, it's not set through all the script .
After some guessing, i chopped the $NAME thing and saslauthd came into life .
I know that fiddling with /etc/init.d scripts is no good practice, but :
1. should i remove permanently the $NAME stuff ?
2. is really $NAME really needed here ?
3. what should be, in that case $NAME value for saslauthd ?
Any hints, welcome.
Pablo .
The problem here seems to be the line:
start-stop-daemon --start --quiet --pidfile $PIDFILE --name $NAME \
--exec $DAEMON --test > /dev/null
and the one that really starts saslauthd.
$NAME always return an empty string. So as for start-stop-daemon, it throws :
"start-stop-daemon: --start needs --exec or --startas
Try `start-stop-daemon --help' for more information."
Also, it's not set through all the script .
After some guessing, i chopped the $NAME thing and saslauthd came into life .
I know that fiddling with /etc/init.d scripts is no good practice, but :
1. should i remove permanently the $NAME stuff ?
2. is really $NAME really needed here ?
3. what should be, in that case $NAME value for saslauthd ?
Any hints, welcome.
Pablo .
#1
Posted by pablosanchez on Wed 26 Jul 2006 at 05:14
A couple of hours ago i upgraded my testing system, which in fact, is my firewall at home . It brought a new version of squid-cache (2.6.1-3).
To my surprise, after installing it, i could not surf the web from the other pc's.
First error on service restart in the firewall was about 'httpd_accel_host virtual' , 'httpd_accel_with_proxy_on ' and so on.
Something was telling me that a config file should have changed. Best, go to the squid site and check .
Effectively, from 2.6 onwards, "transparent proxy" should be done in other way.
Unfortunately, STABLE2.6.1, does seem to have a bug, so you have to compile with a patch provided, or just "tweak" the config .
I read that on : http://thread.gmane.org/gmane.comp.web.squid.general/50934/focus?50934
What surprises me, is the fact that apt does not offer me to change my config file as it generally do.
So, as i hope the new package will be available very soon, i'll run it "tweaked" .
I'm calling other people i know they are using squid on their gateway machines over here .
Just in case, take care of this .
Pablo Sánchez
To my surprise, after installing it, i could not surf the web from the other pc's.
First error on service restart in the firewall was about 'httpd_accel_host virtual' , 'httpd_accel_with_proxy_on ' and so on.
Something was telling me that a config file should have changed. Best, go to the squid site and check .
Effectively, from 2.6 onwards, "transparent proxy" should be done in other way.
Unfortunately, STABLE2.6.1, does seem to have a bug, so you have to compile with a patch provided, or just "tweak" the config .
I read that on : http://thread.gmane.org/gmane.comp.web.squid.general/50934/focus?50934
What surprises me, is the fact that apt does not offer me to change my config file as it generally do.
So, as i hope the new package will be available very soon, i'll run it "tweaked" .
I'm calling other people i know they are using squid on their gateway machines over here .
Just in case, take care of this .
Pablo Sánchez
[0 Comments
| Add Comment
|
]