Archive for the tag 'log'

Exim Message Reception and Delivery log files

Exim writes three different logs, referred to as the main log, the reject log, and the panic log.

/var/log/exim_mainlog ( Linux )
/var/log/exim/mainlog (FreeBSD)

The main log records the arrival of each message and each delivery in a single line in each case. The format is as compact as possible, in an attempt to keep down the size of log files. Two-character flag sequences make it easy to pick out these lines. A number of other events are recorded in the main log. Some of them are optional, in which case the log_selector option controls whether they are included or not. A Perl script called eximstats, which does simple analysis of main log files, is provided in the Exim distribution.

The above log files receives an entry every time a message is received or delivered.

Rejections based on ACLs/Policies: Receives an entry every time a message is rejected based on either ACLs or other policies (for example, aliases configured to :fail:)

/var/log/exim_rejectlog ( Linux )
/var/log/exim/rejectlog (FreeBSD)

The reject log records information from messages that are rejected as a result of a configuration option (that is, for policy reasons).

Most commonly accessed cpanel log files.

When investigating any issue, the first thing you should always do is check the log files, as they generally provide insight as to what’s causing the erroneous behavior.

The following is a break down of the most commonly accessed log files, for cPanel and cPanel managed services:

/usr/local/cpanel/logs/error_log

cPanel logs any error it incurs here. This should always be the first place you look when you encounter errors or strange behavior in cPanel/WHM.

/usr/local/cpanel/logs/license_log

All license update attempts are logged here. If you run into any license errors when logging in, check here.

/usr/local/cpanel/logs/stats_log

The stats daemon (cpanellogd) logs the output from all stats generators (Awstats, Webalizer, Analog) here.

/usr/local/cpanel/logs/access_log

General information pertaining to cPanel requests is logged here (Client Information, Request URI)

How to determine system log settings for a Linux server?

Usually the /var/log/messages file is used for the regular system messages.

It is possible to find which place is used by a Linux system for logging from the /etc/syslog.conf or /etc/rsyslog.conf configuration files:

#cat /etc/syslog.conf

or

#cat /etc/rsyslog.conf
SBDavid

MySQL Error Log File

MySQL Error Log File

The error log contains information indicating when mysqld was started and stopped and also any critical errors that occur while the server is running.

If mysqld notices a table that needs to be automatically checked or repaired, it writes a message to the error log.
On some operating systems, the error log contains a stack trace if mysqld dies.

You can specify where mysqld writes the error log with the –log-error[=file_name] option.
If no file_name value is given, mysqld uses the name host_name.err by default and writes the file in the data directory.

On Windows, error output is always written to the .err file if –console is not given.

If you use mysqld_safe to start mysqld, mysqld_safe arranges for mysqld to write error messages to a log file or to syslog mysqld_safe has three error-logging options, –syslog, –skip-syslog, and –log-error.

SBDavid

How to log into Usermin Webmail

How to log into Usermin Webmail

Taken from : http://www.virtualmin.com/documentation/tutorial/

In this tutorial, we will go over how to log into the Usermin Webmail interface.

Open your web browser, such as Firefox or Internet Explorer.

In the address bar at the top of your browser, browse to the following address:

https://webmail.example.com

Where example.com is your server’s domain name.

Once you have entered the address above, hit enter to go to the Usermin Login screen.

Enter the username you were given in the Username field.

Enter your password in the password field.

Click Login, and you will be logged into Usermin.

You can see a list of mail folders, as well as other options, on the left.

The contents of the current folder (your Inbox, by default) will be displayed on the right.

If you require further Usermin/Virtualmin documentation please visit the following link,

http://www.virtualmin.com/documentation/tutorial

« Prev