Gentlemen,
there is one more question appeared: how can I check whether NAC was properly installed?
I've found a lot of useful command to be executed over CLI, try to connect to my NAC over SSH and can't execute them, for example:
root@nac:~# nacconfig
nacconfig: command not found
Please, take a look at this:
root@nac:~# find.
./NetSight
./NetSight/Console
./NetSight/Console/Options
./NetSight/.netsightLogin
./NetSight/Options
./.bash_history
./.vimrc
./.ubuntu-postinst.sh
./.profile
./.cache
./.cache/motd.legal-displayed
./.bashrc
./scripts
./scripts/webserviceclient.php
./scripts/nacstatus
./scripts/nachelp
./scripts/isEarlier
./scripts/connTest.php
./scripts/echoTagConfig.php
./scripts/managelogs
./scripts/naccapture
./scripts/wsCall.php
./scripts/expandLVM.sh
./firmware
./firmware/images
./.aptitude
./.aptitude/cache
./.aptitude/config
./.java
./.java/fonts
./.java/fonts/1.7.0_79
./.java/fonts/1.7.0_79/fcinfo-1-nac-Ubuntu-12.04-en.properties
./.postinstall
root@nac:~#
AND at this also...(below). Is everything OK with my NAC installation?
root@nac:~# nacstatuscat: /usr/local/Extreme_Networks/nac/mgmtServerIP: No such file or directory
cat: /usr/postinstall/network.properties: No such file or directory
cat: /usr/postinstall/network.properties: No such file or directory
#-------------------------------------------------------------------------------
# NAC Status
#-------------------------------------------------------------------------------
NAC Device Type: NSV
NAC Device Version: 6.3.0.179
NAC OS Version: Ubuntu 12.04lts (64bit)
Management IP:
PHP Warning: fopen(/usr/local/Extreme_Networks/nac/server/config/ApplianceConfiguration.xml): failed to open stream: No such file or directory in /root/scripts/wsCall.php on line 57
PHP Warning: filesize(): stat failed for /usr/local/Extreme_Networks/nac/server/config/ApplianceConfiguration.xml in /root/scripts/wsCall.php on line 58
ERROR: Unable to read file: /usr/local/Extreme_Networks/nac/server/config/ApplianceConfiguration.xml
Unable to retrieve credentials to run Connectivity Test.
#-------------------------------------------------------------------------------
# NetSight Server Name Resolution
#-------------------------------------------------------------------------------
Cound not find ApplianceConfiguration.xml in /usr/local/Extreme_Networks/nac/server/config
#-------------------------------------------------------------------------------
# NAC Server Name Resolution
#-------------------------------------------------------------------------------
Cound not find ApplianceConfiguration.xml in /usr/local/Extreme_Networks/nac/server/config
#-------------------------------------------------------------------------------
# Communications Diagnostics
#-------------------------------------------------------------------------------
PHP Warning: fopen(/usr/local/Extreme_Networks/nac/server/config/ApplianceConfiguration.xml): failed to open stream: No such file or directory in /root/scripts/wsCall.php on line 57
PHP Warning: filesize(): stat failed for /usr/local/Extreme_Networks/nac/server/config/ApplianceConfiguration.xml in /root/scripts/wsCall.php on line 58
ERROR: Unable to read file: /usr/local/Extreme_Networks/nac/server/config/ApplianceConfiguration.xml
Unable to retrieve credentials to run Connectivity Test.
#-------------------------------------------------------------------------------
# Appliance License and Capacity Diagnostics
#-------------------------------------------------------------------------------
PHP Warning: fopen(/usr/local/Extreme_Networks/nac/server/config/ApplianceConfiguration.xml): failed to open stream: No such file or directory in /root/scripts/wsCall.php on line 57
PHP Warning: filesize(): stat failed for /usr/local/Extreme_Networks/nac/server/config/ApplianceConfiguration.xml in /root/scripts/wsCall.php on line 58
ERROR: Unable to read file: /usr/local/Extreme_Networks/nac/server/config/ApplianceConfiguration.xml
Unable to retrieve credentials to run Connectivity Test.
#-------------------------------------------------------------------------------
# Distributed Cache Diagnostics
#-------------------------------------------------------------------------------
PHP Warning: fopen(/usr/local/Extreme_Networks/nac/server/config/ApplianceConfiguration.xml): failed to open stream: No such file or directory in /root/scripts/wsCall.php on line 57
PHP Warning: filesize(): stat failed for /usr/local/Extreme_Networks/nac/server/config/ApplianceConfiguration.xml in /root/scripts/wsCall.php on line 58
ERROR: Unable to read file: /usr/local/Extreme_Networks/nac/server/config/ApplianceConfiguration.xml
Unable to retrieve credentials to run Connectivity Test.
#-------------------------------------------------------------------------------
# Process Status
#-------------------------------------------------------------------------------
PHP Warning: fopen(/usr/local/Extreme_Networks/nac/server/config/ApplianceConfiguration.xml): failed to open stream: No such file or directory in /root/scripts/wsCall.php on line 57
PHP Warning: filesize(): stat failed for /usr/local/Extreme_Networks/nac/server/config/ApplianceConfiguration.xml in /root/scripts/wsCall.php on line 58
ERROR: Unable to read file: /usr/local/Extreme_Networks/nac/server/config/ApplianceConfiguration.xml
Unable to retrieve credentials to run Connectivity Test.
#-------------------------------------------------------------------------------
# Most Recent Errors from /var/log/syslog
#-------------------------------------------------------------------------------
#-------------------------------------------------------------------------------
# Most Recent Actions from /var/log/watchdog.log
#-------------------------------------------------------------------------------
tail: cannot open '/var/log/watchdog.log' for reading: No such file or directory
#-------------------------------------------------------------------------------
# Most Recent Errors from /var/log/tag.log
#-------------------------------------------------------------------------------
tail: cannot open '/var/log/tag.log' for reading: No such file or directory
#-------------------------------------------------------------------------------
# Most Recent Errors from /var/log/radius/radius.log
#-------------------------------------------------------------------------------
tail: cannot open '/var/log/radius/radius.log' for reading: No such file or directory
#-------------------------------------------------------------------------------
# ProxyRedirect status
#-------------------------------------------------------------------------------
ProxyRedirector threads running: 0
#-------------------------------------------------------------------------------
# NetSight server status
#-------------------------------------------------------------------------------
Checking Status of Network Access Control & Network Access Control RADIUS Server:
Network Access Control Server is NOT running...
Network Access Control RADIUS Server is NOT running...
Run '/sbin/nacctl restart'.
#-------------------------------------------------------------------------------
# Hostname Information
#-------------------------------------------------------------------------------
Hostname: nac.spbstu.ru
#
# hosts This file describes a number of hostname-to-address
# mappings for the TCP/IP subsystem. It is mostly
# used at boot time, when no name servers are running.
# On small systems, this file can be used instead of a
# "named" name server. Just add the names, addresses
# and any aliases to this file...
#
# By the way, Arnt Gulbrandsen
says that 127.0.0.1
# should NEVER be named with the name of the machine. It causes problems
# for some (stupid) programs, irc and reputedly talk. :^)
#
# For loopbacking.
127.0.0.1 localhost
192.168.245.238 nac.spbstu.ru nac
# End of hosts.
#-------------------------------------------------------------------------------
# NTP Status
#-------------------------------------------------------------------------------
NTP is enabled.
NTP peers
remote refid st t when poll reach delay offset jitter
==============================================================================
*cnd-b1.spbstu.r 89.109.251.24 2 u 392 1024 377 0.583 -6.112 6.576
#-------------------------------------------------------------------------------
# Date and Time Settings
#-------------------------------------------------------------------------------
Local Time: Wed May 25 18:17:24 MSK 2016
Universal Time: Wed May 25 14:17:24 UTC 2016
Timezone: Europe/Moscow
#-------------------------------------------------------------------------------
# DNS Configuration
#-------------------------------------------------------------------------------
# Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8)
# DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN
nameserver 194.190.225.226
nameserver 195.209.230.198
search spbstu.ru
#-------------------------------------------------------------------------------
# nslookup
#-------------------------------------------------------------------------------
>
Many thanks in advance,
Ilya