Posted by: SiiN on: February 12, 2008
==
When I try to access phpmyadmin on a cPanel server, i get the following error:
Existing configuration file (./config.inc.php) is not readable.
==
Solution:
#cd /usr/local/cpanel/base/3rdparty/phpMyAdmin
#chown cpanel.cpanel config.inc.php
Posted by: SiiN on: January 22, 2008
Maximum number of connections to IMAP server from any particular IP is set
at /usr/lib/courier-imap/etc/imapd
Check the following parameters:
MAXPERIP
MAXDAEMONS
Once you have made any changes you need to restart imapd.
Posted by: SiiN on: January 22, 2008
A rather crude one, need to customize further ..
#!/bin/bash
cd /var/cpanel/users
for user in *
do
chown -R $user.$user /home/$user/public_html/*
done
ps:I didn’t write this script. I dunno if uit would work for you.
Posted by: SiiN on: January 16, 2008
Horde was displaying the following error when trying to send emails.
===
Warning: send(Net/SMTP.php) [function.send]: failed to open stream: No such file or directory in /usr/local/lib/php/Mail/smtp.php on line 206
Warning: send() [function.include]: Failed opening ‘Net/SMTP.php’ for inclusion (include_path=’/usr/local/cpanel/base/horde/lib:.:/usr/lib/php:/usr/local/lib/php’) in /usr/local/lib/php/Mail/smtp.php on line 206
===
#pear install Net_SMTP
fixed the issue for me.
Posted by: SiiN on: September 29, 2007
rsync -av rsync://rsync.cpanel.net/scripts/ /scripts/
Posted by: SiiN on: September 4, 2007
Source: cPAnel FAQ.
—————————
Make sure that you are using Perl 5.8.8 which is recommended with cPanel 11.
Prior to upgrading Perl, it is a good idea to ensure that each module gets carried over to the update Perl version using the “autobundle” CPAN feature. You will need to execute this command via root in [...]
Posted by: SiiN on: September 4, 2007
netstat -plan | grep :80 | awk ‘{print $5}’ | sed ’s/::ffff://g’ | cut -d: -f1 | sort | uniq -c | sort -n
Posted by: SiiN on: September 4, 2007
This troubleshoting will help you if:
* If you have databases on postgres and they’re not being showed on
cpanel * If you’re trying to create a database or an user on postgres and
they’re not being showed as created on cpanel.
* It is possible that mysql is [...]