Procedure
- Connect through SSH to Usage Meter as usagemeter.
- Check if the VAMI service is running.
service vami-lighttp status
You should see a similar output:
* vami-lighttp.service
Loaded: loaded (/etc/init.d/vami-lighttp; enabled; vendor preset: enabled)
Active: active (running) since Tue 2022-03-28 15:24:30 UTC; 4 days ago
Docs: man:systemd-sysv-generator(8)
Tasks: 1 (limit: 4915)
Memory: 7.0M
CGroup: /system.slice/vami-lighttp.service
`-2134 /opt/vmware/sbin/vami-lighttpd -f /opt/vmware/etc/lighttpd/lighttpd.conf
- Check if the appliance-management service is running.
service cap-appliance-management status
You should see a similar output:
* cap-appliance-management.service - Appliance initialization script
Loaded: loaded (/lib/systemd/system/cap-appliance-management.service; enabled; vendor preset: enabled)
Active: active (running) since Tue 2022-03-22 14:39:46 CET; 1 weeks 2 days ago
Main PID: 2489 (ms_controller)
Tasks: 7 (limit: 4915)
Memory: 19.4M
CGroup: /system.slice/cap-appliance-management.service
`-2489 /usr/lib/cap_am/ms_controller
- Switch to the root user.
su -root
- Verify if the lighttpd.conf file located at /opt/vmware/etc/lighttpd contains the below entry.
include "/opt/vmware/etc/lighttpd/applmgmt-lighttpd.conf"
- If the entry is missing, create a backup of the lighttpd.conf file.
cp /opt/vmware/etc/lighttpd/lighttpd.conf /opt/vmware/etc/lighttpd/lighttpd.conf.bkp
- Edit the lighttpd.conf file using the vi editor and add the below line at the end of the file.
include "/opt/vmware/etc/lighttpd/applmgmt-lighttpd.conf"
- Save the file.
:wq!
- Reboot the appliance.
reboot
- Once the Usage Meter appliance is up and running, log in to the VAMI page using the root account. You should be able to log in to the VAMI page and verify all the options. If you still experience a similar issue, collect the logs from Usage Meter and open a support request with VMware.