Archive

Archive for the ‘Cpanel Basics’ Category

apache manually installation

April 13th, 2009

Hi,

Manually installation:

1. Download the latest Apache source distribution from www.apache.org

2. Unpack the source distribution.
The source distribution comes as a compressed archive. Let’s say that we are
installing Apache 1.3.12 (apache_1.3.12.tar.gz). Uncompress and untar the
archive with the following command:

$ tar -zxvf apache_1.3.12.tar.gz

This will create a directory named apache_1.3.12 in your current working
directory. We’ll call this the Apache source directory.

3. RTFM. RTFM. RTFM. Please read the README file in the Apache source
directory.

4. Configuring your environment to compile Apache.

The source distribution comes with a script called configure, which checks
your environment for the necessary support files (like headers, shared
libraries and utility programs) that are required to successfully compile
Apache. To configure, change directory to the Apache source directory and type

$ ./configure –prefix=/usr/local/apache

The prefix argument indicates where we wish to install Apache. This command
will output several lines on the screen. Essentially this command creates the
Makefiles for the build according to your system configuration. If there are
errors in configure, you may be missing some header files or utility programs
which you must install before proceeding.

5. Compile Apache.
Once configure runs successfully you can compile Apache using the make command

$ make

This will output several lines on the screen indicating that it is compiling
and linking Apache. This should normally conclude with no errors, however if
any errors occur, they will usually be caused due to missing utility programs
or libraries. The Apache FAQ has some pointers if you get stuck
(http://www.apache.org/docs/misc/FAQ.html)

6. Install Apache
Apache installs itself in /usr/local/apache by issuing the command

$ make install

If this concludes successfully your system now has Apache installed. You
should see Apache’s installation files in /usr/local/apache and the main
configuration file in /usr/local/apache/conf called httpd.conf

7. Configure Apache
Apache is configured through a single file /usr/local/apache/conf/httpd.conf.
This file consists of a number of Apache Directives, which determine the
various operating parameters of the Apache server. For purposes of a simple
installation, you will need to modify only a few directives described below

DocumentRoot - This is the location of the directory from which HTML files are
served. You can replace the default by any directory. The directive,

DocumentRoot “/usr/local/apache/htdocs”

instructs Apache to serve files from /usr/local/apache/htdocs. In other words,
when you try and access http://servername/somepage.html in a browser, Apache
will serve the file /usr/local/apache/htdocs/somepage.html.

Directory options - Once the DocumentRoot is defined, you must instruct Apache
how to serve and handle various files found in that directory. This is
achieved by modifying the Directory directive. The Directory directive has
various options such as execution of server side includes, whether to follow
symbolic links from the directory, access control to the directory etc. In our
configuration file, we need not change anything.

Options Indexes FollowSymLinks
AllowOverride None
Order allow,deny
Allow from all

That’s about it. Apache is now configured for default behavior and web
serving. If there are any other parameters that you need to set, the
configuration file is well commented and pretty much self-explanatory.

8. Starting Apache
Apache comes with a script named apachectl that facilitates starting,
stopping, restarting apache.

$ /usr/local/apache/bin/apachectl start
/usr/local/apache/bin/apachectl start: httpd started

To stop apache use /usr/local/apache/bin/apachectl stop

9. Test your installation
Once Apache is running, fire up your web browser and access http://localhost/.
If your installation was successful and Apache is running, you should see a
test page saying something like “If you can see this, it means that the
installation of the Apache web server software on this system was successful”.

CONGRATULATIONS! You now have a successful installation of Apache running on your system!

Cpanel Basics

roundcube Error No. [0×01F4]

February 6th, 2009

SERVICE CURRENTLY NOT AVAILABLE!
Error No. [0×01F4]

In order to solve that, you have to modify the following file:
/usr/local/cpanel/base/3rdparty/roundcube/program/include/rcube_mdb2.inc

change
return “FROM_UNIXTIME($timestamp)”;
to
return sprintf(”FROM_UNIXTIME(%d)”, $timestamp);

Cpanel Basics

How To Disable mod_security2 for a domain

February 6th, 2009

We can disable mod security for a domain, add following lines to virtual host entry.

vi /usr/local/apache/conf/httpd.conf

find the domain virtualhost entry and add

<IfModule mod_security2.c>

SecRuleEngine off

</IfModule>

save and exit

service httpd restart

Cpanel Basics

About: cPanel And Plesk

December 18th, 2008

About: cPanel And Plesk

CPANEL

cPanel and Plesk are the two popular control panels that are provided by most of the web hosting services to aid the users create and modify their websites easily. cPanel is available only with Linux operating system, whereas, Plesk is available with the Linux as well as with the Windows operating system. However, the latest version of cPanel that will be released in the year 2008 will be compatible with both the operating systems.

When buying a hosting account, you must make several decisions. One of the important decisions is to consider about which control panel to choose that will be the easiest and also will have better in-built web utilities. There are many web control panels available, but the most popular are the cPanel or Plesk. Below is the comparison of cPanel and Plesk which should help you decide which of the two will suit your web needs.

The cPanel and Plesk both offer similar basic features. Using either, you can easily create, or edit, or delete e-mail accounts, thereby manage all your email accounts, as well as also perform all domains or sub-domains maintenance from either of the control panels. You can also upload all your files and manage them from your cPanel or Plesk account. There are other add-ons available with both and for most of the webmasters, these capabilities are sufficient to produce and manage good websites.
cPanel

cPanel (Control Panel) is a very popular graphical web-hosting control panel used to simplify the administration of websites. The cPanel is provided by the cPanel Inc. It is a proprietary product. cPanel is chiefly used by the commercial hosting services and being a proprietary product, it requires monthly license fees.

cPanel is a very popular control panel and is used by most of the web designers and web masters now-a-days. It was mainly designed for Speed Hosting. cPanel is based on Perl scripts and requires no access to the database most of the time. It is an excellent graphical user interface (GUI) which helps in developing and designing the website attractively and giving it a professional look.

cPanel has many features like the FTP, e-mail management, domain and sub-domain control, back-up facility, database management, etc. cPanel even takes extremely less time than most other to load. Web developers can have their own applications and add-ons like ‘Fantastico’ and ‘RVSkins’ installed using cPanel.

cPanel even has a statistics sidebar, which gives you every detail of your website, for example, the domain name, e-mail accounts, disk space usage, SQL database, monthly bandwidth used, sub-domains, parked domains, and many more exciting applications are provided by the cPanel.

cPanel even provides Web Host Manager (WHM), which is specifically used for simplifying the reseller web hosting. By using this feature, you can easily set up a reselling account and resell web hosting service.

Migration of your website and the web hosting account to another web hosting service is easily possible through the site migration module as the cPanel. This makes it very easy to transfer your entire site or some important data from one site to another.

PLESK

Plesk is the most preferred website control panel now-a-days, as it is more reliable compared to any other website control panel. The fact that, it is compatible with the world-renowned Windows operating system makes it more special. Plesk has different versions for Windows and the Linux operating systems. You can even use the same control panel for different operating systems. Plesk is also very easy to learn. This makes it very easy for the users to learn this control panel and, in turn, saves a lot of time and money.

However, the main disadvantage of Plesk is that the web developers and the web designers cannot create their own applications and add-ons in Plesk. Also, there is some security problem noted with Plesk. Hackers can easily gain access into this control panel even if the user name and password are changed often.

So, if you want the control panel which is compatible with Widows as well as Linux operating systems, then you can choose Plesk. However, if you want the easiest control panel which allows you to install many attractive programs, then you need to choose the cPanel.

More notes on the cPanel and Plesk that will help you decide further:

The cPanel and Plesk both have a great graphical user interface (GUI) to begin your work from. It is said that the cPanel has the better GUI and is user-friendly as well. The Plesk graphical user interface (GUI) can appear a bit difficult to a first-time user. cPanel must have been designed specifically for the novice users than the Plesk design, hence the cPanel is preferred by the novice and also by the professionals.

cPanel is being provided by almost all the major web hosting services and includes the Fantastico Deluxe installer that again includes many wonderful web utilities and powerful scripts. Using the Fantastico, you can easily install forum blogs, content management systems (CMS), e-mail accounts, community boards or forums, even install the e-Commerce shopping cart solutions, and other web tools to make your website very professional easily. There is absolutely no need to know web programming, coding, or advanced database knowledge. You can install all these utilities and scripts and have them running within minutes.

Plesk also provides an application pack. Plesk also can use major third-party web utilities, but the cPanel and Fantastico seems to be in more demand.

To credit Plesk, by the way, it can support both the UNIX and Windows based web servers while cPanel can only be used on UNIX-based web servers. As the UNIX based servers are not expensive to utilize, most of the webmaster will prefer the cPanel as it costs less to host their websites.

Cpanel Basics

Download Cpanel

December 16th, 2008

How to download cpanel and install from cpanel.net ?

cPanel can be installed/upgraded in simple steps.  To download cpanel and install use below links.

Layer 1

The Layer1 area contains the universal cPanel®/WHM™ installation package as well as the latest stable Apache/PHP releases so that you can easily upgrade. To download any of the packages on layer1, simply right click on the package you require & select Copy Shortcut, then on the command line in a root shell issue “cd /home” and then “wget paste_the_shortcut_you_copied_here”.

Packages ending in .sea can be executed with “sh package_name”; while packages ending in .tar.gz will require you to uncompress & untar them with “tar zxf package_name”; then you will have to move into the directory and execute the install script.

Note: Be sure to heed to the unsupported & alpha/beta warnings. Support will not be given for the packages that display these warnings.

Layer 2

The Layer2 area lists the versions of each cPanel and WHM installation that will be installed by the latest automatic updates. It is recommended that you update your cPanel/WHM installation through WHM or by executing “/scripts/upcp”; in a root shell. STABLE & RELEASE are recommended for production systems while EDGE & BETA should only be used in labs on test servers.

Cpanel Basics, cPanel Help, cPanel Tutorials ,

How do I create accounts in my reseller account in WHM ?

December 15th, 2008

Please follow below steps to create accounts for your clients in WHM.

1) Login to WHM

