Pages

Monday, 30 December 2013

Force Delete a Node [SolusVM]

If at any point you find you have an orphaned slave node linked to your master, you can delete it by running the following command on the master node:

From SSH


php /usr/local/solusvm/scripts/deletenode.php --level=force --comm=delete --id=[NODEID]

Replace [NODEID] with the id of the node shown in solusvm

Message is locked

When trying to remove an email from the queue you get:

# exiqgrep -o 86400 -i | xargs exim -Mrm
Message 1O8o3N-0000Gc-K8 is locked

 Solution, stop exim, remove that specific email and start exim again.

# /etc/init.d/exim stop
Shutting down exim:                                        [  OK  ]
Shutting down spamd:                                       [  OK  ]

# exim -Mrm 1O8o3N-0000Gc-K8
Message 1O8o3N-0000Gc-K8 has been removed


# /etc/init.d/exim start
Starting exim:                                             [  OK  ] 
 

Default page for accounts [cPanel]

Hey,

Ever wanted to add default page for the newly created account in your server? In WHM, look for "Account Functions" and choose "Skeleton Directory". This will show you where your directory is.
Anything you add to your Skeleton Directory will automatically be added to the users directory when you create a new account.

for example, if you place a default HTML page within the "public_html"
sub-directory then it will be included within the public_html directory of the user's new account upon creation.

Usually it's located in : /root/cpanel3-skel/public_html

Give a try :)