zmu seg faults. probably my bad...

Support and queries relating to all previous versions of ZoneMinder
Locked
bevins
Posts: 6
Joined: Mon Sep 27, 2004 2:49 am

zmu seg faults. probably my bad...

Post by bevins »

Hi all,

I am really new to all this so please take it easy on me. I read all the docs I could and tried what I could to get it working.
I just downloaded earlier today and installed. I had no errors on anything, so I assume it is installed correctly. However... I am having problems now. I am new to this so please bear with me. I have read and reread the docs. the problem is this.

No video .

The camera works in xawtv.
At the zm console above the date I get this error. "Warning: Division by zero in /var/www/html/zm/zm_html_view_console.php on line 62"
This has to do with montage_rows.

When I do a zmc -d 0 I get a seg fault
This is what /var/log/messages says:
Sep 26 23:30:58 RH9server zmc-d0[9175]: INF [Debug Level = 0, Debug Log = ]
I haven't figured out how to turn on debug yet.

When i click on name for the monitor to get video, I get an entry in /var/log/messages
Sep 26 23:32:41 RH9server zmu[9185]: ERR [Can't select database: Access denied for user: '@localhost' to database 'zm']

It has no user, this is probably why it is failing. I don't know, zm_config.php has the correct user pass for the mysql db.
This I thought was no access to mysql db. But I can log into mysql, and also I added a user in zm console and it added it to the mysql db.

gdm says the following:
This GDB was configured as "i386-redhat-linux-gnu"...Warning: /var/www/html/zm/0: No such file or directory.

(gdb) run -d 0
Starting program: /usr/local/bin/zmc -d 0

Program received signal SIGSEGV, Segmentation fault.
0x4207a453 in strlen () from /lib/tls/libc.so.6


I am still reading trying to find out what is going on but I cannot find details. I am reading and rereading the FAQ and troubleshooting to no avail yet.

If I am way off track, let me know.

Bob Bevins
BTW: GREAT Job on this project. This looks really nice,
bevins
Posts: 6
Joined: Mon Sep 27, 2004 2:49 am

zmu seg faults. probably my bad...

Post by bevins »

I found another hint.

apache log,
When I log into zm console I get the following error :
df: `ZM_DIR_EVENTS': No such file or directory

And when I select name of monitor looking for video I get the following in apache log:
[Sun Sep 26 23:55:08 2004] [error] [client 192.168.1.13] File does not exist: /var/www/html/zm/ZM_PATH_ZMS, referer: http://192.168.1.13/zm/index.php?view=w ... AULT_SCALE

Bob Bevins
bevins
Posts: 6
Joined: Mon Sep 27, 2004 2:49 am

system details

Post by bevins »

Sorry, I forgot to add.

redhat 9 running on 1 gig cpu 512 meg ram.

zoneminder 1.19.4
bevins
Posts: 6
Joined: Mon Sep 27, 2004 2:49 am

advances

Post by bevins »

I got rid of the message at the top of zm console. And zmc is ok. I found it searching the forum..

I still have no video in monitor but the image is trying to show... This my=ust be the database problem, i need to fix.

Sep 27 00:39:29 RH9server zmu[9810]: ERR [Can't select database: Access denied for user: '@localhost' to database 'zm']

it shows no user @localhost. It should show the user but it doesn't. The zm config file has the user and pass in it.

Bob
bevins
Posts: 6
Joined: Mon Sep 27, 2004 2:49 am

fixed most of the problems

Post by bevins »

After searching forum and rereading FAQ, I got all but one problem fixed.

Sep 27 01:32:43 RH9server zmu[11045]: ERR [Can't select database: Access denied for user: '@localhost' to database 'zm']

Can anyone help on this one?

Bob
Locked