Archive

Archive for the ‘cPanel’ Category

Some exim commands for cPanel server

January 13th, 2009

Warning: file_get_contents(http://ecs.amazonaws.com/onca/xml?Service=AWSECommerceService&AWSAccessKeyId=1TJ8QTQ6ZFCVAJ3X1T02&AssociateTag=ii0c3-20&Operation=ItemSearch&SearchIndex=Books&ResponseGroup=Small,Images&Keywords=cPanel) [function.file-get-contents]: failed to open stream: HTTP request failed! HTTP/1.1 400 Bad Request in /home/manusia2/public_html/wp-content/plugins/amazonfeed/php/amazonfeed.class.php on line 271

Here are some exim commands and very useful for system administrator specially for cPanel server.

Check how many queue :

exim –bpc

Check frozen emails in the mail queue :

exim –bp | grep frozen

Print a summary of messages in the queue :

exim -bp | exiqsumm

Number of frozen emails in the mail queue:

exim –bp | grep frozen | wc –l

Checking what Exim is doing right now :

exiwhat

Delete frozen emails from the exim mail queue:

exim -bp | awk ‘$6 == “frozen” {print $3}’ | xargs exim –Mrm

or

exiqgrep -z -i | xargs exim -Mrm

Start a queue :

exim -q -v

well that enough for now.. i will add more later

Tags: cPanel, cPanel, email

Related posts

cPanel ,

cPanel 11 Documentation - Choose Log Programs

January 4th, 2009

Overview

The “Choose Log Program” allows you to choose the stats programs you want to use when viewing web site statistics; assuming your service provider has turned the feature on for your specific web hosting account.

What Are Log Programs?

Log programs allow you to see a visual representation of the visitors to your web site. Using different log/statistics programs, you can see who is visiting your site, what they are viewing, what they are downloading, where they enter your site, where they exit, and more.

Configuration Notes

To disable a log program for a domain, make sure the box next to the domain for that program is unchecked. To enable it, make sure the box is checked. If you do not see boxes with checkmarks, you do not have the ability to change what log programs you use. It is recommended to disable any log programs you do not use frequently.

Configuring The Log Programs

Steps
  1. When the page loads, there will be a four-column table showing the following:
    • Domain - This entry shows each domain available on your web hosting account.
    • Analog - Check the “Analog” box and its associated domain if you want to use the “Analog” web site statistics program when viewing web site statistics for the associated domain.
    • Awstats - Check the “Awstats” box and its associated domain if you want to use the “Awstats” web site statistics program when viewing web site statistics for the associated domain.
    • Webalizer - Check the “Webalizer” box and its associated domain if you want to use the “Webalizer” web site statistics program when viewing web site statistics for the associated domain.
  2. Once you have clicked on the check boxes associated with each domain, click on the Save button to save the settings.
Tags: awstats, cPanel, cPanel, domain name, web hosting

Related posts

cPanel , , ,

cPanel 11 Documentation - Awstats

January 4th, 2009

Overview

Awstats is a web site analysis tool you can use to view the number of visitors to your web site, their activity including page view, reports on keywords used to reach your web site, and many other available reports that can help you monitor your web site’s overall activity. You can learn more about Awstats by visiting http://awstats.sourceforge.net/.

Viewing Awstats Web Site Traffic Statistics

Awstats web site traffic statistics are specific to each domain you have setup on your web site. Follow the instructions below to get started.

Steps
  1. When the “Awstats Stats” page loads, you will see a two-column “Select a Domain” table consisting of the following information:
    • Domain - This entry contains the domains you have setup on your web site.
    • View - Click on the magnifying glass icon to view the web site statistics for the associated domain using Awstats.
  2. When the page loads, Awstats automatically loads the current month’s web site data. You can change the month and year by selecting the dates from the drop down menus, then click on the OK button to reload the web site statistical data for the month/year you selected.
  3. After selecting your month and year, you can view the “Summary” section containing total sums of the following:
    • Unique visitors
    • Number of visits
    • Pages
    • Hits
    • Bandwidth
  4. The next section shows you a Monthly history of your web site’s statistical data including every month over the last twelve month period. Continue on down the page to the days of the month chart. There are many other statistical reports available such as the number of visits and page views per url on your web site, the types of operating systems visitors are using when visiting your web site, and search engine keywords used to find your web site. It even includes a report on how many links are coming from various search engines and links coming from other web sites.
Tags: awstats, cPanel, cPanel, domain name

Related posts

cPanel , ,

cPanel 11 Documentation - Error Messages

January 4th, 2009

Overview

This function will display the last 300 errors for your site. This can be very useful for determining what links are broken on your site, or what files do not exist that should. Checking this log frequently can help keep your site running smoothly

When the page loads and if there are any errors associated with your account, the following will be listed:

  • Day/Month/Year/Time
  • Client IP
  • Error
  • Location of page error occurred

For example, if a particular file does not exist, the following error will be shown:

[Wed Feb 14 21:41:43 2007] [error] [client 1.1.1.1] File does not exist: /home/user/public_html/404.shtml

The above indicates the file 404.shtml is not on your account. Most likely, the file was accessed somewhere on your web site and is now giving you an error.

Another example is if you do not have a robots.txt file on your account. First note that a robots.txt file is specific to search engine spiders. It’s okay if you do not have this file, but the system will generate an error if a spider is unable to locate a robots.txt file on your server.

[Wed Feb 14 17:06:46 2007] [error] [client 1.1.1.1] File does not exist: /home/user/public_html/robots.txt

The errors displayed in this report are to help you identify where problems may be occurring on your web site and/or web hosting account. If you need further assistance with any of the errors listed, please contact your web hosting provider.

Tags: cPanel, cPanel, web hosting

Related posts

cPanel ,

cPanel 11 Documentation - Raw Access Logs

January 4th, 2009

Overview

Raw Access Logs allow you to see who has accessed your site without the use of graphs, charts or other graphics. You can use the Raw Access Logs menu to download a zipped version of the server’s access log for your site. This can be very useful when you need to see who is accessing your site quickly.

There are three sections available on the “Raw Access Log” page:

  • Configure Logs
  • Download Current HTTP Access Logs
  • Archived Raw Logs

Configure Logs

When the “Raw Access Log” page loads, the first two options include:

  • Archive Logs in your home directory at the end of each month
  • Remove the previous month’s archived logs from your home directory at the end of each month

Each of the above options has a check box next to it. You can check each one according to your own specific needs. Once you have checked or unchecked the check boxes in the above options, click on the Save button to save your settings.

Download Current HTTP Access Logs

This section includes a one-column table showing a list of domains associated with the web hosting account you are currently using to view cPanel. Click on any of the available domains to download the HTTP access logs.

Archived Raw Log

If there are any archived raw logs available, click on the one of the available links to download the raw log.

Tags: cPanel, cPanel, domain name, raw, web hosting

Related posts

cPanel , , ,