2) Create package by cliking on “Create new package” link in packages category.

While creating packages do not put “UNLIMITED” in any feature field box as WHM treats “UNLIMITED”= 1. You may face some problems in future if you put “UNLIMITED”. Hence Always assign some reasonable number say 999 or 9999 for UNLIMITED.

3) Then click on “Create New Account” in Account Functions Category. Enter domain name , user name and password. Then select package you want to assosiate with particular account and hit “Create” button.

Please wait until you see message “Account creation completed”

That’s it.. :) you are now ready to use newly created account.

Note: You need to update newley created domain DNS to your reseller account servers. It means your reseller domain and all your clients domains points to same name server.

After DNS propagation you can access newly created domain cPanel just like your domain. http://www.domain.com/cpanel or https://www.domain.com:2083

Cpanel Basics

Usage of Each cpanel script……

December 9th, 2008
cPanel and WHM has a large number of predefined scripts available in the
/scripts folder. The available scripts are as follows:
   adddns - Adds a DNS zone.
  *
      addfpmail - Add frontpage mail extensions to all domains without them.
    *
      addfpmail2 -Add frontpage mail extensions to all domains without them.
    *
      addnetmaskips - Add the netmask 255.255.255.0 to all IPs that have
no netmask.
    *
      addnobodygrp - Adds the group nobody and activates security.
    *
      addpop - Add a Pop Account.
    *
      addservlets - Add JSP support to an account (requires tomcat).
    *
      addstatus - (Internal use never called by user).
    *
      adduser - Add a user to the system.
    *
      admin - Run WHM Lite.
    *
      apachelimits - Add rlimits to Apache.
    *
      bandwidth - (OLD)
    *
      betaexim - Installs the latest version of exim.
    *
      biglogcheck - looks for logs nearing 2 gigabytes in size
    *
      bitstest -
    *
      bsdcryptoinstall - Installs crypto on FreeBSD.
    *
      bsdldconfig - Configures the proper lib directories in FreeBSD.
    *
      bsdpkgpingtest - Tests the connection speed for downloading FreeBSD
