[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Help-gnats Digest, Vol 19, Issue 18
From: |
Chad Walstrom |
Subject: |
Re: Help-gnats Digest, Vol 19, Issue 18 |
Date: |
Tue, 22 Jun 2004 13:29:51 -0500 |
User-agent: |
Mutt/1.5.6+20040523i |
Adam Cade wrote:
> Anyone got the commands to check the version of gnatsweb and the
> version of gnatsd?
Depends upon where it's installed. With Debian packages, you type 'dpkg
-l' and grep for gnats. On Red Hat, I believe you use 'rpm -q'
commands. If you installed them by hand, look at the version on the
tarball.
All else fails, telnet to the host port:
shell$ telnet localhost 1529
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
200 host.domain.tld GNATS server 4.0 ready.
QUIT
201 Later.
Connection closed by foreign host.
and read the banner version for gnatsd. For gnatsweb, grep the source
code file (e.g. /usr/lib/cgi-bin/gnatsweb.pl) for VERSION.
shell$ grep -n VERSION /usr/lib/cgi-bin/gnatsweb.pl
41:$gnats_info_top %site_pr_submission_address $VERSION);
243:$VERSION = '4.00';
1249:X-Send-Pr-Version: gnatsweb-$VERSION ($REVISION)
2970: . "Gnatsweb v$VERSION, Gnats v$GNATS_VERS"
--
Chad Walstrom <address@hidden> http://www.wookimus.net/
assert(expired(knowledge)); /* core dump */
signature.asc
Description: Digital signature