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. 2022-09-30, 07:30:38

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 - letux

Pages: [1] 2 3 ... 9
1
issue: can't create SSL Certificate using let's encrypt
Code: [Select]
[Fri Mar 16 15:50:41 EET 2018] Registering account
[Fri Mar 16 15:50:45 EET 2018] Registered
[Fri Mar 16 15:50:45 EET 2018] ACCOUNT_THUMBPRINT='j9rp2KXrhzkZXNZycaP1gbEddKWJjjdBiTjPREtpyuM'
[Fri Mar 16 15:50:45 EET 2018] Creating domain key
[Fri Mar 16 15:50:46 EET 2018] The domain key is here: /root/.acme.sh/imagine.net.eg/imagine.net.eg.key
[Fri Mar 16 15:50:46 EET 2018] Single domain='imagine.net.eg'
[Fri Mar 16 15:50:46 EET 2018] Getting domain auth token for each domain
[Fri Mar 16 15:50:46 EET 2018] Getting webroot for domain='imagine.net.eg'
[Fri Mar 16 15:50:46 EET 2018] Getting new-authz for domain='imagine.net.eg'
[Fri Mar 16 15:50:48 EET 2018] The new-authz request is ok.
[Fri Mar 16 15:50:48 EET 2018] Verifying:imagine.net.eg
[Fri Mar 16 15:50:52 EET 2018] Success
[Fri Mar 16 15:50:52 EET 2018] Verify finished, start to sign.
[Fri Mar 16 15:50:55 EET 2018] Sign failed:
[Fri Mar 16 15:50:55 EET 2018] Please add '--debug' or '--log' to check more details.
[Fri Mar 16 15:50:55 EET 2018] See: https://github.com/Neilpang/acme.sh/wiki/How-to-debug-acme.sh

sysinfo:
Code: [Select]
# sh /script/sysinfo
A. Control Panel:               
   - Kloxo-MR: 7.0.0.c-2017091202
   - Web: hiawatha-10.6.0-f.1.mr.el7.x86_64
   - PHP: php56s - 5.6.33-1.ius.centos7 (fpm mode)
B. Plateform:
   - OS: CentOS Linux release 7.4.1708 (Core) x86_64
   - Hostname: imagine.net.eg
C. Services:
   1. MySQL: MariaDB-server-10.0.34-1.el7.centos.x86_64
   2. PHP:
      - Installed:
        - Branch: php56u-cli-5.6.34-1.ius.centos7.x86_64
        - Multiple:
          * php56m - 5.6.33-1.ius.centos7
          * php70m - 7.0.27-1.ius.centos7
          * php71m - 7.1.14-1.ius.centos7
      - Used: php71m-fpm
      - Multiple: enable
   3. Web Used: nginxproxy
     - Hiawatha: hiawatha-10.6.0-f.1.mr.el7.x86_64
     - Lighttpd: lighttpd-1.4.48-1.el7.x86_64
     - Nginx: nginx-1.13.9-1.el7_4.ngx.x86_64
     - Apache: httpd24u-2.4.29-1.ius.centos7.x86_64
       - PHP Type: php-fpm_event
       - Secondary PHP: on
   4. WebCache: none
     - ATS: --uninstalled--
     - Squid: --uninstalled--
     - Varnish: --uninstalled--
   5. Dns: bind
     - Bind: bind-9.9.9-1.mr.el7.x86_64
     - DJBDns: djbdns-1.05-17.4.mr.el7.x86_64
     - NSD: nsd-4.1.19-1.el7.x86_64
     - PowerDNS: pdns-4.0.3-1.el7.MIND.x86_64
     - Yadifa: yadifa-2.3.7-1.el7.x86_64
   6. Mail: qmail-toaster-1.03-1.3.57.mr.el7.x86_64
      - pop3/imap4: courier-imap-toaster-4.1.2-1.3.20.mr.el7.x86_64
      - smtp: qmail-toaster-1.03-1.3.57.mr.el7.x86_64
      - spam: --uninstalled--
   7. FTP: pure-ftpd
      - pure-ftpd: pure-ftpd-1.0.42-3.el7.x86_64
   8. Stats: awstats
      - awstats: kloxomr-stats-awstats-7.6-1.mr.noarch

note:
'sh /script/cleanup' didn't fix issue.

