-
Posts
24,186 -
Joined
-
Last visited
-
Days Won
853
Everything posted by Krydos
-
It just gives this error over and over, and it blocks it from starting: org.springframework.jdbc.support.MetaDataAccessException: Could not get Connection for extracting meta data; nested exception is org.springframework.jdbc.CannotGetJdbcConnectionException: Could not get JDBC Connection; nested exception is com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: User blister2_metro already has more than 'max_user_connections' active connections
-
Ok, first of all none of your scripts are executable because they're 644 not 755 like they have to be. Next, unless you enable .py scripts to be executable outside cgi-bin using .htaccess it's not going to work there. Moving start.py and stop.py to cgi-bin is the easiest option. Also, it doesn't really matter where loop.py is. You could put it somewhere like /home/pyraz/loop.py It doesn't output the content-type header so it'll always give a 500 error when you try to execute it as a cgi through a browser.
-
Currently 10 in 10 minutes, but that number may change in the future.
-
One of your fellow users wrote up this guide that does something similar: http://wiki.helionet.org/Running_Auto_Backups
-
That .war file cannot be deployed. FAIL - Application at context path /blister2_metrolotto could not be started FAIL - Encountered exception org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/blister2_metrolotto]]
-
First of all, your username is afarias, not aloisio. Second, .war files can only be deployed on accounts that have java enabled. It looks like java access was removed on Jun 21st when you let your account go inactive. You can request java access again at https://tommy.heliohost.org:2083/frontend/paper_lantern/java/index.live.php Let us know once java is enabled and I'll redeploy your .war.
-
The IP you PM'd me is not currently blocked. I unblocked that IP earlier. You don't have to remove them. You just have to use the right password when you try to log in.
-
That domain isn't even hosted by us https://bybyron.net/php/tools/dns_records.php?domain=developershub.tk&rec=A
- 11 replies
-
- letsencrypt
- ca
-
(and 1 more)
Tagged with:
-
Do you have .htpasswd protected directories? Unblocked.
-
Suspended. http://escrit.heliohost.org/escrit_plataforma/
-
Giving users who think they need more storage space an increase is actually one of our top priorities for new features we're rolling out soon. Stay tuned. In the meantime have you considered writing a cron that automatically emails you the backup, and deletes it from the server?
-
What domain's ssl certificate gives an error?
- 11 replies
-
- letsencrypt
- ca
-
(and 1 more)
Tagged with:
-
[Solved] Unnlock Ip Address For Iftahul Username
Krydos replied to nadeem's topic in Customer Service
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. -
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.
-
PHP is fixed. See https://www.helionet.org/index/topic/29128-johnny-php-fixed/
-
PHP is fixed. See https://www.helionet.org/index/topic/29128-johnny-php-fixed/
-
Deployed. http://escrit.heliohost.org/escrit_plataforma/
-
For future reference your IP won't get blocked for cpanel if you log in at https://www.heliohost.org/login/
-
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.
-
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.
-
Please post the following information: Your cPanel usernameYour main domainThe server that you are onVersion of PHP you're using
-
Deployed. http://xitix.heliohost.org/xitix_blog/