[Wed Oct 26 10:41:29.282775 2016] [dav:error] [pid 11405] [client 145.117.144.70:59273] Unable to deliver content. [500, #0]
[Wed Oct 26 10:41:29.282820 2016] [dav:error] [pid 11405] (32)Broken pipe: [client 145.117.144.70:59273] Could not write contents to filter. [500, #0]
ERROR: [-] iRODS/lib/core/src/procApiRequest.cpp:266:readAndProcApiReply : status [SYS_HEADER_READ_LEN_ERR] errno [] -- message []
[-] iRODS/lib/core/src/sockComm.cpp:199:readMsgHeader : status [SYS_HEADER_READ_LEN_ERR] errno [] -- message [failed to call 'read header']
[-] libssl.cpp:577:ssl_read_msg_header : status [SYS_HEADER_READ_LEN_ERR] errno [] -- message [read 0 expected 4]
[Wed Oct 26 10:41:36.192629 2016] [davrods:error] [pid 11389] [client 145.117.144.70:59275] rcDataObjClose failed: -4000 = SYS_HEADER_READ_LEN_ERR
[Wed Oct 26 10:41:36.192643 2016] [dav:error] [pid 11389] [client 145.117.144.70:59275] Could not close the uploaded resource [500, #0]
ERROR: [-] iRODS/lib/core/src/rcConnect.cpp:269:rcDisconnect : status [SYS_HEADER_WRITE_LEN_ERR] errno [Broken pipe] -- message []
[-] iRODS/lib/core/src/sockComm.cpp:1394:sendRodsMsg : status [SYS_HEADER_WRITE_LEN_ERR] errno [Broken pipe] -- message [failed to call 'write body']
[-] libssl.cpp:1058:ssl_send_rods_msg : status [SYS_HEADER_WRITE_LEN_ERR] errno [Broken pipe] -- message [Write message header failed.]
[-] iRODS/lib/core/src/sockComm.cpp:473:writeMsgHeader : status [SYS_HEADER_WRITE_LEN_ERR] errno [Broken pipe] -- message []
[-] libssl.cpp:1001:ssl_write_msg_header : status [SYS_HEADER_WRITE_LEN_ERR] errno [Broken pipe] -- message [Wrote -1 expected 140.]
ERROR: [-] iRODS/lib/core/src/rcConnect.cpp:281:rcDisconnect : status [SSL_SHUTDOWN_ERROR] errno [] -- message []
[-] iRODS/lib/core/src/sockComm.cpp:100:sockClientStop : status [SSL_SHUTDOWN_ERROR] errno [] -- message [failed to call 'client stop']
[-] libssl.cpp:648:ssl_client_stop : status [SSL_SHUTDOWN_ERROR] errno [] -- message [error shutting down the SSL connection]
# tail /var/lib/irods/iRODS/server/log/rodsLog.2016.10.26
Authenticated
Oct 26 10:40:30 pid:11611 NOTICE: writeLine: inString = Hello world! A image file was uploaded [/var/lib/irods/iRODS/Vault/home/felipe/nave.jpg].
terminate called after throwing an instance of 'Magick::ErrorCorruptImage'
what(): irodsAgent: Empty input file `/var/lib/irods/iRODS/Vault/home/felipe/nave.jpg' @ error/jpeg.c/JPEGErrorHandler/316
Oct 26 10:40:30 pid:11315 NOTICE: Agent process 11611 exited with status 6
# cat /etc/irods/training_acPostProcForPut.re
acPostProcForPut {
if ($filePath like "*.jpg" || $filePath like "*.jpeg" || $filePath like "*.bmp" || $filePath like "*.tif" || $filePath like "*.tiff" || $filePath like "*.rif" || $filePath like "*.gif" || $filePath like "*.png" || $filePath like "*.svg" || $filePath like "*.xpm") {
writeLine("serverLog", "Hello world! A image file was uploaded [$filePath].");
msiget_image_meta($filePath, *meta);
writeLine("serverLog", "image file 1111");
msiString2KeyValPair(*meta, *meta_kvp);
writeLine("serverLog", "image file 2222");
msiAssociateKeyValuePairsToObj(*meta_kvp, $objPath, "-d");
writeLine("serverLog", "image file 3333");
} # if
} # acPostProcForPut
--
--
"iRODS: the Integrated Rule-Oriented Data-management System; A community driven, open source, data grid software solution" https://www.irods.org
iROD-Chat: http://groups.google.com/group/iROD-Chat
---
You received this message because you are subscribed to the Google Groups "iRODS-Chat" group.
To unsubscribe from this group and stop receiving emails from it, send an email to irod-chat+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.