Bugzilla homepage showing readonly sqlite error.

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Bugzilla homepage showing readonly sqlite error.

pk.mcura
1)I have used IIS Server to install bugzilla. Our server is already in working mode.
2) Added necessary handler maps for cgi and pl.
3) As I can see via cmd promt bugzilla has successfully installed.
4) On hitting testserver.pl, it is showing following info

i) TEST-OK Got padlock picture
ii) TEST-OK Webserver is executing CGIs via mod_cgi.
iii) TEST-OK Webserver is preventing fetch of http://localhost/bugzilla/localconfig
iv) TEST-OK GD library generated a good PNG image.
v) TEST-OK Chart library generated a good PNG image.
vi) TEST-OK Template::Plugin::GD is installed.

but when I access bugzilla on localhost. I got following error.

Software error:

DBD::SQLite::db do failed: attempt to write a readonly database at Bugzilla/DB/Sqlite.pm line 125, <DATA> line 1.
        Bugzilla::DB::Sqlite::new("Bugzilla::DB::Sqlite", HASH(0x4318888)) called at Bugzilla/DB.pm line 134
        Bugzilla::DB::_connect(HASH(0x4318888)) called at Bugzilla/DB.pm line 119
        Bugzilla::DB::connect_main() called at Bugzilla.pm line 428
        Bugzilla::dbh_main("Bugzilla") called at Bugzilla.pm line 424
        Bugzilla::dbh("Bugzilla") called at Bugzilla/Auth/Login/Cookie.pm line 35
        Bugzilla::Auth::Login::Cookie::get_login_info(Bugzilla::Auth::Login::Cookie=HASH(0x47c3f0)) called at Bugzilla/Auth/Login/Stack.pm line 52
        Bugzilla::Auth::Login::Stack::get_login_info(Bugzilla::Auth::Login::Stack=HASH(0x46fc78)) called at Bugzilla/Auth.pm line 51
        Bugzilla::Auth::login(Bugzilla::Auth=HASH(0x46fa08), 0) called at Bugzilla.pm line 328
        Bugzilla::login("Bugzilla", 0) called at C:\bugzilla\index.cgi line 22
For help, please send mail to this site's webmaster, giving this error message and the time and date of the error.

[Tue Mar 28 15:05:10 2017] index.cgi: DBD::SQLite::db do failed: attempt to write a readonly database at Bugzilla/DB/Sqlite.pm line 125, line 1. [Tue Mar 28 15:05:10 2017] index.cgi: Bugzilla::DB::Sqlite::new("Bugzilla::DB::Sqlite", HASH(0x4318888)) called at Bugzilla/DB.pm line 134 [Tue Mar 28 15:05:10 2017] index.cgi: Bugzilla::DB::_connect(HASH(0x4318888)) called at Bugzilla/DB.pm line 119 [Tue Mar 28 15:05:10 2017] index.cgi: Bugzilla::DB::connect_main() called at Bugzilla.pm line 428 [Tue Mar 28 15:05:10 2017] index.cgi: Bugzilla::dbh_main("Bugzilla") called at Bugzilla.pm line 424 [Tue Mar 28 15:05:10 2017] index.cgi: Bugzilla::dbh("Bugzilla") called at Bugzilla/Auth/Login/Cookie.pm line 35 [Tue Mar 28 15:05:10 2017] index.cgi: Bugzilla::Auth::Login::Cookie::get_login_info(Bugzilla::Auth::Login::Cookie=HASH(0x47c3f0)) called at Bugzilla/Auth/Login/Stack.pm line 52 [Tue Mar 28 15:05:10 2017] index.cgi: Bugzilla::Auth::Login::Stack::get_login_info(Bugzilla::Auth::Login::S
 tack=HASH(0x46fc78)) called at Bugzilla/Auth.pm line 51 [Tue Mar 28 15:05:10 2017] index.cgi: Bugzilla::Auth::login(Bugzilla::Auth=HASH(0x46fa08), 0) called at Bugzilla.pm line 328 [Tue Mar 28 15:05:10 2017] index.cgi: Bugzilla::login("Bugzilla", 0) called at C:\bugzilla\index.cgi line 22

what is the solution for this error. Please reply ASAP.



_______________________________________________
support-bugzilla mailing list
[hidden email]
https://lists.mozilla.org/listinfo/support-bugzilla
PLEASE put [hidden email] in the To: field when you reply.
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Bugzilla homepage showing readonly sqlite error.

Gervase Markham
On 28/03/17 11:44, [hidden email] wrote:
> DBD::SQLite::db do failed: attempt to write a readonly database at Bugzilla/DB/Sqlite.pm line 125, <DATA> line 1.

SQLite is only for testing purposes; do not use it in production.

Look in $BUGZILLA_HOME/data (I think) to find the SQLite database file.
Make sure it's not read-only.

Gerv

_______________________________________________
support-bugzilla mailing list
[hidden email]
https://lists.mozilla.org/listinfo/support-bugzilla
PLEASE put [hidden email] in the To: field when you reply.
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Bugzilla homepage showing readonly sqlite error.

pk.mcura
On Tuesday, March 28, 2017 at 3:16:55 PM UTC+5:30, Gervase Markham wrote:
> On 28/03/17 11:44, [hidden email] wrote:
> > DBD::SQLite::db do failed: attempt to write a readonly database at Bugzilla/DB/Sqlite.pm line 125, <DATA> line 1.
>
> SQLite is only for testing purposes; do not use it in production.
>
> Look in $BUGZILLA_HOME/data (I think) to find the SQLite database file.
> Make sure it's not read-only.
>
> Gerv

I found db file made it read-write, again when I go to home page, it automatically becomes readonly.
_______________________________________________
support-bugzilla mailing list
[hidden email]
https://lists.mozilla.org/listinfo/support-bugzilla
PLEASE put [hidden email] in the To: field when you reply.
Loading...