SOLVED: Transmission Web App not starting

vegaramos1
Posts: 74
Joined: Thu Dec 16, 2010 6:00 pm

SOLVED: Transmission Web App not starting

Postby vegaramos1 » Sat May 24, 2014 7:59 am

My transmission web app was working fine a few weeks ago (last time I used it), but this morning when I click on the app, I just get forwarded to the Amahi.net site. I noticed the service is not running "failed" status, so I tried to restart the service:

Code: Select all

systemctl restart amahi-transmission.service Job for amahi-transmission.service failed. See 'systemctl status amahi-transmission.service' and 'journalctl -xn' for details.
Looking at the journal, see the following, but I haven't been able to find a resolution for it.

Code: Select all

-- Logs begin at Sat 2014-03-29 20:57:17 CDT, end at Sat 2014-05-24 09:54:24 CDT. -- May 24 09:53:34 localhost.localdomain runuser[61067]: pam_unix(runuser:session): session closed for user transmi May 24 09:53:34 localhost.localdomain amahi-transmission[61024]: [49B blob data] May 24 09:53:34 localhost.localdomain systemd[1]: amahi-transmission.service: control process exited, code=exite May 24 09:53:34 localhost.localdomain systemd[1]: Failed to start SYSV: This is a daemon which runs on the serve -- Subject: Unit amahi-transmission.service has failed -- Defined-By: systemd -- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel -- -- Unit amahi-transmission.service has failed. -- -- The result is failed. May 24 09:53:34 localhost.localdomain systemd[1]: Unit amahi-transmission.service entered failed state.
I have tried uninstalling the application, rebooting, and re-installing the application, but that hasn't helped. I have also done a

Code: Select all

yum -y update
But that hasn't helped either.

I see that SYSV failed to start, but I don't know what that is, and I can't find any log for the transmission app. Any help would be appreciated. Thanks.

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

Re: Transmission Web App not starting

Postby bigfoot65 » Sat May 24, 2014 8:06 am

Please post the results of systemctl status amahi-transmission.service.

Also when you install, ensure you clean up any left over files that it might have left behind. Easiest way to see what is installed is by doing rpm -ql amahi-transmission prior to uninstall. Make a note of the files and locations, then after uninstall ensure they are removed.

Often with Fedora packages, it leaves behind files with the extension of .rpmsave. You will want to remove those as well.

Then once all cleaned up, reboot and install the app. If it is still broken, please submit a bug report.
https://bugs.amahi.org
ßîgƒσστ65
Applications Manager

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

vegaramos1
Posts: 74
Joined: Thu Dec 16, 2010 6:00 pm

Re: Transmission Web App not starting

Postby vegaramos1 » Sun May 25, 2014 2:44 pm

I cleaned up the installation, then tried reinstalling transmission, still no joy. The results of systemctl status amahi-transmission.service is below. It sounds as if the service isn't available now. I'll submit a bug report. Thanks.

Code: Select all

sudo systemctl status amahi-transmission.service amahi-transmission.service Loaded: error (Reason: No such file or directory) Active: inactive (dead) May 24 20:22:15 localhost.localdomain systemd[1]: Failed to start SYSV: This ... May 24 20:22:15 localhost.localdomain systemd[1]: Unit amahi-transmission.ser... May 24 20:23:30 localhost.localdomain systemd[1]: Starting SYSV: This is a da... May 24 20:23:30 localhost.localdomain systemd[1]: amahi-transmission.service:... May 24 20:23:30 localhost.localdomain systemd[1]: Failed to start SYSV: This ... May 24 20:23:30 localhost.localdomain systemd[1]: Unit amahi-transmission.ser... May 24 20:23:45 localhost.localdomain systemd[1]: Starting SYSV: This is a da... May 24 20:23:45 localhost.localdomain systemd[1]: amahi-transmission.service:... May 24 20:23:45 localhost.localdomain systemd[1]: Failed to start SYSV: This ... May 24 20:23:45 localhost.localdomain systemd[1]: Unit amahi-transmission.ser...

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

Re: Transmission Web App not starting

Postby bigfoot65 » Sun May 25, 2014 4:14 pm

Please post the entire text of the
systemctl status amahi-transmission.service
.

Also, check /lib/systemd/system directory for amahi-transmission.service. If it is absent after the install, then the install did not complete correctly.

EDIT: Looks like the service should be in /etc/init.d directory and is called amahi-transmission. You should be able to do service amahi-transmission status to check if it's working.
ßîgƒσστ65
Applications Manager

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

vegaramos1
Posts: 74
Joined: Thu Dec 16, 2010 6:00 pm

Re: Transmission Web App not starting

Postby vegaramos1 » Wed May 28, 2014 12:13 pm

amahi-transmission is not in the /etc/init.d directory. I don't see anything in the app installer log that indicates a problem.

Code: Select all

======= app uninstall begin @ 2014-05-15 11:20:54 -0500 ========== Uninstalling app id csjnit42fq under /var/hda/platform/html/script/.. ENV=produ tion Your HDA services have been restarted. App: Transmission uninstalled ======= app uninstall end @ 2014-05-15 11:20:57 -0500 ========== ======= app install begin @ 2014-05-15 12:29:06 -0500 ========== Installing app id csjnit42fq under /var/hda/platform/html/script/.. ENV=produ tion file /var/hda/tmp/amahi-download-cache/84515cad07a3f66fe6ae2a32e78be42dd22f72a1 picked up from cache. Your HDA services have been restarted. Your HDA services have been restarted. App: Transmission installed ======= app install end @ 2014-05-15 12:29:13 -0500 ========== ======= app uninstall begin @ 2014-05-24 20:12:23 -0500 ========== Uninstalling app id csjnit42fq under /var/hda/platform/html/script/.. ENV=produ tion Your HDA services have been restarted. App: Transmission uninstalled ======= app uninstall end @ 2014-05-24 20:12:27 -0500 ========== ======= app install begin @ 2014-05-24 20:16:05 -0500 ========== Installing app id csjnit42fq under /var/hda/platform/html/script/.. ENV=produ tion

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

