Page 1 of 3

SOLVED: Web Interface Vanished

Posted: Wed Dec 04, 2013 10:12 am
by cowen
Hi Guys,

Whilst eagerly waiting for the DLNA server to be released for Amahi 7, I decided to install some of the other apps.

So tonight I have installed phpmyFAQ and ajaxexplorer. Clicking on the links on the Amahi home page kept taking me to the normal amahi page though and not the page for the newly installed applications. Following the assumption that a reboot would be needed, I instructed the server to reboot using the button on the settings tab.

Now, the server is up again and all my shares are accessible. However, the web interface at http://hda/ is not found (using the ip address gives the same result). I have absolutely no idea where to start to solve this and so any pointers would be gratefully received.

Please note, I am new to Amahi and Linux and so assume I know nothing and you won't go far wrong!! :-)

Re: Web Interface Vanished

Posted: Wed Dec 04, 2013 10:48 am
by cowen
Driving blind, I ran the following command:
systemctl status httpd.service

and the following was the result:

httpd.service - The Apache HTTP Server
Loaded: loaded (/usr/lib/systemd/system/httpd.service; enabled)
Active: failed (Result: exit-code) since Wed 2013-12-04 18:34:54 CET; 24s ago
Process: 1273 ExecStop=/usr/sbin/httpd $OPTIONS -k graceful-stop (code=exited, status=1/FAILURE)
Process: 1271 ExecStart=/usr/sbin/httpd $OPTIONS -DFOREGROUND (code=exited, status=1/FAILURE)

Dec 04 18:34:54 localhost.localdomain httpd[1271]: httpd: Syntax error on line 56 of /etc/httpd/conf/httpd.conf: Synt...rence
Dec 04 18:34:54 localhost.localdomain systemd[1]: httpd.service: main process exited, code=exited, status=1/FAILURE
Dec 04 18:34:54 localhost.localdomain httpd[1273]: httpd: Syntax error on line 56 of /etc/httpd/conf/httpd.conf: Synt...rence
Dec 04 18:34:54 localhost.localdomain systemd[1]: httpd.service: control process exited, code=exited status=1
Dec 04 18:34:54 localhost.localdomain systemd[1]: Failed to start The Apache HTTP Server.
Dec 04 18:34:54 localhost.localdomain systemd[1]: Unit httpd.service entered failed state.

Continuing to dig...
Line 56 in the file is:
Include conf.modules.d/*.conf

Maybe this helps??

Re: Web Interface Vanished

Posted: Wed Dec 04, 2013 3:26 pm
by bigfoot65
Had the same thing happen to me. Not sure what the cause, but I had to shut down. When I started back up, it was fine.

Re: Web Interface Vanished

Posted: Sat Dec 07, 2013 11:44 am
by cowen
Rebooting several times over the last couple of days and the web interface hasn't fixed itself.

Does no one have any ideas or am I back to reinstalling again?

Re: Web Interface Vanished

Posted: Sat Dec 07, 2013 12:13 pm
by sgtfoo
do you have Plex installed?

An exterior version (not installed thru Amahi App store) of Plex seemed to crash my HDA dashboard Apache instance. I removed my Plex for a while and it was fine after. This might be a bug.

Re: Web Interface Vanished

Posted: Sat Dec 07, 2013 12:47 pm
by bigfoot65
Did you do any manual configuration? Is this an Express CD install? It may be a bug, but curious to find out if anything different was done from a default install.

Re: Web Interface Vanished

Posted: Sat Dec 07, 2013 5:20 pm
by cowen
Hey,
It was a standard install. Nothing was configured msnuslly. All apps that were installed were installed using the one-click install.

Nothing was installed that was not in the app store. (So no to Plex).

Re: Web Interface Vanished

Posted: Sat Dec 07, 2013 5:31 pm
by bigfoot65
OK, good. Sounds like it could be a bug. Please check the app install log for errors. It's in /var/logs folder.

Also check to see what is in /etc/httpd/conf.d folder too.

[ Post made via Android ] Image

Re: Web Interface Vanished

Posted: Sun Dec 08, 2013 3:31 am
by cowen
Info from install log is below. Unless I am missing something, there does not seem to be any errors reported.

======= app install begin @ 2013-12-04 17:37:34 +0100 ==========
Installing app id utilwkscf6 under /var/hda/platform/html ENV=production
NOTICE: redirected 'http://downloads.sourceforge.net/projec ... 0.2.tar.gz' --> 'http://netcologne.dl.sourceforge.net/pr ... 0.2.tar.gz' ...
file /var/hda/tmp/amahi-download-cache/29970d6c4831e83512819bb13cd8d8ac8a70a123 written in cache
Your HDA services have been restarted.
Your HDA services have been restarted.
NOTE: file /tmp/amahi-download-cache/e8b1094f0005156d55602c5098e71b154a9c2931 written in cache
App: AjaXplorer installed
======= app install end @ 2013-12-04 17:39:00 +0100 ==========
======= app install begin @ 2013-12-04 17:45:23 +0100 ==========
Installing app id en6zjs6zl4 under /var/hda/platform/html ENV=production
file /var/hda/tmp/amahi-download-cache/7b1dd7a71088d9f47d0955d7de8ca398116ceaea written in cache
Your HDA services have been restarted.
Your HDA services have been restarted.
NOTE: file /tmp/amahi-download-cache/88896d98139b04838d57fcd7ed6ecc11457a012f written in cache
App: phpMyFAQ installed
======= app install end @ 2013-12-04 17:45:53 +0100 ==========

The conf.d contains the following
01-platform.conf
03-calendar.conf
1000-arcadem.conf
1001-jukebox.conf
1002-phpmyadmin.conf
1003-phpsysinfo.conf
1004-owncloud.conf
1005-loganalyzer.conf
1006-ajaxplorer.conf
1007-myfaq.conf
passenger.conf
php.conf
README

Re: Web Interface Vanished

Posted: Sun Dec 08, 2013 4:06 am
by cowen
Further to this, I have just discovered that Greyhole has also stopped functioning. If I try to view the queue for example I see...

/usr/bin/php: relocation error: /usr/bin/php: symbol SSLeay_version, version OPENSSL_1.0.1 nor defined in file libcrypto.so.10 with link time reference