suspect apache/php problem in Fedora 18

Reindl Harald h.reindl at thelounge.net
Thu Feb 14 13:43:51 UTC 2013


first: why do you explain soembody how to get
running squirrelmail if it is not asked?

jesus christ do NOT comment THAT out without understand
what it is supposed to do and before read docs

http://httpd.apache.org/docs/2.4/upgrading.html

this is a security protection to not deliver content of
random folders in case of config errors per httpd and
have fun with a alias to your rootfs + folder-listings
by accident after disable this in case SElinux does not
help you out of troubles

what you want is

<Directory "/path/to/your/docroot">
 Require all granted
</Directory>

Am 14.02.2013 11:44, schrieb Andrew Gray:
> Have you looked at the section in httpd.conf that blocks squirrelmail access to filesystem :-
> 
> #
> # Deny access to the entirety of your server's filesystem. You must
> # explicitly permit access to web content directories in other
> # <Directory> blocks below.
> #
> <Directory />
>    AllowOverride none
>     Require all denied
> </Directory>
> 
> I just comment out the above and squirrelmail worked !
> 
> -----Original Message-----
> *From*: Roger <arelem at bigpond.com <mailto:Roger%20%3carelem at bigpond.com%3e>>
> *Reply-to*: Community support for Fedora users <users at lists.fedoraproject.org>
> *To*: Community support for Fedora users <users at lists.fedoraproject.org
> <mailto:Community%20support%20for%20Fedora%20users%20%3cusers at lists.fedoraproject.org%3e>>
> *Subject*: suspect apache/php problem in Fedora 18
> *Date*: Thu, 14 Feb 2013 08:56:03 +1100
> 
> I run Fedora 18 only to develop a drupal 7 web system
> 
> Fedora ha proven very stable except  when developing the web system 
> apache simply switches off when I change functions in drupal and needs 
> to be restarted to continue work.
> I run clear; sudo service httpd stop && sudo service httpd start dozens 
> of times a day.
> Further, and not so frequently the dreaded Drupal memory allocation 
> error seems built in to the system it is so prevalent.
> To work around this I ps aux |grep httpd which shows up to 7 instances 
> of httpd. I kill the first 2 instances and can continue working.
> 
> I have fresh installed drupal system which is a copy of a live site, I 
> have only gedit running as an editor and run System Monitor to check 
> memory and cpu. Memory runs at 70% of 2 Gig CPU's are normal.
> Temp and swap don't get used.
> 
> httpd creates it's own error log which reports
> [Wed Feb 13 22:20:21.593435 2013] [core:notice] [pid 10305] SELinux 
> policy enabled; httpd running as context system_u:system_r:httpd_t:s0
> [Wed Feb 13 22:20:21.595295 2013] [suexec:notice] [pid 10305] AH01232: 
> suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
> [Wed Feb 13 22:20:22.076048 2013] [auth_digest:notice] [pid 10305] 
> AH01757: generating secret for digest authentication ...
> [Wed Feb 13 22:20:23.001035 2013] [lbmethod_heartbeat:notice] [pid 
> 10305] AH02282: No slotmem from mod_heartmonitor
> [Wed Feb 13 22:20:23.095134 2013] [mpm_prefork:notice] [pid 10305] 
> AH00163: Apache/2.4.3 (Fedora) PHP/5.4.11 configured -- resuming normal 
> operations
> [Wed Feb 13 22:20:23.095229 2013] [core:notice] [pid 10305] AH00094: 
> Command line: '/usr/sbin/httpd -D FOREGROUND'
> [Wed Feb 13 22:35:49.864363 2013] [mpm_prefork:notice] [pid 10305] 
> AH00170: caught SIGWINCH, shutting down gracefully.
> 
> /var/log/httpd/access_log reports:
> 127.0.0.1 - - [13/Feb/2013:22:34:38 +1100] "GET 
> /mysite/sites/all/themes/EAL1/logo.png HTTP/1.1" 404 214 
> "http://127.0.0.1/eal/" "Mozilla/5.0 (X11; Linux x86_64) 
> AppleWebKit/537.17 (KHTML, like Gecko) Chrome/24.0.1312.69 Safari/537.17"
> ::1 - - [13/Feb/2013:22:34:46 +1100] "OPTIONS * HTTP/1.0" 200 - "-" 
> "Apache/2.4.3 (Fedora) PHP/5.4.11 (internal dummy connection)"
> There are 10 dummy connections.
> 
> I have run out of ideas so ask if there's a short script I can run to 
> gather the http instances from ps aux  and automatically kill them then 
> stop and restart httpd.
> 
> Another alternative may be to install nginX and delete apache but I do 
> not know what resources that may affect.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 263 bytes
Desc: OpenPGP digital signature
URL: <http://lists.fedoraproject.org/pipermail/users/attachments/20130214/ada6d9f1/attachment-0001.sig>


More information about the users mailing list