Actually I have one assumption.. I use cherokee to serve django in threaded mode. So only one process is started per virtual server.
May it be the reason why I see root, as process owner instead of oleg? Also will it also mean that all media files, I uploaded with it will be stored with root permissions (e.g. root is owner) On Fri, Oct 16, 2009 at 2:57 PM, Oleg Oltar <[email protected]> wrote: > Just did it... > > But but I am a little bit confused about the results :( > > After I typed make install and rebooted the server, I typed: > > -bash-3.2$ which cherokee > /usr/sbin/cherokee > -bash-3.2$ cherokee -i > Compilation > Version: 0.99.24 > Compiled on: Oct 16 2009 14:33:36 > Arguments to configure: '--with-mysql=no' '--with-wwwuser=oleg' > '--prefix=/usr' '--with-wwwroot=/var/www/oleg/data/cherokee' > > Installation > Deps dir: /usr/share/cherokee/deps > Data dir: /usr/share/cherokee > Icons dir: /usr/share/cherokee/icons > Themes dir: /usr/share/cherokee/themes > Plug-in dir: /usr/lib/cherokee > > Plug-ins > Built-in: > > Support > IPv6: yes > Pthreads: yes > Tracing: no > sendfile(): yes > syslog(): yes > Polling methods: select poll epoll > > > So the version is really up-to-date (previous one was 0.99.22) > > But, I don't understand why it still started by root user? Any ideas? > > -bash-3.2$ ps aux | grep cherokee > root 15922 0.0 0.0 2032 484 ? Ss 14:45 0:00 > /usr/sbin/cherokee -d -C /etc/cherokee/cherokee.conf > root 15923 0.0 0.3 44364 1988 ? Sl 14:45 0:00 > /usr/sbin/cherokee-worker -C /etc/cherokee/cherokee.conf > root 16351 0.1 2.5 73176 15848 ? Sl 14:45 0:00 python > /var/www/oleg/data/jin/manage.py runfcgi protocol=scgi method=threaded > socket=/tmp/cherokee-jin.sock > root 21561 0.0 1.2 19928 7864 pts/0 S+ 14:52 0:00 emacs > > Thanks, > Oleg > > > > On Fri, Oct 16, 2009 at 2:17 PM, Taher Shihadeh <[email protected]>wrote: > >> Oleg Oltar wrote: >> >>> Installation dir /usr/bin >>> ============================ >>> >>> Warning: You have an old copy of Cherokee at /usr/sbin/cherokee. >>> So seems it will not install it in same location :( >>> >> That is just a warning to let you know there is something else there, not >> an actual installation error. >> Just go ahead and: make && sudo make install >> >> You can check what arguments you used to configure your previous cherokee >> with "cherokee -i". >> You'll find --prefix=/usr was also used, hence having the binary under >> /usr/sbin/cherokee. At least that is what I have on my system and can assure >> you I overwrite it quite often with no problems ;-) >> >> Regards >> >> -- >> [email protected] >> http://unixwars.com/ >> >> >
_______________________________________________ Cherokee mailing list [email protected] http://lists.octality.com/listinfo/cherokee
