=====================
/scripts/upcp --force
Can't locate cPScript/Config/Sources.pm in @INC (@INC contains: /usr/local/cpanel /scripts /usr/local/lib/perl5/5.8.8/i686-linux /usr/local/lib/perl5/5.8.8 /usr/local/lib/perl5/site_perl/5.8.8/i686-linux /usr/local/lib/perl5/site_perl/5.8.8 /usr/local/lib/perl5/site_perl .) at /scripts/upcp line 18.
BEGIN failed--compilation aborted at /scripts/upcp line 18.
===================
solution:
replace the cpscript folder
i.e /scripts/cPScript/
Thursday, August 27, 2009
Tuesday, August 25, 2009
Can't open and lock privilege tables: Table 'mysql.host' doesn't exist
Solution:
1001 tail -f /var/lib/mysql/server.dizinc.com.err
1002 hostname
1003 tail -f /var/lib/mysql/dime138.dizinc.com.err
1004 ll /var/lib/mysql/mysql/
1005 ll /var/lib/mysql/mysql/
1006 myisamchk -r /var/lib/mysql/mysql/host.MYI
1007 ll /var/lib/mysql/mysql/
1008 cp /backup/cpbackup/daily/dirs/_var_lib_mysql/mysql/host.* /var/lib/mysql/mysql/
1009 chown -R mysql.mysql /var/lib/mysql/mysql/
1010 myisamchk -r /var/lib/mysql/mysql/*.MYI
1011 ll /var/lib/mysql/mys
1012 ll /var/lib/mysql/mysql/
1013 ps aux | grep mysql
1014 mysql
1015 ps aux | grep mysql
1016 mysql
1001 tail -f /var/lib/mysql/server.dizinc.com.err
1002 hostname
1003 tail -f /var/lib/mysql/dime138.dizinc.com.err
1004 ll /var/lib/mysql/mysql/
1005 ll /var/lib/mysql/mysql/
1006 myisamchk -r /var/lib/mysql/mysql/host.MYI
1007 ll /var/lib/mysql/mysql/
1008 cp /backup/cpbackup/daily/dirs/_var_lib_mysql/mysql/host.* /var/lib/mysql/mysql/
1009 chown -R mysql.mysql /var/lib/mysql/mysql/
1010 myisamchk -r /var/lib/mysql/mysql/*.MYI
1011 ll /var/lib/mysql/mys
1012 ll /var/lib/mysql/mysql/
1013 ps aux | grep mysql
1014 mysql
1015 ps aux | grep mysql
1016 mysql
Saturday, August 22, 2009
Apache – “Client denied by server configuration” tips
Having problems with displaying your site and getting error 403 in your web-browser?
does the log-file for apache errors contain lines like tis?
“client denied by server configuration: /path/to/files”
Then you probably have denied access to the directory in the httpd.conf file.
Allow access by adding:
allow from all
If your are using VirtualHosts then add the directory-block inside the block.
does the log-file for apache errors contain lines like tis?
“client denied by server configuration: /path/to/files”
Then you probably have denied access to the directory in the httpd.conf file.
Allow access by adding:
allow from all
If your are using VirtualHosts then add the directory-block inside the
Friday, August 21, 2009
Unable to add package on cpanel as user
Unable to add package on cpanel as user and getting following error "an error occured while processing this dirctive"
============
Cpanel Package creation problem : Attempt to free unreferenced scalar
Posted on August 19th, 2009 Admin No comments
while creating packages for the reseller via reseller WHM we were getting blank page and it appears that the packages were not getting created. After looking into the CPanel error logs in /usr/local/cpanel/logs/error_log the following error was reported.
(internal warning while parsing [stdin]) Wed Aug 193 13:21:08 2009 [94568] warn: Attempt to free unreferenced scalar.
Solution
WHM -> Server Configuration -> Tweak Settings Choose the setting for:
The maximum memory a cPanel process can use before it is killed off (in megabytes). Values less than 128 megabytes can not be specified. A value of “0″ will disable the memory limits.
The settings had 256M there by default, and increasing the value to 1024 MB helped. The server Server had 4G RAM, so the value of 1024M was fine here.
==================
Set memory to 512
============
Cpanel Package creation problem : Attempt to free unreferenced scalar
Posted on August 19th, 2009 Admin No comments
while creating packages for the reseller via reseller WHM we were getting blank page and it appears that the packages were not getting created. After looking into the CPanel error logs in /usr/local/cpanel/logs/error_log the following error was reported.
(internal warning while parsing [stdin]) Wed Aug 193 13:21:08 2009 [94568] warn: Attempt to free unreferenced scalar.
Solution
WHM -> Server Configuration -> Tweak Settings Choose the setting for:
The maximum memory a cPanel process can use before it is killed off (in megabytes). Values less than 128 megabytes can not be specified. A value of “0″ will disable the memory limits.
The settings had 256M there by default, and increasing the value to 1024 MB helped. The server Server had 4G RAM, so the value of 1024M was fine here.
==================
Set memory to 512
Monday, August 17, 2009
Adobe flash media server
http://www.scribd.com/doc/8124539/Flash-Media-Server-Install
Down load it to s/m and upload into server. then refer above link
./fmsmgr server fms start
Down load it to s/m and upload into server. then refer above link
./fmsmgr server fms start
Internal server +cgi bin error
Add these lines to httpd.conf
==================
Options All
scriptAlias /cgi-bin/ /var/www/cgi-bin/
AllowOverride None
Options +ExecCGI
Order allow,deny
Allow from all
AddHandler cgi-script .cgi .pl
===============
==================
Options All
scriptAlias /cgi-bin/ /var/www/cgi-bin/
AllowOverride None
Options +ExecCGI
Order allow,deny
Allow from all
AddHandler cgi-script .cgi .pl
===============
Thursday, August 13, 2009
Unable to upload files
Problem:
file gets stuck uploading, waited almost a whole to upload a 6.67MB file image. which never finished.
===========
solution:
To resolve the issue, I did the following things.
1. Checked the values in php.ini. upload_max_filesize is set to 50M.
2. In your admin area, in upload settings, made the 'max size' part blank, so that it will take the default value from php.ini
3. Also, I made the file upload privileges to "Everyone". Earlier it was set to superuser only.
file gets stuck uploading, waited almost a whole to upload a 6.67MB file image. which never finished.
===========
solution:
To resolve the issue, I did the following things.
1. Checked the values in php.ini. upload_max_filesize is set to 50M.
2. In your admin area, in upload settings, made the 'max size' part blank, so that it will take the default value from php.ini
3. Also, I made the file upload privileges to "Everyone". Earlier it was set to superuser only.
How to change a username
Go to whm >> modify an acct
change it
=========
Shell already set to /usr/local/cpanel/bin/noshell
`/etc/proftpd/tmacey' -> `/etc/proftpd/tarquin'
`/var/cpanel/users/tmacey' -> `/var/cpanel/users/tarquin'
`/home/tmacey' -> `/home/tarquin'
=========
change it
=========
Shell already set to /usr/local/cpanel/bin/noshell
`/etc/proftpd/tmacey' -> `/etc/proftpd/tarquin'
`/var/cpanel/users/tmacey' -> `/var/cpanel/users/tarquin'
`/home/tmacey' -> `/home/tarquin'
=========
rvsite buider installation
RVSiteBuilder :: Support :: Installation for cPanel server
1. If RVSkin has been installed on your server it should be updated for RVSkin to Version 6.75 or upper versions. (Skip this step if no RVSkin has been installed).
perl /root/rvadmin/auto_rvskin.pl
2. After receiving the license confirmation,please set SSH to your cPanel server as root,and download an installer using below command :
cd /usr/local/cpanel/whostmgr/docroot/cgi/
rm -f rvsitebuilderinstaller.tar
wget http://download.rvglobalsoft.com/rvsitebuilderinstaller.tar
tar -xvf rvsitebuilderinstaller.tar
chmod 755 addon_rvsitebuilder.cgi
rm -f rvsitebuilderinstaller.tar
3. Open root WHM, at the bottom of menu on the left side where is under Plugins section, you will find RVSiteBuilder Installer menu.
4. Click RVSiteBuilder Installer to begin installation process.
5. After completing installation, you will be linked to RVSiteBuilder Manager automatically. Please configure RV SiteBuilder immediately.
6. Done!! Your cPanel should show RVSiteBuilder as a feature in all cPanel users. Special note for specific cPanel skin:
* RVSkin - It will automatically switch RVSiteBuilder to RVSkin.You may require editing the Package-Feature List if RV Site Builder doesn't show up or you don't require some hosting packages access.
* X Skin and some which support AddOn application - It will be automatically displayed on cPanel.Also you will be to manage the feature list in WHM Feature Manager.
* CPSkins - Upgrade RVSiteBuilder to Version 1.07 or upper versions.You have to manually integrate it by editing file /usr/local/cpanel/base/frontend/themename/index.html.Insert
which is on the top of the page and also you edit /usr/local/cpanel/base/frontend/themename/main.php. Place
in the area you would like to show RVSiteBuilder Icon. Do not edit file RVS2CPSkinmenu.html.Your change will be lost when you update RVSiteBuilder. If you would like to edit it you can copy it to another new file, rename and change the cPanel including path to the new one.
Installation Trouble Shooting
Cannot find RVSiteBuilder Installer
Please close all WHM and open it again.
Cannot find RVSiteBuilder Manager
Please close all WHM and open it again.
Cannot connect to DB, check your credentials, exiting .....
Sorry your request can not be processed now.Please contact your service provider. .
If you deploy local MySQL, please go to WHM / MySQL Services / MySQL Root Password and then enter the random password.You don't need to remember it.Then, please try to install again.If it still fails, you are suggested to restarting MySQL.If you deploy remote MySQL, please ensure the database name, database user and its combination are correct.And also, please make sure that your server has a privilege for an access to remote MySQL.
Cannot find RVSiteBuilder in user's cPanel X skin
Go to WHM / Packages / Feature Manager and edit "default" Features List. And activate RVSiteBuilder.
Cannot find RVSiteBuilder in user's cPanel RVSkin
Go to WHM / Add-ons / RVSkin Manager / Integration / WHM Add On Modules. Activate RVSiteBuilder. Then, go to 'Package-Feature Manager' and enable RVSiteBuilder in the feature lists as appropriate.
1. If RVSkin has been installed on your server it should be updated for RVSkin to Version 6.75 or upper versions. (Skip this step if no RVSkin has been installed).
perl /root/rvadmin/auto_rvskin.pl
2. After receiving the license confirmation,please set SSH to your cPanel server as root,and download an installer using below command :
cd /usr/local/cpanel/whostmgr/docroot/cgi/
rm -f rvsitebuilderinstaller.tar
wget http://download.rvglobalsoft.com/rvsitebuilderinstaller.tar
tar -xvf rvsitebuilderinstaller.tar
chmod 755 addon_rvsitebuilder.cgi
rm -f rvsitebuilderinstaller.tar
3. Open root WHM, at the bottom of menu on the left side where is under Plugins section, you will find RVSiteBuilder Installer menu.
4. Click RVSiteBuilder Installer to begin installation process.
5. After completing installation, you will be linked to RVSiteBuilder Manager automatically. Please configure RV SiteBuilder immediately.
6. Done!! Your cPanel should show RVSiteBuilder as a feature in all cPanel users. Special note for specific cPanel skin:
* RVSkin - It will automatically switch RVSiteBuilder to RVSkin.You may require editing the Package-Feature List if RV Site Builder doesn't show up or you don't require some hosting packages access.
* X Skin and some which support AddOn application - It will be automatically displayed on cPanel.Also you will be to manage the feature list in WHM Feature Manager.
* CPSkins - Upgrade RVSiteBuilder to Version 1.07 or upper versions.You have to manually integrate it by editing file /usr/local/cpanel/base/frontend/themename/index.html.Insert
which is on the top of the page and also you edit /usr/local/cpanel/base/frontend/themename/main.php. Place
in the area you would like to show RVSiteBuilder Icon. Do not edit file RVS2CPSkinmenu.html.Your change will be lost when you update RVSiteBuilder. If you would like to edit it you can copy it to another new file, rename and change the cPanel including path to the new one.
Installation Trouble Shooting
Cannot find RVSiteBuilder Installer
Please close all WHM and open it again.
Cannot find RVSiteBuilder Manager
Please close all WHM and open it again.
Cannot connect to DB, check your credentials, exiting .....
Sorry your request can not be processed now.Please contact your service provider. .
If you deploy local MySQL, please go to WHM / MySQL Services / MySQL Root Password and then enter the random password.You don't need to remember it.Then, please try to install again.If it still fails, you are suggested to restarting MySQL.If you deploy remote MySQL, please ensure the database name, database user and its combination are correct.And also, please make sure that your server has a privilege for an access to remote MySQL.
Cannot find RVSiteBuilder in user's cPanel X skin
Go to WHM / Packages / Feature Manager and edit "default" Features List. And activate RVSiteBuilder.
Cannot find RVSiteBuilder in user's cPanel RVSkin
Go to WHM / Add-ons / RVSkin Manager / Integration / WHM Add On Modules. Activate RVSiteBuilder. Then, go to 'Package-Feature Manager' and enable RVSiteBuilder in the feature lists as appropriate.
email account creation problem
When we are trying to create an email account then we got following error
error: two account are created in the same name
===========
solution:
1. go to /home/username/.cpanel
2.move the file
=============
error: two account are created in the same name
===========
solution:
1. go to /home/username/.cpanel
2.move the file
=============
Wednesday, August 12, 2009
Install yum
1.
cd /usr/src
2.
wget http://linux.duke.edu/projects/yum/download/2.0/yum-2.0.7.tar.gz
3.
tar -xvzf yum-2.0.7.tar.gz
4.
cd yum-2.0.7
5.
./configure
6.
make
7.
make install
===========================
http://imountain.com/blog/2008/09/13/how-to-install-yum-manually-on-redhatrhel-4x-or-centos-4x/
=======================.
http://www.webhostingtalk.com/archive/index.php/t-907431.html
=======================
Hi,
Login as root in SSH Command Prompt of your VPS
Run these commands
Code:
mkdir temp && cd temp
wget http://mirror.centos.org/centos-5/5.3/os/i386/CentOS/elfutils-0.137-3.el5.i386.rpm
wget http://mirror.centos.org/centos-5/5.3/os/i386/CentOS/elfutils-libs-0.137-3.el5.i386.rpm
wget http://mirror.centos.org/centos-5/5.3/os/i386/CentOS/elfutils-libelf-0.137-3.el5.i386.rpm
wget http://mirror.centos.org/centos-5/5.3/os/i386/CentOS/expat-1.95.8-8.2.1.i386.rpm
wget http://mirror.centos.org/centos-5/5.3/os/i386/CentOS/gmp-4.1.4-10.el5.i386.rpm
wget http://mirror.centos.org/centos-5/5.3/os/i386/CentOS/libxml2-2.6.26-2.1.2.7.i386.rpm
wget http://mirror.centos.org/centos-5/5.3/os/i386/CentOS/libxml2-python-2.6.26-2.1.2.7.i386.rpm
wget http://mirror.centos.org/centos-5/5.3/os/i386/CentOS/m2crypto-0.16-6.el5.3.i386.rpm
wget http://mirror.centos.org/centos-5/5.3/os/i386/CentOS/python-2.4.3-24.el5.i386.rpm
wget http://mirror.centos.org/centos-5/5.3/os/i386/CentOS/python-elementtree-1.2.6-5.i386.rpm
wget http://mirror.centos.org/centos-5/5.3/os/i386/CentOS/python-iniparse-0.2.3-4.el5.noarch.rpm
wget http://mirror.centos.org/centos-5/5.3/os/i386/CentOS/python-sqlite-1.1.7-1.2.1.i386.rpm
wget http://mirror.centos.org/centos-5/5.3/os/i386/CentOS/python-urlgrabber-3.1.0-5.el5.noarch.rpm
wget http://mirror.centos.org/centos-5/5.3/os/i386/CentOS/readline-5.1-1.1.i386.rpm
wget http://mirror.centos.org/centos-5/5.3/os/i386/CentOS/rpm-4.4.2.3-9.el5.i386.rpm
wget http://mirror.centos.org/centos-5/5.3/os/i386/CentOS/rpm-libs-4.4.2.3-9.el5.i386.rpm
wget http://mirror.centos.org/centos-5/5.3/os/i386/CentOS/rpm-python-4.4.2.3-9.el5.i386.rpm
wget http://mirror.centos.org/centos-5/5.3/os/i386/CentOS/sqlite-3.3.6-2.i386.rpm
wget http://mirror.centos.org/centos-5/5.3/os/i386/CentOS/yum-3.2.19-18.el5.centos.noarch.rpm
wget http://mirror.centos.org/centos-5/5.3/os/i386/CentOS/yum-fastestmirror-1.1.16-13.el5.centos.noarch.rpm
wget http://mirror.centos.org/centos-5/5.3/os/i386/CentOS/yum-metadata-parser-1.1.2-2.el5.i386.rpm
This will download all the RPMs needed to install YUM
=================
Now run these commands to install those RPMs
Code:
rpm -Uvh elfutils-0.137-3.el5.i386.rpm
rpm -Uvh elfutils-libs-0.137-3.el5.i386.rpm
rpm -Uvh elfutils-libelf-0.137-3.el5.i386.rpm
rpm -Uvh expat-1.95.8-8.2.1.i386.rpm
rpm -Uvh gmp-4.1.4-10.el5.i386.rpm
rpm -Uvh libxml2-2.6.26-2.1.2.7.i386.rpm
rpm -Uvh libxml2-python-2.6.26-2.1.2.7.i386.rpm
rpm -Uvh m2crypto-0.16-6.el5.3.i386.rpm
rpm -Uvh python-2.4.3-24.el5.i386.rpm
rpm -Uvh python-elementtree-1.2.6-5.i386.rpm
rpm -Uvh python-iniparse-0.2.3-4.el5.noarch.rpm
rpm -Uvh python-sqlite-1.1.7-1.2.1.i386.rpm
rpm -Uvh python-urlgrabber-3.1.0-5.el5.noarch.rpm
rpm -Uvh readline-5.1-1.1.i386.rpm
rpm -Uvh rpm-4.4.2.3-9.el5.i386.rpm
rpm -Uvh rpm-libs-4.4.2.3-9.el5.i386.rpm
rpm -Uvh rpm-python-4.4.2.3-9.el5.i386.rpm
rpm -Uvh sqlite-3.3.6-2.i386.rpm
rpm -Uvh yum-3.2.19-18.el5.centos.noarch.rpm
rpm -Uvh yum-fastestmirror-1.1.16-13.el5.centos.noarch.rpm
rpm -Uvh yum-metadata-parser-1.1.2-2.el5.i386.rpm
This will install all those downloaded RPMs
Most of the RPMs would be installed by default, but it is a must to have the Latest Versions for installing YUM.
===========================
Now update the YUM by running this command
Code:
yum update yum
OR
Code:
yum -y update
===========================
Emjoy....
cd /usr/src
2.
wget http://linux.duke.edu/projects/yum/download/2.0/yum-2.0.7.tar.gz
3.
tar -xvzf yum-2.0.7.tar.gz
4.
cd yum-2.0.7
5.
./configure
6.
make
7.
make install
===========================
http://imountain.com/blog/2008/09/13/how-to-install-yum-manually-on-redhatrhel-4x-or-centos-4x/
=======================.
http://www.webhostingtalk.com/archive/index.php/t-907431.html
=======================
Hi,
Login as root in SSH Command Prompt of your VPS
Run these commands
Code:
mkdir temp && cd temp
wget http://mirror.centos.org/centos-5/5.3/os/i386/CentOS/elfutils-0.137-3.el5.i386.rpm
wget http://mirror.centos.org/centos-5/5.3/os/i386/CentOS/elfutils-libs-0.137-3.el5.i386.rpm
wget http://mirror.centos.org/centos-5/5.3/os/i386/CentOS/elfutils-libelf-0.137-3.el5.i386.rpm
wget http://mirror.centos.org/centos-5/5.3/os/i386/CentOS/expat-1.95.8-8.2.1.i386.rpm
wget http://mirror.centos.org/centos-5/5.3/os/i386/CentOS/gmp-4.1.4-10.el5.i386.rpm
wget http://mirror.centos.org/centos-5/5.3/os/i386/CentOS/libxml2-2.6.26-2.1.2.7.i386.rpm
wget http://mirror.centos.org/centos-5/5.3/os/i386/CentOS/libxml2-python-2.6.26-2.1.2.7.i386.rpm
wget http://mirror.centos.org/centos-5/5.3/os/i386/CentOS/m2crypto-0.16-6.el5.3.i386.rpm
wget http://mirror.centos.org/centos-5/5.3/os/i386/CentOS/python-2.4.3-24.el5.i386.rpm
wget http://mirror.centos.org/centos-5/5.3/os/i386/CentOS/python-elementtree-1.2.6-5.i386.rpm
wget http://mirror.centos.org/centos-5/5.3/os/i386/CentOS/python-iniparse-0.2.3-4.el5.noarch.rpm
wget http://mirror.centos.org/centos-5/5.3/os/i386/CentOS/python-sqlite-1.1.7-1.2.1.i386.rpm
wget http://mirror.centos.org/centos-5/5.3/os/i386/CentOS/python-urlgrabber-3.1.0-5.el5.noarch.rpm
wget http://mirror.centos.org/centos-5/5.3/os/i386/CentOS/readline-5.1-1.1.i386.rpm
wget http://mirror.centos.org/centos-5/5.3/os/i386/CentOS/rpm-4.4.2.3-9.el5.i386.rpm
wget http://mirror.centos.org/centos-5/5.3/os/i386/CentOS/rpm-libs-4.4.2.3-9.el5.i386.rpm
wget http://mirror.centos.org/centos-5/5.3/os/i386/CentOS/rpm-python-4.4.2.3-9.el5.i386.rpm
wget http://mirror.centos.org/centos-5/5.3/os/i386/CentOS/sqlite-3.3.6-2.i386.rpm
wget http://mirror.centos.org/centos-5/5.3/os/i386/CentOS/yum-3.2.19-18.el5.centos.noarch.rpm
wget http://mirror.centos.org/centos-5/5.3/os/i386/CentOS/yum-fastestmirror-1.1.16-13.el5.centos.noarch.rpm
wget http://mirror.centos.org/centos-5/5.3/os/i386/CentOS/yum-metadata-parser-1.1.2-2.el5.i386.rpm
This will download all the RPMs needed to install YUM
=================
Now run these commands to install those RPMs
Code:
rpm -Uvh elfutils-0.137-3.el5.i386.rpm
rpm -Uvh elfutils-libs-0.137-3.el5.i386.rpm
rpm -Uvh elfutils-libelf-0.137-3.el5.i386.rpm
rpm -Uvh expat-1.95.8-8.2.1.i386.rpm
rpm -Uvh gmp-4.1.4-10.el5.i386.rpm
rpm -Uvh libxml2-2.6.26-2.1.2.7.i386.rpm
rpm -Uvh libxml2-python-2.6.26-2.1.2.7.i386.rpm
rpm -Uvh m2crypto-0.16-6.el5.3.i386.rpm
rpm -Uvh python-2.4.3-24.el5.i386.rpm
rpm -Uvh python-elementtree-1.2.6-5.i386.rpm
rpm -Uvh python-iniparse-0.2.3-4.el5.noarch.rpm
rpm -Uvh python-sqlite-1.1.7-1.2.1.i386.rpm
rpm -Uvh python-urlgrabber-3.1.0-5.el5.noarch.rpm
rpm -Uvh readline-5.1-1.1.i386.rpm
rpm -Uvh rpm-4.4.2.3-9.el5.i386.rpm
rpm -Uvh rpm-libs-4.4.2.3-9.el5.i386.rpm
rpm -Uvh rpm-python-4.4.2.3-9.el5.i386.rpm
rpm -Uvh sqlite-3.3.6-2.i386.rpm
rpm -Uvh yum-3.2.19-18.el5.centos.noarch.rpm
rpm -Uvh yum-fastestmirror-1.1.16-13.el5.centos.noarch.rpm
rpm -Uvh yum-metadata-parser-1.1.2-2.el5.i386.rpm
This will install all those downloaded RPMs
Most of the RPMs would be installed by default, but it is a must to have the Latest Versions for installing YUM.
===========================
Now update the YUM by running this command
Code:
yum update yum
OR
Code:
yum -y update
===========================
Emjoy....
RVskin installation error
Updating rvskin database...
=============================
DBI connect('rvadmin_news:localhost:3306','rvadmin_public',...) failed: Access denied for user 'rvadmin_public'@'localhost' (using password: YES) at /root/rvadmin/real_auto_rvskin.pl line 709
Database connection failed, You need to create it manually in rvadmin Skin Manager after installation is completed.
-------- Database connection testing command --------
perl -e "use DBI;print \"\n\";unless ( DBI->connect('DBI:mysql:rvadmin_news:localhost:3306','rvadmin_public','2412935') ){print \"Connection fail\n\";exit;}print \"Connection OK\n\";"
----- Above is 1 line command. It must show Connection OK. -----
====================
run the perl script perl -e "use DBI;print \"\n\";unless ( DBI->connect('DBI:mysql:rvadmin_news:localhost:3306','rvadmin_public','2412935') by replacing current passwd
=============================
DBI connect('rvadmin_news:localhost:3306','rvadmin_public',...) failed: Access denied for user 'rvadmin_public'@'localhost' (using password: YES) at /root/rvadmin/real_auto_rvskin.pl line 709
Database connection failed, You need to create it manually in rvadmin Skin Manager after installation is completed.
-------- Database connection testing command --------
perl -e "use DBI;print \"\n\";unless ( DBI->connect('DBI:mysql:rvadmin_news:localhost:3306','rvadmin_public','2412935') ){print \"Connection fail\n\";exit;}print \"Connection OK\n\";"
----- Above is 1 line command. It must show Connection OK. -----
====================
run the perl script perl -e "use DBI;print \"\n\";unless ( DBI->connect('DBI:mysql:rvadmin_news:localhost:3306','rvadmin_public','2412935') by replacing current passwd
Tuesday, August 11, 2009
Apache Connections
1.
#this will tell you how many connections each domain has
2.
3.
lynx --dump --width=260 localhost/whm-server-status | grep "^ [0-9]" | awk '{print $12}' | grep -i ^[a-z] | sort | uniq -c | sort -nk1
4.
5.
#this will tell you how many connections each IP Address has
6.
7.
lynx --dump --width=260 localhost/whm-server-status | grep "^ [0-9]" | awk '{print $11}' | grep ^[0-9] | sort | uniq -c | sort -nk1
Download
wget https://scripts.dimenoc.com/files/Apache_Connections_242.sh --no-check-certificate
sh Apache_Connections_242.sh
#this will tell you how many connections each domain has
2.
3.
lynx --dump --width=260 localhost/whm-server-status | grep "^ [0-9]" | awk '{print $12}' | grep -i ^[a-z] | sort | uniq -c | sort -nk1
4.
5.
#this will tell you how many connections each IP Address has
6.
7.
lynx --dump --width=260 localhost/whm-server-status | grep "^ [0-9]" | awk '{print $11}' | grep ^[0-9] | sort | uniq -c | sort -nk1
Download
wget https://scripts.dimenoc.com/files/Apache_Connections_242.sh --no-check-certificate
sh Apache_Connections_242.sh
Saturday, August 8, 2009
getting emails
Type: LOCALRELAY, Local Account - nobody
Count: 101 emails relayed
Blocked: No
===========
It can be solved by setting the value of RT_LOCALRELAY_LIMIT to '0' .
Count: 101 emails relayed
Blocked: No
===========
It can be solved by setting the value of RT_LOCALRELAY_LIMIT to '0' .
ffmpeg Installation
http://ffmpeginstaller.com//free/
wget http://mirror.ffmpeginstaller.com/old/scripts/ffmpeg3/ffmpeginstall.3.2.1.tar.gz
tar
./install
=========
root@server [/usr/local/src/ffmpeginstall.3.2.1]# ffmpeg -version[root@superlink ~]# which ffmpeg
/usr/local/bin/ffmpeg
[root@superlink ~]# which mplayer
/usr/local/bin/mplayer
[root@superlink ~]# whcih mencoder
-bash: whcih: command not found
[root@superlink ~]# which mencoder
/usr/local/bin/mencoder
[root@superlink ~]# whcih flvtool2
-bash: whcih: command not found
[root@superlink ~]# which flvtool2
============
If you are facing a problem in ffmpeg installation i.e mplayer failure
then it can be solved by
===========
In ffmpeg installation if mplayer is failed then
600 rpm -qa | grep -i alsa
601 yum remove alsa-lib-devel-1.0.17-1.el5 alsa-lib-1.0.17-1.el5
install again i.e ./install
============
wget http://mirror.ffmpeginstaller.com/old/scripts/ffmpeg3/ffmpeginstall.3.2.1.tar.gz
tar
./install
=========
root@server [/usr/local/src/ffmpeginstall.3.2.1]# ffmpeg -version[root@superlink ~]# which ffmpeg
/usr/local/bin/ffmpeg
[root@superlink ~]# which mplayer
/usr/local/bin/mplayer
[root@superlink ~]# whcih mencoder
-bash: whcih: command not found
[root@superlink ~]# which mencoder
/usr/local/bin/mencoder
[root@superlink ~]# whcih flvtool2
-bash: whcih: command not found
[root@superlink ~]# which flvtool2
============
If you are facing a problem in ffmpeg installation i.e mplayer failure
then it can be solved by
===========
In ffmpeg installation if mplayer is failed then
600 rpm -qa | grep -i alsa
601 yum remove alsa-lib-devel-1.0.17-1.el5 alsa-lib-1.0.17-1.el5
install again i.e ./install
============
Unable to create subdomain
problem: In cpanel got an error when trying to create a subdomain, but domain created
=======
subdomain error
=======
solution:
/usr/local/apache/conf/httpd.conf has an attribute...so remove that attribute....that will fix the issue
OR
===============
1.check the files /etc/named.conf
2./var/cpanel/userdata
3./var/named/
=======
subdomain error
=======
solution:
/usr/local/apache/conf/httpd.conf has an attribute...so remove that attribute....that will fix the issue
OR
===============
1.check the files /etc/named.conf
2./var/cpanel/userdata
3./var/named/
Friday, August 7, 2009
YuM UPDATE FAILURE
error:
Using newyum support.
http://yum.theplanet.com/4/updates/i386/repodata/repomd.xml: [Errno 12] Timeout:
Trying other mirror.
Cannot open/read repomd.xml file for repository: update
failure: repodata/repomd.xml from update: [Errno 256] No more mirrors to try.
Error: failure: repodata/repomd.xml from update: [Errno 256] No more mirrors t
SOLUTION:
Check the yum conf files
i.e in /etc/yum.repos.d/
replace mono.repo
yum update
This will solve the problem
Using newyum support.
http://yum.theplanet.com/4/updates/i386/repodata/repomd.xml: [Errno 12] Timeout:
Trying other mirror.
Cannot open/read repomd.xml file for repository: update
failure: repodata/repomd.xml from update: [Errno 256] No more mirrors to try.
Error: failure: repodata/repomd.xml from update: [Errno 256] No more mirrors t
SOLUTION:
Check the yum conf files
i.e in /etc/yum.repos.d/
replace mono.repo
yum update
This will solve the problem
Subscribe to:
Posts (Atom)