Sponsor:

Server and Web Integrator
Link:
Kloxo-MR logo
6.5.0 or 7.0.0
Click for "How to install"
Donation/Sponsorship:
Kloxo-MR is open-source.
Donate and or Sponsorship always welcome.
Click to:
Click Here
Please login or register. 2024-03-28, 12:11:13

Show Posts

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.


Messages - Maradney

Pages: [1]
1
Thanks this did the trick  :)

2
Hi I'm using this command to add a new domain in kloxo
Code: [Select]
sh /script/add --client=admin --class=domain --name=domain.com --v-dnstemplate_name=default.dnstand 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 myself
is there a parameter for doing so ? and thanks in advance.

3
What will this do ?
I can tell I'm adding a client & domain
but where can I learn about all the parameters  and possible values of the /script/add ? is there is a documentation for this or it's just an example with nothing explained ?
I though /script/simplelist will explain the parameters required for the /script/add.

4
Ok sh /script/simplelist now gives this
Code: [Select]
__error_no_resource_for_[root@machine ~]#

5
Code: [Select]
free -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

*************************************************************************

6
sh /script/sysinfo
Quote
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

7
The command sh /script/simplelist throws this error
Quote
/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

8
the command sh /script/simplelist now throws this error
 
Quote
/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
Quote
mv /opt/php56s/etc/php.d/40-sphinx.ini /opt/php56s/etc/php.d/40-sphinx_unused.nonini
I wanted to know the resource types and parameters and try understand the add command to add a sub domain using php

9
the command sh /script/simplelist throws this error
Quote
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 0
/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 try understand the add command to add a sub domain using php

10
Oh thanks I'll check it out  :D

11
I need the API docs if possible I need to understand the commands.
In one of your replies you said that Kloxo-MR has the same API as Kloxo and provided the link but unfortunately the website is down and the docs are no where to be found.
as for what I want to do :
I want to make the user submit his own domain through an installation screen after he opens his temo-domain for the first time and for that I need to do Kloxo-MR operations using server side language.

12
I can't find the Kloxo API anywhere and the link http://wiki.lxcenter.org/API is no longer available
where can I find the API ?

Pages: [1]

MRatWork Affiliates:    BIGRAF(R) Inc.    House of LMAR    EFARgrafix

Page created in 0.035 seconds with 19 queries.

web stats analysis