squid running on boot time with the debug level (-d 1)
i make my squid start on boot time with the command /usr/local/squid/sbin/squid -NCd1
in the ealier time i did not know what the means of this parameter. the problem is because of the parameter "N" and "d1" the squid show all of it process during boot time and i cannot log in to my machine using slackware. may u guys help me here. tq =) |
Try to boot your machine in single-user mode. Chances are big that your squid boot script will not be started then (assuming you put the command into /etc/rc.d/rc.local).
Boot the computer, and in the LILO screen, type "linux 1". If your LILO label that starts Slackware is something else than "linux", then use that word of course. Appending the "1" to the label will make Slackware boot in runlevel "1" which is meant for emergency repairs like this. Once you are logged in, edit your squid script so that it uses the correct parameters, save the file and reboot. Eric |
Quote:
The C option means do not catch (ignore) fatal signals. The d1 option means run with a debug level of one (1). Running squid this way is great for initial troubleshooting but is not needed after testing. Just run squid with no parameters: /usr/local/squid/sbin/squid. Quote:
/usr/local/squid/sbin/squid & A cleaner way to run squid is with an /etc/rc.d script. Use one of the existing scripts as a template and then you can start, stop, and restart squid more easily. Something like this: Code:
#!/bin/sh Code:
# Start the squid caching proxy server: |
it work..
thank you very much...:cool:
|
meaning of some special_characters
i am learning how to bash script and i have been coming across some special characters like
"$1" $ 0 : . what does is special characters do ? Thanks. |
Quote:
Eric |
All times are GMT -5. The time now is 08:25 AM. |