Changing fog server IP address problems
-
Your posting here:
http:////fog//maintenance/backup_db.php: Invalid host name.Notice how there’s no hostname?
You should have an ipaddress in your /opt/fog/.fogsettings file. Is this defined for your machine?
-
@tom-elliott said in Changing fog server IP address problems:
Notice how there’s no hostname?
Great eyes, I just saw that too. That is the key to why it’s not working.
-
@xcvtop said in Changing fog server IP address problems:
- Server IP Address:
- Server Subnet Mask:
- Interface: eth0
And I still think ipaddress is blank in
/opt/fog/.fogsettings
-
@tom-elliott
IP address is there## Created by the FOG Installer ## Version: 1.3.5 ## Install time: Thu 10 Mar 2016 15:28:32 GMT Ipaddress='10.160.240.60' interface='eth0' routeraddress='# option routers x.x.x.x;' plainrouter='' dnsaddress='option domain-name-servers 127.0.1.1;' dnsbootimage='127.0.1.1'
-
@xcvtop I wrote a tool that updates the IP: https://github.com/FOGProject/fog-community-scripts/tree/master/updateIP
-
@xcvtop Change
Ipaddress
toipaddress
-
@wayne-workman His
ipaddress
variable is incorrect. I don’t know if your script would fix that. -
@tom-elliott It would. My script only needs the system IP address to already be correct. It makes fog use whatever is set.
-
@tom-elliott
thanks i must of changed it somehow, i would of never noticed that,thanks for your help
-
@xcvtop So it works now?
-
@tom-elliott yep its working thanks for all your help guys