I may be just shooting in the dark again as usual when I ask about servers and how to's
Maybe someone will help.. please
I have PE2650 at home that runs RMS and couple sites.
If I reboot this server the times default to 2006, when unit was made. I have checked the batteries and diagnostics indicate they are OK.
I can manually fix this just wondering if anyone else is/has Dell server at home.
Another mystery is I keep loosing my DNS, I have set up the necessary conf file in
/etc/network/interfaces
and this is what is in the file
# The loopback network interface
auto lo eth0
iface lo inet loopback
# The primary network interface
iface eth0 inet static
address 192.168.1.105
netmask 255.255.255.0
network 192.168.1.0
broadcast 192.168.1.255
gateway 192.168.1.1
dns-nameserver 75.75.75.75 75.75.76.76
dns-search local
dns-domain local.domain
I've done many changes to this configuration and still I loose the nameserver.
This is my only solution to the problem, which I have to manually run each reboot.
echo "nameserver 8.8.8.8" | sudo tee /etc/resolv.conf > /dev/null
and I'm good to go.
Should I add that above line to
/etc/rc.local
!/bin/sh -e
#
# rc.local
#
# This script is executed at the end of each multiuser runlevel.
# Make sure that the script will "exit 0" on success or any other
# value on error.
#
# In order to enable or disable this script just change the execution
# bits.
#
# By default this script does nothing.
cd /opt/ray_server
./run_daemon.sh
/usr/sbin/htcacheclean -d30 -n -t -p /var/cache/apache2/mod_disk_cache -l 100M $
exit 0