Installing Nagios ?? wierd error

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????

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

Similar Messages

  • Error when installing Nagios on solaris 11

        Hello,
    I'm following these instructions (Building and Deploying Nagios on Oracle Solaris 11)  on how to build and install Nagios on a solaris 11 x86 box.  I get all the way to pkg install then I receive this error:
    root-/opt # pkg install nagios
    WARNING: The boot environment being modified is not the active one.  Changes
    made will not be reflected on the next boot.
               Packages to install:  1
                Services to change:  1
           Create boot environment: No
    Create backup boot environment: No
    DOWNLOAD                                PKGS         FILES    XFER (MB)   SPEED
    Completed                                1/1     1294/1294    15.1/15.1    0B/s
    PHASE                                          ITEMS
    Installing new actions                        1/1407Action install failed for 'nagios' (pkg://ops-software/nagios):
      KeyError: 'gid'
    The Boot Environment solaris-2-backup-1 failed to be updated. A snapshot was taken before the failed attempt and is mounted here /tmp/tmpeH7KLq. Use 'beadm unmount solaris-2-backup-10' and then 'beadm activate solaris-2-backup-10' if you wish to boot to this BE.
    pkg: An unexpected error happened during install: 'gid'
    Traceback (most recent call last):
      File "/usr/bin/pkg", line 6373, in handle_errors
        __ret = func(*args, **kwargs)
      File "/usr/bin/pkg", line 6359, in main_func
        pargs=pargs, **opts)
      File "/usr/bin/pkg", line 2177, in install
        update_index=update_index)
      File "/usr/bin/pkg", line 1950, in __api_op
        ret_code = __api_execute_plan(_op, _api_inst)
      File "/usr/bin/pkg", line 1523, in __api_execute_plan
        api_inst.execute_plan()
      File "/usr/lib/python2.6/vendor-packages/pkg/client/api.py", line 2706, in execute_plan
        self._img.imageplan.execute()
      File "/usr/lib/python2.6/vendor-packages/pkg/client/imageplan.py", line 4210, in execute
        p.execute_install(src, dest)
      File "/usr/lib/python2.6/vendor-packages/pkg/client/pkgplan.py", line 516, in execute_install
        dest.install(self, src)
      File "/usr/lib/python2.6/vendor-packages/pkg/actions/group.py", line 80, in install
        if (cur_attrs["gid"] != self.attrs["gid"]):
    KeyError: 'gid'
    pkg: This is an internal error in pkg(5) version f840f00cdeff.  Please log a
    Service Request about this issue including the information above and this
    message.
    root-/opt #
    I've installed other packages with pkg so I don't think its a error with the utility.  I've tried with 2 different versions of Nagios (4.0.7 and 4.0.8) both times getting the same error.  Has anyone seen this error before? any ideas on whats causing it?
    Thanks

    I have not done this myself, and the error you got should be more clear. What version of Solaris 11 are you using?  I think the issue may be in the default GID that is assigned. The instructions don't add a GID to the group action:
    group groupname=nagios
    user username=nagios group=nagios
    The pkg(5) manpage says this is optional:
         gid
             The group's unique numerical id. The  default  value  is the first free group under 100.
    You may want to add a specific GID to see if it solves the issue:
    group groupname=nagios gid=nnn   (where nnn is an unused group ID)
    -- Alan

  • Cannot install lion from mac appstore. i have a macbook pro early 2011 model with 10.6.8 and i keep getting a wierd error NSInternalInconsistencyException i have no idea what to do.

    I cannot install lion from mac appstore. i have a macbook pro early 2011 model with 10.6.8 and i keep getting a wierd error NSInternalInconsistencyException i have no idea what to do.

    I changed my wireless broadband to a landline-base DSL wifi and it works like a charm. Sun was the culprit even you fiddle with its router and disable firewall, it won't work.
    try changing yours too and let me know how it goes.

  • Install nagios on solaris 10

    hi
    can any one help me to install nagios on solaris 10.But i got a document from
    www.totkat.org/pages/nagios.shtml. but it is giving errors.
    i am expecting your valuable hints to do

    I've insaller SUNWlibm and the make is going further now but still ends in a fatal error:
    then mv -f ".deps/pst3-pst3.Tpo" ".deps/pst3-pst3.Po"; else rm -f ".deps/pst3-pst3.Tpo"; exit 1; fi
    pst3.c:1: sorry, unimplemented: 64-bit mode not compiled in
    *** Error code 1
    make: Fatal error: Command failed for target `pst3-pst3.o'
    Current working directory /usr/share/src/nagios-plugins-1.4.13/plugins-root
    *** Error code 1
    The following command caused the error:
    failcom='exit 1'; \
    for f in x $MAKEFLAGS; do \
    case $f in \
    *=* | --[!k]*);; \
    k) failcom='fail=yes';; \
    esac; \
    done; \
    dot_seen=no; \
    target=`echo all-recursive | sed s/-recursive//`; \
    list='gl lib plugins plugins-scripts plugins-root po'; for subdir in $list; do \
    echo "Making $target in $subdir"; \
    if test "$subdir" = "."; then \
    dot_seen=yes; \
    local_target="$target-am"; \
    else \
    local_target="$target"; \
    fi; \
    (cd $subdir && make $local_target) \
    || eval $failcom; \
    done; \
    if test "$dot_seen" = "no"; then \
    make "$target-am" || exit 1; \
    fi; test -z "$fail"
    make: Fatal error: Command failed for target `all-recursive'
    Current working directory /usr/share/src/nagios-plugins-1.4.13
    *** Error code 1
    make: Fatal error: Command failed for target `all'
    another suggestion? the SUNWlibm was necessary so thank you for that.

  • [SOL10] Installing nagios-plugins-1.4.13 make problems

    Dear all,
    I am trying to install nagios-plugins on my solaris 10 machine but i run into make errors:
    Server
    SunOS mxc-fs2 5.10 Generic_118855-15 i86pc i386 i86pc
    Solaris 10 6/06 s10x_u2wos_09a X86
    i first did a ./configure and did went well.
    now when i do a make or gmake the following error occurs:
    make all-recursive
    Making all in gl
    make all-am
    if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../intl -g -O2 -MT floorf.o -MD -MP -MF ".deps/floorf.Tpo" -c -o floorf.o floorf.c; \
    then mv -f ".deps/floorf.Tpo" ".deps/floorf.Po"; else rm -f ".deps/floorf.Tpo"; exit 1; fi
    In file included from ./math.h:22,
    from floor.c:22,
    from floorf.c:20:
    /usr/local/lib/gcc/i386-pc-solaris2.10/3.4.6/include/math.h:26:26: iso/math_iso.h: No such file or directory
    In file included from /usr/local/lib/gcc/i386-pc-solaris2.10/3.4.6/include/math.h:336,
    from ./math.h:22,
    from floor.c:22,
    from floorf.c:20:
    /usr/local/lib/gcc/i386-pc-solaris2.10/3.4.6/include/floatingpoint.h:30:24: sys/ieeefp.h: No such file or directory
    In file included from /usr/local/lib/gcc/i386-pc-solaris2.10/3.4.6/include/math.h:336,
    from ./math.h:22,
    from floor.c:22,
    from floorf.c:20:
    /usr/local/lib/gcc/i386-pc-solaris2.10/3.4.6/include/floatingpoint.h:104: error: field `fpclass' has incomplete type
    /usr/local/lib/gcc/i386-pc-solaris2.10/3.4.6/include/floatingpoint.h:128: error: field `rd' has incomplete type
    *** Error code 1
    make: Fatal error: Command failed for target `floorf.o'
    Current working directory /usr/share/src/nagios-plugins-1.4.13/gl
    *** Error code 1
    make: Fatal error: Command failed for target `all'
    Current working directory /usr/share/src/nagios-plugins-1.4.13/gl
    *** Error code 1
    The following command caused the error:
    failcom='exit 1'; \
    for f in x $MAKEFLAGS; do \
    case $f in \
    *=* | --[!k]*);; \
    k) failcom='fail=yes';; \
    esac; \
    done; \
    dot_seen=no; \
    target=`echo all-recursive | sed s/-recursive//`; \
    list='gl lib plugins plugins-scripts plugins-root po'; for subdir in $list; do \
    echo "Making $target in $subdir"; \
    if test "$subdir" = "."; then \
    dot_seen=yes; \
    local_target="$target-am"; \
    else \
    local_target="$target"; \
    fi; \
    (cd $subdir && make $local_target) \
    || eval $failcom; \
    done; \
    if test "$dot_seen" = "no"; then \
    make "$target-am" || exit 1; \
    fi; test -z "$fail"
    make: Fatal error: Command failed for target `all-recursive'
    Current working directory /usr/share/src/nagios-plugins-1.4.13
    *** Error code 1
    make: Fatal error: Command failed for target `all'
    does anyone had a clue what is going on?

    I've insaller SUNWlibm and the make is going further now but still ends in a fatal error:
    then mv -f ".deps/pst3-pst3.Tpo" ".deps/pst3-pst3.Po"; else rm -f ".deps/pst3-pst3.Tpo"; exit 1; fi
    pst3.c:1: sorry, unimplemented: 64-bit mode not compiled in
    *** Error code 1
    make: Fatal error: Command failed for target `pst3-pst3.o'
    Current working directory /usr/share/src/nagios-plugins-1.4.13/plugins-root
    *** Error code 1
    The following command caused the error:
    failcom='exit 1'; \
    for f in x $MAKEFLAGS; do \
    case $f in \
    *=* | --[!k]*);; \
    k) failcom='fail=yes';; \
    esac; \
    done; \
    dot_seen=no; \
    target=`echo all-recursive | sed s/-recursive//`; \
    list='gl lib plugins plugins-scripts plugins-root po'; for subdir in $list; do \
    echo "Making $target in $subdir"; \
    if test "$subdir" = "."; then \
    dot_seen=yes; \
    local_target="$target-am"; \
    else \
    local_target="$target"; \
    fi; \
    (cd $subdir && make $local_target) \
    || eval $failcom; \
    done; \
    if test "$dot_seen" = "no"; then \
    make "$target-am" || exit 1; \
    fi; test -z "$fail"
    make: Fatal error: Command failed for target `all-recursive'
    Current working directory /usr/share/src/nagios-plugins-1.4.13
    *** Error code 1
    make: Fatal error: Command failed for target `all'
    another suggestion? the SUNWlibm was necessary so thank you for that.

  • Unable to install creative cloud error code 1

    unable to install creative cloud error code 1
    windows 8

    Refer below link
    Error "Failed to Install" Creative Cloud Desktop application

  • When opening iTunes I continue to get the same messages, 'The program can't start because AVFoundationCF.dll is missing' and 'iTunes was not installed correctly. Error 7 (Windows error 126)' I've uninstalled, reinstalled many times - nothing! help please.

    When opening iTunes on my new Windows 7 PC I continue to get the same messages, 'The program can't start because AVFoundationCF.dll is missing' and 'iTunes was not installed correctly. Error 7 (Windows error 126)' I've uninstalled and reinstalled many times to no avail, even tried it on a different user account and still nothing. I recently installed Panda Internet Security 2012 (about 12 days ago), initially iTunes worked fine as usual but within the last few days I've been  unable to open it with the same messages appearing. I've read through some of these pages and tried everything that's been advised, uninstalling and reinstalling while internet and laptop security is swithched off, downloading tools to completely remove anything related to iTunes, tried it in Safe Mode, nothing has worked. I've also noticed that in the start menu when I click on iTunes, it says '(empty)' where it should have the logo and ability to start the program, does this mean it doesn't download + install properly each time I've tried? Any help would be enormously appreciated.

    Doublechecking. Have you also tried the following user tip?
    Troubleshooting issues with iTunes for Windows updates

  • I started my update for ios 5.1for iPhone 4s and cancelled it have way through now it says it's downloaded but really it's not the update is still there and when I try to update it it says unable to install update : an error occurred installing iOS 5.1  ?

    I started my update for ios 5.1for iPhone 4s and cancelled it have way through now it says it's downloaded but really it's not the update is still there and when I try to update it it says unable to install update : an error occurred installing iOS 5.1  ?

    See Here... Unable to Update or Restore...
    http://support.apple.com/kb/HT1808

  • Cannot install itunes. get error message program RSVCR80 not installed. windows error 126.

    cannot update or install itunes. ger error message RSVCR80 not installed. windows error 126.

    Hey sndlot,
    Follow the steps in this link to resolve the issue:
    iTunes 11.1.4 for Windows: Unable to install or open
    http://support.apple.com/kb/TS5376
    When you uninstall, the items you uninstall and the order in which you do so arearticularly important:
    Use the Control Panel to uninstall iTunes and related software components in the following order and then restart your computer:
    iTunes
    Apple Software Update
    Apple Mobile Device Support
    Bonjour
    Apple Application Support (iTunes 9 or later)
    Important: Uninstalling these components in a different order, or only uninstalling some of these components may have unintended affects.
    Let us know if following that article and uninstalling those components in that order helped the situation.
    Regards,
    Delgadoh

  • ERROR: DW006: Apple Package failed to install successfully. ERROR: Third party payload installer Adobe Photoshop Lightroom 5.pkg failed with exit code: 1

    Hi,
    i have the following message when i tried to install LR 5.6
    Exit Code: 7
    Please see specific errors below for troubleshooting. For example, ERROR: DW006 ...
    -------------------------------------- Summary --------------------------------------
    - 0 fatal error(s), 2 error(s)
    ----------- Payload: Adobe Photoshop Lightroom 5 5.6.0.0 Adobe Photoshop Lightroom 5.pkg_5.6 -----------
    ERROR: DW006: Apple Package failed to install successfully.
    ERROR: Third party payload installer Adobe Photoshop Lightroom 5.pkg failed with exit code: 1
    how can i solve this issue?
    I am running on Mac with OSX 10.9.4
    thanks in advance
    Olivier

    olebreth wrote:
    how can i solve this issue?
    A search of the site would probably be a good start:
    https://forums.adobe.com/search.jspa?q=dw006

  • Premiere elements 11 failed to install with the error about shared technologies

    PRE 11 failed to install with the error "The installation process has encountered an error while installing shared technologies. Please restart your system and try again" all that does is uninstall everything and I have to restart agin with the same error and we go on. So far the only way it is working is at the point of the "error message" I run task manager and stop the installer, I know it's leaving files that should be removed by the installer, but it worked. This information was gained on one of the forums and seems to work. Yesterday was the first time I really used it fully and although I was able to create a project I cannot output it as a file (mpg), it starts to output ok then throws up an error and fails. As PRE 10 was still installed I imported the project (which amazed me) into PRE 10 and outputted as required with no error. All this may be due to something being wrongly installed or not being installed in PRE 11, I don't know. Can anybody help
    Dennis
    using Windows 8 Pro
    PS I downloaded the Adobe Support adviser and No errors

    See the following help document:
    http://helpx.adobe.com/photoshop-elements/kb/troubleshoot-installation-photoshop-elements- premiere.html

  • Why can't i install java on os 10.7, under install it says error  something about java script

    why can't i install java on os 10.7, under install it says error  something about java script

    If you can't get any software updates, there is something wrong and I would suggest reinstalling Lion.
    What errors do you get when you try to install the updates?
    What is the build number of Lion. Look in About this Mac and click on the version number.

  • HT1222 I can't update the software of iOS 6 in my ipad 2. When agree mgs pops unable to install update an error ocurred installing iOS 6.

    Im not able to update the software of iOS 6 in my ipad 2. As I tried, a mgs pops up "unable to install update an error ocurred installing iOS 6".  Please do advice.
    Thank you.

    Wait a while and try again. Good chance the server are starting to get hammered.

  • ERROR: DW006: Apple Package failed to install successfully. ERROR: Third party payload installer Adobe Acrobat XI Pro Installer.pkg failed with exit code: 1

    Hi All, anyone with this problem with Acrobat Pro XI, IM USING MAC, also Yosemite if that helps.
    Also Adobe CC, BASICALLY IT just quit and i had to uninstall, re install, and I get this
    ERROR: DW006: Apple Package failed to install successfully.
    ERROR: Third party payload installer Adobe Acrobat XI Pro Installer.pkg failed with exit code: 1
    Anyone with same issues...

    Same problem. Creative Cloud subscriber running Mac 10.10.2 on iMac (Retina 5K, 27-inch, Late 2014). All apps work fine EXCEPT for Adobe Acrobat XI. I have tried 100 times and 100 solutions. NOTHING works.

  • Acrobat v10x CS6 Installation: "Some items could not be installed and then Error 1301

    Brand new MacBook Pro Retina 16GB, 512SSD, Mountain Lion.
    I successfully installed all apps in CS6 Web and Design Premium EXCEPT... I had a warning on Acrobat install: "Some items could not be installed properly".
    However, Acrobat 10.0.0 launches and runs fine. Then, I try to move on and upgrade to 10.1.4 (or even 10.0.1) and no matter whether I uninstall and reinstall, repair disk permissions, talk to Adobe support for four times now and let them try everything, I'm still getting Error 1301 "The update could not be applied because Adobe Acrobat application contents were modified since the original installation. I had them send me a hard copy of the CS6 Suite and reinstalled the entire suite. Again, ALL other apps run and upgrade perfectly EXCEPT Acrobat.
    Now, support tells me to use the "Run Repair Acrobat Installation to replace missing files." from this advisory and call them back later (file:///Users/mbp/Desktop/extras/maccomputers/Errors%20and%20freezes%20%7C%20Adobe%20Rea der%20%7C%20Mac%20OS.webarchive).
    Here's the latest hitch: There is no such:  "Repair Acrobat Installation". I'm thinking they think there is and there isn't.
    Also, in details this:
    Exit Code: 6
    Please see specific errors and warnings below for troubleshooting. For example,  ERROR: DW006, DW050 ...
    -------------------------------------- Summary --------------------------------------
    - 0 fatal error(s), 4 error(s), 0 warning(s)
    ----------- Payload: {AC76BA86-1033-F400-7760-000000000005} Acrobat Professional 10.0.0.0 -----------
    ERROR: DW006: Apple Package failed to install successfully.
    ----------- Payload: {E1C48031-9366-427F-AC04-535CEDAAD995} Acrobat X Pro  10.0.0.0 -----------
    ERROR: DW006: Apple Package failed to install successfully.
    ERROR: DW050: The following payload errors were found during install:
    ERROR: DW050:  - Acrobat Professional: Install failed
    ERROR: DW050:  - Acrobat X Pro : Install failed
    Any wisdom out there which is not in the "experimental" arena would be appreciated.

    Hi,
    Thanks for the advice. Tried this and does not work. Exact same results. I really wonder if I am the only person with a MacBook Pro Retina with an 512GB SSD running Mountain Lion that has tried to install Acrobat 10.0.0. I think there is some conflict with Mac OS 10.8.2 that is hostile to the installation sequence Adobe created for Acrobat. I fear Adobe would rather I upgrade to Acrobat X1 than spend their time patching this.
    Exit Code: 6
    Please see specific errors and warnings below for troubleshooting. For example,  ERROR: DW006, DW050 ...
    -------------------------------------- Summary --------------------------------------
    - 0 fatal error(s), 4 error(s), 0 warning(s)
    ----------- Payload: {AC76BA86-1033-F400-7760-000000000005} Acrobat Professional 10.0.0.0 -----------
    ERROR: DW006: Apple Package failed to install successfully.
    ----------- Payload: {E1C48031-9366-427F-AC04-535CEDAAD995} Acrobat X Pro  10.0.0.0 -----------
    ERROR: DW006: Apple Package failed to install successfully.
    ERROR: DW050: The following payload errors were found during install:
    ERROR: DW050:  - Acrobat Professional: Install failed
    ERROR: DW050:  - Acrobat X Pro : Install failed

Maybe you are looking for

  • Can't do factory restore & only disks that keep ejecting are the osx install and apps disks

    First of all let me say, this is my first Apple computer and I'm not experienced in forums. Please do not read rudeness into what is actually frustration at searching forever for a solution and trying not to wish I had been talked into an Apple.  Wit

  • Error while opening Batch in ODC

    Hi, There are a couple of problem I am facing in ODC. For one particular batch which has 'n' pages. IN import logs, it says n pages imported successfully but in ODC application it shows 'n+2' pages. When I try to open it it gives the follwoing error:

  • Low Disk Space in the installation drive

    Dear all, One of our test server, is running out of space in the installation drive. Do we have any standard jobs/Tcodes to reduce/shrink the disk space of installation drive. Please share your inputs, Regards, Younus

  • Text missing from the Graphs in Reports

    Hi Experts I have a strange issue with BW Reporting in Production. After I execute the report, the text in the "graphs" are missing for some specific data. It is working for some components. I have checked the report in Quality system and it is worki

  • Adobe Output Designer 5.7

    Hi I am looking for Adobe Output Designer 5.7. Can anyone enlighten me where i can get the trial to test out and where to purchase it? I need it to open ifd file and perform editing after that. Thank you.