Neil,
It sounds like you're using the admin API to do all of this? It's odd
that you were able to delete the database at all. When I try something
similar, I get an error: ADMIN-DATABASEINUSE.
import module namespace admin = "http://marklogic.com/xdmp/admin"
at "/MarkLogic/admin.xqy";
let $config := admin:get-configuration()
let $config := admin:database-delete(
$config, admin:database-get-id($config, 'test'))
return $config
=>
[0.9-ml] ADMIN-DATABASEINUSE: The following http-servers still refer to
this database: test.
Which server release and OS are you using? Can you show us the code
you're using to delete the database, and to delete the orphaned app server?
-- Mike
On 2009-02-09 04:59, Neil Bradley wrote:
Hi,
During experimenting with MarkLogic 4.0, I created a database, created an
HTTP server that connected to it, and later deleted the database. I then
tried to delete the app server, but could not because I get the following
error message as soon as I try to select it in order to delete it.
500 Internal Server Error
ADMIN-NOSUCHDATABASE: No such database 12654575518838442059
in /MarkLogic/admin-private.xqy, on line 386,
I realise that ideally I should have deleted the database before the app
server. But surely the admin system should cater for this scenario?
And what can I do now to get around this problem, so that I can delete the
redundant app server?
Neil.
------------------------------------------------------------------------
_______________________________________________
General mailing list
[email protected]
http://xqzone.com/mailman/listinfo/general
_______________________________________________
General mailing list
[email protected]
http://xqzone.com/mailman/listinfo/general