Re: Transmission Web App not starting

Postby bigfoot65 » Wed May 28, 2014 12:31 pm

Is this Fedora 19? Please check both directories I listed. According to the install script, it should be in /etc/init.d for Amahi 7. I did a test install and that's where it was located. Also was running fine for me.

Maybe that is the issue, the service is not found in either location. If that is the case, a manual install of the service may be required.
ßîgƒσστ65
Applications Manager

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

vegaramos1
Posts: 74
Joined: Thu Dec 16, 2010 6:00 pm

Re: Transmission Web App not starting

Postby vegaramos1 » Fri May 30, 2014 1:45 pm

The .service file can not be found in either location, and yes I am running Amahi 7/Fedora 19. It worked the first time I installed it, then one day it stopped working. So I uninstalled/reinstalled and now I don't even see the service listed. How can I install the service manually?

Edit: I do see the transmission binaries under /usr/bin, so perhaps only the service file is MIA.

Code: Select all

transmission-cli transmission-create transmission-daemon transmission-edit transmission-gtk transmission-remote transmission-show

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

Re: Transmission Web App not starting

Postby bigfoot65 » Fri May 30, 2014 2:47 pm

Ok, well I am confident the missing service file is the issue here.

Please download the attached file and name it amahi-transmission without the .txt extension. Put it in
/etc/init.d
Then do the following as root user:

Code: Select all

chown root:root /etc/init.d/amahi-transmission chmod 755 /etc/init.d/amahi-transmission chkconfig amahi-transmission on service amahi-transmission start
That should fix your problem. When the app is uninstalled, the service file is not removed. Did you remove it by chance? If not, then unsure how it disappeared.
Attachments
amahi-transmission.txt
(3.25 KiB) Downloaded 281 times
ßîgƒσστ65
Applications Manager

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

vegaramos1
Posts: 74
Joined: Thu Dec 16, 2010 6:00 pm

Re: Transmission Web App not starting

Postby vegaramos1 » Fri May 30, 2014 9:08 pm

Followed your instructions. Now I do have the service file, but it still won't start.

Code: Select all

[user@localhost init.d]$ systemctl status amahi-transmission.service amahi-transmission.service - SYSV: This is a daemon which runs on the server to download torrents Loaded: loaded (/etc/rc.d/init.d/amahi-transmission) Active: failed (Result: exit-code) since Fri 2014-05-30 22:07:09 CDT; 15s ago Process: 47428 ExecStart=/etc/rc.d/init.d/amahi-transmission start (code=exited, status=203/EXEC) May 30 22:07:09 localhost.localdomain systemd[1]: Starting SYSV: This is a da... May 30 22:07:09 localhost.localdomain systemd[1]: amahi-transmission.service:... May 30 22:07:09 localhost.localdomain systemd[1]: Failed to start SYSV: This ... May 30 22:07:09 localhost.localdomain systemd[1]: Unit amahi-transmission.ser... [user@localhost init.d]$ journalctl -xn|grep transmission May 30 22:09:57 localhost.localdomain systemd[47757]: Failed at step EXEC spawning /etc/rc.d/init.d/amahi-transmission: No such file or directory -- Subject: Process /etc/rc.d/init.d/amahi-transmission could not be executed -- The process /etc/rc.d/init.d/amahi-transmission could not be executed and failed. May 30 22:09:57 localhost.localdomain systemd[1]: amahi-transmission.service: control process exited, code=exited status=203 -- Subject: Unit amahi-transmission.service has failed -- Unit amahi-transmission.service has failed. May 30 22:09:57 localhost.localdomain systemd[1]: Unit amahi-transmission.service entered failed state. -- Subject: Unit amahi-transmission.service has begun with start-up -- Unit amahi-transmission.service has begun starting up. May 30 22:10:09 localhost.localdomain systemd[47795]: Failed at step EXEC spawning /etc/rc.d/init.d/amahi-transmission: No such file or directory -- Subject: Process /etc/rc.d/init.d/amahi-transmission could not be executed -- The process /etc/rc.d/init.d/amahi-transmission could not be executed and failed. May 30 22:10:09 localhost.localdomain systemd[1]: amahi-transmission.service: control process exited, code=exited status=203 -- Subject: Unit amahi-transmission.service has failed -- Unit amahi-transmission.service has failed. May 30 22:10:09 localhost.localdomain systemd[1]: Unit amahi-transmission.service entered failed state.
I checked, and I do see the amahi-transmission file in /etc/rc.d/init.d directory. Permissions for that file look like so:

Code: Select all

[user@localhost init.d]$ ls -l |grep amahi -rwxr-xr-x 1 root root 3326 May 30 22:03 amahi-transmission

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

Re: Transmission Web App not starting

Postby bigfoot65 » Sat May 31, 2014 5:25 am

Please file a bug report at https://bugs.amahi.org.
ßîgƒσστ65
Applications Manager

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

Who is online

Users browsing this forum: No registered users and 10 guests