Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Start Webmin on Boot

Status
Not open for further replies.

mveilleu

Programmer
Jul 23, 2004
13
US
I am having difficulties with starting webmin on the booting of my server. I am running Linux Mandrake v 10.1. Here is the errors I am seeing in the messages.

localhost start: Starting Webmin server in /usr/share/webmin
localhost webmin(pam_unix)[4512]: authentication failure; logname= uid=0 euid=0 tty= ruser= rhost= user=root
localhost webmin: Starting Webmin succeeded

It says the webmin succeeded but it either did not start or must be restarted anyways. Does anyone have any information about that authentication failure? I can't quite figure out what might be causing this. Thanks in advance for any help you might have.
 
I have version 1.150 of Webmin running. I have selected the boot on start option in the services section of my computer configuration. I cna go into the terminal window and start webmin after the computer is booted, but it will not boot on the start of the computer.

Hope this helps, Please let me know if you need any additional information. Thanks!
 
check to see if it is in /etc/rc.d/rc5.d (S99webmin)
which is probably linked to /etc/init.d/webmin.

check /etc/sysconfig/daemons/webmin

i just installed webmin-1.170-1.noarch.rpm on mandrake 10.0 to see what it did...no problems...comes up.

make sure the port is open. (10000).
check /etc/pam.d/webmin

[root@rsd005 pam.d]# cat webmin
#%PAM-1.0
auth required pam_unix.so nullok
account required pam_unix.so
session required pam_unix.so
 
When checking /etc/rc.d/rc5.d (S99webmin) I have found that the S99webmin file does not exist.

There is also not any /etc/sysconfig/daemons folder does not even exist.

I checked to make sure I didn't have any firewall blocking port 10000.

And running cat webmin in the pam.d directory gives me the following.

[root@localhost pam.d]# cat webmin
#%PAM-1.0
auth required pam_stack.so service=system-auth
account required pam_stack.so service=system-auth
password required pam_stack.so service=system-auth
session required pam_stack.so service=system-auth

I'm not too fluent in linux so I'm not quite sure what to make of this. Hope you might have some more input. Thanks.
 
does /etc/init.d/webmin exist?
if so then

ln -s /etc/init.d/wedmin /etc/rc.d/rc5.d/S99webmin

this will then start the webmin miniserver when then system boots into init mode 5 (X11 mode).
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top