CentOS 5 Server :: Login Via SSH Takes Over A Minute?
Nov 12, 2010
Just started to encounter this problem recently: after entering a valid password for a given user during an SSH login, it takes at least one minute to get to a prompt. It usually takes only a second to check the password and drop me to a prompt.
I haven't had this problem before - it seems to have started this week. Only thing I've done this week is run updates. Has anyone encountered this problem recently? Any ideas or fixes that may help solve this? Server info: not exposed to the Internet, only running SSH, fully patched version of CentOS 5.5 x86_64.
View 2 Replies
ADVERTISEMENT
Apr 26, 2010
This has been raised as redhat bugzilla bug 583054 - seeI am posting here in case anyone else has dealt with a similar problem. In brief, I have a print server running Fedora 12/CUPS dual boot WinXP. The attached printer is a Canon BJC-4100. When the server is booted in F12, it takes over a minute for a networked Fedora 12 box to bring up a print dialog, or for the printer to start after a page has been submitted. When the print server is booted in WinXP, printing is immediate.
Tim Waugh identified the problem in the CUPS Troubleshooter output:
'D [10/Apr/2010:09:00:20 +1000] cupsdNetIFUpdate: "lo" = localhost:631',
'D [10/Apr/2010:09:00:37 +1000] cupsdNetIFUpdate: "eth0" = 192.168.0.199:631',
[code]....
View 3 Replies
View Related
Aug 19, 2009
I've setup vsftpd correctly and it's running fine with local users (in the same LAN). However, when remote users wanna login to the server, it takes more than 1 minute to get in. Users do can login from remote. It just took too long. (It prompted for the username and password very fast.) Since the server is behind a router, I did configure the port forwarding for TCP 20-21. The centos version is 5.3. The vsftpd is v2.0.5.
View 6 Replies
View Related
Nov 3, 2010
I have x11vnc server set up on my desktop PC. I can boot the computer and connect at the login screen if I want to. I can login to my computer as usual. But after about 1 minute of logging in, the computer logs off as if pressing Ctrl+Alt+Backspace and returns me to the login screen. This cycle repeats when I login and I have to kill the x11vnc process or remove the command from /etc/gdm/Init/Default.Have tried so many things now but the end result is the same. I have Ubuntu 10.10 fully updated and x11vnc 9.10-1 from the default repos. I am using the following command in the /etc/gdm/Init/Default file:
Code:
/usr/bin/x11vnc -rfbauth ~/.vnc/passwd -rfbport 5901 -display :0 -forever -bg
I don't think it matters now whether I add KillInitClients=false into /etc/gdm/gdm.conf-custom or /etc/gdm/gdm.conf because of the x11vnc version I have. The manual says its not really needed. But I have tried this too with no better luck.The computer will still log me out after about a minute of logging in. It can be between 1 min to 1.5 mins.Running out of ideas and have tried the -noxfixes and -reopen commands.
Why does x11vnc crash out (or it may be gdm or x server?) after about a minute of logging in? If I am currently viewing my desktop through VNC viewer on another computer, it will still crash out after 1 min of log in, and lose the connection. I can reconnect through VNC again but I have to log back in to the remote computer and it will just log out after another minute.At last, in 2 days I have finally solved it. As simple as creating my own version. The x11vnc 9.10-1 version my default Ubuntu 10.10 repos is buggy. Here's my fix (I used this site):
1. Downloaded latest x11vnc dev build from above site (x11vnc-0.9.13-dev.tar.gz at time of posting)
2. Extract it
3. Open Terminal > sudo -s > enter admin password
4. cd LocationOfExtracted folder
[code]...
View 9 Replies
View Related
May 21, 2010
I just installed linux mint a couple of days ago and everything went great but now the grub screen takes about 20 seconds to a minute to load. It's not a huge issue but kind of annoying since the one that ubuntu installed took a second and I was at the menu. I imagine that it has to do with the background picture but i'm not sure if that would slow it down that much.
View 4 Replies
View Related
Jun 19, 2011
When I boot up my desktop, lilo spends more than a minute printing a string of dots to the screen, before it declares "Bios data check successful" and then loads slackware normally.
I did
Code:
echo compact >> /etc/lilo.conf
lilo
but lilo declared that to be a syntax error and is as slow as ever. My lilo/conf contains
Code:
# LILO configuration file
[Code]....
View 5 Replies
View Related
Oct 16, 2010
Basically when I login back from a suspend or after I boot the pc, the wifi takes 30seconds to a minute before it starts to connect. This makes it very annoying to have to wait for no reason.
Basically the issue is caused by the wifi not having a script to search for a network after a suspend.
HP Pavillion DV9000 Fresh install of Maverick 10.10
View 9 Replies
View Related
Aug 13, 2011
I've just installed a fresh copy of 11.4 and the updates are driving me crazy. My internet connection is up, but the download stops and goes, and when I try using firefox, it takes a minute to even start to load any page. I have the system monitor up and it is telling me that the network is not receiving anything except for these bursts of data aprox. every 30 seconds.
View 5 Replies
View Related
Mar 30, 2011
I am installing CentOS 5.5 64 bit on a HP ProLiant server. The server has a configuration of 2 TB(500x4) HDD and 8 GB RAM. RAID 5 is enabled and mirroring is also going on. I made 7 partitions. Those are:
/boot - 200MB
/ - 80GB
Swap - 20GB
/usr - 100GB
[code]...
The problem i am facing is it takes too much time to format 100GB partitions while installing packages (during installation).
View 2 Replies
View Related
Oct 13, 2009
I am running Centos 5.3. I ran no updates, performed no installs, nor changed any configuration immediately prior to this issue. My problem is this: when I run the command startx (default runlevel 3), it is a long time (5-10 minutes) before Gnome startx, and once it does start applications will not run. Also, when I try to use sudo (from any environment, even ssh), it is a long time (5-10) before the command is executed.
I cannot say for sure, but it seems like this is an intermittent problem. Sometimes X takes a long time to start, but once it starts it will launch programs. Sometimes X takes a long time to launch, but once it starts it will only launch certain programs. Though presently X always takes a long time to start, and I cannot successfully launch any programs.
A while back a had a similar problem to this (x taking long time to start, sudo taking long time to execute) and it ended up being a DNS problem. Unfortunately, I cannot remember exactly what it was and I stupidly did not document it. Maybe this is also DNS related, I don't know.
I don't know what log files to look at for problems with X, Gnome, and sudo taking a long time to start.
View 19 Replies
View Related
Apr 7, 2009
I had CentOS 5.2 Upgraded to 5.3 -- when will I learn to test more. Anyway, same everything and samba won't stay up. I'm constantly doing service smb restart and then a few seconds later the shares are gone and I have to run smb restart again.
View 3 Replies
View Related
Feb 16, 2011
Starting today, when I click on shutdown, it takes me back to login scree instead of shutting down the computer.
From the login screen, if I press on shutdown on the bottom right, it will indeed shutdown !
View 1 Replies
View Related
Aug 21, 2009
I wanted to try KDE 4.3 on Fedora 11. I enabled the testing repos and updated. However after the update, I restarted and when I login, it takes me back to the login screen. I've tried to login with the gnome desktop and also as other users but it still took me back to the login screen.
View 1 Replies
View Related
Mar 30, 2010
Recently I've been having an issue where every now and then, all of a sudden fedora logs me out and takes me to the login screen.
All my unsaved work is lost and I have to log back in again.
Is there any way to diagnose this problem and figure out how to solve it?
View 1 Replies
View Related
Apr 26, 2010
Clean install of 10.4 I select shutdown and it takes me back to the login screen. Trying to shutdown from that screen does the same.
View 9 Replies
View Related
Mar 6, 2009
I installed a theme the other day, along with some fonts and some icons. Immediately after that, the time from logging in until I see the desktop is horrible, several minutes. I've removed (as best I can tell anyway) the theme, fonts, and icons, but the delay is still present. Any tips on where I might look to find the source of the trouble? I've tried moving to a different virtual terminal after logging in at the Gnome display manager (this is on ubuntu 8.10), so I could hopefully look at the running processes but the delay happens there as well. Once the desktop becomes visible everything seems to run at normal speed.
View 1 Replies
View Related
May 30, 2010
On Lucid, using the nVidia proprietary drivers, the panel takes about 15-20 seconds to load after loging in. Everything else works fine, I can use my desktop shortcuts and open other programs, just the panel leaves an empty space at the top and bottom, until it loads.
I don't have this problem on a laptop with Intel graphics running Lucid, nor when using Nouveau drivers on this computer. I read somewhere that it could be due to gdmsetup not having it's config file, but even after trying the suggested workaround (opening gdmconfig and changing settings so the config file is made) the problem persists. If I run "killall gnome-panel" the panel disappears (not surprisingly) and then briefly pops back up before disappearing again for about 10 seconds.
Could this be something to do with Compiz? With the Nouveau drivers Compiz is disabled, so Compiz is the only thing I can think of that affects the panel differently between the two graphics drivers.
View 9 Replies
View Related
May 4, 2010
I am having many mails transferred through my Sendmail server, so I want to configure it not to allow more than 60 mails to be sent by my sendmail server per minute. How to optimize my mail server's configuration.
View 6 Replies
View Related
Mar 6, 2011
We have a CentOS server which has beed restarted due to some reason. Now we have ping to the server and we can reboot it via KVM, but the server loads to some messaageThis is filter.unknown_domain (Linux ...)Filter Login:and then it stops. Do you have an idea what might be the problem and how can we fix it?
View 2 Replies
View Related
Oct 17, 2010
I work as a part-time consultant developing webpages, both back end and front end.When developing a back end application I'm using a server running ubuntu server edition to host the application while I'm developing it.The problem comes when I want to upload my changes to the server, now I'm using Dropbox both on the client and the server, the problem is that sometimes I have to wait over a minute for the changes to be downloaded (when I'm working out-of-home that is) so I'm looking for a better alternative. My options seems to be:Some open source version of dropbox which syncs directly to my server (haven't found anyting that sounds viable though)
Mount my server via some protocol (NFS, SSHFS etc)
Push changes manually via FTP, git, svn or something else
I'd like the sync to be as transparent as possible, meaning I'd like to do as little manual work as possible.The client I'd like to connect runs either OSX or Ubuntu.The ultimate solution would be to use NFS + VPN though that would be alot of work to set up and also I don't like the security in NFS (matching UID's doesn't seem very secure to me)
View 3 Replies
View Related
Jan 8, 2010
I'm running my website on a linux server. I'm using a mac. Apparently, mac mail has a bug where it creates too many imap processes.
Since I'm on a shared server with a 25 process limit, with 3 email accts x 4+ processes each = a lot of problems!
I'm trying to write a cron job to delete imap processes every minute.
I've tried two things
1) following this blog's advice [URL]
Code:
killall imap
i realised it was imapd not imap, but i tried another method anyway
2) create a kill-imap.sh file in my server folder.
Code:
#!/bin/bash
/usr/bin/killall imapd
then executing the file from the cron command /kill-imap.sh
both these cases, it didn't seem to work!
I would get a daemon emai reply with
imapd: no process killed
just to give more info, the existing imap processes look like this
/usr/lib/courier-imap/bin/imapd /home/sitename/mail/sitename.com/emailusername
honestly, I'm not too experienced in this, and i've searched the net without luck. can anyone advise what i'm supposed to do to kill these imap processes every 5 min via cron job?
View 2 Replies
View Related
Dec 14, 2010
Previously I had posted a question on how to make it run every 7 minutes between 7 and and 11pm.However now I found out what I really need is every 7 minuted between 7:30 and 11pm BUT it has to be every 7 minutes, it cannot reset itself on the top of every hour, so the */7 wont work.How can it that it will be every 7 minutes, so it will go at 7:30, 37,44,51, 58, 8:05, etc..
View 4 Replies
View Related
Jan 25, 2009
I'm having quite a hassle getting proftpd to work.
My setup:
- CentOS 5 (latest version)
- ProFTPD Version: 1.3.1 (stable)
Want do I want:
A simple FTP server which allows me to acces the /var/www/html directory to upload new files for my apache webserver.
What are my problems:
When trying to login it says the following:
***Begin***
[root@ICT2-Gateway ~]# ftp 127.0.0.1
Connected to 127.0.0.1.
220 FTP Server ready.
500 AUTH not understood
[Code]....
As you can see this has nothing to do with faulty firewall settings since i'm only trying this locally. Futhermore the password is 100% correct (and keyboard layout).
Since I've changed alot in my config file it thought it's not worth mentioning here, I'm reverting back to default.
View 3 Replies
View Related
Mar 16, 2009
Has anyone seen this? I have attached a screenshot of it to this post.
When I log in using PUTTY, as soon as I enter my username and hit enter I get Access denied, then a prompt for a password and all works well, it just tells me access denied even though it didnt deny me. its weird.
View 7 Replies
View Related
Sep 21, 2009
Just completed a fresh install if V5.3. It works fine.
Samba server: I tried to create a Samba user named "root" with Windows user name "administrator". Message is something like "account already exists"? I know "root" exists, but why can't I use it as a login? I don't get this error when I use another existing user account "LouA".
This is important to me because many documents state that "root" is to be used as the user name. I don't want to change these.
Current set-up allows access to all users (there is no Samba user listed) and I can read, write and delete files from Windows just fine.
View 1 Replies
View Related
Sep 27, 2010
im using default setting for proftpd and having two major problem for me at least
1. how to disable anonymous login?
2. how to make proftpd login using my default box login?
View 1 Replies
View Related
Nov 21, 2010
We use Cent OS 5.4 as a application server. We would like users to login the server via LDAP authentiction. We want ot use Lotus domino server as a LDAP server. What we should do? how can we configure ldap.conf file? Does anyone cofigured this method before ? when we configured OpenLdap on another CentoOs Server, we can successfully login to Application server. We would like to learn correct configuration on ldap.conf for authenticate via Lotus Domino Ldap server ASAP.
View 1 Replies
View Related
Oct 4, 2010
I installed Centos 5.5 on a home PC to be used remotely.
All server daemons work fine but only start if the user is logged in.
How do I set the SSH server to start whenever the PC is turned on, rather than when the user is logged in? I read the chkconfig man page online but couldn't find anything.
Plus I put a script in my startup services to be run whenever the computer boots (I'm guessing when the users logs in). How do I go about setting that to run too whenever the system boots instead?
View 1 Replies
View Related
Jun 2, 2009
I followed instructions from here: [url]
Everything seems to be ok but if I try to login it says following:
I have tried with numerous clients and accounts but still nothing, I cant get past the login. What may be wrong?
Here is the log from account creation, could the last line be causing the problems?
I had some hassle with the last two iptables lines but once I took away RH-Firewall-1 from those lines iptables gave no error anymore.
I changed this: -A RH-Firewall-1-INPUT -m state --state NEW -m tcp -p tcp --dport 21 -j ACCEPT
To this: -A INPUT -m state --state NEW -m tcp -p tcp --dport 21 -j ACCEPT
View 4 Replies
View Related
Aug 14, 2009
I am attempting to connect to VSFTPD via Filezilla from a windows machine, but regardless of which user name I use I get a "530 Login incorrect" error. I have tried turning off the firewalls on both the CentOS and Windows side of things with no result. I disabled the SSL/TLS commands in the config file, also with no change. I tried a couple of different FTP clients, but got similar results regardless of which client I used. I have been going over man pages and documentation for a couple of days now, but cannot come up with an answer. I suspect it lies in my configuration, but I got the same results when I reverted my config file back to the original. what else I can do? One other note is that I am attempting to connect via a LAN, at this point I don't care if it works across the WAN as I only intend to use it to upload files to my web server.
[Code]....
View 5 Replies
View Related