On Fri, Apr 28, 2023 at 01:26:53PM -0000, 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
First, what version of Debian is this? Can you show me the output of:
cat /etc/os-release cat /etc/debian_version dpkg-query -W -f '${db:Status-Abbrev}\t${Package}\t${Version}\n' base-files stunnel4
If the `dpkg-query` command above outputs anything other than "ii" in the first column for stunnel4, try running:
apt-get install --reinstall stunnel4
Anyway, after that, install the "debsums" package and show me the output of:
debsums -c stunnel4
G'luck, Peter