- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- CifsClient: pslsocket: read error: [232] Connectio...
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-11-2005 08:05 AM
11-11-2005 08:05 AM
I'm new to an existing environment. On an HP-UX 11.00 cifs client A.01.06, upon examining /var/opt/cifsclient/debug, noticed an error reappearing every 25 minutes or so. Any idea what this is? Searching google and ITRC turned up little useful information.
see below...
11/11 14:33:00.53 [0] Server LM: Windows Server 2003 5.2
11/11 14:48:22.83 [1] pslsocket: read error: [232] Connection reset by peer
11/11 14:48:55.16 [1] pslsocket: read error: [232] Connection reset by peer
11/11 14:49:01.20 [0] Server OS: Windows NT 4.0
11/11 14:49:01.20 [0] Server LM: NT LAN Manager 4.0
11/11 14:49:01.21 [0] Server OS: Windows Server 2003 3790
11/11 14:49:01.21 [0] Server LM: Windows Server 2003 5.2
11/11 15:04:22.85 [1] pslsocket: read error: [232] Connection reset by peer
11/11 15:04:55.16 [1] pslsocket: read error: [232] Connection reset by peer
11/11 15:05:21.79 [0] Server OS: Windows NT 4.0
11/11 15:05:21.79 [0] Server LM: NT LAN Manager 4.0
11/11 15:05:21.80 [0] Server OS: Windows Server 2003 3790
11/11 15:05:21.80 [0] Server LM: Windows Server 2003 5.2
11/11 15:30:22.89 [1] pslsocket: read error: [232] Connection reset by peer
11/11 15:30:55.17 [1] pslsocket: read error: [232] Connection reset by peer
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-11-2005 08:35 AM
11-11-2005 08:35 AM
Re: CifsClient: pslsocket: read error: [232] Connection reset by peer
It seems that the Windows CIFS servers are rebooted.
The messages shows that HP-UX host which is acting as a CIFS client tried to contact those servers whenever cifslogin is used. There are socket errors meaning the connection has been reset by CIFS servers. Windows CIFS server breaks the socket connection if it is rebooted.
Refer the following document for details and workaround.
http://www1.itrc.hp.com/service/cki/search.do?category=c0&prevQueryString=read+error+232+Connection+reset+by+peer&searchLevel=newsearch&mode=text&searchString=read+error+232+Connection+reset+by+peer+cifs&searchCrit=allwords&docType=Security&docType=Patch&docType=EngineerNotes&docType=BugReports&docType=Hardware&docType=ReferenceMaterials&docType=ThirdParty&dateRange=all
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-11-2005 08:57 AM
11-11-2005 08:57 AM
Re: CifsClient: pslsocket: read error: [232] Connection reset by peer
Note: We're sorry but your search produced 0 results.
Is there a specific document instead of a search?
Thank you.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-11-2005 09:54 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-11-2005 06:02 PM
11-11-2005 06:02 PM
Re: CifsClient: pslsocket: read error: [232] Connection reset by peer
The "connection reset" messages do not occur only when the server is rebooted. I've just examined several CIFS Client logfiles and have found a consistent pattern of such messages occurring after about fifteen minutes of inactivity on the mountpoint. The servers in these cases were Win2000. They drop the TCP connection until activity is resumed. This is quite normal for a Windows server.
After a little experiment with a network trace tool, I observe this: When there is no activity from the client, the NetBIOS Session Service on the server sends TCP "keep-alive" packets to the client, at intervals of about 2min 11sec. The client replies positively to these packets (it sends "ACKs"). After seven of these exchanges (the aforementioned fifteen minute interval), the server's NBSS sends a TCP reset.
When CIFS Clients (including Windows and the HP CIFS Client) again attempt to access the server, they automatically re-establish both their drive mapping (or cifs mount) and logins. This is a standard feature, and, as is now plain to see, a necessary feature, due to the behavior of the server.
If you want to see the gory details, enable the "cifsTrace" and "nfsTrace" log levels, and examine your logs again, you will see that after one of those reset messages, when the first request on the montpoint occurs, the CIFS Client automatically re-establishes its connection with the server. The NFS log messages indicate what the original request is from the shell, and the CIFS log messages will show first a typical set of connection exchanges (negotiate, session setup, tree connect), followed by a CIFS exchange that satisfies the original request from the shell.
You might also use a network trace tool, like tethereal or tcpdump, to watch the keep-alives and the eventual reset.
HP CIFS Client logging consumes a lot of disk, and slows performance of the daemon, so after you have completed your investigation, please remember to disable the log levels.
I've attached the output from my experiment: a CIFS Client log and a tethereal trace. Note that I did not turn on the extra log levels in the CIFS Client.
-Eric
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-11-2005 06:21 PM
11-11-2005 06:21 PM
Re: CifsClient: pslsocket: read error: [232] Connection reset by peer
The attachment in the previous message was done with vi on HPUX. I may be hard to read if you're using a PC (Unix newlines). Here is (I hope) a cleaner version of the attachment, formatted as html.
-Eric
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-09-2007 03:07 PM
01-09-2007 03:07 PM
Re: CifsClient: pslsocket: read error: [232] Connection reset by peer
I haven't been able to capture the CIFS transactions yet with tcpdump or ethereal due to its intermittent nature. Any ideas what could be causing those errors in these cases?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-10-2007 07:10 AM
01-10-2007 07:10 AM
Re: CifsClient: pslsocket: read error: [232] Connection reset by peer
In my message above (timestamp Nov 12, 2005 07:02:43 GMT) I explained that this is a normal occurance, and should not be a problem. Are you saying simply that the "reset" message is disconcerting, or is there a real problem, like a read or write failure? If there is a real problem, we definitely want to hear about it.
Remember, the reset is initiated by the server--not the client--after some period of inactivity on the share.
Here are some suggestions:
1. Please upgrade to the latest CIFS Client. A.01.xx is no longer supported on HP-UX 11.23, and there have been many improvements since that version. If you decide to call support, they will probably ask you to upgrade before they spend a lot of time on the problem. Note that if you use the CIFS Client database feature, you should first read the Migration chapter in the Admin Guide, available at docs.hp.com.
2. To capture an intermittent problem on the network, use the "ring buffer" feature of "tethereal", the command-line interface to ethereal (and delivered with it). See the -a and -b options, to set the size and number of buffers, and -w to set the output file names. The only tricky part of this is to quickly terminate the capture when the desired event occurs. The method I usually use is to start tethereal in a shell script, get its PID, and then in a loop, sleep 1 second and then check a logfile for evidence that the event has occured. If it has, do "kill -s INT
3. Sometimes you can get read or write errors as the result of file contention: another process, either on the CIFS Client host or some other client (including Windows) may try to access the same file on the server at the same time. This can cause the original CIFS Client process to stop accessing the file.
-Eric Raeburn