@ Christian, thanks a lot. It didn't work previously when i have done www-data:www-data. Yesterday i created a new rb-install and finally it worked. I really appreciate your help.
On Sat, Jan 22, 2011 at 8:44 PM, Christian Hammond <[email protected]>wrote: > That's the problem. The data directory has to be owned by > www-data:www-data. > > > Christian > > -- > Christian Hammond - [email protected] > Review Board - http://www.reviewboard.org > VMware, Inc. - http://www.vmware.com > > > On Sat, Jan 22, 2011 at 6:36 PM, Aravind Ayyagari <[email protected]>wrote: > >> >> >> On Sat, Jan 22, 2011 at 12:56 AM, Christian Hammond >> <[email protected]>wrote: >> >>> Can you do: >>> >>> $ ls -l /var/www/example1 >>> >> >> drwxr-xr-x 2 root root 4096 2011-01-20 09:08 conf >> drwxr-xr-x 2 root root 4096 2011-01-19 22:35 data >> drwxr-xr-x 3 root root 4096 2011-01-19 22:35 htdocs >> drwxr-xr-x 2 root root 4096 2011-01-19 22:35 logs >> drwxrwxrwx 2 root root 4096 2011-01-19 22:35 tmp >> >> >> >> >>> and >>> >>> $ ls -l /var/www/example1/data >>> >> >> -rwxr-xr-x 1 www-data www-data 222208 2011-01-19 22:35 reviewboard.db >> >> >>> >>> I'm not sure what the Page Not Found one is about? Is this a new problem? >> >> >> No it is the previous problem itself. When i am typing url >> http://localhost/ - i am getting rb taking a nap >> >> if i am typing http://localhost/example1/ - i am getting page not found. >> >>> >>> >>> Christian >>> >>> -- >>> Christian Hammond - [email protected] >>> Review Board - http://www.reviewboard.org >>> VMware, Inc. - http://www.vmware.com >>> >>> >>> On Fri, Jan 21, 2011 at 4:51 PM, Aravind Ayyagari >>> <[email protected]>wrote: >>> >>>> >>>> >>>> How did you compile your python ? ( Did you the sqlite3 dev headers >>>>> installed before installing python ?. If not probably you would not find >>>>> _sqlite3.so file) >>>>> >>>> >>>> There is a file _sqlite3.so in >>>> /usr/lib/python2.6/lib-dynload >>>> >>>> 1. Web-server conf file : This lies in ,if using httpd , >>>> Path_to_http_installation/conf/httpd.conf >>>>> >>>>> or if installed as >>>>> root (without any ./configure --prefix) you should find it at >>>>> >>>>> >>>> >>>> I have this file in /etc/apace2/httpd.conf - >>>> but this file is empty. >>>> >>>> >>>> >>>>> 2. After doing DEBUG = True in settings_local.py, re-start the server >>>>> (please note the time and date. that helps), attach the httpd_error log >>>>> (found at /var/log/*httpd*/error_log if normal installation) or if a >>>>> custom --prefix installation was done then at >>>>> Path_to_http_installation/logs/error_log. >>>>> >>>> >>>> I am attaching the error_log file after >>>> restarting the server (ErrorReport) >>>> >>>> >>>>> 3. When you get a error page, don't do a "Select all, copy" and paste >>>>> it here. Rather in your browser go to (File -> Save as -> Webpage (html) ) >>>>> and send that along. >>>>> >>>> >>>> I am also attaching the html file. >>>> >>>> I am also attaching settings_local.py file. >>>> >>>> >>>> >>>>> On Fri, Jan 21, 2011 at 5:54 PM, Aravind Ayyagari < >>>>> [email protected]> wrote: >>>>> >>>>>> I am attaching the settings_local.py file and HTML of the error page. >>>>>> >>>>>> >>>>>> On Fri, Jan 21, 2011 at 1:52 AM, Christian Hammond < >>>>>> [email protected]> wrote: >>>>>> >>>>>>> I still need the settings_local.py file to be able to tell you more, >>>>>>> and the actual HTML of the error page when DEBUG = True. >>>>>>> >>>>>>> I suspect the ownership of the directory containing the database is >>>>>>> wrong, though. It should, like the database itself, be writeable by the >>>>>>> web >>>>>>> server. >>>>>>> >>>>>>> >>>>>>> Christian >>>>>>> >>>>>>> -- >>>>>>> Christian Hammond - [email protected] >>>>>>> Review Board - http://www.reviewboard.org >>>>>>> VMware, Inc. - http://www.vmware.com >>>>>>> >>>>>>> >>>>>>> On Thu, Jan 20, 2011 at 8:09 PM, Aravind Ayyagari < >>>>>>> [email protected]> wrote: >>>>>>> >>>>>>>> Sorry it's my mistake, that one was the HTML output after changing >>>>>>>> the DEBUG option to True. What are the changes that i should make >>>>>>>> regarding >>>>>>>> the error messages in error log file ? >>>>>>>> >>>>>>>> >>>>>>>> On Thu, Jan 20, 2011 at 8:28 PM, Christian Hammond < >>>>>>>> [email protected]> wrote: >>>>>>>> >>>>>>>>> I think you sent the wrong thing for the settings file. It looks >>>>>>>>> like the HTML debug output, but copy/pasted. Make sure it's File -> >>>>>>>>> Save'd, >>>>>>>>> as it needs to be complete with all the contained javascript for >>>>>>>>> grabbing >>>>>>>>> stack traces. >>>>>>>>> >>>>>>>>> >>>>>>>>> Christian >>>>>>>>> >>>>>>>>> -- >>>>>>>>> Christian Hammond - [email protected] >>>>>>>>> Review Board - http://www.reviewboard.org >>>>>>>>> VMware, Inc. - http://www.vmware.com >>>>>>>>> >>>>>>>>> >>>>>>>>> On Thu, Jan 20, 2011 at 6:02 PM, Aravind Ayyagari < >>>>>>>>> [email protected]> wrote: >>>>>>>>> >>>>>>>>>> >>>>>>>>>> I am attaching both error log as well as conf/settings_local.py >>>>>>>>>> file, can you please point me what i should do next. Thanks a lot >>>>>>>>>> for your >>>>>>>>>> help. >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> On Wed, Jan 19, 2011 at 11:16 PM, Christian Hammond < >>>>>>>>>> [email protected]> wrote: >>>>>>>>>> >>>>>>>>>>> Check your web server's error log and see if there are any errors >>>>>>>>>>> there. >>>>>>>>>>> >>>>>>>>>>> If not, edit your site's conf/settings_local.py file and set >>>>>>>>>>> DEBUG to True (capital T). Then restart the web server and try >>>>>>>>>>> again. You >>>>>>>>>>> should have something more useful to help diagnose the problem. If >>>>>>>>>>> it's not >>>>>>>>>>> obvious there, you can e-mail the file (as an attachment, please) >>>>>>>>>>> and we'll >>>>>>>>>>> take a look. >>>>>>>>>>> >>>>>>>>>>> Christian >>>>>>>>>>> >>>>>>>>>>> -- >>>>>>>>>>> Christian Hammond - [email protected] >>>>>>>>>>> >>>>>>>>>>> Review Board - http://www.reviewboard.org >>>>>>>>>>> VMware, Inc. - http://www.vmware.com >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> On Wed, Jan 19, 2011 at 10:45 PM, Aravind >>>>>>>>>>> <[email protected]>wrote: >>>>>>>>>>> >>>>>>>>>>>> @ christian - Thank you for ur help. Actually i asked that >>>>>>>>>>>> question >>>>>>>>>>>> because i was having a problem opening the site in browser. I >>>>>>>>>>>> was >>>>>>>>>>>> getting an error : "Review Board is taking a nap". I thought >>>>>>>>>>>> changing >>>>>>>>>>>> the ownership might be the problem, but even after changing the >>>>>>>>>>>> ownership it is not working. Can you please help me out on >>>>>>>>>>>> advising me >>>>>>>>>>>> some solution ? >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> On Jan 20, 12:26 am, Christian Hammond <[email protected]> >>>>>>>>>>>> wrote: >>>>>>>>>>>> > Hi Aravind, >>>>>>>>>>>> > >>>>>>>>>>>> > Actually, let me first advise you not to use SQLite for >>>>>>>>>>>> anything other than >>>>>>>>>>>> > a very simple test installation. If you do, don't expect to >>>>>>>>>>>> migrate the data >>>>>>>>>>>> > to another database. SQLite doesn't really scale for any more >>>>>>>>>>>> than a couple >>>>>>>>>>>> > users. I recommend MySQL or PostgreSQL. >>>>>>>>>>>> > >>>>>>>>>>>> > What that documentation is saying is that you need to change >>>>>>>>>>>> ownership to >>>>>>>>>>>> > be, probably, www-data. That's done like: >>>>>>>>>>>> > >>>>>>>>>>>> > sudo chown www-data:www-data db >>>>>>>>>>>> > >>>>>>>>>>>> > chown is used for changing ownership to a user/group. The >>>>>>>>>>>> parameter is in >>>>>>>>>>>> > user:group format. >>>>>>>>>>>> > >>>>>>>>>>>> > The username and group will depend on the distro and the >>>>>>>>>>>> username for the >>>>>>>>>>>> > service, so you'd have to look it up. You can probably figure >>>>>>>>>>>> out which one >>>>>>>>>>>> > by looking at /etc/passwd. >>>>>>>>>>>> > >>>>>>>>>>>> > Christian >>>>>>>>>>>> > >>>>>>>>>>>> > -- >>>>>>>>>>>> > Christian Hammond - [email protected] >>>>>>>>>>>> > Review Board -http://www.reviewboard.org >>>>>>>>>>>> > VMware, Inc. -http://www.vmware.com >>>>>>>>>>>> > >>>>>>>>>>>> > >>>>>>>>>>>> > >>>>>>>>>>>> > >>>>>>>>>>>> > >>>>>>>>>>>> > >>>>>>>>>>>> > >>>>>>>>>>>> > On Wed, Jan 19, 2011 at 10:01 PM, Aravind < >>>>>>>>>>>> [email protected]> wrote: >>>>>>>>>>>> > > " If you’re using SQLite as your database, you will also >>>>>>>>>>>> need to >>>>>>>>>>>> > > change the ownership of the site’s db directory to match the >>>>>>>>>>>> web >>>>>>>>>>>> > > server’s user. Otherwise, you may receive an Internal Server >>>>>>>>>>>> Error >>>>>>>>>>>> > > when accessing the site." >>>>>>>>>>>> > >>>>>>>>>>>> > > I am new to linux and found the above statement in review >>>>>>>>>>>> board >>>>>>>>>>>> > > installment document. Can any one please tell me how to >>>>>>>>>>>> resolve this >>>>>>>>>>>> > > issue. Thanks in advance. >>>>>>>>>>>> > >>>>>>>>>>>> > > -- >>>>>>>>>>>> > > Want to help the Review Board project? Donate today at >>>>>>>>>>>> > >http://www.reviewboard.org/donate/ >>>>>>>>>>>> > > Happy user? Let us know athttp://www.reviewboard.org/users/ >>>>>>>>>>>> > > -~----------~----~----~----~------~----~------~--~--- >>>>>>>>>>>> > > To unsubscribe from this group, send email to >>>>>>>>>>>> > > [email protected]<reviewboard%[email protected]> >>>>>>>>>>>> <reviewboard%2Bunsubscribe@googlegr oups.com> >>>>>>>>>>>> > > For more options, visit this group at >>>>>>>>>>>> > >http://groups.google.com/group/reviewboard?hl=en >>>>>>>>>>>> >>>>>>>>>>>> -- >>>>>>>>>>>> Want to help the Review Board project? Donate today at >>>>>>>>>>>> http://www.reviewboard.org/donate/ >>>>>>>>>>>> Happy user? Let us know at http://www.reviewboard.org/users/ >>>>>>>>>>>> -~----------~----~----~----~------~----~------~--~--- >>>>>>>>>>>> To unsubscribe from this group, send email to >>>>>>>>>>>> [email protected]<reviewboard%[email protected]> >>>>>>>>>>>> For more options, visit this group at >>>>>>>>>>>> http://groups.google.com/group/reviewboard?hl=en >>>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> -- >>>>>>>>>>> Want to help the Review Board project? Donate today at >>>>>>>>>>> http://www.reviewboard.org/donate/ >>>>>>>>>>> Happy user? Let us know at http://www.reviewboard.org/users/ >>>>>>>>>>> -~----------~----~----~----~------~----~------~--~--- >>>>>>>>>>> To unsubscribe from this group, send email to >>>>>>>>>>> [email protected]<reviewboard%[email protected]> >>>>>>>>>>> For more options, visit this group at >>>>>>>>>>> http://groups.google.com/group/reviewboard?hl=en >>>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> -- >>>>>>>>>> Aravind >>>>>>>>>> >>>>>>>>>> -- >>>>>>>>>> Want to help the Review Board project? Donate today at >>>>>>>>>> http://www.reviewboard.org/donate/ >>>>>>>>>> Happy user? Let us know at http://www.reviewboard.org/users/ >>>>>>>>>> -~----------~----~----~----~------~----~------~--~--- >>>>>>>>>> To unsubscribe from this group, send email to >>>>>>>>>> [email protected]<reviewboard%[email protected]> >>>>>>>>>> For more options, visit this group at >>>>>>>>>> http://groups.google.com/group/reviewboard?hl=en >>>>>>>>>> >>>>>>>>> >>>>>>>>> -- >>>>>>>>> Want to help the Review Board project? Donate today at >>>>>>>>> http://www.reviewboard.org/donate/ >>>>>>>>> Happy user? Let us know at http://www.reviewboard.org/users/ >>>>>>>>> -~----------~----~----~----~------~----~------~--~--- >>>>>>>>> To unsubscribe from this group, send email to >>>>>>>>> [email protected]<reviewboard%[email protected]> >>>>>>>>> For more options, visit this group at >>>>>>>>> http://groups.google.com/group/reviewboard?hl=en >>>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> -- >>>>>>>> Aravind >>>>>>>> >>>>>>>> -- >>>>>>>> Want to help the Review Board project? Donate today at >>>>>>>> http://www.reviewboard.org/donate/ >>>>>>>> Happy user? Let us know at http://www.reviewboard.org/users/ >>>>>>>> -~----------~----~----~----~------~----~------~--~--- >>>>>>>> To unsubscribe from this group, send email to >>>>>>>> [email protected]<reviewboard%[email protected]> >>>>>>>> For more options, visit this group at >>>>>>>> http://groups.google.com/group/reviewboard?hl=en >>>>>>>> >>>>>>> >>>>>>> -- >>>>>>> Want to help the Review Board project? Donate today at >>>>>>> http://www.reviewboard.org/donate/ >>>>>>> Happy user? Let us know at http://www.reviewboard.org/users/ >>>>>>> -~----------~----~----~----~------~----~------~--~--- >>>>>>> To unsubscribe from this group, send email to >>>>>>> [email protected]<reviewboard%[email protected]> >>>>>>> For more options, visit this group at >>>>>>> http://groups.google.com/group/reviewboard?hl=en >>>>>>> >>>>>> >>>>>> >>>>>> >>>>>> -- >>>>>> Aravind >>>>>> >>>>>> -- >>>>>> Want to help the Review Board project? Donate today at >>>>>> http://www.reviewboard.org/donate/ >>>>>> Happy user? Let us know at http://www.reviewboard.org/users/ >>>>>> -~----------~----~----~----~------~----~------~--~--- >>>>>> To unsubscribe from this group, send email to >>>>>> [email protected]<reviewboard%[email protected]> >>>>>> For more options, visit this group at >>>>>> http://groups.google.com/group/reviewboard?hl=en >>>>>> >>>>> >>>>> -- >>>>> Want to help the Review Board project? Donate today at >>>>> http://www.reviewboard.org/donate/ >>>>> Happy user? Let us know at http://www.reviewboard.org/users/ >>>>> -~----------~----~----~----~------~----~------~--~--- >>>>> To unsubscribe from this group, send email to >>>>> [email protected]<reviewboard%[email protected]> >>>>> For more options, visit this group at >>>>> http://groups.google.com/group/reviewboard?hl=en >>>>> >>>> >>>> >>>> >>>> -- >>>> Aravind >>>> >>>> -- >>>> Want to help the Review Board project? Donate today at >>>> http://www.reviewboard.org/donate/ >>>> Happy user? Let us know at http://www.reviewboard.org/users/ >>>> -~----------~----~----~----~------~----~------~--~--- >>>> To unsubscribe from this group, send email to >>>> [email protected]<reviewboard%[email protected]> >>>> For more options, visit this group at >>>> http://groups.google.com/group/reviewboard?hl=en >>>> >>> >>> -- >>> Want to help the Review Board project? Donate today at >>> http://www.reviewboard.org/donate/ >>> Happy user? Let us know at http://www.reviewboard.org/users/ >>> -~----------~----~----~----~------~----~------~--~--- >>> To unsubscribe from this group, send email to >>> [email protected]<reviewboard%[email protected]> >>> For more options, visit this group at >>> http://groups.google.com/group/reviewboard?hl=en >>> >> >> >> >> -- >> Aravind >> >> -- >> Want to help the Review Board project? Donate today at >> http://www.reviewboard.org/donate/ >> Happy user? Let us know at http://www.reviewboard.org/users/ >> -~----------~----~----~----~------~----~------~--~--- >> To unsubscribe from this group, send email to >> [email protected]<reviewboard%[email protected]> >> For more options, visit this group at >> http://groups.google.com/group/reviewboard?hl=en >> > > -- > Want to help the Review Board project? Donate today at > http://www.reviewboard.org/donate/ > Happy user? Let us know at http://www.reviewboard.org/users/ > -~----------~----~----~----~------~----~------~--~--- > To unsubscribe from this group, send email to > [email protected]<reviewboard%[email protected]> > For more options, visit this group at > http://groups.google.com/group/reviewboard?hl=en > -- Aravind -- Want to help the Review Board project? Donate today at http://www.reviewboard.org/donate/ Happy user? Let us know at http://www.reviewboard.org/users/ -~----------~----~----~----~------~----~------~--~--- To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/reviewboard?hl=en
