LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-29-2014, 06:06 PM   #1
daforce
LQ Newbie
 
Registered: Jul 2014
Distribution: Debian,Mint
Posts: 3

Rep: Reputation: Disabled
can't login to ssh server--error: write failed broken pipe


Hi everybody,

I hope you can help me with my problem and forgive me if my english may sound
a little bit weird, it's not my primary language

The Problem:

I have a linux home server with ssh runnig on it, everything worked fine until
I created a chrooted user for a friend, so that he can sftp to it and upload files. The chrooted user can connect to the server perfectly fine, but other users (not chrooted) can't login anymore and get the error:

Write failed: Broken pipe


Does anybody know what to do?

Thanks in advance
 
Old 07-30-2014, 12:25 PM   #2
Spatior
Member
 
Registered: Jun 2009
Location: México
Distribution: Suse, Debian based, CentOs
Posts: 48

Rep: Reputation: 10
Hi daforce,

I have only theroical understanding of chroot process, but I think you may have messed a little your OS or at least the login.

Questions:
Which distro do you use?
can you login with a privileged user?

If you can login and get in admin mode (sudo or su) you may want to look at /var/log/messages file and look for the word 'login' or the user name(s) that have that error.

Broken pipe means (grosso modo) that the connection was closed unexpectedly but there are many causes
 
Old 08-09-2014, 10:05 AM   #3
daforce
LQ Newbie
 
Registered: Jul 2014
Distribution: Debian,Mint
Posts: 3

Original Poster
Rep: Reputation: Disabled
I think i messed up my system by blindly using apt-get upgrade.
My MYSQL server was also not working anymore.
Lesson learned. Will install from scratch.

Thx for trying to help me
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
write failed broken pipe sachin.davra Linux - Newbie 6 04-23-2014 04:23 AM
[SOLVED] Write failed: Broken pipe vikky Linux - Newbie 8 03-24-2014 03:02 PM
SSH-Write failed broken pipe Error vignesh4sh Linux - Server 1 11-22-2012 12:01 PM
[ssh] write failed: broken pipe mosthated Linux - Newbie 2 06-28-2012 07:21 AM
ssh Write failed: Broken pipe shogun1234 Linux - Networking 3 12-08-2010 10:33 PM


All times are GMT -5. The time now is 10:27 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration