Linux / UNIX Tech Support Forum
This is a discussion on Linux Commands for checking errors in server config files within the CentOS / RHEL / Fedora forums, part of the Linux Distribution category; Hi all, This is a question to just enhance knowledge on Linux server administration.In dns we have some error checking ...
Register free or login to your account to remove all advertisements.
|
|||||||
| CentOS / RHEL / Fedora Discussion about Redhat Enterprise Linux or CentOS or Fedora Linux related problems. |
![]() |
|
|
Thread Tools | Display Modes |
|
||||
|
Postfix - Warn about bad directory/file ownership or permissions, and create missing directories
Code:
postfix check Code:
postfix -vv Code:
sshd -t Code:
lighttpd -t -f /etc/lighttpd/lighttpd.conf Code:
nginx -c /etc/nginx/nginx.conf -t Code:
httpd -t -D DUMP_VHOSTS Code:
pfctl -nf /etc/pf.conf Code:
tcpdchk tcpdchk -v
__________________
Vivek Gite Last edited by nixcraft; 1st July 2009 at 04:17 PM. |
| The Following User Says Thank You to nixcraft For This Useful Post: | ||
rockdalinux (2nd July 2009) | ||
|
||||
|
For Squid proxy use:
Code:
squid -k check squid -k parse
__________________
Vivek Gite |
| The Following User Says Thank You to nixcraft For This Useful Post: | ||
rockdalinux (2nd July 2009) | ||
|
||||
|
It is really sad that iptables lacks syntax checking option, nice list though...
__________________
Rocky Jr. What's wrong? I hope I am not making you uncomfortable... Never send a boy to do a mans job. |
![]() |
|
|
| Tags |
| syntax error, troubleshooting, troubleshooting linux servers, troubleshooting unix servers |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) |
|
| Thread Tools | |
| Display Modes | |
|
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Query regd dns config files in /var/named location for RHEL 5 | vaibhav.kanchan | Domain Name Server | 2 | 18th August 2008 12:44 PM |
| See what commands have been run on your Linux server | sweta | Getting started tutorials | 5 | 30th April 2008 03:38 AM |
| imap errors / server slow down | seed2be | Mail Servers | 0 | 6th March 2008 09:36 PM |
| Checking files exist | seeker082 | Shell scripting | 6 | 22nd February 2008 12:39 AM |
| checking windows file from linux | jhn_daz@yahoo.com | Getting started tutorials | 1 | 31st October 2007 07:40 PM |