coWiki 0.4.0-dev
Utilisateur actuel:   guest    Changer     Préférences 
   Afficher le répertoire   Historique   Similaire   Imprimer une version 
Accueil 
Documentation technique 
   Nom de domaine et IP dynamique 
   Réplication MySQL par tunnel ssh 
   ov518+ driver and kernel 2.6.11 
   Zend Studio - selinux FC3-x86_64 
   gettext et site php multi-langues 
   Squirrelmail: compilation deb et php5 
   Configuration php par .htaccess 
   InstallAnywhere et linux x86_64 
   Créer des utilisateurs ftp only pour proftpd 
   Genuine Advantage 
   gutenprint sur FC5 
   apf on FC5 
   Monitoring serveur avec MRTG 
Aire de jeux 
   Résumé du langage 

Referrers
search.live.com
www.google.ca
search.live.com
www.google.fr
www.hooseek.com
www.google.fr
search.live.com
search.live.com
search.live.com
www.google.ru
Documentation technique > Zend Studio - selinux FC3-x86_64

 
rw-rw-r--   zeitoun   vip

Zend Studio - selinux FC3-x86_64

I had a rather hard time installing Zend Studio on my brand new machine. Some config details:

  • Processor AMD Athlon64 3500+
  • Fedora Core 3 x86_64
  • SeLinux Targeted policy
  • Apache 2.x
  • PHP 5.0.x

I will not cover here the details of installing the client (had to download a separate file given to me from Zend Technical Team, not sure I can redistribute it or link to it... will see that later). All I can say is that I am pretty sure you can complete the install with the installer with selinux disabled.

I'm going to cover only the server install.

First install the zend studio server from the installer (see Zend.com site)

At this point, if you try to restart apache, everything should go well... except that the Zend Debugger does not show up in phpinfo and that you will not be able to connect to it from the Zend Studio Client.

Now have a look at your apache error_log:

Failed loading /usr/local/ZendStudioServer-4.0.0/lib/ZendExtensionManager.so:  /usr/loca
l/ZendStudioServer-4.0.0/lib/ZendExtensionManager.so: failed to map segment from shared
object: Permission denied
Failed loading /usr/local/ZendStudioServer-4.0.0/lib/ZendExtensionManager.so:  /usr/loca
l/ZendStudioServer-4.0.0/lib/ZendExtensionManager.so: failed to map segment from shared
object: Permission denied
Failed loading /usr/local/ZendStudioServer-4.0.0/lib/ZendExtensionManager.so:  /usr/loca
l/ZendStudioServer-4.0.0/lib/ZendExtensionManager.so: failed to map segment from shared
object: Permission denied
Failed loading /usr/local/ZendStudioServer-4.0.0/lib/ZendExtensionManager.so:  /usr/loca
l/ZendStudioServer-4.0.0/lib/ZendExtensionManager.so: failed to map segment from shared
object: Permission denied
Failed loading /usr/local/ZendStudioServer-4.0.0/lib/ZendExtensionManager.so:  /usr/loca
l/ZendStudioServer-4.0.0/lib/ZendExtensionManager.so: failed to map segment from shared
object: Permission denied
Failed loading /usr/local/ZendStudioServer-4.0.0/lib/ZendExtensionManager.so:  /usr/loca
l/ZendStudioServer-4.0.0/lib/ZendExtensionManager.so: failed to map segment from shared
object: Permission denied
Failed loading /usr/local/ZendStudioServer-4.0.0/lib/ZendExtensionManager.so:  /usr/loca
l/ZendStudioServer-4.0.0/lib/ZendExtensionManager.so: failed to map segment from shared
object: Permission denied
Failed loading /usr/local/ZendStudioServer-4.0.0/lib/ZendExtensionManager.so:  /usr/loca
l/ZendStudioServer-4.0.0/lib/ZendExtensionManager.so: failed to map segment from shared
object: Permission denied
[Tue May 17 12:13:02 2005] [notice] caught SIGTERM, shutting down
Failed loading /usr/local/ZendStudioServer-4.0.0/lib/ZendExtensionManager.so:  /usr/loca
l/ZendStudioServer-4.0.0/lib/ZendExtensionManager.so: failed to map segment from shared
object: Permission denied
[Tue May 17 12:13:03 2005] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Tue May 17 12:13:03 2005] [notice] Digest: generating secret for digest authentication
...
[Tue May 17 12:13:03 2005] [notice] Digest: done
[Tue May 17 12:13:03 2005] [notice] LDAP: Built with OpenLDAP LDAP SDK
[Tue May 17 12:13:03 2005] [notice] LDAP: SSL support unavailable
[Tue May 17 12:13:03 2005] [notice] mod_python: Creating 4 session mutexes based on 256
max processes and 0 max threads.
[Tue May 17 12:13:03 2005] [notice] Apache/2.0.52 (Fedora) configured -- resuming normal
 operations

Hey hey !!! The Zend server did not load correctly. The cause is the apache selinux policy. To fix that:

cd /usr/local/ZendStudioServer-4.0.0 <= change to what ever dir you installed in
chcon -R system_u:object_r:httpd_modules_t lib/

Now restart apache and it should work.



Référence Zend Studio - selinux FC3-x86_64
http://aide.retiz.com/DocumentationTechnique/ZendStudioSelinuxFC3X8664


précédent ov518+ driver and kernel 2.6.11   gettext et site php multi-langues Suivant


Documentation technique | Aire de jeux

Driven by coWiki 0.4.0-dev (May 07 2005) web collaboration tool. Exécuté en 0,063 sec.