You are not logged in.
Pages: 1
Well installing nagios from binary, and after
./configure (standart definitions
make all
make install - This ones gives this error ???
[root@meeko nagios-2.5]# make install
cd ./base && make install
make[1]: moving to dir '/root/nagios-2.5/base'
make install-basic
make[2]: moving to dir '/root/nagios-2.5/base'
/bin/install -c -m 775 -o nagios -g nagios -d /usr/local/nagios/bin
/bin/install: unknown user 'nagios'
make[2]: *** [install-basic] Fejl 1
make[2]: Leaving dir '/root/nagios-2.5/base'
make[1]: *** [install] Fejl 2
make[1]: leaving dir '/root/nagios-2.5/base'
make: *** [install] Fejl 2
Well have installed earlier but didn't have that issue before - have anybody an idea about what to do????
Just getting better .... All the time
Offline
Well, not sure really. It's obvious that it searches for a user nagios, and couldn't find it. Solution to that is to change the makefile, ie like
sed -e 's/nagios/your_user_name/g' < makefile
... to change the user nagios to an existing user (you?). Or you could try and create nagios user.
It seems it wants to install in nagios in the user nagions folder on /usr/local, which doesn't exist. Then it seems it selects root/... folder instead, which it doesn't seem to like. My best bet would be to download the program again, the latest version of course, redo the procedure and set ./configure --prefix=/usr.
Not sure if this was of any help, but at least it's a reply
Offline
That is exactly what I' ve done - therefor it seems strange that it didn' t make the user during the configure
Is there a way to to add an user without any passwd???
Normally I use adduser - but I mean there something also about useradd ???????
Just getting better .... All the time
Offline
It probably assume that the nagios user and groups already exist.
One thing that you could do, would be to use sed/patch to replace the:
-o nagios -g nagios
in the install lines to:
-o root -g root
However, I don't know what nagios is so it might not work or there could be a security issue.
Offline
Is there some reason you don't want a nagios user and group?
FWIW, Snowman, nagios is a network monitoring app, so yeah, it should be pretty secure.
Unthinking respect for authority is the greatest enemy of truth.
-Albert Einstein
Offline
Well - i do want a user - And did an adduser manually - but last time I installed this was not an issue.
I do want the normal installation, but i wondering whats wrong since I've had to add those manually.
Just getting better .... All the time
Offline
Well, that's all I see it complaining about - you're saying you have a user and group "nagios" on this box? Did the compile actually bomb out, or did it just complain? It's been a while since I installed nagios, but IIRC, I had to manually create those entries. Also, most nagios installations do expaect to find it in /usr/local/nagios IME, but sometimes it's created in /etc by distros that package it. You can probably stick it anywhere as long as you change all the paths in your config file(s).
Unthinking respect for authority is the greatest enemy of truth.
-Albert Einstein
Offline
Jep - But at this time I have installed Nagios quite some times setup a distributed system up with 700PC on - So have tryed it some time But not usual have to create this user first ? not one time !
The only time i rigth now where I have to install it on Arch at home - With a fully opdatet system ?
That´s more some wondering than problems ? !!!
Just getting better .... All the time
Offline
Pages: 1