Jump to content

ablaty2

Members
  • Posts

    36
  • Joined

  • Last visited

Posts posted by ablaty2

  1. Hi,

     

    I am recieving the following error when I try to access MyPHP Admin from Cpanel. It looks like I am over quota on something and could fix it by deleting data from my database, but I can't delete the data without first accessing MyPHP Admin. Please let me know how to fix this.

     

    Cpanel::Exception::IO::UnlinkError/(XID 2g3rf7) The system failed to unlink [list_and_quoted,_1] because of an error: Permission denied
    at /usr/local/cpanel/Cpanel/Exception/CORE.pm line 330.
    Cpanel::Exception::create("IO::UnlinkError", ARRAY(0x3184dc8)) called at /usr/local/cpanel/Cpanel/Exception.pm line 46
    Cpanel::Exception::__ANON__(__CPANEL_HIDDEN__, ARRAY(0x3184dc8)) called at /usr/local/cpanel/Cpanel/Autodie/Unlink.pm line 37
    Cpanel::Autodie::Unlink::unlink_if_exists("/var/cpanel/overquota/blocks_ablaty") called at /usr/local/cpanel/Cpanel/Quota/OverCache.pm line 92
    Cpanel::Quota::OverCache::_unset_at_quota("blocks", "ablaty") called at /usr/local/cpanel/Cpanel/Quota/OverCache.pm line 79
    Cpanel::Quota::OverCache::unset_user_at_blocks_quota("ablaty") called at cpsrvd.pl line 2499
    cpanel::cpsrvd::verify_user_is_at_blocks_quota_or_unset("ablaty") called at cpsrvd.pl line 2455
    cpanel::cpsrvd::dodoc_cpaneld() called at cpsrvd.pl line 1619
    cpanel::cpsrvd::dodoc(HASH(0x13db790)) called at cpsrvd.pl line 1408
    cpanel::cpsrvd::handle_one_connection(7) called at cpsrvd.pl line 877
    cpanel::cpsrvd::script() called at cpsrvd.pl line 329

     

    Thanks,

    Alex

  2. Hi,

     

    I transferred my account over to Tommy from Stevie this morning and had a question about the DNS setup. I just want to make sure everything is correct so that it's working in 48 and I don't have to make more changes tomorrow and wait another 48hrs.

     

    I used the script linked from cpanel to associate my domain name with my account, and it said to add ns1.heliohost.org and ns2.heliohost.org as the domain name servers. In my previous setup on Stevie I used the default DNS and provided an IP address for the @ record (see attached image). Will this still work for my new account on Tommy? I prefer to manage my subdomains through my enom account if possible.

     

    Thanks,

    Alex

     

    post-22313-0-61585800-1483304053_thumb.png

  3. Hi,

     

    Thanks for the quick reply. I made a donation earlier today and recieved an invite about an hour ago. However, when I click on the link to validate my email, it says that my storage space is being doubled then I get redirected to http 500 error page that says "www.heliohost.org is currently unable to handle this request.". Does this mean that my account hasn't been updated yet, or am I doing something wrong?

     

    Thanks!

     

  4. I seem to be having the same problem. When I visit my website, I see the following message:

    Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'ablaty_a'@'localhost' (using password: YES) in /home1/ablaty/public_html/Tours.php on line 76

    Unable to select database

     

    I tried changing my password and logging out/back in but that didn't work.

     

    My database size says it is 0.00 MB.

     

    username: ablaty

    server: stevie

  5. The Cron job page says that accounts are only allowed to run 2 cron jobs per day, but that we can request a special exception if needed.

     

    I would like permission to run a Cron job every 30 minutes which simply calls a php page that sends an email. I won't need this permanently.

     

    Thanks for your consideration,

    Alex

  6. Hi,

     

    I seem to be unable to login to my account. I received an inactivation notice on December 12, 2013, but I thought I re-activated my account. It looks like my site has been down since Feb. 6th, 2013. I tried re-activating it again and it said my account wasn't found or wasn't inactive. I also tried a password reset (in case I had the wrong password), but never got the reset email. Any help would be appreciated.

     

    Thanks,

    Alex

  7. Thanks for the reply. I just double checked that my username and password were correct, but that didn't fix the problem. Is it possible that I have to configure the server to accept connections from itself (like in remote MySQL)?

     

    Thanks again,

    Alex

     

    I think I figured out the problem. Is there anyway to fix it, other than changing my username? I played around with it and got this message (see bold):

     

     

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

    <html xmlns="http://www.w3.org/1999/xhtml">

    <head>

    <link rel="shortcut icon" href="/cPanel_magic_revision_1255087532/unprotected/cpanel/favicon.ico" type="image/x-icon" />

    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

    <meta name="robots" content="noindex, nofollow" />

    <title>cPanel® 11</title>

    <link rel="stylesheet" href="/cPanel_magic_revision_1255087532/unprotected/cpanel/style_optimized.css" type="text/css" />

    <!--[if IE]>

    <style type="text/css">

    #mid{

    height:300px;

    }

    </style>

    <![endif]-->

    <meta name="robots" content="noindex, nofollow" />

    </head>

    <body>

    <div id="wrap">

    <div id="top"></div>

    <div id="mid">

    <div id="content-wrap" align="center">

     

    <h1>Brute Force Protection</h1>

    This account is currently locked out because a <a href='http://en.wikipedia.org/wiki/Brute_force_attack'>brute force attempt</a> was detected. Please wait a few minutes and try again. Attempting to login again will only increase this delay. If you frequently experience this problem, we recommend having your username changed to something less generic.

    <form action="/login/" method="post" >

    <input type="hidden" name="login_theme" value="cpanel" />

    <table width="200px" class="login" cellpadding="0" cellspacing="0">

    <tr>

    <td align="left" colspan="2"><strong>Login</strong></td>

    </tr>

    <tr>

    <td class="login_lines">Username </td>

    <td class="login_lines"><input id="user" autofocus="autofocus" type="text" name="user" size="16" tabindex="1" /></td>

    </tr>

    <tr class="row2">

    <td class="login_lines">Password </td>

    <td class="login_lines"><input id="pass" type="password" name="pass" size="16" tabindex="2" /></td>

    </tr>

    <tr>

    <td colspan="2" style="text-align: center"><input type="submit" value="Login" class="input-button" tabindex="3" /></td>

    </tr>

    </table>

    <input type="hidden" name="goto_uri" value="/getsqlbackup/ablaty_tours.sql.gz" />

    </form>

    <script type="text/javascript">

    //<![CDATA[

    document.getElementById("user").focus();

    /* Must not include external javascript -jnk 06.20.09 */

    //]]>

    </script>

    </div>

    </div>

    <div id="bot">

    </div>

    © cPanel, Inc. 2011

    </div>

    </body>

    </html>

  8. Has the cpanel login cookie format been changed recently? A script that I've been using for a daily backup of my MySQL database recently stopped working.

     

    I originally made the script based on this post:

    http://www.helionet....4737#entry64737

     

    Currently this is what the script returns: http://10stoptours.c...ipt/buMySQL.php

     

    I have included a copy of the source.

     

    Thanks,

    Alex

     

     

    php

    # Edit email info

    $to = "Alex <myemal@gmail.com>";

    $from = "Automated Backup <dailybackup@10stoptours.com>";

    $subject = "Mysql Backup";

    $message = "10StopTours.com Mysql GZIP Backup";

     

    # Edit cpanel backup info

    # login is cpanel login username and password

    $user_name = "username";

    $user_pass = "password";

    $database = "username_tours";

    $domain = "10stoptours.com";

    $url = "http://$domain:2082/getsqlbackup/$database.sql.gz";

    $agent = "Mozilla/4.0 (compatible; MSIE 5.01; Windows NT 5.0)";

    $cook_file = "curl_login_cookie.txt";

     

    # get file extension

    $extract = pathinfo($url);

    $fname = ($extract['basename']);

     

    $ch = curl_init();

    curl_setopt($ch, CURLOPT_URL, $url);

    curl_setopt($ch, CURLOPT_HEADER, false);

    curl_setopt($ch, CURLOPT_REFERER, "http://$domain");

    curl_setopt($ch, CURLOPT_USERAGENT, $agent);

    curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);

    curl_setopt($ch, CURLOPT_FOLLOWLOCATION, true);

    curl_setopt($ch, CURLOPT_UNRESTRICTED_AUTH, true);

    curl_setopt($ch, CURLOPT_USERPWD, "$user_name:$user_pass");

    curl_setopt($ch, CURLOPT_COOKIEFILE, $cook_file);

    curl_setopt($ch, CURLOPT_COOKIEJAR, $cook_file);

     

    $result = curl_exec($ch);

    $extract = curl_getinfo($ch);

    $httpcode = $extract['http_code'];

    curl_close($ch);

     

    if ($httpcode >= 200 && $httpcode < 303) {

     

    ####### Email gzip attachment #######

    $content = chunk_split(base64_encode($result));

    $uid = md5(uniqid(time()));

    $header = "From: $from\r\n";

    $header .= "MIME-Version: 1.0\r\n";

    $header .= "Content-Type: multipart/mixed; boundary=\"".$uid."\"\r\n\r\n";

    $header .= "This is a multi-part message in MIME format.\r\n";

    $header .= "--".$uid."\r\n";

    $header .= "Content-type:text/plain; charset=iso-8859-1\r\n";

    $header .= "Content-Transfer-Encoding: 7bit\r\n\r\n";

    $header .= $message."\r\n\r\n";

    $header .= "--".$uid."\r\n";

    $header .= "Content-Type: application/x-gzip; name=\"".$fname."\"\r\n";

    $header .= "Content-Transfer-Encoding: base64\r\n";

    $header .= "Content-Disposition: attachment; filename=\"".$fname."\"\r\n\r\n";

    $header .= $content."\r\n\r\n";

    $header .= "--".$uid."--";

    mail($to, $subject, $message, $header);

    ####### End email attachment ########

     

    } else {

    echo "cPanel Login Failed!";

    }

     

    # delete cookie file

    if (file_exists($cook_file)) {

    unlink($cook_file);

    }

    ?>

  9. Ya, it has been working this evening. I was having the problem during the afternoon, but I couldn't access Helionet to post then.

     

    So if it is working now (off-peak I assume) but not always during the day (peak server load I assume), then that is probably a good indicator that the problem is with the server, not my site, right?

     

    Also, is the status tab in MyPHPadmin the status for all the accounts, not just mine? IE where it says 64 tables open, that means there are 64 tables open on the whole server, not just on my account, right?

     

    Thanks,

    Alex

  10. The original topic was closed, so I couldn't reply--

    I am still getting the Too many connections error. Reading through the Heliohost Twitter, it seems like the updating is all done. Does that mean the problem is elsewhere, or do you think it still has something to do with the server updating?

     

    Thanks,

    Alex

    10StopTours.com

  11. I am receiving an error when I try to connect to a MySQL database

     

    #1040 - Too many connections

     

    Sample Page:http://10stoptours.com/Tours.php

     

    Could the problem be that there are too many connections open in all of heliohost (not just my site, but all the sites combined)?

     

    I have never gotten this error before, and all my pages create temporary connections, so I don't think it is a problem with the code. Also, I don't have any users (yet...), so that's not the problem.

     

    Thanks,

    Alex

    10StopTours.com

  12. Okay, try this:

     

    Change "www.10stoptours.com" to "www"

    Change "10stoptours.com" to "@"

     

    under the host name column.

     

    works perfectly. Thanks for all your help! One more question: If i want to create a subdomain (IE m.10stoptours.com), do I need to do it in cpanel or the host records page on Enom?

     

    Thanks,

    Alex

  13. Ok, I'll give it another day and see what happens (its been 1 day already). Enom says it can take up to 3 hours, though, so I doubt that is the problem.

     

    Could the problem be that I am not using the correct nameservers? Right now it is set to use the default ones, but I can enter up to 5 custom ones. Should I change it to

     

    ns1.heliohost.org

    ns2.heliohost.org

     

    Thanks,

    Alex

  14. I tried that, but I still can't get it to work. Is there anyway to figure out if the problem is with something I've configured on heliohost, or on enom?

     

    When I try to go to the site 10stoptours.com it returns a "this page can not be found" message. Does this mean it is not even reaching Heliohost?

     

    My site is set up with google apps, and all the google apps (mail.10stoptours.com, docs.10stoptours.com etc...) work fine. This makes me think that I haven't configured something properly on the Heliohost side

     

    Here is a screenshot of what the DNS looks like

     

    Thanks,

    Alex

    post-22313-1309701718.jpg

  15. That's fair. Sorry & Thanks. It said it worked! Can you explain what else I need to do to switch it over (IE, don't I need to tell the registrar where my site is hosted)?

     

    Enom is asking for my host name, address, and record type

     

    -Alex

     

  16. I would like to switch my domain geotours.heliohost.org to a new domain that I just purchased, 10stoptours.com . Can you help me out? I understand that I can park the new domain, but I would prefer to actually change it.

    This script http://www.heliohost.org/home/support/scripts/domain changes your main domain for you.

     

    I was under the impression that that link is to switch from one free domain to another (IE if I wanted to switch from Geotours.Heliohost.org to toptours.Heliohost.org). What I want to do, is use the .COM which I already purchased, so that I have a top level domain

×
×
  • Create New...