2
hello,
i'm planning to use Odoo ERP and host it on own server.
i have server already with Kloxo-MR.
and i'm asking if i have anyway to install odoo on subdomain! " create subdomain like acc.mydomain.ltd and enable ssh on this subdomain and install Odoo "
can i do that!
if i can't do that on subdomain, can i create a new client and enable ssh ..etc.!
or can i install odoo with root side by side Kloxo-MR ?

3
that's help
and now
Code: [Select]
# sh /script/sysinfo
A. Control Panel:               
   - Kloxo-MR: 7.0.0.c-2017051802
   - 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
   - Hostname: imagine.net.eg
C. Services:
   1. MySQL: MariaDB-server-10.0.31-1.el6.x86_64
   2. PHP:
      - Installed:
        - Branch: php56w-cli-5.6.30-1.w6.x86_64
        - Multiple:
          * php52m-5.2.17-102.mr.el6
          * php53m-5.3.29-1.ius.el6
          * php54m-5.4.45-1.ius.el6
          * php55m-5.5.38-1.ius.el6
          * php56m-5.6.30-2.ius.centos6
          * php70m-7.0.18-1.ius.centos6
      - Used: php56m-fpm
      - Multiple: disable
   3. Web Used: nginxproxy
     - Hiawatha: hiawatha-10.6.0-f.1.mr.el6.x86_64
     - Lighttpd: lighttpd-1.4.45-1.el6.x86_64
     - Nginx: nginx-1.13.0-1.el6.ngx.x86_64
     - Apache: httpd24u-2.4.25-3.ius.el6.x86_64
       - PHP Type: php-fpm_event
       - Secondary PHP: on
   4. WebCache: none
     - ATS: --uninstalled--
     - Squid: --uninstalled--
     - Varnish: --uninstalled--
   5. Dns: djbdns
     - Bind: bind-9.9.9-1.mr.el6.x86_64
     - DJBDns: djbdns-1.05-17.4.mr.el6.x86_64
     - NSD: nsd-4.1.16-1.el6.x86_64
     - PowerDNS: pdns-4.0.3-1.el6.MIND.x86_64
     - Yadifa: yadifa-2.2.3-1.mr.el6.x86_64
   6. Mail: qmail-toaster-1.03-1.3.56.mr.el6.x86_64
      - pop3/imap4: courier-imap-toaster-4.1.2-1.3.20.mr.el6.x86_64
      - smtp: qmail-toaster-1.03-1.3.56.mr.el6.x86_64
      - spam: --uninstalled--
   7. FTP: pure-ftpd
      - pure-ftpd: pure-ftpd-1.0.37-1.mr.el6.x86_64
   8. Stats: webalizer
      - webalizer: webalizer-2.23_08-1.mr.el6.x86_64
D. Memory:
             total       used       free     shared    buffers     cached
Mem:          1877       1627        249         18         88        400
-/+ buffers/cache:       1138        738
Swap:            0          0          0
E. Disk Space:
Filesystem      Size  Used Avail Use% Mounted on
/dev/vda1        40G   21G   17G  56% /


*** Process Time: 00:00:00:33.33068 (dd:hh:mm:ss:xxxxxx) ***

* Note: run 'sh /script/sysinfo -y' if you want run 'fix-service-list' also
        (importance after Kloxo-MR update)

4
Code: [Select]
# sh /script/restart

Stopping kloxo-hiawatha:                                   [  OK  ]
Starting kloxo-hiawatha:                                   [  OK  ]
-------------------------------------------------------------------

Stopping kloxo-phpcgi:                                     [FAILED]
Starting kloxo-phpcgi ('php56s' in 'fpm' mode): /usr/local/lxlabs/kloxo/init/kloxo-phpcgi: line 10: /opt/php56s/usr/sbin/php-fpm: No such file or directory
/usr/local/lxlabs/kloxo/init/kloxo-phpcgi: line 10: exec: /opt/php56s/usr/sbin/php-fpm: cannot execute: No such file or directory
                                                           [FAILED]
-------------------------------------------------------------------

Kloxo Wrapper -> STOP
Kloxo Wrapper -> START
-------------------------------------------------------------------

- For help, type '/script/restart [--help|-h]'
 

5
Code: [Select]
# sh /script/sysinfo
*** Process Time: 00:00:00:00.122 (dd:hh:mm:ss:xxxxxx) ***

* Note: run 'sh /script/sysinfo -y' if you want run 'fix-service-list' also
        (importance after Kloxo-MR update)
 
no output :/

