buy tb500

Archive for April, 2011

disable suexec in shell

Friday, April 29th, 2011

You need to rename:

/usr/local/apache/bin/suexec

to:

/usr/local/apache/bin/suexec.disable

then stop and restart apache:

httpd stop
httpd start

to preven wordpress from spam

Wednesday, April 27th, 2011

by install recaptcha plugins, download it from the below URL, the installation same like normal plugin installation, but will ask yo about public key and private key, you will get the key from recaptcha website.

http://www.google.com/recaptcha

if you need further help let me know

unsuspend domain by command, plesk server

Tuesday, April 26th, 2011

%plesk_bin%\domain.exe –on example.com

FYI %plesk_bin% typically is C:\Program Files\Parallels\Plesk\admin\bin

check your OS 64 bit or 32 bit for linux and windows

Monday, April 18th, 2011

to know the operation system is 64 bit or 32 bit, refer to below for windows and linux

1- for linux , you need to ssh to the server and run the following command

uname -i

if you see x86_64 mean 64 bit

if you see x86 that mean 32 bit

2- for windows, you need to right click on my-computer >> properties then you will see the OS details is there

for more details , drop for me email to ayad@alzwea.com

Thank you.

Starting MySQLCouldn’t find MySQL manager (/var/lib/bin/mysqlmanager) or server (/var/lib/bin/mysqld_safe) or mysql has failed, please contact the sysadmin (result was “mysql has failed”).

Sunday, April 17th, 2011

The solution for the above error is below

1- ssh to the server

2- go to /etc/my.cnf

find basedir=/var/lib and remove it or commet it by     #basedir=/var/lib

3- save what you did

4- restart mysql then the issue will be fix

i have done that by my self in linux (cpanel server) and fixed the issue

References is below

http://forums.cpanel.net/f5/starting-mysqlcouldnt-find-mysql-manager-server-52517.html

Thank you.

reset mysql root password windows

Saturday, April 9th, 2011

1- stop mysql database from the services

2- save below code in this file mysql-init.txt in mysql directory under BIN

UPDATE mysql.user SET Password=PASSWORD('MyNewPass') WHERE User='root';
FLUSH PRIVILEGES;
3-
C:\mysql\bin\mysql --init-file=C:\\mysql-init.txt

make sure the directory is mysql directory, may be the above directroy is not correct ,

Reference

http://dev.mysql.com/doc/refman/4.1/en/resetting-permissions.html

You tried to access the Developer Edition from a disallowed IP (124.217.240.93). The Developer Edition can only be accessed from 127.0.0.1 and two additional IP addresses. The additional IP addresses are: 124.217.240.209,202.129.162.2

Wednesday, April 6th, 2011

solution is you need to restart coldfusion

Reference

http://www.houseoffusion.com/groups/cf-talk/thread.cfm/threadid:46617

service httpd start no listening sockets available, shutting down Unable to open logs

Friday, April 1st, 2011

the issue because httpd.conf is empty

in order to fix the issue, you need to rebuild httpd.conf, please run the below command

root@kodiak [~]# /scripts/rebuildhttpdconf

then after that try to start apache, then will be working fine

Thank you