Сообщение root19 » 2011-05-10 9:35:38
Добрый день.
Не получается никак интегрировать на автоматическое заведение пользователей с ISPmanager
Стоит актуальная версия биллинга и панели.
Выкладываю лог создания юзера
Код: Выделить всё
[09:26:16.64] /var/www/user/data/www/bill.arhost.org/hosts/hosting/system/classes/Server.class
[09:26:16.64] [System_Load]: компонент системы
(/var/www/user/data/www/bill.arhost.org/hosts/hosting/system/classes/Server.class) был загружен
[09:26:16.64] [MySQL->Query]: SELECT `ID`,`UserID`,`ServerID`,`Login`,`Domain`,`SchemeID`,`Password`,(SELECT
`ProfileID` FROM `Contracts` WHERE `Contracts`.`ID` = `HostingOrdersOwners`.`ContractID`) as `ProfileID` FROM
`HostingOrdersOwners` WHERE `ID` = 1
[09:26:16.64] [IO_Read]: открытие файла
(/var/www/user/data/www/bill.arhost.org/hosts/billing/config/TypesDB.xml)
[09:26:16.64] [String_XML_Parse]: парсирование строки (2607 bytes)
[09:26:16.65] [IO_Read]: открытие файла
(/var/www/user/data/www/bill.arhost.org/hosts/hosting/config/TypesDB.xml)
[09:26:16.65] [String_XML_Parse]: парсирование строки (2771 bytes)
[09:26:16.70] [MySQL->Query]: SELECT * FROM `HostingServers` WHERE `ID` = 1
[09:26:16.70] [IO_Read]: открытие файла
(/var/www/user/data/www/bill.arhost.org/hosts/billing/config/TypesDB.xml)
[09:26:16.70] [String_XML_Parse]: парсирование строки (2607 bytes)
[09:26:16.71] [IO_Read]: открытие файла
(/var/www/user/data/www/bill.arhost.org/hosts/hosting/config/TypesDB.xml)
[09:26:16.71] [String_XML_Parse]: парсирование строки (2771 bytes)
[09:26:16.76] /var/www/user/data/www/bill.arhost.org/hosts/root/system/libs/Http.lib
[09:26:16.76] [System_Load]: компонент системы
(/var/www/user/data/www/bill.arhost.org/hosts/root/system/libs/Http.lib) был загружен
[09:26:16.77] /var/www/user/data/www/bill.arhost.org/hosts/hosting/system/libs/IspManager.lib
[09:26:16.77] [System_Load]: компонент системы
(/var/www/user/data/www/bill.arhost.org/hosts/hosting/system/libs/IspManager.lib) был загружен
[09:26:16.77] [MySQL->Query]: SELECT * FROM `HostingSchemes` WHERE `ID` = 1
[09:26:16.78] [IO_Read]: открытие файла
(/var/www/user/data/www/bill.arhost.org/hosts/billing/config/TypesDB.xml)
[09:26:16.78] [String_XML_Parse]: парсирование строки (2607 bytes)
[09:26:16.78] [IO_Read]: открытие файла
(/var/www/user/data/www/bill.arhost.org/hosts/hosting/config/TypesDB.xml)
[09:26:16.78] [String_XML_Parse]: парсирование строки (2771 bytes)
[09:26:16.84] [MySQL->Query]: SELECT * FROM `Users` WHERE `ID` = 2001
[09:26:16.84] [IO_Read]: открытие файла
(/var/www/user/data/www/bill.arhost.org/hosts/billing/config/TypesDB.xml)
[09:26:16.84] [String_XML_Parse]: парсирование строки (2607 bytes)
[09:26:16.84] [IO_Read]: открытие файла
(/var/www/user/data/www/bill.arhost.org/hosts/hosting/config/TypesDB.xml)
[09:26:16.84] [String_XML_Parse]: парсирование строки (2771 bytes)
[09:26:16.86] [Http_Send]: соединяемся с (89.149.194.70)
[09:26:16.90] [Http_Query]: целевая кодировка (UTF-8)
[09:26:16.90] [Http_Query]: [authinfo]=(root:root)
[09:26:16.90] [Http_Query]: [out]=(xml)
[09:26:16.90] [Http_Query]: [func]=(user.edit)
[09:26:16.90] [Http_Query]: [sok]=(yes)
[09:26:16.90] [Http_Query]: [name]=(h1000)
[09:26:16.90] [Http_Query]: [passwd]=(7ca35da8397d)
[09:26:16.90] [Http_Query]: [confirm]=(7ca35da8397d)
[09:26:16.90] [Http_Query]: [domain]=(h1000.host.org)
[09:26:16.90] [Http_Query]: [ip]=(89.149.194.07)
[09:26:16.90] [Http_Query]: [preset]=(Mini)
[09:26:16.90] [Http_Query]: [email]=(root@gmail.com)
[09:26:16.90] [Http_Query]: [disklimit]=(250)
[09:26:16.90] [Http_Query]: [ftplimit]=(999)
[09:26:16.90] [Http_Query]: [maillimit]=(100)
[09:26:16.90] [Http_Query]: [domainlimit]=(1)
[09:26:16.90] [Http_Query]: [webdomainlimit]=(1)
[09:26:16.90] [Http_Query]: [maildomainlimit]=(1)
[09:26:16.90] [Http_Query]: [baselimit]=(999)
[09:26:16.90] [Http_Query]: [baseuserlimit]=(1)
[09:26:16.90] [Http_Query]: [bandwidthlimit]=(99999)
[09:26:16.90] [Http_Query]: [shell]=(off)
[09:26:16.90] [Http_Query]: [ssl]=(on)
[09:26:16.90] [Http_Query]: [cgi]=(off)
[09:26:16.90] [Http_Query]: [ssi]=(off)
[09:26:16.90] [Http_Query]: [phpmod]=(on)
[09:26:16.90] [Http_Query]: [phpcgi]=(on)
[09:26:16.90] [Http_Query]: [phpfcgi]=(on)
[09:26:16.90] [Http_Query]: [safemode]=(on)
[09:26:16.90] [Http_Query]: [cpulimit]=(5)
[09:26:16.90] [Http_Query]: [memlimit]=(5)
[09:26:16.90] [Http_Query]: [proclimit]=(500)
[09:26:16.90] [Http_Query]: [owner]=(root19)
[09:26:16.90] [IO_Write]: запись в файл
(/var/www/user/data/www/bill.host.org/hosts/bill.host.org/tmp/logs/http-send.log)
[09:26:16.91] [Http_Send]: делаем запрос:
GET
/manager/ispmgr?authinfo=root%3Aroot&out=xml&func=user.edit&sok=yes&name=h1000&passwd=7ca35da839
7d&confirm=7ca35da8397d&domain=h1000.arhost.org&ip=89.149.194.0&preset=Mini&email=root%40gmail.
com&disklimit=250&ftplimit=999&maillimit=100&domainlimit=1&webdomainlimit=1&maildomainlimit=1&am
p;baselimit=999&baseuserlimit=1&bandwidthlimit=99999&shell=off&ssl=on&cgi=off&ssi=off&phpmod
=on&phpcgi=on&phpfcgi=on&safemode=on&cpulimit=5&memlimit=5&proclimit=500&owner=root19
HTTP/1.0
Host: 89.149.194.0
Connection: close
[09:26:18.99] [Http_Send]: получили ответ:
HTTP/1.1 200 OK
Date: Tue, 10 May 2011 05:26:16 GMT
Server: Apache/2.2.16 (Debian)
Cache-Control: no-cache
Pragma: no-cache
Vary: Accept-Encoding
Content-Length: 1107
Connection: close
Content-Type: text/xml
<?xml version="1.0" encoding="UTF-8"?>
<doc><error code="4" val="owner">
</error><authinfo>root:root</authinfo><bandwidthlimit>99999</bandwidthlimit><baseli
mit>999</baselimit><baseuserlimit>1</baseuserlimit><cgi>off</cgi><confirm>7ca35da
8397d</confirm><cpulimit>5</cpulimit><disklimit>250</disklimit><domain>h1000.arhost.
org</domain><domainlimit>1</domainlimit><email>root@gmail.com</email><ftplimit>9
99</ftplimit><func>user.edit</func><ip>89.149.194.0</ip><ip6limit>0</ip6limit>
;<iplimit>0</iplimit><maildomainlimit>1</maildomainlimit><maillimit>100</maillimit>&
lt;maxclientsvhost>0</maxclientsvhost><memlimit>5</memlimit><mysqlconnectlimit>0</mysqlcon
nectlimit><mysqlquerieslimit>0</mysqlquerieslimit><mysqlupdateslimit>0</mysqlupdateslimit><
;mysqluserconnectlimit>0</mysqluserconnectlimit><name>h1000</name><out>xml</out><own
er>root</owner><passwd>7ca35da8397d</passwd><phpcgi>on</phpcgi><phpfcgi>on</
phpfcgi><phpmod>on</phpmod><preset>Mini</preset><proclimit>500</proclimit><saf
emode>on</safemode><shell>off</shell><sok>yes</sok><ssi>off</ssi><ssl>
;on</ssl><webdomainlimit>1</webdomainlimit></doc>
[09:26:18.99] [IO_Write]: запись в файл
(/var/www/user/data/www/bill.host.org/hosts/bill.host.org/tmp/logs/http-send.log)
[09:26:18.99] [String_XML_Parse]: парсирование строки (1106 bytes)
[09:26:19.01] [Exception]: [ACCOUNT_CREATE_ERROR]=(Не удалось создать заказ хостинга)
Пробовал подставлять строчку в браузер - ISPmanager пишет Fatal error
access deny
Добрый день.
Не получается никак интегрировать на автоматическое заведение пользователей с ISPmanager
Стоит актуальная версия биллинга и панели.
Выкладываю лог создания юзера
[code][09:26:16.64] /var/www/user/data/www/bill.arhost.org/hosts/hosting/system/classes/Server.class
[09:26:16.64] [System_Load]: компонент системы
(/var/www/user/data/www/bill.arhost.org/hosts/hosting/system/classes/Server.class) был загружен
[09:26:16.64] [MySQL->Query]: SELECT `ID`,`UserID`,`ServerID`,`Login`,`Domain`,`SchemeID`,`Password`,(SELECT
`ProfileID` FROM `Contracts` WHERE `Contracts`.`ID` = `HostingOrdersOwners`.`ContractID`) as `ProfileID` FROM
`HostingOrdersOwners` WHERE `ID` = 1
[09:26:16.64] [IO_Read]: открытие файла
(/var/www/user/data/www/bill.arhost.org/hosts/billing/config/TypesDB.xml)
[09:26:16.64] [String_XML_Parse]: парсирование строки (2607 bytes)
[09:26:16.65] [IO_Read]: открытие файла
(/var/www/user/data/www/bill.arhost.org/hosts/hosting/config/TypesDB.xml)
[09:26:16.65] [String_XML_Parse]: парсирование строки (2771 bytes)
[09:26:16.70] [MySQL->Query]: SELECT * FROM `HostingServers` WHERE `ID` = 1
[09:26:16.70] [IO_Read]: открытие файла
(/var/www/user/data/www/bill.arhost.org/hosts/billing/config/TypesDB.xml)
[09:26:16.70] [String_XML_Parse]: парсирование строки (2607 bytes)
[09:26:16.71] [IO_Read]: открытие файла
(/var/www/user/data/www/bill.arhost.org/hosts/hosting/config/TypesDB.xml)
[09:26:16.71] [String_XML_Parse]: парсирование строки (2771 bytes)
[09:26:16.76] /var/www/user/data/www/bill.arhost.org/hosts/root/system/libs/Http.lib
[09:26:16.76] [System_Load]: компонент системы
(/var/www/user/data/www/bill.arhost.org/hosts/root/system/libs/Http.lib) был загружен
[09:26:16.77] /var/www/user/data/www/bill.arhost.org/hosts/hosting/system/libs/IspManager.lib
[09:26:16.77] [System_Load]: компонент системы
(/var/www/user/data/www/bill.arhost.org/hosts/hosting/system/libs/IspManager.lib) был загружен
[09:26:16.77] [MySQL->Query]: SELECT * FROM `HostingSchemes` WHERE `ID` = 1
[09:26:16.78] [IO_Read]: открытие файла
(/var/www/user/data/www/bill.arhost.org/hosts/billing/config/TypesDB.xml)
[09:26:16.78] [String_XML_Parse]: парсирование строки (2607 bytes)
[09:26:16.78] [IO_Read]: открытие файла
(/var/www/user/data/www/bill.arhost.org/hosts/hosting/config/TypesDB.xml)
[09:26:16.78] [String_XML_Parse]: парсирование строки (2771 bytes)
[09:26:16.84] [MySQL->Query]: SELECT * FROM `Users` WHERE `ID` = 2001
[09:26:16.84] [IO_Read]: открытие файла
(/var/www/user/data/www/bill.arhost.org/hosts/billing/config/TypesDB.xml)
[09:26:16.84] [String_XML_Parse]: парсирование строки (2607 bytes)
[09:26:16.84] [IO_Read]: открытие файла
(/var/www/user/data/www/bill.arhost.org/hosts/hosting/config/TypesDB.xml)
[09:26:16.84] [String_XML_Parse]: парсирование строки (2771 bytes)
[09:26:16.86] [Http_Send]: соединяемся с (89.149.194.70)
[09:26:16.90] [Http_Query]: целевая кодировка (UTF-8)
[09:26:16.90] [Http_Query]: [authinfo]=(root:root)
[09:26:16.90] [Http_Query]: [out]=(xml)
[09:26:16.90] [Http_Query]: [func]=(user.edit)
[09:26:16.90] [Http_Query]: [sok]=(yes)
[09:26:16.90] [Http_Query]: [name]=(h1000)
[09:26:16.90] [Http_Query]: [passwd]=(7ca35da8397d)
[09:26:16.90] [Http_Query]: [confirm]=(7ca35da8397d)
[09:26:16.90] [Http_Query]: [domain]=(h1000.host.org)
[09:26:16.90] [Http_Query]: [ip]=(89.149.194.07)
[09:26:16.90] [Http_Query]: [preset]=(Mini)
[09:26:16.90] [Http_Query]: [email]=(root@gmail.com)
[09:26:16.90] [Http_Query]: [disklimit]=(250)
[09:26:16.90] [Http_Query]: [ftplimit]=(999)
[09:26:16.90] [Http_Query]: [maillimit]=(100)
[09:26:16.90] [Http_Query]: [domainlimit]=(1)
[09:26:16.90] [Http_Query]: [webdomainlimit]=(1)
[09:26:16.90] [Http_Query]: [maildomainlimit]=(1)
[09:26:16.90] [Http_Query]: [baselimit]=(999)
[09:26:16.90] [Http_Query]: [baseuserlimit]=(1)
[09:26:16.90] [Http_Query]: [bandwidthlimit]=(99999)
[09:26:16.90] [Http_Query]: [shell]=(off)
[09:26:16.90] [Http_Query]: [ssl]=(on)
[09:26:16.90] [Http_Query]: [cgi]=(off)
[09:26:16.90] [Http_Query]: [ssi]=(off)
[09:26:16.90] [Http_Query]: [phpmod]=(on)
[09:26:16.90] [Http_Query]: [phpcgi]=(on)
[09:26:16.90] [Http_Query]: [phpfcgi]=(on)
[09:26:16.90] [Http_Query]: [safemode]=(on)
[09:26:16.90] [Http_Query]: [cpulimit]=(5)
[09:26:16.90] [Http_Query]: [memlimit]=(5)
[09:26:16.90] [Http_Query]: [proclimit]=(500)
[09:26:16.90] [Http_Query]: [owner]=(root19)
[09:26:16.90] [IO_Write]: запись в файл
(/var/www/user/data/www/bill.host.org/hosts/bill.host.org/tmp/logs/http-send.log)
[09:26:16.91] [Http_Send]: делаем запрос:
GET
/manager/ispmgr?authinfo=root%3Aroot&out=xml&func=user.edit&sok=yes&name=h1000&passwd=7ca35da839
7d&confirm=7ca35da8397d&domain=h1000.arhost.org&ip=89.149.194.0&preset=Mini&email=root%40gmail.
com&disklimit=250&ftplimit=999&maillimit=100&domainlimit=1&webdomainlimit=1&maildomainlimit=1&am
p;baselimit=999&baseuserlimit=1&bandwidthlimit=99999&shell=off&ssl=on&cgi=off&ssi=off&phpmod
=on&phpcgi=on&phpfcgi=on&safemode=on&cpulimit=5&memlimit=5&proclimit=500&owner=root19
HTTP/1.0
Host: 89.149.194.0
Connection: close
[09:26:18.99] [Http_Send]: получили ответ:
HTTP/1.1 200 OK
Date: Tue, 10 May 2011 05:26:16 GMT
Server: Apache/2.2.16 (Debian)
Cache-Control: no-cache
Pragma: no-cache
Vary: Accept-Encoding
Content-Length: 1107
Connection: close
Content-Type: text/xml
<?xml version="1.0" encoding="UTF-8"?>
<doc><error code="4" val="owner">
</error><authinfo>root:root</authinfo><bandwidthlimit>99999</bandwidthlimit><baseli
mit>999</baselimit><baseuserlimit>1</baseuserlimit><cgi>off</cgi><confirm>7ca35da
8397d</confirm><cpulimit>5</cpulimit><disklimit>250</disklimit><domain>h1000.arhost.
org</domain><domainlimit>1</domainlimit><email>root@gmail.com</email><ftplimit>9
99</ftplimit><func>user.edit</func><ip>89.149.194.0</ip><ip6limit>0</ip6limit>
;<iplimit>0</iplimit><maildomainlimit>1</maildomainlimit><maillimit>100</maillimit>&
lt;maxclientsvhost>0</maxclientsvhost><memlimit>5</memlimit><mysqlconnectlimit>0</mysqlcon
nectlimit><mysqlquerieslimit>0</mysqlquerieslimit><mysqlupdateslimit>0</mysqlupdateslimit><
;mysqluserconnectlimit>0</mysqluserconnectlimit><name>h1000</name><out>xml</out><own
er>root</owner><passwd>7ca35da8397d</passwd><phpcgi>on</phpcgi><phpfcgi>on</
phpfcgi><phpmod>on</phpmod><preset>Mini</preset><proclimit>500</proclimit><saf
emode>on</safemode><shell>off</shell><sok>yes</sok><ssi>off</ssi><ssl>
;on</ssl><webdomainlimit>1</webdomainlimit></doc>
[09:26:18.99] [IO_Write]: запись в файл
(/var/www/user/data/www/bill.host.org/hosts/bill.host.org/tmp/logs/http-send.log)
[09:26:18.99] [String_XML_Parse]: парсирование строки (1106 bytes)
[09:26:19.01] [Exception]: [ACCOUNT_CREATE_ERROR]=(Не удалось создать заказ хостинга)[/code]
Пробовал подставлять строчку в браузер - ISPmanager пишет Fatal error
access deny