On Fri, 23 Jan 2009 14:22:59 +0100, Wojtek Dalętka
<woj...@radioluz.pwr.wroc.pl> wrote:
> 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)

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.
> 
> Can you help me?
> 
> 
> Wojtek
> 
-- 
Xavier

Reply via email to