Gentoo Archives: gentoo-user

From: Xav' <xp@××××××××.fr>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] shoutcast problem 64bit gentoo
Date: Fri, 23 Jan 2009 15:08:12
Message-Id: 3300b1d90daf42c2f790e802cc03bc0e@mail
In Reply to: [gentoo-user] shoutcast problem 64bit gentoo by "Wojtek Dalętka"
1 On Fri, 23 Jan 2009 14:22:59 +0100, Wojtek Dalętka
2 <wojtek@×××××××××××××××××.pl> wrote:
3 > Hi,
4 > I've just installed 64bit gentoo on one of these machines:
5 > http://www.ovh.pl/produkty/eg_best_of.xml
6 >
7 > Everything seens to be fine. I use hardened profile but I've got problem
8 > with ...running a shoutcast server.
9 > I didn't find answer on winamp.com forum and google.
10 >
11 > It's exactly the same problem like here:
12 >
13 http://forums.winamp.com/printthread.php?s=48cd69919741579a3c1e4a8b0ac3e38b&threadid=229419
14 >
15 > At my server it fails this way:
16 >
17 > gentoo shoutcast # pwd
18 > /home/something/shoutcast
19 > gentoo shoutcast # file *
20 > logs: directory
21 > sc_serv: ELF 32-bit LSB executable, Intel 80386, version 1
22 > (SYSV), for GNU/Linux 2.2.5, dynamically linked (uses shared libs),
23 > stripped
24 > sc_serv8002.conf: ASCII English text, with CRLF, LF line terminators
25 > gentoo shoutcast # strace ./sc_serv
26 > execve("./sc_serv", ["./sc_serv"], [/* 26 vars */]) = -1 ENOENT (No such
27 > file or directory)
28 > dup(2) = 3
29 > fcntl(3, F_GETFL) = 0x8002 (flags
30 O_RDWR|O_LARGEFILE)
31 > fstat(3, {st_mode=S_IFCHR|0620, st_rdev=makedev(136, 0), ...}) = 0
32 > mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0)
33 > = 0x708341026000
34 > lseek(3, 0, SEEK_CUR) = -1 ESPIPE (Illegal seek)
35 > write(3, "strace: exec: No such file or dir"..., 40strace: exec: No such
36 > file or directory
37 > ) = 40
38 > close(3) = 0
39 > munmap(0x708341026000, 4096) = 0
40 > exit_group(1) = ?
41 >
42 > gentoo shoutcast # /etc/init.d/shoutcast start
43 > * Starting Shoutcast Server ... [ ok ]
44 > gentoo shoutcast # /sbin/start-stop-daemon: Unable to start
45 > /opt/shoutcast/sc_serv: No such file or directory (No such file or
46 > directory)
47
48 This is a joke, isn't it ??? the error message coming from rc script is a
49 bit clear IMHO...
50
51 > The problem is that shoutcast is 32 bit and system is 64 bit (and I
52 > think it should be 64 @ this machine).
53
54 64bits system can run either 32 or 64 bits executables. After, it depends
55 on the libraries used by the 32bits executable, so you have to use a
56 multilib system.
57
58 > I've tried to follow these tips from the forum but it didn't help me.
59 >
60 > Can you help me?
61 >
62 >
63 > Wojtek
64 >
65 --
66 Xavier

Replies

Subject Author
Re: [gentoo-user] shoutcast problem 64bit gentoo "Arttu V." <arttuv69@×××××.com>