Re: [oi-dev] Apache2 in hipster broken?

2013-11-14 Thread Jonathan Adams
Haven't updated my hipster for couple of weeks, but the stock apache22
seems to work for me:

jadams@jadlaptop:/etc/apache2/2.2$ uname -a
SunOS jadlaptop 5.11 illumos-ad17c01 i86pc i386 i86pc

jadams@jadlaptop:/etc/apache2/2.2$ beadm list
BE  Active Mountpoint Space Policy Created
illumos-13  -  -  24.2M static 2013-02-08 11:33
illumos-14  -  -  41.4M static 2013-09-18 11:40
oihipster-4 -  -  35.7M static 2013-10-11 18:32
oihipster-5 NR /  28.6G static 2013-10-31 09:13

Since I'm not actively using the apache on my machine I shall do an update
and see if it breaks.

Jon


On 14 November 2013 21:42, Gary Gendel  wrote:

> Looks like apache in hipster has run into this bug:
>
> https://issues.apache.org/bugzilla/show_bug.cgi?id=54993
>
> In my case, it looks like apache doesn't even respond to requests. The
> logs have a stream of:
>
> (81)File descriptor in bad state: apr_pollset_poll failed. Attempting to
> shutdown process gracefully
>
> Messages.
>
>
> ___
> oi-dev mailing list
> oi-dev@openindiana.org
> http://openindiana.org/mailman/listinfo/oi-dev
>
___
oi-dev mailing list
oi-dev@openindiana.org
http://openindiana.org/mailman/listinfo/oi-dev

Re: [oi-dev] Apache2 in hipster broken?

2013-11-14 Thread Alexander Pyhalov

Hello.

On 11/15/2013 01:42, Gary Gendel wrote:

Looks like apache in hipster has run into this bug:

https://issues.apache.org/bugzilla/show_bug.cgi?id=54993

In my case, it looks like apache doesn't even respond to requests. The
logs have a stream of:

(81)File descriptor in bad state: apr_pollset_poll failed. Attempting to
shutdown process gracefully



Do you have any special configuration options (e.g. some modules) or 
does it happen with default config? What are the steps to reproduce this 
error?

--
Best regards,
Alexander Pyhalov,
system administrator of Computer Center of Southern Federal University

___
oi-dev mailing list
oi-dev@openindiana.org
http://openindiana.org/mailman/listinfo/oi-dev


Re: [oi-dev] Apache2 in hipster broken?

2013-11-15 Thread Jonathan Adams
I updated last night, sorry too late to post a reply.

My apache22 is still working, but only has the default config.


On 15 November 2013 06:18, Alexander Pyhalov  wrote:

> Hello.
>
>
> On 11/15/2013 01:42, Gary Gendel wrote:
>
>> Looks like apache in hipster has run into this bug:
>>
>> https://issues.apache.org/bugzilla/show_bug.cgi?id=54993
>>
>> In my case, it looks like apache doesn't even respond to requests. The
>> logs have a stream of:
>>
>> (81)File descriptor in bad state: apr_pollset_poll failed. Attempting to
>> shutdown process gracefully
>>
>>
> Do you have any special configuration options (e.g. some modules) or does
> it happen with default config? What are the steps to reproduce this error?
> --
> Best regards,
> Alexander Pyhalov,
> system administrator of Computer Center of Southern Federal University
>
>
> ___
> oi-dev mailing list
> oi-dev@openindiana.org
> http://openindiana.org/mailman/listinfo/oi-dev
>
___
oi-dev mailing list
oi-dev@openindiana.org
http://openindiana.org/mailman/listinfo/oi-dev

Re: [oi-dev] Apache2 in hipster broken?

2013-11-15 Thread Gary Gendel

Alexander,

I don't think I have anything particularly special.  I've included what 
I thought might be helpful. I stripped the comments out of the conf 
files.  This information come from the working BE.  If you need 
something else just ask.


