K. Callis's picture

Issue accessing webmin and webshell on Turnkey File Server

I have been pulling my hair out on the fact that I have not been able to access webmin or even the webshell. I looked at the message:

root@fs-01 ~# journalctl -b -u webmin.service -u stunnel4@webmin.service

-- Logs begin at Tue 2022-08-30 03:35:55 CDT, end at Tue 2022-08-30 03:48:01 CDT. --
Aug 30 03:35:57 fs-01 systemd[1]: Starting Universal SSL tunnel for network daemons (webmin)...
Aug 30 03:35:59 fs-01 stunnel[235]: LOG5[ui]: stunnel 5.50 on x86_64-pc-linux-gnu platform
Aug 30 03:35:59 fs-01 stunnel[235]: LOG5[ui]: Compiled with OpenSSL 1.1.1b  26 Feb 2019
Aug 30 03:35:59 fs-01 stunnel[235]: LOG5[ui]: Running  with OpenSSL 1.1.1n  15 Mar 2022
Aug 30 03:35:59 fs-01 stunnel[235]: LOG5[ui]: Threading:PTHREAD Sockets:POLL,IPv6,SYSTEMD TLS:ENGINE,FIPS,O
Aug 30 03:35:59 fs-01 stunnel[235]: LOG5[ui]: Reading configuration from file /etc/stunnel/webmin.conf
Aug 30 03:35:59 fs-01 stunnel[235]: LOG5[ui]: UTF-8 byte order mark not detected
Aug 30 03:35:59 fs-01 stunnel[235]: LOG5[ui]: FIPS mode disabled
Aug 30 03:35:59 fs-01 stunnel[235]: LOG5[ui]: Configuration successful
Aug 30 03:35:59 fs-01 stunnel[235]: LOG5[ui]: Binding service [webmin] to :::12321: Address already in use
Aug 30 03:35:59 fs-01 stunnel[235]: LOG5[ui]: Switched to chroot directory: /var/lib/stunnel4/
Aug 30 03:35:59 fs-01 stunnel[306]: LOG3[main]: Cannot create pid file /webmin.pid
Aug 30 03:35:59 fs-01 systemd[1]: stunnel4@webmin.service: Can't open PID file /var/lib/stunnel4/webmin.pid
Aug 30 03:35:59 fs-01 stunnel[306]: LOG3[main]: create: Permission denied (13)
Aug 30 03:45:57 fs-01 systemd[1]: stunnel4@webmin.service: Start operation timed out. Terminating.
Aug 30 03:45:57 fs-01 systemd[1]: stunnel4@webmin.service: Failed with result 'timeout'.
Aug 30 03:45:57 fs-01 systemd[1]: Failed to start Universal SSL tunnel for network daemons (webmin).
Aug 30 03:45:57 fs-01 systemd[1]: Dependency failed for Webmin Web based Admin UI.
Aug 30 03:45:57 fs-01 systemd[1]: webmin.service: Job webmin.service/start failed with result 'dependency'.
Aug 30 03:45:57 fs-01 systemd[1]: stunnel4@webmin.service: Consumed 16ms CPU time.
Aug 30 03:45:58 fs-01 systemd[1]: stunnel4@webmin.service: Service RestartSec=1s expired, scheduling restar
Aug 30 03:45:58 fs-01 systemd[1]: stunnel4@webmin.service: Scheduled restart job, restart counter is at 1.
Aug 30 03:45:58 fs-01 systemd[1]: Stopped Universal SSL tunnel for network daemons (webmin).

and

 

root@fs-01 ~# service webmin status
* webmin.service - Webmin Web based Admin UI
   Loaded: loaded (/lib/systemd/system/webmin.service; enabled; vendor preset: enabled)
  Drop-In: /etc/systemd/system/webmin.service.d
           `-override.conf
   Active: inactive (dead)

Aug 30 03:45:57 fs-01 systemd[1]: Dependency failed for Webmin Web based Admin UI.
Aug 30 03:45:57 fs-01 systemd[1]: webmin.service: Job webmin.service/start failed with result 'dependency'.

 

With the exception updating the system I have not even had a chance to configure the system, so why am I having this issue?

Forum: