Sponsored Content
Top Forums UNIX for Dummies Questions & Answers Grep: writing output: Connection reset by peer Post 302822899 by RudiC on Tuesday 18th of June 2013 10:54:35 AM
Old 06-18-2013
I guess this is only half the truth, and you are working on a remote node. The error msg indicates some network problem. Is your output file on a remotely mounted drive? Or is your pwd on such a drive?
 

10 More Discussions You Might Find Interesting

1. IP Networking

connection reset by peer

:confused: HI, We have 2 servers ( win 2003 + sun 5.8 ) and we run a rsh from the NT to the UNIX. The program runs a shell script on the UNIX and waits for the answer in the EOF. How ever, after period of appx 2 min there is a reply "Recv failed:Connection reset by peer". while the... (5 Replies)
Discussion started by: eyalush
5 Replies

2. Shell Programming and Scripting

ssh - connection reset by peer

I use ssh to work on the server (OS X 10.4.x) remotely from home (Debian / OS X 10.5.3). If I leave my machine idle, I get disconnected after a couple of minutes. I get the following error message: Read from remote host "server name": Connection reset by peer Connection to "server name" closed.... (2 Replies)
Discussion started by: osxhawk
2 Replies

3. Shell Programming and Scripting

Connection reset by peer

hi i am connecting to a remote server using sftp protocol. i am using the command like "sftp USER01@122.10.12.45" then i got the error "Couldn't read packet: Connection reset by peer" please help its very urgent (5 Replies)
Discussion started by: Satyak
5 Replies

4. IP Networking

connection reset by peer on freebsd

hi all. am running postgresql in a vm on debian server. i have some client programs connecting to the db. when i check the logs of postgresql i see "connection reset by peer" can someone help me with this issue... thanks. (1 Reply)
Discussion started by: coolatt
1 Replies

5. UNIX for Advanced & Expert Users

Connection reset by peer..closing connection

Hello I'm facing the above problem while doing a performance run. I've a script which I'm launching from my windows desktop using mozilla. The script will invoke backend action on a Solaris host which in turn feeds the records to a driver located on a linux box(Cent OS). What's happening is... (1 Reply)
Discussion started by: subramanyab
1 Replies

6. UNIX for Dummies Questions & Answers

fatal: Read from socket failed: Connection reset by peer

I get this error when I log in through console: "fatal: Read from socket failed: Connection reset by peer". Can you tell me what this is and why it happens, and how to stop it? Thank you. (1 Reply)
Discussion started by: iamnew2solaris
1 Replies

7. UNIX for Dummies Questions & Answers

cat: write error: Connection reset by peer

I have created a script to cat the contents of a log file and pipe it to head and tail so I can get specific lines. When I do this I sometimes randomly get the error "cat: write error: Connection reset by peer". It is completely sporatic and sometimes it doesnt happen and sometimes it does... (4 Replies)
Discussion started by: atelford
4 Replies

8. UNIX for Advanced & Expert Users

Fatal: Read from socket failed: Connection reset by peer [preauth]

Hello, I have recently updated my AIX machine from version 6.1.7.5 to 6.1.9.1 and i noticed that the errpt of the server is full of ssh messages like the one below: sshdprocess_id>]: fatal: Read from socket failed: Connection reset by peer Does anyone knows if this a known bug of the ssh... (15 Replies)
Discussion started by: omonoiatis9
15 Replies

9. UNIX for Dummies Questions & Answers

Sftp - Couldn't read packet: Connection reset by peer

Hello to all, i have a problem when trying to estabilish a sftp connection. i setup a sftp server (i used feeFTPd) and i'm now trying to connect from two different machines. from the first one everything is fine: $ sftp -vvv user@xxx.xxx.xxx.xxx Connecting to xxx.xxx.xxx.xxx...... (9 Replies)
Discussion started by: dc26
9 Replies

10. Red Hat

Can't SSH - Connection reset by Peer

Hi Guys, I can't SSH to a remote system - connection reset by peer..any ideas ? -The Source is Linux, the Remote is Windows -The remote has OpenSSH running on Port 22 - Telnet confirms port is open -User1 has a RSA2 Key (2048) key, which is capture in the 1010101-pub.key specified by the... (1 Reply)
Discussion started by: stevie_velvet
1 Replies
rmmount(1M)						  System Administration Commands					       rmmount(1M)

