[SOLVE] Errors in Apache2

Forum for questions and support relating to the 1.24.x releases only.
Locked
Mika
Posts: 19
Joined: Fri Nov 05, 2010 6:57 pm

[SOLVE] Errors in Apache2

Post by Mika »

Hi,

I Have Ubuntu 10.10, Apache2,MysqL 5 and PHP 5 work with ZoneMinder 1.24.2.

All work fine, but i get this error in this file /var/log/apache2/errors.log

Code: Select all

[Thu Nov 11 20:30:52 2010] [error] [client 192.168.1.100] socket_sendto( /var/log/zm/zms-656693s.sock ) failed: No such file or directory, referer: http://192.168.1.2:8080/index.php?view=montage&group=0

[Thu Nov 11 20:30:52 2010] [error] [client 192.168.1.100] array (\n  0 => \n  array (\n    'file' => '/var/www/zm/ajax/stream.php',\n    'line' => 55,\n    'function' => 'ajaxError',\n    'args' => \n    array (\n      0 => 'socket_sendto( /var/log/zm/zms-656693s.sock ) failed: No such file or directory',\n    ),\n  ),\n  1 => \n  array (\n    'file' => '/var/www/zm/index.php',\n    'line' => 116,\n    'args' => \n    array (\n      0 => '/var/www/zm/ajax/stream.php',\n    ),\n    'function' => 'require_once',\n  ),\n), referer: http://192.168.1.2:8080/index.php?view=montage&group=0
The file /var/log/zm/zms-656693s.sock doesn't exists. I have 777 permision in /var/log/zm directory and www-data is owner of /var/log/zm

I see this error in other post, but don't resolve.

Can help me?
Thx
Last edited by Mika on Thu Nov 11, 2010 7:59 pm, edited 1 time in total.
Mika
Posts: 19
Joined: Fri Nov 05, 2010 6:57 pm

Re: Errors in Apache2

Post by Mika »

Mika wrote:Hi,

I Have Ubuntu 10.10, Apache2,MysqL 5 and PHP 5 work with ZoneMinder 1.24.2.

All work fine, but i get this error in this file /var/log/apache2/errors.log

Code: Select all

[Thu Nov 11 20:30:52 2010] [error] [client 192.168.1.100] socket_sendto( /var/log/zm/zms-656693s.sock ) failed: No such file or directory, referer: http://192.168.1.2:8080/index.php?view=montage&group=0

[Thu Nov 11 20:30:52 2010] [error] [client 192.168.1.100] array (\n  0 => \n  array (\n    'file' => '/var/www/zm/ajax/stream.php',\n    'line' => 55,\n    'function' => 'ajaxError',\n    'args' => \n    array (\n      0 => 'socket_sendto( /var/log/zm/zms-656693s.sock ) failed: No such file or directory',\n    ),\n  ),\n  1 => \n  array (\n    'file' => '/var/www/zm/index.php',\n    'line' => 116,\n    'args' => \n    array (\n      0 => '/var/www/zm/ajax/stream.php',\n    ),\n    'function' => 'require_once',\n  ),\n), referer: http://192.168.1.2:8080/index.php?view=montage&group=0
The file /var/log/zm/zms-656693s.sock doesn't exists. I have 777 permision in /var/log/zm directory and www-data is owner of /var/log/zm

I see this error in other post, but don't resolve.

Can help me?
Thx
Ok, i fix this error.

Edit this file: /var/www/zoneminder/ajax/stream.php in line 49 you can see:

Code: Select all

$max_socket_tries = 3;
Change for (5 or more):

Code: Select all

$max_socket_tries = 5;
Thx
Locked