Tuesday, October 23, 2007

PHPMyadmin Error

#2002 - The server is not responding (or the local MySQL server's socket is not correctly configured)

Do a mysql.sock symlink to /tmp

ln -s /var/lib/mysql/mysql.sock /tmp/mysql.sock

and restart mysql

Issue should be fixed.

Enjoy
Ninad

Monday, July 2, 2007

Not able to see email accounts ?

Not able to see email accounts from your cpanel ?

Check the permission of /home/user/etc and /home/user/mail

For etc it should be user.mail and for mail it should be user.user

Now you will be able to see all the email accounts.

Enjoy
Ninad S

Tuesday, June 26, 2007

Front Page extensions not working in plesk

Microsoft discontinued FP and Plesk is no longer supporting it.
MS is not allowing any distributing of FP extensions.

FP will not work on new installs of Plesk 8.1 and anything above Fedora Core 3

For more details please have a look at http://forum.swsoft.com/printthread.php?threadid=39097

Enjoy
Ninad S

Wednesday, June 20, 2007

How to Disable DrWeb notification e-mails on Plesk

To Disable DrWeb notification e-mails

“%plesk_dir%\mysql\bin\mysql” -uadmin -padmin_password -P8306 psa

First, make sure that record responsible for antivirus notification exists in table psa.misc. You can check it using this query:

select val from misc where param = ‘AntivirusNotifyAdmin’;

This query should return a value: 0 or 1.

0 - notifications are disabled; 1 - notifications are enabled;

To switch this value you can use these queries:

update misc set val=’0’ where param = ‘AntivirusNotifyAdmin’; - to disable notifications update misc set val=’1’ where param = ‘AntivirusNotifyAdmin’; - to enable notifications

If there was no result returned you need to insert this record into table misc using this query:

insert into misc values (’AntivirusNotifyAdmin’,’0’);

Then you will be able to control notifications sending.

Notice: ‘AntivirusNotifyAdmin’ parameter that controls notifications for Plesk administrator. If it’s necessary to disable/enable notifications for clients you can use the following parameters instead of ‘AntivirusNotifyAdmin’:

‘AntivirusNotifySender’ - for e-mail sender ‘AntivirusNotifyRecipients’ - for e-mail recipient

Enjoy
Ninad S



Tuesday, June 19, 2007

Parse error when viewing web site created by Site Studio

If you receive a parse error when viewing your site in a web browser, this is because your web site coded incorrectly.

Parse errors are displayed when the web server can not read and display your web site code. The common cause of this is that you have copied and pasted code from another program into Site Studio, such as Microsoft Office that is not properly formatted. For example: Microsoft Office does not produce HTML code to industry standards and includes lots of non-standard code.

The solution is to remove the custom code you have inserted into Site Studio and insert plain text only. Once you have made the changes, republish the web site and your site should display correctly.

Enjoy

Ninad S

How to set up additional FTP user and give them limited access to a directory to upload in plesk

You can do this using the following steps :

login to plesk

Click on domain name--click on webusers and add a webuser.

Add this webuser by the name of directory to which you need the webuser to upload since when you add webuser a directory gets created by its name and user can upload to this directory with webuser name and password and only has access to that directory

Enjoy
Ninad S



Thursday, June 14, 2007

WHM not working after upgrading to cpanel 11

We all know that lot of the things dont work in cpanel 11

Recently I upgraded cpanel to version11 and the problem started. I was not able to login to whm, all mails stop working etc.

I checked the server and found that perl version was 5.8.7

To upgrade cpanel 11 you need perl 5.8.8

1) Make sure you're running Perl 5.8.8:

a) check perl -v to make sure it says 5.8.8

b) if you see 5.8.7 or something else, follow these steps:

1) wget http://layer1.cpanel.net/perl588installer.tar.gz
2) tar xfvz perl588installer.tar.gz
3) cd perl588installer
4) ./install
5) /usr/local/cpanel/bin/checkperlmodules

2) Upgrade YAML::Syck and File::Copy::Recurisve:
1) /scripts/realperlinstaller YAML::Syck
2) /scripts/realperlinstaller File::Copy::Recurisve

Issue was resolved :)

Regards,
Ninad S


View My Stats