On Fri, Dec 20, 2002 at 11:14:52AM +0200, Thomas Kinghorn wrote: >Does anyone have a startup script for redhat 8? > >I have tried the one that comes with SpamAssassin 2.43 but it doesn't work. > >./redhat-rc-script.sh start >./redhat-rc-script.sh: line 9: my: command not found >./redhat-rc-script.sh: line 10: my: command not found >./redhat-rc-script.sh: line 11: my: command not found >./redhat-rc-script.sh: line 12: use: command not found >./redhat-rc-script.sh: line 14: use: command not found >./redhat-rc-script.sh: line 15: use: command not found >./redhat-rc-script.sh: line 16: use: command not found >./redhat-rc-script.sh: line 17: use: command not found >./redhat-rc-script.sh: line 18: use: command not found >./redhat-rc-script.sh: line 19: use: command not found >./redhat-rc-script.sh: line 20: use: command not found >./redhat-rc-script.sh: line 21: use: command not found >./redhat-rc-script.sh: /etc/sysconfig/spamd: line 22: syntax error near >unexpected token `(' >./redhat-rc-script.sh: /etc/sysconfig/spamd: line 22: `use Sys::Syslog >qw(:DEFAULT setlogsock);' >Starting spamd: ^C > >It just hangs... > >Any idea's would be appreciated.
Who did you install Spamassassin as, root or a local user? Who are you trying to run the script as, root or a local user? I just moved from a local user install to a standard install so I could use spamd/spamc. The script calls some functions that need root permission.
msg11348/pgp00000.pgp
Description: PGP signature