Follow

Some exports from Advanced and/or reports are failing and /var/log space might be filled

Product: Stratusphere FIT/UX         

Product Version: 5.8.0 AND PRIOR

Expires on: 365 days from publish date

Updated: Nov 13, 2015

 

Problem:  Some Advanced views and exports and reports aren't working properly, console of appliance might have a RED space warning.

 

Symptoms: Exports from Advanced page views and/or running reports are failing.  Logging into the HUB (or possibly DB) console or via SSH as friend/sspassword and

1. Executing 'df -h' shows /var/log partition (almost) at 100% used.

2. Executing 'ls -lh /var/log/*.1' multiple files listed with one or more being very large in size.  (Likely messages.1)

 

Possible Resolution:
SSH into appliance in question as friend/sspassword, then execute 'su -' and enter the same sspassword to become root, then execute:

sed -i 's/daily/size 150M/g;s/weekly/size 150M/g' /etc/logrotate.d/syslog

rm -f /var/log/*.1

/usr/sbin/logrotate /etc/logrotate.conf

Then restart services according to the appliance you're working on.

(For DB appliances:)  /etc/init.d/postgresql-9.4 restart

(For HUB appliances:)  /sbin/sv restart tnt-backend tnt-backend-priv servicemix

None of the above commands should return anything after being executed.

Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request

0 Comments

Please sign in to leave a comment.