32-bit x86 build - Problem with scripts on 64-bit NFS filesystem

Issue #12 resolved
Former user created an issue

Hi, I am having some problem running monit 5.7 or earlier version on a 32-but RHEL5 machine, where my scripts are under a NFS filesystem hosted on a 64-bit system (with 64-bit XFS).

Monit does not have problem with my config files under /etc/monit.d but if I call to execute any scripts that reside on a different directory, it fails with error like this, if the script inode is over 32-bit.

service monit restart

Stopping monit: [FAILED] Starting monit: /reg/common/tools/admin/monit/monit.d.daq/check_time:1: Warning: Program does not exist: '/etc/monit.scripts/check_time.sh' /reg/common/tools/admin/monit/monit.d.daq/check_time:1: Warning: Program does not exist: '/etc/monit.scripts/check_time.sh' AssertException: File '/etc/monit.scripts/check_time.sh' does not exist raised in Command_new at src/system/Command.c:334 /bin/bash: line 1: 30275 Aborted /usr/bin/monit

ls -i /etc/monit.scripts/check_time.sh

4815061045 /etc/monit.scripts/check_time.sh

The File_exist function uses stat() to check for the file. Could it be a problem there?

Thanks, ... ling

Comments (2)

  1. Tildeslash repo owner

    Could you try to reconfigure and build Monit with support for large files:

    ./configure --with-largefiles
    

    Let us know if this fixed the problem

  2. Log in to comment