It is currently Tue May 11, 2021 7:10 am

News News of Lik`s forum

Site map of Lik`s forum » Forum : Lik`s forum

cPanel/WHM/OpenVZ/Xen/Linux/IPMI Lik`s forum

FreeBSD memory stats (perl script)

FreeBSD RAM memory

freebsd-memory -- List Total System Memory Usage
## freebsd-memory -- List Total System Memory Usage
## Copyright (c) 2003-2004 Ralf S. Engelschall <>
## Redistribution and use in source and binary forms, with or without
## modification, are permitted provided that the following conditions
## are met:
## 1. Redistributions of source code must retain the above copyright
## notice, this list of conditions and the following disclaimer.
## ...
Read more : FreeBSD memory stats (perl script) | Views : 10353 | Replies : 1 | Forum : FreeBSD specific

Booting fallback systems with GRUB

GRUB supports a fallback mechanism of booting one or more other entries if a default boot entry fails. You can specify multiple fallback entries if you wish.

Suppose that you have three systems, `A', `B' and `C'. `A' is a system which you want to boot by default. `B' is a backup system which is supposed to boot safely. `C' is another backup system which is used in case where `B' is broken.

Then you ...
Read more : Booting fallback systems with GRUB | Views : 1693 | Replies : 0 | Forum : Linux specific

Linux Software RAID (MDADM)

Managing Linux Software RAID

Marking a damaged disk as failed:
Code: Select all
mdadm --manage --set-faulty /dev/md1 /dev/sdd1

Removing the damaged disk from the array:
Code: Select all
mdadm /dev/md1 -r /dev/sdd1

Shutdown your system, bring it up into single user mode and partition and format your new disk. Set the partition type as Linux Software RAID autodetect. Of course you need to partition your new disk the same as the previous one. Bring the machine up into it's default runlevel, ...
Read more : Linux Software RAID (MDADM) | Views : 5603 | Replies : 2 | Forum : Linux specific

Console Spamassasin Enable/Disable

Spamassassin can be enable or disabled through ssh on your server. This is quite useful when the server has very high loads which make whm inaccessible. It is also useful in some cases where WHM does not work correctly. So in order to disable spamassassing login to your server through SSH and execute the command:

Code: Select all
touch /etc/spamdisable
/etc/init.d/exim restart

On the contrary if you want to enable it again, just remove the above file and ...
Read more : Console Spamassasin Enable/Disable | Views : 1861 | Replies : 0 | Forum : Server Side Actions

DNS Blacklist description

A DNS Blacklist, or DNSBL, is a means by which an Internet site may publish a list of IP addresses that some people may want to avoid and in a format which can be easily queried by computer programs on the Internet. The technology is built on top of the Internet Domain Name System, or DNS. DNSBLs are chiefly used to publish lists of addresses linked to spamming. Most mail transport agent (mail server) ...
Read more : DNS Blacklist description | Views : 9031 | Replies : 3 | Forum : Linux specific

Adding Custom Directives to httpd.conf

Adding Custom Directives to httpd.conf

Many users are initially daunted by the new system used for generating and managing Apache's core configuration file, httpd.conf. As mentioned in The Apache Configuration System direct edits of httpd.conf will no longer be preserved unless they are properly integrated with the new Apache configuration system. This section lists the various methods available for customizing the httpd.conf file. For most users, the apache config distiller tool or the use of ...
Read more : Adding Custom Directives to httpd.conf | Views : 2840 | Replies : 0 | Forum : Server Side Actions

Useful MySql notes Useful MySql notes

Administrating a MySQL server

Setting the password:
1. From Unix shell:
shell> mysql -u username -h hostname -p password
mysql> SET PASSWORD FOR 'username'@'localhost'=PASSWORD('new_password');

2. Directly manipulate the privilege tables:
shell> mysql -u username -h host -u username -p
mysql> UPDATE user SET Password=PASSWORD('new_password') WHERE user='root';

3. Using the mysqladmin command:
shell> mysqladmin -u username password new_password

In our case we were able to change password specifying host name along with user ...
Read more : Useful MySql notes | Views : 4959 | Replies : 1 | Forum : Server Side Actions

Bug with MailMan ImportError: No module named korean

Bug with MailMan ImportError: No module named korean

Sometimes, you may get the following error on cpanel error log while creating mailing list.
File “/usr/local/cpanel/3rdparty/mailman/bin/mailmanctl”, line ****, in ?
import paths
ImportError: No module named korean

Code: Select all
uname -i

then do accordingly:
Code: Select all
yum install python-devel.i386
yum install python-devel.x86_64

Read more : Bug with MailMan ImportError: No module named korean | Views : 1627 | Replies : 0 | Forum : Server Side Actions


Login  •  Register


Total posts 505 • Total topics 442 • Total members 22