85 - Zyre does not start on Solaris

Reported by Fazal MajidFazal Majid (1269307758|%O ago)

When I start Zyre on OpenSolaris 2009.06 (compiled with GCC), I get the following:

tsurumah ~>zyre --port 8081 --log_path /home/majid/sop
Zyre/1.4c0 -- for bugs and updates, go to www.zyre.com
Production release

Copyright (c) 2007-2009 iMatix Corporation
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

2010-03-22 17:27:00: I: loading X5 web server engine (multi-core scalable)
2010-03-22 17:27:00: I: allocating 4 poll threads, 4 worker threads
2010-03-22 17:27:00: I: server host name is tsurumah (127.0.0.1)
2010-03-22 17:27:00: I: listening on port 8081, all network interfaces
2010-03-22 17:27:00: I: basic auth file 'passwd' not found
2010-03-22 17:27:00: I: digest auth file 'digest' not found
2010-03-22 17:27:01: I: loading web server plugin modules...
2010-03-22 17:27:01: I: Zyre RestMS driver loaded at '/restms'
2010-03-22 17:27:01: I: X5 null driver loaded at '/null'
2010-03-22 17:27:01: I: - peering with AMQP server at 'localhost:5672'
2010-03-22 17:27:01: I: X5 file driver loaded at '/', root is 'webpages'
2010-03-22 17:27:01: E:  - directory 'webpages' does not exist or is unreadable
2010-03-22 17:27:01: I: X5 DoS detection module loaded
2010-03-22 17:27:01: I: X5 access policy module loaded
2010-03-22 17:27:01: I: X5 access logging module loaded
2010-03-22 17:27:01: I: Zyre Digest-AMQP access module loaded
2010-03-22 17:27:01: I: Digest-AMQP now peered to OpenAMQ server on localhost:5672
2010-03-22 17:27:01: I: RestMS handler now peered to OpenAMQ server on localhost:5672
2010-03-22 17:27:01: I: CoreMark performance ~447000 events/second
2010-03-22 17:27:01: I: ready for incoming HTTP requests
2010-03-22 17:27:03: (smt_socket_request.c 371) Could not find specified socket in poll list.
Abort

On Solaris, APR uses the Event port API for polling. The version of foreign/apr/apr/poll/unix/port.c that ships with OpenAMQ 1.4c0 (SVN revision 672345) has a number of issues due to incorrect use of the API, as reported in APR bug 43000.

Since the current version of APR is 1.3.9 and that includes a number of security fixes, I believe upgrading the bundled APR in OpenAMQ is overdue.

Attachments:

No files attached to this page.

Comments

Add a New Comment

Edit | Files | Tags | Print

rating: 0+x

Who's following this issue?

pieterhpieterh
martin_sustrikmartin_sustrik
CybariteCybarite
Watch: site | category | page

Submitted by Fazal MajidFazal Majid

Use one of these tags to say what kind of issue it is:

  • issue - a fault in the software or the packaging or the documentation.
  • change - a change or feature request.

Use one of these tags to say what state the issue is in:

  • open - a new, open issue.
  • closed - issue has been closed.
  • rejected - the issue has been rejected.

Use one of these tags to say how urgent the issue is:

  • fatal - the issue is stopping all work.
  • urgent - it's urgent.

All open

Most recent

Page tags: open