- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - OpenVMS
- >
- Re: Elasticsearch (lucene): java.net.SocketExcepti...
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
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
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
05-01-2013 02:15 AM
05-01-2013 02:15 AM
Re: Elasticsearch (lucene): java.net.SocketException: permission denied (errno:13)
Test results on our development system:
VAV:BG> java "SetReceiveBufferSize" RCVBUF option for this ServerSocket is: 61440 Exception in thread "main" java.net.SocketException: permission denied (errno:13) at java.net.PlainSocketImpl.socketSetOption(Native Method) at java.net.PlainSocketImpl.setOption(PlainSocketImpl.java:282) at java.net.ServerSocket.setReceiveBufferSize(ServerSocket.java:753) at SetReceiveBufferSize.main(SetReceiveBufferSize.java:6) VAV:BG> set proc/priv=oper VAV:BG> java "SetReceiveBufferSize" RCVBUF option for this ServerSocket is: 61440 RCVBUF option for this ServerSocket is: 234 VAV:BG> java -version java version "1.6.0" Java(TM) SE Runtime Environment "1.6.0-4" Java HotSpot(TM) 64-Bit Server VM (build 20.6-b01, mixed mode) VAV:BG> tcpip show version HP TCP/IP Services for OpenVMS Industry Standard 64 Version V5.7 - ECO 4 on an HP rx2600 (1.50GHz/6.0MB) running OpenVMS V8.4
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-01-2013 08:31 AM - edited 05-01-2013 10:49 AM
05-01-2013 08:31 AM - edited 05-01-2013 10:49 AM
Re: Elasticsearch (lucene): java.net.SocketException: permission denied (errno:13)
Thanks for that test case, btw. I will use it in a bug we will file on Java >= 6.0-3. I tried it on 6.0-2.p1 and that version does not have the problem. From my reading of the Java doc at Oracle, the request to change the buffer size doesn't need to be honored and should not throw an error. That will be at the heart of my argument this is a bug.
For the sake of completness of this thread, here's the output from 6.0-2.p1, first without privs:
$ java "SetReceiveBufferSize" RCVBUF option for this ServerSocket is: 61440 RCVBUF option for this ServerSocket is: 61440
Then with SET PROC/PRIV=OPER (as before with 6.0-4):
$ java "SetReceiveBufferSize" RCVBUF option for this ServerSocket is: 61440 RCVBUF option for this ServerSocket is: 234
We've filed the bug and have been assigned a case #. Will report back later when there's something to report.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-01-2013 01:34 PM
05-01-2013 01:34 PM
Re: Elasticsearch (lucene): java.net.SocketException: permission denied (errno:13)
>>> On which version of Java did you run that test?
- « Previous
-
- 1
- 2
- Next »