1
Kloxo-MR Technical Helps / Re: using the /script/add for adding a new domain
« on: 2017-07-10, 15:32:24 »
Thanks this did the trick

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
sh /script/add --client=admin --class=domain --name=domain.com --v-dnstemplate_name=default.dnst
and it works find but I need to specify the document root, I know the document root's default value is the same as "--name=domain.com" but I need to specify it myselffree -m; sh /script/mem-usage
total used free shared buffers cached
Mem: 3951 3454 497 0 327 2344
-/+ buffers/cache: 782 3169
Swap: 0 0 0
Loaded plugins: fastestmirror, presto, priorities, protectbase, replace, security
Setting up Install Process
Loading mirror speeds from cached hostfile
mratwork-epel/metalink | 14 kB 00:00
* mratwork-epel: mirror.umd.edu
* mratwork-ius-archive: dl.iuscommunity.org
* mratwork-ius-stable: dl.iuscommunity.org
* mratwork-release-neutral-noarch: rpms.printographic.com
* mratwork-release-version-arch: rpms.printographic.com
* mratwork-webtatic: us-east.repo.webtatic.com
base | 3.7 kB 00:00
extras | 3.4 kB 00:00
mratwork-epel | 4.2 kB 00:00
mratwork-epel/primary_db | 5.9 MB 00:00
mratwork-google-mod-pagespeed | 951 B 00:00
mratwork-ius-archive | 2.4 kB 00:00
mratwork-ius-archive/primary_db | 3.5 MB 00:00
mratwork-ius-stable | 2.3 kB 00:00
mratwork-ius-stable/primary_db | 227 kB 00:00
mratwork-mariadb | 2.9 kB 00:00
mratwork-nginx | 2.9 kB 00:00
mratwork-nginx-stable | 2.9 kB 00:00
mratwork-release-neutral-noarch | 1.3 kB 00:00
mratwork-release-version-arch | 1.2 kB 00:00
mratwork-varnish-3.0 | 951 B 00:00
mratwork-webtatic | 3.6 kB 00:00
nodesource | 2.5 kB 00:00
openlogic | 2.9 kB 00:00
updates | 3.4 kB 00:00
updates/primary_db | 2.0 MB 00:00
0 packages excluded due to repository protections
Resolving Dependencies
--> Running transaction check
---> Package smem.noarch 0:1.4-1.el6 will be installed
--> Finished Dependency Resolution
Dependencies Resolved
=============================================================================================================================================================
Package Arch Version Repository Size
=============================================================================================================================================================
Installing:
smem noarch 1.4-1.el6 mratwork-epel 21 k
Transaction Summary
=============================================================================================================================================================
Install 1 Package(s)
Total download size: 21 k
Installed size: 41 k
Downloading Packages:
Setting up and reading Presto delta metadata
Processing delta metadata
Package(s) data still to download: 21 k
smem-1.4-1.el6.noarch.rpm | 21 kB 00:00
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Installing : smem-1.4-1.el6.noarch 1/1
Verifying : smem-1.4-1.el6.noarch 1/1
Installed:
smem.noarch 0:1.4-1.el6
Complete!
*************************************************************************
total used free shared buffers cached
Mem: 3951 3456 495 0 327 2344
-/+ buffers/cache: 784 3167
Swap: 0 0 0
*************************************************************************
User Count Swap USS PSS RSS
qmailq 1 0 88.0K 92.0K 428.0K
qmailr 1 0 116.0K 120.0K 452.0K
qmaild 3 0 200.0K 215.0K 892.0K
qmails 1 0 208.0K 220.0K 600.0K
rpc 1 0 336.0K 378.0K 756.0K
rpcuser 1 0 584.0K 637.0K 1.3M
dbus 1 0 688.0K 753.0K 1.3M
qmaill 9 0 820.0K 892.0K 5.2M
ntp 1 0 992.0K 1.1M 2.1M
restart 2 0 1.5M 2.5M 4.4M
haldaemon 2 0 2.5M 2.8M 4.8M
lxlabs 1 0 2.8M 2.9M 3.6M
named 1 0 16.2M 16.2M 16.9M
apache 2 0 10.0M 18.0M 33.1M
root 86 0 111.3M 126.6M 201.9M
mysql 1 0 127.0M 127.4M 128.9M
---------------------------------------------------
114 0 275.1M 300.6M 406.6M
* Under:
- root: dns server, php-fpm master, qmail supervise, ftp server,
nginx master
- apache: hiawatha, lighttpd, httpd, 'default' php-fpm, fcgiwrap,
nginx worker/cache manager
- lxlabs: hiawatha for Kloxo-MR panel
- Others services may running under root and apache
*************************************************************************
A. Control Panel:
- Kloxo-MR: 7.0.0.c-2017061602
- Web: hiawatha-10.6.0-f.1.mr.el6.x86_64
- PHP: php56s-5.6.30-2.ius.centos6 (fpm mode)
B. Plateform:
- OS: CentOS release 6.9 (Final) x86_64
C. Services:
1. MySQL: MariaDB-server-10.0.31-1.el6.x86_64
2. PHP:
- Installed:
- Branch: php70u-cli-7.0.19-1.ius.centos6.x86_64
- Used: --PHP Branch--
- Multiple: enable
3. Web Used: apache
- Hiawatha: hiawatha-10.6.0-f.1.mr.el6.x86_64
- Lighttpd: lighttpd-1.4.45-1.el6.x86_64
- Nginx: nginx-1.13.1-1.el6.ngx.x86_64
- Apache: httpd-2.2.31-1.mr.el6.x86_64
- PHP Type: php-fpm_event
- Secondary PHP: off
8. Stats: awstats
- awstats: kloxomr-stats-awstats-7.6-1.mr.noarch
/script/simplelist: line 3: 44863 Segmentation fault (core dumped) lxphp.exe ../bin/common/commandline.php --action=simplelist "$@"I wanted to know the resource types and parameters and try understand the add command to add a sub domain using php
/script/simplelist: line 3: 44863 Segmentation fault (core dumped) lxphp.exe ../bin/common/commandline.php --action=simplelist "$@"I solved the php one by doing so
mv /opt/php56s/etc/php.d/40-sphinx.ini /opt/php56s/etc/php.d/40-sphinx_unused.noniniI wanted to know the resource types and parameters and try understand the add command to add a sub domain using php
PHP Warning: PHP Startup: Unable to load dynamic library '/opt/php56s/usr/lib/php/modules/sphinx.so' - libsphinxclient-0.0.1.so: cannot open shared object file: No such file or directory in Unknown on line 0I wanted to know the resource types and try understand the add command to add a sub domain using php
/script/simplelist: line 3: 44863 Segmentation fault (core dumped) lxphp.exe ../bin/common/commandline.php --action=simplelist "$@"