From: Dennis H. <de...@fi...> - 2003-11-03 23:57:45
|
Agon S. Buchholz wrote: > asb@deb:/$ ps -ef|grep apache > root 398 1 0 23:32 ? 00:00:01 /usr/sbin/apache > www-data 414 398 0 23:32 ? 00:00:00 /usr/sbin/apache > www-data 415 398 0 23:32 ? 00:00:00 /usr/sbin/apache > www-data 416 398 0 23:32 ? 00:00:00 /usr/sbin/apache > www-data 417 398 0 23:32 ? 00:00:00 /usr/sbin/apache > www-data 418 398 0 23:32 ? 00:00:00 /usr/sbin/apache > www-data 419 398 0 23:34 ? 00:00:00 /usr/sbin/apache > www-data 420 398 0 23:34 ? 00:00:00 /usr/sbin/apache > www-data 421 398 0 23:34 ? 00:00:00 /usr/sbin/apache > asb 450 437 0 23:41 pts/0 00:00:00 grep apache > > Whatever the first entry is, the rest seems correct. This is normal. In order to use a privileged port (port number lower than 1024, in this case port 80), apache must run it's initial process as root. It then forks copies with non-root ownership for doing the actual work (for obvious secirity reasons). You should run: ./setup.sh www-data www-data in your tiki root dir. I also like to run "chown -R www-data:www-data *" to set all the ownership to the apache user. This is the safest, mostly-always-works configuration. Dennis |