def METHOD_NAME(topo):
    """Export with dsctl db2ldif, giving a ldif file path which can't be accessed by the user (dirsrv by default)
    :id: 511e7702-7685-4951-9966-38f402d6214b
    :setup: Standalone Instance - entries imported in the db
    :steps:
        1. Stop the server
        2. Launch db2ldif with an non accessible ldif file path
        3. Catch the reported error code
        4. Check that an appropriate error was returned
    :expectedresults:
        1. Operation successful
        2. Operation properly fails, without crashing
        3. An error code different from 139 (segmentation fault) should be reported
        4. "location does not exist" is returned
    """
    export_ldif = '/tmp/nonexistent/export.ldif'
    log.info("Stopping the instance...")
    topo.standalone.stop()
    log.info("Performing an offline export to a non accessible ldif file path - should fail properly")
    expected_output="location does not exist"
    with pytest.raises(ValueError) as e:
        run_db2ldif_and_clear_logs(topo, topo.standalone, DEFAULT_BENAME, export_ldif, expected_output)
    assert "location does not exist" in str(e.value)
    log.info("Restarting the instance...")
    topo.standalone.start()