Re: suspect apache/php problem in Fedora 18

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxx <mailto:Roger%20%3carelem@xxxxxxxxxxx%3e>>
> *Reply-to*: Community support for Fedora users <users@xxxxxxxxxxxxxxxxxxxxxxx>
> *To*: Community support for Fedora users <users@xxxxxxxxxxxxxxxxxxxxxxx
> <mailto:Community%20support%20for%20Fedora%20users%20%3cusers@xxxxxxxxxxxxxxxxxxxxxxx%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.

Attachment: signature.asc
Description: OpenPGP digital signature

-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux