LAMP How To – Open Source At Work

Only Passion Matters

Entries for March, 2010

synchronising system clock manually

if there is a need to synchronise the system clock manually, it can be a straight forward thing

service ntpd stop
ntpdate 0.rhel.pool.ntp.org
service ntpd start

some of the files of interest:

/etc/sysconfig/clock
/usr/share/zoneinfo

init: Id “co” respawning too fast: disabled for 5 minutes

If you are getting this message, it means that you are in run level 3 and most likely you dont have the GUI installed. inittab is trying to create too many terminals at a go. Have a look at the /etc/inittab file, and commented off the extra gettys lines.
# Run gettys in standard runlevels
co:2345:respawn:/sbin/agetty xvc0 [...]

system-config-securitylevel – Love or hatred?

system-config-securitylevel provides the user an easy interface to edit firewall rules. If you only need to open up certain tcp and udp ports, this tool may prove handy. For more complex routing rules, you are tempted to edit /etc/sysconfig/iptables directly.
If you have used system-config-securitylevel before, check out the iptables file and you will see this [...]

Getting or reverting back to an old version in svn

people might think svn revert is the answer but it is actually not. To check out an old version of svn,
svn co -r xxx url
where -r is whatever version to checkout. To update the existing version to an old version
svn update -r xxx url