On Fri, 2002-12-20 at 04:14, 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
> 

The error messages here indicate that redhat-rc-script.sh is not a shell
script, it's a perl script, make sure it starts with an appropriate
'#!/usr/bin/perl -w' line, or the like.

-- 
Jason Kohles                                 [EMAIL PROTECTED]
Senior Engineer                 Red Hat Professional Consulting



-------------------------------------------------------
This SF.NET email is sponsored by:  The Best Geek Holiday Gifts!
Time is running out!  Thinkgeek.com has the coolest gifts for
your favorite geek.   Let your fingers do the typing.   Visit Now.
T H I N K G E E K . C O M        http://www.thinkgeek.com/sf/
_______________________________________________
Spamassassin-talk mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/spamassassin-talk

Reply via email to