Page 1 of 2
SOLVED: No dashboard access after installing transmission
Posted: Sun Nov 08, 2015 9:46 am
by messing
After I installed "transmission" I rebooted the amahi 8 server (fedora 21).
After that I was not able to reach the dashboard from my browsers (different devices).
Shares are there and I can log in the hda with ssh, but no dashboard (I use the IP-Number in my browser)
Any Idea?
Re: No dashboard access after installing transmission
Posted: Sun Nov 08, 2015 10:30 am
by bigfoot65
Recommend you check /var/log/amahi-app-installer.log for errors.
If you can access dashboard via IP address then this is a DNS issue. Check that your HDA is the DHCP and DNS server for your network.
Re: No dashboard access after installing transmission
Posted: Sun Nov 08, 2015 10:59 am
by messing
Yes, I know about the DNS issue. That is why I use the IP adress in browser.
But the dashboard is not reachable.
Here is the part from the mentioned log:
======= app install begin @ 2015-11-08 17:08:20 +0100 ==========
Installing app id csjnit42fq under /var/hda/platform/html/script/.. ENV=production
Your HDA services have been restarted.
Your HDA services have been restarted.
Installing amahi-transmission service
Enabling amahi-transmission service
Starting amahi-transmission (via systemctl): [ OK ]
App: Transmission installed
======= app install end @ 2015-11-08 17:08:30 +0100 ==========
Seems there is no error.
Can I restart the dashboard manualy? (I rebooted serveral times)
Re: No dashboard access after installing transmission
Posted: Sun Nov 08, 2015 12:02 pm
by messing
I'm not sure if the missing dashboard has to do with transmission at all but that was the last thing I've done before.
I found something interessting in /var/log/monit.log:
[CET Nov 8 19:53:31] error : 'apache' process is not running
[CET Nov 8 19:53:31] info : 'apache' trying to restart
[CET Nov 8 19:53:31] info : 'apache' start: /usr/bin/systemctl
[CET Nov 8 19:54:01] error : 'apache' failed to start (exit status 1) -- /usr/bin/systemctl: Job for httpd.service failed. See "systemctl status httpd.service" and "journalctl -xe" for details.
[CET Nov 8 19:54:31] error : 'apache' process is not running
[CET Nov 8 19:54:31] info : 'apache' trying to restart
[CET Nov 8 19:54:31] info : 'apache' start: /usr/bin/systemctl
[CET Nov 8 19:55:01] error : 'apache' failed to start (exit status 1) -- /usr/bin/systemctl: Job for httpd.service failed. See "systemctl status httpd.service" and "journalctl -xe" for details.
[CET Nov 8 19:55:31] error : 'apache' process is not running
[CET Nov 8 19:55:31] info : 'apache' trying to restart
[CET Nov 8 19:55:31] info : 'apache' start: /usr/bin/systemctl
This is repeating constantly.
Perhaps this helps to find the error!?
Re: No dashboard access after installing transmission
Posted: Sun Nov 08, 2015 12:19 pm
by bigfoot65
Post the results of:
Looks like the web server is not running.
Also try this:
Re: No dashboard access after installing transmission
Posted: Sun Nov 08, 2015 12:52 pm
by messing
systemctl status httpd.service shows this:
● httpd.service - The Apache HTTP Server
Loaded: loaded (/usr/lib/systemd/system/httpd.service; enabled)
Active: failed (Result: exit-code) since So 2015-11-08 20:51:31 CET; 39s ago
Process: 1536 ExecStart=/usr/sbin/httpd $OPTIONS -DFOREGROUND (code=exited, status=1/FAILURE)
Main PID: 1536 (code=exited, status=1/FAILURE)
Nov 08 20:51:31 localhost.localdomain httpd[1536]: AH00112: Warning: DocumentRoot [/var/hda/web-apps/cups/html] does not exist
Nov 08 20:51:31 localhost.localdomain httpd[1536]: AH00558: httpd: Could not reliably determine the server's fully qualified domain name, using localhost.lo...s message
Nov 08 20:51:31 localhost.localdomain httpd[1536]: (2)No such file or directory: AH02291: Cannot access directory '/var/hda/web-apps/cups/logs/' for error l...ps.conf:1
Nov 08 20:51:31 localhost.localdomain httpd[1536]: AH00014: Configuration check failed
Nov 08 20:51:31 localhost.localdomain systemd[1]: httpd.service: main process exited, code=exited, status=1/FAILURE
Nov 08 20:51:31 localhost.localdomain systemd[1]: Failed to start The Apache HTTP Server.
Nov 08 20:51:31 localhost.localdomain systemd[1]: Unit httpd.service entered failed state.
Nov 08 20:51:31 localhost.localdomain systemd[1]: httpd.service failed.
Hint: Some lines were ellipsized, use -l to show in full.
And systemctl restart httpd.service;
Failed to restart httpd.service: The name org.freedesktop.PolicyKit1 was not provided by any .ser vice files
Re: No dashboard access after installing transmission
Posted: Sun Nov 08, 2015 2:39 pm
by bigfoot65
Nov 08 20:51:31 localhost.localdomain httpd[1536]: (2)No such file or directory: AH02291: Cannot access directory '/var/hda/web-apps/cups/logs/' for error l...ps.conf:1
There's the issue.
Do you have the web app CUPS installed? If not, recommend you remove the conf file from /etc/httpd/conf.d directory. Once you have done that, restart httpd.
Re: No dashboard access after installing transmission
Posted: Sun Nov 08, 2015 3:03 pm
by messing
I renamed /etc/httpd/conf.d/1003-cups.conf file to 1003-cups.conx
After that I was able to log into the dashboard again.
But I installed cups because I connected a printer to my hda
viewtopic.php?f=9&t=6243
I guess the renaming of the cups config file will make trouble with my printer now!? What do I have to do now?
Re: No dashboard access after installing transmission
Posted: Sun Nov 08, 2015 3:10 pm
by bigfoot65
/var/hda/web-apps/cups/logs/
This is the issue with the CUPS conf file in
/etc/httpd/conf.d.
What you need to do is check that
/var/hda/web-apps/cups/logs exists and is owned by apache:users. Once you do that, you can rename the file back to
1003-cups.conf. Then restart httpd and it should be ok.
Another option is to remove the line with
/var/hda/web-apps/cups/logs from
1003-cups.conf. Then restart httpd.
Re: SOLVED: No dashboard access after installing transmission
Posted: Sun Nov 08, 2015 3:43 pm
by messing
I have done this and edited the cups wiki page as well.
Thanks for your help.