packages.
    *
      buildbsdexpect - Install expect on FreeBSD.
    *
      builddomainaddr - (OLD)
    *
      buildeximconf - Rebuilds exim.conf.
    *
      buildpostgrebsd-dev - Installs postgresql on FreeBSD.
    *
      buildpureftproot -
    *
      bupcp - (OLD)
    *
      chcpass - (Internal use)
    *
      checkallowoverride -
    *
      checkbadconf - Checks /usr/local/apache/conf/httpd.conf for bad users.
    *
      checkbashshell -
    *
      checkbsdgroups - Checks and repairs proftpd ownership on FreeBSD.
    *
      checkccompiler - Checks to make sure the C compiler works on your
system.
    *
      checkdeadperlso -
    *
      checkerrorlogsafe -
    *
      checkfpkey - Checks for the FrontPage suid key
    *
      checkgd - Checks to see if GD is built.
    *
      checkgentoousers -
    *
      checkhttpd -
    *
      checkinterchange - (Internal use).
    *
      checklibssl - Checks to make sure the proper libssl symlinks exist.
    *
      checklink -
    *
      checklog - (OLD)
    *
      checkmakeconf -
    *
      checkmaxclients - Checks to see if apache has reached the maximum
clients allowed.
    *
      checkoldperl -  Checks to see if the version of Perl on your system
is old.
    *
      checkoldrpm -
    *
      checkrsync - Checks to make sure rsync is up to date.
    *
      checksuexecpatch - Checks to see if mailman has been patched for
suexec.
    *
      checksuspendpages - Checks to see if suspend pages are properly named.
    *
      checkswup - (OLD)
    *
      checkup2date - Makes sure up2date is set up properly (RedHat)
    *
      checkyum - Makes sure yum is set up properly.
    *
      chkpaths - Makes sure /usr/sbin/chown has a symlink to /bin/chown
    *
      chownpublichtmls - Change ownership of all users web space to them,
