Menu

No info and awk warning

2014-03-05
2014-03-11
  • Ricardo Maximino

    Hello,

    i´m trying to install BGINFO4X 3.3.2 but after the installation i run the BGINFO4X - Unix Bash Shell, write ./BGINFO4X.sh press enter and nothing happens.

    When i write ./BGINFO4X.sh --checksoftinstalled i get an "awk is not installed" mesage.

    I´ve run the "BGINFO4X - Unix Bash Shell" with Administrative rights.

    Thank you.

     
  • JonnyTech

    JonnyTech - 2014-03-05

    What is your operating system? Since you posted in the Windows section, I recommend downloading and installing this package:

    http://sourceforge.net/projects/bginfo4x/files/BGINFO4X3.3.2.msi/download

    You must install as administrator.

     
  • BGINFO for X and for Windows!

    Hello,

    Try the new release please.

     
  • Ricardo Maximino

    The new release fix it.

    But when i run "BGINFO4X - Unix Bash Shell" i get na message saying:

    "Your group is currently "mkpasswd". This indicates that your gid is not in /etc/group and your uid is not in /etc/passwd.

    The /etc/passwd <and possubly="" etc="" group=""> files should be rebuild.
    See the man pages for mkpasswd and mkgroup then, for exemple, run

    mkpasswd -l [-d] > /etc/passwd
    mkgroup -l [-d] > /etc/group

    Note that the -d switch is necessary for domain Users."

    When i installed BGINFO4X, it installed without user rights to the folders and files, i had to manualy give the rights to the folders, but i wasnt able to give those user rights to this 2 folders(passwd and group).

    Btw, another question. How do we run ./BGINFO4X silent mode? "BGINFO4X for Windows - Hidden Console" isnt there anymore.

    Thanks

     
  • BGINFO for X and for Windows!

    The message is an information message. Don't worry about it for using the bash shell. But if you want, you can remove the message with the commands:

    mkpasswd -l -d > /etc/passwd
    mkgroup -l -d > /etc/group
    

    To run in silent mode, go the the "Startup folder". The link is there.

    Regards.

     
  • Ricardo Maximino

    in the Startup Folder i only got:

    BGINFO4X - GUI
    "GUI is under development"
    "Check the status in the fórum"
    Press any key to continue...

    BGINFO4X - Reload Configuration
    BGINFO4X - Stopall
    BGINFO4X - Unix Bash Shell

     
  • BGINFO for X and for Windows!

    No, this is the BGINFO folder, you need to find the Startup folder ...

     
  • Ricardo Maximino

    I´ve found it! thanks for the patience and the help.

    Unfortunaly it also stops running when the Alarm is OFF.

     
  • BGINFO for X and for Windows!

    Unfortunaly it also stops running when the Alarm is OFF.

    What do you mean exactly ?

     
  • Ricardo Maximino

    Its the same problem i reported on

    https://sourceforge.net/p/bginfo4x/discussion/windows-questions/thread/0925e10e/?page=1

    I´ve got the following alarm setup:

    Internet e Email: X if [ "ping -n 1 195.22.11.35 | grep -w 'bytes=32' | wc -l" -gt 0 ]; then echo "Online"; exit 0; else echo "Offline"; exit 1; fi
    Navision e Easyworks: X if [ "ping -n 1 192.168.30.13 | grep -w 'bytes=32' | wc -l" -gt 0 ]; then echo "Online"; exit 0; else echo "Offline"; exit 1; fi
    Aveiro: X if [ "ping -n 1 192.168.19.1 | grep -w 'bytes=32' | wc -l" -gt 0 ]; then echo "Online"; exit 0; else echo "Offline"; exit 1; fi
    Coimbra: X if [ "ping -n 1 192.168.10.1 | grep -w 'bytes=32' | wc -l" -gt 0 ]; then echo "Online"; exit 0; else echo "Offline"; exit 1; fi
    Viseu: X if [ "ping -n 1 192.168.11.1 | grep -w 'bytes=32' | wc -l" -gt 0 ]; then echo "Online"; exit 0; else echo "Offline"; exit 1; fi
    Porto: X if [ "ping -n 1 192.168.16.1 | grep -w 'bytes=32' | wc -l" -gt 0 ]; then echo "Online"; exit 0; else echo "Offline"; exit 1; fi
    Leiria: X if [ "ping -n 1 192.168.12.1 | grep -w 'bytes=32' | wc -l" -gt 0 ]; then echo "Online"; exit 0; else echo "Offline"; exit 1; fi
    Setubal: X if [ "ping -n 1 192.168.21.1 | grep -w 'bytes=32' | wc -l" -gt 0 ]; then echo "Online"; exit 0; else echo "Offline"; exit 1; fi

    With a IMTIMER="5".

    When i run "BGINFO4X - Unix Bash Shell" and execute ./bginfo4x.sh it automaticaly stops if the ALARM is ONLINE. If the ALARM is OFFLINE the "./bginfo4x.sh" stays running until the ALARM is ONLINE.

     
  • BGINFO for X and for Windows!

    Very Strange, try to remove all the tests pings and add one after the other.
    Does it happen with only on test ping? With two? ...

    Regards.

     
  • Ricardo Maximino

    It also happens without any ALARM. As soon as BGINFO4X hits the 5 seconds on IMTIMER="5"
    it automatically stops.

    When i run BGINFO4X - Hidden Console, the same thing happens. And executing BGINFO4X as a service it doesnt happen anything.

    I´m going to reinstall and check if the same thing happens.

    Thanks

     
  • Ricardo Maximino

    It happens exactaly the same. As soon as i had a ALARM function, ./BGINFO4X.sh stops.

     
  • BGINFO for X and for Windows!

    What is the value of STOPLOOP?

     
  • Ricardo Maximino

    STOPLOOP="0"

     
  • BGINFO for X and for Windows!

    Undefine DRAW_HEADERFILE="", and the program will not exit.

     
  • Ricardo Maximino

    did it. now it only quits after a longer time.

     
  • Anonymous

    Anonymous - 2014-03-07

    Does it quit?

     
  • Ricardo Maximino

    sorry, its not quit. It stops ./BGINFO4X.sh

     
  • BGINFO for X and for Windows!

    Can you add more information?

    Thanks.

     
  • Ricardo Maximino

    Its the same problem i´ve reported.

    When running ./BGINFO4X.sh it stops running after a while.

    What more information you need?

    thanks

     
  • BGINFO for X and for Windows!

    Please provide the logs.

    Thanks.

     
  • Ricardo Maximino

     

Anonymous
Anonymous

Add attachments
Cancel





Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.