From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([69.77.167.62] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1LQM00-0006M4-SE for garchives@archives.gentoo.org; Fri, 23 Jan 2009 13:23:05 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 507BDE08F4; Fri, 23 Jan 2009 13:23:03 +0000 (UTC) Received: from m102.home.net.pl (m102.home.net.pl [62.129.253.102]) by pigeon.gentoo.org (Postfix) with SMTP id 8F0EAE08F4 for ; Fri, 23 Jan 2009 13:23:02 +0000 (UTC) Received: from 78.8.142.128 (HELO ?192.168.1.104?) (webmaster.nadaje@home@78.8.142.128) by m102.home.net.pl with SMTP; Fri, 23 Jan 2009 13:23:04 -0000 Message-ID: <4979C4B3.5010807@radioluz.pwr.wroc.pl> Date: Fri, 23 Jan 2009 14:22:59 +0100 From: =?ISO-8859-2?Q?Wojtek_Dal=EAtka?= User-Agent: Thunderbird 2.0.0.19 (X11/20090121) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 To: gentoo-user@lists.gentoo.org Subject: [gentoo-user] shoutcast problem 64bit gentoo Content-Type: text/plain; charset=ISO-8859-2 Content-Transfer-Encoding: 7bit X-Archives-Salt: c73077f1-cba4-4293-8f83-67b430e0473e X-Archives-Hash: 0ef4cc272eafdc0de08f07d8c0d10759 Hi, I've just installed 64bit gentoo on one of these machines: http://www.ovh.pl/produkty/eg_best_of.xml Everything seens to be fine. I use hardened profile but I've got problem with ...running a shoutcast server. I didn't find answer on winamp.com forum and google. It's exactly the same problem like here: http://forums.winamp.com/printthread.php?s=48cd69919741579a3c1e4a8b0ac3e38b&threadid=229419 At my server it fails this way: gentoo shoutcast # pwd /home/something/shoutcast gentoo shoutcast # file * logs: directory sc_serv: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), for GNU/Linux 2.2.5, dynamically linked (uses shared libs), stripped sc_serv8002.conf: ASCII English text, with CRLF, LF line terminators gentoo shoutcast # strace ./sc_serv execve("./sc_serv", ["./sc_serv"], [/* 26 vars */]) = -1 ENOENT (No such file or directory) dup(2) = 3 fcntl(3, F_GETFL) = 0x8002 (flags O_RDWR|O_LARGEFILE) fstat(3, {st_mode=S_IFCHR|0620, st_rdev=makedev(136, 0), ...}) = 0 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x708341026000 lseek(3, 0, SEEK_CUR) = -1 ESPIPE (Illegal seek) write(3, "strace: exec: No such file or dir"..., 40strace: exec: No such file or directory ) = 40 close(3) = 0 munmap(0x708341026000, 4096) = 0 exit_group(1) = ? gentoo shoutcast # /etc/init.d/shoutcast start * Starting Shoutcast Server ... [ ok ] gentoo shoutcast # /sbin/start-stop-daemon: Unable to start /opt/shoutcast/sc_serv: No such file or directory (No such file or directory) The problem is that shoutcast is 32 bit and system is 64 bit (and I think it should be 64 @ this machine). I've tried to follow these tips from the forum but it didn't help me. Can you help me? Wojtek