ERR socket_sendto connection refused
Posted: Tue Jan 15, 2013 5:37 am
Hi,
I've searched all the forums and tried all the solutions that I could find on this problem, and have not been successful. The full error message that I see in the apache access file is: ERR [socket_sendto( /tmp/zm/zms-413454s.sock ) failed: Connection refused]. I'm not sure what else to try or to check, so was hoping that someone might be able to give me some direction as to what to do.
I'm running Zoneminder 1.25.0 on a CentOS 2.6.32-279.el6.x86_64 box. When I try to turn on streaming, by setting the method to mpeg, is when I get this error. Everything works fine with it set to jpeg. I also have eyeZM installed and that works fine as well. I seem to recall when I first setup this box that everything worked, even the mpeg streaming, but I left it setup for jpeg, and used the cambozola.jar which works fine. But, recently I was playing around with it, and set it to mpeg and noticed that it's not working, and it frustrates me. I have even tried turning off OPT_USE_AUTH and setting AUTH_RELAY to plain or none, and all the different combinations. Also, when I first started troubleshooting this, it didn't say "Connection Refused" it said that the zms-######s.sock file didn't exist, file not found. But in messing around with different solutions, and I can't remember which one, I got it to where it creates the file, but I now get the Connection refused.
PHP version is 5.3.3 and the short_open_tag is on. Apache is 2.2.15 Apache and Zoneminder are running under user apache.
Zoneminder is compiled with the following:
$ ./configure --with-webdir=/var/www/zoneminder --with-cgidir=/var/www/cgi-bin --with-webuser=apache --with-webgroup=apache ZM_DB_HOST=localhost ZM_DB_NAME=zm ZM_DB_USER=zoneminder ZM_DB_PASS=******* ZM_SSL_LIB=openssl --with-extralibs=-L/usr/lib64 -L/usr/lib64/mysql -L/usr/local/lib -lmp3lame --with-libarch=lib64 --with-ffmpeg=/usr/lib --with-mysql=/usr --with-webhost=XXXX --disable-debug --disable-crashtrace --enable-mmap
ffmpeg = 0.6.5
I have zoneminder video streams setup for .mov but I have tried using asf, mpeg, mpg, wmf, avi, swf as well.
My client computer that I'm using is a Mac running OSX 10.8.2 Mountain Lion and using Safari 6.0.2 to test with. I also have Chrome installed, but since I'm using cambozola, it doesn't work under Chrome as there is not a Java plugin for Chrome (I believe).
If there is any other information you require, let me know. It can be something really simple that I just overlooked or didn't think of to check. Though I have it working for now, I would like to get the streaming to work properly.
Thanks,
I've searched all the forums and tried all the solutions that I could find on this problem, and have not been successful. The full error message that I see in the apache access file is: ERR [socket_sendto( /tmp/zm/zms-413454s.sock ) failed: Connection refused]. I'm not sure what else to try or to check, so was hoping that someone might be able to give me some direction as to what to do.
I'm running Zoneminder 1.25.0 on a CentOS 2.6.32-279.el6.x86_64 box. When I try to turn on streaming, by setting the method to mpeg, is when I get this error. Everything works fine with it set to jpeg. I also have eyeZM installed and that works fine as well. I seem to recall when I first setup this box that everything worked, even the mpeg streaming, but I left it setup for jpeg, and used the cambozola.jar which works fine. But, recently I was playing around with it, and set it to mpeg and noticed that it's not working, and it frustrates me. I have even tried turning off OPT_USE_AUTH and setting AUTH_RELAY to plain or none, and all the different combinations. Also, when I first started troubleshooting this, it didn't say "Connection Refused" it said that the zms-######s.sock file didn't exist, file not found. But in messing around with different solutions, and I can't remember which one, I got it to where it creates the file, but I now get the Connection refused.
PHP version is 5.3.3 and the short_open_tag is on. Apache is 2.2.15 Apache and Zoneminder are running under user apache.
Zoneminder is compiled with the following:
$ ./configure --with-webdir=/var/www/zoneminder --with-cgidir=/var/www/cgi-bin --with-webuser=apache --with-webgroup=apache ZM_DB_HOST=localhost ZM_DB_NAME=zm ZM_DB_USER=zoneminder ZM_DB_PASS=******* ZM_SSL_LIB=openssl --with-extralibs=-L/usr/lib64 -L/usr/lib64/mysql -L/usr/local/lib -lmp3lame --with-libarch=lib64 --with-ffmpeg=/usr/lib --with-mysql=/usr --with-webhost=XXXX --disable-debug --disable-crashtrace --enable-mmap
ffmpeg = 0.6.5
I have zoneminder video streams setup for .mov but I have tried using asf, mpeg, mpg, wmf, avi, swf as well.
My client computer that I'm using is a Mac running OSX 10.8.2 Mountain Lion and using Safari 6.0.2 to test with. I also have Chrome installed, but since I'm using cambozola, it doesn't work under Chrome as there is not a Java plugin for Chrome (I believe).
If there is any other information you require, let me know. It can be something really simple that I just overlooked or didn't think of to check. Though I have it working for now, I would like to get the streaming to work properly.
Thanks,