Re: [webmin-l] Webmin won't start

"Jamie Cameron" <[email protected]> Mon, 27 Dec 2021 21:13:59 -0800 (PST)
Newsgroups gmane.comp.web.webmin.general
Message-ID <[email protected]>
On 27/Dec/2021 20:34 TE Dukes <[email protected]> wrote ..
> Thanks, that worked.  Will webmin now start on boot?

Yes, it should.

> I commented that line out.
> Do I need to uncomment it back out after I make the ssl certificate?
> 
> Also, the miniserv.pem is in the /usr/libexec/webmin directory.
> 
> I haven't made a ssl cert yet. Its on the list.

You can go to Webmin -> Webmin Configuration -> SSL Encryption to generate
a new cert (or request one from Let's Encrypt), and then re-enable SSL.

> 
> Again, thanks!!
> 
> -----Original Message-----
> From: Jamie Cameron <[email protected]> 
> Sent: Monday, December 27, 2021 8:35 PM
> To: Webmin users list <[email protected]>
> Subject: Re: [webmin-l] Webmin won't start
> 
> Looks like your SSL cert file is missing. The work-around would be to edit /etc/webmin/miniserv.conf
> and remove the ssl=1 line, then re-try restarting Webmin.
> 
>  - Jamie
> 
> On 27/Dec/2021 12:45 TE Dukes <[email protected]> wrote ..
> > Tried that also:
> > 
> > [root@ts130 ~]# /etc/webmin/start
> > Starting Webmin server in /usr/libexec/webmin Failed to open SSL cert 
> > /etc/webmin/miniserv.pem Failed to create default SSL context at 
> > /usr/libexec/webmin/miniserv.pl line 284.
> > [root@ts130 ~]#
> > 
> > I haven't gotten far enough to create the SSL cert. Its been a long 
> > time since I installed webmin from scratch on a new system, guessing I do that
> within webmin.
> > Although, just did a webmin install on a RPI running buster with no problems.
> > 
> > Thanks
> > 
> > -----Original Message-----
> > From: Jamie Cameron <[email protected]>
> > Sent: Monday, December 27, 2021 1:57 PM
> > To: Webmin users list <[email protected]>
> > Subject: Re: [webmin-l] Webmin won't start
> > 
> > What if you try starting Webmin by just running /etc/webmin/start ?
> > 
> > On 27/Dec/2021 09:58 TE Dukes <[email protected]> wrote ..
> > > [[email protected]]
> > > 
> > > Hi Jamie,
> > > 
> > > I have no logs anywhere to check. None have been created.  The 
> > > directory is there but no logs. Best info I have is from systemctl status.
> > > 
> > > Thanks
> > > 
> > > -----Original Message-----
> > > From: Jamie Cameron <[email protected]>
> > > Sent: Monday, December 27, 2021 12:52 PM
> > > To: Webmin users list <[email protected]>
> > > Subject: Re: [webmin-l] Webmin won't start
> > > 
> > > Hi,
> > > 
> > > Check the log file /var/webmin/miniserv.error to see if anything 
> > > useful gets logged when you try to start Webmin.
> > > 
> > >  - Jamie
> > > 
> > > On 27/Dec/2021 06:57 TE Dukes <[email protected]> wrote ..
> > > > Hello,
> > > > 
> > > > I just upgraded to Centos 8 Stream and cannot get webmin to start. 
> > > > There are no logs in /var/log or /var/webmin. There's nothing in /var/log/messages.
> > > > 
> > > > Here's the output from systemctl status webmin:
> > > > 
> > > > root@ts130 ~]# systemctl status webmin ● webmin.service - LSB: 
> > > > web-based administration interface for Unix systems
> > > >    Loaded: loaded (/etc/rc.d/init.d/webmin; generated)
> > > >    Active: failed (Result: exit-code) since Mon 2021-12-27 
> > > > 09:23:09 EST; 6s ago
> > > >      Docs: man:systemd-sysv-generator(8)
> > > >   Process: 36491 ExecStart=/etc/rc.d/init.d/webmin start 
> > > > (code=exited,
> > > > status=255)
> > > > 
> > > > Dec 27 09:23:07 ts130.palmettodomains.com systemd[1]: Starting LSB:
> > > > web-based administration interface for Unix systems...
> > > > Dec 27 09:23:07 ts130.palmettodomains.com perl[36492]:
> > > > pam_unix(webmin:auth): authentication failure; logname= uid=0 
> > > > euid=0 tty= ruser= rhost=  u> Dec 27 09:23:09 
> > > > ts130.palmettodomains.com
> > > > systemd[1]: webmin.service:
> > > > Control process exited, code=exited status=255 Dec 27 09:23:09 
> > > > ts130.palmettodomains.com systemd[1]: webmin.service: Failed with 
> > > > result 'exit-code'.
> > > > Dec 27 09:23:09 ts130.palmettodomains.com systemd[1]: Failed to start LSB:
> > > > web-based administration interface for Unix systems.
> > > > 
> > > > I found a similar issue on sourceforge.net but there was no clear 
> > > > answer how the person fixed the problem.
> > > > 
> > > > Any help would be greatly appreciated.
> > > > 
> > > > 
> > > > 
> > > > -
> > > > Forwarded by the Webmin mailing list at 
> > > > [email protected]
> > > > To remove yourself from this list, go to 
> > > > http://lists.sourceforge.net/lists/listinfo/webadmin-list
> > > 
> > > 
> > > 
> > > -
> > > Forwarded by the Webmin mailing list at 
> > > [email protected]
> > > To remove yourself from this list, go to 
> > > http://lists.sourceforge.net/lists/listinfo/webadmin-list
> > 
> > 
> > 
> > -
> > Forwarded by the Webmin mailing list at 
> > [email protected]
> > To remove yourself from this list, go to 
> > http://lists.sourceforge.net/lists/listinfo/webadmin-list
> 
> 
> 
> -
> Forwarded by the Webmin mailing list at [email protected]
> To remove yourself from this list, go to
> http://lists.sourceforge.net/lists/listinfo/webadmin-list

-
Forwarded by the Webmin mailing list at [email protected]
To remove yourself from this list, go to
http://lists.sourceforge.net/lists/listinfo/webadmin-list