which is useful for converting to suexec. Files owned by nobody are
deleted.
    *
      chpass - Change password.
    *
      ckillall - Allows you to kill a process (used like killall).
    *
      ckillall2 - Allows you to kill a process.
    *
      cleanandmailformmaillog -
    *
      cleanbw - Cleans up old bandwidth logs.
    *
      cleandns - (OLD)
    *
 cleandns8 - Clean up named.conf.

    *
      cleangd - Cleans up old GD installs and reinstalls GD
    *
      cleanmd5 - Fix CPAN md5 problems.
    *
      cleanmsglog - cleans exim's msglog
    *
      cleanopenwebmail - (OLD)
    *
      cleanupcheck -
    *
      cleanupmysqlprivs - Cleans up improper mySQL privileges.
    *
      compilers - Disables the usage of compilers for unprivileged users.
    *
      configips - (OLD)
    *
      *.cgi - (INTERNAL)
    *
      *.c - (INTERNAL)
    *
      convert2maildir - Converts mail from mbox to maildir format and
installs courier impap and pop (cpimap is removed).
    *
      convertemails -
    *
      convertemails2 - (INTERNAL)
    *
      convertemails5 - (INTERNAL)
    *
      courierup - Updates/Installs Courier
    *
      cpanelsync -
    *
      cpbackup - Runs backups.
    *
      cpbackup2 - (INTERNAL)
    *
      cptheme - (NOT USED)
    *
      dialog* - (NOT USED)
    *
      distupgrade - Upgrades RedHat to the newest version (for testing only)
    *
      dnscluster - Enables DNS clustering.
    *
      dnsqueuecron - Adds a cron job to dump the DNS queue.
    *
      dns_setup - (OLD)
    *
      dnstransfer - Only if the server has a DNS master (sync with DNS
master).
    *
      doomhttpd -
    *
      dotbuffer - (INTERNAL)
    *
      downgradefp - Downgrades FrontPage Extensions (to 5.0-0)
    *
      dropmysqldb - Drops a mySQL database.
    *
      easyapache - Upgrade Apache
    *
      editquota - Change a users quota.
    *
      enablechkservdwebmail - Enable service checking of webmaild.
    *
      enablefileprotect - Protects home directories if file protection is
built in apache.
    *
      ensurepkg - Installs a FreeBSD package.
    *
      ensurerpm - Installs a rpm.
    *
      ensurerpm2 - (INTERNAL)
    *
      exchangeacctdb - (OLD)
    *
      exim3 - Installs exim 3.
   *
      exim4 - Installs exim 4.
    *
      exim4-rh73test - Installs exim release #260. (RedHat only)
    *
      eximcron - Creates a cron job for exim_tidy_db.
    *
      eximlocalsend - Enables/Disables exim local sending.
    *
      exim_tidydb - Cleans the exim message log.
    *
      eximup - Installs/Updates exim.
    *
      eximup~ - (INTERNAL)
    *
      expectperlinstaller - (INTERNAL)
    *
      fetchfile - (INTERNAL)
    *
      fetchfpexec -
    *
      fetchgd - Includes libg.so.
    *
      finddev - (INTERNAL)
    *
      findhacks - Search for common Trojan Horses.
    *
      findoddrootprocesses - Lists root processes that may need to be
checked out.
    *
      findphpversion - Check to see if your php version file is up to date.
    *
      findtrojans - Exhaustive Trojan Horse search.
    *
      fixadmin - (OLD)
    *
      fixallcartswithsuexec - Fixes permissions on carts when using suexec.
    *
      fixallinterchangeperm - Fixes permissions on all users' Interchange
Shopping Carts.
    *
      fixbinpath - Makes sure all bin file paths are correct.
    *
      fixbuggynamed - Updates bind to solve any problems with bugs.
    *
      fixcartwithsuexec - (INTERNAL) - Can be used to fix a cart with suexec.
    *
      fixcgiwrap - (OLD)
    *
      fixcommonproblems - Attempt to fix the most common problems.
    *
      fixetchosts - Fixes problems with /etc/hosts
    *
      fixeverything - Fix common problems and quotas.
    *
      fixfpwml - Fix for .wml errors with frontpage.
    *
      fixheaders - Run if nothing compiles errors with .h files on compile.
    *
      fixhome - (NOT USED) - Unsymlink items.
    *
      fixinterchange - Reinstall interchange Perl modules.
    *
      fixinterchangeperm - fix permissions on a user's interchange cart.
    *
      fixipsnm - Same as addnetmask ips, but Perl though.
    *
      fixlibnet - Reinstall Bundle::libnet (Perl).
    *
      fixlocalhostwithphp - Change /etc/hosts to work better with PHP
