Hi, I have an issue when sending SIGHUP signal to dspam daemon.
DSPAM restarts successfully, but there is a warning message in syslog "Unable to open file for writing: : No such file or directory" I happened to see different message when using storage profiles: Aug 17 15:40:56 nix dspam[26202]: Unable to open file for writing: ck: Permission denied Aug 17 15:40:56 nix dspam[25874]: Unable to open file for writing: : No such file or directory (sometimes only the first line, and sometimes even nothing) I think the "sk" is related to "sock" (not sure if it is the mysqld.sock used as default profile, or the dspam.sock however). The pid file is however not re-created (should it even be removed when using SIGHUP??) Here is a complete test situation: r...@nix:~# killall dspam r...@nix:~# dspam --debug --daemon 25526: [08/17/2009 15:32:41] dspam_init_driver: initializing lock 0 25526: [08/17/2009 15:32:41] dspam_init_driver: initializing lock 1 25526: [08/17/2009 15:32:41] dspam_init_driver: initializing lock 2 25526: [08/17/2009 15:32:41] spawning daemon listener 25526: [08/17/2009 15:32:41] Creating local domain socket /var/run/dspam/dspam.sock r...@nix:~# ps aux | grep [d]spam root 25526 0.0 0.4 6344 1696 pts/0 S 15:32 0:00 dspam --debug --daemon r...@nix:~# cat /var/run/dspam/dspam.pid 25526 r...@nix:~# kill -1 25526 25526: [08/17/2009 15:33:30] dspam_shutdown_driver: destroying lock 0 25526: [08/17/2009 15:33:30] dspam_shutdown_driver: destroying lock 1 25526: [08/17/2009 15:33:30] dspam_shutdown_driver: destroying lock 2 25526: [08/17/2009 15:33:30] dspam_init_driver: initializing lock 0 25526: [08/17/2009 15:33:30] dspam_init_driver: initializing lock 1 25526: [08/17/2009 15:33:30] dspam_init_driver: initializing lock 2 25526: [08/17/2009 15:33:30] spawning daemon listener 25526: [08/17/2009 15:33:30] Creating local domain socket /var/run/dspam/dspam.sock r...@nix:~# tail /var/log/syslog Aug 17 15:33:30 nix dspam[25526]: reloading configuration Aug 17 15:33:30 nix dspam[25526]: received signal. waiting for processing threads to exit. Aug 17 15:33:30 nix dspam[25526]: daemon is down. Aug 17 15:33:30 nix dspam[25526]: reloading configuration Aug 17 15:33:30 nix dspam[25526]: Unable to open file for writing: : No such file or directory r...@nix:~# netstat -lx | grep dspam.sock unix 2 [ ACC ] STREAM LISTENING 5537134 /var/run/dspam/dspam.sock r...@nix:~# cat /var/run/dspam/dspam.pid cat: /var/run/dspam/dspam.pid: No such file or directory Cheers, Julien ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Dspam-devel mailing list Dspam-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspam-devel