Page 1 of 1
ZM1.28 working
Posted: Mon Oct 20, 2014 8:27 pm
by PacoLM
Hi,
Upgraded 1.27.99 on Ubuntu 14.04 to the latest 1.28 version. I had to reboot the computer due to this problems:
Code: Select all
Oct 20 22:13:20 itx-ubuntu zmpkg[1157]: INF [Command: start]
Oct 20 22:13:21 itx-ubuntu zmdc[1169]: INF [Server starting at 14/10/20 22:13:21]
Oct 20 22:13:23 itx-ubuntu zmdc[1169]: FAT [Can't bind: Permission denied]
Oct 20 22:13:31 itx-ubuntu zmdc[1166]: FAT [Can't connect: No such file or directory]
Oct 20 22:13:31 itx-ubuntu zmpkg[1157]: ERR [Unable to run "/usr/bin/zmdc.pl startup", output is "Starting server"]
After the reboot, I had this error:
Code: Select all
Oct 20 22:21:54 itx-ubuntu zmpkg[1558]: INF [Command: start]
Oct 20 22:21:54 itx-ubuntu zmpkg[1558]: FAT [Can't create missing temporary directory '/var/run/zm': Permission denied]
I had to create the directory /var/run/zm as root, and now the computer is running the 1.28 version without problems, will continue reporting problems.
Regards,
PacoLM
Re: ZM1.28 working
Posted: Mon Oct 20, 2014 10:47 pm
by knight-of-ni
Those two are related. The latter is the cause to the "can't bind" error.
Note that you should be starting zmpkg.pl as root, in which case it should not have had any problem auto-creating /var/run/zm for you. How did you try to start zonemidner? From the commandline or the web console?
Since apparantly there is a permission problem with the new 1.28 forum, I'll post the following here. Certain tasks, such as creating a new monitor, do not auto-refresh the console. Here is the workaround to fix that:
https://github.com/ZoneMinder/ZoneMinde ... c0b663e3fd
Re: ZM1.28 working
Posted: Tue Oct 21, 2014 1:36 am
by bbunge
For Ubuntu 14.04 (and possibly other versions) edit file:
sudo nano /usr/share/zoneminder/skins/classic/js/skin.js
search for and remove line:
window.addEvent( 'domready', checkSize);
(should be line 89)
add the line to the end of the file as shown below:
{
windowToFront();
}
window.addEvent( 'domready', checkSize);
Save the edited file
Restart Zoneminder
Re: ZM1.28 working
Posted: Tue Oct 21, 2014 5:08 am
by PacoLM
knnniggett wrote:Those two are related. The latter is the cause to the "can't bind" error.
Note that you should be starting zmpkg.pl as root, in which case it should not have had any problem auto-creating /var/run/zm for you. How did you try to start zonemidner? From the commandline or the web console?
Since apparantly there is a permission problem with the new 1.28 forum, I'll post the following here. Certain tasks, such as creating a new monitor, do not auto-refresh the console. Here is the workaround to fix that:
https://github.com/ZoneMinder/ZoneMinde ... c0b663e3fd
Hi,
I did all the installation as root, I tried to start zoneminder from the web console while I was watching the syslog file.
Thanks!
PacoLM
Re: ZM1.28 working
Posted: Tue Oct 21, 2014 12:05 pm
by knight-of-ni
What I meant was you should start zoneminder as root, from the command line, at least for the first time.
If you start zoneminder from the web console, it does not have elevated permission and cannot make things right for you automatically.
Now, I'm not sure why the folder(s) didn't get created during installation process. How did you build zoneminder? autotools or cmake?
Re: ZM1.28 working
Posted: Tue Oct 21, 2014 12:21 pm
by bbunge
May I recommend an "easy" way to get ZM 1.28 working on Ubuntu 14.04...
http://www.zoneminder.com/wiki/index.ph ... e_easy_way
Re: ZM1.28 working
Posted: Tue Oct 21, 2014 12:34 pm
by knight-of-ni
FYI, The permissions have been fixed on the 1.28 forum. We can post to it now.
Re: ZM1.28 working
Posted: Tue Oct 21, 2014 7:33 pm
by PacoLM
knnniggett wrote:What I meant was you should start zoneminder as root, from the command line, at least for the first time.
If you start zoneminder from the web console, it does not have elevated permission and cannot make things right for you automatically.
Now, I'm not sure why the folder(s) didn't get created during installation process. How did you build zoneminder? autotools or cmake?
Well, now it's too late! I do not know why the installation didn't created the directory. I made the installation following the instructions of the git:
https://github.com/ZoneMinder/ZoneMinder
Kind regards,
PacoLM