View Source

{kb-symptom}
Error with 3.x Agent unloading properly in all versions of CDP:
{code}
Could not start snapshot: Operation not permitted (StartSnapshot:88)
{code}
{kb-cause}
The problem is with the unloading of the Agent in any 3.x version.

When the agent module is removed ({color:blue}rmmod{color}), the problem occurs and the only fix is to reboot the Host OS. The problem exists in upgrades because the process of the upgrade performs a {color:blue}rmmod{color} on the cdp-agent module.

The Development Team has resolved this problem the next release, you should upgrade to the latest version.
{kb-resolution}
1. If you use 3.6.x, you need to do the following prior to upgrading above 3.6, or if you are installing a newer Agent.

Unlock the hcpdriver:
{code}
# /usr/sbin/r1soft/bin/cdp -u
{code}
Stop the Agent:
{code}
# /etc/init.d/cdp-agent stop
{code}
Remove the driver:
{code}
# rmmod hcpdriver
{code}

!1.png!

2. If you are at version 3.7.5, you will need to do the following prior to upgrading above 3.7, or if you are installing a new Agent.

The procedure below will also allow you to fix the StartSnaphot:88 error without having to reboot. You can start the cdp-agent after removing the hcpdriver manually.

Stop the Agent:
{code}
# /etc/init.d/cdp-agent stop
{code}
Remove the driver:
{code}
# rmmod hcpdriver
{code}

!2.png!

{kb-related-articles}