Re: OS Error 2

2014-10-13 Thread shravanthi s

>
> The issue was fixed after i added PATH variable in /etc/sysconfig/httpd 
> file on my RHEL server. Thanks for your help!
>

Shravanthi
EMC2 

-- 
Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/
---
Sign up for Review Board hosting at RBCommons: https://rbcommons.com/
---
Happy user? Let us know at http://www.reviewboard.org/users/
--- 
You received this message because you are subscribed to the Google Groups 
"reviewboard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: OS Error 2

2014-09-16 Thread David Trowbridge
Depending on the version of apache that you're running, SetEnv may not be
able to set PATH (note that even if you are running 2.4, it doesn't support
using $PATH in the value--you'd have to list all of the path entries
explicitly).

Some linux distribution contain a file such as /etc/apache/envvars which
can be used to set the PATH. Alternatively, you could create a symbolic
link to cleartool in /usr/bin or another accessible location.

-David

On Tue, Sep 16, 2014 at 6:51 AM, shravanthi s  wrote:

> We have included line
>>
> " SetEnv PATH /usr/atria/bin:$PATH  " in httpd.conf file (path where
> cleartool resides). But we are still not able to get it working. Any other
> place we can look at? We are still unable to root cause the issue.
>
> --
> Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/
> ---
> Sign up for Review Board hosting at RBCommons: https://rbcommons.com/
> ---
> Happy user? Let us know at http://www.reviewboard.org/users/
> ---
> You received this message because you are subscribed to the Google Groups
> "reviewboard" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to reviewboard+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/
---
Sign up for Review Board hosting at RBCommons: https://rbcommons.com/
---
Happy user? Let us know at http://www.reviewboard.org/users/
--- 
You received this message because you are subscribed to the Google Groups 
"reviewboard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: OS Error 2

2014-09-16 Thread shravanthi s

>
> We have included line 
>
" SetEnv PATH /usr/atria/bin:$PATH  " in httpd.conf file (path where 
cleartool resides). But we are still not able to get it working. Any other 
place we can look at? We are still unable to root cause the issue.

-- 
Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/
---
Sign up for Review Board hosting at RBCommons: https://rbcommons.com/
---
Happy user? Let us know at http://www.reviewboard.org/users/
--- 
You received this message because you are subscribed to the Google Groups 
"reviewboard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: OS Error 2

2014-09-15 Thread David Trowbridge
The likely cause is that the web server's PATH environment variable does not 
contain the location of cleartool. You can use the apache SetEnv directive to 
fix this.

-David

On Sep 15, 2014, at 3:52 AM, shravanthi s  wrote:

>> Hi, 
> 
> Can you please let us know why we are getting this error?  Our linux server 
> where Review Board was hosted (RHEL 6.5), was patched by out IT dept. Since 
> then our review board stopped working. So we rebooted the server with older 
> kernel and we were able to get the application up and running. However, when 
> we click on a review request (with clearcase as repository) we are getting 
> the error as mentioned above. This is critical as our production is down and 
> users are not able to check in code due to review requests which are not 
> working. 
> 
> The application is working fine when used with a svn repository. 
> 
> Also when i ran cleartool commands on reviewboard server, it was working 
> properly. So it looks like clearcase is working on reviewboard server. So we 
> are not sure what else has gone wrong. Some path which was set wrongly due to 
> patching? Please assist asap! We need to get it up and running sooner. Let me 
> know if you need any other info
> 
> Thanks,
> Shravanthi
> -- 
> Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/
> ---
> Sign up for Review Board hosting at RBCommons: https://rbcommons.com/
> ---
> Happy user? Let us know at http://www.reviewboard.org/users/
> --- 
> You received this message because you are subscribed to the Google Groups 
> "reviewboard" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to reviewboard+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

-- 
Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/
---
Sign up for Review Board hosting at RBCommons: https://rbcommons.com/
---
Happy user? Let us know at http://www.reviewboard.org/users/
--- 
You received this message because you are subscribed to the Google Groups 
"reviewboard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: OS Error 2

