Sun Microsystems, Inc.  Oracle System Handbook - ISO 7.0 May 2018 Internal/Partner Edition
   Home | Current Systems | Former STK Products | EOL Systems | Components | General Info | Search | Feedback

Asset ID: 1-71-2304124.1
Update Date:2017-09-06
Keywords:

Solution Type  Technical Instruction Sure

Solution  2304124.1 :   Diameter Signaling Router (DSR) : Server Disk Space Shortage Error for /var directory  


Related Items
  • Oracle Communications Diameter Signaling Router (DSR)
  •  
Related Categories
  • PLA-Support>Sun Systems>CommsGBU>Global Signaling Solutions>SN-SND: Tekelec DSR
  •  




In this Document
Goal
Solution
References


Created from <SR 3-15591072361>

Applies to:

Oracle Communications Diameter Signaling Router (DSR) - Version DSR 7.1.2 to DSR 7.4.0 [Release DSR 7.0]
Information in this document applies to any platform.

Goal

Getting Server Disk Space Shortage Alarm in SOAM for /var directory.

Solution

After checking the directory usage, we found /var/log/messages, messages files are getting generated with huge size around 375MB

[admusr@SO2 ~]$ ls -lah /var/log | grep messages
-rw------- 1 root root 373M Aug 22 20:42 messages

 Below logs are there inside the messages files :

Aug 22 20:42:10 SO2 named[2558]: client 169.254.141.9#62728: query: ntppeerA.platform.cgbu.us.oracle.com IN A + (169.254.141.2)
Aug 22 20:42:10 SO2 named[2558]: client 169.254.141.9#62728: query: ntppeerA.platform.cgbu.us.oracle.com IN AAAA + (169.254.141.2)
Aug 22 20:42:10 SO2 named[2558]: client 169.254.141.9#53483: query: ntppeerB.platform.cgbu.us.oracle.com IN A + (169.254.141.2)
Aug 22 20:42:10 SO2 named[2558]: client 169.254.141.9#53483: query: ntppeerB.platform.cgbu.us.oracle.com IN AAAA + (169.254.141.2) 

Verified that "named" process was running and query logging is ON in the SOAM :

[root@SO2 log]# service named status
version: 9.8.2rc1-RedHat-9.8.2-0.30.rc1.el6_6.2
CPUs found: 4
worker threads: 4
number of zones: 9
debug level: 0
xfers running: 0
xfers deferred: 0
soa queries in progress: 0
query logging is ON
recursive clients: 0/0/1000
tcp clients: 0/100
server is up and running
named (pid 2558) is running...
[root@FE-SNG-SO2 log]#

verified /etc/named.conf file and found querylog is set to YES..

[root@SO2 ~]# cat /etc/named.conf
//
// named.conf
//
// Provided by Red Hat bind package to configure the ISC BIND named(8) DNS
// server as a caching only nameserver (as a localhost DNS resolver only).
//
// See /usr/share/doc/bind*/sample/ for example named configuration files.
//

options {
directory "/var/named";
dump-file "/var/named/data/cache_dump.db";
statistics-file "/var/named/data/named_stats.txt";
memstatistics-file "/var/named/data/named_mem_stats.txt";
listen-on-v6 { any; };
allow-query { any; };
recursion no;
querylog yes;

dnssec-enable yes;
dnssec-validation yes;
dnssec-lookaside auto;

/* Path to ISC DLV key */
bindkeys-file "/etc/named.iscdlv.key";

managed-keys-directory "/var/named/dynamic";
};

logging {
channel default_error {
file "data/named.run";
severity error;
print-time yes;
print-severity yes;
print-category yes;
};
};

zone "ip6.arpa" {
type slave;
masters { 10.233.0.89; 10.233.0.90; };
file "rdb.platform.cgbu.us.oracle.com";
};

zone "in-addr.arpa" {
type slave;
masters { 10.233.0.89; 10.233.0.90; };
file "rdb.platform.cgbu.us.oracle.com";
};

zone "platform.cgbu.us.oracle.com" {
type slave;
masters { 10.233.0.89; 10.233.0.90; };
file "db.platform.cgbu.us.oracle.com";
};

include "/etc/named.rfc1912.zones";
include "/etc/named.root.key";

[root@SO2 ~]#

Since DSR7.x we use the DNS to replace the /etc/hosts, so we cannot stop the named service.

Best we can do is logging can be turned off using below command in Active SOAM CLI Server :

/usr/sbin/rndc querylog

 Verify that query logging is off

[admusr@SO2 ~]$ sudo /usr/sbin/rndc status
version: 9.8.2rc1-RedHat-9.8.2-0.30.rc1.el6_6.2
CPUs found: 4
worker threads: 4
number of zones: 9
debug level: 0
xfers running: 2
xfers deferred: 0
soa queries in progress: 2
query logging is OFF
recursive clients: 0/0/1000
tcp clients: 0/100
server is up and running
[admusr@SO2 ~]$

After this we saw reporting logs are stopped logging into messages file.

Bug 25290091 is fixed in DSR 8.0.

References

<BUG:25290091> - /VAR/LOG/MESSAGES GROWING TO A VERY LARGE SIZE

Attachments
This solution has no attachment
  Copyright © 2018 Oracle, Inc.  All rights reserved.
 Feedback