Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Error in Bugzilla

300 views
Skip to first unread message

pramila khamkar

unread,
Feb 2, 2012, 7:27:46 AM2/2/12
to support-...@lists.mozilla.org
Software error:

Can't rename data\params.yrbmq to ./data/params: Permission denied at
Bugzilla/Config.pm line 301.

For help, please send mail to this site's webmaster, giving this error
message and the time and date of the error.
[Thu Feb 2 17:03:49 2012] editparams.cgi: Can't rename data\params.yrbmq to
./data/params: Permission denied at Bugzilla/Config.pm line 301.

I have just configured Bugzilla,as guided by pdf
when i go to set parameter it will give me error stated above.
your help is appriciable,

Thanks,

rojanu

unread,
Feb 2, 2012, 12:48:45 PM2/2/12
to
Seems like permissions errors, check the apache user setting in
localconfig and run checksetup.pl again

pramila khamkar

unread,
Feb 3, 2012, 1:01:21 AM2/3/12
to
Thanks for your reply.
I am using IIS as server,mysql as db
I am installing it in windows XP,
I didnt get where to do changes for permissions.
and if the changes are in localconfig,what are the changes.
I googled a lot but i can't get solutions

Thanks

R. Gratis

unread,
Feb 3, 2012, 9:29:37 AM2/3/12
to
Whatever user account IIS runs as needs full control permissions on
the data folder of your Bugzilla directory (<bugzilla main folder>
\data) and all its files/subfolders. It looks like IIS can't write to
the params file.

Apply the Full Control security permissions to the bugzilla\data
folder. This article has a walkthrough with screenshots:
http://koderguru.com/tutorials/phptutorials/permissiondenyiis.php

As a tip, I find that if I set the correct security permissions on the
main folder, then always copy files into that folder, the correct
permissions get set. If I move files by dragging them into the
folder, I sometimes run into problems with the file permissions.

pramila khamkar

unread,
Feb 3, 2012, 11:55:00 PM2/3/12
to
On Feb 3, 6:29 am, "R. Gratis" <webmistr...@indyslair.net> wrote:
> On Feb 3, 1:01 am, pramila khamkar <pramila1...@gmail.com> wrote:
>
>
>
>
>
>
>
>
>
> > On Feb 2, 9:48 am, rojanu <alius...@gmail.com> wrote:
>
> > > On Feb 2, 12:27 pm, pramila khamkar <pramila1...@gmail.com> wrote:
>
> > > > Software error:
>
> > > > Can't rename data\params.yrbmq to ./data/params:Permissiondeniedat
> > > >Bugzilla/Config.pmline 301.
>
> > > > For help, please send mail to this site's webmaster, giving this error
> > > > message and the time and date of the error.
> > > > [Thu Feb 2 17:03:49 2012] editparams.cgi: Can't rename data\params.yrbmq to
> > > > ./data/params:PermissiondeniedatBugzilla/Config.pmline 301.
>
> > > > I have just configured Bugzilla,as guided by pdf
> > > > when i go to set parameter it will give me error stated above.
> > > > your help is appriciable,
>
> > > > Thanks,
>
> > > Seems like permissions errors, check the apache user setting in
> > > localconfig and run checksetup.pl again
>
> > Thanks for your reply.
> > I am using IIS as server,mysql as db
> > I am installing it in windows XP,
> > I didnt get where to do changes for permissions.
> > and if the changes are in localconfig,what are the changes.
> > I googled a lot but i can't get solutions
>
> > Thanks
>
> Whatever user account IIS runs as needs full control permissions on
> the data folder of your Bugzilla directory (<bugzilla main folder>
> \data) and all its files/subfolders.  It looks like IIS can't write to
> the params file.
>
> Apply the Full Control security permissions to the bugzilla\data
> folder.  This article has a walkthrough with screenshots:http://koderguru.com/tutorials/phptutorials/permissiondenyiis.php
>
> As a tip, I find that if I set the correct security permissions on the
> main folder, then always copy files into that folder, the correct
> permissions get set.  If I move files by dragging them into the
> folder, I sometimes run into problems with the file permissions.

Thanks a lot.....
It works,The issue is with permissions,
after setting folder permission the parameters page getting updated.
I want some what help again,
When i run testserver.pl

C:\bugzilla-4.0.4>testserver.pl http://192.168.1.15/bugzilla_4.0.4
TEST-OK Got padlock picture.
.EST-OK Webserver is executing CGIs via mod_cgi
TEST-FAILED Webserver is permitting fetch of http://192.168.1.15/bugzilla_4.0.4/
localconfig.
This is a serious security problem.
Check your web server configuration.

how to disable remote accessing to bugzilla file,
I didnt getting it anywhere.
Once again thanks a lot.

R. Gratis

unread,
Feb 4, 2012, 9:57:48 AM2/4/12
to
> C:\bugzilla-4.0.4>testserver.plhttp://192.168.1.15/bugzilla_4.0.4
> TEST-OK Got padlock picture.
> .EST-OK Webserver is executing CGIs via mod_cgi
> TEST-FAILED Webserver is permitting fetch ofhttp://192.168.1.15/bugzilla_4.0.4/
> localconfig.
> This is a serious security problem.
> Check your web server configuration.
>
> how to disable remote accessing to bugzilla file,
> I didnt getting it anywhere.
> Once again thanks a lot.

I couldn't find a walk-through for this online, but you should be able
to do the opposite of what you did for the data folder.
Edit Security Properties on the localconfig file, and take away all
permissions for the IIS accounts (IUSR/IWAM).

Other sensitive folders/files are listed in the Bugzilla manual:
http://www.bugzilla.org/docs/tip/en/html/security-webserver.html#security-webserver-access

You should take away IIS security permissions for those files too as
necessary. Hope that helps!
0 new messages