Hi ! i've tried to execute IspCP by command line !
For example .. to add ad domain, i executed this sql request :
Code:
INSERT INTO domain (domain_id,domain_name,domain_gid,domain_uid,domain_admin_id,domain_created_id,domain_created,domain_last_modified,domain_mailacc_limit,domain_ftpacc_limit,domain_traffic_limit,domain_sqld_limit,domain_sqlu_limit,domain_status,domain_alias_limit,domain_subd_limit,domain_ip_id,domain_disk_limit,domain_disk_usage,domain_php,domain_cgi,domain_egw) VALUES (316,"test.fr",2377,2377,319,2,1182504245,0,0,0,0,0,0,"toadd",0,0,1,0,114802,"yes","yes","yes") ;
and then, i called in my terminal :
Code:
perl /var/www/ispcp/engine/ispcp-rqst-mngr
Result :
- all DNS files are well created
- all files & dir under /var/www/virtual is also well created
- same for for virtual ahost section in /etc/apache/site-available/ispcp.conf
But in the GUI interface ... my domain is accompagnated with a Red square .. and when i try to change with identity of my domain, i arrive on antoher domain created in my ispcp.
So i think i have done a mistake in my sql request and particulary with one of these fields :
- domain_admin_id
- domain_created_id
- domain_created
I don't know who it is wrong ^^
Another thing i have to ask you, ihave my first domain on ispcp :
Code:
| domain_id | domain_name | domain_gid | domain_uid | domain_admin_id | domain_created_id | domain_created | domain_last_modified | domain_mailacc_limit | domain_ftpacc_limit | domain_traffic_limit | domain_sqld_limit | domain_sqlu_limit | domain_status | domain_alias_limit | domain_subd_limit | domain_ip_id | domain_disk_limit | domain_disk_usage | domain_php | domain_cgi | domain_egw |
+-----------+------------------+------------+------------+-----------------+-------------------+----------------+----------------------+----------------------+---------------------+----------------------+-------------------+-------------------+---------------+--------------------+-------------------+--------------+-------------------+-------------------+------------+------------+------------+
| 315 | mail.fullhost.fr | 2376 | 2376 | 319 | 2 | 1182504245 | 0 | 0 | 0 | 0 | 0 | 0 | ok | 0 | 0 | 1 | 0 | 114802 | yes | yes | yes |
Why domain_admin_id is incremente by +4 of domain_id ?
Maybe it's the one of the source of the problem because i use the same id for my request sql of domain "test.fr" ...
Thx for answer :!:
Ryu !