Gary

$ ls -l conf.d
---
-rw-r--r-- 1 root bin   158 Oct 18  2009 dtrace.conf
-rw-r--r-- 1 root bin   414 Feb  5  2010 fcgid.conf
-rw-r--r-- 1 root bin   825 Jul  8  2011 jk.conf
-rw-r--r-- 1 root bin  3951 Aug  4 08:20 modules-32.load
-rw-r--r-- 1 root bin  4152 Aug  4 08:20 modules-64.load
-rw-r--r-- 1 root bin   333 Aug 22 11:26 perl.conf
-r--r--r-- 1 root bin   606 Aug 22 11:26 php54.conf
-rw-r--r-- 1 root bin 10801 Apr 19  2011 ssl.conf
-rw-r--r-- 1 root bin   173 Jul  8  2011 workers.properties

httpd.conf:
--
ServerRoot "/usr/apache2/2.2"
Listen 10.10.0.1:80

Include /etc/apache2/2.2/conf.d/modules-64.load


Include /etc/apache2/2.2/conf.d/modules-32.load


User webservd
Group webservd

ServerAdmin webmas...@genashor.com
ServerName www.genashor.com
DocumentRoot "/usr/local/apache2/htdocs"

Options FollowSymLinks
AllowOverride None
Order deny,allow
Deny from all


Options Indexes FollowSymLinks
AllowOverride FileInfo Options Indexes

UserDir public_html

# We want this to be secure in order to prevent snooping 
proprietary info

RewriteEngine ON
RewriteCond %{HTTPS} !on
RewriteRule ^.* https://www.genashor.com/wiki/doku.php

