Portal Home > Knowledgebase > Articles Database > will centos 6 32bit not install cron by default ?
will centos 6 32bit not install cron by default ?
Posted by ttgt, 08-23-2012, 12:19 AM |
Hi,
i reinstall three vps with centos 6 32bit to install cpanel dns only,
after install csf,it notify my servers do not support cron,
i check,it is really,and i manually to install cron for the three vps servers.
1. is it my problem ? or ? because cron is important,im not sure why it is not been installed by default.
2. will all the cronjob show under "crontab -e" ? because i worry i may lose some bronjob after install cron function manually.
thanx
|
Posted by 'David, 08-23-2012, 12:41 AM |
depends on the os template you have installed.
|
Posted by Hillockhosting, 08-24-2012, 01:50 AM |
99% of the time cron is installed even if its a minimal version of OS
You can check using /etc/init.d/crond status on status of cron
|
Posted by racknap1, 08-24-2012, 12:12 PM |
Hi,
It also depends upon your OS Template/Version, you may try with centos-6-x86_64
|
Posted by ttgt, 08-29-2012, 07:18 PM |
it seems i find the problem,
because i run cpanel dns only on my vps,and i remove mysql on the vps,
i use "yum remove mysql"
and i go to check the log
Aug 25 23:05:11 Erased: MySQL-server
Aug 25 23:19:03 Erased: sysstat
Aug 25 23:19:04 Erased: cronie-anacron
Aug 25 23:19:04 Erased: crontabs
Aug 25 23:19:04 Erased: cronie
Aug 25 23:19:04 Erased: exim
it seems also remove cron,is it possible ?
thanx
|
Posted by rcs, 08-29-2012, 08:10 PM |
Look at the time the erase happend. It doesn't look like the remove mysql had anything to do with the cron remove. Must have been another command.
|
Posted by ttgt, 08-29-2012, 08:30 PM |
i also think so,but i check my "history",i do not run other command,and this is happen on my three vps. thanx
|
Posted by racknap1, 08-30-2012, 11:34 AM |
Hi,
that commands >> "yum remove mysql"
Erased: crontabs
erasing mysql, removes its related jobs which you've configured in your cron, it doesn't remove cron utility.
|
Posted by barbus, 08-30-2012, 04:20 PM |
By default minimal CentOS installation doesn't have cron. You should install it manually.
|
Posted by dareORdie, 08-30-2012, 05:26 PM |
Hello,
You can check whether cron is already installed or not on your VPS by service crond status.
If not then try to install the cron as follows:
yum -y install vixie-cron.x86_32
/sbin/service crond start
/sbin/chkconfig crond on
|
Add to Favourites Print this Article
Also Read
relio down?? (Views: 641)