Add a credit card to my customer account
How can I renew a service?
How do I change the holder or email address of a customer account?
How do I close my customer account?
How do I get student status?
How do I transfer services to another account?
I can no longer access my customer account
I've just been charged for a cancelled service
I've just been debited twice for the same service
Merger of PulseHeberg and PulseBox customer area
My customer account appears suspended
My offer appears as Deprecated
How do I start my dedicated server on a customized ISO?
How to access the KVM console of a dedicated server?
How to access the management panel of a dedicated server?
How to reinstall a dedicated server?
How to turn off, turn on or restart a dedicated server?
Start your dedicated server in rescue mode
Enable DKIM on Zimbra Hosted Email service
How do I configure my domain for Zimbra?
How do I create a Zimbra distribution list?
How to access the Hosted Email management panel?
How to create a Zimbra domain alias?
How to create a Zimbra email account?
How to create a Zimbra email alias?
Analyze server logs
How to activate VNC connection on Ubuntu Desktop?
How to enable RDP connection on Ubuntu Desktop
How to install Ubuntu Desktop?
Increase server security
Manage your kernel
Methodology of the benchmarks
My Linux server is slow
Upgrading your Debian version
Your server has been compromised
Can I get a refund for my order ?
How do I cancel a pending invoice?
My order in stuck "Pending"
What payment methods do we accept ?
How do I allow PulseHeberg support to connect to my server?
How do I contact support?
How to get the status of the service?
I can't send emails from my server
Make an MTR diagnosis
Partnership and sponsoring
Does FUSE work on my VPS KVM?
Does TUN/TAP work on my VPS KVM?
How do I change the reverse DNS of my VPS KVM?
How do I reinstall a VPS KVM?
How does anti-DDoS protection work on a VPS KVM?
How to access the console of a VPS KVM?
How to access the management panel of a KVM VPS?
How to create a snapshot on a KVM VPS?
How to turn off, turn on or reboot a VPS KVM?
How to use the integrated firewall on a VPS KVM?
I can't install packages on my VPS with Debian or Ubuntu
Install a custom OS on your KVM VPS
Is Docker compatible with my VPS KVM?
Is it possible to downgrade a VPS server?
Is it possible to have additional IPs on a KVM VPS?
Is it possible to migrate from an OpenVZ or LXC VPS to KVM?
Start your VPS in rescue mode
The panel shows that my VPS KVM consumes all its RAM.
What OS are available on the VPS KVM ?
Your VPS KVM VPS has just rebooted
Your VPS KVM server is suspended for Hack
Docker does not work on my VPS LXC
Fuse does not work on my VPS LXC
How do I access the LXC VPS management panel?
How do I backup a VPS LXC ?
How do I change the reverse DNS of my LXC VPS?
How do I reinstall a VPS LXC?
How do I turn off, turn on or restart a VPS LXC?
How does anti-DDoS protection work on a VPS LXC?
How to set up a scheduled backup on an LXC VPS
How to use the integrated firewall on a VPS LXC ?
Is it possible to access the console of a VPS LXC?
Is it possible to have additional IPs on an LXC VPS?
My LXC VPS server panel displays "VM creation/reinstallation in progress".
TUN/TAP doesn't work on my VPS LXC
What OS are available on the LXC VPS?
Your VPS has just restarted
Your server is suspended for Hack
Docker does not work on my OpenVZ VPS
Fuse does not work on my OpenVZ VPS
How do I access the OpenVZ VPS management panel?
How do I change the reverse DNS of my OpenVZ VPS?
How do I reinstall an OpenVZ VPS?
How do I turn off, turn on or restart an OpenVZ VPS?
I am banned from the OpenVZ VPS panel
TUN/TAP doesn't work on my OpenVZ VPS
How do I change the hostname of my VPS?
What kind of VPS do I have (OpenVZ, LXC or KVM) ?
DNS management at Pulseheberg
How do I activate DKIM signature on my hosting?
How do I change the PHP settings?
How do I change the PHP version of my domain or sub-domain?
How do I change the directory where my main domain points?
How do I configure my domain to point to my hosting?
How do I create additional FTP access?
How do I get the transfer code for a domain?
How long does a domain transfer take?
How to activate an automatic email response?
How to activate an email alias?
How to activate an email redirection?
How to add a second domain?
How to consult the logs?
How to create a database
How to create a scheduled task (CRON)?
How to create a sub-domain?
How to create an email account?
How to install a CMS with Softaculous ?
How to manage the Apache and Nginx configuration of your web hosting?
How to uninstall a CMS with Softaculous ?
Is there anti-DDoS protection on the web hosting service?
Login to the Plesk panel
Manage your DNS zone from Plesk
My domain does not work
My email is rejected by the outgoing spam filter
SSL management of your website
What are the limitations of sending email from my hosting ?
What versions of PHP are available?
Updated by l'équipe PulseHeberg
Throughout its life, a Linux installed server records a very large number of parameters, information and events, which are transcribed into files: These are the logs files of your server.
Under the vast majority of Linux OSes, these log files are stored in the /var/log folder.
root@HelpDesk:/var/log# ls -l
-rw-r--r-- 1 root root 15071 Aug 8 17:24 alternatives.log
drwxr-xr-x 2 root root 4096 Aug 9 08:55 apt
-rw-r----- 1 root adm 876834 Aug 9 09:54 auth.log
-rw------- 1 root utmp 1175040 Aug 9 09:54 btmp
-rw-r----- 1 root adm 68367 Aug 9 09:13 daemon.log
-rw-r--r-- 1 root root 320780 Aug 9 08:55 dpkg.log
-rw-r----- 1 root adm 19690 Aug 9 09:54 fail2ban.log
-rw-r--r-- 1 root root 3456 Dec 12 2017 faillog
-rw-r----- 1 root adm 2907 Jan 24 2018 kern.log
-rw-r--r-- 1 root root 292 Aug 9 08:48 lastlog
-rw-r----- 1 root adm 1100 Aug 8 17:23 mail.info
-rw-r----- 1 root adm 1100 Aug 8 17:23 mail.log
-rw-r----- 1 root adm 3334 May 26 15:58 messages
-rw-r--r-- 1 root root 75153 Aug 9 09:39 syslog
-rw-rw-r-- 1 root utmp 14976 Aug 9 08:48 wtmp
Each file corresponds to a different type of service. Some are very explicit (mail.log corresponds to the mail logs managed by your server), and others are a bit less explicit. Here is a list of the few log files you can find on a Linux server:
auth.log : Corresponds to the authentication logs on your server (usually SSh). You'll find information about login attempts to your VPS, the reasons for their refusal, and the history of established logins.
kern.log : Corresponds to the logs of your kernel. It contains the last event handled by your kernel. It can be various information about its usual operation (network card boot, system boot), as well as the errors encountered (e.g hard-drive or RAM error)
mail.log : As its name indicates, it corresponds to the mail logs processed by your VPS. It is very useful to check it, especially if our support notifies you about SPAM mail going out your server.
apt/history.log : Contains the history of modifications via APT (usually software installation or removal).
fail2ban.log: If you have installed and configured Fail2ban (which we highly recommend), it contains the history of anomalies detections as well as the IP banned from your VPS.
syslog: This is a bit of a "catch-all" file. You will find there the general logs of your system. It contains a lot of essential information, such as the operations performed on the different services, the execution errors encountered, the faults found by the system, etc.
Each log file is different, so there is no universal methodology to deal with them. However, several things are good to know :
- The most recent logs are always added at the end of the file. So the oldest are at the top of the file
- The logging system regularly "cleans" the logs: it creates new empty files, and saves the old ones, in compressed (.gz) format to consume less disk space. These are kept for several days.
- The .log files are not essential to your system (it can work without them). If you run out of disk space on your server, a little cleanup in the logs can help you find some space.
Here are also some commands that may be useful to monitor your log files :
See live the content of a log file (real time)
root@HelpDesk:/var/log# tail -f monfichier.log
Make a search in a log file
root@HelpDesk:/var/log# grep "mot-clef" monfichier.log
List the latest SSH connections
root@HelpDesk:/var/log# grep "Accepted" auth.log