Solved

Running Bugzilla get Perl compilation error can't locate data/params in @INC

Posted on 2003-12-03
10
1,506 Views
Last Modified: 2012-08-14
RH3.0, Bugzilla 2.16.4, post configuration perl script, when loading index.cgi into a browser I get the following:

Software error:

Can't locate data/params in @INC (@INC contains: . /usr/lib/perl5/5.8.0/i386-linux-thread-multi /usr/lib/perl5/5.8.0 /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.0 /usr/lib/perl5/vendor_perl) at globals.pl line 1448.

For help, please send mail to the webmaster, giving this error message and the time and date of the error.
Software error:

[Wed Dec  3 09:02:20 2003] index.cgi: Can't locate data/params in @INC (@INC contains: . /usr/lib/perl5/5.8.0/i386-linux-thread-multi /usr/lib/perl5/5.8.0 /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.0 /usr/lib/perl5/vendor_perl) at globals.pl line 1448.
Compilation failed in require at /var/www/html/bugzilla-2.16.4/index.cgi line 38.

For help, please send mail to the webmaster, giving this error message and the time and date of the error.
0
Comment
Question by:gbpenn
  • 4
  • 3
10 Comments
 
LVL 20

Expert Comment

by:jmcg
ID: 9868446
I think you may have been bitten by a variant of this bug:

http://bugzilla.mozilla.org/show_bug.cgi?id=139930

In any case, you need to create a data/params file in the Bugzilla directory. It may be possible to get started by loading editparams.cgi directly in your browser rather than index.cgi -- I don't have a way to check this.

Does running the ./checksetup.pl script produce anything interesting?
0
 

Author Comment

by:gbpenn
ID: 9868508
No, this was not the issue.  The answer lies here: http://ricardo.ecn.wfu.edu/~plug/mail_archive/0101/0306.html

A path was required to manually add to the @INC variable.  Once it found the files then I encountered a permissions problem (these seem to be rampant in Bugzilla but this is for internal dev anyway so I just opened it up).

Now I'm getting another error:
Software error:

LOCK TABLES shadowlog WRITE,  tokens WRITE: Table 'bugs.shadowlog' doesn't exist at globals.pl line 279.
0
 
LVL 20

Expert Comment

by:jmcg
ID: 9869012
I've not installed Bugzilla, so I don't have a basis for true expertise. From what you're encountering, I'd have to say that is is "not ready for prime time" if you have to do a lot of undocumented configuration and debugging to get it to work.
0
 
LVL 2

Expert Comment

by:ultimatemike
ID: 9875299
I would like to point out that your version of RH (and the kernel) is quite old. Although this may not be causing the problem, it is also a possibilty.
0
Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

 

Accepted Solution

by:
gbpenn earned 0 total points
ID: 9876063
The version of RedHat I'm running is the newest release available on the market today.  I should have better defined, this is Red Hat ENTERPRISE version 3.0, using the 2.4+ enterprise kernel with some instructions included from the 2.6 kernel yet to be released.

This is a known, stable product.  Sorry for the miscommunication.

Per the prior comment about "not ready for prime time" are you aware that Bugzilla is:
1) The industry standard bug tracking application on the market and open source
2) Used by the likes of Mozilla foundation, RedHat and IBM?
3) Based on that argument none of us should be running FreeBSD, WebLogic or any other complex application to setup because they "might not be ready for prime time". :)  

Either way, the issue is now resolved.  The answer was to modify some parameters in the checksetup.pl file, then re-run it after manually removing the (evidently) corrupted MySQL database.  This cleared up all db issues.  I ran into a few additional issues with permissions but have since resolved them.

Thanks for everyone's help and input.
0
 
LVL 20

Expert Comment

by:jmcg
ID: 9894455
Sure, I'm aware of those things about Bugzilla. I've _used_ Bugzilla. I watched from a distance as a colleague struggled to get it installed and running the way he wanted. I'll stand by the assessment of "not ready for prime time". It's a tool that needs a savvy person like him or you to get it installed and working. That's not the "prime time" audience. Based on the way you asked your questions here, I was still trying to figure out if you were a member of that audience or not.

Now that you've solved this question, I recommend you go to Community Support and request that a moderator PAQ this question and refund your points.
0
 
LVL 20

Expert Comment

by:jmcg
ID: 9901826
I had suggested that the question be PAQed. I don't think we did anything that should be rewarded with points, but I'd like to see this question stay in the database.
0
 

Author Comment

by:gbpenn
ID: 9905209
GhostMod, my post asked for a refund of points, NOT deletion, just to clarify.
0

Featured Post

Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

Join & Write a Comment

Many time we need to work with multiple files all together. If its windows system then we can use some GUI based editor to accomplish our task. But what if you are on putty or have only CLI(Command Line Interface) as an option to  edit your files. I…
A year or so back I was asked to have a play with MongoDB; within half an hour I had downloaded (http://www.mongodb.org/downloads),  installed and started the daemon, and had a console window open. After an hour or two of playing at the command …
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

706 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now