|
|
#1 |
|
Junior Member
Join Date: Feb 2006
Posts: 8
|
virtuozzo vps & shoutcast problems
Node Specs:
Centos 3.6 Virtuozzo VPS APF Firewall InterWorx control panel I installed this and opened ports 8000, 8002, 8004 Nothing works. No servers starting up. Also using Cast Control panel. They are offline and won't start. I chmodded the only server file in files / linux (which is 8000, the others don't appear here) to 733. I chmoddded temp to 777 and database.php to 777. Nothing is working at all. Look what happens when I do it manually via ssh [root@server linux]# ./sc_serv ******************************************************************************* ** SHOUTcast Distributed Network Audio Server ** Copyright (C) 1998-2004 Nullsoft, Inc. All Rights Reserved. ** Use "sc_serv filename.ini" to specify an ini file. ******************************************************************************* [conf] Couldn't find sc_serv.conf -- assuming defaults Event log: <02/13/06@07:13:18> [SHOUTcast] DNAS/Linux v1.9.5 (Dec 27 2004) starting up... <02/13/06@07:13:18> [main] pid: 5609 <02/13/06@07:13:18> [main] loaded config from sc_serv.conf <02/13/06@07:13:18> [main] initializing (usermax:32 portbase:8000)... <02/13/06@07:13:18> [main] No ban file found (sc_serv.ban) <02/13/06@07:13:18> [main] No rip file found (sc_serv.rip) <02/13/06@07:13:18> [main] opening source socket <02/13/06@07:13:18> [main] source thread starting Segmentation fault [edit > JonnyMac] Moved from Winamp Tech Support to SHOUTcast Tech Support | Please post SHOUTcaster questions/topics in the SHOUTcast forums [/edit] |
|
|
|
|
|
#2 |
|
Junior Member
Join Date: Feb 2006
Posts: 8
|
Sorry to bump this but its becoming urgent. Need this for a client of mine and I have been trying hard to solve this but without success.
Thank you |
|
|
|
|
|
#3 |
|
Junior Member
Join Date: Feb 2006
Posts: 8
|
Maybe this will help further:
[root@server linux]# gdb ./sc_serv GNU gdb Red Hat Linux (6.3.0.0-1.62rh) Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i386-redhat-linux-gnu"...(no debugging symbols found) Using host libthread_db library "/lib/tls/libthread_db.so.1". (gdb) run Starting program: /home/datahost/datahosting.com.au/html/shoutcast/files/linux/sc_serv (no debugging symbols found) [Thread debugging using libthread_db enabled] Error while reading shared library symbols: Cannot find new threads: generic error (no debugging symbols found) (no debugging symbols found) Cannot find user-level thread for LWP 18516: generic error (gdb) Quit (gdb) |
|
|
|
|
|
#4 |
|
Junior Member
Join Date: Feb 2006
Posts: 8
|
Anyone can help?
|
|
|
|
|
|
#5 |
|
Junior Member
Join Date: Feb 2006
Posts: 8
|
Still doesn't work but different error
[root@server linux]# ls sc_serv [root@server linux]# ./sc_serv -bash: ./sc_serv: Permission denied The database was installed via root mysql like before (which is fine anyway). [root@server linux]# export LD_ASSUME_KERNEL=2.4.19; ./sc_serv -bash: ./sc_serv: Permission denied Strange. The first server is working fine (good, unlike before), the 2nd one is not working now. |
|
|
|
|
|
#6 |
|
Junior Member
Join Date: Feb 2006
Posts: 8
|
This is the fix:
Edit install/install.php and change this line: $pid = shell_exec("nohup ".$_POST['dir_to_cpanel']."files/linux/sc_serv ".$setting['dir_to_cpanel'].$filename." > /dev/null & echo $!"); To this: $pid = shell_exec("LD_ASSUME_KERNEL=2.4.19 nohup ".$_POST['dir_to_cpanel']."files/linux/sc_serv ".$setting['dir_to_cpanel'].$filename." > /dev/null & echo $!"); And edit pages/servers.php and change this line: $pid = shell_exec("nohup ".$setting['dir_to_cpanel']."files/linux/sc_serv ".$setting['dir_to_cpanel'].$filename." > /dev/null & echo $!"); To this: $pid = shell_exec("LD_ASSUME_KERNEL=2.4.19 nohup ".$setting['dir_to_cpanel']."files/linux/sc_serv ".$setting['dir_to_cpanel'].$filename." > /dev/null & echo $!"); Basically this just has the shell set the environment variable before it executes the command. |
|
|
|
|
|
#7 |
|
Junior Member
Join Date: Feb 2006
Posts: 8
|
Got one strange problem. In Cast Control (shoutcast control panel) it shows the server up and I cannot connect to the server (says invalid password but I am using the right password). In the default shotucast panel, it shows server down
http://147.202.69.48:8000/ That is the same port that shows up in Cast Control panel. What could be the problem? |
|
|
|
|
|
#8 |
|
Junior Member
Join Date: Feb 2006
Posts: 8
|
I was able to connect to the port 8000 server. I still cannot connect to the 8002 and 8004 (ports open in firewall).
|
|
|
|
![]() |
|
|||||||
| Thread Tools | Search this Thread |
| Display Modes | |
|
|