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 00:09:14
Message-Id: 49790A9F.6070303@radioluz.pwr.wroc.pl
In Reply to: [gentoo-user] {OT} firefox-3.0 double-click-to-highlight behavior by Grant
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 is fine. I use hardened profile, Pax, firewall ect, but I've
6 got problem 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 goes 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 ...
39
40 [ ok ]
41 gentoo shoutcast # /sbin/start-stop-daemon: Unable to start
42 /opt/shoutcast/sc_serv: No such file or directory (No such file or
43 directory)
44
45 The problem is that shoutcast is 32 bit and system is 64 bit (and I
46 think it should be 64 @ this machine).
47 I've tried to follow these tips from the forum but it didn't help me.
48
49 Can you help me?
50
51
52 Wojtek