Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 303933 - net-p2p/rtorrent-0.8.6-r1: does not start if you add scgi_port = 127.0.0.1:1234. in .rtorrent.rc
Summary: net-p2p/rtorrent-0.8.6-r1: does not start if you add scgi_port = 127.0.0.1:12...
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo net-p2p team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-02-07 22:15 UTC by Evgeniy a.k.a Scolzyashii Semenov
Modified: 2011-04-18 21:02 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Evgeniy a.k.a Scolzyashii Semenov 2010-02-07 22:15:31 UTC
rtorrentd falls after added scgi_port = 127.0.0.1:1234. in /home/rtorrent/.rtorrent.rc

Reproducible: Always

Steps to Reproduce:
1. USE="daemond xmlrpc"emerge rtorrent
2. useradd -mU rtorrent
3. change USER="$USER" in /etc/conf.d/rtorrentd -> USER="$rtorrent"
4. create a file rtorrent.rc  in /home/rtorrent and record in a row scgi_port = 127.0.0.1:1234
5. /etc/init.d/rtorrentd start

Actual Results:  
After launch we obtain message - * Starting rtorrent ... [ ok ]
But if you look at htop such a process does not exist.
When you run / etc / init.d / rtorrentd start we get the message * WARNING: rtorrentd has already been started.
If comment lines about scgi_port rtorrent runs.
This problem also occurs in the stable version net-p2p/rtorrent-0.8.5


 emerge --info
Portage 2.1.7.16 (default/linux/x86/10.0, gcc-4.3.4, glibc-2.10.1-r1, 2.6.31-gentoo-r6 i686)
=================================================================
System uname: Linux-2.6.31-gentoo-r6-i686-Pentium-R-_Dual-Core_CPU_E5200_@_2.50GHz-with-gentoo-1.12.13
Timestamp of tree: Thu, 04 Feb 2010 21:30:01 +0000
app-shells/bash:     4.0_p35
dev-lang/python:     2.6.4
sys-apps/baselayout: 1.12.13
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.63-r1
sys-devel/automake:  1.9.6-r2, 1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc:       4.3.4
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="x86"
ACCEPT_LICENSE="* -@EULA"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=prescott -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/sandbox.d /etc/terminfo /etc/udev/rules.d"
CXXFLAGS=""
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="ru_RU.UTF-8"
LC_ALL=""
LDFLAGS="-Wl,-O1"
LINGUAS="ru"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="acl berkdb bzip2 cli cracklib crypt cups cxx daemon dri fastcgi fortran gdbm glibc-omitfp gpm iconv modules mudflap ncurses nls nptl nptlonly openmp pam pcre perl pppd python readline reflection session spl ssl sysfs tcpd unicode x86 xml xmlrpc xorg zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="ru" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="fbdev glint intel mach64 mga neomagic nv r128 radeon savage sis tdfx trident vesa via vmware voodoo"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 Evgeniy a.k.a Scolzyashii Semenov 2010-02-07 22:22:47 UTC
Sorry. USER="$rtorrent" should read as USER="rtorrent"
Comment 2 Dror Levin (RETIRED) gentoo-dev 2010-03-18 19:43:11 UTC
I cannot find any info on the scgi_port option. Where did you find it? Are you sure it's a valid option? It not existing could explain why rtorrent refuses to start :)
Comment 3 Evgeniy a.k.a Scolzyashii Semenov 2010-03-18 19:56:57 UTC
Here's the official documentation, am I wrong?
http://libtorrent.rakshasa.no/wiki/RTorrentXMLRPCGuide
Comment 4 Stanislav Ochotnicky (RETIRED) gentoo-dev 2010-04-11 21:21:02 UTC
I tried reproducing this bug and with both scgi_port set and daemon I am able to run /etc/init.d/rtorrent and connect to scgi_port (at least with netcat). Could you perhaps include your rtorrent.rc?

Also check if there is not anything else listening on that port (just in case)
Comment 5 Stanislav Ochotnicky (RETIRED) gentoo-dev 2011-04-18 21:02:22 UTC
Can't reproduce and no information from reporter. Closing. Anyone able to reproduce feel free to reopen/clone this bug