Yardım Merkezi >

Cpanel Common Scripts

httpd.conf Rebuild.
# /scripts/rebuildhttpdconf

Install Zend Optimizer
# /scripts/installzendopt

Hostname A Entry Missing! + then restart bind and apache
# /scripts/fixndc
# /etc/rc.d/init.d/nsd restart
# /etc/rc.d/init.d/httpd restart

Install Cron on New Server + anacron vixie-cron ;
# /scripts/installrpm
# /etc/rc.d/init.d/crond start

Bandwidth issues
# /scripts/cleanbw

To fix problem in webalizer that stop updating stats
# /scripts/fixwebalizer

/scripts/fixcommonproblems

Fixeverthing ;
# /scripts/fixeverything

Fixing Mail List MailMan
# /usr/local/cpanel/bin/convertmailman2

Reinstall MailMan
# /scripts/reinstallmailman

Fix Permissions on accounts
# /scripts/fixhome

Run cpanel backup
# /scripts/cpbackup

To try and fix domain controller:
# /scripts/fixndc

Quotas
# /scripts/initquotas
# /scripts/resetquotas
# /scripts/fixquotas

Add a Dns Entry
# /scripts/adddns

Install Frontpage Mail Exts
# /scripts/addfpmail

Add JavaServlets to an account (jsp plugin required)
# /scripts/addservlets

Add a User
# /scripts/adduser

Run WHM Lite
# /scripts/admin

Add Rlimits (cpu and mem limits) to apache.
# /scripts/apachelimits

Resync with a master DNS Server
# /scripts/dnstransfer

Edit A User’s Quota
# /scripts/editquota

Search For Trojans in /dev
# /scripts/finddev

Locate Trojan Horses
# /scripts/findtrojans

# /scripts/findtrojans > /var/log/trojans

# /scripts/fixtrojans /var/log/trojans

Make Interchange work with suexec
# /scripts/fixcartwithsuexec

Fix Most Problems with Interchange
# /scripts/fixinterchange

Run on a trojans horse file created by findtrojans to remove them
# /scripts/fixtrojans

Run this if a user’s stats stop working
# /scripts/fixwebalizer

Fix a broken valias file
# /scripts/fixvaliases

Turn on DMA and 32bit IDE hard drive access (once per boot)
# /scripts/hdparamify

Re-scan quotas. Usually fixes Disk space display problems
# /scripts/initquotas

Turn on SUEXEC (probably a bad idea)
# /scripts/initsuexec

Fetch + Install Zend Optimizer
# /scripts/installzendopt

Display Ipusage Report
# /scripts/ipusage

Terminate an Account
# /scripts/killacct

Delete “Security Problem Infested RPMS”
# /scripts/killbadrpms

Fix Various Mail Permission Problems
# /scripts/mailperm

Attempt to Troubleshoot a Mail Problem
# /scripts/mailtroubleshoot

Change a Mysql Password
# /scripts/mysqlpasswd

Kill Potential Security Problem Services
# /scripts/quicksecure

Rebuild Ip Address Pool
# /scripts/rebuildippool

Delete Nasty SSL entry in apache default httpd.conf
# /scripts/remdefssl

Restart a Service (valid services: httpd,proftpd,exim,sshd,cppop,bind,mysql)
# /scripts/restartsrv

Syncup Security Updates from RedHat/Mandrake
# /scripts/rpmup

Force a webalizer/analog update.
# /scripts/runlogsnow

Remove non-important suid binaries
# /scripts/secureit

Install Frontpage 4+ on an account.
# /scripts/setupfp4

Return a Simple process list. Useful for finding where cgi scripts are running from.
# /scripts/simpleps

Suspend an account
# /scripts/suspendacct

Syncup Cpanel RPM Updates
# /scripts/sysup

Unblock an IP
# /scripts/unblockip

UnSuspend an account
# /scripts/unsuspendacct

Update Cpanel
# /scripts/upcp

Update /scripts
# /scripts/updatenow

Create a New Account
# /scripts/wwwacct

For awstats to run manually
# /scripts/runweblogs username

Sometimes such behavior of apache/httpd (taking more and more memory until it dies or crashes the server) can be caused by corrupted MySQL database. Try to do the following:

1) Kill the mysql server
# /etc/rc.d/init.d/mysql stop

2) Repair all SQL databases:
# myisamchk -r /var/lib/mysql/*/*.MYI

3) Start mysql again:
# /etc/rc.d/init.d/mysql start

This entry was posted in Genel. Bookmark the permalink.


Yorum Bırakın

İsim

Mail (gizli kalacak)

Görüşünüz ;







© 2006-2014 Aktif Bilişim İnternet Hizmetleri