CentOS 5 Server :: DNS : Connection Timed Out; No Servers Could Be Reached?
Mar 28, 2011
I have 2 different networks :the first one is gateway machine (eth0), and the second is a private machine (eth1). So, I've configured the iptables and forwarding stuff and when I try to ping [url]..... on the gateway machine, it works, while it doesn't work on the private network. Note: I am using VmWare 7, CentOS 5.
I could say that the problem in DNS:because when I use this command in the private network machine: [url]...., it says connection timed out; no servers could be reached ,while in the public one, it works properly.....
I have SSH running on port 8662 and 22. I use 8662 for the outside world (eth0 which is 192.168 network) Here are the only lines I have changed in sshd_config:
Port 22 Port 8662 #Protocol 2,1
[code]....
BTW, ports forwarded on my firewall, checked and triple checked it.
I have been trying to solve this problem for two days now looking at various forums and websites but can't really figure out what's going on here.I have setup postfix on my ubuntu and I can send emails using "telnet localhost 25" and the ehlo thingy. Apache can also send emails. My problem is with incoming emails. When I try to send an email (through Gmail) I get the following error message:
Code: Delivery to the following recipient has been delayed: root@example.com
In a little over my head here but eager to learn. Running Fedora 10 on an IBM T41. Trying to set up a local server so that I can run PHP and test webpages locally (I'm a client-side web designer). Went through the SendDerek tutorial and everything went great until I tried to check the port with canyouseeme.org. I get "Connection timed out" every time.
- The httpd service is started via the terminal. - Port 80 is unblocked via "Firewall Configuration." - I set up port forwarding on my router.
What am I missing? I just want to be able to have the local computer run my PHP scripts instead of having to upload them to a remote server every time I make a change.
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
I've installed Ubuntu Server 9.10 on a small VIA C7 pc. Every now and then (it can take days or hours) the server goes to sleep. It can't be reached by network. If I hit the keyboard it comes to life within a second.I've looked in the bios and I cannot find any option that would prevent this. I used to run Debian Lenny on the same machine and never experienced the problem.
I am not able to connect to remote server through secureCRT . my local team has said that server is working fine . but I am not able to connect it remotely . what more i can do to connect it to server
I've ben punding myhead on this issue. I've setup a new postifx server on rhel5. After editing the needed entries, i can't seem to send any outbound mails to yahoo or any other domains.My postconf -n is as follows:
I've been trying to ssh out of my home network to school computers and I keep getting:
ssh: connect to host sage.math.washington.edu port 22: Connection timed out
I've tried this on my machine (running Ubuntu 10.04) and on a windows 7 machine (using putty). I have been successful ssh'ing to this machine using either of the laptops from every other network I've tried, so I'm pretty sure it's something about my home network.
I am trying to confiugre sendmail client and server environment. A very simple environment. On server side I configured sendmail and relaying the requests from other linux machines. On a server end emails are going out fine but on client side its not working with Deffered message in log. I tried to find any solution online but couldnt get any exact info to sort out this issue.On server side there is a entry of client machine in /etc/mail/access and I created access.db as well with make hash command.Is there something on server end that is not responding? or if I am doing something wrong please point out.
OpenSSH_5.3p1 Debian-3ubuntu4, OpenSSL 0.9.8k 25 Mar 2009 debug1: Reading configuration data /etc/ssh/ssh_config debug1: Applying options for * debug1: Connecting to server ["address"] port 22. debug1: connect to address "address" port 22: Connection timed out ssh: connect to host "server" port 22: Connection timed out
I suppose this is because I am connecting from a public institute where there is a firewall that is blocking an outbound connection on port 22.Is there anyway I can bypass the firewall using the internet ?
I can reach the internet just fine with OpenSuSE but when i try to dig mx gmail.com
;<<>> DiG 9.7.3-P3 <<>> mx gmail.com ;; global options: +cmd ;; connection timed out; no servers could be reached
I don't know what to do, YaST always seems like it'll time out but eventually it reaches the internet. Can anyone give me some diagnostic commands to see what is slowing down the network on the server I'm running?
I can't connect to imap or smtp ports remotely.
Edit: I left out one thing, this is a mail server and a web server. Both are not currently being used as this is a fresh install of OpenSuSE
All other devices work fine with dig. Its just the server.
PPPOE connection Timed Out-i have downloaded the rp-pppoe utility and installed for PPPOE connection.As per the instruction given with the utility i followed that .i have given pppoe-setup and given all the parameters required like service name , username ,password,firewall as none ,dsn as server an all the option .finally i got the message as congratulation you have successfully setup the pppoe connection.you can use pppoe-start and pppoe-status.
I am building 1 system includes 1 firewall server using iptables 1 Webserver && 1 FTP server. On FTP server IP: 192.168.1.2 - GW: 192.168.1.1, I installed ProFTPD successfully. In LAN I do everything successful.
On Firewall server <IP PUBLIC> on eth0 && IP LAN eth1: 192.168.1.1 Iptables rules: Code: # Generated by iptables-save v1.3.5 on Sun Mar 7 21:01:16 2010 *nat :PREROUTING ACCEPT [950:126970] :POSTROUTING ACCEPT [89:5880] :OUTPUT ACCEPT [19:1342] -A PREROUTING -d <IP PUBLIC> -i eth0 -p tcp -m tcp --dport 21 -j DNAT --to-destination 192.168.1.2:21 -A POSTROUTING -s 192.168.1.2 -o eth0 -j SNAT --to-source <IP PUBLIC> COMMIT # Completed on Sun Mar 7 21:01:16 2010 # Generated by iptables-save v1.3.5 on Sun Mar 7 21:01:16 2010 *filter :INPUT DROP [1599:157409] :FORWARD DROP [0:0] :OUTPUT ACCEPT [232:34452] -A INPUT -i lo -j ACCEPT -A INPUT -i eth1 -j ACCEPT -A FORWARD -i eth0 -m state --state NEW,RELATED,ESTABLISHED -j ACCEPT -A FORWARD -o eth0 -m state --state NEW,RELATED,ESTABLISHED -j ACCEPT -A OUTPUT -o lo -j ACCEPT -A OUTPUT -o eth1 -j ACCEPT COMMIT # Completed on Sun Mar 7 21:01:16 2010 In FTP server i access to internet good. I check port 21 on IP PUBLIC , it's return Open.
But when I using ftp command then it's show Code: Connected to <IP PUBLIC>. 220 ProFTPD 1.3.3 Server (FTP Server) [192.168.1.2] User (<IP PUBLIC>:(none)): longvnit 331 Password required for longvnit Password: 230 User longvnit logged in ftp> dir 200 PORT command successful Aborting any active data connections... ftp> bye
C:Documents and SettingsLONGVNIT>ftp <IP PUBLIC> Connected to <IP PUBLIC>. 220 ProFTPD 1.3.3 Server (FTP Server) [192.168.1.2] User (<IP PUBLIC>:(none)): longvnit 331 Password required for longvnit Password: 230 User longvnit logged in ftp> dir 200 PORT command successful 425 Unable to build data connection: Connection timed out ftp> dir 200 PORT command successful 425 Unable to build data connection: Connection timed out ftp>
when I try to connect via PuTTY from a windows machine I get " PuTTY Fatal error connection timed out. I try to do so via a router redirecting IPadr:86 to local adr:22 on the Linux machine.
I seems not to be a routing issue since the router is setup to redirect apparently correctly.
Well I have stopped iptables and selinux is disabled. The sshd deamon is running. I can logon with ssh locally "ssh webcamATlocal adr".
I am not so experienced with networking in Linux. I've successfully installed Red Hat Linux Enterprise 5.2 on a VMware host. When I issued nslookup command, it returns "connection timed out" error as follows:
Code: [root@rac1 ~]# time nslookup rac1 ;; connection timed out; no servers could be reached real 0m15.038s user 0m0.000s sys 0m0.000s
My questions are: (1) Is that error normal? (2) Is there a way to decrease the 15.038s value? rac1 is the local hostname, so why it takes all that time to resolve it.
Following info may help: Code: [root@rac1 ~]# hostname rac1.mydomain.com [root@rac1 ~]# cat /etc/hosts # Do not remove the following line, or various programs # that require network functionality will fail. 127.0.0.1 localhost.localdomain localhost #eth0 - PUBLIC 192.0.2.100 rac1.mydomain.com rac1
[root@rac1 ~]# ping -c 4 rac1 PING rac1.mydomain.com (192.0.2.100) 56(84) bytes of data. 64 bytes from rac1.mydomain.com (192.0.2.100): icmp_seq=1 ttl=64 time=0.015 ms 64 bytes from rac1.mydomain.com (192.0.2.100): icmp_seq=2 ttl=64 time=0.029 ms 64 bytes from rac1.mydomain.com (192.0.2.100): icmp_seq=3 ttl=64 time=0.029 ms 64 bytes from rac1.mydomain.com (192.0.2.100): icmp_seq=4 ttl=64 time=0.029 ms --- rac1.mydomain.com ping statistics --- 4 packets transmitted, 4 received, 0% packet loss, time 3000ms rtt min/avg/max/mdev = 0.015/0.025/0.029/0.007 ms
I am relatively new to Ubuntu. Currently running Lucid Lynx, but I cannot connect to the internet. I can ping 127.0.0.1, and google.com. Software update works as well, but the connection times out when I try connecting to a web site e.g. bbc.uk.
In our development box we are configured postgresql to work with Jboss. The thing is we have firewall iptables in our linux box. when the iptables is stopped we can connect the postgres db locally using -h option, also we can connect thru a weblink we have created using Jboss. But when the iptables is started we can't connect the db locally using the -h option and the web is giving the below error. Caused by:
org.postgresql.util.PSQLException: Connection refused. Check that the hostname and port are correct and that the postmaster is accepting TCP/IP connections. at org.postgresql.core.v3.ConnectionFactoryImpl.openC
I am having alot of trouble setting up evolution to work with gmail. I am using pop for recieving mail and it's slow but still works. When I try to send mail with smtp.gmail.com I get the error message that the connection timed out. How can I set this up to send and recieve email?
Brand new to Linux. Sort of got thrown in front of the bus if you know what I mean. The company I work for has a Linux server running CentOS 5.4 Company uses Linux for their Email, FTP and Web Server. Have been here a few years dabbling in and out of Linux and now that the old Admin has left the company.....I need to learn it ASAP. The server has run pretty solid until today.
The email server runs SendMail and SpamAssasin. Received lots of complaints today regarding extra SPAM. Noticed that SpamAssassin was not running. Tried to restart it through the WebMin tools and got the following error: Starting spamd: child process [3956] exited or timed out without signaling production of a PID file: exit 255 at /usr/bin/spamd line 2588.
I am running an Ubuntu Server on a VirtualBox VM running on my windows machine. So I've created a self-signed certificate using the following tutorial: [URL]
From this tutorial I'm left with 3 files: server.key server.csr server.crt
Then I found this very similar tutorial that has an extra bit on installing the certificates in apache: [URL] So I followed it's instructions which boil down to this:
[Code]...
So I'm thinking this should work now. However in Chrome I get: SSL connection error Unable to make a secure connection to the server. This may be a problem with the server, or it may be requiring a client authentication certificate that you don't have. Error 107 (net::ERR_SSL_PROTOCOL_ERROR): SSL protocol error. IE8 gives me a typical "Internet Explorer cannot display the webpage" Note that [URL] fails while [URL] works fine, so it's definitely something in my ssl setup I'm thinking.
I've been trying since yesterday to install autoten per instructions below [URL]. However it has failed each time I have tried. Below is the terminal response.
Code: [colyn@Fedora ~]$ su Password: [root@Fedora colyn]# rpm -Uvh [URL] Retrieving [URL] curl: (6) Could not resolve host: dnmouse.org; Connection timed out error: skipping [URL] - transfer failed [root@Fedora colyn]#
I am doing a copy/paste so I am not mis-typing the information. It says that the connection has timed out but I get the error message within 5 seconds of hitting enter.
I get the below errors when trying to connect to the below repos.It has almost always worked in the past. Is the site "packages.medibuntu.org" down again !?
Err http://packages.medibuntu.org karmic Release.gpg Could not connect to packages.medibuntu.org:80 (88.191.82.11), connection timed out Err http://packages.medibuntu.org karmic/free Translation-en_CA
I have a problem sending emails in the command line. I have introduced this command:
sendEmail -f my.account@gmail.com -t myself@domain.tld -u this is the test tile -m "this is a test message" -s smtp.gmail.com -o tls=yes -xu usernameonly -xp mypasswd
But then I received this message: sendEmail[13230]: ERROR => Connection attempt to smtp.gmail.com:25 failed: IO::Socket::INET: connect: Connection timed out