Directory /home/*/public_html>
AllowOverride FileInfo AuthConfig Limit
Options Indexes FollowSymLinks IncludesNoExec
Options MultiViews Indexes SymLinksIfOwnerMatch IncludesNoExec

Order allow,deny
Allow from all


Order deny,allow
Deny from all



AllowOverride FileInfo AuthConfig Limit
Options Indexes MultiViews IncludesNoExec
IndexOptions FancyIndexing
Order allow,deny
Allow from all


Options -Indexes +FollowSymLinks
php_value register_globals off
php_value magic_quotes_gpc off
php_value magic_quotes_runtime off
php_value short_open_tag on
php_value allow_call_time_pass_reference on


DirectoryIndex Welcome.html index.html index.html.var index.php 
index.cgi



Order allow,deny
Deny from all
Satisfy All

ErrorLog "|/usr/bin/logger -p local3.warn -t apache"
LogLevel warn

LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" 
\"%{User-Agent}i\"" combined

LogFormat "%h %l %u %t \"%r\" %>s %b" common
LogFormat "%h %>s %b \"%r\" \"%{User-Agent}i\"" syslog

  LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" 
\"%{User-Agent}i\" %I %O" combinedio


CustomLog "|/usr/bin/logger -p local3.info -t apache" syslog


Alias /icons/ "/usr/local/apache2/icons/"
Alias /mail "/usr/local/apache2/htdocs/roundcubemail"
Alias /email "/usr/local/apache2/htdocs/squirrelmail"
Alias /lists "/usr/local/apache2/cgi-bin/ezmlm-browse"
Alias /sara "/home/sara/public_html/Portfolio"
Alias /Video "/archive/gary/Video"

Options Indexes MultiViews
AllowOverride None
Order allow,deny
Allow from all

ScriptAlias /cgi-bin/ "/var/apache2/2.2/cgi-bin/"

AllowOverride None
Options None
Order allow,deny
Allow from all

DefaultType text/plain

TypesConfig /etc/apache2/2.2/mime.types
AddType application/x-compress .Z
AddType application/x-gzip .gz .tgz

Include /etc/apache2/2.2/conf.d/*.conf

SSLRandomSeed startup builtin
SSLRandomSeed connect builtin


ListenBacklog 8192
ServerLimit 2048
MaxClients 2048

ServerTokens ProductOnly
ServerSignature Off

ssl.conf:
--
SSLRandomSeed startup file:/dev/urandom 512
SSLRandomSeed connect file:/dev/urandom 512
SSLCryptoDevice pkcs11
Listen 443
AddType application/x-x509-ca-cert .crt
AddType application/x-pkcs7-crl.crl
SSLPassPhraseDialog  builtin
SSLSessionCache "shmcb:/var/run/apache2/2.2/ssl_scache(512000)"
SSLSessionCacheTimeout  300
SSLMutex  "file:/var/run/apache2/2.2/ssl_mutex"

DocumentRoot "/usr/local/apache2/htdocs"
ServerName www.genashor.com:443
ServerAdmin webmas...@genashor.com
ErrorLog "|/usr/bin/logger -p local4.warn -t apachessl"
TransferLog "|/usr/bin/logger -p local4.info -t apachessl"
SSLEngine on
SSLCipherSuite 
ALL:!ADH:!EXPORT56:-AES256-SHA:-DHE-RSA-AES256-SHA:-DHE-DSS-AES256-SHA:RC4+RSA:+HIGH:+MEDIUM:+LOW:+SSLv2:+EXP:+eNULL

SSLCertificateFile /etc/apache2/ssl.crt/server.crt
SSLCertificateKeyFile /etc/apache2/ssl.key/server.key

SSLOptions +StdEnvVars


SSLOptions +StdEnvVars

BrowserMatch ".*MSIE.*" \
 nokeepalive ssl-unclean-shutdown \
 downgrade-1.0 force-response-1.0
CustomLog "/var/apache2/2.2/logs/ssl_request_log" \
  "%t %h %{SSL_PROTOCOL}x %{SSL_CIPHER}x \"%r\" %b"


On 11/15/2013 01:18 AM, Alexander Pyhalov wrote:

Hello.

On 11/15/2013 01:42, Gary Gendel wrote:

Looks like apache in hipster has run into this bug:

https://issues.apache.org/bugzilla/show

Re: [oi-dev] Apache2 in hipster broken?

2013-11-15 Thread Alexander Pyhalov

On 11/15/2013 16:01, Gary Gendel wrote:

Alexander,

I don't think I have anything particularly special.  I've included what
I thought might be helpful. I stripped the comments out of the conf
files.  This information come from the working BE.  If you need
something else just ask.



I'm just a bit surprised to see error messages from mpm_event. It 
shouldn't be available in default install.


$ /usr/apache2/2.2/bin/httpd -V
Server version: Apache/2.2.25 (Unix)
Server built:   Aug 25 2013 08:54:59
Server's Module Magic Number: 20051115:33
Server loaded:  APR 1.4.8, APR-Util 1.5.2
Compiled using: APR 1.4.8, APR-Util 1.5.2
Architecture:   32-bit
Server MPM: Prefork
  threaded: no
forked: yes (variable process count)
Server compiled with
 -D APACHE_MPM_DIR="server/mpm/prefork"

$ /usr/apache2/2.2/bin/httpd.worker -V
Server version: Apache/2.2.25 (Unix)
Server built:   Aug 25 2013 08:45:40
Server's Module Magic Number: 20051115:33
Server loaded:  APR 1.4.8, APR-Util 1.5.2
Compiled using: APR 1.4.8, APR-Util 1.5.2
Architecture:   32-bit
Server MPM: Worker
  threaded: yes (fixed thread count)
forked: yes (variable process count)
Server compiled with
 -D APACHE_MPM_DIR="server/mpm/worker"

(the same for 64-bit versions)
--
Best regards,
Alexander Pyhalov,
system administrator of Computer Center of Southern Federal University

___
oi-dev mailing list
oi-dev@openindiana.org
http://openindiana.org/mailman/listinfo/oi-dev


Re: [oi-dev] Apache2 in hipster broken?

2013-11-15 Thread Alexander Pyhalov

On 11/15/2013 16:19, Alexander Pyhalov wrote:

On 11/15/2013 16:01, Gary Gendel wrote:

Alexander,

I don't think I have anything particularly special.  I've included what
I thought might be helpful. I stripped the comments out of the conf
files.  This information come from the working BE.  If you need
something else just ask.



I'm just a bit surprised to see error messages from mpm_event. It
shouldn't be available in default install.

$ /usr/apache2/2.2/bin/httpd -V
Server version: Apache/2.2.25 (Unix)
Server built:   Aug 25 2013 08:54:59
Server's Module Magic Number: 20051115:33
Server loaded:  APR 1.4.8, APR-Util 1.5.2
Compiled using: APR 1.4.8, APR-Util 1.5.2
Architecture:   32-bit
Server MPM: Prefork
   threaded: no
 forked: yes (variable process count)
Server compiled with
  -D APACHE_MPM_DIR="server/mpm/prefork"

$ /usr/apache2/2.2/bin/httpd.worker -V
Server version: Apache/2.2.25 (Unix)
Server built:   Aug 25 2013 08:45:40
Server's Module Magic Number: 20051115:33
Server loaded:  APR 1.4.8, APR-Util 1.5.2
Compiled using: APR 1.4.8, APR-Util 1.5.2
Architecture:   32-bit
Server MPM: Worker
   threaded: yes (fixed thread count)
 forked: yes (variable process count)
Server compiled with
  -D APACHE_MPM_DIR="server/mpm/worker"

(the same for 64-bit versions)


Just to make sure... Please, send
$ pkg list "*apache*"

$ ps -ef |grep httpd

$ /usr/apache2/2.2/bin/amd64/httpd -V

$ /usr/apache2/2.2/bin/httpd -V

--
Best regards,
Alexander Pyhalov,
system administrator of Computer Center of Southern Federal University

___
oi-dev mailing list
oi-dev@openindiana.org
http://openindiana.org/mailman/listinfo/oi-dev


Re: [oi-dev] Apache2 in hipster broken?

2013-11-15 Thread Gary Gendel

Alexander,

Results inline.

On 11/15/2013 07:28 AM, Alexander Pyhalov wrote:

On 11/15/2013 16:19, Alexander Pyhalov wrote:

On 11/15/2013 16:01, Gary Gendel wrote:

Alexander,

I don't think I have anything particularly special.  I've included what
I thought might be helpful. I stripped the comments out of the conf
files.  This information come from the working BE.  If you need
something else just ask.



I'm just a bit surprised to see error messages from mpm_event. It
shouldn't be available in default install.

$ /usr/apache2/2.2/bin/httpd -V
Server version: Apache/2.2.25 (Unix)
Server built:   Aug 25 2013 08:54:59
Server's Module Magic Number: 20051115:33
Server loaded:  APR 1.4.8, APR-Util 1.5.2
Compiled using: APR 1.4.8, APR-Util 1.5.2
Architecture:   32-bit
Server MPM: Prefork
   threaded: no
 forked: yes (variable process count)
Server compiled with
  -D APACHE_MPM_DIR="server/mpm/prefork"

$ /usr/apache2/2.2/bin/httpd.worker -V
Server version: Apache/2.2.25 (Unix)
Server built:   Aug 25 2013 08:45:40
Server's Module Magic Number: 20051115:33
Server loaded:  APR 1.4.8, APR-Util 1.5.2
Compiled using: APR 1.4.8, APR-Util 1.5.2
Architecture:   32-bit
Server MPM: Worker
   threaded: yes (fixed thread count)
 forked: yes (variable process count)
Server compiled with
  -D APACHE_MPM_DIR="server/mpm/worker"

(the same for 64-bit versions)


Just to make sure... Please, send
$ pkg list "*apache*"

NAME (PUBLISHER) VERSIONIFO
web/server/apache-22 2.2.25-0.151.1.8.1 i--
web/server/apache-22/module/apache-dtrace 0.3.1-0.151.1.8.1  i--
web/server/apache-22/module/apache-fcgid 2.3.6-0.151.1.8.1  i--
web/server/apache-22/module/apache-jk 1.2.28-0.151.1.8.1 i--
web/server/apache-22/module/apache-perl 2.0.7-0.151.1.8.1  i--
web/server/apache-22/module/apache-php54 5.4.20-0.151.1.8.1 i--
web/server/apache-22/module/apache-security 2.7.4-0.151.1.8.1  i--



$ ps -ef |grep httpd
webservd  2074  2069   0 16:29:25 ?   0:01 
/usr/apache2/2.2/bin/httpd -k start
webservd  2092  2069   0 16:29:30 ?   0:04 
/usr/apache2/2.2/bin/httpd -k start
root  2069 1   0 16:29:24 ?   0:02 
/usr/apache2/2.2/bin/httpd -k start
webservd 10122  2069   0 01:10:03 ?   0:01 
/usr/apache2/2.2/bin/httpd -k start
webservd  2095  2069   0 16:29:30 ?   0:04 
/usr/apache2/2.2/bin/httpd -k start
webservd  2094  2069   0 16:29:30 ?   0:03 
/usr/apache2/2.2/bin/httpd -k start
webservd  2097  2069   0 16:29:30 ?   0:04 
/usr/apache2/2.2/bin/httpd -k start
webservd  2365  2069   0 16:30:06 ?   0:03 
/usr/apache2/2.2/bin/httpd -k start
webservd 10121  2069   0 01:10:03 ?   0:01 
/usr/apache2/2.2/bin/httpd -k start
webservd 10120  2069   0 01:10:02 ?   0:01 
/usr/apache2/2.2/bin/httpd -k start
webservd 10117  2069   0 01:10:00 ?   0:02 
/usr/apache2/2.2/bin/httpd -k start
webservd 10164  2069   0 01:25:47 ?   0:01 
/usr/apache2/2.2/bin/httpd -k sta


$ /usr/apache2/2.2/bin/amd64/httpd -V

Server version: Apache/2.2.25 (Unix)
Server built:   Aug 25 2013 09:14:22
Server's Module Magic Number: 20051115:33
Server loaded:  APR 1.4.8, APR-Util 1.5.2
Compiled using: APR 1.4.8, APR-Util 1.5.2
Architecture:   64-bit
Server MPM: Prefork
  threaded: no
forked: yes (variable process count)
Server compiled with
 -D APACHE_MPM_DIR="server/mpm/prefork"
 -D APR_HAS_MMAP
 -D APR_HAVE_IPV6 (IPv4-mapped addresses enabled)
 -D APR_USE_PROC_PTHREAD_SERIALIZE
 -D APR_USE_PTHREAD_SERIALIZE
 -D SINGLE_LISTEN_UNSERIALIZED_ACCEPT
 -D APR_HAS_OTHER_CHILD
 -D AP_HAVE_RELIABLE_PIPED_LOGS
 -D DYNAMIC_MODULE_LIMIT=128
 -D HTTPD_ROOT="/usr/apache2/2.2"
 -D SUEXEC_BIN="/usr/apache2/2.2/bin/suexec"
 -D DEFAULT_PIDLOG="/var/run/apache2/2.2/httpd.pid"
 -D DEFAULT_SCOREBOARD="logs/apache_runtime_status"
 -D DEFAULT_LOCKFILE="/var/run/apache2/2.2/accept.lock"
 -D DEFAULT_ERRORLOG="logs/error_log"
 -D AP_TYPES_CONFIG_FILE="/etc/apache2/2.2/mime.types"
 -D SERVER_CONFIG_FILE="/etc/apache2/2.2/httpd.conf"



$ /usr/apache2/2.2/bin/httpd -V


Server version: Apache/2.2.25 (Unix)
Server built:   Aug 25 2013 08:54:59
Server's Module Magic Number: 20051115:33
Server loaded:  APR 1.4.8, APR-Util 1.5.2
Compiled using: APR 1.4.8, APR-Util 1.5.2
Architecture:   32-bit
Server MPM: Prefork
  threaded: no
forked: yes (variable process count)
Server compiled with
 -D APACHE_MPM_DIR="server/mpm/prefork"
 -D APR_HAS_MMAP
 -D APR_HAVE_IPV6 (IPv4-mapped addresses enabled)
 -D APR_USE_PROC_PTHREAD_SERIALIZE
 -D APR_USE_PTHREAD_SERIALIZE
 -D SINGLE_LISTEN_UNSERIALIZED_ACCEPT
 -D APR_HAS_OTHER_CHILD
 -D AP_HAVE_RELIABLE_PIPED_LOGS
 -D DYNAMIC_MODULE_LIMIT=128
 -D HTTPD_ROOT="/usr/apache2/2.2"
 -D SUEXEC_BIN="/usr/apache2/2.2/bin/suexec"
 -D DEFAULT_PIDLOG="/var/run/apache2/2.2/httpd.pid"
 -D DEFAULT_SCOREBOARD="logs/apache_runtime_status"
 -D DEFAULT_LOCKFI

Re: [oi-dev] Apache2 in hipster broken?

2013-11-15 Thread Alexander Pyhalov

On 11/15/2013 16:36, Gary Gendel wrote:

Alexander,

Results inline.


Then I just don't understand it...

Error messages you mentioned:
"(81)File descriptor in bad state: apr_pollset_poll failed. Attempting 
to shutdown process gracefully"


come from mpm_event module, which is even not included in default 
install. Default installation comes with prefork and worker modules...

--
Best regards,
Alexander Pyhalov,
system administrator of Computer Center of Southern Federal University

___
oi-dev mailing list
oi-dev@openindiana.org
http://openindiana.org/mailman/listinfo/oi-dev


Re: [oi-dev] Apache2 in hipster broken?

2013-11-15 Thread Gary Gendel

Alexander,

I just assumed that the mpm_event module was a hook or wrapper for the 
mpm_fork.  If my assumption was wrong then I'm as confused as you are.  
If you're right, it may be that there is code compiled in that shouldn't 
be.  The Bugzilla report seems to indicate that apache code may be 
broken for illumos distributions in some obscure fashion.


If I'm the only outlier, I may try nginx from oi-userland.  It will 
probably take a bit as I come up the learning curve.   If nothing else, 
I could provide a quick workaround whenever apache breaks so I can keep 
updating from hipster.


Gary

On 11/15/2013 07:56 AM, Alexander Pyhalov wrote:

On 11/15/2013 16:36, Gary Gendel wrote:

Alexander,

Results inline.


Then I just don't understand it...

Error messages you mentioned:
"(81)File descriptor in bad state: apr_pollset_poll failed. Attempting 
to shutdown process gracefully"


come from mpm_event module, which is even not included in default 
install. Default installation comes with prefork and worker modules...



___
oi-dev mailing list
oi-dev@openindiana.org
http://openindiana.org/mailman/listinfo/oi-dev


Re: [oi-dev] Apache2 in hipster broken?

2013-11-15 Thread Alexander Pyhalov

On 11/15/2013 17:21, Gary Gendel wrote:

Alexander,

I just assumed that the mpm_event module was a hook or wrapper for the
mpm_fork.  If my assumption was wrong then I'm as confused as you are.
If you're right, it may be that there is code compiled in that shouldn't
be.  The Bugzilla report seems to indicate that apache code may be
broken for illumos distributions in some obscure fashion.

If I'm the only outlier, I may try nginx from oi-userland.  It will
probably take a bit as I come up the learning curve.   If nothing else,
I could provide a quick workaround whenever apache breaks so I can keep
updating from hipster.



Could you obtain a trace of failed apr_pollset_poll() call? Where does 
it come from? (Perhaps with dapptrace, pstack or similar tool)

--
Best regards,
Alexander Pyhalov,
system administrator of Computer Center of Southern Federal University

___
oi-dev mailing list
oi-dev@openindiana.org
http://openindiana.org/mailman/listinfo/oi-dev


Re: [oi-dev] Apache2 in hipster broken?

2013-11-15 Thread Jonathan Adams
you use logger, my default doesn't, you have your htdocs stored in
/usr/local files ...

do you have extra modules loaded in the /etc/apache2/2.2/conf.d module
files?

for comparison; my default apache22 setup, using the package:

jadams@jadlaptop:/etc/apache2/2.2$ egrep -v '^ *#|^$' httpd.conf
ServerRoot "/usr/apache2/2.2"
Listen 80

Include /etc/apache2/2.2/conf.d/modules-64.load


Include /etc/apache2/2.2/conf.d/modules-32.load



User webservd
Group webservd


ServerAdmin y...@yourhost.com
ServerName 127.0.0.1
DocumentRoot "/var/apache2/2.2/htdocs"

Options FollowSymLinks
AllowOverride None
Order deny,allow
Deny from all


Options Indexes FollowSymLinks
AllowOverride None
Order allow,deny
Allow from all


DirectoryIndex index.html


Order allow,deny
Deny from all
Satisfy All

ErrorLog "/var/apache2/2.2/logs/error_log"
LogLevel warn

LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\"
\"%{User-Agent}i\"" combined
LogFormat "%h %l %u %t \"%r\" %>s %b" common

  LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\"
\"%{User-Agent}i\" %I %O" combinedio

CustomLog "/var/apache2/2.2/logs/access_log" common


ScriptAlias /cgi-bin/ "/var/apache2/2.2/cgi-bin/"




AllowOverride None
Options None
Order allow,deny
Allow from all

DefaultType text/plain

TypesConfig /etc/apache2/2.2/mime.types
AddType application/x-compress .Z
AddType application/x-gzip .gz .tgz
AddType application/vnd.pkg5.info .p5i

Include /etc/apache2/2.2/conf.d/*.conf

SSLRandomSeed startup builtin
SSLRandomSeed connect builtin




On 15 November 2013 12:19, Alexander Pyhalov  wrote:

> On 11/15/2013 16:01, Gary Gendel wrote:
>
>> Alexander,
>>
>> I don't think I have anything particularly special.  I've included what
>> I thought might be helpful. I stripped the comments out of the conf
>> files.  This information come from the working BE.  If you need
>> something else just ask.
>>
>>
> I'm just a bit surprised to see error messages from mpm_event. It
> shouldn't be available in default install.
>
> $ /usr/apache2/2.2/bin/httpd -V
> Server version: Apache/2.2.25 (Unix)
> Server built:   Aug 25 2013 08:54:59
> Server's Module Magic Number: 20051115:33
> Server loaded:  APR 1.4.8, APR-Util 1.5.2
> Compiled using: APR 1.4.8, APR-Util 1.5.2
> Architecture:   32-bit
> Server MPM: Prefork
>   threaded: no
> forked: yes (variable process count)
> Server compiled with
>  -D APACHE_MPM_DIR="server/mpm/prefork"
>
> $ /usr/apache2/2.2/bin/httpd.worker -V
> Server version: Apache/2.2.25 (Unix)
> Server built:   Aug 25 2013 08:45:40
> Server's Module Magic Number: 20051115:33
> Server loaded:  APR 1.4.8, APR-Util 1.5.2
> Compiled using: APR 1.4.8, APR-Util 1.5.2
> Architecture:   32-bit
> Server MPM: Worker
>   threaded: yes (fixed thread count)
> forked: yes (variable process count)
> Server compiled with
>  -D APACHE_MPM_DIR="server/mpm/worker"
>
> (the same for 64-bit versions)
>
> --
> Best regards,
> Alexander Pyhalov,
> system administrator of Computer Center of Southern Federal University
>
> ___
> oi-dev mailing list
> oi-dev@openindiana.org
> http://openindiana.org/mailman/listinfo/oi-dev
>
___
oi-dev mailing list
oi-dev@openindiana.org
http://openindiana.org/mailman/listinfo/oi-dev

Re: [oi-dev] Apache2 in hipster broken?

2013-11-20 Thread Gary Gendel

Alexander,

The source of the problem seems to be this piece in the httpd.conf 
file.  I removed it and now apache works.


 
ListenBacklog 8192
ServerLimit 2048
MaxClients 2048
 

Gary

On 11/15/2013 08:21 AM, Gary Gendel wrote:

Alexander,

I just assumed that the mpm_event module was a hook or wrapper for the 
mpm_fork.  If my assumption was wrong then I'm as confused as you 
are.  If you're right, it may be that there is code compiled in that 
shouldn't be.  The Bugzilla report seems to indicate that apache code 
may be broken for illumos distributions in some obscure fashion.


If I'm the only outlier, I may try nginx from oi-userland.  It will 
probably take a bit as I come up the learning curve.   If nothing 
else, I could provide a quick workaround whenever apache breaks so I 
can keep updating from hipster.


Gary

On 11/15/2013 07:56 AM, Alexander Pyhalov wrote:

On 11/15/2013 16:36, Gary Gendel wrote:

Alexander,

Results inline.


Then I just don't understand it...

Error messages you mentioned:
"(81)File descriptor in bad state: apr_pollset_poll failed. 
Attempting to shutdown process gracefully"


come from mpm_event module, which is even not included in default 
install. Default installation comes with prefork and worker modules...





___
oi-dev mailing list
oi-dev@openindiana.org
http://openindiana.org/mailman/listinfo/oi-dev


Re: [oi-dev] Apache2 in hipster broken?

2013-11-20 Thread Gary Gendel

Sorry, that didn't work long before it hosed.

I also used the sample config with the changes needed to get it running 
on my site without success.  So syslog logging and redirections aren't 
the problem.


For the time being, I have nginx running, but I'm banging my head 
against the wall getting it to work with gallery3.  All the other 
packages seem to work reasonably.


Gary

On 11/20/2013 02:29 PM, Gary Gendel wrote:

Alexander,

The source of the problem seems to be this piece in the httpd.conf 
file.  I removed it and now apache works.


 
ListenBacklog 8192
ServerLimit 2048
MaxClients 2048
 

Gary

On 11/15/2013 08:21 AM, Gary Gendel wrote:

Alexander,

I just assumed that the mpm_event module was a hook or wrapper for 
the mpm_fork.  If my assumption was wrong then I'm as confused as you 
are.  If you're right, it may be that there is code compiled in that 
shouldn't be.  The Bugzilla report seems to indicate that apache code 
may be broken for illumos distributions in some obscure fashion.


If I'm the only outlier, I may try nginx from oi-userland.  It will 
probably take a bit as I come up the learning curve.   If nothing 
else, I could provide a quick workaround whenever apache breaks so I 
can keep updating from hipster.


Gary

On 11/15/2013 07:56 AM, Alexander Pyhalov wrote:

On 11/15/2013 16:36, Gary Gendel wrote:

Alexander,

Results inline.


Then I just don't understand it...

Error messages you mentioned:
"(81)File descriptor in bad state: apr_pollset_poll failed. 
Attempting to shutdown process gracefully"


come from mpm_event module, which is even not included in default 
install. Default installation comes with prefork and worker modules...







___
oi-dev mailing list
oi-dev@openindiana.org
http://openindiana.org/mailman/listinfo/oi-dev