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 1LQNdk-0000xZ-NN for garchives@archives.gentoo.org; Fri, 23 Jan 2009 15:08:12 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 8706BE0728; Fri, 23 Jan 2009 15:08:10 +0000 (UTC) Received: from smtp.linuxant.fr (old-ns1.linuxant.fr [87.98.216.169]) by pigeon.gentoo.org (Postfix) with ESMTP id 3D56BE0728 for ; Fri, 23 Jan 2009 15:08:10 +0000 (UTC) Received: from web.linuxant.fr (web.linuxant.fr [192.168.0.10]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.linuxant.fr (Postfix) with ESMTPSA id 39A0581F57A for ; Fri, 23 Jan 2009 16:18:43 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxant.fr; s=DKIM; t=1232723923; bh=zSJo5pzbImaH1PwBn187Z76Kpa4HIGG6OFKsbiyYdVU=; h=MIME-Version:Date:From:To:Subject:Reply-To:In-Reply-To:References: Message-ID:Content-Transfer-Encoding:Content-Type; b=auXlXrn/rUOFg csMttE2kubjxw5pUfIwFxew5hEk0nt6RNcCTnfi6oDRYoqwe61FAOBasVzwvG+OyO2z BkR5BhkRT8e6GKU7jLvYRWh76AOPW+mSuasvo0cqLMeryuYsAl3L0gVnIl8YGen6wWc DBiszCqs+QRhDk2nCxc/ILm8= DomainKey-Signature: a=rsa-sha1; s=DomainKey; d=linuxant.fr; c=nofws; q=dns; h=mime-version:date:from:to:subject:reply-to:in-reply-to: references:received:message-id:x-sender:user-agent: content-transfer-encoding:content-type; b=iP3jeXx7mvIJh/JHbb6X7JDmxkYWhxwdz3Pmue4fnMGneRvDfaJjtgWTFmSyM0jj1 F7iIflDZ8d8eg9jw4wbEid6OAlUR3plevjw+jJt8I033Y7A15x1DMET1aiZOhs5CO3i zCs0MCAZ41rygVZ/UBe06dmDbT7MmCQv7XAai8c= 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 Date: Fri, 23 Jan 2009 16:18:42 +0100 From: Xav' To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] shoutcast problem 64bit gentoo In-Reply-To: <4979C4B3.5010807@radioluz.pwr.wroc.pl> References: <4979C4B3.5010807@radioluz.pwr.wroc.pl> Received: from LAubervilliers-153-51-33-219.w193-253.abo.wanadoo.fr [193.253.192.219] with HTTP/1.1 (POST); Fri, 23 Jan 2009 16:18:42 +0100 Message-ID: <3300b1d90daf42c2f790e802cc03bc0e@mail> X-Sender: xp@linuxant.fr User-Agent: RoundCube Webmail/0.2a Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Archives-Salt: 6ca050a5-ff7c-4c41-ae51-1b0371ea0e9d X-Archives-Hash: 97f80792f3b084d298eefb6a9e1f3b92 On Fri, 23 Jan 2009 14:22:59 +0100, Wojtek Dal=C4=99tka wrote: > Hi, > I've just installed 64bit gentoo on one of these machines: > http://www.ovh.pl/produkty/eg_best_of.xml >=20 > Everything seens to be fine. I use hardened profile but I've got proble= m > with ...running a shoutcast server. > I didn't find answer on winamp.com forum and google. >=20 > It's exactly the same problem like here: > http://forums.winamp.com/printthread.php?s=3D48cd69919741579a3c1e4a8b0ac3= e38b&threadid=3D229419 >=20 > At my server it fails this way: >=20 > 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 */]) =3D -1 ENOENT (No s= uch > file or directory) > dup(2) =3D 3 > fcntl(3, F_GETFL) =3D 0x8002 (flags O_RDWR|O_LARGEFILE) > fstat(3, {st_mode=3DS_IFCHR|0620, st_rdev=3Dmakedev(136, 0), ...}) =3D = 0 > mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0= ) > =3D 0x708341026000 > lseek(3, 0, SEEK_CUR) =3D -1 ESPIPE (Illegal seek) > write(3, "strace: exec: No such file or dir"..., 40strace: exec: No suc= h > file or directory > ) =3D 40 > close(3) =3D 0 > munmap(0x708341026000, 4096) =3D 0 > exit_group(1) =3D ? >=20 > 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) This is a joke, isn't it ??? the error message coming from rc script is a bit clear IMHO... > The problem is that shoutcast is 32 bit and system is 64 bit (and I > think it should be 64 @ this machine). 64bits system can run either 32 or 64 bits executables. After, it depends on the libraries used by the 32bits executable, so you have to use a multilib system. > I've tried to follow these tips from the forum but it didn't help me. >=20 > Can you help me? >=20 >=20 > Wojtek >=20 --=20 Xavier