4.2.0 + MySQL.
   *
      fixmailandakopia - (NOT USED)
    *
      fixmailman - Updates and restarts mailman.
   *
      fixmailmanwithsuexec -
    *
      fixmuse - Reinstalls muse.
    *
      fixmysql - Fixes problems with mySQL.
    *
      fixmysqlbsd - Fixes problesm with mySQL on FreeBSD.
    *
      fixnamed - Updates bind to handle many DNS zones (more than 512).
    *
      fixndc - Repair redhat's broken named.conf on 7.2.
    *
      fixndc.new - (INTERNAL)
    *
      fixoldlistswithsuexec - Run after enabling suexec on the server to
change the URLs that Mailman gives out to ones that don't give a 500
internal server error.
    *
      fixperl - Symlink /usr/local/bin/perl /usr/bin/perl.
    *
      fixperlscript - Makes sure a perlscript includes all corresponding
modules.
   *
      fixpop - Fix a POP account and reset password.
    *
      fixproftpdconf - Fixes problems with /usr/local/etc/proftpd.conf
    *
      fixproftpdconf~ - (INTERNAL)
    *
      fixproftpddupes - Updates proftpd.
    *
      fixquotas - Fix quotas.
    *
      fixrelayd - (OLD)
    *
      fixrh72ndckey - (INTERNAL)
    *
      fixrndc - Fixes named.conf to prevent rndc staus failed.
    *
      fixspamassassinfailedupdate - Reinstalls a failed spamassassin update.
    *
      fixsubconf -
    *
      fixsubdomainlogs - Run if subdomain logs don't show up in cPanel.
    *
      fixsuexeccgiscripts - Fix CGI scripts that are broken after suexec
installed.
   *
      fixtrojans - (NOT USED)
    *
      fixvaliases - Fix permisions on valiases.
    *
      fixwebalizer - Repair a Webalizer that has stopped updating.
    *
      fixwebmail - (OLD)
    *
      fixwwwdir - (OLD)
    *
      fp3 - Updates the fpexe3 patch.
    *
      fpanonuserpatch - Updates FrontPage extensions to include the
anonymous user patch.
   *
      fp-auth -
    *
      fpbtr - (OLD)
    *
      fpsuexec - (INTERNAL)
    *
      fpsuexec2 - (INTERNAL)
    *
      fpsuexec3 - (INTERNAL)
    *
      fpupgrade - (INTERNAL)
    *
      ftpcheck - Checks for FTPSSL.
    *
      ftpfetch - (INTERNAL)
    *
      ftpput -  (INTERNAL)
    *
      ftpquaotacheck - Runs quota checking for all ftp users.
    *
      ftpsfetch - (INTERNAL)
    *
      ftpup - Updates your ftp server.
    *
      ftpupdate - (INTERNAL)
    *
      fullhordereset - Resets Horde and displays the current Horde password.
    *
      futexfix - Fixes problesm with futex.
    *
      futexstartup - Starts futex.
    *
      gcc3 - Installs gcc-3.3.3
    *
      gencrt - Generate a .crt and .csr file.
    *
      gencrt2 - (NOT USED)
    *
      gentomcatlist - (INTERNAL)
    *
      gentooportsup -
    *
      gethomedir - (INTERNAL)
    *
      getpasswd - (INTERNAL)
   *
      getremotecpmove - (INTERNAL)
   *
      getrpmfor -
    *
      grabemails - (INTERNAL)
    *
      grabhttp - (INTERNAL)
    *
      grabhttp2 - (INTERNAL)
    *
      grabmysqlprivs - (INTERNAL)
    *
      grpck - Checks to see if grpck is working properly.
    *
      hackcheck - (INTERNAL)
    *
      hdparmify - Enable dma/irq/32bit HD access, which speeds up IDE drives.
    *
      hdparmon - Turns on hdparm.
    *
      HTTPreq.pm - (INTERNAL)
    *
      httpspamdetect -
    *
      icpanel - (OLD)
    *
      initacls - Mounts your file systems with ACL support (make sure your
kernel supports ACLs)
   *
      initbyteslog - (INTERNAL)
    *
      initfpsuexec - Enable FrontPage suexec support.
    *
      initquotas - Turn on quota support on new drives.
    *
      initsslhttpd - Make sure HTTP starts with SSL.
    *
      initsuexec - Turn on suexec support if suexec is installed.
   *
     installaimicq - (INTERNAL)
    *
      installcgipm - Installs CGI.pm
    *
      installcpbsdpkg -
   *
      installcpgentoopkg -
   *
      installdbi - Install Bundle::DBD::mysql.
   *
      installfpfreebsd - Installs FrontPage 5 Extensions on FreeBSD.
    *
      installfpgentoo - Installs FrontPage on Gentoo.
   *
      installgd - Builds GD.
   *
      installipc - (INTERNAL)
   *
      installpkg - Installs a FreeBSD package.
    *
      installpostgres - Installs PostrgeSQL.
   *
      installrmmods - (OLD)
   *
      installrpm - Installs a rpm.
    *
      installrpm2 - (INTERNAL)
    *
      installspam - Install SpamAssassin.
    *
      installssl - Add a SSL vhost.
    *
      installtree -
    *
      installzendopt - Install zend optimzer.
    *
      installzendopt-freebsd - Install zend optimizer on a freebsd machine.
    *
      ipcheck - (INTERNAL)
    *
      ipusage - (INTERNAL)
    *
      isdedicatedip - Checks an ip to see if it is dedicated.
    *
      kernelcheck - (INTERNAL)
    *
      killacct - Delete an account.
    *
      killbadrpms - Security script that kills insecure RPMs from the server.
   *
      killdns - Delete a DNS zone.
   *
      killdns-dnsadmin -
   *
      killdrrootvhost - Removes the document root for a virtual host.
   *
      killndbm - Remove the broken NDBM_File module from 7.2.
   *
      killpvhost - Removes a virtual host from proftpd.conf.
   *
      killspamkeys - Removes a spam key.
    *
      killsslvhost - Removes a SSL entry for a virtual host.
   *
     killvhost - Delete a vhost.
    *
      listcheck - Checks mailing lists for issues.
    *
      listproblems - Lists common problems.
   *
      listsubdomains - List subdomains.
    *
      mailadmin - (DEAD, OLD)
    *
      maildirmenu - (INTERNAL)
    *
      mailman212 - (INTERNAL)
    *
      mailperm - Fix almost any mail permission problem.
    *
      mailscannerupdate - Updates MailScanner
    *
      mailtroubleshoot - Guided mail fix.
    *
      makecpphp - Installs php.
    *
      makesecondary - Part of DNS transfer.
    *
      manualupcp - Updates cPanel manually.
    *
      md5crypt - Encrypts a password into MD5.
    *
      mkquotas - OLD
    *
      mkwwwacctconf - (INTERNAL)
    *
      mrusersscpcmd -
    *
      mseclocal - Sets up Mandrake's msec to allow exim to run as mailnull.
    *
      mysqladduserdb - Create a MySQL databse and user.
    *
      mysqlconnectioncheck - Attempts to connect to MySQL, restarts SQL if
