Zoneminder Portato Fatal Error

Anything that pertains to Portage

Moderator: Moderators

Zoneminder Portato Fatal Error

Postby Fenotype » Sun Aug 26, 2007 11:53

I tried emerge zoneminder at portato and 30min later (zzZZZZZ) it gives this fatal error:
(And yes i used google before posting this..)

>>> Emerging (12 of 12) www-misc/zoneminder-1.22.3 to /
* ZoneMinder-1.22.3.tar.gz RMD160 ;-) ... [ ok ]
* ZoneMinder-1.22.3.tar.gz SHA1 ;-) ... [ ok ]
* ZoneMinder-1.22.3.tar.gz SHA256 ;-) ... [ ok ]
* ZoneMinder-1.22.3.tar.gz size ;-) ... [ ok ]
* checking ebuild checksums ;-) ... [ ok ]
* checking auxfile checksums ;-) ... [ ok ]
* checking miscfile checksums ;-) ... [ ok ]
* checking ZoneMinder-1.22.3.tar.gz ;-) ... [ ok ]
* Fatal error:
* Fatal error: There is a problem with your configuration file.
* Fatal error: webapp-config tried to read the variable "config_protect"
* Fatal error: and received the following error:
* Fatal error:
* Fatal error: Bad value substitution:
* Fatal error: section: [USER]
* Fatal error: option : config_protect
* Fatal error: key : nxdir
* Fatal error: rawval : /etc ${NXDIR}/home /etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/share/config/kdm /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config
* Fatal error:
* Fatal error: Please note that webapp-config is not written in bash anymore
* Fatal error: and that you cannot use the bash scripting features.
* Fatal error(s) - aborting

!!! ERROR: www-misc/zoneminder-1.22.3 failed.
Call stack:
ebuild.sh, line 1637: Called dyn_setup
ebuild.sh, line 704: Called qa_call 'pkg_setup'
ebuild.sh, line 44: Called pkg_setup
zoneminder-1.22.3.ebuild, line 49: Called webapp_pkg_setup
webapp.eclass, line 364: Called webapp_read_config
webapp.eclass, line 54: Called die

!!! Could not read settings from webapp-config!
Fenotype
Baby Hen
 
Posts: 1
Joined: Tue Jun 19, 2007 21:27

Re: Zoneminder Portato Fatal Error

Postby gaffu » Tue Aug 28, 2007 17:35

Hi,

I also had this problem, but I don't remember how I solved it exactly. :oops:

The problem is that while parsing some configuration files values like $NXDIR are not substituted.

Look in your /etc/env.d directory and find all references to ${NXDIR}. Change these with the actual value of NXDIR (usually /usr/NX).

Try reemerging zoneminder after logout - login (to update the environement).

Hope this helps!
gaffu
Growing Hen
 
Posts: 110
Joined: Tue Jan 23, 2007 16:16


Return to Portage|Emerge Package Managers

Who is online

Users browsing this forum: No registered users and 2 guests

cron