Jump to content

Krydos

Chief Executive Officer
  • Posts

    23,796
  • Joined

  • Last visited

  • Days Won

    828

Everything posted by Krydos

  1. There you go https://krydos.heliohost.org/cgi-bin/modules37.py
  2. [Tue Aug 11 04:00:30.871555 2020] [wsgi:error] [pid 5200] [client 1.36.32.55:56733] mod_wsgi (pid=5200): Failed to exec Python script file '/home/denisewo/public_html/mysite/dispatch.wsgi'. [Tue Aug 11 04:00:30.871624 2020] [wsgi:error] [pid 5200] [client 1.36.32.55:56733] mod_wsgi (pid=5200): Exception occurred processing WSGI script '/home/denisewo/public_html/mysite/dispatch.wsgi'. [Tue Aug 11 04:00:30.872747 2020] [wsgi:error] [pid 5200] [client 1.36.32.55:56733] Traceback (most recent call last): [Tue Aug 11 04:00:30.872822 2020] [wsgi:error] [pid 5200] [client 1.36.32.55:56733] File "/home/denisewo/public_html/mysite/dispatch.wsgi", line 10, in <module> [Tue Aug 11 04:00:30.872834 2020] [wsgi:error] [pid 5200] [client 1.36.32.55:56733] application = get_wsgi_application() [Tue Aug 11 04:00:30.872847 2020] [wsgi:error] [pid 5200] [client 1.36.32.55:56733] File "/usr/local/python3.7/lib/python3.7/site-packages/django/core/wsgi.py", line 12, in get_wsgi_application [Tue Aug 11 04:00:30.872856 2020] [wsgi:error] [pid 5200] [client 1.36.32.55:56733] django.setup(set_prefix=False) [Tue Aug 11 04:00:30.872866 2020] [wsgi:error] [pid 5200] [client 1.36.32.55:56733] File "/usr/local/python3.7/lib/python3.7/site-packages/django/__init__.py", line 24, in setup [Tue Aug 11 04:00:30.872874 2020] [wsgi:error] [pid 5200] [client 1.36.32.55:56733] apps.populate(settings.INSTALLED_APPS) [Tue Aug 11 04:00:30.872885 2020] [wsgi:error] [pid 5200] [client 1.36.32.55:56733] File "/usr/local/python3.7/lib/python3.7/site-packages/django/apps/registry.py", line 89, in populate [Tue Aug 11 04:00:30.872892 2020] [wsgi:error] [pid 5200] [client 1.36.32.55:56733] app_config = AppConfig.create(entry) [Tue Aug 11 04:00:30.872902 2020] [wsgi:error] [pid 5200] [client 1.36.32.55:56733] File "/usr/local/python3.7/lib/python3.7/site-packages/django/apps/config.py", line 90, in create [Tue Aug 11 04:00:30.872910 2020] [wsgi:error] [pid 5200] [client 1.36.32.55:56733] module = import_module(entry) [Tue Aug 11 04:00:30.872920 2020] [wsgi:error] [pid 5200] [client 1.36.32.55:56733] File "/usr/local/python3.7/lib/python3.7/importlib/__init__.py", line 127, in import_module [Tue Aug 11 04:00:30.872927 2020] [wsgi:error] [pid 5200] [client 1.36.32.55:56733] return _bootstrap._gcd_import(name[level:], package, level) [Tue Aug 11 04:00:30.872938 2020] [wsgi:error] [pid 5200] [client 1.36.32.55:56733] File "<frozen importlib._bootstrap>", line 1006, in _gcd_import [Tue Aug 11 04:00:30.872949 2020] [wsgi:error] [pid 5200] [client 1.36.32.55:56733] File "<frozen importlib._bootstrap>", line 983, in _find_and_load [Tue Aug 11 04:00:30.872961 2020] [wsgi:error] [pid 5200] [client 1.36.32.55:56733] File "<frozen importlib._bootstrap>", line 965, in _find_and_load_unlocked [Tue Aug 11 04:00:30.872989 2020] [wsgi:error] [pid 5200] [client 1.36.32.55:56733] ModuleNotFoundError: No module named 'postman' You can't just import any random module that you want without requesting it to be installed first. If you try to import a module that isn't installed you just get a very unhelpful 500 error. You can check which modules are already installed on Johnny's python 3.7 with this link https://krydos2.heliohost.org/cgi-bin/modules37.py I tried to install postman for you, but it is incompatible with our shared hosting. Probably because the last time it was updated was 9 years ago. If you really need this module you'll need to get a vps https://www.heliohost.org/vps/
  3. What is your username, email, or main domain?
  4. It restarts every 2 hours anyways right before apache restarts. Mysql uses massive amounts of memory, and freeing up all the memory right before apache restarts helps make the apache restart smoother. Apache essentially uses double memory during a restart because the old configuration continues serving pages while the new configuration loads up in parallel. Then once the new configuration is serving pages the old apache threads die when they're done. Then over the next 30 minutes or so the mysql memory usage ramps back up to its usual high amount. The other benefit of restarting mysql every 2 hours is it closes all the open connections. Before we restarted mysql regularly some people would leave mysql connections open for days on end.
  5. Disable your forced redirect to https. Johnny only supports http on deployed wars OR https if you request it and an admin manually changes it for you, but not both. Tommy supports both https and http on deployed .war files at the same time.
  6. If you didn't already know, wordpress causes massive server load even with barely any traffic. Best bet is to switch to anything that isn't wordpress.
  7. There you go https://krydos.heliohost.org/cgi-bin/modules37.py
  8. Thanks for reporting it. Fixed.
  9. It could be because Johnny's bihourly script was locked up. The website renew sometimes fails, so there is a double check in the bihourly that unsuspends them again if the website renewal fails. Since bihourly wasn't running there wasn't that fallback double check in place. It should all be working again now.
  10. There you go https://krydos2.heliohost.org/cgi-bin/modules37.py
  11. CentOS 7, mod_wsgi-4.6.7. You install mod_wsgi by downloading the source, running ./configure, make, make install. Python 3.7.4. Flask 1.1.1. Let us know if you need more help.
  12. You just open the page in your browser. /home/tycoon59/public_html/cgi-bin/script.py = tycoon.heliohost.org/cgi-bin/script.py
  13. You may not know this already, but wordpress causes massive load on the server. High load from wordpress is the most common reason for people to get suspended. Switching to anything other than wordpress would help immensely.
  14. Pycocotools is not compatible with our free hosting, and torch is 750MB. While I was trying to install torch pip almost crashed the whole server because it was using so much memory. I think you need a vps https://www.heliohost.org/vps/
  15. The login page, and the new website in general, accept username or email. The old website, and the account deletion page only accept username. If you were using your email address as your username in this form that would explain why it didn't work.
  16. I did a little more research and it turns out to start a php script with popen you need to set shell=True, but that isn't required with python scripts. I've never started a php script using cgi like this so I didn't know that off the top of my head. I edited your start.py and tested it and now it works. The other issue I found was your stop.py script has to search for ea-php72 instead of websocket_server.php because php is the executable and the script is an argument passed to the executable. Once again I made the change to your script and tested it and it's working. I don't know how to test your socket though. I left the script not running, so open the start script in your browser, and then test out the socket to see if it's working. Let us know if you need any additional assistance.
  17. This happens sometimes when someone installs a broken ssl certificate instead of using autossl. Usually it's a cloudflare certificate, but this time it was a sectigo. Once that certificate is deleted apache will restart on it's own again. This only ever happens on Ricky though, so there must be some error checking in newer versions of cpanel that prevent the whole system from crashing from one screwed up certificate. Anyways, it's been unstuck. Thanks for noticing.
×
×
  • Create New...