FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Ubuntu > Ubuntu User

 
 
LinkBack Thread Tools
 
Old 02-11-2008, 01:12 PM
Rick Barry
 
Default Help with Stunnel? Will not start, signal 15 terminating it.

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


--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
 
Old 02-11-2008, 05:14 PM
Joachim Schrod
 
Default Help with Stunnel? Will not start, signal 15 terminating it.

Rick Barry wrote:

> 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

client is a service option and must be listed after the "[nntp]"
line. With your configuration file, you try to establish an stunnel
server and that won't succeed.

I don't know if that causes the TERM signal, but you might want to
repair your stunnel configuration first and then check if the
signal is still there.

Joachim

--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Joachim Schrod Email: jschrod@acm.org
Roedermark, Germany


--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
 

Thread Tools




All times are GMT. The time now is 12:56 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org