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

python: can't open file '/usr/src/app/python': [Errno 2] No such file or directory #154

Open
mariemhedfi opened this issue Dec 25, 2023 · 3 comments
Labels
bug Something isn't working

Comments

@mariemhedfi
Copy link

*I tried to execute sppmon using this command: docker run --rm -v /home/${USER}/spectrum-protect-sppmon/config_files/YOUR_SPP_SERVER_NAME.conf:/usr/src/app/YOUR_SPP_SERVER_NAME.conf:ro,Z -v /home/${USER}/sppmonLogs:/root/sppmonLogs:Z sppmon python sppmon.py --cfg=YOUR_SPP_SERVER_NAME.conf --test. However, even after replacing it with my spp file, I still encountered the '[can't open fil](python: can't open file '/usr/src/app/python': [Errno 2] No such file or directory)e' error. What should I do?"

@mariemhedfi mariemhedfi added the bug Something isn't working label Dec 25, 2023
@NielsKorschinsky
Copy link
Member

NielsKorschinsky commented Jan 3, 2024

Hi @mariemhedfi ,

It seems like your python install is missing or corrupted.
Can you please make sure to follow the steps in the wiki, which creates the container, including python:

  1. https://github.com/IBM/spectrum-protect-sppmon/wiki/SPPmon-as-a-Container#21-setup-the-sppmon-container

@NielsKorschinsky
Copy link
Member

Also, you can try to bash into the container to localize the python install / verify it exists:
docker exec -it <container name> /bin/bash

@mariemhedfi
Copy link
Author

mariemhedfi commented Jan 4, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants