LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-21-2015, 03:40 PM   #1
testerko
LQ Newbie
 
Registered: Jun 2015
Posts: 2

Rep: Reputation: Disabled
[debian 8.1][trans.daemon 2.84][multipple instances] not running


Hi guys

I just moved to jessie from wheezy where i had several transmission daemons running side-by-side w/o any issues.
following this logic : https://trac.transmissionbt.com/wiki/UnixServer/Debian i did the same config as in wheezy.
Code:
    /etc/init.d/transmission-daemon | /etc/init.d/transmission-daemon-2 -the second instance has modified name to transmission-daemon-2

    /usr/bin/transmission-daemon | /usrb/bin/transmission-daemon-2 -copy of the original and working daemon

    /etc/default/transmission-daemon | /etc/default/transmission-daemon-2 -modified configuration file path to /etc/transmission-daemon-2

    /etc/transmission-daemon | /etc/transmission-daemon-2 -setting files are standalone and not simlinked to /var/lib/transmission-daemon(-2)/info

    /usre/share/transmission/web - shared by all daemons

settings.json of bouth instances are adjusted - different ports,usernames,passwords

when i start thee second daemon,he just fails to load w/o any error,but i can see this in my daemon.log :
Code:
    transmission-daemon[3605]: [2015-06-21 17:22:40.532 CEST] Couldn't save temporary file "/etc/transmission-daemon/settings.json.tmp.9MTGZz": Permission denied (variant.c:1227)
    transmission-daemon[3605]: Closing transmission session... done.
    transmission-daemon[4307]: [2015-06-21 17:22:41.792 CEST] Couldn't bind port 53000 on 0.0.0.0: Address already in use (Is another copy of Transmission already running?) (net.c:371)
    transmission-daemon[4307]: [2015-06-21 17:22:41.792 CEST] Couldn't bind port 53000 on ::: Address already in use (Is another copy of Transmission already running?) (net.c:371)
    transmission-daemon[4307]: [2015-06-21 17:22:41.792 CEST] UDP Couldn't bind IPv4 socket (tr-udp.c:263)
    transmission-daemon[4307]: [2015-06-21 17:22:41.792 CEST] UDP Couldn't rebind IPv6 socket (tr-udp.c:181)
    transmission-daemon[4307]: [2015-06-21 17:22:41.792 CEST] Couldn't save temporary file "/etc/transmission-daemon/settings.json.tmp.NrQwqP": Permission denied (variant.c:1227)


    transmission-daemon-2[3697]: [2015-06-21 17:22:48.324 CEST] Couldn't save temporary file "/etc/transmission-daemon/settings.json.tmp.iczJS7": Permission denied (variant.c:1227)
    transmission-daemon-2[3697]: Closing transmission session... done.
    transmission-daemon-2[4338]: [2015-06-21 17:22:49.594 CEST] UDP Failed to set receive buffer: requested 4194304, got 425984 (tr-udp.c:78)
    transmission-daemon-2[4338]: [2015-06-21 17:22:49.594 CEST] UDP Failed to set send buffer: requested 1048576, got 425984 (tr-udp.c:89)
    transmission-daemon-2[4338]: [2015-06-21 17:22:49.594 CEST] UDP Failed to set receive buffer: requested 4194304, got 425984 (tr-udp.c:78)
    transmission-daemon-2[4338]: [2015-06-21 17:22:49.594 CEST] UDP Failed to set send buffer: requested 1048576, got 425984 (tr-udp.c:89)
    transmission-daemon-2[4338]: [2015-06-21 17:22:49.594 CEST] Couldn't save temporary file "/etc/transmission-daemon/settings.json.tmp.QEgmg0": Permission denied (variant.c:1227)

im not sure what the buffer error messages mean ...
and im confused why the second deamon is pointing to the configuration directory of the default one
i also noticed that the settings.json for the second instance seems to be unused by the daemon = passwords stays in plain text,doesnt get encrypted

if i list all my running services, debian is showing me the bout are running but i am able to get on the webinterface only for the first daemon,the second one is not responding and the port is closed.

my configs :
default (installed/working) daemon : http://pastebin.com/VfyWwpQ2
secondary daemon : http://pastebin.com/8CkUJ7uw


any help is welcome ... thx
 
Old 06-23-2015, 02:44 PM   #2
dijetlo
Senior Member
 
Registered: Jan 2009
Location: RHELtopia....
Distribution: Solaris 11.2/Slackware/RHEL/
Posts: 1,307
Blog Entries: 2

Rep: Reputation: Disabled
Hey Testerko,

Quote:
2:41.792 CEST] Couldn't bind port 53000 on 0.0.0.0: Address already in use (Is another copy of Transmission already running?) (net.c:371)
Which is both helpful and true as far as error messages go...

Move the daemon to another port (52999 comes to mind, but amuse yourself here).
Test it and see if that resolves the permissions problem (it could, maybe...or at least I'm going to argue that until it bursts into flame and crashes again...albeit, bound to the right port this time).
If it doesn't work, post the error it generates after it binds the second port.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Debian Wheezy: How to get a Google Voice program/daemon up and running? Cyberman Linux - Software 5 09-23-2013 06:03 PM
pppd, running instances Daniel T Linux - Networking 1 05-23-2010 12:29 PM
Debian running on NAS. Need to start daemon after reboot ravedog Linux - Newbie 3 09-08-2009 03:08 PM
number of running instances hk_linux Programming 0 01-06-2005 12:47 AM
9 httpd instances running!?? jlinden Linux - Newbie 2 09-17-2003 12:32 PM


All times are GMT -5. The time now is 02:55 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration