I got following error message at the startup of stunnel4 on karmic "You should check that you have specified the pid= in you configuration file". I'm using stunnel for nntps (119/563).
I checked port 119 and found, that cyrus is using port 119 too:
netstat -tupan | grep ':::119' tcp6 0 0 :::119 :::* LISTEN 1504/cyrmaster
I don't know why, but nntp is activated in /etc/cyrus.conf by default. Comment out the nntp service in cyrus:
#nntp cmd="nntpd -U 30" listen="nntp" prefork=0 maxchild=100
After that stunnel4 started without an error. Conclusion: check if no other process is using the ports you want to use with stunnel.
I got following error message at the startup of stunnel4 on karmic "You should check that you have specified the pid= in you configuration file". I'm using stunnel for nntps (119/563).
I checked port 119 and found, that cyrus is using port 119 too:
netstat -tupan | grep ':::119'
tcp6 0 0 :::119 :::* LISTEN 1504/cyrmaster
I don't know why, but nntp is activated in /etc/cyrus.conf by default. Comment out the nntp service in cyrus:
#nntp cmd="nntpd -U 30" listen="nntp" prefork=0 maxchild=100
After that stunnel4 started without an error. Conclusion: check if no other process is using the ports you want to use with stunnel.