- Registriert
- 19.10.06
- Beiträge
- 303
Hallo Zusammen,
bin ganz neu hier und das ist mein erster Beitrag. Hoffe, dass ich hier an der richtigen Stelle poste...
Wenn ich das Skript /etc/weekly als root ausführe, bekomme ich folgende Meldungen:
astir:/etc root# ./weekly
Rebuilding locate database:
Rebuilding whatis database:
makewhatis: /usr/share/man/man1/fetchmailconf.1.gz: No such file or directory
Rotating log files: ftp.log lpr.log mail.log netinfo.log ipfw.log secure.log
Running weekly.local:
Rotating psync log files:/etc/weekly.local: line 17: syntax error near unexpected token `)'
/etc/weekly.local: line 17: `if [ -f /var/run/syslog.pid ]; then kill -HUP 0 80 79 81 0cat /var/run/syslog.pid | head -1); fi'
Hat jemand eine Ahnung, was ich falsch mache?
Danke und Gruß
Thomas
bin ganz neu hier und das ist mein erster Beitrag. Hoffe, dass ich hier an der richtigen Stelle poste...
Wenn ich das Skript /etc/weekly als root ausführe, bekomme ich folgende Meldungen:
astir:/etc root# ./weekly
Rebuilding locate database:
Rebuilding whatis database:
makewhatis: /usr/share/man/man1/fetchmailconf.1.gz: No such file or directory
Rotating log files: ftp.log lpr.log mail.log netinfo.log ipfw.log secure.log
Running weekly.local:
Rotating psync log files:/etc/weekly.local: line 17: syntax error near unexpected token `)'
/etc/weekly.local: line 17: `if [ -f /var/run/syslog.pid ]; then kill -HUP 0 80 79 81 0cat /var/run/syslog.pid | head -1); fi'
Hat jemand eine Ahnung, was ich falsch mache?
Danke und Gruß
Thomas