Help with Stunnel? Will not start, signal 15 terminating it.

Rick Barry existentialsailor at yahoo.com
Mon Feb 11 14:12:19 UTC 2008


I've been looking through the Ubuntu forums and some
other locations attempting to trouble shoot stunnel
which will not start. 

I am only trying to use it with NNTP:

Here is my stunnel.conf

sslVersion = SSLv3
chroot = /var/lib/stunnel4/
setuid = stunnel4
setgid = stunnel4
pid = /stunnel4.pid
socket = l:TCP_NODELAY=1
socket = r:TCP_NODELAY=1
debug = 7
output = /var/log/stunnel4/stunnel.log
client = yes
[nntp]
accept = localhost:119
connect = news.giganews.com:563

I am using this command to start stunnel:

/etc/init.d/stunnel4 start

This is the complete message I get in my terminal when
I do that:

Starting SSL tunnels: 2008.02.11 09:00:05
LOG7[6780:3082872496]: RAND_status claims sufficient
entropy for the PRNG
2008.02.11 09:00:05 LOG7[6780:3082872496]: PRNG seeded
successfully
2008.02.11 09:00:05 LOG7[6780:3082872496]: SSL context
initialized for service nntp
[Failed: /etc/stunnel/stunnel.conf]
You should check that you have specified the pid= in
you configuration file

This is the log entry made:

2008.02.11 08:33:54 LOG5[5468:3082974896]: stunnel
4.20 on i486-pc-linux-gnu with OpenSSL 0.9.8e 23 Feb
2007
2008.02.11 08:33:54 LOG5[5468:3082974896]:
Threading:PTHREAD SSL:ENGINE Sockets:POLL,IPv6
Auth:LIBWRAP
2008.02.11 08:33:54 LOG6[5468:3082974896]: file ulimit
= 1024 (can be changed with 'ulimit -n')
2008.02.11 08:33:54 LOG6[5468:3082974896]: poll() used
- no FD_SETSIZE limit for file descriptors
2008.02.11 08:33:54 LOG5[5468:3082974896]: 500 clients
allowed
2008.02.11 08:33:54 LOG7[5468:3082974896]: FD 4 in
non-blocking mode
2008.02.11 08:33:54 LOG7[5468:3082974896]: FD 5 in
non-blocking mode
2008.02.11 08:33:54 LOG7[5468:3082974896]: FD 6 in
non-blocking mode
2008.02.11 08:33:54 LOG7[5468:3082974896]:
SO_REUSEADDR option set on accept socket
2008.02.11 08:33:54 LOG7[5468:3082974896]: nntp bound
to 127.0.0.1:119
2008.02.11 08:33:54 LOG7[5517:3082974896]: Created pid
file /stunnel4.pid
2008.02.11 08:39:10 LOG5[5517:3082974896]: Received
signal 15; terminating
2008.02.11 08:39:10 LOG7[5517:3082974896]: removing
pid file /stunnel4.pid

Apparently that signal 15 is part of the problem...

I wasn't able to find anything referring to signal 15
in the Ubuntu forum and googling turned up a ton of
stuff so I have some more fishing to do...

If anyone has some other pointers or ideas, I'd love
to see them.

Thank you.

Rick Barry


      ____________________________________________________________________________________
Be a better friend, newshound, and 
know-it-all with Yahoo! Mobile.  Try it now.  http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ 





More information about the ubuntu-users mailing list