Home > How To > How To Check Logs In Linux

How To Check Logs In Linux

Contents

Support us by taking our online Linux courses We are thankful for your never ending support. I would like to know where are the log files located under Debian/Ubuntu or CentOS/RHEL/Fedora Linux server? How can i know all the login sessions done in my account ,their timing etc… an i also know any ftp or ssh done in my account????? So you have to contact the owner/administrator/... Source

Join them; it only takes a minute: Sign up Here's how it works: Anybody can ask a question Anybody can answer The best answers are voted up and rise to the And what does it means when named is running under chroot environement as you said .OR it means when named services are running chroot jail, log files will only be created SIGN ME UP Linux Monitoring Tools Arpwatch Tool to Monitor Ethernet Activity in Linux 16 Apr, 2013 Lynis 2.2.0 Released - Security Auditing and Scanning Tool for Linux Systems 18 Mar, Please check it.

How To Check Logs In Linux

Join the discussion. named-checkzone checks the syntax and integrity of a zone file. It allows to import and create bulk files) Reply Link DLBDS June 17, 2009, 6:29 amThis is a great aritcal for administrators.

Access logs show connections to the Admin Server based on the IP address of the client, the username, and the method that the request was sent. At age 25, is it still okay to wear dental braces to work? yahoo.com nameserver = ns1.yahoo.com. How To View Log Files In Linux Next use netstat command to list open and listing port 53 on server itself: $ netstat -tulpn | grep :53 OR # netstat -atve Output: Active Internet connections (servers and established)

Anyway you can try this: Code: logging { channel bindlog { file "/var/named/named.log" versions 3 size 5m; print-time yes; print-category yes; print-severity yes; }; category xfer-out { bindlog;}; category xfer-in { Linux /var/log/messages It performs DNS lookups and displays the answers that are returned from the name server(s) that were queried. This rotation has to be done manually to create new files if the existing log files become too large. Introduction to Linux - A Hands on Guide This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started

fd-fp3.wg1.b.yahoo.com canonical name = ds-fp3.wg1.b.yahoo.com. How To View Logs In Linux Command Line Why are Car Batteries still so heavy? thanku Reply Link Pulse October 23, 2015, 9:05 pmTHX! Try to restart it, and have a look at the logs in /var/log to see if any errors occur.

Linux /var/log/messages

plz tell the solution …. (urgent) Reply Link Kiran November 7, 2013, 5:54 amHello,I am not able to locate the SMTP files in my server can any one help me out?Thanks HostnameLookups onPrevDocument Home2.4.1. How To Check Logs In Linux So that it tells that whatever mail received / sent to @yahoo.com will be routed to mail server. 5. How To Check Logs In Linux Server i just went for a 4days training on the basics.

Reply Link charles November 6, 2012, 10:55 pmCan someone kindly assist me with scp or ftp or anything applicable between my laptop running win7 and my server running fedora-16. It is possible to set the Admin Server to perform a DNS lookup so that hostnames are used in the logs. Willing to provide more details if you need... I have [emailprotected] but I would like to set up a couple more is this possible using the debian console. Linux Log Files Explained

The docs you provided was very helpful.But problem is same.No events are logged in the bindlog file. Reply Link santhosh August 28, 2014, 6:57 amchandrait is possible using mutt coomand and mail -s command just write a script and put in crontab it is working Reply Link Gonzalo Can anyone help me in this reg Reply Link Linux Expert December 8, 2010, 8:26 amLet me know which linux distribution is used , and the web server having public domain and tell him to create all needed DNS records.

Related 193How do I find the authoritative name-server for a domain name?5By modifying my DNS records, how can I have “test.mydomain.com” resolve to XXX.XXX.XXX.XXX:8080?140Where can I find the error logs of How To Check Log Files In Unix I think the same as you told permission error.But I had assigned full permission by: # chmod 777 /var/named/named.log so why this error?? Reply Link Phron January 5, 2013, 12:53 amThat was supposed to be Fan..

Last edited by sachin1361; 09-16-2007 at 03:21 AM.

See if you can telnet to port 53 from remote computer: $ telnet remote-server-ip 53 OR telnet ns1.nixcraft.org domain Output:Trying 192.168.0.5... Anyhow I assign the permissions and change the ownership to named user, now there is no such error as permission denied.but still no logging in the named.log file. Submit it here to become an TecMint author. Dns Log File In Linux DNS server if any clients query log will stores /var/log/messages files i need to send those lof files in ip wise daily or weekly.

Code: dig @localhost example.com [emailprotected] MX example.com dig @localhost ANY example.com falko, Nov 30, 2005 #3 new_bee05 New Member OK I get this when typing: dig @localhost mydomain.com SERVFAIL, id:30662 Hope that helps! A valentine's code Why does Intermediate Value Theorem only considers end-points? Why Reply With Quote Quick Navigation Red Hat / Fedora Linux Top Site Areas Settings Private Messages Subscriptions Who's Online Search Forums Forums Home Forums Linux Forums Linux Forums Site News

Open the Admin Server management window.