Friday, September 25, 2009

ftp file upload is noot working

ftp file upload is not working

=============
error:

/home/index.html: open for write: permission denied

=============

Check the /etc/pureftpd.conf

enable the following option

KeepAllFiles yes

=============

To find out highly memory used processes from pstree

ps -eo pcpu,pid,user,args | sort -k 1 -r | head -10
ps -eo pcpu,pid,user,args | sort -k 1 -r | less

Thursday, September 24, 2009

Roundcube is not working

1//usr/local/cpanel/bin/updtae-roundcube
2.If still exist the problem then
mysql roundcube < mysql5.initial.sql1

Magento Installation

http://www.magentocommerce.com

================
1.download the source to document root of the given account
2.tar
3.create db
4.installation.

http://siteground.eu/tutorials/magento/magento_installation.htm

=============

To set permissions for files and folders

find -type d -exec chown urbanele.urbanele {} \; ==>> directories

find -type f -exec chown urbanele.urbanele {} \; ==>> files

find -type d -exec chmod 644 {} \;

Tuesday, September 15, 2009

Cpanel links are not showing in WHm under list accounts

go to whm >> tweak settings >> system >> Disable login with root or reseller password into the users' cPanel interface. Also disable switch account dropdown in themes with switch account feature.

Wednesday, September 9, 2009

Install domain keys

1. First check that you are running the latest version on RELEASE or CURRENT of cPanel 11.
2. Run the script

/usr/local/cpanel/bin/domain_keys_installer username

Where username is the cPanel user.

If you get an error similar to “Domain keys are not installed on this machine.” you either are not running the latest release or current version of cPanel or you have not converted yet to maildir. Maildir conversion is required before you install DomainKeys.
You will find an article about converting to maildir on this site !

Ok, we just installed DomainKeys for a domain, but how about if we want to install it for all the domains (users)?
Well I found the solution just a few days ago on a public forum. Someone wrote a nice bash script that will parse all the cpanel users and then run the installation for each of them.

Monday, September 7, 2009

mails bypassed

root@ping.dizinc.com(~)$ tail -f /var/log/exim_mainlog | grep pam@joyloft.com

2009-09-07 16:00:55 1MkkOS-0000sl-JW <= jibinthomas007@gmail.com H=mail-ew0-f215.google.com [209.85.219.215]:55174 I=[72.29.74.235]:25 P=esmtp S=1898 id=6cae4a7c0909071300u642cb36u857fd8b40beda34c@mail.gmail.com T="test" from for pam@joyloft.com
2009-09-07 16:00:55 1MkkOS-0000sl-JW => /dev/null F= R=central_filter T=**bypassed** S=0

root@ping.dizinc.com(~)$

=============

soultion:

1. You should look at the file in /etc/valiases/(domainname) and see what filters are setup for that domain
2./etc/vfilters/domainname

=============