Ok, this way works! But the Cherokee doesn't start. The problem is related with the owner of the /var/lib/cherokee/graphs, I change this to www-data and restart the Cherokee, and all OK!
ps axu |grep cherokee-worker www-data 18317 0.0 0.1 97104 2512 ? Sl 11:12 0:00 /usr/sbin/cherokee-worker --admin_child -C /etc/cherokee/cherokee.conf Thanks again! 2011/1/20 Alvaro Lopez Ortega <[email protected]>: > On 20/01/2011, at 10:55, Francisco Javier Funes Nieto wrote: >> 2011/1/20 Alvaro Lopez Ortega <[email protected]>: >>> On 20/01/2011, at 10:15, Francisco Javier Funes Nieto wrote: >>> >>>> --with-wwwuser and --with-wwwgroup pointing to www-data user/group the >>>> configure didn't respect this options and after make and make install >>>> Cherokee runs at root user, that's not my idea. >>> >>> Cherokee must be launched at root, otherwise it could not open the TCP 80 >>> or its log files. Do not be worried about it, though. It drops its >>> privileges as soon as those operations are performed. If you check the >>> user of 'cherokee-worker' you will see that it is running under your user >>> of choice - www-data, in this case. >> >> But the worker still runs at root: >> >> root 15617 0.0 0.1 89816 3404 ? Sl 00:37 0:03 >> /usr/sbin/cherokee-worker --admin_child -C /etc/cherokee/cherokee.conf >> >> I did a make&&make install one, the first, without >> --with-wwwuser/wwwgroup and the second with both params. Maybe I need >> to distclean the sources and the recompile? > > No, there is no need. It's a configurable parameter. You'll just have to > launch cherokee-admin to adjust the settings: > > Top menu "General" ➭ "Permissions" tab ➭ "User" and "Group" fields. > > -- > Octality > http://www.octality.com/ > > -- _____________________________________________ Francisco Javier Funes Nieto [[email protected]] CANONIGOS Servicios Informáticos para PYMES. Cl. Cruz 2, 1º Oficina 7 Tlf: 958.536759 / 661134556 Fax: 958.521354 GRANADA - 18002 _______________________________________________ Cherokee mailing list [email protected] http://lists.octality.com/listinfo/cherokee