6
Kloxo-MR Technical Helps / Scripts didn't run and CP down
« on: 2017-05-25, 14:35:18 »
Hello Mostafa
i have an issue on server
(http://178.62.57.113:7778/) give me Error 503
and when i try to run any script like 'sh /script/cleanup' he just restart services without any another processes, and  'sh /script/sysinfo' didn't give me any thing!

7
Kloxo-MR Technical Helps / Re: Qmail up load avrage to 37 !!
« on: 2017-01-23, 09:08:24 »
yes, it's all emails like this : http://imgur.com/a/NjM3c
how to know if website hacked ?
the mails out from just 4 mail and this website have 12 mail address

8
Kloxo-MR Technical Helps / Qmail up load avrage to 37 !!
« on: 2017-01-23, 02:14:35 »
Hello Mostafa

please look to screen shoot : http://imgur.com/a/DFh0J

i'm disabled qmail now and load average back to 0.75 ~
what's the wrong ?

sysinfo:

Code: [Select]
# sh /script/sysinfo
A. Control Panel:               
   - Kloxo-MR: 7.0.0.b-2017011101
   - Web: hiawatha-10.4.0-f.1.mr.el6.x86_64
   - PHP: php54s-5.4.45-1.ius.el6 (fpm mode)
B. Plateform:
   - OS: CentOS release 6.8 (Final) x86_64
   - Hostname: mogardfkra.com
C. Services:
   1. MySQL: MariaDB-server-10.0.29-1.el6.x86_64
   2. PHP:
      - Installed:
        - Branch: php56w-cli-5.6.29-1.w6.x86_64
        - Multiple:
          * php52m-5.2.17-102.mr.el6
          * php53m-5.3.29-1.ius.el6
          * php54m-5.4.45-1.ius.el6
          * php55m-5.5.38-1.ius.el6
          * php56m-5.6.29-1.ius.el6
          * php70m-7.0.14-3.ius.el6
      - Used: php56m-fpm
      - Multiple: disable
   3. Web Used: nginxproxy
     - Hiawatha: hiawatha-10.4.0-f.1.mr.el6.x86_64
     - Lighttpd: lighttpd-1.4.44-1.el6.x86_64
     - Nginx: nginx-1.11.8-1.el6.ngx.x86_64
     - Apache: httpd24u-2.4.25-2.ius.el6.x86_64
       - PHP Type: php-fpm_event
       - Secondary PHP: on
   4. WebCache: none
     - ATS: --uninstalled--
     - Squid: --uninstalled--
     - Varnish: --uninstalled--
   5. Dns: bind
     - Bind: bind-9.9.7-1.mr.el6.x86_64
     - DJBDns: --uninstalled--
     - NSD: --uninstalled--
     - PowerDNS: --uninstalled--
     - Yadifa: --uninstalled--
   6. Mail: qmail-toaster-1.03-1.3.55.mr.el6.x86_64
      - pop3/imap4: courier-imap-toaster-4.1.2-1.3.20.mr.el6.x86_64
      - smtp: none
      - spam: --uninstalled--
   7. Stats: webalizer
D. Memory:
                total       used       free     shared    buffers     cached
   Mem:          3959       3322        637          1        574       1310
   -/+ buffers/cache:       1436       2522
   Swap:            0          0          0
E. Disk Space:
   Filesystem      Size  Used Avail Use% Mounted on
   /dev/vda1        59G   18G   39G  32% /

9
Ok,
i'am used some command lines to try and it's resolved problem.

' yum remove httpd '
' yum install mod24u* '

and now everything working correctly :)

10
Sorry,
still same issue

11
i have a new VPS and installed Kloxo-mr7
and choice nginproxy but i got issue

 i get this parts from 'sh /script/cleanup'

Code: [Select]
Installing All Web servers
Error in PREUN scriptlet in rpm package httpd
httpd-2.2.31-1.mr.el6.x86_64 was supposed to be removed but is not!
No Match for argument: mod_ssl
No Match for argument: mod_ruid2
No Match for argument: mod_fcgid


Transaction Check Error:
  file /etc/httpd/conf.d/README from install of httpd24u-filesystem-2.4.23-2.ius.el6.noarch conflicts with file from package httpd-2.2.31-1.mr.el6.x86_64

Error Summary


Code: [Select]
Stopping httpd:                                            [FAILED]
Starting httpd: httpd: Syntax error on line 131 of /etc/httpd/conf/httpd.conf: Syntax error on line 4 of /etc/httpd/conf.d/fastcgi.conf: Cannot load modules/mod_fastcgi.so into server: /etc/httpd/modules/mod_fastcgi.so: cannot open shared object file: No such file or directory
                                                           [FAILED]

