The found out bugs in gnugk

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Greetings to all! 
For a long time, since October of the last year, did not try fresh versions of 
gnugk. 
Version 2.2.2 from 2005-03-09 has at least 2 problems:

1) The untrue report on a error in a conf file like this
2005/03/10 07:36:48.691 0            Toolkit.cxx(596)   GK      Syntax error 
in the GWRewriteE164 rule - missing =, rule: PARTNER =>
String in conf file:
[RasSrv::GWRewriteE164]
PARTNER=out=00#7863=0022#7863;out=0022#7=7;out=0022#1=1;out=0022#2=2;out=0022#3=3;out=0022#4=4;out=0022#5=5;out=0022#6=6;out=0022#8=8;out=0022#9=9;
Thus all the rules registered in this line work correctly.

2) System logrotate doesn't wish to work against (RH-based linux system).
The command "logrotate /etc/gnugk/gnugk_logrotate.conf" leads to lag gnugk:
it can't to listen to status port - telnet to status port works, but no 
reaction on any commands, and there isn't any chanse to terminate connection 
without gnugk restart or without killing telnet process;
it can't to write smth to log file;
it can't to service any calls.
Commands "ps ax" and "netstat -nlp" shows all right, but sometimes we can see 
smth like this
8934 pts/3    S<     0:00 /opt/openh323/gnugk-2.2.2 -c 
/etc/gnugk/gnugk-2.2beta5.ini -o /var/log/gnugk/gnugk.log -tttttt
 8936 pts/3    Z<     0:00 [gnugk-2.2.2 <defunct>]
 8937 pts/3    S<     0:00 /opt/openh323/gnugk-2.2.2 -c 
/etc/gnugk/gnugk-2.2beta5.ini -o /var/log/gnugk/gnugk.log -tttttt
 8939 pts/3    S<     0:00 /opt/openh323/gnugk-2.2.2 -c 
/etc/gnugk/gnugk-2.2beta5.ini -o /var/log/gnugk/gnugk.log -tttttt
 8940 pts/3    S<     0:00 /opt/openh323/gnugk-2.2.2 -c 
/etc/gnugk/gnugk-2.2beta5.ini -o /var/log/gnugk/gnugk.log -tttttt
 8941 pts/3    S<     0:00 /opt/openh323/gnugk-2.2.2 -c 
/etc/gnugk/gnugk-2.2beta5.ini -o /var/log/gnugk/gnugk.log -tttttt
 8942 pts/3    S<     0:00 /opt/openh323/gnugk-2.2.2 -c 
/etc/gnugk/gnugk-2.2beta5.ini -o /var/log/gnugk/gnugk.log -tttttt
 8943 pts/3    S<     0:00 /opt/openh323/gnugk-2.2.2 -c 
/etc/gnugk/gnugk-2.2beta5.ini -o /var/log/gnugk/gnugk.log -tttttt

/etc/gnugk/gnugk_logrotate.conf
# see "man logrotate" for details
notifempty
# rotate log files weekly
#weekly
daily
# create new (empty) log files after rotating old ones
create
# uncomment this if you want your log files compressed
compress
# RPM packages drop log rotation information into this directory
include /etc/gnugk/rotate
# no packages own wtmp -- we'll rotate them here
/var/log/wtmp {
    monthly
    create 0664 root utmp
    rotate 4
}
# system-specific logs may be also be configured here.

Directory /etc/gnugk/rotate contains a unique file gnugk.logrotate
/etc/gnugk/rotate/gnugk.logrotate
rotate 100
/var/log/gnugk/gnugk.log {
    missingok
    sharedscripts
    postrotate
        /bin/kill -HUP `cat /var/run/gnugk.pid`
    endscript
}

Best regards.
Igor Prokhorov.



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click

_______________________________________________________

List: Openh323gk-users@xxxxxxxxxxxxxxxxxxxxx
Archive: http://sourceforge.net/mailarchive/forum.php?forum_id=8549
Homepage: http://www.gnugk.org/

[Index of Archives]     [SIP]     [Open H.323]     [Gnu Gatekeeper]     [Asterisk PBX]     [ISDN Cause Codes]     [Yosemite News]

  Powered by Linux