My server works perfectly with INSERT, UPDATE, DELETE for mysql. but after like 12 hours later, my application crashes and I get this "Can't connect to MySQL server on 'localhost' (10055)" and I would have to restart my applications and everything will be working perfectly.
Do you guys have any idea why this happen?
I do have a lot of connections coming in and out of my server. Would that mean anything?
I have some cron jobs that suddenly stopped a few days ago. I traced it back to the host setting when connecting to the database. When I use localhost, the script fails giving me this error: 'Error establishing mySQL database connection. Correct user/password? Correct hostname? Database server running?'. When I use the server's IP address or 127.0.0.1, the script works as it should.
Also, this only seems to be happening to one account and if I were to access the script through a browser and the host is set to 'localhost' the script works fine.
What could cause localhost to not work only for crons and for only one account?
Running: CENTOS 6.3 x86_64 standard WHM 11.38.0 (build 19)
The system was unable to authenticate to the local MySQL server on “localhost”.The connection driver reported the following error: Cpanel:BI::Mysql connect('','root',...) failed: Too many connections...is there a way of setting a cron and mysql to restart at a interval of 24 hours ?
After the upgrade of our Plesk installation from 9.5x to 11.5.30Everything works ok (sites,sites with databases, Plesk etc)but when I go to Home>Tools & Settings> Backup Manager.I see errors on every daily backup I have on schedule:
The backup Plesk_Daily_Full_Backup_1407060112.tar has completed with warnings. (View the details) Close this message
Error:mysql "myuser_drupal" Unable to define superuser password for mysql server on localhost
Error:mysql "myuser_drupal" Unable to get list of db servers (ErrorCode: 1, STDOUT.
Error:mysql "myuser_wp_eng" Unable to define superuser password for mysql server on localhost
I have been struggling with a couple of new servers that we want to run Centos 5 on. For a second assume that is our desire so going back to 4.x isn't an option yet.
Now while I mention Centos 5, the problem seems to be with PAM and x64.
When trying to login to the server via ssh, the login succeds but then immediately kicks the user out. I have tried this with root and another user created. I have set the UsePam option to no to try to resolve this in sshd_config.
On the H-Sphere forum I found this reference:
" if i try to connect with ssh and i enter the right password i get an error and ssh closes the connection. The answer already was in the ticket you opened:
That is known bug dealt with PAM authentication.
The bug was fixed for i386 systems long time ago. But it was not fixed for x86_64 architecture.
We build FreeVPS kernel new version 1.5-13.1 for x86_64 architecture to fix the problem. We also installed the kernel into the box IP 126.96.36.199.
Please reboot the box with the new FreeVPS kernel version: 2.6.9-freevps-1.5-13.1smp. Let us know the result."
Does anyone know how to resolve this? A reinstall of PAM was attempted by a well known sysadmin here but to no avail.
I've been getting a lot of complaints today on my forum that users cannot view their websites which are subdomains on a seperate domain that I own. It makes no sense why they would have access to the forums which is on the same dedicated server, using the same IP, and with the same nameservers as the site they cannot access. This issue started last night out of nowhere.
Where should I even start looking? It appears to only be with overseas users since none of the US and Canadian users have any issues with either domains or their subdomains.
Yesterday I had to install a renewed SSL Certificate. Managed to get it installed, in Plesk under domains/www_mydomain_com, but I also deleted the default SSL from the server/certificates area... So then I was getting an dns 500 error when browsingour site and I could not start httpd from within plesk. Went in through SSH and tried to start it from there and got and error stating it could not find the SSLCA cert it was looking for. So I edited my httpd.include file to point to my new certificate. Now http works, but my email has stopped? What gives how could the two be related!
I can log into my webmail, compose message and when I send I get:
Warning: fsockopen(): php_hostconnect: connect failed in /usr/share/psa-horde/pear/Net/Socket.php on line 108
Warning: fsockopen(): unable to connect to 127.0.0.1:25 in /usr/share/psa-horde/pear/Net/Socket.php on line 108
I have started and stopped psa, qmail. Rebooted the server. I tried the telnet localhost 25 but I get connection refused. Anytime I check qmail status it says stopped. Don't know if that is right or not. I know I am not recieving emails asI have sent many today through other accounts and they all come back undeliverable.
We do run an online store as well so I am kinda nervous when our email goes down! Time to hire a server admin?
I am running Plesk 7.5.4 on Red Hat 9 on a Virtual Dedicated Server with GoDaddy.
Here is my "Component Info" from Plesk: bind 9.2.1-16 coldfusion-support 7.3-2.96.118 courier-imap 3.0.8-rh9.build75050824.12 frontpage 188.8.131.5234 httpd 2.0.40-21.17.legacy.1.swsoft mod_perl 1.99_07-5 mod_python 3.0.1-4 mysql 3.23.58-1.9 perl-Apache-ASP 2.57-rh9.build75050824.12 php 4.3.2-psa.rh9.1 psa 7.5.4-rh9.build75050824.12 psa-api-rpc 7.5.4-rh9.build75050930.11 psa-bu Component was not installed psa-horde 3.0.5-rh9.build75050824.12 psa-imp 4.0.3-rh9.build75050824.12 psa-logrotate 3.7-rh9.build75050824.12 psa-manual-custom-skin-guide 7.5.4-rh9.build75050824.12 psa-proftpd 1.2.10-rh9.build75050824.12 psa-qmail 1.03-rh9.build75050824.12 psa-qmail-rblsmtpd 0.70-rh9.build75050824.12 samba 2.2.7a-184.108.40.206.swsoft SSHTerm 0.2.2-rh9.build75050824.12 stunnel 4.04-3 webalizer 2.01_10-11
I just switched to a new server last month and Im having a problem where a lot of my members and even some of my mods are unable to connect to my website. They are just getting a page cannot be displayed error. The website is ftascene(dot)com. Is everyone here able to connect to the site, and any idea why not everyone would be able to connect?
Lately whenever i try to connect to my Plesk Panel, I get Firefox's "Unable to connect" error and with Internet Explorer I get "Cannot display web page". I disabled all addons, still couldn't connect. Checked my Firewall, still nothing. I pinged the IP and got 51ms. My site is still up. And I just dont know what's wrong.
After changing my web hosting (same system : VPS, same version of linux : CentOS 6 , but passage from Plesk 11 to 12), i am now unable to connect remotely via TCP-IP to my mysql databases (with third-party tools like Mysql Workbench, Toad...) ! I never met this problem before.
The only way to connect is to use a "Standard TCP-IP over SSH" connection method ... but i don't want (i did'nt need this method before) !
Though, remote connections are allowed from any host in the settings.
I had Plesk 10 installed on my openSUSE system (was a low version, maybe 11 or less) and then decided to upgrade to 11.5. So I did distribution upgrades to openSUSE 12.3 and everything went smoothly, except for some services like mysql and php. So I used Plesk autoinstaller to fix the php error and edited an outdated line in mysql configuration and both services ran smoothly!
Then I downloaded Plesk autoinstaller and ran the autoinstaller, but was surprised by this error message:
===> Checking for previous installation ... found. ERR (3) [panel]: Error during product key mode determination, details: Unable to connect to database: ; trace: #0 /usr/local/psa/admin/plib/functions.php(2821): isPpaKeyRequired() #1 /usr/local/psa/admin/plib/common_func.php3(11): require_once('/usr/local/psa/...') #2 /usr/local/psa/admin/plib/api-common/cu.php(5): require_once('/usr/local/psa/...') #3 /usr/local/psa/admin/sbin/httpdmng(8): include_once('/usr/local/psa/...') #4 (main)
Unable to connect to database:
- My MySQL version is: 5.5.33 openSUSE package - I did run mysql_upgrade with my admin username and password (password from: /etc/psa/.psa.shadow) and it worked successfully and fixed all of the errors, I did so after running the auto installer first, but then ran the installer again and the problem was still there - I can access my web page, but it still doesn't connect to MySQL either.
I believe this is a problem with MySQL, but how can I make sure or detect what exactly the problem is
Warning: fsockopen() [function.fsockopen]: unable to connect to mail.userdomain.com:25 (Connection timed out) in /home/user/public_html/_inc/class.smtp5.php on line 122 Message could not be sent. Mailer Error: Language string failed to load: connect_host
I just installed wamp here on my laptop to set up a developer machine for my website. I am used to going into the browser and just typing in "localhost" and having it bring up the test website. I'm sure there is probably something wrong with the configuration of the wamp files because it works for 127.0.0.1.
I am a Vietnamese girl and a new member. I'd just like to ask anybody knows about vietnamese localhost? I use appserv, but it does not have vietnamese language, so if I'd like to submit categories, etc. in Vietnamese into my phpmyadmin, it does not work.
Only languages are okay, like: English, Deutsch, French, Spain, .... but there are no Vietnamese language. What should I do?
We write with latin characters, but there are apostrophes which appserv cannot read.
Does it happen to any Vietnamese here in forum?
how can write a text in Vietnamese language into phpmyadmin,