First time start issues on FC3
First time start issues on FC3
Hi,
I'm hitting plenty of walls buiilding ZM and as result desparate for some support so I appreciate any given.
I've completed the build and setup the db, double checking the tables are present.
Apache is started, with php supported to the best of my knowledge. Any direction on how to best confirm this would be appreciated.
I understand the next step would be to run /usr/local/bin/zmpkg.pl start
However this returns the following errors;
Use of uninitialized value in transliteration (tr///) at ./zmpkg.pl line 52, <CONFIG> line 5.
Use of uninitialized value in string eq at ./zmpkg.pl line 53, <CONFIG> line 5.
Use of uninitialized value in string eq at ./zmpkg.pl line 53, <CONFIG> line 5.
Use of uninitialized value in string eq at ./zmpkg.pl line 53, <CONFIG> line 5.
Use of uninitialized value in string eq at ./zmpkg.pl line 53, <CONFIG> line 5.
Undefined subroutine &main::ZM_DB_PASS called at ./zmpkg.pl line 64.
BEGIN failed--compilation aborted at ./zmpkg.pl line 74.
If I also access index.php or zm.php from web server I'm returned a blank page. Not an error as such, just a blank page????
I'm running a standard FC3 box on 2.6.10-1.760_FC3 with zm-1.20.1
I'm hitting plenty of walls buiilding ZM and as result desparate for some support so I appreciate any given.
I've completed the build and setup the db, double checking the tables are present.
Apache is started, with php supported to the best of my knowledge. Any direction on how to best confirm this would be appreciated.
I understand the next step would be to run /usr/local/bin/zmpkg.pl start
However this returns the following errors;
Use of uninitialized value in transliteration (tr///) at ./zmpkg.pl line 52, <CONFIG> line 5.
Use of uninitialized value in string eq at ./zmpkg.pl line 53, <CONFIG> line 5.
Use of uninitialized value in string eq at ./zmpkg.pl line 53, <CONFIG> line 5.
Use of uninitialized value in string eq at ./zmpkg.pl line 53, <CONFIG> line 5.
Use of uninitialized value in string eq at ./zmpkg.pl line 53, <CONFIG> line 5.
Undefined subroutine &main::ZM_DB_PASS called at ./zmpkg.pl line 64.
BEGIN failed--compilation aborted at ./zmpkg.pl line 74.
If I also access index.php or zm.php from web server I'm returned a blank page. Not an error as such, just a blank page????
I'm running a standard FC3 box on 2.6.10-1.760_FC3 with zm-1.20.1
- zoneminder
- Site Admin
- Posts: 5215
- Joined: Wed Jul 09, 2003 2:07 pm
- Location: Bristol, UK
- Contact:
- zoneminder
- Site Admin
- Posts: 5215
- Joined: Wed Jul 09, 2003 2:07 pm
- Location: Bristol, UK
- Contact:
- zoneminder
- Site Admin
- Posts: 5215
- Joined: Wed Jul 09, 2003 2:07 pm
- Location: Bristol, UK
- Contact:
- zoneminder
- Site Admin
- Posts: 5215
- Joined: Wed Jul 09, 2003 2:07 pm
- Location: Bristol, UK
- Contact:
yep its was chopped for privacy.
I've also tried a dedicated user called zm with a password.
It all seems to connected to the db fine. I've also dropped the db and recreated it with the new user. But still the problem continues.
Its driving me nutts..agghhh but thanks for your continued time on the support.
As you can see we I run zmconfig again there are no errors. So I assume the db user and password are fine.
perl zmconfig.pl -noi
Loading config from 'zmconfig.txt'
Loading config from DB
Saving config to 'zmconfig.txt'
Saving config to DB
Generating 'src/zm_config_defines.h'
Processing 'zm.conf'
Processing 'src/zm_config.h'
Processing 'web/zm_config.php'
Processing 'scripts/zmdc.pl'
Processing 'scripts/zmwatch.pl'
Processing 'scripts/zmaudit.pl'
Processing 'scripts/zmfilter.pl'
Processing 'scripts/zmtrigger.pl'
Processing 'scripts/zmx10.pl'
Processing 'scripts/zmpkg.pl'
Processing 'scripts/zmupdate.pl'
Processing 'scripts/zmvideo.pl'
Processing 'scripts/zm'
Processing 'db/zmschema.sql'
I've also tried a dedicated user called zm with a password.
It all seems to connected to the db fine. I've also dropped the db and recreated it with the new user. But still the problem continues.
Its driving me nutts..agghhh but thanks for your continued time on the support.
As you can see we I run zmconfig again there are no errors. So I assume the db user and password are fine.
perl zmconfig.pl -noi
Loading config from 'zmconfig.txt'
Loading config from DB
Saving config to 'zmconfig.txt'
Saving config to DB
Generating 'src/zm_config_defines.h'
Processing 'zm.conf'
Processing 'src/zm_config.h'
Processing 'web/zm_config.php'
Processing 'scripts/zmdc.pl'
Processing 'scripts/zmwatch.pl'
Processing 'scripts/zmaudit.pl'
Processing 'scripts/zmfilter.pl'
Processing 'scripts/zmtrigger.pl'
Processing 'scripts/zmx10.pl'
Processing 'scripts/zmpkg.pl'
Processing 'scripts/zmupdate.pl'
Processing 'scripts/zmvideo.pl'
Processing 'scripts/zm'
Processing 'db/zmschema.sql'
went all the way back this time.
Rebuilt using the different zm account and completed a full compiilation process including the make and make install.
This time zm started OK. Not sure why the process was identical and I assume the make process has redistributed the perl scripts without use bytes; in them,
Anyway sorry to say I'm still not up and running yet. If I access the zm homepage which I've installed into the default server path as its the only thing i have at the mo I still receiveing a blank page.
Apache is defo up and seems to be serving index.php just not doing anything with it.
How should i go about diaging this one?
Rebuilt using the different zm account and completed a full compiilation process including the make and make install.
This time zm started OK. Not sure why the process was identical and I assume the make process has redistributed the perl scripts without use bytes; in them,
Anyway sorry to say I'm still not up and running yet. If I access the zm homepage which I've installed into the default server path as its the only thing i have at the mo I still receiveing a blank page.
Apache is defo up and seems to be serving index.php just not doing anything with it.
How should i go about diaging this one?
checked the apache error log and found the following;
[client 127.0.0.1] PHP Notice: import_request_variables(): No prefix specified - possible security hazard in /var/www/html/zm.php on line 21
[client 127.0.0.1] PHP Fatal error: Call to undefined function: mysql_pconnect() in /var/www/html/zm_db.php on line 21
[client 127.0.0.1] PHP Notice: import_request_variables(): No prefix specified - possible security hazard in /var/www/html/zm.php on line 21
[client 127.0.0.1] PHP Fatal error: Call to undefined function: mysql_pconnect() in /var/www/html/zm_db.php on line 21
- zoneminder
- Site Admin
- Posts: 5215
- Joined: Wed Jul 09, 2003 2:07 pm
- Location: Bristol, UK
- Contact:
Umm , yep sorry about that rather slack error. I thought I'd installed all the required PHP and mysql components. Anyway you were right. I can now get to the ZM console.
Guess its time to work out how to use it.
Phil, once again thanks for your support. Sorry to have bothered you with a newbie issues like this.
Mark
Guess its time to work out how to use it.
Phil, once again thanks for your support. Sorry to have bothered you with a newbie issues like this.
Mark
Now for the next set of problems....
Got into the console and defined my monitor and zone using /dev/video0 as you would expect.
But when I check the zone I see no image just the broken link.
I've also observed that the console wont change state from stopped to started.
I assume this indiicative of the overall problem and hence the broken image.
I ran through the checks in documentation and I'm confident that my cam is running under V4L ok. XAWTV works as does Gnomemeeting etc.
Found the following error in zmwatch.log could this be the cause???????????
Watchdog starting at 05/02/23 13:59:07
Watchdog pausing for 30 seconds
Can't get shared memory id '2053971969': No such file or directory
Can't get shared memory id '2053971969': No such file or directory
Can't get shared memory id '2053971969': No such file or directory
Can't get shared memory id '2053971969': No such file or directory
Can't get shared memory id '2053971969': No such file or directory
Can't get shared memory id '2053971969': No such file or directory
Can't get shared memory id '2053971969': No such file or directory
Can't get shared memory id '2053971969': No such file or directory
Can't get shared memory id '2053971969': No such file or directory
Can't get shared memory id '2053971969': No such file or directory
Can't get shared memory id '2053971969': No such file or directory
Can't get shared memory id '2053971969': No such file or directory
Can't get shared memory id '2053971969': No such file or directory
Can't execute: at /usr/local/bin/zmwatch.pl line 120.
Watchdog starting at 05/02/23 16:54:18
Watchdog pausing for 30 seconds
Got into the console and defined my monitor and zone using /dev/video0 as you would expect.
But when I check the zone I see no image just the broken link.
I've also observed that the console wont change state from stopped to started.
I assume this indiicative of the overall problem and hence the broken image.
I ran through the checks in documentation and I'm confident that my cam is running under V4L ok. XAWTV works as does Gnomemeeting etc.
Found the following error in zmwatch.log could this be the cause???????????
Watchdog starting at 05/02/23 13:59:07
Watchdog pausing for 30 seconds
Can't get shared memory id '2053971969': No such file or directory
Can't get shared memory id '2053971969': No such file or directory
Can't get shared memory id '2053971969': No such file or directory
Can't get shared memory id '2053971969': No such file or directory
Can't get shared memory id '2053971969': No such file or directory
Can't get shared memory id '2053971969': No such file or directory
Can't get shared memory id '2053971969': No such file or directory
Can't get shared memory id '2053971969': No such file or directory
Can't get shared memory id '2053971969': No such file or directory
Can't get shared memory id '2053971969': No such file or directory
Can't get shared memory id '2053971969': No such file or directory
Can't get shared memory id '2053971969': No such file or directory
Can't get shared memory id '2053971969': No such file or directory
Can't execute: at /usr/local/bin/zmwatch.pl line 120.
Watchdog starting at 05/02/23 16:54:18
Watchdog pausing for 30 seconds
- zoneminder
- Site Admin
- Posts: 5215
- Joined: Wed Jul 09, 2003 2:07 pm
- Location: Bristol, UK
- Contact: