|
GnatsContents Remote resources Local ResourcesInstallation A prebuilt installation can be found at
The following files are installed: /usr/local/bin/edit-pr /usr/local/bin/getclose /usr/local/bin/install-sid /usr/local/bin/nedit-pr /usr/local/bin/nquery-pr /usr/local/bin/query-pr /usr/local/bin/send-pr /usr/local/bin/sub-type /usr/local/doc/gnats/COPYING /usr/local/doc/gnats/COPYING.LIB /usr/local/doc/gnats/CYGNUS /usr/local/doc/gnats/ChangeLog /usr/local/doc/gnats/README /usr/local/lib/libiberty.aHowever, gnatsd is not installed, and gnats web
requires it so we have to rebuild
Source can be found at
But wait!
Gnats 4 can be found at
cvs -d :pserver:anoncvs@sources.redhat.com:/cvs/gnats login password: anoncvs cvs -z9 -d :pserver:anoncvs@sources.redhat.com:/cvs/gnats co -P gnatsNote that you will need to install bison, flex and texinfo before compiling gnats, try: ftp://mirrors.xmission.com/sunfreeware/sparc/8
/usr/local/com/.cshrc and added
/usr/local/bin and /usr/local/libexec/gnats to the
gnats user's path.
su - gnats , and then
ran
mkdb /usr/local/com/gnatsdb /etc/aliases
## Gnats stuff, see /infrax/sysadmin/gnats.htm ## create 04-Apr-2001 cxh gnats-admin: cxh bug-queue: "| /usr/local/libexec/gnats/queue-pr -q" bug-log: "/usr/local/com/adm/bugs.log bugs: bug-queue, bug-log query-pr: "| /usr/local/libexec/gnats/mail-query"then ran newaliases
/usr/local/com/.mycron
As root: echo "gnats" >> /etc/cron.d/cron.allow As gnats crontab .mycron /etc/services
support 1529/tcp # GNATS /etc/inetd.conf
# # Gnats bug handling system # support stream tcp nowait gnats /usr/local/lib/gnats/gnatsd gnatsdAnd then did kill -1 on the inetd process gnatswebGnatsweb can be found at
Gnatsweb problemsCGI version 2.56 required[Wed Apr 4 01:07:47 2001] test.pl: [Wed Apr 4 01:07:47 2001] test.pl: [Wed Ap\ r 4 01:07:47 2001] test.pl: CGI version 2.56 required--this is only version 2.\ 46 at gnatsweb.pl line 96.Solution: upgrade to perl5.6.0 from ftp://mirrors.xmission.com/sunfreeware/sparc/8
Be sure to edit gnatsweb.pl and change /usr/bin/perl to
/usr/local/bin/perl
Can't telnet to the gnatsd portgnats %C2> telnet localhost 1529 Trying 127.0.0.1... Connected to localhost. Escape character is '^]'. Connection closed by foreign host.Solution: Set up adsl-63-197-18-103.dsl.snfc21.pacbell.net:edit mysite.eecs.berkeley.edu:edit www.mysite.org:edit .eecs.berkeley.edu:view *:deny: make test fails with no such databasemysite:root: %C2> make test USERNAME=gnats PASSWORD=rock.sky DATABASE=gnatsdb perl test.pl <h2>Error: HCPRUN417E No such database as gnatsdb </h2> connect...........................................FAILThe fix is to use DATABASE=default .
I figured this out by running truss:
mysite:root: %C2> truss -o /tmp/tr /usr/local/libexec/gnats/gnatsd 200 mysite.eecs.berkeley.edu GNATS server 4.0-alpha ready. chdb gnatsdb 417 No such database as gnatsdb chdb default 210-Now accessing GNATS database 'default' 210 User access level set to 'none'The end of /tmp/tr contains
open("/usr/local/etc/gnats/databases", O_RDONLY) = 3The file /usr/local/etc/gnats/databases contains:
default:Bug database:/usr/local/com/gnatsdb Access deniedmysite:root: contrib/gnatsweb> make test USERNAME=anon PASSWORD=pw DATABASE=default perl test.pl <h2>Error: HCPRUN422E Access denied </h2> connect...........................................FAIL mysite:root: contrib/gnatsweb>Solution: Run truss again, and realize that
gnats:password:edit *:deny: password is the actual password.
Then try running
make test USERNAME=gnats PASSWORD=password DATABASE=defaultIf necessary, edit the makefile and change $(PERL) test.pl $(PERL) -d test.pl Software error, Can't locate MIME/Base64.pmThe solution is to follow the Installation instructions and runperl -MCPAN -e 'install MIME::Base64' Setting up for a new workgroupIf a workgroup wants to set up a bug database, below are the necessary steps. Some of this text comes fromhttp://sources.redhat.com/gnats/gnats4inst.html
|