"rTorrent's user can't access 'id' program."
Register

We are the best invite forum on the internet! Here you will find free invites, free seedboxes, free bonuses, and much more. Our members know the true meaning of sharing and have created a truly global bittorent community! Our site has the most up to date information on all private trackers and our members will guide you and introduce you to this truly secretive and enlightened club. Ready to get started? Register now!


Page 1 of 2 1 2 LastLast
Results 1 to 10 of 11
Like Tree1Likes

Thread: "rTorrent's user can't access 'id' program."

  1. #1

    Join Date
    Apr 2011
    Location
    Germany
    Posts
    178

    Default "rTorrent's user can't access 'id' program."

    Hey guys, I seem to have the most terrible luck with seedbox torrent clients. My newest trouble with rTorrent is the error:

    "rTorrent's user can't access 'id' program. Some functionality will be unavailable."

    As it happens, this functionality is exactly adding new torrents and basically my client is unusable right now, which is pretty bad considering that I can't get my Deluge working either.



    Any ideas?


  2. To remove ads become VIP. Inquire about advertising here.
  3. #2

    Join Date
    Jun 2011
    Posts
    5,584
    Blog Entries
    1

    Default

    Quote Originally Posted by LateralNoise View Post
    Hey guys, I seem to have the most terrible luck with seedbox torrent clients. My newest trouble with rTorrent is the error:

    "rTorrent's user can't access 'id' program. Some functionality will be unavailable." ... Any ideas?


    At face value, this message is saying that your user (account) cannot access id.

    So to troubleshoot this..
    1. Confirm whether the 'id' program is accessible by rTorrent's user. E.g. login under that user and paste the string from config.php to command line.

    2) Or it may be a permissions issue e.g. the web server or rTorrent can't access /tmp directory for RWX. Or the /tmp directory for rTorrent and your web-server are not the some. Perhaps you used chroot on the web server or rtorrent separately? So check those points.

    The normal permissions for the tmp directory probably should be 1777. If they aren't use chmod to change them



    Fortune and love favour the brave .-. Ovid ....

  4. #3

    Join Date
    Feb 2011
    Location
    London, UK
    Posts
    1,646

    Default

    Probably down to folder permissions. Make sure your users have full permissions on the /tmp directory.

    Check out this link for more detailed info and possible solutions https://code.google.com/p/rutorrent/.../detail?id=459

    "The strength to change what I can, the inability to accept what I can't, and the incapacity the tell the difference."


  5. #4

    Join Date
    Apr 2011
    Location
    Germany
    Posts
    178

    Default

    I checked the config.php file but I'm nor sure what should I paste in the command line, there isn't anything of much interest in this file... The only mention of the 'id' program is:

    $pathToExternals = array(
    "php" => '', // Something like /usr/bin/php. If empty, will be founded in PATH.
    "curl" => '', // Something like /usr/bin/curl. If empty, will be founded in PATH.
    "gzip" => '', // Something like /usr/bin/gzip. If empty, will be founded in PATH.
    "id" => '', // Something like /usr/bin/id. If empty, will be founded in PATH.
    "stat" => '', // Something like /usr/bin/stat. If empty, will be founded in PATH.
    );
    Also, I chmod'ed the /tmp folder permission to 1777 but I still get the error in the rutorrent gui.

  6. #5

    Join Date
    Jun 2011
    Posts
    5,584
    Blog Entries
    1

    Default



    Okay it sounds like you have set the permissions for /tmp. Did you check them before using chmod? And if so, were they correct? You should also confirm that they are now correct. I.e. don't assume that chmod worked, use ls -l to confirm the permissions. Also confirm that your web server and rtorrent are both configured to use the same tmp directory.

    The reason that we were looking in config.php was to discern where the id program was defined (as being located).
    Typically it would be located in /usr/bin/id

    So you just want to check that it exists and is accessible. So check what user rtorrent is configured for. Enure that you are currently logged in as that user and do something like..
    $ cd /
    $ cd /usr/bin
    $ ./id

    If the output wasn't intelligible or accessible or id was located somewhere else, you'd need to address those point(s).
    It's all in the details. Never assume that something is correct when troubleshooting, ensure that you confirm each point.




    Last edited by Copper; October 29th, 2011 at 05:05 AM.
    Fortune and love favour the brave .-. Ovid ....

  7. #6

    Join Date
    Apr 2011
    Location
    Germany
    Posts
    178

    Default

    Hm, I didn't check permissions before changing them but it seems like it worked. Permissions now are:

    drwxrwxrwt 266 root root 12288 Oct 29 15:42 tmp

    There is no id folder in /usr/bin but all of the 3 commands gave intelligible responses. I'm not really sure I understand the whole program 'id' thing, what does this even do?

    P.S. Thanks for the detailed responses, copper. I appreciate it.

  8. #7

    Join Date
    Jun 2011
    Posts
    5,584
    Blog Entries
    1

    Default



    Okay, next time you should check the permissions before changing them. It would have been a useful datum to help understand what is going on. If you aren't familiar with *nix permissions, you can look at this link - Linux file permissions

    But in short the leading 1 indicates it is a directory and a 7 indicates full permission (Read, Write, Xecute)
    There are three groups that each have their permissions defined.. so you end up with..

    directory/user permissions/group permissions/other permissions
    So 1777, signifies that it is a directory and *everyone* with access to that directory can read, write or execute there.
    1777 = d rwx rwx rwx

    'id' is not a folder, it is an executable i.e. a program. It identifies processes; PID, more or less.



    Last edited by Copper; October 29th, 2011 at 05:07 AM.
    LateralNoise likes this.
    Fortune and love favour the brave .-. Ovid ....

  9. #8

    Join Date
    Apr 2011
    Location
    Germany
    Posts
    178

    Default

    Thanks for the link, copper. That clarified a lot. I still didn't know what "t" at the end of the /tmp dir permissions meant but I changed them again to rwxrwxrwx, for all it's worth.
    Sadly, this still doesn't solve the 'id' error and rtorrent is still unusable.

  10. #9

    Join Date
    Jun 2011
    Posts
    5,584
    Blog Entries
    1

    Default




    The frustrating part about troubleshooting is that success can hinge on an easily overlooked detail. Maybe double check everything you just did?

    Since this is most likely a directory permissions issue.. in particular, did you confirm that rtorrent and your web server are both configured to use the same tmp directory? Ensure that you check the configuration files for rtorrent, web server and for that matter your server. Also check the permissions for /var. Check the path for anomalies. I wouldn't even assume that you know which web server is being used. Make sure you confirm that by using ps and looking for the active server instance.

    $ ps aux

    Other than that.. it's possible that the error message is spurious. I don't think that it is.. but you could quote the message and feed it into Google. Possibly something is corrupt in your rtorrent installation. Or it's dependencies. As a last resort, I would try reinstalling rtorrent.


    --
    The "t" is a 'sticky bit'. This isn't used in most systems anymore and is unlikely to be the cause of your error. But as your system appears to use sticky bits, you should probably change that back to a trailing 't'. It is meant to be a sort of write protect flag, to prevent the accidental deletion of files where you have multiple users. You can read more about that if you want here -
    Linux file permissions (sticky bits)



    Last edited by Copper; October 29th, 2011 at 06:44 AM.
    Fortune and love favour the brave .-. Ovid ....

  11. #10

    Join Date
    Apr 2011
    Location
    Germany
    Posts
    178

    Default

    I am pretty sure the installation shouldn't be corrupt because the client has worked perfectly 5 months already and it is still working now and seeding my torrents. I just can't add new ones because of this error.

    I double-checked permissions on /tmp and /var.
    /tmp was drwxrwxrwt and /var was drwxr-xr-x which I changed to drwxrwxrwt just to be sure.

    I'm not really sure how to check if rtorrent and the web server are configured for the same /tmp folder though. I opened the file /usr/share/doc/rtorrent/examples/rtorrent.rc with nano and it's just an empty file, no contents what so ever.

    Ps aux gives me the following and I don't know what to look for. rTorrent seems to be running fine:

    Code:
    USER       PID %CPU %MEM    VSZ   RSS TTY      STAT START   TIME COMMANDroot         1  0.0  0.0  23452  1620 ?        Ss   Oct04   0:00 init
    root      1113  0.0  0.0  49264  1092 ?        Ss   Oct04   0:00 /usr/sbin/sshd
    108       1137  0.0  0.0  23528   896 ?        Ss   Oct04   0:00 dbus-daemon --system --fork
    root      1184  0.0  0.0  21080  1012 ?        Ss   Oct04   0:07 cron
    root      1237  0.0  0.0  27120  1416 ?        Ss   Oct04   0:00 /usr/sbin/vsftpd
    syslog    1273  0.0  0.0  12452   812 ?        Ss   Oct04   0:07 /sbin/syslogd -u syslog
    root      1357  0.0  0.0  25800  1536 ?        Ss   Oct04   4:50 /usr/sbin/ntpd -p /var/run/ntpd.pid -g -u 111:115
    bind      1364  0.0  0.7 159212 15728 ?        Ssl  Oct04   0:00 /usr/sbin/named -u bind
    113       1552  0.1  0.1 164872  2652 ?        Ssl  Oct04  61:00 /usr/bin/transmission-daemon --config-dir /var/lib/tra
    root      1570  0.0  0.0  19528   936 ?        Ss   Oct04   0:00 /usr/sbin/xinetd -pidfile /var/run/xinetd.pid -stayali
    root      1639  0.0  0.1  69524  2180 ?        Ss   Oct04   1:36 sendmail: MTA: rejecting new messages: min free: 100
    root      1641  0.0  0.6 208048 12952 ?        Ss   Oct04   3:27 /usr/sbin/apache2 -k start
    root     15946  0.0  0.1 188348  4032 ?        Sl   Oct06   0:00 /usr/sbin/console-kit-daemon --no-daemon
    www-data 20083  0.0  0.6 211196 13700 ?        S    02:53   0:00 /usr/sbin/apache2 -k start
    1001     23981  0.0  0.0  23836  1376 ?        Ss   14:55   0:00 SCREEN rtorrent
    1001     23983  6.1  1.9 135680 40220 pts/0    Ss+  14:55  15:31 rtorrent
    www-data 23984  0.0  0.5 209228 11456 ?        S    14:55   0:00 /usr/sbin/apache2 -k start
    www-data 23989  0.0  0.5 209236 11008 ?        S    14:55   0:01 /usr/sbin/apache2 -k start
    www-data 24235  0.0  0.5 209228 11104 ?        S    15:43   0:00 /usr/sbin/apache2 -k start
    www-data 25651  0.0  0.5 209220 10852 ?        S    18:12   0:00 /usr/sbin/apache2 -k start
    root     25754  0.0  0.1  79168  3420 ?        Ss   18:50   0:00 sshd: user_name [priv]
    1001     25769  0.0  0.0  79168  1752 ?        S    18:51   0:00 sshd: user_name@pts/1
    1001     25770  0.0  0.0   4096   660 pts/1    Ss   18:51   0:00 -sh
    1001     25838  0.0  0.0  14976  1124 pts/1    R+   19:06   0:00 ps aux
    Last edited by LateralNoise; October 29th, 2011 at 07:11 AM.

Page 1 of 2 1 2 LastLast

Similar Threads

  1. [Help]Unpack plugin: rTorrent's user can't access unrar program
    By subhadeepg in forum Seedbox Tutorials
    Replies: 0
    Last Post: September 3rd, 2011, 07:19 AM
  2. T-I User Can't Get Reset Password
    By AfterMidnight in forum Help
    Replies: 2
    Last Post: March 10th, 2010, 01:54 PM
  3. New users can browse intro forum?!?
    By rawr in forum Suggestions
    Replies: 14
    Last Post: August 31st, 2009, 12:04 AM
  4. Can anyone access TI IRC?
    By nonameacc in forum General Discussion
    Replies: 6
    Last Post: June 26th, 2009, 03:38 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •