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.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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.
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.
Hello,
Try the new release please.
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
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:
To run in silent mode, go the the "Startup folder". The link is there.
Regards.
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
No, this is the BGINFO folder, you need to find the Startup folder ...
I´ve found it! thanks for the patience and the help.
Unfortunaly it also stops running when the Alarm is OFF.
Unfortunaly it also stops running when the Alarm is OFF.
What do you mean exactly ?
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; fiNavision 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; fiAveiro: 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; fiCoimbra: 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; fiViseu: 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; fiPorto: 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; fiLeiria: 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; fiSetubal: 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; fiWith 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.
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.
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
It happens exactaly the same. As soon as i had a ALARM function, ./BGINFO4X.sh stops.
What is the value of STOPLOOP?
STOPLOOP="0"
Undefine DRAW_HEADERFILE="", and the program will not exit.
did it. now it only quits after a longer time.
Does it quit?
sorry, its not quit. It stops ./BGINFO4X.sh
Can you add more information?
Thanks.
Its the same problem i´ve reported.
When running ./BGINFO4X.sh it stops running after a while.
What more information you need?
thanks
Please provide the logs.
Thanks.
http://we.tl/O1PdeYsHrA