Transmission server auto stop on v11

Re: Transmission server auto stop on v11

Postby dustmud » Wed Feb 29, 2012 6:12 pm

Well, it's a new hard disk, which i just replaced in nwsp2, so I think it might not be due to the disk issue.

I ls the content of tr-daemon, which is as below

blocklists resume settings.json torrents

There is no two files stats.json and stats.benc there.

I then rename the two folder tr-daemon and tr-downloads to another name, deleted the two file shares from the web interface. Then re-run the transmission script from the web interface by clicking "install / reset configuration files".

The above steps is to ensure that the script will not use the same sector as original tr-daemon folder. I wish I was doing this right.

And then after above steps, the folder content is still like above, two files missing. Only,
blocklists resume settings.json torrents

May I guess is there anything wrong with the script execution? Can I find the log of script execution somewhere in the system?

Thanks
dustmud
 

Re: Transmission server auto stop on v11

Postby dustmud » Wed Feb 29, 2012 6:23 pm

A new finding is that if i do not start any torrents, the server will be keeping on running.

But once I started any torrents, it just stopped abnormally
dustmud
 

Re: Transmission server auto stop on v11

Postby fvdw » Wed Feb 29, 2012 7:32 pm

there is nothing wrong with the scripts, I just installed transmission again and it works fine.
Where you get the segmentation fault is at the point were it tries to load the torrent, maybe this torrent link you use is the problem, try another torrent and see if the problem is still there
fvdw
Site Admin - expert
 
Posts: 13471
Joined: Tue Apr 12, 2011 2:30 pm
Location: Netherlands

Re: Transmission server auto stop on v11

Postby fvdw » Wed Feb 29, 2012 8:03 pm

you seem to be starting transmission-daemon not via the webinterface

if you start transmission-daemon using from the command line then the right way to do it is this ass follow

Code: Select all
EVENT_NOEPOLL=1
export EVENT_NOEPOLL
/usr/bin/transmission-daemon  -g /share/1000/tr-daemon


This only works if you installed transmission using the webinterface and configuration file is present in /share/1000/tr-daemon
the EVENT_NOEPOLL commands are essential and must be given in same command shell that is used to start transmission-daemon before starting the daemon itself. If you don't the daemon will stop
if you want to see the debug messages use
Code: Select all
EVENT_NOEPOLL=1
export EVENT_NOEPOLL
/usr/bin/transmission-daemon  -g /share/1000/tr-daemon --log-debug -f
fvdw
Site Admin - expert
 
Posts: 13471
Joined: Tue Apr 12, 2011 2:30 pm
Location: Netherlands

Re: Transmission server auto stop on v11

Postby dustmud » Sat Mar 03, 2012 3:50 am

Hi fvdw,

Thanks a lot. I think I have the problem solved now. It's due to DNS setting. I just switched from ISP DNS to Google Public DNS, then everything runs smoothly.

I am the damned China, and we have a Great Firewall here....

Though this might be a bug for Transmission, that wrong DNS setting, which prevents accessing some known sites, will cause the system crash..

Thanks a lot for all your patient help.

Cheers,
dustmud
 

Re: Transmission server auto stop on v11

Postby fvdw » Sat Mar 03, 2012 12:02 pm

:thumbup glad to hear you got it working. And yes probably this is a bug in transmission, maybe a future version of transmission might solve it ;)
fvdw
Site Admin - expert
 
Posts: 13471
Joined: Tue Apr 12, 2011 2:30 pm
Location: Netherlands

Re: Transmission server auto stop on v11

Postby dustmud » Sat Mar 03, 2012 3:00 pm

hi fvdw,

Thanks a lot. And I really appreciate your firmware works.

One more small question, though it's not impacting daily usage.

I am a Chinese user, so I have some files and folders named in Chinese characters. They are displayed well when I access the NWSP2 from Windows SMB, and XBMC from Apple TV. But when I logged in to NWSP2 with Putty, or other SSH client like SecureCRT, all the chinese characters are displayed in questions marks like "?????"

Some Internet search told me that I should set Putty to display Chinese after logging in, by using "export LC_ALL='zh_CN.utf8'". But I tried on NWSP2, seemed it still does not work. May you give me some suggestions?

Thanks
dustmud
 

Re: Transmission server auto stop on v11

Postby fvdw » Sat Mar 03, 2012 7:02 pm

:dontknow sorry dustmud, undoubtly it can be solved but I have no idea right now
fvdw
Site Admin - expert
 
Posts: 13471
Joined: Tue Apr 12, 2011 2:30 pm
Location: Netherlands

Previous

Return to Lacie Network Space vs2 and max version

Who is online

Users browsing this forum: No registered users and 4 guests