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, 11:06:43

Author Topic: simplelist throws an error and want to know how to use the add command  (Read 14214 times)

0 Members and 1 Guest are viewing this topic.

Offline Maradney

  • Junior Member
  • *
  • Posts: 12
  • Karma: +0/-0
    • View Profile
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

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Something wrong with php. Inform here 'sh /script/sysinfo' after reboot.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline Maradney

  • Junior Member
  • *
  • Posts: 12
  • Karma: +0/-0
    • View Profile
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

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
No info for memory usage?. So, inform here 'free -m; sh /script/mem-usage'.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline Maradney

  • Junior Member
  • *
  • Posts: 12
  • Karma: +0/-0
    • View Profile
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

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

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
It's weird for 'Segmentation fault' for lxphp.exe (php for panel) under CentOS 6.

I found this issue only for CentOS 7 in RAM 512MB or less.

For your issue, try:
Code: [Select]
sh /script/phpm-installer php56s
sh /script/fixlxphpexe php56s
sh /script/restart
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline Maradney

  • Junior Member
  • *
  • Posts: 12
  • Karma: +0/-0
    • View Profile
Ok sh /script/simplelist now gives this
Code: [Select]
__error_no_resource_for_[root@machine ~]#

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Try:
Code: [Select]
sh /script/add --client=<CLIENT> --class=domain --name=<DOMAIN> --v-dnstemplate_name=<DNSTEMPLATE>

#example:
#sh /script/add --client=admin --class=domain --name=domain.com --v-dnstemplate_name=default.dnst
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline Maradney

  • Junior Member
  • *
  • Posts: 12
  • Karma: +0/-0
    • View Profile
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.

 


Top 4 Global Search Engines:    Google    Bing    Baidu    Yahoo
Click Here

Page created in 0.034 seconds with 20 queries.

web stats analysis