Program doesn't work on boot up
Hello,
I have a program named Transmission that doesn't work correctly on boot up, but I can type "service transmission-daemon restart" and the program works just fine. What I mean by doesn't work on start up, I can do ps -A and see the pid, it seems to be active and working but I can't see any activities and can't connect to it remotely. Looking at the start up screen, it seems to be starting too early in the process. I see services like Samba and Apache starting after it starts. How do I move it back in the start up process? Or how can I troubleshoot why it doesn't work until I restart it? This is a Debian Wheezy video server... Pretty much all stable but I am using the latest (2.84) version of transmission. |
What do you mean by 'bootup'? Do you want it to run automatically right after the computer is booted? And how exactly are you doing that? Where did you insert the command to run transmission? Have you tried running that exact command in a console to see if any errors come up?
|
Thanks for responding...
Quote:
Quote:
Link Code:
ln -s /usr/local/lib/libevent-2.1.so.4 /usr/lib/libevent-2.1.so.4 Code:
#! /bin/sh Quote:
Also, part of the install instructions have you run the below commands which also work just fine... Code:
su transmission |
I made a new log file so I could see if anything was there and I think I see the problem. It looks like the application is having trouble binding to the ports. The ports it should be using are 51413 and 9091 for RPC.
Could it be starting before networking is started??? How can I tell what sequence each application is starting??? How can I move networking up on the startup list? I doubt if anything else is binding to the port since I can restart it and it works fine. Code:
[2014-11-08 20:55:31.583 MST] RPC Server Adding address to whitelist: *.*.*.* (rpc-server.c:814) |
I think I got it fixed by changing the start up script from;
Code:
# Required-Start: networking Code:
# Required-Start: $remote_fs $syslog $all And from what I'm seeing on google, the first networking entry should actually be; Code:
# Required-Start: $networking |
All times are GMT -5. The time now is 12:09 PM. |