• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 272
  • Last Modified:

Telnet and ftp doesn't work and can't login

Hello,

I have the following problem on a linux system:

This is on a Redhat 7 system, booting up in ONLY X11 (nothing more) from that point a program starts and acts as a server that does stuff on request.

The system seems to boot up, but I'm unable to login, after entering the name and pressing enter, he never asks the password.
Telnet, same issue.
Ftp, asks user and passwd and then times out.

Ctrl alt delete doesn't work anymore.

I don't have a clue whats going on. Any hints ?



0
themuppeteer
Asked:
themuppeteer
  • 7
  • 4
1 Solution
 
owensleftfootCommented:
Boot in single user mode and have a look at /var/log/messages. http://www.redhat.com/docs/manuals/linux/RHL-7.3-Manual/custom-guide/s1-rescuemode-booting-single.html will show you how.
0
 
themuppeteerAuthor Commented:
yeach well, thats another thingie.. since the system boots from a self made cdrom, and we only have a small device (flash disk) to write on, we don't keep the log (it is linked to /dev/null), otherwhise it would fill up the flash to quickly.
0
 
owensleftfootCommented:
Did this sytem work at one time? If the system is on a cdrom its files couldnt have been screwed up. What gets written to the flash disk.
0
Free learning courses: Active Directory Deep Dive

Get a firm grasp on your IT environment when you learn Active Directory best practices with Veeam! Watch all, or choose any amount, of this three-part webinar series to improve your skills. From the basics to virtualization and backup, we got you covered.

 
themuppeteerAuthor Commented:
Yes it worked fine before, and other systems with also that cdrom do work fine.

On the flash disk there is not much:

/etc is partially over there: passwd,shadow,group,hosts,inittab,ntp.conf,rc.local and some subdirs.
All the sudden the system got corrupt and we don't know why.
We think it could be a corrupt passwd file,which is on the flash,
but what is strange is that normal login doesn't ask for the password but ftp does ask for the password (it times out after that..)

and some program specific stuff.
A lot of log files are simply linked to /dev/null to save resources.
0
 
themuppeteerAuthor Commented:
also, the cd doesn't seem to be corrupt, since when the flash disk is replaced, it does work again.
But it is software that runs on customers site, we would like to know what happened with the original system, because stuff like this isn't suppose to happen.
0
 
owensleftfootCommented:
"But it is software that runs on customers site, we would like to know what happened with the original system, because stuff like this isn't suppose to happen."
Its a bit catch 22 mate. How can you know what went wrong when your logfiles are going to the bit bucket? One solution would be to have another linux box with an ordinary harddrive and send all the log info there - man syslog.conf will tell you how.

      
      
0
 
themuppeteerAuthor Commented:
Yes, wel I was kind a hoping someone who already had the same experience might know the answer. I do admit that with our system we have problems when something goes wrong...
0
 
themuppeteerAuthor Commented:
I'm still gonna wait a bit until perhaps someone comes up with the ultimate answer, if not I'll give you the points.

Best regards,
themuppeteer
0
 
owensleftfootCommented:
"Yes, wel I was kind a hoping someone who already had the same experience might know the answer. I do admit that with our system we have problems when something goes wrong.."

It could be lots of things. Its obviously some sort of file corruption on the flash device. Did you mount the flash device on another working system and have a look at the files?
0
 
themuppeteerAuthor Commented:
well, we are going to today. I'll come back with more info.
thanks for the help so far!
0
 
themuppeteerAuthor Commented:
it appeared to be a broken flash. thanks for the help owensleftfoot!
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

  • 7
  • 4
Tackle projects and never again get stuck behind a technical roadblock.
Join Now