Then add this before the “dnslookup:” section.
to_smart_host:
driver = manualroute
domains = ! +local_domains
transport = remote_smtp
route_list = “* mail1.example.com:mail2.example.com;”
There's a timeout parameter used by NTP that if things get out of sync by too much, it won't sync them at all.
The default is something low, I think just 128 msec, which is pretty small under some circumstances.
edit the /etc/sysconfig/ntpd on the control VM to sync hardware. Default is no. Once done, please cycle ntpd. You will see an extra line for hardware clock. If possible, all VMs and XenServer should use a local physical time server.
The problem is that there is no reliable way how to get correct FQDN.
There is unreliable interface getdomainname() which returns on many
platforms empty string or often default domains like "localdomain",
"mydomain" when no other specific domain was set during system
installation. The getdomainname() takes the value on some platforms
from sysctl, on other platforms from file in /etc/ and on other
platforms it's completely ignored. The name service lookup is not
reliable as well - it depends on how the name service was set (usually
NSS switch uses local files first which often have the shortname in
front of longname for the given IP address and thus return often
shortname first).
set mailserver foo.bar.baz using hostname "my.monit.host"
1. Create the file "/etc/sysconfig/nfs" and add the following contents:
STATD_PORT=4001
LOCKD_TCPPORT=4002
LOCKD_UDPPORT=4002
MOUNTD_PORT=4003
2. Append the following to the file "/etc/services":
rquotad 4004/tcp # rpc.rquotad tcp port
rquotad 4004/udp # rpc.rquotad udp port
3. Restart the nfs services:
Open up the following ports (tcp and udp) on the Fedora firewall. Do this either using the "Security Level" app in "System Settings" or using the command line iptables command (think it's in /sbin/):
111:tcp, 111:udp, 2049:tcp, 2049:udp, 4001:tcp, 4001:udp, 4002:tcp, 4002:udp, 4003:tcp, 4003:udp, 4004:tcp, 4004:udp
edit
Code:
/etc/sysconfig/nfs
uncomment the default ports:
Code:
LOCKD_TCPPORT=32803
LOCKD_UDPPORT=32769
MOUNTD_PORT=892
STATD_PORT=662
Add those ports to your firewall rules:
edit
Code:
/etc/sysconfig/iptables
Code:
# NFS
-A RH-Firewall-1-INPUT -m state --state NEW -m tcp -p tcp --dport 111 -j ACCEPT
-A RH-Firewall-1-INPUT -m state --state NEW -m udp -p udp --dport 111 -j ACCEPT
-A RH-Firewall-1-INPUT -m state --state NEW -m tcp -p tcp --dport 662 -j ACCEPT
-A RH-Firewall-1-INPUT -m state --state NEW -m udp -p udp --dport 662 -j ACCEPT
-A RH-Firewall-1-INPUT -m state --state NEW -m tcp -p tcp --dport 892 -j ACCEPT
-A RH-Firewall-1-INPUT -m state --state NEW -m udp -p udp --dport 892 -j ACCEPT
-A RH-Firewall-1-INPUT -m state --state NEW -m tcp -p tcp --dport 2049 -j ACCEPT
-A RH-Firewall-1-INPUT -m state --state NEW -m udp -p udp --dport 2049 -j ACCEPT
-A RH-Firewall-1-INPUT -m state --state NEW -m tcp -p tcp --dport 32803 -j ACCEPT
-A RH-Firewall-1-INPUT -m state --state NEW -m udp -p udp --dport 32803 -j ACCEPT
-A RH-Firewall-1-INPUT -m state --state NEW -m tcp -p tcp --dport 32769 -j ACCEPT
-A RH-Firewall-1-INPUT -m state --state NEW -m udp -p udp --dport 32769 -j ACCEPT
Restart the services:
Code:
/etc/init.d/iptables restart
/etc/init.d/nfs restart
/etc/init.d/nfslock restart
One may manually initialize the database with the command: /usr/bin/mysql_install_db
Creates system tables in /var/lib/mysql/mysql/
Only execute the first time MySQL is installed.
Databases located in: /var/lib/mysql/