To whom it may concern,
On 4/28/23 09:26, trashrap22@gmail.com wrote:
Hi,
I am not getting any stunnel logs. Though my syslog gives me the info below. The stunnel4 file in /usr/bin/ is empty?
Apr 28 15:18:01 User-Linux systemd[1]: Starting LSB: Start or stop stunnel 4.x (TLS tunnel for network daemons)... Apr 28 15:18:01 User-Linux stunnel4[30850]: Starting TLS tunnels: /etc/stunnel/stunnel.conf: Apr 28 15:18:01 User-Linux stunnel4[30864]: /sbin/start-stop-daemon: unable to start /usr/bin/stunnel4 (Exec format error) Apr 28 15:18:01 User-Linux stunnel4[30850]: failed Apr 28 15:18:01 User-Linux stunnel4[30850]: You should check that you have specified the pid= in you configuration file
In my experience, any possible configuration problem with stunnel results in the "You should check that you have specified the pid= in you configuration file" error. Never in my experience has the problem been that the "pid" option has not been configured. It's always been something else; good luck finding the real problem. Just read all of the lines and make sure they were what you had intended.
-chris