Koozali.org: home of the SME Server

Obsolete Releases => SME Server 7.x => Topic started by: AndySabo on February 09, 2009, 08:30:38 PM

Title: Cannot access console after update
Post by: AndySabo on February 09, 2009, 08:30:38 PM
I often log into my server from firefox and do the suggested updates.  After my last update the server crashed and I have been unable to access it from any computer on the network.  Today I hooked a monitor and keyboard to it and booted it up to see if I could fix the problem.  Well,, it is asking for a log in and password.  when I put it in there it just goes back to "first login"  if I put in anything else it says "login incorrect" and asks for it again, so I put in the right info and it just goes straight back to "first login".   I have never had this issue before.
Title: Re: Cannot access console after update
Post by: uniqsys on February 09, 2009, 10:36:59 PM
I have never had this issue before.

As a usual response: please report all bugs via the bug tracker.  Include more details on the installation and which packages were upgraded too.

I have never seen this response either.  You are cold booting and trying to login as "root" with the root password right?  Sounds like signal-event post-upgrade and/or signal-event reboot didn't work as expected.

If you can login as root, I suggest that you try to manually invoke them with

Code: [Select]
signal-event post-upgradeand
Code: [Select]
signal-event reboot
Title: Re: Cannot access console after update
Post by: AndySabo on February 09, 2009, 10:54:52 PM
if the bug tracker was not such a convoluted process I would go there.  I cannot log in as root, admin, me or anything else. from what I understand root only takes you to the linux running under the console anyway.  I need to access the console and get the server running again.
Title: Re: Cannot access console after update
Post by: Stefano on February 10, 2009, 12:16:23 AM
Quote
if the bug tracker was not such a convoluted process I would go there.  I cannot log in as root, admin, me or anything else. from what I understand root only takes you to the linux running under the console anyway.  I need to access the console and get the server running again.

then you are alone.. if you wish help you have to be more collaborative.. start with raising a bug..

then boot your server with SME's cd in rescue mode, try to mount your installation and start looking in /var/log/messages for something..

ciao
Stefano
Title: Re: Cannot access console after update
Post by: uniqsys on February 10, 2009, 12:35:07 AM
if the bug tracker was not such a convoluted process I would go there.

Oh contraire mon ami, it is not a convoluted process.  I agree with Stefano.  :smile:

Quote
  I cannot log in as root, admin, me or anything else. from what I understand root only takes you to the linux running under the console anyway.   I need to access the console and get the server running again.

I don't know what you mean by "running under the console". Nothing that I know of runs under a console. SME console accesses certain functions that enable you to configure and manage some features of the OS. Please follow Stefano's suggestions and we will try to help.  His advice is the next step I would follow.
Title: Re: Cannot access console after update
Post by: AndySabo on February 10, 2009, 12:58:51 AM
Thank you for your assistance.  I do not have any cd's, I downloaded my SME server.  I will sign up an account on the bug place and see if I can get through it.  I had tried to search it for an answer but it is an amazing maze of tangled up data that I could not interpret.
Title: Re: Cannot access console after update
Post by: CharlieBrady on February 10, 2009, 04:59:17 AM
I had tried to search it for an answer but it is an amazing maze of tangled up data that I could not interpret.

You do not need to interpret anything in the bug tracker. You just need to describe exactly what you did, and exactly what you are seeing. And you will be asked to do various things, and to report back what you see. We developers will attempt to determine what went wrong and how it can be fixed.
Title: Re: Cannot access console after update
Post by: CharlieBrady on February 10, 2009, 05:01:36 AM
I do not have any cd's, I downloaded my SME server.

I'm quite curious about that. The most usual way to create an SME server is to download an iso image, burn it to a CD, and boot from a CD in order to install the software on a computer. So it is quite usual that everyone with an SME server will have a CD.
Title: Re: Cannot access console after update
Post by: cactus on February 10, 2009, 10:08:14 PM
I will sign up an account on the bug place and see if I can get through it.  I had tried
After you have created your bug report please post a reference to that bug here for future readers. Thanks.
Title: Re: Cannot access console after update
Post by: Stefano on February 10, 2009, 10:14:15 PM
I do not have any cd's, I downloaded my SME server. 

exactly, what did you download? an iso? a vmware/virtualbox/whatever virtual machine image?

Stefano
Title: Re: Cannot access console after update
Post by: SmartSteve on February 12, 2009, 12:47:32 PM
Hmm this has happened to me twice on two different machines. Once on 7.3 and recently when I ran up a new 7.4 fresh install. It seemed like the root/admin password is overwritten. I had to manually boot single and go in and recreate the root password then reboot then I could get in and recreate the admin password. Now the 7.3 it happened out of the blue BUT I think it was during a yum update. On the 7.4 I was busy updating and installing packages and only after I had done a heap of updates did I do the sig-event post-upg -> sig-event reboot. So as for what exactly caused it I'm not sure. Once I recreated the root password it hasn't happened since. I haven't bugzilla'd it as I was not sure what caused it thus very hard to pinpoint.

