Re: SpamD won't connect to MySQL if started via init.d

2006-02-17 Thread Glen Carreras
Thanks to everyone who offered suggestions, both on and offlist. Unfortunately nothing seems to work so I suppose I will just resort to starting spamd in another way until I find the answer. I realize this wasn't a SA problem per se, but I appreciate the time and efforts to help. Cheers, Gle

Re: SpamD won't connect to MySQL if started via init.d

2006-02-16 Thread Rick Macdougall
Glen Carreras wrote: Rick Macdougall wrote: Possibly you are starting spamd before starting mysql (or haven't given mysql enough time to start up). Rick, I wish it was that, but I have MySQL running on another machine and it has been up all this time. I can connect to it fine if I start sp

Re: SpamD won't connect to MySQL if started via init.d

2006-02-16 Thread Mike Jackson
Try adding a -D to the init.d spamd call and see if it gives you any more info on why it's failing. Thanks for the quick reply. I did use the -D option and it doesn't give anymore information at all. Basically the error is contained in these two lines (and I have to paraphrase a little because

Re: SpamD won't connect to MySQL if started via init.d

2006-02-16 Thread Glen Carreras
Rick Macdougall wrote: Possibly you are starting spamd before starting mysql (or haven't given mysql enough time to start up). Regards, Rick Rick, I wish it was that, but I have MySQL running on another machine and it has been up all this time. I can connect to it fine if I start spamd

Re: SpamD won't connect to MySQL if started via init.d

2006-02-16 Thread Glen Carreras
[EMAIL PROTECTED] wrote: Try adding a -D to the init.d spamd call and see if it gives you any more info on why it's failing. Matthew, Thanks for the quick reply. I did use the -D option and it doesn't give anymore information at all. Basically the error is contained in these two line

Re: SpamD won't connect to MySQL if started via init.d

2006-02-16 Thread Rick Macdougall
Glen Carreras wrote: Hi, Hopefully someone can give me some advice here. I've been fighting with SpamD for the last two days trying to get it to connect to a MySQL database. I think I've finally weeded out all of my "own" errors and am down to this: Possibly you are starting spamd before

RE: SpamD won't connect to MySQL if started via init.d

2006-02-16 Thread Matthew.van.Eerde
Glen Carreras wrote: > I'm using identical tests... starting as root, using the same test > mail, same email user, same database user, the only difference (that > I am aware) is the fact that one starts from init.d and the other > from the command line. I realize there are, of course, some "extra"

SpamD won't connect to MySQL if started via init.d

2006-02-16 Thread Glen Carreras
Hi, Hopefully someone can give me some advice here. I've been fighting with SpamD for the last two days trying to get it to connect to a MySQL database. I think I've finally weeded out all of my "own" errors and am down to this: I'm running SA 3.1 on a Fedora 5 setup and MySQL is running on