Gentoo Archives: gentoo-user

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

Replies

Subject Author
Re: [gentoo-user] shoutcast problem 64bit gentoo Xav' <xp@××××××××.fr>