P
postcd
Hello,
after webmin install, it was running, but after reboot, i need webmin to start automatically. I need this to be done without editting anything in webmin mysql (setting it from webmin admin area).
So i tried chkconfig webmin on and added startup script to rc.local but still dont works..
Code:
[root@yldethin /]# chkconfig --list
crond 0ff 1ff 2n 3n 4n 5n 6ff
gpm 0ff 1ff 2n 3ff 4n 5n 6ff
httpd 0ff 1ff 2ff 3n 4ff 5ff 6ff
iptables 0ff 1ff 2n 3n 4n 5n 6ff
iscsi 0ff 1ff 2ff 3ff 4n 5n 6ff
iscsid 0ff 1ff 2ff 3ff 4n 5n 6ff
lm_sensors 0ff 1ff 2n 3ff 4n 5n 6ff
lvm2-monitor 0ff 1n 2n 3ff 4n 5n 6ff
mcstrans 0ff 1ff 2n 3ff 4n 5n 6ff
messagebus 0ff 1ff 2ff 3ff 4n 5n 6ff
multipathd 0ff 1ff 2ff 3ff 4ff 5ff 6ff
named 0ff 1ff 2ff 3ff 4ff 5ff 6ff
netconsole 0ff 1ff 2ff 3ff 4ff 5ff 6ff
netfs 0ff 1ff 2ff 3ff 4n 5n 6ff
netplugd 0ff 1ff 2ff 3ff 4ff 5ff 6ff
network 0ff 1ff 2n 3n 4n 5n 6ff
nscd 0ff 1ff 2ff 3ff 4ff 5ff 6ff
portmap 0ff 1ff 2ff 3ff 4n 5n 6ff
rawdevices 0ff 1ff 2ff 3ff 4n 5n 6ff
rdisc 0ff 1ff 2ff 3ff 4ff 5ff 6ff
restorecond 0ff 1ff 2n 3ff 4n 5n 6ff
saslauthd 0ff 1ff 2ff 3n 4ff 5ff 6ff
sendmail 0ff 1ff 2n 3n 4n 5n 6ff
smb 0ff 1ff 2ff 3ff 4ff 5ff 6ff
snmpd 0ff 1ff 2ff 3ff 4ff 5ff 6ff
snmptrapd 0ff 1ff 2ff 3ff 4ff 5ff 6ff
sshd 0ff 1ff 2n 3n 4n 5n 6ff
syslog 0ff 1ff 2n 3n 4n 5n 6ff
vzquota 0ff 1ff 2n 3n 4n 5n 6ff
webmin 0ff 1ff 2n 3n 4n 5n 6ff
winbind 0ff 1ff 2ff 3ff 4ff 5ff 6ff
xinetd 0ff 1ff 2ff 3n 4n 5n 6ff
xinetd based services:
chargen-dgram: off
chargen-stream: off
daytime-dgram: off
daytime-stream: off
discard-dgram: off
discard-stream: off
echo-dgram: off
echo-stream: off
finger: off
ntalk: off
rsync: off
swat: off
talk: off
tcpmux-server: off
time-dgram: off
time-stream: off
[root@yldethin /]# cat /etc/rc.d/rc.local
#!/bin/sh
#
# This script will be executed *after* all the other init scripts.
# You can put your own initialization stuff in here if you don't
# want to do the full Sys V style init stuff.
touch /var/lock/subsys/local
sh /etc/webmin/start
[root@yldethin /]# uname -a
Linux yldethin 2.6.18-371.3.1.el5.028stab110.1 #1 SMP Fri Dec 13 15:01:51 MSK 2013 x86_64 x86_64 x86_64 GNU/Linux
I tried adding also without "sh" into rc.local. and i veriffied that webmin script working and start webmin, please how to start it at boot?
Continue reading...
after webmin install, it was running, but after reboot, i need webmin to start automatically. I need this to be done without editting anything in webmin mysql (setting it from webmin admin area).
So i tried chkconfig webmin on and added startup script to rc.local but still dont works..
Code:
[root@yldethin /]# chkconfig --list
crond 0ff 1ff 2n 3n 4n 5n 6ff
gpm 0ff 1ff 2n 3ff 4n 5n 6ff
httpd 0ff 1ff 2ff 3n 4ff 5ff 6ff
iptables 0ff 1ff 2n 3n 4n 5n 6ff
iscsi 0ff 1ff 2ff 3ff 4n 5n 6ff
iscsid 0ff 1ff 2ff 3ff 4n 5n 6ff
lm_sensors 0ff 1ff 2n 3ff 4n 5n 6ff
lvm2-monitor 0ff 1n 2n 3ff 4n 5n 6ff
mcstrans 0ff 1ff 2n 3ff 4n 5n 6ff
messagebus 0ff 1ff 2ff 3ff 4n 5n 6ff
multipathd 0ff 1ff 2ff 3ff 4ff 5ff 6ff
named 0ff 1ff 2ff 3ff 4ff 5ff 6ff
netconsole 0ff 1ff 2ff 3ff 4ff 5ff 6ff
netfs 0ff 1ff 2ff 3ff 4n 5n 6ff
netplugd 0ff 1ff 2ff 3ff 4ff 5ff 6ff
network 0ff 1ff 2n 3n 4n 5n 6ff
nscd 0ff 1ff 2ff 3ff 4ff 5ff 6ff
portmap 0ff 1ff 2ff 3ff 4n 5n 6ff
rawdevices 0ff 1ff 2ff 3ff 4n 5n 6ff
rdisc 0ff 1ff 2ff 3ff 4ff 5ff 6ff
restorecond 0ff 1ff 2n 3ff 4n 5n 6ff
saslauthd 0ff 1ff 2ff 3n 4ff 5ff 6ff
sendmail 0ff 1ff 2n 3n 4n 5n 6ff
smb 0ff 1ff 2ff 3ff 4ff 5ff 6ff
snmpd 0ff 1ff 2ff 3ff 4ff 5ff 6ff
snmptrapd 0ff 1ff 2ff 3ff 4ff 5ff 6ff
sshd 0ff 1ff 2n 3n 4n 5n 6ff
syslog 0ff 1ff 2n 3n 4n 5n 6ff
vzquota 0ff 1ff 2n 3n 4n 5n 6ff
webmin 0ff 1ff 2n 3n 4n 5n 6ff
winbind 0ff 1ff 2ff 3ff 4ff 5ff 6ff
xinetd 0ff 1ff 2ff 3n 4n 5n 6ff
xinetd based services:
chargen-dgram: off
chargen-stream: off
daytime-dgram: off
daytime-stream: off
discard-dgram: off
discard-stream: off
echo-dgram: off
echo-stream: off
finger: off
ntalk: off
rsync: off
swat: off
talk: off
tcpmux-server: off
time-dgram: off
time-stream: off
[root@yldethin /]# cat /etc/rc.d/rc.local
#!/bin/sh
#
# This script will be executed *after* all the other init scripts.
# You can put your own initialization stuff in here if you don't
# want to do the full Sys V style init stuff.
touch /var/lock/subsys/local
sh /etc/webmin/start
[root@yldethin /]# uname -a
Linux yldethin 2.6.18-371.3.1.el5.028stab110.1 #1 SMP Fri Dec 13 15:01:51 MSK 2013 x86_64 x86_64 x86_64 GNU/Linux
I tried adding also without "sh" into rc.local. and i veriffied that webmin script working and start webmin, please how to start it at boot?
Continue reading...