2014-09-15 Thread shravanthi s

>
> Hi, 
>

Can you please let us know why we are getting this error?  Our linux server 
where Review Board was hosted (RHEL 6.5), was patched by out IT dept. Since 
then our review board stopped working. So we rebooted the server with older 
kernel and we were able to get the application up and running. However, 
when we click on a review request (with clearcase as repository) we are 
getting the error as mentioned above. This is critical as our *production 
is down* and users are not able to check in code due to review requests 
which are not working. 

The application is working fine when used with a svn repository. 

Also when i ran cleartool commands on reviewboard server, it was working 
properly. So it looks like clearcase is working on reviewboard server. So 
we are not sure what else has gone wrong. Some path which was set wrongly 
due to patching? Please assist asap! We need to get it up and running 
sooner. Let me know if you need any other info

Thanks,
Shravanthi

-- 
Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/
---
Sign up for Review Board hosting at RBCommons: https://rbcommons.com/
---
Happy user? Let us know at http://www.reviewboard.org/users/
--- 
You received this message because you are subscribed to the Google Groups 
"reviewboard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


OS Error 2

2014-09-15 Thread Rakesh G
Hi Christian , 

I am finding the below error in reviewboard , can you please help us out.


OSError at /r/1807/

[Errno 2] No such file or directory

Request Method:GETRequest URL:https://pp-reviewboard.isus.emc.com/r/1807/Django 
Version:1.4.10Exception Type:OSErrorException Value:

[Errno 2] No such file or directory

Exception Location:/usr/lib64/python2.6/subprocess.py in _execute_child, 
line 1234Python Executable:/usr/bin/pythonPython Version:2.6.6Python Path:

['/var/www/pp-reviewboard/conf',
 '/usr/lib/python2.6/site-packages/recaptcha_client-1.0.6-py2.6.egg',
 '/usr/lib/python2.6/site-packages/pytz-2014.1-py2.6.egg',
 '/usr/lib/python2.6/site-packages/python_dateutil-1.5-py2.6.egg',
 '/usr/lib/python2.6/site-packages/Pygments-1.6-py2.6.egg',
 '/usr/lib/python2.6/site-packages/paramiko-1.13.0-py2.6.egg',
 '/usr/lib/python2.6/site-packages/mimeparse-0.1.3-py2.6.egg',
 '/usr/lib/python2.6/site-packages/Markdown-2.4-py2.6.egg',
 '/usr/lib/python2.6/site-packages/docutils-0.11-py2.6.egg',
 '/usr/lib/python2.6/site-packages/django_pipeline-1.2.24-py2.6.egg',
 '/usr/lib/python2.6/site-packages/Djblets-0.7.28-py2.6.egg',
 '/usr/lib/python2.6/site-packages/django_evolution-0.6.9-py2.6.egg',
 '/usr/lib/python2.6/site-packages/Django-1.4.10-py2.6.egg',
 '/usr/lib/python2.6/site-packages/ecdsa-0.11-py2.6.egg',
 '/usr/lib/python2.6/site-packages/pycrypto-2.6.1-py2.6-linux-x86_64.egg',
 '/usr/lib/python2.6/site-packages/PIL-1.1.7-py2.6-linux-x86_64.egg',
 '/usr/lib/python2.6/site-packages/feedparser-5.1.3-py2.6.egg',
 '/usr/lib/python2.6/site-packages/ReviewBoard-1.7.21-py2.6.egg',
 '/usr/lib/python2.6/site-packages/MySQL_python-1.2.5-py2.6-linux-x86_64.egg',
 '/usr/lib64/python26.zip',
 '/usr/lib64/python2.6',
 '/usr/lib64/python2.6/plat-linux2',
 '/usr/lib64/python2.6/lib-tk',
 '/usr/lib64/python2.6/lib-old',
 '/usr/lib64/python2.6/lib-dynload',
 '/usr/lib64/python2.6/site-packages',
 '/usr/lib64/python2.6/site-packages/gtk-2.0',
 '/usr/lib/python2.6/site-packages',
 '/usr/lib/python2.6/site-packages/setuptools-0.6c11-py2.6.egg-info']



