Created
May 31, 2012 13:41
-
-
Save originalhat/2843497 to your computer and use it in GitHub Desktop.
Nagios Install Errors (OSX)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
groundhog-mac:nagios Devinb$ ./configure --with-gd-lib=/opt/local/lib --with-gd-inc=/opt/local/include \ | |
> --prefix=/usr/local/nagios --with-cgiurl=/cgi-bin --with-htmlurl=/ \ | |
> --with-nagios-user=nagios --with-nagios-group=nagios --with-command-group=nagioscmd | |
checking for a BSD-compatible install... /usr/bin/install -c | |
checking build system type... i386-apple-darwin10.8.0 | |
checking host system type... i386-apple-darwin10.8.0 | |
checking for gcc... gcc | |
checking for C compiler default output file name... a.out | |
checking whether the C compiler works... yes | |
checking whether we are cross compiling... no | |
checking for suffix of executables... | |
checking for suffix of object files... o | |
checking whether we are using the GNU C compiler... yes | |
checking whether gcc accepts -g... yes | |
checking for gcc option to accept ANSI C... none needed | |
checking whether make sets $(MAKE)... yes | |
checking for strip... /usr/bin/strip | |
checking how to run the C preprocessor... gcc -E | |
checking for egrep... grep -E | |
checking for ANSI C header files... yes | |
checking whether time.h and sys/time.h may both be included... yes | |
checking for sys/wait.h that is POSIX.1 compatible... yes | |
checking for sys/types.h... yes | |
checking for sys/stat.h... yes | |
checking for stdlib.h... yes | |
checking for string.h... yes | |
checking for memory.h... yes | |
checking for strings.h... yes | |
checking for inttypes.h... yes | |
checking for stdint.h... yes | |
checking for unistd.h... yes | |
checking arpa/inet.h usability... yes | |
checking arpa/inet.h presence... yes | |
checking for arpa/inet.h... yes | |
checking ctype.h usability... yes | |
checking ctype.h presence... yes | |
checking for ctype.h... yes | |
checking dirent.h usability... yes | |
checking dirent.h presence... yes | |
checking for dirent.h... yes | |
checking errno.h usability... yes | |
checking errno.h presence... yes | |
checking for errno.h... yes | |
checking fcntl.h usability... yes | |
checking fcntl.h presence... yes | |
checking for fcntl.h... yes | |
checking getopt.h usability... yes | |
checking getopt.h presence... yes | |
checking for getopt.h... yes | |
checking grp.h usability... yes | |
checking grp.h presence... yes | |
checking for grp.h... yes | |
checking libgen.h usability... yes | |
checking libgen.h presence... yes | |
checking for libgen.h... yes | |
checking limits.h usability... yes | |
checking limits.h presence... yes | |
checking for limits.h... yes | |
checking math.h usability... yes | |
checking math.h presence... yes | |
checking for math.h... yes | |
checking netdb.h usability... yes | |
checking netdb.h presence... yes | |
checking for netdb.h... yes | |
checking netinet/in.h usability... yes | |
checking netinet/in.h presence... yes | |
checking for netinet/in.h... yes | |
checking pthread.h usability... yes | |
checking pthread.h presence... yes | |
checking for pthread.h... yes | |
checking pthreads.h usability... no | |
checking pthreads.h presence... no | |
checking for pthreads.h... no | |
checking pwd.h usability... yes | |
checking pwd.h presence... yes | |
checking for pwd.h... yes | |
checking regex.h usability... yes | |
checking regex.h presence... yes | |
checking for regex.h... yes | |
checking signal.h usability... yes | |
checking signal.h presence... yes | |
checking for signal.h... yes | |
checking socket.h usability... no | |
checking socket.h presence... no | |
checking for socket.h... no | |
checking stdarg.h usability... yes | |
checking stdarg.h presence... yes | |
checking for stdarg.h... yes | |
checking for string.h... (cached) yes | |
checking for strings.h... (cached) yes | |
checking sys/mman.h usability... yes | |
checking sys/mman.h presence... yes | |
checking for sys/mman.h... yes | |
checking for sys/types.h... (cached) yes | |
checking sys/time.h usability... yes | |
checking sys/time.h presence... yes | |
checking for sys/time.h... yes | |
checking sys/resource.h usability... yes | |
checking sys/resource.h presence... yes | |
checking for sys/resource.h... yes | |
checking for sys/wait.h... (cached) yes | |
checking sys/socket.h usability... yes | |
checking sys/socket.h presence... yes | |
checking for sys/socket.h... yes | |
checking for sys/stat.h... (cached) yes | |
checking sys/timeb.h usability... yes | |
checking sys/timeb.h presence... yes | |
checking for sys/timeb.h... yes | |
checking sys/un.h usability... yes | |
checking sys/un.h presence... yes | |
checking for sys/un.h... yes | |
checking sys/ipc.h usability... yes | |
checking sys/ipc.h presence... yes | |
checking for sys/ipc.h... yes | |
checking sys/msg.h usability... yes | |
checking sys/msg.h presence... yes | |
checking for sys/msg.h... yes | |
checking sys/poll.h usability... yes | |
checking sys/poll.h presence... yes | |
checking for sys/poll.h... yes | |
checking syslog.h usability... yes | |
checking syslog.h presence... yes | |
checking for syslog.h... yes | |
checking uio.h usability... no | |
checking uio.h presence... no | |
checking for uio.h... no | |
checking for unistd.h... (cached) yes | |
checking for an ANSI C-conforming const... yes | |
checking whether struct tm is in sys/time.h or time.h... time.h | |
checking for struct tm.tm_zone... yes | |
checking for mode_t... yes | |
checking for pid_t... yes | |
checking for size_t... yes | |
checking return type of signal handlers... void | |
checking for uid_t in sys/types.h... rm: conftest.dSYM: is a directory | |
yes | |
checking type of array argument to getgroups... gid_t | |
checking for va_copy... yes | |
checking for vsnprintf... yes | |
checking for snprintf... yes | |
checking for asprintf... yes | |
checking for vasprintf... yes | |
checking for C99 vsnprintf... yes | |
checking for library containing getservbyname... none required | |
checking for library containing connect... none required | |
checking for initgroups... yes | |
checking for setenv... yes | |
checking for strdup... yes | |
checking for strstr... yes | |
checking for strtoul... yes | |
checking for unsetenv... yes | |
checking for type of socket size... size_t | |
checking for pthread_create in -lcma... no | |
checking for pthread_create in -lpthread... yes | |
checking for library containing nanosleep... none required | |
checking for mail... /usr/bin/mail | |
We'll use default routines (in xdata/xsddefault.*) for status data I/O... | |
We'll use default routines (in xdata/xcddefault.*) for comment data I/O... | |
We'll use default routines (in xdata/xrddefault.*) for retention data I/O... | |
We'll use template-based routines (in xdata/xodtemplate.*) for object data I/O... | |
We'll use default routines (in xdata/xpddefault.*) for performance data I/O... | |
We'll use default routines (in xdata/xdddefault.*) for scheduled downtime data I/O... | |
checking for main in -liconv... yes | |
checking for gdImagePng in -lgd (order 1)... no | |
checking for gdImagePng in -lgd (order 2)... no | |
checking for gdImagePng in -lgd (order 3)... no | |
checking for gdImagePng in -lgd (order 4)... no | |
*** GD, PNG, and/or JPEG libraries could not be located... ********* | |
Boutell's GD library is required to compile the statusmap, trends | |
and histogram CGIs. Get it from http://www.boutell.com/gd/, compile | |
it, and use the --with-gd-lib and --with-gd-inc arguments to specify | |
the locations of the GD library and include files. | |
NOTE: In addition to the gd-devel library, you'll also need to make | |
sure you have the png-devel and jpeg-devel libraries installed | |
on your system. | |
NOTE: After you install the necessary libraries on your system: | |
1. Make sure /etc/ld.so.conf has an entry for the directory in | |
which the GD, PNG, and JPEG libraries are installed. | |
2. Run 'ldconfig' to update the run-time linker options. | |
3. Run 'make clean' in the Nagios distribution to clean out | |
any old references to your previous compile. | |
4. Rerun the configure script. | |
NOTE: If you can't get the configure script to recognize the GD libs | |
on your system, get over it and move on to other things. The | |
CGIs that use the GD libs are just a small part of the entire | |
Nagios package. Get everything else working first and then | |
revisit the problem. Make sure to check the nagios-users | |
mailing list archives for possible solutions to GD library | |
problems when you resume your troubleshooting. | |
******************************************************************** | |
checking ltdl.h usability... yes | |
checking ltdl.h presence... yes | |
checking for ltdl.h... yes | |
checking for lt_dlinit in -lltdl... yes | |
checking for extra flags needed to export symbols... none | |
checking for linker flags for loadable modules... -bundle -flat_namespace -undefined suppress | |
checking for traceroute... /usr/sbin/traceroute | |
checking for type va_list... yes | |
checking for perl... /usr/bin/perl | |
configure: creating ./config.status | |
config.status: creating Makefile | |
config.status: creating subst | |
config.status: creating pkginfo | |
config.status: creating base/Makefile | |
config.status: creating common/Makefile | |
config.status: creating contrib/Makefile | |
config.status: creating cgi/Makefile | |
config.status: creating html/Makefile | |
config.status: creating module/Makefile | |
config.status: creating xdata/Makefile | |
config.status: creating daemon-init | |
config.status: creating t/Makefile | |
config.status: creating t-tap/Makefile | |
config.status: creating include/config.h | |
config.status: creating include/snprintf.h | |
Creating sample config files in sample-config/ ... | |
*** Configuration summary for nagios 3.4.1 05-11-2012 ***: | |
General Options: | |
------------------------- | |
Nagios executable: nagios | |
Nagios user/group: nagios,nagios | |
Command user/group: nagios,nagioscmd | |
Embedded Perl: no | |
Event Broker: yes | |
Install ${prefix}: /usr/local/nagios | |
Lock file: ${prefix}/var/nagios.lock | |
Check result directory: ${prefix}/var/spool/checkresults | |
Init directory: /etc/rc.d/init.d | |
Apache conf.d directory: /etc/httpd/conf.d | |
Mail program: /usr/bin/mail | |
Host OS: darwin10.8.0 | |
Web Interface Options: | |
------------------------ | |
HTML URL: http://localhost/nagios/ | |
CGI URL: http://localhost/cgi-bin/ | |
Traceroute (used by WAP): /usr/sbin/traceroute | |
Review the options above for accuracy. If they look okay, | |
type 'make all' to compile the main program and CGIs. | |
groundhog-mac:nagios Devinb$ make all | |
cd ./base && make | |
gcc -Wall -g -O2 -I/opt/local/include -DHAVE_CONFIG_H -DNSCORE -c -o broker.o broker.c | |
gcc -Wall -g -O2 -I/opt/local/include -DHAVE_CONFIG_H -DNSCORE -c -o nebmods.o nebmods.c | |
gcc -Wall -g -O2 -I/opt/local/include -DHAVE_CONFIG_H -DNSCORE -c -o ../common/shared.o ../common/shared.c | |
gcc -Wall -g -O2 -I/opt/local/include -DHAVE_CONFIG_H -DNSCORE -c -o checks.o checks.c | |
checks.c: In function ‘run_async_service_check’: | |
checks.c:519: warning: format ‘%lu’ expects type ‘long unsigned int’, but argument 4 has type ‘__darwin_suseconds_t’ | |
checks.c:823: warning: format ‘%lu’ expects type ‘long unsigned int’, but argument 4 has type ‘__darwin_suseconds_t’ | |
checks.c: In function ‘run_async_host_check_3x’: | |
checks.c:3100: warning: format ‘%lu’ expects type ‘long unsigned int’, but argument 4 has type ‘__darwin_suseconds_t’ | |
checks.c:3225: warning: format ‘%lu’ expects type ‘long unsigned int’, but argument 4 has type ‘__darwin_suseconds_t’ | |
gcc -Wall -g -O2 -I/opt/local/include -DHAVE_CONFIG_H -DNSCORE -c -o config.o config.c | |
gcc -Wall -g -O2 -I/opt/local/include -DHAVE_CONFIG_H -DNSCORE -c -o commands.o commands.c | |
gcc -Wall -g -O2 -I/opt/local/include -DHAVE_CONFIG_H -DNSCORE -c -o events.o events.c | |
gcc -Wall -g -O2 -I/opt/local/include -DHAVE_CONFIG_H -DNSCORE -c -o flapping.o flapping.c | |
gcc -Wall -g -O2 -I/opt/local/include -DHAVE_CONFIG_H -DNSCORE -c -o logging.o logging.c | |
logging.c: In function ‘log_debug_info’: | |
logging.c:530: warning: format ‘%06lu’ expects type ‘long unsigned int’, but argument 4 has type ‘__darwin_suseconds_t’ | |
gcc -Wall -g -O2 -I/opt/local/include -DHAVE_CONFIG_H -DNSCORE -c -o macros-base.o ../common/macros.c | |
gcc -Wall -g -O2 -I/opt/local/include -DHAVE_CONFIG_H -DNSCORE -c -o netutils.o netutils.c | |
gcc -Wall -g -O2 -I/opt/local/include -DHAVE_CONFIG_H -DNSCORE -c -o notifications.o notifications.c | |
gcc -Wall -g -O2 -I/opt/local/include -DHAVE_CONFIG_H -DNSCORE -c -o sehandlers.o sehandlers.c | |
gcc -Wall -g -O2 -I/opt/local/include -DHAVE_CONFIG_H -DNSCORE -c -o skiplist.o ../common/skiplist.c | |
gcc -Wall -g -O2 -I/opt/local/include -DHAVE_CONFIG_H -DNSCORE -c -o utils.o utils.c | |
utils.c: In function ‘service_check_sighandler’: | |
utils.c:1857: warning: format ‘%lu’ expects type ‘long unsigned int’, but argument 4 has type ‘__darwin_suseconds_t’ | |
utils.c: In function ‘host_check_sighandler’: | |
utils.c:1897: warning: format ‘%lu’ expects type ‘long unsigned int’, but argument 4 has type ‘__darwin_suseconds_t’ | |
gcc -Wall -g -O2 -I/opt/local/include -DHAVE_CONFIG_H -DNSCORE -c -o retention-base.o sretention.c | |
gcc -Wall -g -O2 -I/opt/local/include -DHAVE_CONFIG_H -DNSCORE -c -o xretention-base.o ../xdata/xrddefault.c | |
gcc -Wall -g -O2 -I/opt/local/include -DHAVE_CONFIG_H -DNSCORE -c -o comments-base.o ../common/comments.c | |
gcc -Wall -g -O2 -I/opt/local/include -DHAVE_CONFIG_H -DNSCORE -c -o xcomments-base.o ../xdata/xcddefault.c | |
gcc -Wall -g -O2 -I/opt/local/include -DHAVE_CONFIG_H -DNSCORE -c -o objects-base.o ../common/objects.c | |
gcc -Wall -g -O2 -I/opt/local/include -DHAVE_CONFIG_H -DNSCORE -c -o xobjects-base.o ../xdata/xodtemplate.c | |
gcc -Wall -g -O2 -I/opt/local/include -DHAVE_CONFIG_H -DNSCORE -c -o statusdata-base.o ../common/statusdata.c | |
gcc -Wall -g -O2 -I/opt/local/include -DHAVE_CONFIG_H -DNSCORE -c -o xstatusdata-base.o ../xdata/xsddefault.c | |
gcc -Wall -g -O2 -I/opt/local/include -DHAVE_CONFIG_H -DNSCORE -c -o perfdata-base.o perfdata.c | |
gcc -Wall -g -O2 -I/opt/local/include -DHAVE_CONFIG_H -DNSCORE -c -o xperfdata-base.o ../xdata/xpddefault.c | |
gcc -Wall -g -O2 -I/opt/local/include -DHAVE_CONFIG_H -DNSCORE -c -o downtime-base.o ../common/downtime.c | |
gcc -Wall -g -O2 -I/opt/local/include -DHAVE_CONFIG_H -DNSCORE -c -o xdowntime-base.o ../xdata/xdddefault.c | |
gcc -Wall -g -O2 -I/opt/local/include -DHAVE_CONFIG_H -DNSCORE -o nagios nagios.c broker.o nebmods.o ../common/shared.o checks.o config.o commands.o events.o flapping.o logging.o macros-base.o netutils.o notifications.o sehandlers.o skiplist.o utils.o retention-base.o xretention-base.o comments-base.o xcomments-base.o objects-base.o xobjects-base.o statusdata-base.o xstatusdata-base.o perfdata-base.o xperfdata-base.o downtime-base.o xdowntime-base.o -L/opt/local/lib -lm -lpthread -lltdl | |
gcc -Wall -g -O2 -I/opt/local/include -DHAVE_CONFIG_H -DNSCORE -o nagiostats nagiostats.c -L/opt/local/lib -lm | |
cd ./cgi && make | |
gcc -Wall -g -O2 -I/opt/local/include -DHAVE_CONFIG_H -DNSCGI -c -o getcgi.o getcgi.c | |
gcc -Wall -g -O2 -I/opt/local/include -DHAVE_CONFIG_H -DNSCGI -c -o cgiutils.o cgiutils.c | |
cgiutils.c: In function ‘include_ssi_files’: | |
cgiutils.c:1500: warning: unused variable ‘x’ | |
gcc -Wall -g -O2 -I/opt/local/include -DHAVE_CONFIG_H -DNSCGI -c -o cgiauth.o cgiauth.c | |
gcc -Wall -g -O2 -I/opt/local/include -DHAVE_CONFIG_H -DNSCGI -c -o macros-cgi.o ../common/macros.c | |
gcc -Wall -g -O2 -I/opt/local/include -DHAVE_CONFIG_H -DNSCGI -c -o skiplist.o ../common/skiplist.c | |
gcc -Wall -g -O2 -I/opt/local/include -DHAVE_CONFIG_H -DNSCGI -c -o objects-cgi.o ../common/objects.c | |
gcc -Wall -g -O2 -I/opt/local/include -DHAVE_CONFIG_H -DNSCGI -c -o xobjects-cgi.o ../xdata/xodtemplate.c | |
gcc -Wall -g -O2 -I/opt/local/include -DHAVE_CONFIG_H -DNSCGI -c -o statusdata-cgi.o ../common/statusdata.c | |
gcc -Wall -g -O2 -I/opt/local/include -DHAVE_CONFIG_H -DNSCGI -c -o xstatusdata-cgi.o ../xdata/xsddefault.c | |
gcc -Wall -g -O2 -I/opt/local/include -DHAVE_CONFIG_H -DNSCGI -c -o comments-cgi.o ../common/comments.c | |
gcc -Wall -g -O2 -I/opt/local/include -DHAVE_CONFIG_H -DNSCGI -c -o downtime-cgi.o ../common/downtime.c | |
gcc -Wall -g -O2 -I/opt/local/include -DHAVE_CONFIG_H -DNSCGI -L/opt/local/lib -o avail.cgi avail.c ../common/shared.o getcgi.o cgiutils.o cgiauth.o macros-cgi.o skiplist.o objects-cgi.o xobjects-cgi.o statusdata-cgi.o xstatusdata-cgi.o comments-cgi.o downtime-cgi.o | |
gcc -Wall -g -O2 -I/opt/local/include -DHAVE_CONFIG_H -DNSCGI -c -o extcmd_list.o extcmd_list.c | |
gcc -Wall -g -O2 -I/opt/local/include -DHAVE_CONFIG_H -DNSCGI -L/opt/local/lib -o cmd.cgi cmd.c extcmd_list.o ../common/shared.o getcgi.o cgiutils.o cgiauth.o macros-cgi.o skiplist.o objects-cgi.o xobjects-cgi.o statusdata-cgi.o xstatusdata-cgi.o comments-cgi.o downtime-cgi.o | |
gcc -Wall -g -O2 -I/opt/local/include -DHAVE_CONFIG_H -DNSCGI -L/opt/local/lib -o config.cgi config.c ../common/shared.o getcgi.o cgiutils.o cgiauth.o macros-cgi.o skiplist.o objects-cgi.o xobjects-cgi.o statusdata-cgi.o xstatusdata-cgi.o comments-cgi.o downtime-cgi.o | |
gcc -Wall -g -O2 -I/opt/local/include -DHAVE_CONFIG_H -DNSCGI -L/opt/local/lib -o extinfo.cgi extinfo.c ../common/shared.o getcgi.o cgiutils.o cgiauth.o macros-cgi.o skiplist.o objects-cgi.o xobjects-cgi.o statusdata-cgi.o xstatusdata-cgi.o comments-cgi.o downtime-cgi.o | |
gcc -Wall -g -O2 -I/opt/local/include -DHAVE_CONFIG_H -DNSCGI -L/opt/local/lib -o history.cgi history.c ../common/shared.o getcgi.o cgiutils.o cgiauth.o macros-cgi.o skiplist.o objects-cgi.o xobjects-cgi.o statusdata-cgi.o xstatusdata-cgi.o comments-cgi.o downtime-cgi.o | |
gcc -Wall -g -O2 -I/opt/local/include -DHAVE_CONFIG_H -DNSCGI -L/opt/local/lib -o notifications.cgi notifications.c ../common/shared.o getcgi.o cgiutils.o cgiauth.o macros-cgi.o skiplist.o objects-cgi.o xobjects-cgi.o statusdata-cgi.o xstatusdata-cgi.o comments-cgi.o downtime-cgi.o | |
gcc -Wall -g -O2 -I/opt/local/include -DHAVE_CONFIG_H -DNSCGI -L/opt/local/lib -o outages.cgi outages.c ../common/shared.o getcgi.o cgiutils.o cgiauth.o macros-cgi.o skiplist.o objects-cgi.o xobjects-cgi.o statusdata-cgi.o xstatusdata-cgi.o comments-cgi.o downtime-cgi.o | |
gcc -Wall -g -O2 -I/opt/local/include -DHAVE_CONFIG_H -DNSCGI -L/opt/local/lib -o showlog.cgi showlog.c ../common/shared.o getcgi.o cgiutils.o cgiauth.o macros-cgi.o skiplist.o objects-cgi.o xobjects-cgi.o statusdata-cgi.o xstatusdata-cgi.o comments-cgi.o downtime-cgi.o | |
gcc -Wall -g -O2 -I/opt/local/include -DHAVE_CONFIG_H -DNSCGI -L/opt/local/lib -o status.cgi status.c ../common/shared.o getcgi.o cgiutils.o cgiauth.o macros-cgi.o skiplist.o objects-cgi.o xobjects-cgi.o statusdata-cgi.o xstatusdata-cgi.o comments-cgi.o downtime-cgi.o | |
gcc -Wall -g -O2 -I/opt/local/include -DHAVE_CONFIG_H -DNSCGI -L/opt/local/lib -o statuswml.cgi statuswml.c ../common/shared.o getcgi.o cgiutils.o cgiauth.o macros-cgi.o skiplist.o objects-cgi.o xobjects-cgi.o statusdata-cgi.o xstatusdata-cgi.o comments-cgi.o downtime-cgi.o | |
gcc -Wall -g -O2 -I/opt/local/include -DHAVE_CONFIG_H -DNSCGI -L/opt/local/lib -o summary.cgi summary.c ../common/shared.o getcgi.o cgiutils.o cgiauth.o macros-cgi.o skiplist.o objects-cgi.o xobjects-cgi.o statusdata-cgi.o xstatusdata-cgi.o comments-cgi.o downtime-cgi.o | |
gcc -Wall -g -O2 -I/opt/local/include -DHAVE_CONFIG_H -DNSCGI -L/opt/local/lib -o tac.cgi tac.c ../common/shared.o getcgi.o cgiutils.o cgiauth.o macros-cgi.o skiplist.o objects-cgi.o xobjects-cgi.o statusdata-cgi.o xstatusdata-cgi.o comments-cgi.o downtime-cgi.o | |
gcc -Wall -g -O2 -I/opt/local/include -DHAVE_CONFIG_H -DNSCGI -L/opt/local/lib -o statuswrl.cgi statuswrl.c ../common/shared.o getcgi.o cgiutils.o cgiauth.o macros-cgi.o skiplist.o objects-cgi.o xobjects-cgi.o statusdata-cgi.o xstatusdata-cgi.o comments-cgi.o downtime-cgi.o -lm | |
cd ./html && make | |
make[1]: Nothing to be done for `all'. | |
if [ xyes = xyes ]; then \ | |
cd ./module && make; \ | |
fi | |
gcc -fno-common -g -O2 -I/opt/local/include -DHAVE_CONFIG_H -o helloworld.o helloworld.c -bundle -flat_namespace -undefined suppress -L/opt/local/lib | |
*** Compile finished *** | |
If the main program and CGIs compiled without any errors, you | |
can continue with installing Nagios as follows (type 'make' | |
without any arguments for a list of all possible options): | |
make install | |
- This installs the main program, CGIs, and HTML files | |
make install-init | |
- This installs the init script in /etc/rc.d/init.d | |
make install-commandmode | |
- This installs and configures permissions on the | |
directory for holding the external command file | |
make install-config | |
- This installs *SAMPLE* config files in /usr/local/nagios/etc | |
You'll have to modify these sample files before you can | |
use Nagios. Read the HTML documentation for more info | |
on doing this. Pay particular attention to the docs on | |
object configuration files, as they determine what/how | |
things get monitored! | |
make install-webconf | |
- This installs the Apache config file for the Nagios | |
web interface | |
make install-exfoliation | |
- This installs the Exfoliation theme for the Nagios | |
web interface | |
make install-classicui | |
- This installs the classic theme for the Nagios | |
web interface | |
*** Support Notes ******************************************* | |
If you have questions about configuring or running Nagios, | |
please make sure that you: | |
- Look at the sample config files | |
- Read the documentation on the Nagios Library at: | |
http://library.nagios.com | |
before you post a question to one of the mailing lists. | |
Also make sure to include pertinent information that could | |
help others help you. This might include: | |
- What version of Nagios you are using | |
- What version of the plugins you are using | |
- Relevant snippets from your config files | |
- Relevant error messages from the Nagios log file | |
For more information on obtaining support for Nagios, visit: | |
http://support.nagios.com | |
************************************************************* | |
Enjoy. | |
groundhog-mac:nagios Devinb$ make install | |
cd ./base && make install | |
make install-basic | |
/usr/bin/install -c -m 775 -o nagios -g nagios -d /usr/local/nagios/bin | |
install: nagios: Invalid argument | |
make[2]: *** [install-basic] Error 67 | |
make[1]: *** [install] Error 2 | |
make: *** [install] Error 2 |
Hello,
I had the exact same issue. I got it resolved. Please try the following :
1.Please check if the user is added to the group ( If user and groups are involved ).
2. ensure that you're inside the nagios folder and the user and groups are created inside it. Else you will end up with the same error again.
Please let me know if it doesn't work.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I'm getting same error.
How do I solve?