SOLVED: Network trouble on clean install Amahi 7

bellamatt
Posts: 57
Joined: Wed Jan 05, 2011 5:38 am

SOLVED: Network trouble on clean install Amahi 7

Postby bellamatt » Sat Aug 03, 2013 11:11 pm

I just installed Amahi 7 on my server, but am having troubles with the network. httpd doesnt start cleanly on reboot (or on first boot for that matter):

Code: Select all

[root@server ~]# service httpd status Redirecting to /bin/systemctl status httpd.service httpd.service - The Apache HTTP Server Loaded: loaded (/usr/lib/systemd/system/httpd.service; enabled) Active: failed (Result: exit-code) since Sun 2013-08-04 16:03:30 EST; 2min 36s ago Process: 601 ExecStop=/usr/sbin/httpd $OPTIONS -k graceful-stop (code=exited, status=0/SUCCESS) Process: 451 ExecStart=/usr/sbin/httpd $OPTIONS -DFOREGROUND (code=exited, status=1/FAILURE) Aug 04 16:03:30 server.home.gateway systemd[1]: Starting The Apache HTTP Server... Aug 04 16:03:30 server.home.gateway httpd[451]: AH00557: httpd: apr_sockaddr_info_get() failed for server.home.gateway Aug 04 16:03:30 server.home.gateway httpd[451]: AH00558: httpd: Could not reliably determine the server's fully qualified domain name, ...message Aug 04 16:03:30 server.home.gateway systemd[1]: httpd.service: main process exited, code=exited, status=1/FAILURE Aug 04 16:03:30 server.home.gateway httpd[601]: AH00557: httpd: apr_sockaddr_info_get() failed for server.home.gateway Aug 04 16:03:30 server.home.gateway httpd[601]: AH00558: httpd: Could not reliably determine the server's fully qualified domain name, ...message Aug 04 16:03:30 server.home.gateway httpd[601]: httpd (no pid file) not running Aug 04 16:03:30 server.home.gateway systemd[1]: Failed to start The Apache HTTP Server. Aug 04 16:03:30 server.home.gateway systemd[1]: Unit httpd.service entered failed state.
It works ok if I start manually. Any ideas on the problem? It's a clean install.

bellamatt
Posts: 57
Joined: Wed Jan 05, 2011 5:38 am

Re: Network trouble on clean install Amahi 7

Postby bellamatt » Sat Aug 03, 2013 11:27 pm

Secondary issue - on the network troubleshooter, the first instruction is to run "nslookup hda". nslookup isnt installed by default in the install - you need to install bind-utils to make it work. I understand that Amahi 7 doesnt use bind any more - I think the equivalent is "dig hda"?

edit: dig is not installed by default either. I just installed bind-utils.

bellamatt
Posts: 57
Joined: Wed Jan 05, 2011 5:38 am

Re: Network trouble on clean install Amahi 7

Postby bellamatt » Sun Aug 04, 2013 12:47 am

update - I installed the Plex app and it seems to have fully broken httpd - the service won't start manually now after restarts. Status gives the same errors as before, none of which are particularly helpful. Since httpd isnt working I can't roll back Plex to get it going again. Help! In case it's useful, here's the results of my network troubleshooter http://sprunge.us/TJjU - you can see that it was working for a short time until the Plex app was being installed.

User avatar
bigfoot65
Project Manager
Posts: 11924
Joined: Mon May 25, 2009 4:31 pm

Re: Network trouble on clean install Amahi 7

Postby bigfoot65 » Sun Aug 04, 2013 6:36 am

Sounds like maybe the install was not successful. Recommend you check the log for errors. I think it's located in /tmp or /root directory.

Also the Plex app is not LIVE for Fedora 19. We are still trying to work out some issues with apps. There are only a few LIVE at the moment.
ßîgƒσστ65
Applications Manager

My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2

bellamatt
Posts: 57
Joined: Wed Jan 05, 2011 5:38 am

Re: Network trouble on clean install Amahi 7

Postby bellamatt » Sun Aug 04, 2013 9:49 am

I managed to get the httpd service working, not sure if the fix is proper but seems ok so far. I googled error code "AH00016: Configuration Failed" from my httpd error log, and tried post 8 from this Fedora forum post
I had the very same problem and solved it changing the content of /etc/hostname to "localhost" as well as putting "localhost" in the "ServerName" option in /etc/httpd/conf/httpd.conf
Did that, and httpd starts nicely. Plex is also working after reinstallation. Not sure why this works but hopefully it helps others debug!

Who is online

Users browsing this forum: No registered users and 13 guests