| View previous topic :: View next topic |
| Author |
Message |
karlH Code Warrior

Joined: 13 Jun 2005 Posts: 5476 Location: UK
|
Posted: Sat Jan 02, 2010 4:58 pm Post subject: |
|
|
That message would indicate that the server is running but there is no accessible content (eg status.xsl) in the webroot within your chroot jail.
karl. |
|
| Back to top |
|
 |
TheHat
Joined: 02 Jan 2010 Posts: 7
|
Posted: Sat Jan 02, 2010 6:17 pm Post subject: |
|
|
Hi Karl Thanks for your reply. Any ideas on how to resolve.
If I try to start the server using putty with the following command;
icecast -c /etc/icecast.xml
I will get the following message
Changed root successfully to "/home/icecast/icecast".
Changed userid to 511.
but then it seems to hang. I then use killall icecast and no process running?
And still The file you requested could not be found when i point to url.
TheHat |
|
| Back to top |
|
 |
karlH Code Warrior

Joined: 13 Jun 2005 Posts: 5476 Location: UK
|
Posted: Sat Jan 02, 2010 7:22 pm Post subject: |
|
|
If you are getting a response on that port and icecast is not running then obviously something else is running on that port, probably preventing icecast from getting access to that port.
as root try, netstat -tnlp | grep 9000
karl. |
|
| Back to top |
|
 |
TheHat
Joined: 02 Jan 2010 Posts: 7
|
Posted: Sat Jan 02, 2010 7:26 pm Post subject: |
|
|
Here's the response
> netstat -tnlp | grep 9000
tcp 0 0 0.0.0.0:9000 0.0.0.0:* LISTEN 20671/icecast |
|
| Back to top |
|
 |
TheHat
Joined: 02 Jan 2010 Posts: 7
|
Posted: Sat Jan 02, 2010 7:40 pm Post subject: |
|
|
I have changed port to another number and still get the same response at the URL.
I already have a shoutcast stream running on this server at port 8000 which works fine. But we want to change to using an OGG vorbis encoder.
Does it matter where the icecast 2.3.2 gets installed, does it have to be installed in the same directory as the logs etc?
I'm still getting this hang in putty when i start the server. |
|
| Back to top |
|
 |
karlH Code Warrior

Joined: 13 Jun 2005 Posts: 5476 Location: UK
|
Posted: Sat Jan 02, 2010 8:15 pm Post subject: |
|
|
icecast with a -b will background the process or you can add a & at the end of the line, a hang means that there is no response from the process.at all, even with the browser.
The netstat proves that there is a process and is listening on port 9000.
The location of the program can be anywhere you want but the xml defines where the logs, webroot and admin directories are. In this case you have placed everything under /home/icecast/icecast. Logs are typically placed in a suitably named directory in the jail rather than root but you can have that if you wish.
What I don't know is the layout of your jail under /home/icecast/icecast. Is that directory writeable by user icecast, what are the permission of files under webroot, what is reported in the error log?
karl. |
|
| Back to top |
|
 |
