public inbox for gnats-devel@sourceware.org
 help / color / mirror / Atom feed
* FW: newbie with gnats/gnatsweb more specific problems...
@ 2003-04-11  2:30 Erwin, Richard D
  2003-04-11  6:23 ` Yngve Svendsen
  0 siblings, 1 reply; 2+ messages in thread
From: Erwin, Richard D @ 2003-04-11  2:30 UTC (permalink / raw)
  To: help-gnats; +Cc: Allen, Paul L, Allen, Paul L


When I try to perform the test specified in the gnatsweb documentation, I get:

/usr/local/gnu/bin/make test USERNAME=gnats PASSWD=XXXXXXXX DATABASE=gnats-db
perl test.pl
Can't call method "self_url" on an undefined value at ./gnatsweb-site.pl line 2844, <SOCK> line 2.
connect...........................................FAIL
make: *** [test] Error 255

This is the code where it appears to fail in gnatsweb-site.pl...

  # Login to selected database.
  LOGIN:
  {
    # Issue CHDB command; revert to login page if it fails.
    ($response) = client_cmd("chdb $global_prefs{'database'}");
    if (!$response)
    {
      login_page($q->self_url(), $gnats::ERRSTR);
      exit();
    }

    # Get user permission level from USER command.  Revert to the
    # login page if the command fails.
    ($response) = client_cmd("user $db_prefs{'user'} $db_prefs{'password'}");
    if (!$response)
    {
      login_page($q->self_url(), $gnats::ERRSTR);
      exit();
    }
    $access_level = 'edit';
    if ($response =~ /User access level set to (\w*)/)
    {
      $access_level = $1;
    }
  }

Per the installation guide, I have a working gnats installation.  In my /usr/local/share/gnats/gnats-adm/gnatsd.conf file, as well as in /scratch/gnatsweb-2.93/gnatsweb-site.pl file being used for the test, I point to the specific server and not localhost, but have tried it with localhost, with no improvement.  It is set to "edit" in either case.  

Perl modules CGI.pm 2.89 (with File-Spec-0.8) and MIME:Base64 are in place for Perl 5.6.0, which is pointed to in line 1 of gnatsweb-site.pl.

/etc/gnats-db.conf is setup as follows:
/usr/local/share/gnats/gnats-db:normal,standard,regular

All help greatfully accepted.

Thanks,
Rich Erwin
Boeing SSG - M&CT Support
(425) 865-3414







--Original Message-----
From: Erwin, Richard D 
Sent: Thursday, April 10, 2003 1:19 PM
To: help-gnats@gnu.org
Subject: newbie with gnats/gnatsweb


Folks;

I'm having problems getting gnatsweb to work properly.  I'm using gnats 3.113, gnatsweb 2.9.3 and Solaris 8.  The web server is Apache 1.3.27.

Apache and gnats appears to have installed just fine.  However, the instructions for installing gnatsweb are somewhat vague in spots.  I assume gnatsweb-site.pl goes into the cgi subdirectory of apache, and the two perl modules, CGI.pm and MIME::BASE64 are installed, but testing the setup and such seems to get confusing.

Any help would be gratefully appreciated.

Rich Erwin
Boeing SSG - M&CT Support
(425) 865-3414




_______________________________________________
Help-gnats mailing list
Help-gnats@gnu.org
http://mail.gnu.org/mailman/listinfo/help-gnats


_______________________________________________
Help-gnats mailing list
Help-gnats@gnu.org
http://mail.gnu.org/mailman/listinfo/help-gnats

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: FW: newbie with gnats/gnatsweb more specific problems...
  2003-04-11  2:30 FW: newbie with gnats/gnatsweb more specific problems Erwin, Richard D
@ 2003-04-11  6:23 ` Yngve Svendsen
  0 siblings, 0 replies; 2+ messages in thread
From: Yngve Svendsen @ 2003-04-11  6:23 UTC (permalink / raw)
  To: Erwin, Richard D; +Cc: help-gnats, Allen, Paul L, Allen, Paul L

On Fri, 2003-04-11 at 04:29, Erwin, Richard D wrote:
> When I try to perform the test specified in the gnatsweb documentation, I get:

You should follow the instructions in the TROUBLESHOOTING document that
comes with Gnatsweb. One of the suggestions in there are likely to help.

Yngve Svendsen
Gnatsweb maintainer



_______________________________________________
Help-gnats mailing list
Help-gnats@gnu.org
http://mail.gnu.org/mailman/listinfo/help-gnats

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-04-11  6:23 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-04-11  2:30 FW: newbie with gnats/gnatsweb more specific problems Erwin, Richard D
2003-04-11  6:23 ` Yngve Svendsen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).