NAME
rmmount - removable media mounter for CD-ROM, floppy, Jaz drive, and others SYNOPSIS
/usr/sbin/rmmount [-D] DESCRIPTION
The rmmount utility is a removable media mounter that is executed by Volume Management whenever a removable medium, such as a CD-ROM or a floppy, is inserted. The Volume Management daemon, vold(1M), manages removable media. rmmount can also be called by using volrmmount(1). Upon insertion of a medium and following invocation of the volcheck(1) command, rmmount determines what type of file system (if any) is on that medium. If a file system is present, rmmount mounts the file system in one of the locations listed below. For a diskette (floppy): /floppy/floppy0 symbolic link to mounted floppy in local floppy drive /floppy/floppy_name mounted named floppy /floppy/unnamed_floppy mounted unnamed floppy For a CD-ROM or a DVD-ROM: /cdrom/cdrom0 symbolic link to mounted CD-ROM in local CD-ROM drive /cdrom/CD-ROM_name mounted named CD-ROM /cdrom/CD-ROM_name/partition mounted named CD-ROM with partitioned file system /cdrom/unnamed_cdrom mounted unnamed CD-ROM For a Zip drive: /rmdisk/zip0 symbolic link to mounted Zip medium in local Zip drive /rmdisk/Zip_name mounted named Zip medium /rmdisk/Zip_name/partition mounted named Zip medium with partitioned file system /rmdisk/unnamed_zip mounted unnamed Zip medium For a Jaz drive: /rmdisk/jaz0 symbolic link to mounted Jaz medium in local Jaz drive /rmdisk/Jaz_name mounted named Jaz medium /rmdisk/Jaz_name/partition mounted named Jaz medium with partitioned file system /rmdisk/unnamed_Jaz mounted unnamed Jaz medium For a generic "rmdisk" drive: /rmdisk/rmdisk0 symbolic link to mounted removable medium in local removable medium drive /rmdisk/rmdisk_name mounted named removable medium /rmdisk/rmdisk_name/partition mounted named removable medium with partitioned file system /rmdisk/unnamed_rmdisk mounted unnamed removable medium If the media is read-only (for example, a CD-ROM or a floppy with write-protect tab set), the file system is mounted read-only. If a file system is not identified, rmmount does not mount a file system. See the System Administration Guide: Basic Administration for more information on the location of CD-ROM, floppy, and other media without file systems. Also see volfs(7FS). If a file system type has been determined, it is then checked to see that it is "clean." If the file system is "dirty," fsck -p (see fsck(1M)) is run in an attempt to clean it. If fsck fails, the file system is mounted read-only. After the mount is complete, "actions" associated with the media type are executed. These actions allow for the notification to other pro- grams that new media are available. These actions are shared objects and are described in the configuration file, /etc/rmmount.conf. See rmmount.conf(4). Actions are executed in the order in which they appear in the configuration file. The action function can return either 1 or 0. If it returns 0, no further actions will be executed. This allows the function to control which applications are executed. In order to execute an action, rmmount performs a dlopen(3C) on the shared object and calls the action function defined within it. The def- inition of the interface to actions can be found in /usr/include/rmmount.h. File systems mounted by rmmount are always mounted with the nosuid flag set, thereby disabling setuid programs and access to block or char- acter devices in that file system. Upon ejection, rmmount unmounts mounted file systems and executes actions associated with the media type. If a file system is "busy" (that is, it contains the current working directory of a live process), the ejection will fail. OPTIONS
-D Turn on the debugging output from the rmmount dprintf calls. FILES
/etc/rmmount.conf removable media mounter configuration file /usr/lib/rmmount/*.so.1 shared objects used by rmmount. ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWvolu | +-----------------------------+-----------------------------+ SEE ALSO
volcancel(1), volcheck(1), volmissing(1), volrmmount(1), fsck(1M), vold(1M), dlopen(3C), rmmount.conf(4), vold.conf(4), attributes(5), volfs(7FS) System Administration Guide: Basic Administration SunOS 5.10 1 Mar 2004 rmmount(1M)
All times are GMT -4. The time now is 04:20 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy