This is just a brief howto about installing and configuring NTPD (Network Time Protocol Daemon) on a Linux server which in this case is specifically NTPD. First we will install ntpd, then update the current time on the server, configure ntpd to restart on server boot, and then start ntpd.
Posts Tagged “grep”Follow the below directions to turn off selinux on a CentOS server. SeLinux can cause many issues and if your server is behind a properly configured firewall as well as the systems administrator only opens necessary ports that are configured properly your risks should be minimal.
Oct
09
2008
xinetd[11497]: service/protocol combination not in /etc/services: nrpe/tcpPosted by: alex in ErrorsIf you are in process of installing the NRPE daemon as an xinetd service for Nagios monitoring capabilities you may run across this error in /var/log/messages. If you have started xinetd by typing the following: but you do not see the NRPE service listening by using netstat: If you want to see the actual active lines from a configuration file in Linux you can exclude any lines with comments by issuing the below command. shell# cat /etc/postfix/main.cf | grep -v “# *” If you also want to exclude the blank lines from the file use this command. shell# cat /etc/postfix/main.cf | grep -v “# *” | grep -v “^$” Sometimes that does not catch every line so add one more grep to exclude the lines that does not catch like this. shell#cat /etc/postfix/main.cf | grep -v “# *” | grep -v “^$” | grep -v “ “ Tags: cat, CentOS, grep, LinuxI had created a script to run ask for a couple CLI arguements and then run httperf against a server. The goal was to load test a server for HTTP and for HTTPS. I added the –ssl switch but could not verify a couple things including if httperf had been compiled with SSL support or if the –ssl was working at all. 1. Was httperf installed with SSL support? |















Entries (RSS)