Syslog and/or logrotate problem

Charles Steinkuehler charles at steinkuehler.net
Fri Oct 25 16:56:35 CDT 2002


> >So run this from the command prompt and see if you get any errors:
> >#/bin/kill -HUP `cat /var/run/syslogd.pid 2>/dev/null`
> 
> I got this error from command
> [root at ray log]# kill -HUP 'cat /var/run/syslogd.pid 2>/dev/null'
> bash: kill: cat /var/run/syslogd.pid 2>/dev/null: no such pid

Um...use back-ticks: ` (to the left of the #1 key)
not single quotes: ' (to the right of the semi-colon)

They have *VERY* different functions when interpreted by the shell :-)

Charles Steinkuehler
charles at steinkuehler.net




More information about the Kclug mailing list