{"id":1566,"date":"2017-12-04T12:21:02","date_gmt":"2017-12-04T12:21:02","guid":{"rendered":"http:\/\/www.scmgalaxy.com\/tutorials\/?p=1566"},"modified":"2025-02-01T22:39:40","modified_gmt":"2025-02-01T22:39:40","slug":"some-common-perforce-error","status":"publish","type":"post","link":"https:\/\/www.devopsschool.com\/blog\/some-common-perforce-error\/","title":{"rendered":"Some Common Perforce Error"},"content":{"rendered":"<p><strong>rajeshkumar created the topic: Some Common Perforce Error<\/strong><br \/>\nProblem:<\/p>\n<p>Perforce client error:<br \/>\nTCP send failed.<br \/>\nwrite: socket: Connection reset by peer<\/p>\n<p>Solutions:<br \/>\nThese issues occur only when perforce client and perforce server is not able to receive or sent data packets to each other. This can be due to various reason.<br \/>\nCheck following&#8230;<\/p>\n<p>1. Fix this file ownership problem of the repository. It should be same user by which p4d services has been re-started.<br \/>\n2. Please check network issues.<\/p>\n<p>Problem<\/p>\n<p>Perforce client error:<br \/>\nRpcTransport: partial message read<br \/>\nTCP receive failed.<br \/>\nread: socket: Connection reset by peer&#8221;<\/p>\n<p>Solutions:<br \/>\nConnection reset be peer&#8221; generally suggests a network issue. this could be due to either misconfigured or faulty network hardware. OR An existing connection was forcibly closed by the remote host. This normally results if the peer application on the remote host is suddenly stopped, the host is rebooted, the host or remote network interface is disabled, or the remote host uses a hard close (see setsockopt for more information on the SO_LINGER option on the remote socket).<\/p>\n<p>More Info can be found in<br \/>\n<a href=\"http:\/\/kb.perforce.com\/article\/410\/wsaeconnreset-error-description\" target=\"_blank\" rel=\"noopener\">kb.perforce.com\/article\/410\/wsaeconnreset-error-description <\/a><\/p>\n<p>Perforce client error:<\/p>\n<p>TO BE WRITTEN<\/p>\n<p>RpcTransport: partial message read<\/p>\n<p>TO BE WRITTEN<\/p>\n<p>TCP receive failed.<\/p>\n<p>The TCP errors indicate that of something being killed on the server( may be some triggers\/ network issues \/ process \/ jobs \/ services and hence the connection to your client drops.<\/p>\n<p>read: socket: WSAECONNABORTED<\/p>\n<p>TO BE WRITTEN<\/p>\n<p>error: read: socket: Connection reset by peer<\/p>\n<p>TO BE WRITTEN<\/p>\n<p>Perforce command exited abnormally with error code 1!<\/p>\n<p>TO BE WRITTEN<\/p>\n<p>Partner exited unexpectedly.<\/p>\n<p>TO BE WRITTEN<\/p>\n<p>WSAECONNABORTED or WSAECONNREFUSED or WSAETIMEDOUT Error<\/p>\n<p>This kind of error occur on Windows systems due to some network issues. to bebug more, please refer following url..<br \/>\n<a href=\"http:\/\/kb.perforce.com\/article\/905\/common-windo...erver-network-errors\" target=\"_blank\" rel=\"noopener\">kb.perforce.com\/article\/905\/common-windo&#8230;erver-network-errors <\/a><br \/>\n<a href=\"http:\/\/www.scmgalaxy.com\/perforce\/perforce-netw...eshooting-hints.html\" target=\"_blank\" rel=\"noopener\">www.scmgalaxy.com\/perforce\/perforce-netw&#8230;eshooting-hints.html <\/a><br \/>\n<a href=\"http:\/\/kb.perforce.com\/article\/410\/wsaeconnreset-error-description\" target=\"_blank\" rel=\"noopener\">kb.perforce.com\/article\/410\/wsaeconnreset-error-description <\/a><\/p>\n<p>Unicode server permits only unicode enabled clients.<\/p>\n<p>TO BE WRITTEN<\/p>\n<p>Problem<br \/>\nRpcTransport: partial message read<br \/>\nTCP receive failed.<br \/>\nread: socket: WSAECONNABORTED<br \/>\nPerforce::executePerforceCommand &#8211; Perforce command exited abnormally with error code 1!<br \/>\nerror: RpcTransport: partial message read<\/p>\n<p>Solution<br \/>\n1. Check if you have DOt extention files. Windows does not support \u201cDOT\u201d extension files so it could be releated to this.<br \/>\n2. Network drop out for few second may also cause issues.<\/p>\n<p>Problem:<br \/>\nAn issue with older Perforce Windows clients with an artificially low send window size would appear as:<br \/>\nrpc send receive errors, duplexing F\/R 1249\/0 in perforce.log<\/p>\n<p>Solution: Clients need to be upgdraded<\/p>\n<p>Problem: protected namespace &#8211; access denied<\/p>\n<p>This means user is not assigned with access to the perforce or specific depot path<\/p>\n<p>Error &#8211;<br \/>\nLarge files integration using p4v somtime givs following error.<br \/>\nError in change specification.<br \/>\nCan&#8217;t include file(s) not already opened.<br \/>\nOpen new files with p4 add, p4 edit, etc.<\/p>\n<p>Solution:<br \/>\nPost integration, you just fetch the changelist number and run over the command line.<br \/>\np4 submit -c #changelost<\/p>\n<p>or<\/p>\n<p>try integrating using new clientspec<\/p>\n<p>Error &#8211;<br \/>\nRpcTransport: partial message read<br \/>\nTCP receive exceeded maximum configured duration of 300 seconds.\\<\/p>\n<p>Solution:<br \/>\nRegards,<br \/>\nRajesh Kumar<br \/>\nTwitt me @ <a href=\"http:\/\/twitter.com\/RajeshKumarIn\" target=\"_blank\" rel=\"noopener\">twitter.com\/RajeshKumarIn<\/a><\/p>\n<p><strong>rajeshkumar replied the topic: Some Common Perforce Error<\/strong><br \/>\nJournal record replay failed!<br \/>\nperforce@perforce:~\/1\/logs$ more checkpoint.log<br \/>\nFri Jul 4 03:00:02 PDT 2014 : Start p4_1 Checkpoint<br \/>\nFri Jul 4 03:00:02 PDT 2014 : Truncating journal&#8230;<br \/>\nRotating \/p4\/1\/logs\/journal to \/p4\/1\/checkpoints\/p4_1.jnl.5453&#8230;<\/p>\n<p>real 0m0.180s<br \/>\nuser 0m0.000s<br \/>\nsys 0m0.020s<br \/>\nFri Jul 4 03:00:03 PDT 2014 : Replay journal to offline db.<br \/>\nRecovering from \/p4\/1\/checkpoints\/p4_1.jnl.5453&#8230;<br \/>\nFri Jul 4 04:17:09 PDT 2014 : Recreate offline db files for quick recovery process.<br \/>\nPerforce db files in &#8216;\/p4\/1\/offline_db&#8217; will be created if missing&#8230;<br \/>\nRecovering from \/p4\/1\/checkpoints\/p4_1.ckp.5453.gz&#8230;<br \/>\nPerforce server error:<br \/>\nJournal file &#8216;\/p4\/1\/checkpoints\/p4_1.jnl.5453&#8217; replay failed at line 216307!<br \/>\nJournal record replay failed!<br \/>\nIn table db.desc, the following row was not present or could not be deleted. It may be possible to use the<br \/>\n&#8216;-f&#8217; flag to proceed beyond this point. Row data: &#8220;1253455 @@ &#8221;<\/p>\n<p>real 77m30.886s<br \/>\nuser 0m0.828s<br \/>\nsys 0m19.789s<br \/>\nFri Jul 4 04:17:33 PDT 2014 : Journal replay failed. Abort!<\/p>\n<p>Answer<br \/>\nYou&#8217;re getting this error because Perforce is trying to replay a @dv@ line (a database record to delete) when the expected database record is not present in the current state of the database that has been replayed so far.<\/p>\n<p>Usually this is not necessary an issue as the end result is for this record not to be present in your database and as mentioned in the error, you can replay the journal using the -f flag (e,g, p4d -r offline_P4ROOT -jr -f \/p4\/1\/checkpoints\/p4_1.jnl.5453).<\/p>\n<p>Although this error is not serious, it is not expected and I would like to check the integrity of your database from a logical database point of view. Could you run the following command:<\/p>\n<p>p4d -r offline_P4ROOT -xx<\/p>\n<p>Send the command output and the jnl.fix it will produce. Also send me line 216307 (a db.desc record) of \/p4\/1\/checkpoints\/p4_1.jnl.5453 for review.<br \/>\nRegards,<br \/>\nRajesh Kumar<br \/>\nTwitt me @ <a href=\"http:\/\/twitter.com\/RajeshKumarIn\" target=\"_blank\" rel=\"noopener\">twitter.com\/RajeshKumarIn<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>rajeshkumar created the topic: Some Common Perforce Error Problem: Perforce client error: TCP send failed. write: socket: Connection reset by peer Solutions: These issues occur only when perforce client and&#8230; <\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_joinchat":[],"footnotes":""},"categories":[370],"tags":[373],"class_list":["post-1566","post","type-post","status-publish","format-standard","hentry","category-perforce","tag-perforce"],"_links":{"self":[{"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/posts\/1566","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/comments?post=1566"}],"version-history":[{"count":1,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/posts\/1566\/revisions"}],"predecessor-version":[{"id":1567,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/posts\/1566\/revisions\/1567"}],"wp:attachment":[{"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/media?parent=1566"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/categories?post=1566"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/tags?post=1566"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}