necessary.
   *
     mysqldeluserdb - Delete a MySQL database and user.
    *
      mysqlinfo - (OLD)
    *
      mysqlpasswd - Change MySQL password.
    *
      mysqlrpmpingtest - Checks your connection speed for downloading
mySQL rpms.
   *
      mysqlup - Updates mySQL.
    *
      mysqlup~ - (INTERNAL)
    *
      ndbmcheck - Checks to see if the nbdm module is loaded (kills in
RedHat 7.2)
   *
      netftpsslpatch - Patches FTPSSL.pm.
    *
      newdomains - (OLD)
    *
      newdomains-sendmail - (OLD)
    *
      newexim - Installs the latest version of exim.
    *
      newftpuser - (NOT USED)
    *
      newpop - (NOT USED)
    *
      nofsck - Make fsck always use -y
    *
      nomodattach - Removes mod_attach from httpd.conf.
    *
      nomodauthmysql -Removes mod_auth_mysql from httpd.conf.
    *
      nomodbwprotect - Removes mod_bwportect from httpd.conf.
    *
      nomodgzipconfmods - Removes mod_gzip from httpd.conf.
    *
      nomodperl - Removes mod_perl from httpd.conf.
    *
      oldaddoncgi2xaddon - Updates old addons to X addons.
    *
      oldaddonconverter-(INTERNAL)
    *
      oopcheck - (INTERNAL)
    *
      park - Parks a domain.
    *
      patcheximconf - Fixes exim.conf.
    *
      patchposixtypes -
    *
      patchtypes -
    *
      patchtypesizes -
    *
      pedquota - (INTERNAL) - Part of editquota (for editting quota).
    *
      perlinstaller - Installs perl.
    *
      phpini - Create a php.ini file.
    *
      phpopenbasectl -
    *
      pingtest - Checks your download time from cPanel mirrors.
    *
      pkgacct - (INTERNAL)
    *
      pkgacct~ -(INTERNAL)
    *
      pkgacct2 - (INTERNAL)
    *
      pkgaccount-ala - backs up an Alab*nza account for transfer.
    *
      pkgacct-ciXost - backs up a ci*ost account for transfer.
    *
      pkgacct-dXm - backs up a d*m account for transfer.
    *
      pkgacct-enXim - backs up an en*im account for transfer.
   *
      pkgacct-ng -
    *
      pkgacctn-ng.orig -
    *
      pkgacct-pXa - backs up a p*a account for transfer.
    *
      popftpuse - (OLD)
    *
      portsup - (FREEBSD BETA)
    *
      postsuexecinstall - (INTERNAL)
    *
      proftpd128 - Installs proftpd-1.2.8.
    *
      pscan - (OLD)
    *
      ptycheck - Fixes permissoins on /dev/ptmx.
    *
      pwck -Verifies the integrity of system authentication information.
    *
      quickfixmysqlbsd - (NOT USED)
    *
      quickkernel - Updates your kernel.
    *
      quicksecure - Quickly kill useless services.
    *
      quotacheck - (INTERNAL)
    *
      rasetup - (OLD)
    *
      rawchpass - (INTERNAL)
    *
      realadduser - (INTERNAL)
    *
      realchpass - (INTERNAL)
    *
     realperlinstaller - (INTERNAL)
    *
      realrawchpass - (INTERNAL)
    *
      rebuildcpanelsslcrt - Rebuilds the cPanel SSL Certificate.
    *
      rebuildcpusers - Rebuilds /var/cpanel/users.
    *
      rebuildetcpasswd - Rebuilds /etc/passwd.
    *
      rebuildeximbsd - Rebuilds exim on FreeBSD.
    *
      rebuildhttpdconffromproftpd - Rebuild httpd.conf from the
