Posts:
2
From:
Registered:
11/7/09
|
|
|
|
eon 0.59.4 hostname
Posted:
Nov 7, 2009 8:54 AM
To: Communities » distribution » discuss
|
|
Hi!
I just tried eon for the first time and it looks like a really cool tool! I am having a problem with my hosts file though.
I ran /bin/setup and entered my hostname of choice when prompted. I also managed to install eon to hard drive using /bin/install.sh. So far so good. Apache however refuses to start (trying to generate a unique id containing the host's IP address) since /etc/hosts maps 127.0.0.1 to "eon" rather than the hostname I chose during installation. If I manually edit /etc/hosts and replace "eon" with my real hostname, I can start apache with svcadm. The change I make to /etc/hosts does not survive the next reboot even though I run /bin/updimg.sh before rebooting. It seems to me that everyone not having eon as hostname would run into this problem which makes me suspect that I am probably doing something terribly wrong.
Cheers, Patrik
|
|
|
Posts:
274
From:
US
Registered:
4/17/06
|
|
|
|
Re: eon 0.59.4 hostname
Posted:
Nov 9, 2009 3:33 PM
in response to: patbuck
To: Communities » distribution » discuss
|
|
patbuck,
changing hostname shouldn't be a problem.
Couple of possibilities: try adding /etc/inet/hosts (/etc/inet/ipnodes for ipv6) to /mnt/eon0/.backup instead of /etc/hosts which is a symlink to /etc/inet/hosts before running updimg.sh (have to investigate symlink issue)
change ServerName 127.0.0.1 in /etc/apache2/2.2/httpd.conf to match IP entry in /etc/hosts
|
|
|
|
Posts:
2
From:
Registered:
11/7/09
|
|
|
|
Re: eon 0.59.4 hostname
Posted:
Nov 10, 2009 2:12 AM
in response to: dre2kse
To: Communities » distribution » discuss
|
|
Thanks dre! Works like a charm after changing etc/hosts/ to /etc/inet/hosts in /mnt/eon0/.backup.
Cheers, Patrik
Message was edited by: patbuck
|
|
|
|
|