*Attached is a stack trace *


Environment:
Request Method: GET
Request URL: https://pp-reviewboard.isus.emc.com/r/1807/

Django Version: 1.4.10
Python Version: 2.6.6
Installed Applications:
['django.contrib.admin',
 'django.contrib.auth',
 'django.contrib.contenttypes',
 'django.contrib.markup',
 'django.contrib.sites',
 'django.contrib.sessions',
 'django.contrib.staticfiles',
 'djblets.datagrid',
 'djblets.extensions',
 'djblets.feedview',
 'djblets.gravatars',
 'djblets.log',
 'djblets.pipeline',
 'djblets.siteconfig',
 'djblets.util',
 'djblets.webapi',
 'pipeline',
 'reviewboard.accounts',
 'reviewboard.admin',
 'reviewboard.attachments',
 'reviewboard.changedescs',
 'reviewboard.diffviewer',
 'reviewboard.extensions',
 'reviewboard.hostingsvcs',
 'reviewboard.notifications',
 'reviewboard.reviews',
 'reviewboard.reviews.ui',
 'reviewboard.scmtools',
 'reviewboard.site',
 'reviewboard.ssh',
 'reviewboard.webapi',
 'django_evolution']
Installed Middleware:
['django.middleware.gzip.GZipMiddleware',
 'reviewboard.admin.middleware.InitReviewBoardMiddleware',
 'django.middleware.clickjacking.XFrameOptionsMiddleware',
 'django.middleware.common.CommonMiddleware',
 'django.middleware.doc.XViewMiddleware',
 'django.middleware.http.ConditionalGetMiddleware',
 'django.middleware.locale.LocaleMiddleware',
 'django.contrib.sessions.middleware.SessionMiddleware',
 'django.contrib.auth.middleware.AuthenticationMiddleware',
 'django.contrib.messages.middleware.MessageMiddleware',
 'djblets.siteconfig.middleware.SettingsMiddleware',
 'reviewboard.admin.middleware.LoadSettingsMiddleware',
 'djblets.extensions.middleware.ExtensionsMiddleware',
 'djblets.log.middleware.LoggingMiddleware',
 'reviewboard.accounts.middleware.TimezoneMiddleware',
 'reviewboard.admin.middleware.CheckUpdatesRequiredMiddleware',
 'reviewboard.admin.middleware.X509AuthMiddleware',
 'reviewboard.site.middleware.LocalSiteMiddleware',
 'djblets.extensions.middleware.ExtensionsMiddlewareRunner']


Traceback:
File 
"/usr/lib/python2.6/site-packages/Django-1.4.10-py2.6.egg/django/core/handlers/base.py"
 
in get_response
  111. response = callback(request, *callback_args, 
**callback_kwargs)
File 
"/usr/lib/python2.6/site-packages/ReviewBoard-1.7.21-py2.6.egg/reviewboard/accounts/decorators.py"
 
in _check
  22. return view_func(*args, **kwargs)
File 
"/usr/lib/python2.6/site-packages/ReviewBoard-1.7.21-py2.6.egg/reviewboard/reviews/views.py"
 
in review_detail
  704. 'screenshots': screenshots,
File 
"/usr/lib/python2.6/site-packages/ReviewBoard-1.7.21-py2.6.egg/reviewboard/reviews/context.py"
 
in make_review_request_context
  15. upload_diff_form = UploadDiffForm(review_request, 
request=request)
File 
"/usr/lib/python2.6/site-packages/ReviewBoard-1.7.21-py2.6.egg/reviewboard/reviews/forms.py"
 
in __init__
  288.  data,