proftpd.conf file.
   *
      rebuildinterchangecfg - Used after moving a domain with Interchange
to the server.
    *
      rebuildippool - (INTERNAL)
    *
      rebuildnamedconf - Restore named.conf from files in /var/named.
    *
      rebuildproftpd - Restore proftpd.conf from httpd.conf.
    *
      reinstallmailman - Reinstalls mailman.
    *
      relocatevartousr - Relocates files from /var to /usr in case of disk
space issues.
   *
      remdefssl - Remove default SSL vhost.
    *
      reseteximtodefaults - Resets exim's default settings.
    *
      resethorde -
    *
      resetimappasswds - Resets all imap passwords.
    *
      resetmailmanurls -
    *
      resetquotas - Change quotas to what they should be .
    *
      restartsrv - Restart a service.
    *
      restartsrv_apache - Restart apache.
    *
      restartsrv_bind - Restart bind.
    *
      restartsrv_clamd - Restart clamd.
    *
      restartsrv_courier - Restart courier imap.
    *
      restartsrv_cppop - Restart cppop.
    *
      restartsrv_entropychat - Restart entropy chat.
    *
      restartsrv_exim - Restart exim.
   *
      restartsrv_eximstats - Restart exim statistics.
    *
      restartsrv_ftpserver - Restart your ftp server.
    *
      restartsrv_ftpserver~ - (INTERNAL)
    *
      restartsrv_httpd - Restart httpd.
    *
      restartsrv_imap - Restart impad.
    *
      restartsrv_inetd - Restart inetd.
    *
      restartsrv_interchange - Restart Interchange Shopping Cart.
    *
      restartsrv_melange - Restart melange chat.
    *
      restartsrv_mysql - Restart mysqld.
    *
      restartsrv_named - Restart named.
    *
      restartsrv_postgres - Restart postgresql.
    *
      restartsrv_postgresql - Restart postgresql.
    *
      restartsrv_proftpd - Restart proftpd.
    *
      restartsrv_pureftpd - Restart pure-ftpd.
    *
      restartsrv_spamd - Restart spamd.
    *
      restartsrv_sshd - Restart sshd.
    *
      restartsrv_syslogd - Restart syslogd.
    *
      restartsrv_tomcat - Restart tomcat.
   *
      restartsrv_xinetd - Restart xinetd.
    *
      restoremail - Restores a user's mail.
    *
      restorepkg -
    *
      reswhostmgr - Restart whostmgr.
    *
      rhlupdate - (OLD)
    *
      rpmpreinstall - (INTERNAL)
    *
      rpmup - Upgrade redhat/mandrake errata/security.
    *
      rpmup2 - (INTERNAL)
    *
      rpmup3 - (INTERNAL)
    *
      rrdtoolinstall - Installs RRD Tool.
    *
      rscpmd -
   *
      runlogsnow - (OLD)
    *
      runstatsonce - Runs statistics (should be used from the crontab).
    *
      runweblogs - Run analog/webalizer/etc. for a user.
    *
      ruserssscpcmd - (INTERNAL)
    *
      safeperlinstaller - Installs perl safely.
    *
      safeup2date - Runs up2date safely.
    *
      safeyum - Runs yum safely.
    *
      scpcmd - (INTERNAL)
    *
      searchbadgroups -
    *
      searchreplace - (NOT USED)
    *
      secureit - Remove unnecessary suid binaries.
    *
      securemysql - Attempts to secure the MySQL configuration.
   *
      securetmp - Adds securetmp to system startup.
    *
      selinux_custom_contexts -
    *
     selinuxsetup -
    *
      sendaim - (INTERNAL)
    *
      sendicq - (INTERNAL)
    *
      setupfp - Install FrontPage 3 on an account.
    *
      setupfp4 - Install FrontPage 4 (2000) installer on an account.
    *
      setupfp5 - Install FrontPage 5 (2002) installer on an account.
    *
      setupfp5.nosueuxec - Install FrontPage 5 (2002) installer on an
