CentOS 5 Server :: Php Mysql_connect Does Not Work - No Response
Mar 23, 2010
I just installed a fresh CentOS5.4 and started httpd & mysqld and did the following testing
1. named the following file as index.php and put to /var/www/html (default DocumentRoot)
<?php
echo 'connecting...';
$conn = mysql_connect('localhost','root','');
if(empty($conn))
[Code]....
View 3 Replies
ADVERTISEMENT
Aug 15, 2010
I had centos 5-5 server with 6G of RAM and 4 core cpu 3GHZ i installed bind 9.7.1-p2 on my server with multi thread support there are a lot of dns requests on my server , about 2500 Packets/sec and 3Mbit UDP traffic but my server response week to most of them.
For example when i use nslookup or dig command to query Yahoo.com the response from server maybe deliver about 5 Sec or become timed out , but sometimes response time less than 1 sec!
I don't know why, perhaps kernel works week so i decided to do the following :
But the problem didn't solved
I previously had Freebsd with same version of bind and same configuration and everything worked fine.
View 8 Replies
View Related
Aug 11, 2009
I cannot get either sendmail or postfix to send a 220 response, nor respond with details. See below for sample telnet output. Details: I have a server that requires email, but only for light use. I'm definitely not an expert, but I have set up a sendmail configuration on a previous server. I tried to configure sendmail first and then postfix later, when I couldn't get sendmail working. I'm not sure exactly what the problem is, but I have a feeling the following might yield some important information. Note: this is the result for Postfix, but virtually the same thing happened with sendmail, too. That is, initially the telnet connection would close immediately. Afterwords, I could connect a second time but then it never responded with a 220 banner nor any 250's.
[Code]...
View 4 Replies
View Related
Apr 17, 2011
I used 4 host to establish a high-availability web server system. 2 Load Balancer + 2 Web Server(installed MySQL Server 5.5). 2 MySQL Server used Multi-Master Replication.Used "Amoeba" as MySQL Proxy which direct the write statement to a specific MySQL Server.I can login Amoeba and MySQL Server using MySQL client. I tried query something in XAMMP on Windows XP. It work!
Installed related software:
MySQL-server-5.5.11-1.rhel5
MySQL-shared-compat-5.5.11-1.rhel5
php53-mysql-5.3.3-1.el5_6.1
MySQL-client-5.5.11-1.rhel5
[code]....
What I tried:
yum install php php-mysql
yum install php53 php53-mysql
Compiled php 5.3.6 soruce + MySQL 5.5 Server, Client, Shared, Shared-Compact Above software installed on different host. And the phpinfo showing MySQL I doubt something wrong in my php.ini. Used default php configuration.
View 5 Replies
View Related
Jul 19, 2011
when I try to access any page even small html pages it stays like 3 seconds in HTTP request sent; waiting for response. state..even when I use Lynx locally on the server..bypassing any possible network issues..logs dont show a thing..the server itself is a high end server with nothing running on it apart from apache which is not serving anny clients now, firewall is disabled and hostnamelookups are set to OFF.
View 1 Replies
View Related
Mar 28, 2009
I am trying to install CentOS 5.2 on an HP rp5700 desktop unit. These units were originally sold as a Point of Sales unit I believe, but HP also markets it as a high life cycle server for SMB market.I tried to load CentOS on this unit via CD (created from downloaded ISO of course). It presents the initial CentOS banner page and waits for the obligatory "enter" to continue. It begins the boot process up to discovering the PCI stuff and just locks up, no response. I have to power down to restart.Since this does not even get to the point of installing. I am at a loss what to do next. Has anyone had a similar issue with other PCs.The boot stops at the lineACPI: PCI Root Bridge [PCI0] (0000:00)
View 3 Replies
View Related
Jun 9, 2010
I am trying to connect PHP with Mysql, but coming across the below error: PHP Fatal error: Call to undefined function mysql_connect() in /var/www/html/index.php on line 2
View 1 Replies
View Related
Jan 19, 2010
As a administartor I can do ls on root, but when I cd to /media ls does not work - blank respoonse. I have to sign in GUI file manager and authenticate to make ls work. Do I need to be at root?
View 2 Replies
View Related
Sep 13, 2010
I am new to Linux, moreso to CentOS, but I can definitely follow walk-throughs and tutorials easily enough.
I am installing a webserver for our small business and decided to go the postfix/dovecot route.
I installed everything based on the walkthrough on linuxmailcom and eve put squirrelmail on top, so users can access via webmail. I am able to send mail just fine, users/folders are setup and working as they should for sending, but I am unable to receive any mail. MX records have been updated to direct mail @mydomain to this mailserver machine. The problem I am having is with port 25... If I do 'telnet x.x.x.x 25' I get no response, just a timeout then back to command prompt. My other ports are fine, and I get the banner for each 110, 143, etc... all ports but 25 work internally and externally, forwarded.
I tried turning off firewall rules, and still, nothing from port 25. Should I try to have postfix listen on another port by editing its' master.cf, or is this is problem with my centOS/Linux instead. I didn't know where to go with this, so I thought the best place to start was here.
View 2 Replies
View Related
Nov 21, 2010
I have strange issue on Centos 5.5 server.I have static IP address (192.168.58.2) on eth1 card and can't get ping response from some sites.PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data.
[code]....
View 3 Replies
View Related
Jul 13, 2010
I've got a DNS problem I cannot figure out. I've been digging and pinging all day and I've waited for caches to expire and I'm not having much luck.From my desktop mac, I can't seem to resolve mail.port-o-call.net:
Code:
My-Mac:~ sneakyimp$ ping mail.port-o-call.net
ping: cannot resolve mail.port-o-call.net: Unknown host
[code]....
View 4 Replies
View Related
Nov 30, 2010
I use skype, and several times when i have it open, more often when i am using it, the hole system stuck with no response. The mouse stop moving, the keyboard does not work, even control + alt + backspace does not work! The only available choice is to reboot the computer.
View 3 Replies
View Related
Mar 28, 2010
I need to set an auto response on my linux email server (ubuntu9),for a person who will be on leave, Perfectpol is out office for a while, if urgent please call office number 222 2222 222.how do i go about setting this. The email address of the user who will be away is perfectpol@mycompany.com.
View 1 Replies
View Related
Apr 18, 2011
I have followed this guide [URL] to setup a diskless cluster based on ubuntu server. Every thing is fine in the boot process except this:
After the client boots vmlinuz and init.rd, I see some information and after a minute I see:
Code:
IP-Config: no response after 60 secs - giving up
/init: .: line 3: can't open /tmp/net-eth0.conf
kernel panic - not syncing: Attempted to kill init!
It is strange since it gets an ip address when it want to boot. I don't know what is wrong with it.
View 2 Replies
View Related
Aug 4, 2010
Have a Java program which simply connects to a server and gets back the response from the website.
When I use it under Windows environment it runs fine and i receive a Response Code: 200,
Response Message: OK but in UNIX i get Response Code 401, Response Message Unauthorized
In Unix I tried to ping the website using the ping command.
I use putty to connect to a Unix m/c. I don't have any permissions to install any programs so could not install any s/w so i could check if i were able to reach the website.
Is it a Proxy Server related issue ? If yes how do i configure it ?
View 8 Replies
View Related
Jul 20, 2010
I have installed Centos 5.4 with Sendmail 8.13.8, i have modified sendmail.mc file and compiled to sendmail.cf with following lines
1. TRUST_AUTH_MECH(`EXTERNAL DIGEST-MD5 CRAM-MD5 LOGIN PLAIN')
2. Define define(`confAUTH_MECHANISMS', `EXTERNAL GSSAPI DIGEST-MD5 CRAM-MD5 LOGIN PLAIN')dnl
3. DAEMON_OPTIONS(`Port=smtp, Name=MTA')dnl
My problem is that when i try to open port 25 with telenet it takes lot of time like more than 1 minute to open session and another 30 - 40 seconds to respond to "ehlo" command.
Also when i try to open telnet session on port 25 in another server it hardly takes 1-2 seconds open session.
View 6 Replies
View Related
Jul 31, 2010
I am trying to connect to my mysql database using php but I am getting the error "Fatal error: Call to undefined function mysql_connect()".
I checked phpinfo() and there is no reference to MySQL. I believe this means that my install of PHP doesn't support MySQL. Do I need to uninstall and reinstall with a version of PHP with MySQL support? If so how should I do this and how do I get a version of PHP that supports MySQL?
View 1 Replies
View Related
Aug 30, 2010
i'm runung "ubuntu 10.4" and install "Xampp 1.7.3.a" i have 3 problem in the joomla web installer in step "2:Pre-installation Check"
Code: configuration.php Writable NO
in step 5 : FTP Configuration when i feel ftp setting and click on "verify ftp setting,get this error Code: Error: the XML response that was returned from the server is invalid.
inthe final step when i click "install sample data" i get this error
Code:
Error: the XML response that was returned from the server is invalid.
View 1 Replies
View Related
Feb 25, 2011
Whenever I make an ssh connection to my Fedora 14 server, the echo of my keyboard strokes are very jerky. It will echo a few, then stop for a moment, then it echos all the keyboard entries from the time it stopped responding all at once. Anyone have any ideas on why this started happening? This happens from any computer I use to connect. It happens with Putty and SSH Secure Shell.
View 11 Replies
View Related
Feb 27, 2009
I am a Windows user for the last 14 years and am getting into the Linux world. I have a CentOS server set up at home and have been using SFTP. But now I am needing to install a program that has a exe file I can lauch from my Windows machine to the CentOS server but the only problem is it only uses FTP over port 21. I have found quite a few different posting on how to install FTP but only some of the commands they give work and I get a lot of no such directory. I will be using the FTP locally but have been getting frustrated setting it up. I do have it installed an am able to start the service but cannot connect. Is there a step by step information for setting this up? I am new to the command line and all the SCO stuff I used to know back in the early 90's is all gone from memory.
View 15 Replies
View Related
Feb 25, 2011
I tried setting up evolution mail incoming worked fine outgoing Big No, so I install Thunderbird and it worked like a charm. Then I decided I liked Evolution a little more and wanted to see if I could get it working and came across this. Firstly I entered all my details correctly double and triple checked. Look at my user name now when i try sending an email I get this? Why has my email changed?
View 5 Replies
View Related
Apr 12, 2011
I have a perfectly working installation of nginx / PHP / fastcgi on the latest stable Debian distribution. No problems at all, apart from this one: When a PHP script (script A) is written to request a PHP script on the same web server (script B), nginx takes several minutes to respond and finally the connection times out. And it happens only when invoking script A through nginx. Calling it from command line works fine � I get a normal output of script B.
Literally, the test case is as simple as:
Script A:
PHP Code:
[code]....
I suppose the root of the problem may be some obstacle occurring when php5-cgi ends up invoking itself. And this is what happens when script A is called through nginx. But I have no ideas yet how to address the problem. One of my PHP applications checks itself during installation, that's why I need to request a PHP script from a PHP script on the same server.
View 1 Replies
View Related
Feb 17, 2010
I have a problem concerning the vacation(auto response). I got a mailserver(smtp.mydomain.com), pop3/imap-server(mail.mydomain.com) webserver(www.mydomain.com, with postfixadmin on it). I use Debian 5.0 So it's like this, I receive mail to smtp.mydomain.com, it get checked for spam with amavisd-maia(Maia Mailguard), then delivered to the pop3/imap-server. I'm guessing there's something wrong with my postfix setup. I activate auto response for my account, when I get a mail it says this at smtp.mydomain.com:
[Code]...
View 2 Replies
View Related
Oct 15, 2009
My server is Centos 5.3 I have php 5.1.6. some of plug-ins does not work I have to upgrade it to 5.2.6.
To upgrade it I have to install a third party repositories.How can I protect my current php in case if the repository does not work I enable ( or role back) the Centos default php?
View 5 Replies
View Related
Nov 3, 2009
I have been a loving fan of your software for years now and have been trying to move into a new dedicated server, getting away from my VPS I have been anchored to. I had to change static ip's on my main internet line and thus got locked out of my server. I have the box here and I can console into it but I cannot get the new ip address to work. I have tried so many things it would waste more time than asking for the correct answer.
I know you are wise in the ways of the server as you have gotten me out of a jam in the past. I am currently running Centos 5.4 and a trial version of WHM/cPanel (which needs to be re-registered to the new address if I can ever get back online.)
View 1 Replies
View Related
May 18, 2010
I am trying to connect to my VNC Server from a Windows 7 Box running TightVNC:I've followed all the instructions on this page:[URL]And I changed my xstartup scripts:
/etc/sysconfig/vncservers
# The VNCSERVERS variable is a list of display:user pairs.
#
[code]....
View 12 Replies
View Related
Aug 9, 2010
when I installed my server I had an FTP server running, I thought it was vsftpd. I stopped vsftpd one day though, and I could still FTP into my server. This mystery FTP daemon is SFTP (using port 22), and now it does not work. I've tried enabling vsftpd and I still cannot connect to my server. I've checked my firewall and I have FTP and SSH allowed. What might this mystery FTP program have been?
View 7 Replies
View Related
Nov 26, 2010
I created a cluster with two nodes and a machine for managers with luci, if a machine reboot the cluster function by transferring the resource (IP address), if forced to stop the machine (pull the plug) the cluster does not work.
View 1 Replies
View Related
Dec 12, 2010
mod_dir does not work properly with SSL (https) !?
When working with http, there is no problem: If url "http://www.abc.com/test" is requested, apache appends a "/" to the url and then respones to browser with code 301, telling it to request the newly-modified url ""http://www.abc.com/test/".
However, with https, things are not going as expected: If url "https://www.abc.com/test" is requested, the new url responsed by apache is "http://www.abc.com/test/", but not "https://...", resulting in browser's page load error.?
View 3 Replies
View Related
Nov 11, 2009
I am trying to connect to our work server (windows), however, without succes In the log I get the message: "Failed to parse server response"
And when I close the vpn connection window I get "there were no valid vpn secrets"
I Use F10 with xfce on an aspire one.
View 2 Replies
View Related