superman2001 Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/11236127724550efccd1aa2.jpg)
Joined: 09 Dec 2004 Posts: 157 Location: Tubize (Belgique)
|
Posted: Thu Nov 24, 2005 5:02 pm Post subject: [Webapp-config] Installations de webapps foireuses |
|
|
Bonsoir,
J'ai un problème avec les applics web qui s'installent avec webapp-config (phpmyadmin et phpsysinfo notamment). Les fichiers vont se mettre dans le / (la racine). Du coup, webapp-config foire et rien ne se trouve dans /var/www/localhost/htdocs/* à part le fichier '.webapp'.
Un exemple (avec phpsysinfo, similaire avec phpmyadmin) :
Quote: | >>> /templates/bulix/images/bar_middle.gif
>>> /templates/bulix/bulix.css
>>> /templates/bulix/box.tpl
>>> /templates/bulix/index.html
>>> /templates/bulix/form.tpl
* vhosts USE flag not set - auto-installing using webapp-config
* This is an installation
* phpsysinfo-2.4.1 is not installed - using install mode
* Running /usr/sbin/webapp-config -I -h localhost -u root -d /phpsysinfo phpsysinfo 2.4.1
* Creating required directories
* Linking in required files
* This can take several minutes for larger apps
* phpsysinfo-2.4.1 does not install any files from /usr/share/webapps/phpsysinfo/2.4.1/htdocs/; skipping
* phpsysinfo-2.4.1 does not install any files from /usr/share/webapps/phpsysinfo/2.4.1/hostroot/; skipping
* Files and directories installed
* The hooks directory is missing. This should not happen! Check that the application has been correctly installed.
Traceback (most recent call last):
File "/usr/sbin/webapp-config", line 44, in ?
main()
File "/usr/sbin/webapp-config", line 41, in main
config.run()
File "/usr/lib/python2.4/site-packages/WebappConfig/config.py", line 1040, in run
self.config.get('USER', 'pvr')).install()
File "/usr/lib/python2.4/site-packages/WebappConfig/server.py", line 258, in install
self.__ebuild.run_hooks('install')
File "/usr/lib/python2.4/site-packages/WebappConfig/ebuild.py", line 111, in run_hooks
for x in os.listdir(self.__hooksd):
OSError: [Errno 2] No such file or directory: '/usr/share/webapps/phpsysinfo/2.4.1/hooks'
>>> Regenerating /etc/ld.so.cache...
>>> www-apps/phpsysinfo-2.4.1 merged. |
Quand je vais sur 'http://localhost/phpsysinfo', il m'affiche le contenu (vide) du dossier.
A noter que j'utilise webapp-config-1.50.1.
Que puis-je faire?
Merci d'avance.
Superman2001 |
|