Networker

Re: [Networker] nmc on fedora 14

2011-03-19 07:24:57
Subject: Re: [Networker] nmc on fedora 14
From: Dag Nygren <dag AT newtech DOT fi>
To: NETWORKER AT LISTSERV.TEMPLE DOT EDU
Date: Sat, 19 Mar 2011 13:24:12 +0200
torsdag 17 mars 2011 16:41:59 skrev  tonyalbers:
> "nmc on fedora 14
> Hello,
> Have you checked so SELINUX is disabled. You can get this behavior if it is
> on. Br //Lars
> 
> "
> 
> Hej Lars,
> 
> SELINUX is set to permissive, and it doesn't seem to interfere.
> 
> But I found the solution, it seems that the script gets confused about the
> environment for some reason and setting
> 
> #
> # main
> #
> PATH="/bin:/usr/bin:/sbin:/usr/sbin:$PATH"
> export PATH
> ARCH=`uname`
> PKG="LGTOnmc"
> DBNAME="lgto_gst.db"
> DBLOG="lgto_gst.log"
> case "$ARCH" in
>     Linux )
>             base=`rpm -q --qf "%{INSTALLPREFIX}\n" lgtonmc 2> /dev/null`
>             ;;
> 
> base="/opt/lgtonmc"  instead solves everything and nmc can be configured.
> Now i just have to figure out how to install the "real" java runtime
> environment :o)

Yep,

INSTALLPREFIX is NOT the variable to use whith newer versions of RPM...
You should use INSTPREFIXES nowadays. Since a long time really. Perhaps 
someone should tell EMC :-)

Best
Dag

To sign off this list, send email to listserv AT listserv.temple DOT edu and 
type "signoff networker" in the body of the email. Please write to 
networker-request AT listserv.temple DOT edu if you have any problems with this 
list. You can access the archives at 
http://listserv.temple.edu/archives/networker.html or
via RSS at http://listserv.temple.edu/cgi-bin/wa?RSS&L=NETWORKER

<Prev in Thread] Current Thread [Next in Thread>