General :: Troubleshooting - Cannot Login To Server Via SSH/Console
Apr 5, 2011
I got two computers with the exact same symptoms today: Both seem to be alive. They answer pings and they host virtual machines which are working. However, I cannot login via SSH. I get
$ ssh -v obelix
OpenSSH_5.3p1 Debian-3ubuntu6, OpenSSL 0.9.8k 25 Mar 2009
debug1: Reading configuration data /home/mike/.ssh/config
debug1: Applying options for obelix
[code]....
On the console I can switch the ttys and enter my login credentials. After that I see the GNU/Debian Linux welcome message an no prompt. The system seems to hang. I'm able to switch the tty again and login with the same result. (I tried that three times now and I start running out of ttys.) A search on the Internet suggested some ressoucre shortage. How could I release some resoucres than? How could I further investigate the situation before just trying a hard power off?
View 1 Replies
ADVERTISEMENT
Mar 13, 2009
I am not able to login to server from console attached to server, every time i enter username & password but it again asks for username & password. But when i try to login to server from remote machine, login happens properly.
View 4 Replies
View Related
Jul 13, 2011
I just did "do-release-upgrade" from ubuntu 9.10 > 10.04 > 10.10 > 11.04 which successful but after a restart, no login console just a blinking underscore. However I still able to login to server using ssh. During the boot I saw this failure "Starting system V runlevel compatibility [fail]".
View 4 Replies
View Related
Nov 20, 2010
I know there are ways to change the login of a linux box (runlevel 3) so that you don't see the regular login prompt but that you get a list with options. You see this with appliances.
My goal is to create a login like some of those appliances have. Instead of just getting a login prompt you can select several options like login, change network configuration, change password, stuff like that. How can I do this? Is there an Open Source tool to configure this?
View 1 Replies
View Related
Oct 20, 2009
Just loaded Lenny, mostly with defaults. I'd like to go back to a command-line login for the console attached to the machine. Of course, I'd like to be able to 'startx' whenever I do want the GUI up.
View 3 Replies
View Related
Dec 26, 2010
I'm brand new to ubuntu and very green when it comes to Linux in general.I have recently installed Ubuntu Desktop version 10.10 for my media pc (a friend of mine showed me xbmc, awesome!). I modified my install so that I don't have to enter a password when turning it on.The problem seems to be that when I did the install I chose to encrypt my home directory. Now, since I don't enter a password, the machine spews a few errors and does nothing. I finally got it to boot to a console window however I don't know how to undo what I did from the gui.I'm basically trying to get to System > Admin > Login Window > Security without the gui and "check the box" to require a password on login.Any clue as to which config file this setting is stored in?
View 5 Replies
View Related
Dec 30, 2010
i'm looking for a way to output a bash script to the console before login.It should be executed after boot in rc.d scripts with the output on the console0. It is for a asterisk box.This is the script. It use the watch command to output the active calls on the box in realtime.Code:watch "asterisk -vvvvvrx 'show channels verbose'"Btw,
View 6 Replies
View Related
Apr 19, 2010
I have a need to start an application on bootup on the linux console and I do not have a need for any type of login or security. I do not need any ALT-F1,F2,etc virtual consoles but I would like to allow SSH access via the network port for debugging, loading, etc.
The application is a SDL graphics program running with fbcon as the SDL_VIDEODRIVER if that matters. I'm currently using Fedora 10 and 12 but any distro that supports SDL using the fbcon framebuffer would be acceptable.
View 2 Replies
View Related
Mar 27, 2010
I have been trying to accomplish this feat for about a week now, and I always seem to get a boot up error.
Here is how I call WinPe from my default file
Code:
View 2 Replies
View Related
May 13, 2011
The server is booting up properly and the system is running. When browsing web sites on the sever and they seem to run fine. But when you make requests to it, it seems to take a long time to process stuff. Such as large mysql request. Even to the point it freezes. It seems that if you make a request of some sort it just over loads. I have checked the logs and the most I can get from it that one of my wiki sites that seem to be getting nailed with spam bots trying to getting which is one of the databaes that where repaired could be slowing it down A LOT. Now I did find a couple databases that where marked as crashed and they have been repaired. I am not really sure what is causes the errors since the HD space is fine, ram is fine, internet connection is fine...So I am not familiar with diagnoses linux as much as I am with a windows pc. I am not real shell friendly. I am not good with the basic troubleshooting commands to try and identify the source of the problem to correct it. Could anyone point me the way...
Thanks in advance and I apologize for being a ra-tard on these. I should know this stuff more than I do running a server like this. It was created in 2006 and has been problem free since. Another thing, mass emailing isnt working either. It may be mysqld related. Sorry for the fragments and such. It also seems the SMTP isn't working properly as well suddenly.
Another error I been seeing:
PHP Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 16 bytesPHP Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 16 bytes some times I see this as a 32 or 64 bytes as well.
FTP Connection: It is also slow when making ftp connects. It is extremly slow but they finally do complete. It can be just a simple connection to display content. Slow.
View 12 Replies
View Related
May 12, 2011
I want to set security regarding with the root user. The root user must not be allowed to login directly to the service console, how will I do this?
View 4 Replies
View Related
Dec 24, 2010
I don't what happened but yesterday I was working normally and then I shutdown the computer, today when I opened ubuntu it took me to tyy1 login screen, I entered my username and password then it took me to the normal login screen with the login drums sound and it wrote on my account (logged in) so I clicked it and I entered my password again and then I got to my ubuntu so what went wrong and how to fix it also I noticed that a new terminal in system tools occurred called Kernel (I didn't add it)
I'm using ubuntu 10.10 on Dell inspiron 1520 with Nvidia 8600GT and 3GB RAM
Important: this happened after update to generic-headers-24
View 1 Replies
View Related
May 1, 2010
I just installed 10.04, and its taking me to the console login, rather than the graphical login. When I tried the live cd, the graphical environment was good. But after installation, I dont get the graphical login , so that I can get into the desktop.
I have a ATI Mobility Radeon X1400 card on ThinkPad T60. Everything was working on 8.10, and I decided to install 10.04 and now it doesnt work.
View 3 Replies
View Related
Sep 1, 2011
I've got a server that I've been trying to get Ubuntu Server 10.04.01 LTS installed and running on and I've gotten incredibly close to having it work, but the Network is still giving me issues. The installer went off without a hitch (once I fixed some optical drive issues) and it has actually detected the "Intel Corporation 82576 Gigabit Network Connection (rev 01)" Dual-port onboard NIC which shows up when I run lspci. I statically assigned an IP, Subnet, DNS Server and Gateway to eth0 and things looked good. ifconfig showed that it was "UP", and I could ping localhost, but if I tried to ping anything on the LAN it said "Destination Host Unreachable".
Here's the ifconfig and lspci (snippet)
======== ifconfig ========
eth0 Link encap:Ethernet HWaddr 00:25:90:2d:26:98
inet addr:172.30.1.75 Bcast:172.30.3.255 Mask:255.255.252.0
UP BROADCAST MULTICAST MTU:1500 Metric:1
[code]...
View 2 Replies
View Related
Jun 22, 2010
I'm having a strange problem on some of our Debian servers. It all started about three weeks ago when we moved our virtual environment (VMWare ESX3) from a SAN to a NAS (NetApp). At first I thought it had to do with that move but since the other 9 servers are working perfectly I eliminated that idea. For over a year all 12 Debian 5 servers have been working great without mentionable failures. All servers are (where) up to date with the latest patches. About three weeks ago I started having kernel panics with the following message on three of our servers:
Code:
Code: Bad EIP value
EIP [00000000] 0x0 SS:ESP 0068:f6d7da18
Kernel panic - not syncing: Fatal exception in interrupt and other times it looks like just a dump of hexadecimal data. The only difference between those 3 servers is that they have several mounted shares connecting to the NAS using CIFS. So I was thinking that it might have to do with an update of some kind in regards to smb. I recovered an image from a month ago, before the troubles began, copied over the data and MySQL databases and configured the 'old environment with recent data' exactly the same with MySQL master-master replication, document synchronization and load balancing. This task I performed last night (no other way since it's a production environment). Up to this time neither of the two 'restored' servers had a kernel panic. The one that has not been restored is having one at random about every hour and a half. Following are the different versions between the 'at this time' working server(s) and the failing one:
Code:
FAILINGWORKING
samba-common 2:3.2.5-4lenny122:3.2.5-4lenny9
smbclient2:3.2.5-4lenny122:3.2.5-4lenny9
smbfs 2:3.2.5-4lenny122:3.2.5-4lenny9
[Code]...
View 7 Replies
View Related
Apr 21, 2010
I am using rhel 5.3. I am using windows 2003 server 32-bit (the processor is 64 bit. AMD athlon x2). I have installed vmware and installed rhel5.3 64 bit on top of it. Now i am able to login as root from GUI mode (f7 console), but unable to login in text console from f1 to f6. I checked the /etc/securetty. But there was nothing unusual there. I think udev is causing this problem, since google said so. I cant find where the udev.rules file is located that google searches are taking about. How do i enable root login in f1-6 console.
View 4 Replies
View Related
Mar 21, 2010
I have an internet connection with 512kbs speed. I have PCLinuxOS installed on my laptop. when I boot the machine through PCLinxOS, I am not able to connect to the internet.
I am not getting IP/DNS entries/Gateway by my ISP. Can anyone please help me in troubleshooting this ?
But when the same Internet connection is connected to another Windows XP machine. Its working fine.
View 14 Replies
View Related
Oct 31, 2010
My problem started only after I upgraded my hardware. I'll describe the problem and the changes that led to it.
Problem: I have to restart my computer a second time before my icon set and controls are shown properly. The first time I boot up, I get an ancient looking set of controls. (By controls, I mean buttons, window splitters, etc.). My custom icon set is replaced by an ancient looking icon set I've never seen in Ubuntu before. (Maybe it is a Debian default? It certainly isn't stock Ubuntu). The Gnome panels are completely different from normal too. I simply reboot again and everything comes up the way it should. Every time I start my computer, I have to restart a second time. After that, no problems until I need to shut it down and start again.
I'm running a relatively new installation of Ubuntu 10.10. I changed the theme to a bisigi theme [url] and everything was fine. No problems at all until...
Changes: Then I upgraded my video card from an older nVidia to a GT430. I had to change a couple things in xorg.conf. For that, I just used the suggestions made by the nVidia settings utility. I also upgraded my mobo and RAM (from 4GB to 16).
These problems started only after I upgraded my hardware. Of course, the hardware upgrade involved the above noted software configuration changes. (xorg.conf was the only required change.)
I'm looking for ideas on how to troubleshoot this? I don't even know the first step. For example, what logs should I check? Should I suspect a hardware problem (e.g., bad video card) or is this software/configuration related?
View 2 Replies
View Related
Jun 14, 2011
I have an oracle database that is getting file i/o errors. I don't think it is the fault of oracle, but the nfs mounted filesystems. So ... to troubleshoot my next step is to see if Linux is having trouble with i/o. These are nfs mounted and there are many files located on the filesystem which is having the error. The error only occurs on one file.Does anyone know how to turn on logging for any errors received? I assume I need need logging for nfs daemon, but not sure. Please correct me if I'm wrong.
View 1 Replies
View Related
Mar 26, 2010
sound icon is not visible at the panel after uninstalling kde packages from ubuntu ultimate 2.5. can any one help on this?
View 1 Replies
View Related
Feb 23, 2011
I am very new to this site. Is there a good tutorial on installing CentOS X86_64 on VMware Server Console?
View 2 Replies
View Related
Jan 9, 2010
New clean install of Fedora 12 (my worst Linux experience so far, should have sticked with Fedora 9, it was old but it was stable, unlike this half-backed... whatever it is). Anyway, to the matter at hand (one of the many):How do I switch to the console from the graphical login screen? CTRL+ALT+Fn doesn't work, CTRL+ALT+Backspace doesn't kill X, it's a NIS machine with only root as local account
View 2 Replies
View Related
Feb 18, 2011
I'm trying to debug a game with gdb. The game runs in fullscreen and causes a segmentation fault and then gives control back to gdb. However, since the game is in fullscreen, the gdb session can't be viewed. So, at this point I did CTRL-ALT-F6 which blanks the screen and gives me a console to login with. I do this and determine the PID of the game process and kill it. This should remove the x-window the game was using and leave the gdb session on my gnome-terminal. I then exit the console login, which leaves me at a console login prompt.
Now is the problem. How do I return back to my gnome-terminal gdb session, ie, how do I recover from my console login? Via email, somebody informed me that CTRL-ALT-F9 works for him, but it does not for me. In fact, I've tried CTRL-ALT-<every function key> and nothing works for me. The only thing for me to do at this point is to kill the power.
(BTW, the game must be debugged in fullscreen because the problem goes away when not in fullscreen.)
I'm running openSUSE 11.3 32-bit.
View 9 Replies
View Related
May 4, 2011
I"ve started using Ubuntu 11.04 with my Intel iMac. Today I was playing EDuke32 on Ubuntu then the game got freezed, so I tried Ctrl+Alt+F1 and it worked. I just logged in the console and typed;
sudo reboot
This actually didn't work, so;
/usr/bin/sudo /sbin/reboot
This worked.
After rebooting, I tried log in with the GUI login screen. However I just cannot login. After I input my password and press enter, login screen goes black out and comes back to the login screen. I also tried to log in from console (Ctrl+Alt+F1), and it worked. I can log in.
View 1 Replies
View Related
Sep 15, 2010
I am using kubuntu 10.04..i am a new guy here..
i unfortunately removed all my files from /home folder..
rm -rf ~ /. picasa / (ya..i know..)
As some of the files were really important i tried recovering data using foremost..i used the command
foremost -i /dev/sda1 -o /mnt/foremost
After execution of this command it prompted a process..it was downloading something..and i left the computer for an hour or so..when i return there was nothing on screen..so i reloaded the system..And after that when i try to login i get the error
"xsession: warning: unable to write to /tmp; xsession may exit with an error"..so when i googled for it i found its because there is no memmory in my /root ..so i tried login via console (tried ctrl+alt+f1..after the login screen appears..when i type ctrl+alt+f1 i get a black screen)..but nothings happening...
but the problem is when i type (ctrl+alt+f1) i am getting a black screen only...and just a cursor blinking..nothing else..ctrl+alt+f1-f6 give me the same result..and when i try (ctrl+alt+f7) it goes back to the screen with the error....how can i login to console now...
View 2 Replies
View Related
Mar 16, 2011
Is it possible to prevent the disclaimer from being displayed as soon as one logs into a terminal? I am referring to the six standard terminals.
I searched the contents of /etc and googled without much success.
View 7 Replies
View Related
Aug 4, 2015
New to Linux in the last year, used Debian Wheezy off and on for a time - trying to build a system up from a minimum net-install, just to learn more about it.
I have a niggling little problem - either of understanding or configuration. I started with the min install and installed X using apt-get or aptitude. Then installed JWM, which I would start from the console via startx. I really liked this setup, since it was simple and I knew what was going on. This was all on Wheezy.
After the upgrade to Jessie (via dist-upgrade), I would get messages popping up "on top of" the console login when I booted. Stuff like "b43-loading firmware …" would pop up on screen while I was typing my login/password. This was kind of disconcerting (seemed like something must be misconfigured) but didn't effect functionality at all.
Eventually I decided to try a display manager, since that would (I thought) avoid the whole console login process and thus the weird overlapping messages. I installed LightDM through aptitude and it works great, but the console login is still displayed first (briefly, maybe 3-4 seconds) before the LightDM greeter takes over the screen.
It is there just long enough to confuse the unwary, who start typing their login name only to have the screen replaced by the LightDM login screen and have to start over. Obviously this isn't a big deal (everything works fine), but since the whole point of this project was to understand, I'm very curious if this is normal behavior (videos I've seen of folks installing Debian seem to show boot messages jumping straight to the DM without showing:
Debian GNU/Linux … tty1
debian login:
or if I've neglected to configure something that would allow boot directly into LightDM or hide the text console while LightDM loads or … something.
View 5 Replies
View Related
Jun 22, 2010
I have Ubuntu 9.10 and I want to activate the login screen by console. I know I can do it graphically:
System -> Admin -> Login Screen
But I need to do this through line console.
View 1 Replies
View Related
Aug 21, 2010
Is there anyway I can automatically login to console without having to provide username and password as soon as I boot into the machine?
View 2 Replies
View Related
Nov 19, 2010
I have sometimes wished to place a reminder, to be displayed after I login. And what I did was to write it in /etc/motd or in /etc/issue. But something in the system erases or writes a new motd/issue.What would be the easiest way to have a reminder printed on the console just after login?
View 10 Replies
View Related