Gossamer Forum
Home : Products : Links 2.0 : Installation -- Unix :

Problème avec nph-build.cgi

Quote Reply
Problème avec nph-build.cgi
J'ai un problème avec nph-build.cgi quand je lance build all il y a ce message d'erreur:
Backing up database . . .
Backing up links, category and email database (File::Copy) ...

CGI ERROR
==========================================
Error Message : Unable to copy links backup. Reason: Permission denied
Je suis sous unix et j'ai vérifié toutes les permitions de tous les dossiers et fichiers, que faire? J'ai vu que d'autres ont eu le même problème mauis je n'ai pas trouvé la solution.
Merci
Quote Reply
Re: Problème avec nph-build.cgi In reply to
The backup directory needs to have 777 (drwxrwxrwx) permissions.

Reagrds,

------------------
Eliot Lee....
Former Handle: Eliot
Anthro TECH, L.L.C
anthrotech.com
* Check Resource Center
* Search Forums
* Thinking out of the box (codes) is not only fun, but effective.


Quote Reply
Re: Problème avec nph-build.cgi In reply to
Il est au 777 mais j'ai toujours le message d'erreur, que faire?
Quote Reply
Re: Problème avec nph-build.cgi In reply to
Make sure that you have the following file in your data directory:

links.db.bak

Change the permission of this file to 666 (rw-rw-rw-).

Regards,

------------------
Eliot Lee....
Former Handle: Eliot
Anthro TECH, L.L.C
anthrotech.com
* Check Resource Center
* Search Forums
* Thinking out of the box (codes) is not only fun, but effective.


Quote Reply
Re: Problème avec nph-build.cgi In reply to
If i've not this file in data directory, what I do?
Quote Reply
Re: Problème avec nph-build.cgi In reply to
J 'avais la même problème. C'est possible que les permissions sont automatiquement changées par le "server"pour des raisons de sécurité. Mais avant, essaye de créer un fichier nommé links.db.bak et le mettre dans /data et donne lui la permission 666.
Essaye le "build all" de nouveau et regarde les permissions, si elles ont changées alors fait ce qu'il dise ici:
http://www.gossamer-threads.com/scripts/resources/Detailed/344.html

Quote Reply
Re: Problème avec nph-build.cgi In reply to
J'ai toujours ce message malgré que j'ai crée un fichier links.db.bak et que j'ai fais ce qu'ils disaient de remplacer dans nph-builg.cgi. Que faire d'autre? Ce script à l'air super mais il n'est pas facile à configurer!!

Backing up database . . .
Backing up links, category and email database (File::Copy) ...

CGI ERROR
==========================================
Error Message : Unable to copy links backup. Reason: Permission denied
Script Location : /home/c02025/cgi-bin/links/admin/nph-build.cgi
Perl Version : 5.006