SYSINFO

Code: [Select]
#  sh /script/sysinfo
A. Control Panel:               
   - Kloxo-MR: 7.0.0.b-2016111301
   - Web: hiawatha-10.4.0-f.1.mr.el6.x86_64
   - PHP: php54s-5.4.45-1.ius.el6 (fpm mode)
B. Plateform:
   - OS: CentOS release 6.8 (Final) x86_64
C. Services:
   1. MySQL: MariaDB-server-10.0.28-1.el6.x86_64
   2. PHP:
      - Installed:
        - Branch: php70w-cli-7.0.12-1.w6.x86_64
        - Multiple:
          * php52m-5.2.17-102.mr.el6
          * php53m-5.3.29-1.ius.el6
          * php54m-5.4.45-1.ius.el6
          * php55m-5.5.38-1.ius.el6
          * php56m-5.6.27-1.ius.el6
          * php70m-7.0.12-1.w6
      - Used: php70m-fpm
      - Multiple: disable
   3. Web Used: nginxproxy
     - Hiawatha: hiawatha-10.4.0-f.1.mr.el6.x86_64
     - Lighttpd: lighttpd-1.4.41-2.el6.x86_64
     - Nginx: nginx-1.11.6-1.el6.ngx.x86_64
     - Apache: httpd-2.2.31-1.mr.el6.x86_64
       - PHP Type: php-fpm_event
       - Secondary PHP: on
   4. WebCache: none
     - ATS: --uninstalled--
     - Squid: --uninstalled--
     - Varnish: --uninstalled--
   5. Dns: bind
     - Bind: bind-9.9.7-1.mr.el6.x86_64
     - DJBDns: --uninstalled--
     - NSD: --uninstalled--
     - PowerDNS: --uninstalled--
     - Yadifa: --uninstalled--
   6. Mail: qmail-toaster-1.03-1.3.55.mr.el6.x86_64
      - pop3/imap4: courier-imap-toaster-4.1.2-1.3.20.mr.el6.x86_64
      - smtp: qmail-toaster-1.03-1.3.55.mr.el6.x86_64
      - spam: --uninstalled--
   7. Stats: awstats
D. Memory:
                total       used       free     shared    buffers     cached
   Mem:           490        423         67          0         17        119
   -/+ buffers/cache:        286        203
   Swap:            0          0          0
E. Disk Space:
   Filesystem      Size  Used Avail Use% Mounted on
   /dev/vda1        20G  2.9G   16G  16% /

and something else, i checked in ' Use Apache 2.4' but it's shown as 'httpd-2.2.31-1.mr.el6.x86_64' in sysinfo

another question please, i want know if i can use cache with nginxproxy ? 

12
you  will got problem when Enable SSl 'i'am use let'sencrypt' with Apache and NginX-proxy.

Ok, Then ..
If you want to Enable SSl with Apache and NginX-Proxy you shuld follow this steps.

1- open SSh and login as root
2- then
Code: [Select]
cd '/opt/configs/nginx/conf/globals' 3- you will fiend four files
--- proxy_standard.conf
--- proxy_standard_ssl.conf
--- proxy_wildcards.conf
--- proxy_wildcards_ssl.conf

copy every file to custom file :

Code: [Select]
cp proxy_standard.conf custom.proxy_standard.conf
Code: [Select]
cp proxy_standard_ssl.conf  custom.proxy_standard_ssl.conf
Code: [Select]
cp proxy_wildcards.conf custom.proxy_wildcards.conf
Code: [Select]
cp proxy_wildcards_ssl.conf custom.proxy_wildcards_ssl.conf
and now you have custom copy from proxy files,

4- edit custom proxy files by vim or nano
Code: [Select]
nano custom.proxy_standard.conf
Find all the lines where it says proxy_set_header and add this line:
Quote
proxy_set_header X-Forwarded-Protocol $scheme;

Code: [Select]
nano custom.proxy_standard_ssl.conf
Find all the lines where it says proxy_set_header and add this line:
Quote
proxy_set_header X-Forwarded-Protocol $scheme;

Code: [Select]
nano custom.proxy_wildcards.conf
Find all the lines where it says proxy_set_header and add this line:
Quote
proxy_set_header X-Forwarded-Protocol $scheme;

