| CentOS 5 template and cron [message #26194] | 
			Thu, 17 January 2008 00:53   | 
		 
		
			
				
				
				
					
						  
						Thomasd
						 Messages: 39 Registered: December 2007 
						
					 | 
					Member  | 
					 | 
		 
		 
	 | 
 
	
		When installing the minimal template of CentOS 5, cron is not installed, but yum behaves as if it was installed: 
 
# vzctl create 2040
Creating VE private area (centos-5.0-i386-minimal)
Performing postcreate actions
VE private area was created
# vzctl start 2040
Starting VE ...
VE is mounted
Setting CPU units: 1000
Configure meminfo: 65536
VE start in progress...
#vzyum 2040 install crontabs
exec /usr/share/vzyum/bin/yum -c /vz/template/centos/5.0/i386/config/yum.conf --installroot /vz/root/2040 --vps=2040 install crontabs
Setting up Install Process
Setting up repositories
dag                       100% |=========================| 1.1 kB    00:00
base                      100% |=========================| 1.1 kB    00:00
updates                   100% |=========================|  951 B    00:00
centosplus                100% |=========================|  951 B    00:00
addons                    100% |=========================|  951 B    00:00
extras                    100% |=========================| 1.1 kB    00:00
Reading repository metadata in from local files
primary.xml.gz            100% |=========================|  99 kB    00:00
updates   : ################################################## 184/184
Added 4 new packages, deleted 0 old in 0.44 seconds
Parsing package install arguments
Nothing to do
# vzctl enter 2040
entered into VE 2040
# find . -name "*cron*"
./var/log/cron
./etc/crontab
./etc/cron.daily
./etc/cron.weekly
./etc/cron.hourly
./etc/cron.monthly
  
 
		
		
		[Updated on: Thu, 17 January 2008 00:53] Report message to a moderator  
 |  
	| 
		
	 | 
 
 
 | 
	| 
		
 | 
	| 
		
 | 
	
		
		
			| Re: CentOS 5 template and cron [message #26235 is a reply to message #26225] | 
			Fri, 18 January 2008 09:31    | 
		 
		
			
				
				
				
					
						  
						maratrus
						 Messages: 1495 Registered: August 2007  Location: Moscow
						
					 | 
					Senior Member  | 
					 | 
		 
		 
	 | 
 
	
		Hi, 
 
crond is not belong to crontabs-1.10-8.  
i suppose you should to install vixie-cron package. 
 
As I mentioned you can use "rpm -qf" to find out what package owns particular file. As I can see one of your VPS has crond. Please enter it and please type: 
 
and you can see what package contains crond file. 
 
Thank You!
		
		
		[Updated on: Fri, 18 January 2008 09:31] Report message to a moderator  
 |  
	| 
		
	 | 
 
 
 | 
	| 
		
 |