How to uninstall apf in linux machine

You can use the following steps to uninstall apf in a linux machine:

Stop the apf service running in the server.

$ /etc/rc.d/init.d/apf stop

Remove the apf files from the server.

$ rm -Rf /etc/apf
$ rm -Rf /etc/rc.d/init.d/apf
$ rm -Rf /var/log/apf_log
$ rm -Rf /var/log/apfados_log
$ rm -Rf /usr/local/sbin/apf

Disable apf in the run levels.

$ /sbin/chkconfig –level 345 apf off

Open up and remove this line:

$ vi /etc/cron.daily/fw
/etc/rc.d/init.d/apf restart >> /dev/null 2>&1

What is kjournald

What is kjournald

kjournald:

It is for the journaling feature of the EXT3 file system. Kjournald is the journaling kernel thread for ext3 filesystem. One for each mounted ext3 filesystem.

# ps auxfw |grep kjournald
root 494 0.0 0.0 0 0 ? S< Jun17 27:45 \_ [kjournald]
root 1827 0.0 0.0 0 0 ? S< Jun17 0:00 \_ [kjournald]
root 2124 0.0 0.0 0 0 ? S< Jun17 0:23 \_ [kjournald]

Chkconfig

Chkconfig

The chkconfig command can also be used to activate and deactivate services. If you use the chkconfig –list command, you will see a list of system services and whether they are started (on) or stopped (off) in runlevels 0-6 (at the end of the list, you will see a section for the services managed by xinetd.

If you use chkconfig –list to query a service managed by xinetd, you will see whether the xinetd service is enabled (on) or disabled (off). For example, the following command shows that finger is enabled as an xinetd service:

$ chkconfig –list finger
finger on

More importantly, chkconfig can be used to set a service to be started (or not) in a specific runlevel. For example, to turn nscd off in runlevels 3, 4, and 5, use the command:

chkconfig –level 345 nscd off

Find Ensim Version

Find Ensim Version

To find the Parallels (Ensim) Pro appliance version, run the following command as root user.

$ getapplversion

A output of the command looks like CPVersion-OSVersion. For example, 10.2.0-fc.6.5 means, control panel version 10.2.0 is installed on a Fedora Core 6 server.

Another alternate method is to check the file at /usr/lib/opcenter/VERSION

$ cat /usr/lib/opcenter/VERSION

How to add a cron job for a domain in Ensim

Login to the server as ‘root’ user via SSH

Do a ’sitelookup’ for the domain

$ sitelookup -d domain.com wp_user

This will return the admin user name of the domain in the server, say ‘admin##’

Type

$ crontab -u admin## -e

Enter the corresponding cron, save and exit

Restart the crond service.

$ service crond restart

« Prev - Next »