Linux Tips | bash: chkconfig: command not found
by nayantaka on Wednesday, July 7th, 2010 | No Comments
It’s happened when i tried to make mysqld service automatically start whenever the server boot. I login to my remote server as user via SSH, then i type “su”, it was on my centos 5. After i type “chkconfig –levels 235 mysqld on” i got this message “bash: chkconfig: command not found” Well, just wondering, then i tried to have it a check.
I run a couple of commands to see if I have it installed.
# rpm -qa |grep chkconfig
chkconfig-1.3.11.1-1
# whereis chkconfig
chkconfig: /sbin/chkconfig /usr/share/man/man8/chkconfig.8.gz
Then i remembered, i login as regular user, and type “su” not “su -” , type su – to use full root environment path or type /sbin/chkconfig if you type su without the “-”. That should work for you. Good luck.
Incoming search terms for the article:
- bash: chkconfig: command not found
- chkconfig command not found
- chkconfig: command not found
- no: command not found
- no chkconfig
- bash command not found
- bash chkconfig
- centos chkconfig not found
- chkconfig linux command not found
- bash chkconfig command not found
Related posts: