The ventrilo 3.0.3 init script reports, that Ventrilo failed to start, when in fact it is running and working without problems. Reproducible: Always Steps to Reproduce: 1.Try to start Ventrilo 3.0.3 2. 3. Actual Results: * Starting Ventrilo VoIP Server... * start-stop-daemon: failed to start `/opt/ventrilo-server/ventrilo_srv' [ !! ] * ERROR: ventrilo failed to start Expected Results: Not getting an error message, when in fact everything worked # /etc/init.d/ventrilo start * Starting Ventrilo VoIP Server... * start-stop-daemon: failed to start `/opt/ventrilo-server/ventrilo_srv' [ !! ] * ERROR: ventrilo failed to start # ps ax | grep ventrilo_srv 31381 ? S<s 0:00 /opt/ventrilo-server/ventrilo_srv -f/opt/ventrilo-server/ventrilo_srv -d 31389 pts/0 D+ 0:00 grep --colour=auto ventrilo_srv As you can see ventrilo is running, and I can connect to the server without any problems.
Please post your "emerge --info"
(In reply to comment #1) > Please post your "emerge --info" > Sorry forgot about it. emerge --info Portage 2.1.6.7 (default/linux/amd64/2008.0, gcc-4.3.3, glibc-2.9_p20081201-r2, 2.6.28-gentoo-r2 x86_64) ================================================================= System uname: Linux-2.6.28-gentoo-r2-x86_64-AMD_Athlon-tm-_64_X2_Dual_Core_Processor_3800+-with-glibc2.2.5 Timestamp of tree: Mon, 02 Mar 2009 13:00:01 +0000 ccache version 2.4 [enabled] app-shells/bash: 3.2_p48-r1 dev-java/java-config: 1.3.7-r1, 2.1.7 dev-lang/python: 2.5.4-r2 dev-python/pycrypto: 2.0.1-r6 dev-util/ccache: 2.4-r8 sys-apps/baselayout: 2.0.0 sys-apps/openrc: 0.4.3-r1 sys-apps/sandbox: 1.3.8 sys-devel/autoconf: 2.13, 2.63 sys-devel/automake: 1.4_p6, 1.5, 1.7.9-r1, 1.9.6-r2, 1.10.2 sys-devel/binutils: 2.19.1 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.2.6a virtual/os-headers: 2.6.28-r1 ACCEPT_KEYWORDS="amd64 ~amd64" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=athlon64 -O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /var/bind" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d" CXXFLAGS="-march=athlon64 -O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="candy ccache distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://gd.tuwien.ac.at/opsys/linux/gentoo/ ftp://gd.tuwien.ac.at/opsys/linux/gentoo/ http://gentoo.inode.at/ ftp://gentoo.inode.at/source/ ftp://ftp.tu-clausthal.de/pub/linux/gentoo/ ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/ http://ftp.jaist.ac.jp/pub/Linux/Gentoo/" LANG="de_AT.UTF-8" LC_ALL="de_AT.UTF-8" LDFLAGS="-Wl,-O1" LINGUAS="de en" MAKEOPTS="-j3" 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" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="7zip acl acpi amd64 apache2 berkdb bzip2 calendar charconv cli cracklib crypt cups curl divx doc dri fbcon flash fortran ftp gd gdbm gif gpm iconv imap innodb ipv6 isdnlog javascript jpeg jpeg2k json kpathsea ldap midi mmx mng mudflap multilib mysql mysqli ncurses nls nptl nptlonly offensive ogg openmp openssh pam pcre perl php png pop3d pppd python readline reflection ruby samba session slang soap sockets spell spl sse sse2 ssl suexec svg svgz symlink sysfs tcpd tokenizer truetype unicode usb vim-syntax vorbis xml xml-rpc xmlreader xmlwriter xorg xvid zip zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci 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 auth_digest authn_anon authn_dbd 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 dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" APACHE2_MPMS="prefork" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de en" USERLAND="GNU" VIDEO_CARDS="nv vesa" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Reassigning to maintainer, CCing sound herd.
Are you upgrading from an older installation, or is it a new installation?
(In reply to comment #4) > Are you upgrading from an older installation, or is it a new installation? > It was an upgrade from 3.0.2. And just fyi: I did upgrade all files through dispatch-conf
Okay, which user is the owner of /opt/ventrilo-server and the files inside?
4096 12K drwxr-xr-x 2 root root 8.0K Mar 2 16:26 ventrilo-server total 2.4M 4096 12K drwxr-xr-x 2 root root 8.0K Mar 2 22:17 . 2 8.0K drwxr-xr-x 5 root root 4.0K Feb 6 15:07 .. 4097 460K -rwxr-xr-x 1 root root 458K Mar 2 13:48 ventrilo_srv 12289 8.0K -rw-r--r-- 1 root root 5.7K Mar 2 15:02 ventrilo_srv.chn 4098 4.0K -rw-r--r-- 1 root root 494 Mar 2 16:23 ventrilo_srv.ini 4100 1.9M -rw-r----- 1 ventrilo root 1.9M Mar 2 21:22 ventrilo_srv.log 57470 4.0K -rw------- 1 root root 306 Mar 2 16:02 ventrilo_srv.motd 12291 4.0K -rw-r--r-- 1 root root 3.8K Mar 2 15:03 ventrilo_srv.usr 4099 56K -rwxr-xr-x 1 root root 54K Mar 2 13:48 ventrilo_status --- I changed the owner of ventrilo_srv.ini to ventrilo myself, as ventrilo refused to start completely. Everything else is unchanged.
Sorry that was ventrilo_srv.log not ini file I changed.
Theres the problem. In the new ebuild, ventrilo runs as it's own user. chown the directory, so the ventrilo user owns it, and do the same thing with these files: ventrilo_srv.ini ventrilo_srv.motd ventrilo_srv.usr And see if that helps.
Yes that helped. Would be a good idea, if the ebuild could actually check/correct the owner of the files, and (if possible) copy over and existing ventrilo_srv.ini from /etc/ventrilo/ if there is one. Anyways, thanks for the effort.
Copying files from another location is not a possibility, since it is sandboxed. But I can add a warning informing users that they should make sure the directory and files are owned by the right user, and to copy their ini file if it is placed somewhere else. I'll see if I get time to do that later tonight.
*** Bug 260862 has been marked as a duplicate of this bug. ***