TheHat
Joined: 02 Jan 2010 Posts: 7
|
Posted: Sat Jan 02, 2010 8:27 pm Post subject: |
|
|
Here's the error log. I have noticed some of the folder/files are under user icecast, the web folder is under root, so i'll change this.
| Code: |
[2010-01-02 14:02:35] INFO main/main Icecast 2.3.2 server started
[2010-01-02 14:02:35] INFO yp/yp_update_thread YP update thread started
[2010-01-02 14:02:35] INFO connection/get_ssl_certificate No SSL capability on any configured ports
[2010-01-02 14:03:18] INFO fserve/fserve_client_create checking for file / (/web/)
[2010-01-02 14:03:18] WARN fserve/fserve_client_create found requested file but there is no handler for it: /web/
[2010-01-02 14:03:20] INFO fserve/fserve_client_create checking for file /favicon.ico (/web/favicon.ico)
[2010-01-02 14:03:20] WARN fserve/fserve_client_create req for file "/web/favicon.ico" No such file or directory
[2010-01-02 14:03:23] INFO fserve/fserve_client_create checking for file /favicon.ico (/web/favicon.ico)
[2010-01-02 14:03:23] WARN fserve/fserve_client_create req for file "/web/favicon.ico" No such file or directory
[2010-01-02 14:03:41] INFO fserve/fserve_client_create checking for file / (/web/)
[2010-01-02 14:03:41] WARN fserve/fserve_client_create found requested file but there is no handler for it: /web/
[2010-01-02 14:05:45] INFO fserve/fserve_client_create checking for file / (/web/)
[2010-01-02 14:05:45] WARN fserve/fserve_client_create found requested file but there is no handler for it: /web/
[2010-01-02 14:05:48] INFO fserve/fserve_client_create checking for file / (/web/)
[2010-01-02 14:05:48] WARN fserve/fserve_client_create found requested file but there is no handler for it: /web/
[2010-01-02 14:08:13] WARN config I/O
[2010-01-02 14:08:13] WARN config warning :
[2010-01-02 14:08:13] WARN config failed to load external entity "/etc/icecast.xml"
[2010-01-02 14:08:13] EROR event/event_config_read Error parsing config, not replacing existing config
[2010-01-02 14:08:13] EROR event/event_config_read Parse error in reading /etc/icecast.xml
[2010-01-02 14:08:41] INFO sighandler/_sig_die Caught signal 15, shutting down...
[2010-01-02 14:08:41] INFO main/main Shutting down
[2010-01-02 14:08:41] INFO fserve/fserve_shutdown file serving thread stopped
[2010-01-02 14:08:42] INFO slave/_slave_thread shutting down current relays
[2010-01-02 14:08:42] INFO slave/_slave_thread Slave thread shutdown complete
[2010-01-02 14:08:42] INFO auth/auth_shutdown Auth shutdown
[2010-01-02 14:08:42] INFO yp/yp_shutdown YP thread down
[2010-01-02 14:08:42] INFO stats/stats_shutdown stats thread finished
[2010-01-02 14:08:46] INFO main/main Icecast 2.3.2 server started
[2010-01-02 14:08:46] INFO yp/yp_update_thread YP update thread started
[2010-01-02 14:08:46] INFO connection/get_ssl_certificate No SSL capability on any configured ports
[2010-01-02 14:11:20] INFO fserve/fserve_client_create checking for file / (/web/)
[2010-01-02 14:11:20] WARN fserve/fserve_client_create found requested file but there is no handler for it: /web/
[2010-01-02 14:14:50] INFO fserve/fserve_client_create checking for file / (/web/)
[2010-01-02 14:14:50] WARN fserve/fserve_client_create found requested file but there is no handler for it: /web/
[2010-01-02 14:17:39] WARN config I/O
[2010-01-02 14:17:39] WARN config warning :
[2010-01-02 14:17:39] WARN config failed to load external entity "/etc/icecast.xml"
[2010-01-02 14:17:39] EROR event/event_config_read Error parsing config, not replacing existing config
[2010-01-02 14:17:39] EROR event/event_config_read Parse error in reading /etc/icecast.xml
[2010-01-02 14:43:07] INFO fserve/fserve_client_create checking for file / (/web/)
[2010-01-02 14:43:07] WARN fserve/fserve_client_create found requested file but there is no handler for it: /web/
[2010-01-02 16:47:29] INFO fserve/fserve_client_create checking for file / (/web/)
[2010-01-02 16:47:29] WARN fserve/fserve_client_create found requested file but there is no handler for it: /web/
[2010-01-02 16:47:33] INFO fserve/fserve_client_create checking for file /favicon.ico (/web/favicon.ico)
[2010-01-02 16:47:33] WARN fserve/fserve_client_create req for file "/web/favicon.ico" No such file or directory
[2010-01-02 16:48:05] INFO fserve/fserve_client_create checking for file /admin (/web/admin)
[2010-01-02 16:48:05] WARN fserve/fserve_client_create req for file "/web/admin" No such file or directory
[2010-01-02 17:03:14] INFO fserve/fserve_client_create checking for file /admin (/web/admin)
[2010-01-02 17:03:14] WARN fserve/fserve_client_create req for file "/web/admin" No such file or directory
[2010-01-02 17:16:04] INFO sighandler/_sig_die Caught signal 15, shutting down...
[2010-01-02 17:16:04] INFO main/main Shutting down
[2010-01-02 17:16:04] INFO fserve/fserve_shutdown file serving thread stopped
[2010-01-02 17:16:04] INFO slave/_slave_thread shutting down current relays
[2010-01-02 17:16:04] INFO slave/_slave_thread Slave thread shutdown complete
[2010-01-02 17:16:04] INFO auth/auth_shutdown Auth shutdown
[2010-01-02 17:16:04] INFO yp/yp_shutdown YP thread down
[2010-01-02 17:16:05] INFO stats/stats_shutdown stats thread finished
[2010-01-02 17:16:44] INFO main/main Icecast 2.3.2 server started
[2010-01-02 17:16:44] INFO yp/yp_update_thread YP update thread started
[2010-01-02 17:16:44] INFO connection/get_ssl_certificate No SSL capability on any configured ports
[2010-01-02 17:17:26] INFO fserve/fserve_client_create checking for file / (/web/)
[2010-01-02 17:17:26] WARN fserve/fserve_client_create found requested file but there is no handler for it: /web/
[2010-01-02 17:20:04] INFO fserve/fserve_client_create checking for file / (/web/)
[2010-01-02 17:20:04] WARN fserve/fserve_client_create found requested file but there is no handler for it: /web/
[2010-01-02 17:20:07] INFO fserve/fserve_client_create checking for file / (/web/)
[2010-01-02 17:20:07] WARN fserve/fserve_client_create found requested file but there is no handler for it: /web/
[2010-01-02 17:20:08] INFO fserve/fserve_client_create checking for file / (/web/)
[2010-01-02 17:20:08] WARN fserve/fserve_client_create found requested file but there is no handler for it: /web/
[2010-01-02 17:20:35] INFO fserve/fserve_client_create checking for file / (/web/)
[2010-01-02 17:20:35] WARN fserve/fserve_client_create found requested file but there is no handler for it: /web/
[2010-01-02 17:20:36] INFO fserve/fserve_client_create checking for file / (/web/)
[2010-01-02 17:20:36] WARN fserve/fserve_client_create found requested file but there is no handler for it: /web/
[2010-01-02 17:21:07] INFO fserve/fserve_client_create checking for file / (/web/)
[2010-01-02 17:21:07] WARN fserve/fserve_client_create found requested file but there is no handler for it: /web/
[2010-01-02 17:21:17] WARN config I/O
[2010-01-02 17:21:17] WARN config warning :
[2010-01-02 17:21:17] WARN config failed to load external entity "/etc/icecast.xml"
[2010-01-02 17:21:17] EROR event/event_config_read Error parsing config, not replacing existing config
[2010-01-02 17:21:17] EROR event/event_config_read Parse error in reading /etc/icecast.xml
[2010-01-02 17:30:32] INFO sighandler/_sig_die Caught signal 15, shutting down...
[2010-01-02 17:30:32] INFO main/main Shutting down
[2010-01-02 17:30:32] INFO fserve/fserve_shutdown file serving thread stopped
[2010-01-02 17:30:33] INFO slave/_slave_thread shutting down current relays
[2010-01-02 17:30:33] INFO slave/_slave_thread Slave thread shutdown complete
[2010-01-02 17:30:33] INFO auth/auth_shutdown Auth shutdown
[2010-01-02 17:30:33] INFO yp/yp_shutdown YP thread down
[2010-01-02 17:30:33] INFO stats/stats_shutdown stats thread finished
[2010-01-02 17:30:54] INFO main/main Icecast 2.3.2 server started
[2010-01-02 17:30:54] INFO yp/yp_update_thread YP update thread started
[2010-01-02 17:30:54] INFO connection/get_ssl_certificate No SSL capability on any configured ports
[2010-01-02 17:31:29] INFO fserve/fserve_client_create checking for file / (/web/)
[2010-01-02 17:31:29] WARN fserve/fserve_client_create found requested file but there is no handler for it: /web/
[2010-01-02 17:34:26] WARN config I/O
[2010-01-02 17:34:26] WARN config warning :
[2010-01-02 17:34:26] WARN config failed to load external entity "/etc/icecast.xml"
[2010-01-02 17:34:26] EROR event/event_config_read Error parsing config, not replacing existing config
[2010-01-02 17:34:26] EROR event/event_config_read Parse error in reading /etc/icecast.xml
[2010-01-02 17:35:36] INFO sighandler/_sig_die Caught signal 15, shutting down...
[2010-01-02 17:35:36] INFO main/main Shutting down
[2010-01-02 17:35:36] INFO fserve/fserve_shutdown file serving thread stopped
[2010-01-02 17:35:37] INFO slave/_slave_thread shutting down current relays
[2010-01-02 17:35:37] INFO slave/_slave_thread Slave thread shutdown complete
[2010-01-02 17:35:37] INFO auth/auth_shutdown Auth shutdown
[2010-01-02 17:35:37] INFO yp/yp_shutdown YP thread down
[2010-01-02 17:35:37] INFO stats/stats_shutdown stats thread finished
[2010-01-02 18:30:43] INFO main/main Icecast 2.3.2 server started
[2010-01-02 18:30:43] INFO yp/yp_update_thread YP update thread started
[2010-01-02 18:30:43] INFO connection/get_ssl_certificate No SSL capability on any configured ports
[2010-01-02 18:30:55] INFO sighandler/_sig_die Caught signal 2, shutting down...
[2010-01-02 18:30:55] INFO main/main Shutting down
[2010-01-02 18:30:55] INFO fserve/fserve_shutdown file serving thread stopped
[2010-01-02 18:30:56] INFO slave/_slave_thread shutting down current relays
[2010-01-02 18:30:56] INFO slave/_slave_thread Slave thread shutdown complete
[2010-01-02 18:30:56] INFO auth/auth_shutdown Auth shutdown
[2010-01-02 18:30:56] INFO yp/yp_shutdown YP thread down
[2010-01-02 18:30:57] INFO stats/stats_shutdown stats thread finished
[2010-01-02 18:32:28] INFO main/main Icecast 2.3.2 server started
[2010-01-02 18:32:28] INFO yp/yp_update_thread YP update thread started
[2010-01-02 18:32:28] INFO connection/get_ssl_certificate No SSL capability on any configured ports
[2010-01-02 18:34:21] INFO fserve/fserve_client_create checking for file / (/web/)
[2010-01-02 18:34:21] WARN fserve/fserve_client_create found requested file but there is no handler for it: /web/
[2010-01-02 19:31:50] WARN config I/O
[2010-01-02 19:31:50] WARN config warning :
[2010-01-02 19:31:50] WARN config failed to load external entity "/etc/icecast.xml"
[2010-01-02 19:31:50] EROR event/event_config_read Error parsing config, not replacing existing config
[2010-01-02 19:31:50] EROR event/event_config_read Parse error in reading /etc/icecast.xml
[2010-01-02 19:33:17] INFO fserve/fserve_client_create checking for file / (/web/)
[2010-01-02 19:33:17] WARN fserve/fserve_client_create found requested file but there is no handler for it: /web/
[2010-01-02 19:33:19] INFO fserve/fserve_client_create checking for file / (/web/)
[2010-01-02 19:33:19] WARN fserve/fserve_client_create found requested file but there is no handler for it: /web/
[2010-01-02 19:33:41] INFO sighandler/_sig_die Caught signal 15, shutting down...
[2010-01-02 19:33:41] INFO main/main Shutting down
[2010-01-02 19:33:41] INFO fserve/fserve_shutdown file serving thread stopped
[2010-01-02 19:33:41] INFO slave/_slave_thread shutting down current relays
[2010-01-02 19:33:41] INFO slave/_slave_thread Slave thread shutdown complete
[2010-01-02 19:33:41] INFO auth/auth_shutdown Auth shutdown
[2010-01-02 19:33:41] INFO yp/yp_shutdown YP thread down
[2010-01-02 19:33:42] INFO stats/stats_shutdown stats thread finished
[2010-01-02 19:33:44] INFO main/main Icecast 2.3.2 server started
[2010-01-02 19:33:44] INFO yp/yp_update_thread YP update thread started
[2010-01-02 19:33:44] INFO connection/get_ssl_certificate No SSL capability on any configured ports
[2010-01-02 19:33:50] INFO fserve/fserve_client_create checking for file / (/web/)
[2010-01-02 19:33:50] WARN fserve/fserve_client_create found requested file but there is no handler for it: /web/
[2010-01-02 19:33:52] INFO fserve/fserve_client_create checking for file / (/web/)
[2010-01-02 19:33:52] WARN fserve/fserve_client_create found requested file but there is no handler for it: /web/
[2010-01-02 19:34:58] WARN config I/O
[2010-01-02 19:34:58] WARN config warning :
[2010-01-02 19:34:58] WARN config failed to load external entity "/etc/icecast.xml"
[2010-01-02 19:34:58] EROR event/event_config_read Error parsing config, not replacing existing config
[2010-01-02 19:34:58] EROR event/event_config_read Parse error in reading /etc/icecast.xml
[2010-01-02 19:47:42] INFO main/main Icecast 2.3.2 server started
[2010-01-02 19:47:42] INFO yp/yp_update_thread YP update thread started
[2010-01-02 19:47:42] INFO connection/get_ssl_certificate No SSL capability on any configured ports
[2010-01-02 19:51:48] INFO sighandler/_sig_die Caught signal 15, shutting down...
[2010-01-02 19:51:48] INFO main/main Shutting down
[2010-01-02 19:51:48] INFO fserve/fserve_shutdown file serving thread stopped
[2010-01-02 19:51:49] INFO slave/_slave_thread shutting down current relays
[2010-01-02 19:51:49] INFO slave/_slave_thread Slave thread shutdown complete
[2010-01-02 19:51:49] INFO auth/auth_shutdown Auth shutdown
[2010-01-02 19:51:49] INFO yp/yp_shutdown YP thread down
[2010-01-02 19:51:49] INFO stats/stats_shutdown stats thread finished
[2010-01-02 19:52:30] INFO main/main Icecast 2.3.2 server started
[2010-01-02 19:52:30] INFO yp/yp_update_thread YP update thread started
[2010-01-02 19:52:30] INFO connection/get_ssl_certificate No SSL capability on any configured ports
[2010-01-02 19:52:37] INFO fserve/fserve_client_create checking for file / (/web/)
[2010-01-02 19:52:37] WARN fserve/fserve_client_create found requested file but there is no handler for it: /web/
[2010-01-02 19:52:38] INFO fserve/fserve_client_create checking for file /favicon.ico (/web/favicon.ico)
[2010-01-02 19:52:38] WARN fserve/fserve_client_create req for file "/web/favicon.ico" No such file or directory
[2010-01-02 19:52:41] INFO fserve/fserve_client_create checking for file /favicon.ico (/web/favicon.ico)
[2010-01-02 19:52:41] WARN fserve/fserve_client_create req for file "/web/favicon.ico" No such file or directory
[2010-01-02 19:59:15] INFO fserve/fserve_client_create checking for file / (/web/)
[2010-01-02 19:59:15] WARN fserve/fserve_client_create found requested file but there is no handler for it: /web/
[2010-01-02 19:59:25] INFO sighandler/_sig_die Caught signal 15, shutting down...
[2010-01-02 19:59:25] INFO main/main Shutting down
[2010-01-02 19:59:25] INFO fserve/fserve_shutdown file serving thread stopped
[2010-01-02 19:59:26] INFO slave/_slave_thread shutting down current relays
[2010-01-02 19:59:26] INFO slave/_slave_thread Slave thread shutdown complete
[2010-01-02 19:59:26] INFO auth/auth_shutdown Auth shutdown
[2010-01-02 19:59:26] INFO yp/yp_shutdown YP thread down
[2010-01-02 19:59:27] INFO stats/stats_shutdown stats thread finished
[2010-01-02 20:00:14] INFO main/main Icecast 2.3.2 server started
[2010-01-02 20:00:14] INFO yp/yp_update_thread YP update thread started
[2010-01-02 20:00:14] INFO connection/get_ssl_certificate No SSL capability on any configured ports
[2010-01-02 20:00:31] INFO sighandler/_sig_die Caught signal 15, shutting down...
[2010-01-02 20:00:31] INFO main/main Shutting down
[2010-01-02 20:00:31] INFO fserve/fserve_shutdown file serving thread stopped
[2010-01-02 20:00:31] INFO slave/_slave_thread shutting down current relays
[2010-01-02 20:00:31] INFO slave/_slave_thread Slave thread shutdown complete
[2010-01-02 20:00:31] INFO auth/auth_shutdown Auth shutdown
[2010-01-02 20:00:31] INFO yp/yp_shutdown YP thread down
[2010-01-02 20:00:32] INFO stats/stats_shutdown stats thread finished
[2010-01-02 20:05:40] INFO main/main Icecast 2.3.2 server started
[2010-01-02 20:05:40] INFO yp/yp_update_thread YP update thread started
[2010-01-02 20:05:40] INFO connection/get_ssl_certificate No SSL capability on any configured ports
[2010-01-02 20:07:27] INFO fserve/fserve_client_create checking for file / (/web/)
[2010-01-02 20:07:27] WARN fserve/fserve_client_create found requested file but there is no handler for it: /web/
[2010-01-02 20:09:03] INFO fserve/fserve_client_create checking for file / (/web/)
[2010-01-02 20:09:03] WARN fserve/fserve_client_create found requested file but there is no handler for it: /web/
[2010-01-02 20:09:03] INFO fserve/fserve_client_create checking for file / (/web/)
[2010-01-02 20:09:03] WARN fserve/fserve_client_create found requested file but there is no handler for it: /web/
|
|
|
| Back to top |
|
 |
karlH Code Warrior

Joined: 13 Jun 2005 Posts: 5476 Location: UK
|
Posted: Sat Jan 02, 2010 9:30 pm Post subject: |
|
|
looks like you are requesting / from the server, and because you have changed the alias of / then icecast is referring to a directory and is therefore not reporting any content. If you want the status page in such cases then you will need to put back that alias to as it was
<alias source="/usr/local/share/icecast/web" dest="/status.xsl"/>
to
<alias source="/" dest="/status.xsl"/>
this will then look for /web/status.xsl in your jail
karl. |
|
| Back to top |
|
 |
TheHat
Joined: 02 Jan 2010 Posts: 7
|
Posted: Sat Jan 02, 2010 10:19 pm Post subject: |
|
|
Many thanks for all your help
Will give this a go and post back tomorrow.
TheHat |
|
| Back to top |
|
 |
TheHat
Joined: 02 Jan 2010 Posts: 7
|
Posted: Wed Jan 06, 2010 3:00 pm Post subject: |
|
|
Karl
Working a treat, many thanks for all your help. |
|
| Back to top |
|
 |
|