[imp] Re: Impossible to manage folders -- SOLVED!!!!!!!

Hermann Gottschalk hg at ostc.de
Sun Mar 27 12:14:49 PST 2005


Hi folks,
the problem is solved!

It's because the apache is running changerooted!

I think these tipps are also helpful for Linux-users who run apache 
changerooted.

(Supposing httpd ist changerooted in /var/www)

First You have to create a directory /var/www/dev an start your syslogd
with "syslogd -a /var/www/dev/log" so php is able to log propper to the
syslogd. That makes debugging much easier. 

Than the libc-client.a-functions depend on the access to local
passwd-files. In the case of OpenBSD you have to create /var/www/etc an in there a
master.passwd with the user-entry of the user who runs httpd. Here is
the user www. Than you have to create the pwd.db:
#> pwd_mkdb -d /var/www/etc /var/www/etc/master.passwd

THAT'S ALL!!!

I don't know, why libc-client.a absolutely needs the verification of the
existance of www in pwd.db but it does!


HAPPY EASTER!
Hermann

-- 
  ___  ___ _____ ___    ___       _    _  _
 / _ \/ __|_   _/ __|  / __|_ __ | |__| || |
| (_) \__ \ | || (__  | (_ | '  \| '_ \ __ |
 \___/|___/ |_| \___|  \___|_|_|_|_.__/_||_|
----------------------------------------------
 OSTC Open Source Training and Consulting GmbH
 Hermann Gottschalk  eMail:         hg at ostc.de
 Dipl.-Phys. Univ.   Tel:   +49 911-34 74 54 4
                     Mobil: +49 173-36 00 68 0
 Delsenbachweg 32    Fax:   +49 911-18 06 27 7
 90425 Nürnberg      Web:   http://www.ostc.de
----------------------------------------------
            PGP-Key: 0x0B2D8EEA 
    No HTML-Mails; 72 Characters per line


More information about the imp mailing list