Hope that either helps or gives encouragement.

For the record I have 3 x 7.4 and 2 x 7.3 CDs because I keep misplacing them.

Steve B
Title: Re: Cannot access console after update
Post by: Stefano on February 12, 2009, 12:57:52 PM
I haven't bugzilla'd it as I was not sure what caused it thus very hard to pinpoint.

you have not to think if it is a bug or how to explain it.. open a bug, and If you feel scared by bugzilla, read this (http://wiki.contribs.org/Bugzilla_Help#Bugzilla_is_easy)

Ciao
Stefano
Title: Re: Cannot access console after update
Post by: CharlieBrady on February 12, 2009, 03:32:24 PM
I have never seen this response either.  You are cold booting and trying to login as "root" with the root password right?  Sounds like signal-event post-upgrade and/or signal-event reboot didn't work as expected.

The signal-event reconfigurations don't do anything with root or admin passwords, or change anything which would affect ability to log on.
Title: SmartSteve,,,,
Post by: AndySabo on February 17, 2009, 01:23:32 AM
Can you please explain how you did the "manual boot single" and how you changed the password ?
Title: Re: SmartSteve,,,,
Post by: janet on February 17, 2009, 01:31:04 AM
AndySabo

There is alot of useful info here
http://wiki.contribs.org/Category:Howto

Please read the Howtos particularly
http://wiki.contribs.org/Booting
and look for Rescue mode
Title: Re: SmartSteve,,,,
Post by: CharlieBrady on February 17, 2009, 04:39:27 AM
Can you please explain how you did the "manual boot single" and how you changed the password ?

Yes, after you create your bug reports.
Title: working on it again
Post by: AndySabo on March 05, 2009, 02:13:23 AM
okay,, trying again,, just to let you know,, I am also trying the bugzilla thing,,,

I downloaded the software again and booted off the disk into rescue mode,,, got all the way to a prompt where I can do nothing,, I tried to look in var/,,,,, whatever it was in the above post but got nowhere ,, when I type in var/ blah blah it says it is not a valid command.  So basically I can do nothing,,, I type in help and 3 or 4 screens blast by with nothing useful.  I cannot find anything about passwords and none of the things it shows work as valid commands.  I am really lost here and employees are starting to flip out on me because they have files stored on the server and it is also our print server.... so when anyone has to print something they have to email it to me so I can print it on my local printer,,,,,,,,
Title: Re: working on it again
Post by: thomasch on March 05, 2009, 03:24:06 AM

I can do nothing.............So basically I can do nothing..

AndySabo,

You can do fix it if you let us to help you. How? File a bug report! That's how.
WE ALWAYS WANT TO HELP YOU BUT YOU NEED TO BE COLLABORATIVE.

start from here http://wiki.contribs.org/Bugzilla_Help#Bugzilla_is_easy

create your account here http://bugs.contribs.org/createaccount.cgi

and report your bug after you verify your email address.

By reporting bugs, you are helping us make SME server a better distro.

thomasch
Title: Re: working on it again
Post by: elmarconi on March 05, 2009, 08:04:20 PM
I downloaded the software again and booted off the disk into rescue mode,,, got all the way to a prompt where I can do nothing,, I tried to look in var/,,,,, whatever it was in the above post but got nowhere ,, when I type in var/ blah blah it says it is not a valid command.  So basically I can do nothing,,, I type in help and 3 or 4 screens blast by with nothing useful. 

Please describe _exactly_ what you do... e.g.:

Code: [Select]
cd /var/log
ls
pwd
less messages
grep error messages

I cannot find anything about passwords and none of the things it shows work as valid commands.  I am really lost here and employees are starting to flip out on me because they have files stored on the server and it is also our print server.... so when anyone has to print something they have to email it to me so I can print it on my local printer,,,,,,,,

Since 9 febr.? And you are the chosen one responsible for the server?
If I were you I'd seriously consider some external consultancy.
And if I were your boss  I'd seriously consider some external consultancy too.
The cost of such a (wo)man has to be compared against a downtime of 4 weeks and reduced efficiency of the employees ...

If you are looking for a quick and cheap solution, no, there is none.
Either invest money (external consultant) or (lots of) time as your knowledge of SMEServer seems to be sort of, well, rusty...

And yes: Bugzilla is the way to go...

Title: Re: Cannot access console after update
Post by: SmartSteve on March 06, 2009, 11:47:55 PM
Sorry Andy, I'm with the rest, you need to know at least the basics of running a (Linux) machine if you are going to be the one to look after a network. I don't claim to know everything about Linux/UNIX but I know, at the very least, my way around the system. 

If your boss is anything like mine, the instant the network goes down he is pacing and hanging around until I get it fixed, or he is already yanking cables to try to fix it himself (grr). I have 2 servers (1 x SME and 1 x Mandrake) to look after where I work and I wouldn't be doing that if I didn't at least know how to get them both up and running within a short space of time in the event of a failure. Our whole operation relies on our central file store and our customer interface.

On that topic, I can't see why your users can't see their files. From what I have experienced with this problem it is only the root/admin password that gets creamed and all the ibay and user account passwords have been intact. So...

For the next topic in the series. Do you have a backup of all of the users files? Not that I am advocating it at all but you could have run up another box, poked the files on and got going again, which buys you time to fix the problem. Which by the way is 2 mins at the most.


For the record so I don't appear to be a hypocrite on the topic of bugzilla, I have raise a few of my bug related queries even if they might turn out to be frivolous. I had regarded bugzilla as a place to report "provable" bugs and the forums as a place to find out if anyone else had experience the same issue, thus a provable bug. Eg is it my mistake or is it a genuine error.

Another thought. SME is so very easy (maybe too easy) to setup and administer that maybe this is creating a problem where people with a small amount of knowledge can set it up but then get into very deep water when something goes wrong. It is very easy when all is well but very difficult when it is not.

The mantra before embarking is "have the knowledge or know where you can get it when you need it"

My advice also Andy, is write stuff down. I have a notebook from when I started (back with RH5) of all the commands (CLI) that I have either been told or learned, and what they did.

Regards,

Steve
Title: FIXED !!!!!!
Post by: AndySabo on March 09, 2009, 09:32:25 PM
 :grin:

http://wiki.contribs.org/SME_Server:Documentation:FAQ#Reset_the_root_and_admin_password

and make sure you put a space before "single"
Title: Re: Cannot access console after update
Post by: CharlieBrady on March 09, 2009, 09:45:59 PM
From what I have experienced with this problem it is only the root/admin password that gets creamed and all the ibay and user account passwords have been intact.

I've never heard of or experienced such a problem. If you have, please provide full details via the bug tracker.
Title: Re: FIXED !!!!!!
Post by: elmarconi on March 09, 2009, 10:12:23 PM
:grin:

http://wiki.contribs.org/SME_Server:Documentation:FAQ#Reset_the_root_and_admin_password

and make sure you put a space before "single"

Congratulations! You've been studying?  ;-)

I do not understand one thing:

I am really lost here and employees are starting to flip out on me because they have files stored on the server and it is also our print server.... so when anyone has to print something they have to email it to me so I can print it on my local printer,,,,,,,,

How is this related to the root/admin password which seemed to get lost?
Are you sure that it was the only root/admin password? If noone had access, the authentication mechanism/module/pam/whatever went berzerk.

The reboot fixed their problems also?

For the sake of forensics please scan your last logfile:

Code: [Select]
grep "authentication failure" /var/log/messages
or older logfiles

Code: [Select]
grep "authentication failure" /var/log/messages*
I've had one occasion that my Ubuntu didn't want to accept any of my password, but after a reboot it did...

Title: Re: Cannot access console after update
Post by: AndySabo on March 09, 2009, 10:18:56 PM
okay, it's complicated.  This all happened after doing a server update.  what happened was two fold.  1 - it somehow forgot my passwords and I was unable to gain access to the server, after all the work of fixing that and getting the server running again people could still not access the server but at least I knew it was running.  I am more of a hardware guy so it did not take me long to figure out that during the softare update it also had decided that it no longer liked my nic setup.  I have 2 nic's in the box, one to the network and a second to a wireless router that I was trying to set up so we could use our laptops without plugging in,, that never did work but the server to the network side always worked fine.  Well now I had to switch the lan cable to the other network card and all is well.
Title: Re: Cannot access console after update
Post by: AndySabo on March 09, 2009, 11:10:50 PM
SmartSteve pretty much hit the nail on the head in his post above.  I was in need of a server for my office, the MS price was amazing and their products can hardly keep the pc's running on a daily basis so I wanted something different.  So with no prior knowledge of Unix or Linux I downloaded the SME server and went to town,, and it was great till something went wrong,, then I was in way over my head,,, but I am all about learning new computer stuff and the bugzilla guys are very helpful and now all is well,,,
Title: Re: Cannot access console after update
Post by: mercyh on March 10, 2009, 02:18:34 PM
I have 2 nic's in the box, one to the network and a second to a wireless router that I was trying to set up so we could use our laptops without plugging in,,

Off topic, but.............

Plug a cable from your wired network switch into one of the LAN ports of that router and you are good to go. (this basically makes it a wireless access point). MAKE SURE YOU TURN OFF THE DHCP SERVER IN THE ROUTER BEFORE YOU CONNECT IT TO YOUR NETWORK.