You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to fpm-...@googlegroups.com
Hi,
Amazing product . I was able to build nagios according to my specification .But I have one issue which I dont know how to address I need to install the daemon script and nagios cmd and also a script which I have written . I have included them in and build my package .But the issue here is [root@nagios4 nagios]# rpm -ivh nagios-4.0.0_x86_64.rpm Preparing... ########################################### [100%] useradd: user 'nagios' already exists groupadd: group 'nagcmd' already exists 1:nagios ########################################### [100%] /usr/bin/install: cannot stat `daemon-init': No such file or directory /usr/bin/install: cannot stat `sample-config/httpd.conf': No such file or directory cp: cannot stat `contrib/eventhandlers/': No such file or directory chown: cannot access `/usr/local/nagios/libexec/eventhandlers': No such file or directory [root@nagios4 nagios]#
I get this error How do I go abt this we do make install-init make install-commandmode from source .
these are steps to be followed in my custom installation NAGIOSPATH=/opt/nagios ADDONS=/opt/nagios/addons /usr/sbin/useradd nagios /usr/sbin/groupadd nagcmd /usr/sbin/usermod -a -G nagcmd nagios /usr/sbin/usermod -a -G nagcmd apache ./configure --with-command-group=nagcmd --prefix=$NAGIOSPATH make all make install; make install-init; make install-config; make install-commandmode; make install-webconf; make install-devel
Regards Sunil
pranay...@gmail.com
unread,
Apr 11, 2013, 5:05:18 AM4/11/13
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to fpm-...@googlegroups.com
Are the ./configure+other commands being done in the post install ?. Better would be to do all the install to a directory root and use fpm to package that, also this a good option https://github.com/bernd/fpm-cookery