account when not using suexec.
   *
      setupmakeconf -
    *
      showexelist - Shows exe processes.
    *
      simpleps - Display the process list.
    *
      simplesshcmd - (INTERNAL)
    *
      smartcheck - Checks hard drive integrity.
    *
      smtpmailgdionly - Enables SMTP Mail Protection.
    *
      snarf - (INTERNAL)
    *
      spamasssassin-cpanel - (NOT USED)
    *
      spamboxdisable - Disables SpamAssassin's spambox delivery for all
accounts.
    *
      sscpcmd - (INTERNAL)
    *
      ssh2.expect - (INTERNAL)
    *
      sshcmd -
    *
      sshcontrol - (INTERNAL)
    *
      ssh.expect - (INTERNAL)
    *
      stage2fpmail - (INTERNAL)
    *
      supportvoidcheck -
    *
      suspendacct - Suspends an account.
    *
      symlinktodir - (INTERNAL)
    *
      sysup - update cPanel RPMs.
    *
      telentcrt - (OLD)
    *
      testinf - (OLD)
    *
      trustme - (INTERNAL)
    *
      typocheck -
    *
      uf - (OLD)
    *
      unlimitnamed - Installs the latest version of bind patched to
support greater than 512 ips on the server.
    *
      unblockip - Unblocks an IP blocked by portsentry.
    *
      unpkgacct - (INTERNAL)
    *
      unsetupfp4 - Removes FrontPage 4 or 5 from an account.
    *
      unslavenamedconf - If the user accidentally sets a DNS master as
local server, this will repair named.conf after the loop.
    *
      unsuspendacct - Unsuspends an account.
    *
      upcp - Updates cPanel.
    *
      updated - Updates /scripts.
    *
      updatedomainips - (INTERNAL)
    *
      updatefrontpage - Updates FrontPage
    *
      updatemysqlquota -
    *
    updatenow - Updates /scripts NOW.
    *
      updatephpconf - Updates PHP configuration files.
    *
      updateuserdomains - (INTERNAL)
    *
      updateuserdomains2 - (INTERNAL)
    *
      userdirctl -
    *
      userps - (OLD)
    *
      usersscpcmd - (INTERNAL)
    *
      usersscpcmd1 - (INTERNAL)
    *
      usersshcmd - (INTERNAL)
    *
      verify - (OLD)
    *
     verifyzone - (INTERNAL)
    *
      whichrpm - (INTERNAL)
    *
      whoowns - Finds out who owns a domain.
    *
      whostmgrkey - (OLD)
    *
      wwwacct - Creates an account.
    *
      wwwacct2 - (INTERNAL)
    *
      x* - (OLD)
    *
      xaddonreport - Reports the current addon scripts installed.
    *
      zoneexists - (INTERNAL)

Download this as a file

Cpanel Basics

How To Fixed Add-On Domain Problem in Cpanel

December 9th, 2008

There is an error in Cpanel hosting server that cause Add-on domain is not working properly.

Here is a various symptoms:
* When user adding add-on domain and delete it and then re-adding it again, it will show error
* Or if the domain to be added was a single user account on the same server (even after being terminated) it cant be added
* Add-on just disappear after CPANEL update

The fastest solution is :
Login into your Cpanel server with root access.

We will have an example domain name : testing.com that have a problem with add-on domain.

Look at this files or directory and cleanup or fix :
* File /var/cpanel/users (find : testing.com user and delete it)
* Directory /etc/valiases (find : testing.com and delete it)
* Directory /etc/vdomainaliases (find : testing.com and delete it)
* Directory /etc/vfilters (find :testing.com and delete it)
* File /etc/named.conf ( find : testing.com and delete it)
* Directory /var/named (find : testing.com.db and delete it)
* File /etc/httpd/conf/httpd.conf (find : testing.com and delete it)

After we’ve clean up, we need to make sure restarted the HTTP and BIND services.

Restarting Services

$/sbin/service named restart
$/sbin/service httpd restart

Login into your Cpanel

Click on Addon Domains
Create a new Addon Domain There.

This should fixed the Cpanel Addon domain problem

Cpanel Basics

Hello cPanel hosting world!

November 26th, 2008

Welcome to cPanel Hosting Stuff. Keep visiting this  blog for up to date cpanel information.

Cpanel Basics