Michael, I'll try out your suggestions on the permissions and see what I come up with. Thanks a bunch!
Elvar Michael Bishop wrote: > First off, FreeBSD is outside my knowledge base. I know windows, linux > and MacOS so my assumptions might a bit off. > > I'd check the config file and make sure the directory base is set > correctly. > > I'm no perl expert, but it would appear that perl or assp.pl is unhappy > because it cannot reference a file descriptor that was there but is now > invalid. So I'd check the file permissions on all files concerning assp > starting with /var/db/assp. Start with 777 and work back to the original > file permissions. I'd also compare the versions of perl and the perl > modules between the working and not-working assp server. It's kind of > sounds like a perl bug. > > Sorry I couldn't be more help. > > Good luck. > > Michael > > > -----Original Message----- > From: Elvar [mailto:[EMAIL PROTECTED] > Sent: Wednesday, March 14, 2007 5:54 PM > To: Questions and Answers for users of ASSP Anti-Spam SMTP Proxy > Subject: Re: [Assp-user] assp stopping on it's own > > Hi Michael, thanks for the reply. I'm using the FreeBSD rc.d startup > script below. > > #!/bin/sh > # > # $FreeBSD: ports/mail/assp/files/assp.in,v 1.1 2006/07/18 03:08:23 > rafan Exp $ # > > # PROVIDE: assp > # REQUIRE: LOGIN > # KEYWORD: shutdown > > . /etc/rc.subr > > name=assp > rcvar=`set_rcvar` > > command=/usr/local/sbin/assp > command_interpreter=/usr/local/bin/perl > pidfile=/var/db/assp/pid > > load_rc_config $name > : ${assp_enable="NO"} > : ${assp_flags="/var/db/assp"} > > run_rc_command "$1" > > > > Michael Bishop wrote: > >> What command are you using to execute the assp.pl script from the >> command line? >> >> Michael >> >> >> -----Original Message----- >> From: Elvar [mailto:[EMAIL PROTECTED] >> Sent: Wednesday, March 14, 2007 4:45 PM >> To: Questions and Answers for users of ASSP Anti-Spam SMTP Proxy >> Subject: Re: [Assp-user] assp stopping on it's own >> >> The last five crashes have all contained the same errors as in my >> previous post with the ktrace output. The bad file descriptor seems to >> > > >> be the consistent culprit here. >> >> >> Elvar >> >> Elvar wrote: >> >> >>> Fritz Borgstedt wrote: >>> >>> >>> >>>> start it from command line. >>>> >>>> >>>> -------------------------------------------------------------------- >>>> - >>>> ---- Take Surveys. Earn Cash. Influence the Future of IT Join >>>> SourceForge.net's Techsay panel and you'll get the chance to share >>>> your opinions on IT & business topics through brief surveys-and earn >>>> > > >>>> cash >>>> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=D >>>> E VDEV _______________________________________________ >>>> Assp-user mailing list >>>> [email protected] >>>> https://lists.sourceforge.net/lists/listinfo/assp-user >>>> >>>> >>>> >>>> >>> Ok, in trying to figure out what was causing assp to crash randomly >>> (always within about 10-15 mins of operation) I used ktrace to >>> produce >>> >>> >> >> >>> some output. Below is what I saw right up to where assp crashed. >>> >>> >>> 11867 perl RET write 2757/0xac5 >>> 11867 perl CALL close(0x6) >>> 11867 perl RET close 0 >>> 11867 perl CALL unlink(0x8766dc0) >>> 11867 perl NAMI "/var/db/assp/delaydb" >>> 11867 perl RET unlink 0 >>> 11867 perl CALL rename(0x8766ce0,0x8766dc0) >>> 11867 perl NAMI "/var/db/assp/delaydb.tmp" >>> 11867 perl NAMI "/var/db/assp/delaydb" >>> 11867 perl RET rename 0 >>> 11867 perl CALL close(0xffffffff) >>> 11867 perl RET close -1 errno 9 Bad file descriptor >>> 11867 perl CALL close(0x3) >>> 11867 perl RET close 0 >>> 11867 perl CALL close(0xffffffff) >>> 11867 perl RET close -1 errno 9 Bad file descriptor >>> 11867 perl CALL close(0x4) >>> 11867 perl RET close 0 >>> 11867 perl CALL close(0x5) >>> 11867 perl RET close 0 >>> 11867 perl CALL close(0xffffffff) >>> 11867 perl RET close -1 errno 9 Bad file descriptor >>> 11867 perl CALL exit(0x9) >>> >>> Any ideas as to how to fix this? >>> >>> >>> Regards, >>> Elvar >>> >>> >>> >>> >>> >>> --------------------------------------------------------------------- >>> - >>> --- Take Surveys. Earn Cash. Influence the Future of IT Join >>> SourceForge.net's Techsay panel and you'll get the chance to share >>> your opinions on IT & business topics through brief surveys-and earn >>> cash >>> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DE >>> V DEV _______________________________________________ >>> Assp-user mailing list >>> [email protected] >>> https://lists.sourceforge.net/lists/listinfo/assp-user >>> >>> >>> >> >> ---------------------------------------------------------------------- >> -- >> - >> Take Surveys. Earn Cash. Influence the Future of IT Join >> SourceForge.net's Techsay panel and you'll get the chance to share >> your opinions on IT & business topics through brief surveys-and earn >> cash >> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEV >> DEV _______________________________________________ >> Assp-user mailing list >> [email protected] >> https://lists.sourceforge.net/lists/listinfo/assp-user >> >> >> >> ---------------------------------------------------------------------- >> --- Take Surveys. Earn Cash. Influence the Future of IT Join >> SourceForge.net's Techsay panel and you'll get the chance to share >> your opinions on IT & business topics through brief surveys-and earn >> cash >> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEV >> DEV _______________________________________________ >> Assp-user mailing list >> [email protected] >> https://lists.sourceforge.net/lists/listinfo/assp-user >> >> > > > > ------------------------------------------------------------------------ > - > Take Surveys. Earn Cash. Influence the Future of IT Join > SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys-and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Assp-user mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/assp-user > > > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys-and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Assp-user mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/assp-user > ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Assp-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/assp-user
