Server :: Getting Webserver Blocked By Mysql Server Because Of "to Many Connection Errors"?
Jan 17, 2011
I sometimes get my webserver blocked by my mysql server because of "to many connection errors" and have to use flush hosts to solve it, i now wonder if there is any way to increese that connection error value so the webserver wont get blocked ?
View 1 Replies
ADVERTISEMENT
Jul 14, 2010
I've recently turned an older PC into a linux box for the purpose of creating an online server with ftp and ssh capability and file sharing. I've installed Kubuntu 9.10 and I'm trying to ssh to the computer from outside the network.I've install the openssh-client and openssh-server and I've created a static ip address, which works fine. I cannot ssh to the machine from outside the isp using either the direct ip address or hostname. The machine is connected to the internet via a Linksys Wireless G router, and I've edited the configuration settings to keep port 22 open for connect in the port server utility.
I've checked the ssh_config and sshd_config settings and port 22 is the default connection port, which is supposed to be open. I've run ifconfig and everything looks fine. I can connect to the computer using a machine connected to the same router, but other computers cannot access it. I want it to be visible to everyone.
View 6 Replies
View Related
Jul 10, 2011
I see tons of these in my dmesg, and it's causing my virtualbox vms to crash with disk IO errors. It's only affecting the Linux guests. What would cause this?
Code:
INFO: task tar:1865 blocked for more than 120 seconds.
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
[code]....
View 11 Replies
View Related
Jul 4, 2009
I have a fresh installation of CentOS 5 I'm using for a server, and I'm having issues with port configuration. I have iptables running, and it started with no /etc/sysconfig/iptables file. I added a few basic rules (port 53, port 10000 for webmin), saved the file, and restarted the service. I tried connecting to webmin, scanned ports, and traffic was blocked. I set iptables to allow all traffic and restarted the service, and it still showed basically every port as being blocked. It seems port 80 and port 22 work for some reason, even when I tell iptables to block all ports.
I'm not sure what's going on here. Iptables is reading the /etc/sysconfig/iptables file, and if I use lynx localhost:someport it responds as it should according to the file. However, if I try connecting by IP, it's like there's some other firewall or something running that does whatever it's configured to do.....
View 2 Replies
View Related
Feb 3, 2011
We have 2 servers, 1 is the webserver and the other is the Mysql server.
When transfering a 2GB file from the webserver to the Mysql server.
The webserver's connection to the mysql DB server dies completely.
Need to restart the MYSQL process in order for it to come back online.
During this connection downtime, when using phpmyadmin on the mysql server shows no problem running queries etc.
View 2 Replies
View Related
Dec 18, 2009
Ok let's say I have Apache Webservers on 2 different machines within my network, I have http://outterABC.com setup at dyndns.org to point to my modem at home, and my router forwards Port 80 to the ServerA Machine (i.e. 192.168.0.3). I can access my webpage I setup for the Server A Machine.
But what I want to try and do is somehow access my ServerB machine's website that is on my same network. I tried something like this http://ServerB.outterABC.com and the apache page came up with something like the page wasn't available. I want to access the content of the ServerB website, but because I have only one router, i can only forward Port 80 site traffic to my ServerA machine's website. I'm sure it's a different syntax I should use but i'm just not sure what I should enter to bring up the apache root web page for the Server B website via http://outterABC.com
I tried setting up DNS A records on ServerA, but I don't think it will work with what i'm trying to do above.
View 1 Replies
View Related
Sep 16, 2010
I'm unable to install this package, tuxpaint.I get errors in that it cannot reach the proper url or connection to the server?Not sure what I'm doing wrong.I figure the repo is correct and I thought I had the proper source since I've installed other packages.What could be wrong?
View 1 Replies
View Related
Jul 29, 2010
Running slackware13.1 with mysql on box2 and apache on box1 both in same lan. How do i configure mysql for apache connection? I have looked at many mysql config. howto which i can follow but i'm confused about whether the connection type is considered remote connection because the 2 services are on seperate boxes but are in same lan? Apache will be serving public webpages not just to the lan.
View 1 Replies
View Related
Jun 8, 2010
what is the correct command on a mysql command line to alllow mysql to alllow remote connection on a server
View 1 Replies
View Related
Jan 28, 2010
i have MySQL on my CentOS server and have installed it and got it up and running through the command line.
I have changed root's username and password so there is no user called 'root' anymore. I also created a database called pancakes.Now when i try to log in using Query Browser, i put the server's IP in 'hostname', my new roots username and password in 'username' and 'password'.When i try to log in it gives me error 1130 and says connection from myhostname not allowed.
View 6 Replies
View Related
Dec 18, 2010
I'm dealing with two dedicated servers hosted at liquidweb. The basic idea is that one machine might not be enough to handle the traffic at launch so we have a second machine to shoulder the MySQL duties -- it seemed a natural way to divy up computation burdens.
The support staff at LW tells me that each machine has three network cards
1) Public-facing NIC through which all public visitors are served
2) NIC on LAN so that liquidweb can access the machine locally for maintenance and support
3) Third NIC so that the two machines can speak to each other rapidly on their own private network. Apparently the two machines are connected via crossover cable.
It's my understanding that machine 1 has IP of 192.168.0.1 on this third card and machine 2 has IP of 192.168.0.2 on its third card. For some reason, these machines cannot speak to each other using ping, telnet, ssh, http, or MySQL.
I've contacted tech support about this issue but was wondering how I might be sure that the MySQL traffic transits the third network card on each machine. I'm guessing that it's just a matter of using the third card's IP addresses but want to be sure. Is there any way to specify a NIC when connecting via MySQL?
View 1 Replies
View Related
Jul 27, 2010
I wish to connect to MySQL using an ODBC connection and I'm using isql to test. On the server connection using isql to local host is sweet however the problem is the client.Okay my set up looks like thisOn the server /etc/odbc.ini is[MySQL-scopus2008]Description = MySQL citation databaseDriver = MySQLServer = localhostDatabase = scopus2008Por
View 4 Replies
View Related
Feb 22, 2011
I have a machine running with slackware64 13.1 and vnc servers is installed on it. It worked for months until yesterday, when I couldnt connect to the machine remotely.
I have 2 vnc "users" on this machine, root and "user". Each have their own desktop. Root has desktop :1 and user had desktop :2. Simple enough.
VNC servers is started via /etc/rc.d/rc.local with the command:
Code:
Code:
It worked flawlessly. I use the very same configuration on my home server, never had a glitch.
From the "distant" machine, I get this error when I try to connect:
Code:
Unable to connect to VNC server
What has changed so it no longer works? I assume its not a network problem since the machines are all located in my home network and there is no firewall or router in between them.
View 2 Replies
View Related
Mar 2, 2010
I'm try to setup a database server using mysql, the server starts fine, and I can access it using the built in mysql client via console (adding databases and tables works fine), but the problem is... I always get a connection refused error whenever I access the database outside the built in mysql client (example, if I write a code that connects to mysql). So, I tried execute an nmap command and the only ports open are these ports:
[Code]....
there's no 3306 for mysql... I'm thinking that the firewall is just blocking the port that mysql is using, but my question is, how could the built in client connect to the server if there's no open port for mysql server? Don't clients usually access a servers through ports?
View 4 Replies
View Related
Apr 21, 2011
I'm running a linux cloud server with the following config
1.2ghz Processor allocation
752MB Ram
The site loads slow and clicking a link almost freezes the page for a second. Also, the page loads could be much faster. We've been running mysqltuner and have pretty much optimized all slow queries. Is there anything we can do to fine tune the server for faster and more responsive?
Httpd.conf
Timeout 20
KeepAlive Off
MaxKeepAliveRequests 100
KeepAliveTimeout 5
<IfModule prefork.c>
code....
View 2 Replies
View Related
Jun 7, 2011
I think this goes here, but I'm not sure. I decided that XAMPP had been troublesome enough. MySQL never worked. So I decided to instal the LAMP stack offered by YaST. I went about installing it thinking that it would all work. But it seems that I was wrong. So I try to start mysql, and here's what I get:
Code:
the-matrix:~ # mysql start
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/mysql/mysql.sock' (2) or
Code:
the-matrix:~ # rcmysql start
Starting service MySQL warning: /var/mysql/mysql.sock didn't appear within 30 seconds
chmod: cannot access `/var/run/mysql/mysqld.pid': No such file or directory
[Code]...
View 6 Replies
View Related
Jun 2, 2010
i am using liferay5.2(mysql included in the download pack) on fedora. while liferay is working fine but i cannot connect to mysql.i am getting the error
[
[root@localhost ~]# ln -s /var/lib/mysql/mysql.sock /tmp
[root@localhost ~]# /etc/init.d/mysqld start
Timeout error occurred trying to start MySQL Daemon.
[code]....
i didnt find the mysql.sock file in the location /var/lib/mysql/mysql.sock. i cannot find the portal-ext.properties file also to make intial settings.
View 9 Replies
View Related
Mar 23, 2011
Linux printing appeared to be working fine up until yesterday. Today typing lpq gives the following: lpq Printer 'sdst@other.domain' - cannot open connection - Connection timed out Make sure LPD server is running on the server
The /etc/cups/printers.conf file is properly set, the printers appear in localhost:631 and they are printing test pages. However, all command line print commands seem to be trying to print to sdst@other.domain I don't know why printers.conf is being ignored and why and how sdst@other.domain was added. Seems like it might have been auto-discovered?
# dit: sdst@other.domain was mentioned in /usr/local/etc/lpd.conf I'm not sure why lpd.conf is being used instead of /etc/cups/printers.conf
View 1 Replies
View Related
Mar 28, 2011
I recently installed the pptpd server on my system and set it up according to these instructions:HTML Code[URL]t=132029However after setting everything up on attempting to connect to it from a windows machine (windows 7 home premium to be specific) it gives me two errors which are 720 and 800...It reaches "registering your computer on the network" fine and then gives 720 on the first attempt to connect and then 800 on the second attempt to connect...and then on the third 720 and 4th 800 and so on..My system running the server's I.P is 192.168.1.70My system running the windows OS trying to connects I.P is: 192.168.1.66
View 2 Replies
View Related
Jul 14, 2010
I am using CentOS5 and installed the MySQL for server during the installation. I can set up and use MySQL databases. But I cannot make it startup everytime the server restarts. And quite a lot of methods need this folder "support-files/mysql.server", while my set up cannot find this. I am wondering if my installation of the MySQL for server is complete or not.
View 4 Replies
View Related
Feb 3, 2010
I'm having a trouble with sendmail on Centos. When I check the maillog, every emails is sent, but when i check my mail browser, it didn't receive the mail. This problem happens with an email address only. (the red email was not received ) This is the maillog
[Code]....
View 5 Replies
View Related
Apr 28, 2011
I'm getting the following error on my webpage :Warning: mysql_connect() [function.mysql-connect]: Lost connection to MySQL server at 'reading initial communication packet', system error: 111 in /var/www/vhosts/...When I use the default MySQL port 3306, then I have no error.But when I use port 33060, then I get the error !My /etc/my.cnf :
Code:
[mysqld]
datadir = /var/lib/mysql
[code]...
View 1 Replies
View Related
Jan 29, 2011
Which distro is the best for a webserver? and are there any specifics I should keep in mind choosing one?
View 1 Replies
View Related
May 20, 2010
I'm a frequent user of the shared connection feature of SSH. Usually i have two or three connections open at the same time through the connection sharing feature, but sometimes when i try to start another i get the message "Shared connection to <server< closed". All the connection that are established through the connection sharing feature are still active and not closed, but when i try to create a new one i get that message.. i've even got that message when i have only had two connections through the shared connection feature.
I've tried to search google but it doesnt seem like anyone else has had the same kind of problem, does someone know why i sometimes get this error ?
View 1 Replies
View Related
Apr 7, 2011
Im not able to find good response on this from google, urgent help required.
While im looking at my smtp server log at /var/log/maillog, im having these two errors for which im unable to find the reason.
1)Could not open inline file /etc/MailScanner/reports/en/inline.sig.txt, No such file or directory
2)did not issue MAIL/EXPN/VRFY/ETRN during connection to MTA
View 1 Replies
View Related
Nov 17, 2010
I'm trying to set up a PXE boot server on a PC running Slackware 13.0 using the default apps and info shipped with that Slackware version but to no avail...Carefully reading the Slackware 13.0 README_PXE I've put together this dhcpd.conf file:
# dhcpd.conf
#
# Configuration file for ISC dhcpd (see 'man dhcpd.conf')
[code]....
View 6 Replies
View Related
Jan 28, 2011
I have Linux server (centos) in my company , Network is shared through this linux squid proxy server to Windows client .
How to open port 995 and 587 for Windows client because Outlook are not working in Windows Client ...
How to open this port for Windows Client.
View 4 Replies
View Related
Feb 2, 2010
I have the impression that the sound device is still occupied. Probably I do not properly kill the recording process and I guess that invoking the script 'record.sh' via fcrontab contributes to the problem as well.Is there someone who has an idea what could lead to that 'silence'?
View 1 Replies
View Related
Sep 3, 2010
I have one desktop machine with fedora 11 installed and a Laptop with both linux and Windows Xp. I use the laptop as my client machine.
I want to set up both a dns and web servers on the same machine for testing and practise purposes.
how to do it bcoz I can set up the webserver but I can't browse the website on the Fedora machine when I use my laptop. I have learnt that I should set up a Dns server.
View 1 Replies
View Related
Jul 30, 2011
What's the best way to move over 500 sites from a webserver with apache and mysql on the same server.. to a new server?
View 1 Replies
View Related