Hello all,
I have an issue here where recently I made some hostname changes on my webhosting server including setting up a reverse DNS and needing to fully change the hostname as listed throughout the entire OS.
Seemingly that worked until I noticed I was getting messages inside of DA stating that email may not work until hostname.sh was run, so I ran that. I since haven't received that message again inside of DA, but when checking the OS itself this evening by logging in with SSH, I'm seeing the old originial hostname at the login prompt and in several files referencing the hostname.
For example my login is: root@s15355459
when it should be: root@stargatesg1
I have also checked the following files after running ./hostname.sh and it shows the files with the correct hostname. But after a system reboot and check the files, it shows the old hostname once more. These include:
/etc/hosts
/etc/sysconfig/network
/etc/hosts.tmp
/etc/virtual/domains
Does anyone have any idea why when I manually edit these files or run hostname.sh that they revert back to the old hostname?
Thanks!
Bradley
I have an issue here where recently I made some hostname changes on my webhosting server including setting up a reverse DNS and needing to fully change the hostname as listed throughout the entire OS.
Seemingly that worked until I noticed I was getting messages inside of DA stating that email may not work until hostname.sh was run, so I ran that. I since haven't received that message again inside of DA, but when checking the OS itself this evening by logging in with SSH, I'm seeing the old originial hostname at the login prompt and in several files referencing the hostname.
For example my login is: root@s15355459
when it should be: root@stargatesg1
I have also checked the following files after running ./hostname.sh and it shows the files with the correct hostname. But after a system reboot and check the files, it shows the old hostname once more. These include:
/etc/hosts
/etc/sysconfig/network
/etc/hosts.tmp
/etc/virtual/domains
Does anyone have any idea why when I manually edit these files or run hostname.sh that they revert back to the old hostname?
Thanks!
Bradley