Jump to content

Krydos

Chief Executive Officer
  • Posts

    26485
  • Joined

  • Last visited

  • Days Won

    947

Everything posted by Krydos

  1. You got blocked for trying to log into cPanel with the wrong password too many times. If you log in at https://www.heliohost.org/login/ this wouldn't have happened. Unblocked.
  2. Great question! Since internal cron are limited to 2 per day this is a good thing to discuss. First I created a simple loop that would run forever. loop.py: #!/usr/bin/python3.6 import time while True: print("waiting...") time.sleep(5) Next, I created a way to start the loop with a cgi script. You just open this script in your browser, and if the loop isn't already running it will start it up and it will continue to run in the background. start.py: #!/usr/bin/python3.6 import os, subprocess, signal print("Content-Type: text/html\n\n") counter = 0 p = subprocess.Popen(['ps', '-u', 'krydos'], stdout=subprocess.PIPE) # must match your username --------^^^^^^ out, err = p.communicate() for line in out.splitlines(): if 'loop.py'.encode('utf-8') in line: # ^^^^^^^--- this has to match the filename of your loop counter += 1 print("Loop already running.") if counter == 0: os.system("at now <<< '/home/krydos/public_html/cgi-bin/loop.py'") # absolute path to your loop --^^ print("Loop started!") Finally we need a way to stop the loop from a cgi-script as well. stop.py: #!/usr/bin/python3.6 import os, subprocess, signal print("Content-Type: text/html\n\n") counter = 0 p = subprocess.Popen(['ps', '-u', 'krydos'], stdout=subprocess.PIPE) # must match your username --------^^^^^^ out, err = p.communicate() for line in out.splitlines(): if 'loop.py'.encode('utf-8') in line: # ^^^^^^^--- this has to match the filename of your loop counter += 1 pid = int(line.split(None, 1)[0]) print("Stopping loop.") os.kill(pid, signal.SIGTERM) if counter == 0: print("Already stopped.") All of this code is tested on Tommy.
  3. There you go http://krydos.heliohost.org/cgi-bin/modules36.py
  4. PHP is fixed. See https://www.helionet.org/index/topic/29128-johnny-php-fixed/
  5. PHP is fixed. See https://www.helionet.org/index/topic/29128-johnny-php-fixed/
  6. Here's the latest news post: https://www.helionet.org/index/topic/29123-johnny-php/ Another news post will be made once the maintenance is done. See https://www.helionet.org/index/topic/29128-johnny-php-fixed/
  7. PHP is fixed. See https://www.helionet.org/index/topic/29128-johnny-php-fixed/
  8. PHP is fixed. See https://www.helionet.org/index/topic/29128-johnny-php-fixed/
  9. PHP is fixed. See https://www.helionet.org/index/topic/29128-johnny-php-fixed/
  10. PHP is fixed. See https://www.helionet.org/index/topic/29128-johnny-php-fixed/
  11. Deployed. http://escrit.heliohost.org/escrit_plataforma/
  12. For future reference your IP won't get blocked for cpanel if you log in at https://www.heliohost.org/login/
  13. For anyone who might search and find this thread: The way account deletions work is your account is flagged as inactive, and added to the deletion queue. If you change your mind before the account is deleted you can use the renew page https://www.heliohost.org/renew/ to cancel the deletion. Please be aware that if the load level is low on the server, and there is nothing to do in the job queue the deletion could be instantaneous. Conversely if the load is high and the server is backed up it can take up to 24 hours to delete fully.
  14. Your two forum accounts have been merged, your forum username matches your cpanel username, and your start date on the forum account is retained from 2016.
  15. Please post the following information: Your cPanel usernameYour main domainThe server that you are onVersion of PHP you're using
  16. Deployed. http://xitix.heliohost.org/xitix_blog/
  17. Your computer, if you're running windows, might have the IP of your old host still cached. Open a command prompt and type ipconfig /flushdns
  18. Yeah, Johnny has these kinds of errors quite often. I started working on your issue earlier but got busy with real life for a few hours. It turns out you had that domain added as an alias, and then you had a subdomain on that alias. So I had to delete the subdomain first, and then remove the alias. Next I was going to add it back as an addon like you wanted, but yeah. Moving to Tommy will fix the issue for sure.
  19. There you go http://projvis.heliohost.org/
  20. I'm not sure what you mean. Your account was created 3 days ago. You can use it as soon as it's created. I'm also not sure what you mean by "fast download". There is nothing in our terms of service disallowing you from hosting files for people to download if that's what you mean. You picked the Johnny server which is our experimental server so I don't think anyone would call Johnny fast. If you want a faster server we recommend a production server like Tommy. If you're not too concerned about uptime or speed then staying on Johnny will be fine. To allow someone to download files from your tf directory just upload them to tf and then provide the person with a link to the file such as cmdem.heliohost.org/tf/my_bands_latest_single.mp3
  21. What is your username or main domain?
  22. Remote access enabled.
  23. Also, you might be interested to know that logging in at https://www.heliohost.org/login/ will prevent you from getting blocked.
  24. Another really common one is php files need to have 644 permissions.
×
×
  • Create New...