Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exec format error #4

Open
tatsumara opened this issue Jul 19, 2020 · 5 comments
Open

Exec format error #4

tatsumara opened this issue Jul 19, 2020 · 5 comments
Assignees
Labels
good first issue Good for newcomers

Comments

@tatsumara
Copy link

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"

@gridhead
Copy link
Owner

gridhead commented Jul 20, 2020

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.

@gridhead gridhead self-assigned this Jul 20, 2020
@gridhead gridhead added the good first issue Good for newcomers label Jul 20, 2020
@ender003
Copy link

ender003 commented Jul 21, 2020

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.

@gridhead
Copy link
Owner

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.

@ender003
Copy link

ender003 commented Jul 21, 2020

$ 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!

@gridhead
Copy link
Owner

Wow. I did not figure that out that the project was getting so popular! Thanks for sharing the link @ender003! 😄

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

3 participants