Exec format error
hi! i am really excited for this project, but i can't get it to work on my pi. whenever i try to start it it says "./WebStationSYSMON: cannot execute binary file: Exec format error"
The release is exclusive to x86_64 instructions only. I would be packaging for the other instructions very soon but you can still try it out using the steps provided in the Using the script section. Just ensure that you have Python 3 installed and follow the steps provided there.
Had the same issue on a Raspi4, followed the "Using the Script" section and it worked for localhost, but didn't work for remote access from another host.
By the way, I followed a link from Tom's Hardware that was headlined something like 'remote monitor your headless pi from a web browser'... so I suspect you may have a lot of people trying to do this on a pi and failing. Might want to call that out higher on the readme or name the binary with _x86_64.
Had the same issue on a Raspi4, followed the "Using the Script" section and it worked for localhost, but didn't work for remote access from another host.
Hi @ender003, thanks for trying out the project.
Are you sure you added some command line arguments after the call? For instance,
$ python3 main.py
would run the server only on localhost and it would not be reachable by any other device while
$ python3 main.py -p 9696 -4
would run the server on port 9696 and on an IPv4 address which would be reachable from inside the network and
$ python3 main.py -p 9696 -6
would run the server on port 9696 and on an IPv6 address which would be reachable throughout the internet if your internet service provider supports IPv6.
By the way, I followed a link from Tom's Hardware that was headlined something like 'remote monitor your headless pi from a web browser'... so I suspect you may have a lot of people trying to do this on a pi and failing. Might want to call that out higher on the readme or name the binary with _x86_64.
Can you share me a link to that article?
Also, I have made changes to ensure that it is called out higher up on the README.md with a dedicated Note section with this information. The "Using the script" section has also undergone changes and has been shifted above for convenience.
I would suggest you to look into the docs again. Especially here. https://github.com/t0xic0der/sysmon#using-the-script.
$ python3 main.py -p 9696 -4
Yes! This worked. Now accessible from remote machine on the local network. I should have figured this out from the instructions for executing the main program. I'm not an expert so often just following explicit step-by-step.
Here's the link to the article. Also, I picked it up via the google news feed, so you're getting a lot of exposure!
Finally - thank you for sharing your project - this is great work!
Wow. I did not figure that out that the project was getting so popular! Thanks for sharing the link @ender003! :smile: