GWAVA 6 CheatSheet
From GWAVA Technologies Training
Contents |
GWAVA6 General:
- Go to web UI: http://managmentaddress:49282/
- Go to web UI: http://managmentaddress:49285/
GWAVA6 Directory:
/opt/beginfinite/gwava/ /sbin/rcgwavaman → /etc/init.d/gwavaman /etc/init.d/gwavaman*
Ports required to have open on your firewall:
Inbound and general traffic:
- Inbound UDP port 53 (DNS lookups)
- Inbound TCP port 25 (SMTP)
GWAVA appliance from outside the network:
- Inbound TCP port 49285 (GWAVA QMS)
- Inbound TCP port 49282 (GWAVA Console)
- Inbound TCP port 22 (SSH, support)
Outbound traffic:
- Outbound TCP port 80 (HTTP)
- Outbound TCP port 21 (FTP, OS updates)
- Outbound TCP port 25 (SMTP)
- Outbound TCP port 123 (NTP)
Version commands
Check GWAVA version installed
rpm -qa | grep gwava
Remove old GWAVA version
rpm -e gwavaman-6-2 rpm -e gwavaman-6-1
Install new GWAVA version
rpm -ivh gwava-6.0-3.i586.rpm
Refresh / Update GWAVA version
rpm -F gwava-6.0-3.i586.rpm
gwavaman commands
GWAVA auto-start / rcgwavaman
cd /opt/beginfinite/gwava/assets/bin cp -prv gwava6_default /etc/init.d/gwavaman insserv gwavaman chkconfig gwavaman
rcgwavaman command not recognized...
ln -s /etc/init.d/gwavaman /sbin/rcgwavaman GWAVA / Server Logging cd /var/dumps/* (System log) cd /var/log/messages (System log) cd ../gwava/services/logs/
GWAVA Process
cd ../gwava/assets/conf/services.conf [gwavaman] program ! gwavaman arguments ! /root=/opt/beginfinite/gwava,/supporttools wait ! 2
Check Nameservers
cat /etc/resolv.conf dig gwava.com MX //Domain information
GWAVA smtp_mailer/outbound
(Digest, Alerts, Notifications. Release)
cd ../gwava/services/smtp_mailer/outbound ll | wc (Get file count.) rcgwavaman stop mv outbound outbound.OLD rcgwavaman start
Issues with GWAVA stats
(32Kb default size) 1024Kb = 1MB
cd ../gwava/services/stats/data lsof -i tcp:49288 (Listening) rcgwavaman stop gwvstats rm stats_data.db rm in_queue/ rcgwavaman start gwvstats
SMTP Communications
lsof -i tcp:25 (SMTP Port 25 check) => GWAVA sending to external server <= Something sent to GWAVA by external server
OTHER Useful commands
du -sh //File space usage -summarize/human-read
df -h //Disk partitions -human-read
find . -name 'spam-*' | xargs rm -rf //Deletion
cat /etc/*release //OS Version
tail -f *.log | grep "IP connection from" //Watch