buy tb500

Archive for December, 2011

Raid rebuilding status

Friday, December 30th, 2011

in order to check the status of the raid rebuilding , you need to run the below command

SSH to the server

watch cat/proc/mdstat
or
cat /proc/mdstat

If you are having Linux server with the Plesk Server and you are getting a lot of mailer-daemon bounce backs

Tuesday, December 27th, 2011

If you got the following Error

I’m afraid I wasn’t able to deliver your message to the following addresses.
This is a permanent error; I’ve given up. Sorry it didn’t work out.
:
./Maildir: No such file or directory
I’m not going to try again; this message has been in the queue too long.

You need to follow the below solution’s

To prevent such notifications being generated

Login to the sever using the SSH with root privileges..

Now open the file /etc/drweb/drweb32.ini

Check the parameter CronSummary = yes

Now turn it to

CronSummary = No

Once done please restart the Dr. Web daemon Or PSA service daemon and you are done..

You’ll not receive such notifications again

or you need to go to   /var/qmail/alias

then open the files inside alias directory, and just remove the email from the files then will not receive any notification

to that email.

Magento: Your web server is configured incorrectly.

Wednesday, December 14th, 2011

Magento error: Your web server is configured incorrectly. As a result, configuration files with sensitive information are accessible from the outside. Please contact your hosting provider.

if you got the above error in Magento, you need to refer to the below solutions

The Fix:
644 for files, 755 for folders, and if you’re on shared hosting you can try setting app/etc/local.xml to 750 for security purposes.

Thank you.

Parallels Plesk Panel returns error: SWKeyExFatalError

Tuesday, December 6th, 2011

Symptoms

It is not possible to access to Parallels Plesk Panel. Browser displays the following error:

ERROR: SWKeyExFatalError
xmlrpc error: XML parsing failed


0: common_func.php3:4523
of_get_key_by_product(string ‘plesk-win’)
1: common_func.php3:4523
getPleskKey()
2: common_func.php3:4602
getKeyProp(string ‘demo’)
3: auth.php3:54

Also it is not possible to retrieve key number with utility keymng.exe, cause of unexpected error:
>”%plesk_bin%\keymng.exe” –get-key-number
Unexpected error

Resolution

Check the size of the file %plesk_dir%\admin\repository\registry.xml. If file is empty and equals 0KB, delete this file.
Once it is done, try to access to Parallels Plesk Panel. New file should be generated automatically.

Qmail : Display all Messages in the Email Queue

Tuesday, December 6th, 2011

SSH to the server and run the below command to show you the number of the queue

/var/qmail/bin/qmail-qstat

and run this command to list of the email queue

/var/qmail/bin/qmail-qread

Thank you.

Drive Warning: /dev/sda3 disk space is full

Sunday, December 4th, 2011
root@server2 [/usr]# cd local
root@server2 [/usr/local]# du -h --max-depth=1
2.8M    ./include
28K     ./man
33M     ./frontpage
15M     ./Zend
4.2M    ./lib
64K     ./les
3.0G    ./cpanel
360K    ./sim
6.0M    ./src
8.0K    ./games
66M     ./apache.backup_archive
108K    ./bandmin
1.7M    ./cpanel-rollback
35M     ./apache.backup
24K     ./sbin
12K     ./etc
15M     ./bin
40K     ./spri
152K    ./bfd
2.0M    ./IonCube
344K    ./share
8.0K    ./libexec
332M    ./apache
1005M   ./BUAgent

try to find the logs file, or which folder that using big size.
reverences

https://forums.cpanel.net/f189/drive-warning-dev-sda3-usr-86-full-please-help-105333.html