Linux Cross-connect Routing
Mar 14, 2007
I have two RedHat EL 4 boxes linked via a cross-connect. One is a web server (10.0.0.3) and one is a mySQL server (10.0.0.2), the interface between them is eth1 on both machines and a second interface eth0 connects to the internet.
I want to use the web server to send queries to the database server via eth1, 10.0.0.2:3306 in this case. If I send a database query via eth1 there is a delay of about 10-20 seconds before the result comes back. If I send the same query to the database server but use it's main IP instead of the internal IP so that the query is being sent to it over the internet (xx.xx.xx.xx:3306), the result comes back instantly.
Similarly, if I send a query from any remote server the result is instant.
Why should there be such a huge delay when sending a query directly through the cross-connect?
The routing table ( ip route show ) for the web server is:
xx.xx.xx.xx/xx dev eth0 proto kernel scope link src xx.xxx.xx.xx
10.0.0.0/24 dev eth1 proto kernel scope link src 10.0.0.3
default via xx.xx.xx.xx dev eth0
and the routing table on the database server is:
xx.xx.xx.xx/xx dev eth0 proto kernel scope link src xx.xx.xx.xx
10.0.0.0/8 dev eth1 proto kernel scope link src 10.0.0.2
default via xx.xx.xx.xx dev eth0
I have ifcfg-eth1 on both boxes:
DEVICE=eth1
ONBOOT=yes
TYPE=Ethernet
IPADDR=10.0.0.3 / 10.0.0.2
NETMASK=255.255.255.0
Both boxes can ping each other and transfer files using wget without any apparant problems or delays.
Anyone have any ideas on how to fix this 10-20 second delay when sending queries through the cross-connect?
View 3 Replies
ADVERTISEMENT
Apr 3, 2008
I'm getting a cabinet colocation with a provider and on the sales order there is a setup and re-occurring fee for "cross connect". My rep explained it's for the connection from my cabinet to their switch. Is this a typical charge for colocation? I thought cross connect is for connecting from their facility to 3rd party providers.
View 13 Replies
View Related
Apr 7, 2008
How much do cross connect fees cost in the Equnix/Dallas Infomart and a Level3 owned datacenter? Is it priced according to what size circuit?
View 1 Replies
View Related
Jun 8, 2007
i am about to sign up for equinix's colocation service in LA. I am just curious if anyone else is paying similarly outrageous cross connect fees.. they are charging $300 for ethernet, and $200 for DS3.
View 14 Replies
View Related
Mar 25, 2008
OP: Linux Centos
I just got an additional 500GB hard drive added and mounted it to /home2
There are files that are in /home1 (orginal HD) that will need to be constantly moved over to /home2 via a ftp
But i keep getting this error
550 Rename/move failure: Invalid cross-device link
Does anyone have any ideas? I tried changing permissions but no luck also tried mounting the 2nd hard drive within a directory in /home1. Still gives the error.
View 5 Replies
View Related
Feb 15, 2007
I have the following problem with a CentOS server:
The main IP of the server is yyy.zzz.www.qqq
We've just purchased 3 additional IPs: aaa.bbb.ccc.100, aaa.bbb.ccc.101, aaa.bbb.ccc.102.
First, all outgoing traffic used aaa.bbb.ccc.100, but after deleting the gateways from the additional IPs it seemed to work fine, until we found out the following:
Now all traffic to aaa.bbb.ccc.XXX uses aaa.bbb.ccc.100 as outgoing IP.
What command would change this to use our main IP?
View 0 Replies
View Related
May 7, 2009
my plan for the network is:
LAN (10.0.0.0/24) > (eth0: 10.0.0.62) Debian Router (eth1: 172.16.0.62) > modem (172.16.0.1) > internet
I have change /proc/sys/net/ipv4/ip_forward from 0 to 1
and Routing table is:
Destination Gateway Genmask Flags Metric Ref Use Iface
172.16.0.62 * 255.255.255.255 UH 0 0 0 eth0
10.0.0.62 * 255.255.255.255 UH 0 0 0 eth0
10.0.0.0 10.0.0.62 255.255.255.0 UG 0 0 0 eth0
10.0.0.0 * 255.255.255.0 U 0 0 0 eth0
172.16.0.0 172.16.0.62 255.255.255.0 UG 0 0 0 eth1
172.16.0.0 * 255.255.255.0 U 0 0 0 eth1
default 172.16.0.1 0.0.0.0 UG 0 0 0 eth1
But client not connect internet when use debian router
config debian router?
View 6 Replies
View Related
Jun 3, 2008
how to configure linux so that it allows for two ip addresses on one machine?
I know this is possible because my server administrator setup one of my servers to have two different ip addresses so that I could have a static and dynamic http daemon (two different daemons but listening on different ips).
What do you need to configure?
View 1 Replies
View Related
Jul 18, 2007
how to set up networking for the following..
I have a windows 2003 server machine. This machine has 3 internet IPs.
Im running Microsoft Virtual Server and going to be running 2 virtual machines both running Linux (Ubuntu).
Ideally I would like the 2 VMs to use my spair 2 internet IPs. However they are assigned to the NIC on the real windows server. How can I route 2 of these ip addressess to the 2 VMs?
Baring in mind that the windows server has only 1 NIC (used for the internet)
View 1 Replies
View Related
Sep 30, 2013
My Plesk panel (11.5.30) hosts a number of domains that all use Google Apps for Business to host their emails. No emails are hosted on the panel, and the mail server is turned off. So is the DNS server.
Using the mail() php function to send automatic confirmation emails from a website hosted on the panel, they arrive at any address NOT hosted locally, however they fail to arrive at any address whose website is locally hosted.
My initial research suggested that Plesk was routing locally, hence the problem, however the mailserver has been turned off the for domain/webspace.
View 19 Replies
View Related
Oct 19, 2014
Since yesterday I can't connect to any of my ftp clients.For months I could login to my FTP using Coda and Filezilla and everything worked until yesterday.
Coda gives me this message:
Error -203: miscellaneous error occurred while trying to login to the host
Filezilla gives me this message:
Antwoord:220 ProFTPD 1.3.5 Server (ProFTPD) [MYSERVERIP]
Opdracht:USER username (username is my ftp username)
Antwoord:550 SSL/TLS required on the control channel
I have not changed anything on my server. Just out of the blue this errors appears and now my customers and I can't login anymore.I tried to restart the server, made a new ftp account..I don't know if I can reinstall the ProFTPD or need to open port 21?
View 3 Replies
View Related
Jan 18, 2015
I can not connect to the server with using "Require explicit FTP over TLS"
In /etc/proftpd.conf I have added from here [URL] ....:
<IfModule mod_tls.c>
TLSEngine on
TLSLog /var/log/tls.log
TLSProtocol SSLv23
[Code]....
PS: in Tools & Settings ->SSL Certificates ->I created a new self-signed certificate, set as default. In Tools & Settings ->IP Adress bind new certificate to IP
For each domain is created own certificate, but when try to connect, will be ascked to confirm a default certificate from Plesk I have create a new certificate (using SSH)
Service restarted too with: service sw-cp-server restart
View 1 Replies
View Related
May 27, 2015
We have many clients with same issue, when they try to connect into outlook they get a msg like this (print).
None of all them has the same issue, but a few of them.
When i restart all email services things works, but 30" later come back again...
View 4 Replies
View Related
Feb 6, 2015
I have a problem with connection to MySQL database over PHP.
If I define host address '127.0.0.1' works well. Problem occurs if host address is 'localhost'.
How to allow both 'localhost' and '127.0.0.1'?
View 1 Replies
View Related
Oct 5, 2013
With one from another server. Now roundcube does not want to connect to mysql anymore, i tried to edit this :
line:$rcmail_config['db_dsnw'] = 'mysql://roundcube:randompassword@localhost/roundcubemail';
i then used a MD5 generator to input the hash in the password field of the roundcube user in mysql, with no luck...I even tried to delete roundcube user from mysql, then remove psa-roundcube, then go through the plesk update manager and install roundcube again, did not change nothing, it didn't even create the roundcube user.
Is there anyway i can reinstall roundcube from scratch?PPP 11.5 up to date on ubuntu 12.04
Code:
[05-Oct-2013 14:03:54 +0200]: DB Error: _doConnect: [Error message: Access denied for user 'roundcube'@'localhost' (using password: YES)]
[Native code: 1045]
[Native message: Access denied for user 'roundcube'@'localhost' (using password: YES)]
[code]....
View 7 Replies
View Related
Sep 10, 2014
after the login page, a blank page appears and I can't access to the Plesk Control Panel :
in the file : /var/log/sw-cp-server/error_log
2014/07/09 14:45:04 [error] 7422#0: *3551 FastCGI sent in stderr: "Primary script unknown" while reading response header from upstream, client: 91.204.25.4, server: , request: "GET /admin/ HTTP/1.1", upstream: "fastcgi://unix:/var/run/sw-engine.sock:", host: "91.204.25.4:8443", referrer: "https://91.204.25.4:8443/"
View 7 Replies
View Related
Nov 12, 2013
want enable mssql_connect on php
plesk panel 11.0.9
centos
I want enable mssql_connect for php.
View 2 Replies
View Related
Aug 30, 2014
Yesterday I tried to install Fail2Ban on centos 6.5.
Set up for 30 seconds due to, I don't have much domains on plesk.
Fail2Ban stopped working and failed really bad, and it stopped working.
Later on we tried to uninstall Fail2Ban through Add/remove components and we were stack on logging. (about 20 hours same thing)
Right now, add/remove components comes with an error message (Can't connect to backend. No such file or directory)...
View 3 Replies
View Related
Dec 12, 2014
How to connect nginx to work with directory web_users for some virtual host?
This directory contains two accounts (user1, user2) with a large amount of static content (files .jpg), the downloaded web users themselves. At the moment they are processed by Apache, which causes an additional load on the server.
In hosting configuration for virtual host "domain.tld" set:
document root: httpdocs. (That is, the "httpdocs" and "web_users" directories are on the same level).
In the web server configuration settings (in additional nginx directives) i can't use the directive "server" (refuses to save), where you can specify the location of the additional "document root" for nginx.
View 3 Replies
View Related
Jul 18, 2014
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.
View 3 Replies
View Related
Aug 16, 2014
I recently upgraded to 12.0.18 and I am using Roundcube 1.0 from the panel. I read that the "Unable to connect to sieve serve" problem would be solved in version 12.It seems not. What to do?
View 12 Replies
View Related
Mar 8, 2015
I installed Plesk on a VPS running on Ubuntu 14.04. When I try to open phpMyAdmin the following error message appears:
You probably did not create a configuration file. You might want to use the setup script to create one.
Error
MySQL said: cannot connect: invalid settings.
When I try to click on the setup script link another error message pops up:
Error in Processing Request
Error code: 404
Error text: Not Found
What do I have to do to make phpMyAdmin work?
View 1 Replies
View Related
Jul 21, 2014
I am having trouble connecting to my ssh server. It responds with a lengthy error message about no network etc. but it is the last message that concerns me:
Sometimes, such troubles can be caused by a misconfigured firewall.
How can I check the firewall if I cannot connect to ssh? I am running plesk 11.5 control panel and CentOS 6. Is this something I can do from plesk?
I can see that the firewall in plesk is set to allow all for ssh, but I cannot see way to disable the firewall to test ssh connection. Can this be done from plesk?
View 3 Replies
View Related
May 30, 2015
I have the problem that I can't connect to my mailserver tru the mail client (Webmail works fine, I receive mails and can send mails)
But if i try to connect over mailclient I get this error in errorlog:
couriertls: connect: error:1408A0C1:SSL routines:SSL3_GET_CLIENT_HELLO:no shared cipher
What can I do to get connection over mailclient?
View 2 Replies
View Related
Apr 21, 2015
I have over 5 WP installations on my Server and i installed all manual and had never issues.
Now i installed a again a WP Site and after i go to the Wordpress Toolkit to search for the new installation i got the following Message:
PHP Parse error: syntax error, unexpected '?' in /usr/share/plesk-wp-cli/php/wp-cli.php(23) : eval()'d code on line 1 {"err_code":0,"err_message":"
With error cannot connect to DB.
So all WP installations are running fine instead of the new one.... I didn't change any configs files of PHP all is standard, the wp-config.php is correct, the Site is running fine.
From my point of view is this an issue by Plesk due to Parse error message at the files of Plesk, see error message!
System:
OS Debian 7.8
Plesk Version 12.0.18 Update #43, zuletzt aktualisiert: 20. April 2015 13:17:36
I know with an older Version of Plesk 12.0.18 it was working fine too, so the bug was implemented with a MU.
I checked the file as well and find out that at all PHP files the code is not closed at the end so the "?>" is always missing.
View 4 Replies
View Related
Aug 11, 2014
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
View 3 Replies
View Related
Nov 9, 2013
when I try to access to my plesk I obtain:
ERROR: PleskFatalException: Unable to connect to database: Access denied for user 'admin'@'localhost' to database 'psa' (auth.php:142).
If I restart with ssh /etc/init.d/psa start and I check plesk_11.5.30_reset_instance_data.log
I note: ERROR 1044 (42000): Access denied for user 'admin'@'localhost' to database 'mysql'.
View 10 Replies
View Related
Jun 27, 2008
I have a facility that offers racks and bandwidth (expensive), however the same facility is a POP for Cogent as well, who after I contacted informed me that I can buy bandwidth from them directly and just have the racks with said facility.
Now, besides my servers, do I need to own anything in order for me to mix my 100MB uplink from my Rack provider and Cogent?
I am assuming that with Cogentco I will be able to get IPs more easily and thru them, so if I renew my contract I don't have to migrate class C no matter what datacenter I host (as long as I have cogent in the mix, correct?)
BTW; is it usual to get charged anything for BGP or cross-connect, what do you pay?
View 6 Replies
View Related
Sep 21, 2014
Since we had Update to 12.x we have problem to connect to any ftp Server
We have this Problem on two diffrend Plesnikserver.
Both are running under Ubuntu 12.04 ....
View 1 Replies
View Related
Mar 30, 2015
I cant connect to the Database WebAdmin. If I click the icon, i got an "File not found." in the opening tab. Back in Plesk I get the following:
ERROR: PlexkFatalException
Server id is undefined?
I even cant connect via ssh to the mysql part of my server. But the server is running and both of my two wordpress pages run smoothly. I know this page: [URL] .... – but as I sad, cant enter die mysql.
It seems something is wrong with the permissions. I'm on the point where I just want to reset everything database related. But how?
View 2 Replies
View Related
May 10, 2009
On IIS6 many of thesite are under cross scripting attack I tried by remove the the code but it affects again after some time I reset the ftp password and passowrd is a combination of complex alpna numeric character.I have cheked the permission it is ok.
How you guys fight with cross dcripting attack.
View 9 Replies
View Related