SOLVED: No dashboard access after installing transmission

messing
Posts: 18
Joined: Sat Nov 07, 2015 9:49 am

SOLVED: No dashboard access after installing transmission

Postby messing » Sun Nov 08, 2015 9:46 am

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?

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

Re: No dashboard access after installing transmission

Postby bigfoot65 » Sun Nov 08, 2015 10:30 am

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.
ßîgƒσστ65
Applications Manager

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

messing
Posts: 18
Joined: Sat Nov 07, 2015 9:49 am

Re: No dashboard access after installing transmission

Postby messing » Sun Nov 08, 2015 10:59 am

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)

messing
Posts: 18
Joined: Sat Nov 07, 2015 9:49 am

Re: No dashboard access after installing transmission

Postby messing » Sun Nov 08, 2015 12:02 pm

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!?

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

Re: No dashboard access after installing transmission

Postby bigfoot65 » Sun Nov 08, 2015 12:19 pm

Post the results of:

Code: Select all

systemctl status httpd.service
Looks like the web server is not running.
Also try this:

Code: Select all

systemctl restart httpd.service
ßîgƒσστ65
Applications Manager

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

messing
Posts: 18
Joined: Sat Nov 07, 2015 9:49 am

Re: No dashboard access after installing transmission

Postby messing » Sun Nov 08, 2015 12:52 pm

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

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

Re: No dashboard access after installing transmission

Postby bigfoot65 » Sun Nov 08, 2015 2:39 pm

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.
ßîgƒσστ65
Applications Manager

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

messing
Posts: 18
Joined: Sat Nov 07, 2015 9:49 am

Re: No dashboard access after installing transmission

Postby messing » Sun Nov 08, 2015 3:03 pm

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?

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

Re: No dashboard access after installing transmission

Postby bigfoot65 » Sun Nov 08, 2015 3:10 pm

/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.
ßîgƒσστ65
Applications Manager

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

messing
Posts: 18
Joined: Sat Nov 07, 2015 9:49 am

Re: SOLVED: No dashboard access after installing transmission

Postby messing » Sun Nov 08, 2015 3:43 pm

I have done this and edited the cups wiki page as well.

Thanks for your help.

Who is online

Users browsing this forum: No registered users and 19 guests