Code: [Select]
nano custom.proxy_wildcards_ssl.conf
Find all the lines where it says proxy_set_header and add this line:
Quote
proxy_set_header X-Forwarded-Protocol $scheme;

5- after that run
Code: [Select]
sh /script/fixweb; sh /script/restart-all
6- Add this to the .htaccess of the domain with ssl:
Quote
SetEnvIf X-Forwarded-Protocol https HTTPS=on

------
if you still have problem, join to CP and open domain panel => Web Features
and change "Strict-Transport-Security "max-age=2592000; preload"" to "No-Strict-Transport-Security "max-age=2592000; preload""

and don't forgot set 'site url' in application using 'https://' instead 'http://'

thanks for chrisf
https://forum.mratwork.com/kloxo-mr-tips-and-tricks/php-force-redirect-ssl-nginxproxy-endless-loop/
and many thanks for Mostafa Ramadan
https://forum.mratwork.com/kloxo-mr-technical-helps/error-when-browsing-ssl-site/

13
Kloxo-MR Technical Helps / Re: Error when Browsing SSL Site
« on: 2016-11-11, 15:26:56 »
Ok, Then ..
If you want to Enable SSl with Apache and NginX-Proxy you shuld follow this steps.

1- open SSh and login as root
2- then
Code: [Select]
cd '/opt/configs/nginx/conf/globals' 3- you will fiend four files
--- proxy_standard.conf
--- proxy_standard_ssl.conf
--- proxy_wildcards.conf
--- proxy_wildcards_ssl.conf

copy every file to custom file :

Code: [Select]
cp proxy_standard.conf custom.proxy_standard.conf
Code: [Select]
cp proxy_standard_ssl.conf  custom.proxy_standard_ssl.conf
Code: [Select]
cp proxy_wildcards.conf custom.proxy_wildcards.conf
Code: [Select]
cp proxy_wildcards_ssl.conf custom.proxy_wildcards_ssl.conf
and now you have custom copy from proxy files,

4- edit custom proxy files by vim or nano
Code: [Select]
nano custom.proxy_standard.conf
Find all the lines where it says proxy_set_header and add this line:
Quote
proxy_set_header X-Forwarded-Protocol $scheme;

Code: [Select]
nano custom.proxy_standard_ssl.conf
Find all the lines where it says proxy_set_header and add this line:
Quote
proxy_set_header X-Forwarded-Protocol $scheme;

Code: [Select]
nano custom.proxy_wildcards.conf
Find all the lines where it says proxy_set_header and add this line:
Quote
proxy_set_header X-Forwarded-Protocol $scheme;

Code: [Select]
nano custom.proxy_wildcards_ssl.conf
Find all the lines where it says proxy_set_header and add this line:
Quote
proxy_set_header X-Forwarded-Protocol $scheme;

5- after that run
Code: [Select]
sh /script/fixweb; sh /script/restart-all
6- Add this to the .htaccess of the domain with ssl:
Quote
SetEnvIf X-Forwarded-Protocol https HTTPS=on

------
if you still have problem, join to CP and open domain panel => Web Features
and change "Strict-Transport-Security "max-age=2592000; preload"" to "No-Strict-Transport-Security "max-age=2592000; preload""

and don't forgot set 'site url' in application using 'https://' instead 'http://'

thanks for chrisf
https://forum.mratwork.com/kloxo-mr-tips-and-tricks/php-force-redirect-ssl-nginxproxy-endless-loop/
and many thanks for Mostafa Ramadan
https://forum.mratwork.com/kloxo-mr-technical-helps/error-when-browsing-ssl-site/

14
Kloxo-MR Technical Helps / Re: Error when Browsing SSL Site
« on: 2016-11-11, 15:18:41 »
it's resolved now and i will write topic with full steps to be clearly document .

thank you mostafa :)

15
Kloxo-MR Technical Helps / Re: Error when Browsing SSL Site
« on: 2016-11-11, 14:50:02 »
i'am already use 'https' as site url in application config file.
and now i changed  "Strict-Transport-Security "max-age=2592000; preload"" to "No-Strict-Transport-Security "max-age=2592000; preload"" from 'Web Features'
but still the same issue, i can't browse site .

Pages: [1] 2 3 ... 9

Top 10 Social Networking:    Facebook    Twitter    LinkedIn    Pinterest    Google Plus    Tumblr    Instagram    VK    Flickr    Vine

Page created in 0.091 seconds with 21 queries.

web stats analysis