On Fri, 15 Mar 2013, Antonio Fortuny wrote:


1. Change this to use strace:

startproc -p /var/run/ipservice/ipservice.pid -W /var/run/ipservice/ipservice.pid strace -f -o /tmp/start.log /usr/local/bin/ipservice -r -D -s /usr/local/bin/ipservice.conf

Same behaviour, got a /tmp/start-man.log and start.log (very similar)
3983 execve("/usr/local/bin/ipservice", ["/usr/local/bin/ipservice", "-r", "-D", "-s", "/usr/local/bin/ipservice.conf"], [/* 56 vars */]) = 0
3983  brk(0)                            = 0x7bc000
3983 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f1a74c7d000
3

between them, nothing related to ipservice(d)

last lines:
3983 sendto(3, "<14>Mar 15 11:20:51 ipservice: ["..., 96, MSG_NOSIGNAL, NULL, 0) = 96 3983 sendto(3, "<14>Mar 15 11:20:51 ipservice: ["..., 141, MSG_NOSIGNAL, NULL, 0) = 141

-> the process is started and writes to the system log. You should see what 
happens in /var/log/syslog.

Michael.

--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to