Hi all,
the problem discussed in this thread
http://www.directadmin.com/forum/showthread.php?threadid=258&perpage=20&pagenumber=5
is unresolved.
it is not possible to generate a mysql database for a user through the DA API described in
http://www.directadmin.com/api.html#create
generating the database from the control panel is not a problem. using CMD_DB in stead of CMD_API_DATABASES in the API does not help. I cannot verify if version 1.22 and 1.23 differ.
it generates an error in the directadmin error log:
2004:12:01-17:11:04: *** Segmentation fault *** getlock(./data/users/raq2da/reseller.allocation) : finished : User: xxxx : 213.247.60.140 : /CMD_DB : action=create&name=db4&domain=xxxxx.com&user=u4&passwd=xxxxxxx&passwd2=xxxxxxx : (null)
This is the reseller.allocation file
more /usr/local/directadmin/data/users/raq2da/reseller.allocation
bandwidth=15240
domainptr=0
ftp=243
mysql=51
nemailf=395
nemailml=360
nemailr=385
nemails=357
nsubdomains=0
nusers=0
quota=3130
vdomains=29
Compiled for Redhat 9.0
Server Version 1.23.0
thanks in advance for your reply
the problem discussed in this thread
http://www.directadmin.com/forum/showthread.php?threadid=258&perpage=20&pagenumber=5
is unresolved.
it is not possible to generate a mysql database for a user through the DA API described in
http://www.directadmin.com/api.html#create
generating the database from the control panel is not a problem. using CMD_DB in stead of CMD_API_DATABASES in the API does not help. I cannot verify if version 1.22 and 1.23 differ.
it generates an error in the directadmin error log:
2004:12:01-17:11:04: *** Segmentation fault *** getlock(./data/users/raq2da/reseller.allocation) : finished : User: xxxx : 213.247.60.140 : /CMD_DB : action=create&name=db4&domain=xxxxx.com&user=u4&passwd=xxxxxxx&passwd2=xxxxxxx : (null)
This is the reseller.allocation file
more /usr/local/directadmin/data/users/raq2da/reseller.allocation
bandwidth=15240
domainptr=0
ftp=243
mysql=51
nemailf=395
nemailml=360
nemailr=385
nemails=357
nsubdomains=0
nusers=0
quota=3130
vdomains=29
Compiled for Redhat 9.0
Server Version 1.23.0
thanks in advance for your reply