SQL Connection Error When Connecting Via Lan
Jul 18, 2008
I have two servers (one for apache and one for SQL) where both are in the same DC. I looked at the BW graph and saw that the SQL server has pulled approx 4TB BW on the internet the last 30 days.
Since both are in the same DC, it would be better to run it via the network since it has free lan traffic compared to wasting a lot of "internet BW".
I'm currently using sqlservername.domain.com in the SQL connection string, but when I tried with the IP, the php script stalls for 30 seconds and then reports: "Can't connect to MySQL server on 'hostname' (4)".
Could this be a iptables issue? I also tried to add the apache IP in the "Additional MySQL Access Hosts" from cPanel, but that didn't help much.
Servers:
Apache - 10.1.0.xxx
SQL - 10.1.1.xxx
If I'm not mistaken, if the subnet isn't set to 255.255.255.0, both servers should be within range.
View 2 Replies
ADVERTISEMENT
Dec 3, 2006
ERROR:
Error connecting to IMAP server: localhost.
111 : Connection refused
I keep getting this error message from Squirelmail when i try to login can someone help me out.
View 1 Replies
View Related
Apr 21, 2009
I seem to be having problems every 20 accounts i create through clientexec work fine than i whole bunch dont i seem to be able to fix it by using a new hash key.
However it happened again at 44 accounts i dot have any idea what to do! i get a error log saying this.
If it helps all the signups are over 2 days.
Sorry, we could not create the account. The following error was
produced: The package was not found on the server.
Here is the list of plans found on the server:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
[url]
<html xmlns
<head>
<link rel
<meta http-equiv
<title>cPanel® 11</title>
</head>
<body>
<div id
<div id
</div>
<div id
<form action
<input type
<table width
<tr>
<td align
</tr>
<td>Username</td>
<td><input type
<tr class
<td>Password</td>
<td> </td>
</table>
</form>
<br />
</div>
© cPanel, Inc. 2006-2008
</body>
</html>
View 2 Replies
View Related
Dec 29, 2008
i'm on Linux dedicated box -DirectAdmin panel
I use Squirrelmail to se my e-mail. When i try to log inn and read mail i get this message: Error connecting to IMAP server: localhost. Where can i change this......
Squirrelmail
SquirrelMail version 1.4.17
By the SquirrelMail Project Team
ERROR
Error connecting to IMAP server: localhost.
111 : Connection refused
webmail
ERROR (2): fsockopen() [function.fsockopen]: unable to connect to localhost:110 (Connection refused) (/var/www/html/webmail/inc/class.uebimiau_mail.php:80)
RoundCube Webmail
Connection to Imap server failed
Read on another forum, that this can solve the problem
/etc/rc.d/init.d/imaps restart
/etc/rc.d/init.d/imap restart
-bash: /etc/rc.d/init.d/imaps: No such file or directory
-bash: /etc/rc.d/init.d/imap: No such file or directory
telnet localhost 143 for imap or 993 for imap over ssl
Usage: telnet [-8] [-E] [-K] [-L] [-X atype] [-a] [-d] [-e char] [-k realm]
[-l user] [-f/-F] [-n tracefile] [-r] [-x] [host-name [port]]
Also Xinetd restart don't help
[root@server etc]# /etc/rc.d/init.d/xinetd restart
Stopping xinetd: [ OK ]
Starting xinetd: [ OK ]
Looks like that Imap isn't installed ?
Correct me if i'm wrong ..............
View 3 Replies
View Related
Jul 4, 2007
I have this problem with MySQL
Quote:
Error while connecting to MySQL. Failover enacted.
MySQL is Running and Working, how i can fix this problem?
View 9 Replies
View Related
Jul 16, 2008
When i try and connect to my server via SSH it replys with an error saying;
Server refused to allocate pty
stdin: is not a tty
My host's knowledge base says to click "Fix Centos Dev" but this doesn't work...
View 6 Replies
View Related
Oct 23, 2007
I have a vb forum that keep sending me email errors: max_user_connections. I've increased the setting in my.cnf to 2000 (max allowance) and still getting error.
What's possibly are the other reasons? Anyone has any idea?
View 3 Replies
View Related
Nov 15, 2007
I have a problem to send email using qmail to 1 company.
eg : mail@mycompany.com to mail@companytwo.com
The problem happen just when i send email to this companytwo only....
when i run this command to check
tail -f /var/log/qmail/send/current
i found this error appear 'Sorry,_I_wasn't_able_to_establish_an_SMTP_connection'
How to i fix this problem....
View 10 Replies
View Related
Mar 9, 2007
Why does this happen? How should I fix it? Can I just restart the sql service? How to do so?
This either means that the username and password information in your wp-config.php file is incorrect or we can't contact the database server at localhost. This could mean your host's database server is down.
* Are you sure you have the correct username and password?
* Are you sure that you have typed the correct hostname?
* Are you sure that the database server is running?
If you're unsure what these terms mean you should probably contact your host.
View 5 Replies
View Related
Apr 18, 2008
When i am trying to connect to ftp, browser shows me error
Error 421 Service not available, closing control connection
this problem comes at home but not in office. I am able to access my ftp a/c with same user name and password but in home it i got the error.
View 10 Replies
View Related
Oct 22, 2009
i have a vps
and all my site not working!
i got this error:
rndc: connect failed: 127.0.0.1#953: connection refused
View 1 Replies
View Related
Apr 11, 2009
An error occurred during a connection to site.com.
SSL received a record that exceeded the maximum permissible length.
(Error code: ssl_error_rx_record_too_long)
The page you are trying to view can not be shown because the authenticity of the received data could not be verified.
I'm not sure on how to fix this. Running CPanel.
I can access WHM/CPanel fine on SSL from the main IP. Just not any of the sites or CPanel from the other IPs.
View 1 Replies
View Related
Dec 23, 2008
my site is working fine for somedays and suddenly its stoped and hanged and also my PPP is not working , and file manager in PPP its give me this error
VZAgent returns error #422: "Cannot initialize connection to remote host"
and the suppord admin said I have problem in failcnt
[root@server ~]# cat /proc/user_beancounters
Version: 2.5
uid resource held maxheld barrier limit failcnt
1592: kmemsize 18353610 18355203 65536000 65536000 0
lockedpages 0 0 256 256 0
privvmpages 166455 171964 262144 262144 119810
shmpages 4885 4885 131072 131072 0
dummy 0 0 2147483647 2147483647 0
numproc 150 150 600 600 0
physpages 101554 108439 0 2147483647 0
vmguarpages 0 0 196608 196608 0
oomguarpages 101554 108439 196608 196608 0
numtcpsock 141 141 600 600 0
numflock 7 8 300 330 0
numpty 1 1 16 16 0
numsiginfo 0 1 384 384 0
tcpsndbuf 2350036 2625064 32768000 36864000 0
tcprcvbuf 2310144 2129920 32768000 36864000 0
othersockbuf 32976 573000 32768000 36864000 0
dgramrcvbuf 0 4284 1024000 1024000 0
numothersock 32 32 600 600 0
dcachesize 642510 653661 8192000 8192000 0
numfile 2636 2663 20000 20000 0
dummy 0 0 0 0 0
dummy 0 0 0 0 0
dummy 0 0 0 0 0
numiptent 228 228 700 700 0
I want to know what is my ram site and why that all errors?
View 6 Replies
View Related
Nov 5, 2014
We are hosting a Git server (using Gitolite v3). Our users are interacting with git over an https connection. Here's the relevant versions of software:
Apache 2.4.6
OpenSSL 1.0.1e-fips
Red Hat Enterprise Linux Server release 6.5 (Santiago)
git version 1.8.5.3 (Server Side)
git version 1.9.2.msysgit.0 (Client Side)
Users sometimes encounter an SSL error message when attempting to run git commands that talk to the server (e.g. clone, push, pull). The error message is "Unknown SSL protocol error in connection to servername:443". Users can usually simply try the command again, and it will then work successfully.
I've managed to capture a bit more output by setting the GIT_CURL_VERBOSE flag, see output below.
Code:
* Couldn't find host servername in the _netrc file; using defaults
* Adding handle: conn: 0x2587c40
* Adding handle: send: 0
* Adding handle: recv: 0
* Curl_addHandleToPipeline: length: 1
[Code] .....
View 6 Replies
View Related
Jul 16, 2015
I just configured the plesk server to only allow ftps connections.
When I try to access with a ftp account on the server itself it works well, however when I try to access it from a client PC it get these errors :
(...)
Response: 200 Type set to I.
Command: PASV
Response: 227 Entering Passive Mode (XXX,XXX,XX,XX,XXX,XX).
Command: LIST
Response: 150 Opening BINARY mode data connection.
Error: The data connection could not be established: ECONNREFUSED - Connection refused by server
On the client PC I configured Filezilla in Passive mode with "Require explicit FTP over TLS".
Normally for the firewall only the port 21 is needed or am I wrong (with explicit FTP and passif configured)?
View 1 Replies
View Related
Oct 22, 2009
i got this error :
rndc: connect failed: 127.0.0.1#953: connection refused
oot@server [/]# rndc status
rndc: connect failed: 127.0.0.1#953: connection refused
root@server [/]# /etc/init.d/named status
rndc: connect failed: 127.0.0.1#953: connection refused
named is stopped
root@server [/]# /scripts/fixndc
Named could not be restarted, any obvious config errors should show up below this line.
No critical problems found, will attempt to regenerate keys regardless.
warn [fixrndc] /usr/sbin/rndc status failed: rndc: connect failed: 127.0.0.1#953: connection refused
Creating rndc.conf
Creating /etc/rndc.key
warn [fixrndc] /usr/sbin/rndc status failed: rndc: connect failed: 127.0.0.1#953: connection refused
Restarting named
warn [fixrndc] /usr/sbin/rndc status failed: rndc: connect failed: 127.0.0.1#953: connection refused
/scripts/fixrndc failed to fix the rndc key (or named is otherwise broken), please investigate manually
and i have try to reload the rndc but i got this error :
root@server [~]# rndc reload
rndc: connect failed: 127.0.0.1#953: connection refused
my vps info : linux os - centos , using cpanel , apache , mysql ....
root@server [~]# uname -r
2.6.18-028stab064.7
View 13 Replies
View Related
Oct 15, 2014
I have a client with a dedicated server running. Spec below.
The problem I am having is with incoming email. When I set up a new email account it can take about 10 attempts to log on to the incoming mail server. Once it has connected it will be ok for a short while then I will get a connection error and no emails will come through.
This is happening across all platforms, PC / MAC / iPhone and iPad.
I am a web designer with limited knowledge of the setting up of the server and was looking to set up email server within plesk.
General
CPUGenuineIntel, Intel(R)Core(TM) i5-2400 CPU @ 3.10GHz
VersionParallels Plesk Panel v11.0.9_build110120608.16 os_Ubuntu 12.04
OSUbuntu 12.04.4 LTS
Key numberPLSK.02873817.0002
System Uptime: 60 day(s) 10:03
Hostname
IP address
OSUbuntu 12.04.4 LTS
Panel version11.0.9 Update #62
View 1 Replies
View Related
Oct 9, 2014
I just tested the WP creation feature of PP12 and I get the following error when I attempt to view the newly created CMS...
"Error establishing a database connection"
If I navigate to the database page and click webadmin, I can connect and see the WP database created. Everything works in phpMyAdmin.
Going to ../wordpress/wp_login.php returns the error.
View 3 Replies
View Related
Mar 23, 2015
I have this error.
Code:
[Mon Mar 23 20:53:14 2015] [warn] [client xxx.xxx.xxx.xxx] (104)Connection reset by peer: mod_fcgid: error reading data from FastCGI server
[Mon Mar 23 20:53:14 2015] [error] [client xxx.xxx.xxx.xxx] Premature end of script headers: index.php
My VPS
OSDebian 7.8
Plesk version12.0.18 Update #38
Code:
<IfModule mod_fcgid.c>
<IfModule !mod_fastcgi.c>
AddHandler fcgid-script fcg fcgi fpl
[Code] .....
View 2 Replies
View Related
Apr 7, 2008
I have ftp server (pure-ftp). with firewall.
i allowed 20 and 21 port in "CSF" firewall
now when i or our client connect to the server connection done.
and the they fire dir or ls command they will receive error
"425 Could not open data connection to port 2535: Connection timed out"
what is the problem.i have already allowed passive port 2500:3500 then why i received this types of error
View 3 Replies
View Related