CentOS 5 Networking :: Telnet Localhost 25 Hanging After Escape Character Is '^]'?
Dec 5, 2010
I have recently upgraded to a VPS for the purpose of web hosting a group of sites related to my business.The reason for the upgrade was because we wish to run a shopping cart software which required greater memory for PHP and the VPS was the most economic solution. So, I have very basic linux knowledge but I am the definition of a newbie when it comes to going further than just scratching the surface of server configuration! I have successfully hosted our main site for a number of weeks but recently the postfix service stopped sending mail. I have Plesk Control Panel installed and postfix continually shows as not started even though in SSH the service status is definitely running - I have gone through the troubleshooting checklist here (http://www.postfix-book.com/debugging.html#d0e6) but can't get any further than section 2.1 as when running the host command (#host relay-test.mail-abuse.org), I get # -bash: host:command not found. I've gone further in the document but not found any issues...
When postfix was working properly (i.e. sending emails!), the plesk CP showed the service as started and all emails from the website were sending as normal. The mailq command is showing the messages stuck in the mailq and the maillog shows the following:- http://pastebin.centos.org/36446 - these are the latest few pages.To check the configuration and basic elements I have flushed the mailq (which shows a stack of messages waiting) and I have also spent a long time (2 weeks) reading up on the parameters that should be in main.cf and master.cf.I have found that when I 'telnet localhost 25' I get the following response...[root@s15397216]# telnet localhost 25Trying 127.0.0.1...Connected to localhost.Escape character is '^]'.
I'm working on setting up access for our developer via Telnet, we are on a local network behind a physical firewall. I set up the standard Telnet service for Fedora15 and from localhost I can login via any user and root.... However I cannot login from another terminal on the LAN, even though I can ping and FTP to the fedora15 box. I added the firewall rules for telnet, that did not work, so I disabled the firewall, still cannot get a connection via port 25. I feel either port 25 is closed in another manor or the telnet is restricted to the localhost.
Also I cannot login to root to configure the Firewall Desktop GUI, only standard users, is this an issue? I also cannot login to the console as root even though I use the correct password.I can only su to root and sometimes it is a PITA. There must be some settings to clear these issues up...
I am running Ubuntu 9.04 on a wireless networked host machine. The wireless NIC is usb based. Its running inetd for network based servers (telnet, ftp etc).For some reason telnet, ssh or any application specific connection, hangs for a few seconds and then comes back. This happens after every few minutes. I do not loose any sessions or any data flowing across but it is sort of very annoying.It is a dual boot machine and I have also got Windows XP 64-bit. When am running on windows this does not happen, hence am not sure if it is something to do with the wirless nic or something else
I'm running a Debian installation from which I installed zomeminder using Synaptic Package manager. I fixed several issues with deprecated functions and other miscellaneous stuff. Finally have it working fairly well.However, not quite....zoneminder keeps hanging up as a review the captures in iceweasel. I click on the id field in the table and the event view shows up. After I review several, clicking the delete button on each to move forward Iceweasel hang up with the pinwheel spinning. If I completely close out iceweasel I can then start reviewing again.The following error message appears in the apache2/error.log.
[Tue Jul 26 18:59:36 2011] [error] [client 127.0.0.1] socket_sendto( /tmp/zms-644018s.sock ) failed: No such file or directory, referer: http://localhost/zm/?view=watch&mid=1 [Tue Jul 26 18:59:36 2011] [error] [client 127.0.0.1] array (
I've tried searching for this peculiar behavior, but couldn't find a solution that works for it - I have installed Redhat on my system and have a listener running on port 7878. I wanted to check if the port is accessible from a machine on the network, and so i telnet-ed from a remote machine and it worked. Now comes the weird problem - I used the same command (telnet xxx.xxx.xxx.xxx 7878) locally and it was able to telnet. However, if I try to connect using localhost, meaning, "telnet localhost 7878" or "telnet 127.0.0.1 7878", it gives me the following error:
Trying 127.0.0.1... telnet: connect to address 127.0.0.1: Connection refused telnet: Unable to connect to remote host: Connection refused
Here is my /etc/hosts entry:
# Do not remove the following line, or various programs # that require network functionality will fail. 127.0.0.1 localhost.localdomain localhost ::1 localhost6.localdomain6 localhost6
Not sure where the problem is. I expect telnet to connect irrespective of whether i use the IP address OR localhost when i use telnet locally.
telnet localhost 143Trying 127.0.0.1...Connected to localhost.localdomain (127.0.0.1). Escape character is '^]'.* OK [CAPABILITY IMAP4rev1 UIDPLUS CHILDREN NAMESPACE THREAD=ORDEREDSUBJECT THREAD=REFERENCES SORT QUOTA IDLE ACL ACL2=UNION STARTTLS] Courier-IMAP ready. Copyright 1998-2005 Double Precision, Inc. See COPYING for distribution information.a login email@example.com rakesha NO Login failed.i have problem when Installing Courier-imap/imaps with Courierpassd .
Ok, so I find myself ripping audio CDs frequently, which I then lame to mp3's to put on my media player. I usually define the --ta and --tl (artist and album) ID3 tags and batch encode each album, but don't bother with the track tags as I'd have to do each one seperately.
So, I'm working on a script to do all this for me, extracting info from 'pwd' etc. to fill in the blanks for --ta, --tl and --tt (track name). All is working well, except that I can't get sed to pass on the "" character to lame to escape spaces.
Here's what I've got so far: (trouble spot is bolded - no need to pay attention to the rest of it)
All this does is pass a 'space' on to lame, which it takes as an invalid argument.
I'm running wordpress and have gone to the painstaking effort of setting up the ftp server on my 5.3 machine so it can do its own updates and download plugins. However, I've found that if I try to download anything, I get a "unable to resolve host..." error from the script. If I watch Iptraf while making the request, I see all the port 53 requests going to 127.0.0.1. Pings are too.
However, if I ssh in, I can ping and wget and whatever I want all day long and all the DNS requests to go the router (Clarkconnect 3.2 gateway machine). The web browser in the terminal works fine too. What is it about the php scripts that is causing them to misdirect pings and dns requests? I've never seen anything like it and can't find anything on the web about it either.
Usually if I have to replace a character in a string I used the sed /s/ command. However, I am having some difficulty in doing the same thing when I have the following string in a variable in my shell script and I need to replace all the forward slashes ("/") to backslashes ("").
I am having a problem during a fresh install of CentOS 5.3 on an IBM Intellistation Z Pro 6221. I have tested the installation media (CDs). The install runs normally until I am asked to specify the appropriate keyboard.I take the default (English) and hit next. The keyboard and mouse keys become unresponsive though the mouse pointer moves. I can go no further than this. This behavior is the same whether I install in text mode or graphic mode. I have tried the noprobe installation option without success. The box I am doing the install on dual boots fine between Windows XP and CentOS 4.7 currently.Does anyone have an idea of what the problem may be?
I had dual boot Win Xp and CentOs Linux. I have small harddisk and needed more space, so I removed CentOS linux with partition manager and rebooted. Now I can not boot my XP. All I can see is GRUB prompt. Keyboard do not respond except CTRL ALT DEL. I know I have to fixmbr. But I can not boot from my bootable XP CD. I can boot from CentOS linux DVD and enter into linux rescue mode. From that I typed "grub" entered into grub. Then I tried
I've got a server running CentOS 5.5. I used the automated iptables config tool included in the operating system to allow traffic for vsftpd, Apache and UnrealIRCd. When I send large files to FTP, even from the local network, it works fine for a while and then completely times out... on everything. IRC disconnects, FTP can't find it and when I try to ping it I get "Reply from 10.1.10.134: Destination host unreachable" where ..134 is the host address for the Win7 box I'm pinging from. This is especially frustrating as it's a headless server, and as I can't SSH into it to reboot I'm forced to resort to the reset switch on the front, which I really don't like doing.
Edit: the timeouts are global, across all machines both on the local network and users connecting in from outside.
1st of all, I use my centos mainly as a desktop PC. It started about a few weeks ago when i did a yum update and there was a huge number of files to update. I think it was since then (really not sure) that my gnome panel kept crashing. There was a bug report text but no bug number. Changing new user profile, gnome panel hung as well. Memory status: size: 83812352 vsize: 0 resident: 83812352 share: 0 rss: 13332480 rss_rlim: 0 CPU usage: start_time: 1303788595 rtime: 0 utime: 86 stime: 0 cutime:66 cstime: 0 timeout: 20 it_real_value: 0 frequency: 1
Backtrace was generated from '/usr/bin/gnome-panel' [Thread debugging using libthread_db enabled] 0x00e7f402 in __kernel_vsyscall () #0 0x00e7f402 in __kernel_vsyscall () #1 0x002c0bc3 in __waitpid_nocancel () from /lib/i686/nosegneg/libpthread.so.0 #2 0x05da6c26 in ?? () from /usr/lib/libgnomeui-2.so.0 #3 <signal handler called> #4 0x00e7f402 in __kernel_vsyscall () #5 0x0014c040 in raise () from /lib/i686/nosegneg/libc.so.6 ..... No symbol table info available. A debugging session is active. Inferior 1 [process 4295] will be detached. Quit anyway? (y or n) [answered Y; input not from terminal]
I recently moved my site to a new server (Apache 2, PHP5, MySQL5). The site is an Invision based forum. Every few posts / topics it just hangs. The data has been written because if you stop and reload, the post / thread is there. I thought it was a write issue initially, but nope. So, the data is written but the page load never completes. It doesn't leave the page where the data has been input.
Whats the best way to trouble shoot this issue? The only thing I have done recently is reduce my MySQL timeouts, but I can't see that being an issue as the values are still big enough and there are no mentions of timeouts in the MySQL log. (For the record there is nothing in PHP's error log either)
I have checked my server-status. It all looked ok, but I have a suspicion I was hitting my ServerLimit, so I doubled that. Also enabled my Keepalives. Will keep an eye on it.
Some additional info;
1. Apache is throwing seg faults, but enabling core dumps does not produce them.
2. I have tried disabling the modules in apache but it just stops things from working.
3. I fear it may actually be DNS related. If I watch Live Headers in Firefox, absolutely nothing happens during this 'hanging' period. After that, the responses come back fairly promptly.
So everytime i try and use the "yum" command. for some reason it doesn't go past this point: "loading mirror speeds from cached host files". i cleaned up the cache and rebuilt the OS again, and im still getting this problem. would this be a problem with my internet connection? I'm using CentOS 5.5.
I installed CentOS 5.5 last night using the DVD ISO (from a USB drive thanks to the Universal USB Installer). I selected the Server and Virtualization packages, and finished the install all the way through. At the end, the installer asked me to remove any installation media and reboot the system. After rebooting, the system hangs on a blank screen with a blinking cursor in the top left corner that does not accept text. This is before the GRUB screen appears. For partitioning, I created a 4GB swap partition on sdb and a 16GB ext3 partition on sda, mounted at /, with the remaining free space on sdb mounted at /storage.
Does anyone know why this system is hanging before the GRUB menu?
I want to send mail to potential customers from my localhost server in my SOHO. I have a web site hosted with a company called geek hosting [URL], so I have access to the mail services through them... I want to their mail server to push things out to the world form my localhost server.
I do have a registered domain name which the hosted site runs under
the domain name for my centos 5.4 server is localhosthost.localdomain.
I am having a problem editing / decoding files and characters in UFT-8 on my CentOS installs. I have a single FreeBSD server where the problem does not exist. Basically, what happens is that Danish special characters, as well as other non-ASCII characters, come out garbled when processed on the system. As an example, if I open a vim editor and type characters like � it comes out as ø
If I try using nano, the characters come out as Relatedly, if I import UTF-8 encoded files from other sources, they also appear broken when edited locally. I have tried updating the system language using system-config-language. Also, I have no desktop environment installed, I access my servers only through the command line. Here's some information that may or may not be relevant, (I have googled the problem a while and have come up empty except for references to some of these things that are already set):