Skip to main content
jaseeey
New Member
August 13, 2014
Question

Issues with deleting a VDOM

  • August 13, 2014
  • 3 replies
  • 14928 views
Hi, I am having issues with deleting a VDOM from a Fortigate firewall running FortiOS 4.x. I have removed all of the objects and associations possible through the GUI but I am still unable to delete the VDOM. In the configuration, I have noticed that the VDOM is still associated with the admin user. When trying to delete the VDOM, I receive this error:
Domain test-vdom: used by admin user, can not delete  Command fail. Return code -23
How can I remove the user association? Thanks, Jason.

    3 replies

    emnoc
    New Member
    August 13, 2014
    Do you have a user in that vdom? Basically you have something else tied to the vdom and this why you can delete it. If your unix skills are on par you can grab the cfg just for the vdom and parse thru it, but you have some thing in the configurations files.
    ede_pfau
    SuperUser
    SuperUser
    August 13, 2014
    Maybe you are logged in to that VDOM? Happened to me once...
    Repmor
    New Member
    February 14, 2017

    The VDOM is probably still attached to user dashboard.

     

    - config global

    - config system admin

    - edit "<user>"

    - unset vdom

    emnoc
    New Member
    February 14, 2017

    1: a user left  ( admin or local )

     

    2: a group

     

    3: use diag sys checkused cmd

     

    e.g ( from cli  )

     

    diag sys checkused  system.vdom.name root