Server Configuration Syntax error check
SSHD server check for syntax error
# sshd -t
FTP server check for syntax error
# vsftpd
DNS server check for syntax error
SSHD server check for syntax error
# sshd -t
FTP server check for syntax error
# vsftpd
DNS server check for syntax error
For checking syntax errors in main configuration file.
# named-checkconf named.conf
Syntax OK
#named-checkzone example.com /var/named/chroot/var/named/exaple-zone.frd
SAMBA server check for syntax error
# testparm
APACHE server check for syntax error
# httpd -t
For virtual hosts
# httpd -t -D DUMP_VHOSTS
TCP Wrappers check for syntax error
# tcpdchk
# tcpdchk -v
Postfox server check for syntax error
# postfix check
# postfix -vv
LIGHTTPD server check for syntax error
# lighttpd -t -f /etc/lighttpd/lighttpd.conf
# tcpdchk
# tcpdchk -v
Postfox server check for syntax error
# postfix check
# postfix -vv
LIGHTTPD server check for syntax error
# lighttpd -t -f /etc/lighttpd/lighttpd.conf
Squid server check for syntax error
# squid -k check
# squid -k parse
NAGIOS server check for syntax error
# /usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg
No comments:
Post a Comment