Current time: 03-31-2025, 09:08 PM Hello There, Guest! (LoginRegister)


Post Reply 
[IspCP] - Command Line -
Author Message
Ryuuku Offline
Junior Member
*

Posts: 55
Joined: Apr 2007
Reputation: 0
Post: #5
RE: [IspCP] - Command Line -
Hi ! i've tried to execute IspCP by command line ! Tongue

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,d​omain_created,domain_last_modified,domain_mailacc_limit,domain_ftpacc_limit,doma​in_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" ... Big Grin


Thx for answer :!:

Ryu ! Smile
07-12-2007 05:58 PM
Find all posts by this user Quote this message in a reply
Post Reply 


Messages In This Thread
[IspCP] - Command Line - - Ryuuku - 07-11-2007, 11:55 PM
RE: [IspCP] - Command Line - - BeNe - 07-12-2007, 03:40 AM
RE: [IspCP] - Command Line - - raphael - 07-12-2007, 05:55 AM
RE: [IspCP] - Command Line - - adigit - 07-12-2007, 11:47 AM
RE: [IspCP] - Command Line - - Ryuuku - 07-12-2007 05:58 PM
RE: [IspCP] - Command Line - - Ryuuku - 07-12-2007, 06:10 PM
RE: [IspCP] - Command Line - - raphael - 07-13-2007, 02:22 AM
RE: [IspCP] - Command Line - - Ryuuku - 07-13-2007, 05:31 PM

Forum Jump:


User(s) browsing this thread: 1 Guest(s)