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-04-19, 09:49:41

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.


Topics - postcd

Pages: [1]
1
Hello,
when trying to setup LetsEncrypt SSL on KloxoMR 7.0.0.c-2017050104, it says "Alert: Create Certificate failed"

The log file: cat /var/log/acme.sh/acme.sh.log
Quote
Register account Error: {"type":"urn:acme:error:unauthorized","detail":"Account creation on ACMEv1 is disabled. Please upgrade your ACME client to a version that supports ACMEv2 / RFC 8555. See https://community.letsencrypt.org/t/end-of-life-plan-for-acmev1/88430 for details.","status": 403}
Please add '--debug' or '--log' to check more details.
See: https://github.com/Neilpang/acme.sh/wiki/How-to-debug-acme.sh
Using CA: https://acme-v02.api.letsencrypt.org/directory

Then i have tried to get latest acme.sh:

mv /root/.acme.sh/acme.sh /root/.acme.sh/acmeold.sh;cd /root/.acme.sh/;wget https://raw.githubusercontent.com/acmesh-official/acme.sh/master/acme.sh;cd -;

Then the log shows:
Quote
Using CA: https://acme-v02.api.letsencrypt.org/directory
Registering account: https://acme-v02.api.letsencrypt.org/directory
Registered
ACCOUNT_THUMBPRINT='stringhere'
Creating domain key
The domain key is here: /root/.acme.sh/mydomainhere.tld/mydomainhere.tld.key
Multi domain='DNS:mydomainhere.tld,DNS:www.mydomainhere.tld,DNS:cp.mydomainhere.tld,DNS:webmail.mydomainhere.tld'
Getting domain auth token for each domain
Getting webroot for domain='mydomainhere.tld'
Getting webroot for domain='www.mydomainhere.tld'
Getting webroot for domain='cp.mydomainhere.tld'
Getting webroot for domain='webmail.mydomainhere.tld'
Verifying: mydomainhere.tld
mydomainhere.tld:Verify error:Fetching http://mydomainhere.tld/.well-known/acme-challenge/stringhere: Connection refused
Please add '--debug' or '--log' to check more details.
See: https://github.com/acmesh-official/acme.sh/wiki/How-to-debug-acme.sh

https://www.ecosia.org/search?q=verify+error%3A+fetching+Connection+refused

"apachectl configtest" and "sh /script/restart-web"
shown syntax errors:
Starting httpd: Syntax error on line 43 of /etc/httpd/conf/httpd.conf:
Invalid command 'ErrorLogFormat', perhaps misspelled or defined by a module not included in the server configuration
but when i check that .conf file and comment out the line like that, it complains about more and more lines. And end up reporting no log file set.

there are also script that suggests fixing web:
-rw-r--r-- 1 lxlabs lxlabs   452 May  1  2017 fixweb
-rw-r--r-- 1 lxlabs lxlabs    47 May  1  2017 fixweb-all
-rw-r--r-- 1 lxlabs lxlabs   175 May  1  2017 fixweb-defaults
but i do not know if that is safe to run these scripts

Please any idea how to fix it?
UPDATE: it may help to switch to nginx? Somehow web works now.

UPDATE2:
i ended up replacing /root/.acme.sh/acme.sh by https://raw.githubusercontent.com/acmesh-official/acme.sh/master/acme.sh
and then somehow it started working.

QUESTION: can this be somehow fixed for future usage, or what is the proper fix? Mine may not be good fix.
i may replace the old one by this new one, but i do not know if this is the problem cause

2
Hello,

on the clean KloxoMR server i got this error when visited website i just added:
Quote
Site error: the file /home/admin/mysite/index.php requires the ionCube PHP Loader ioncube_loader_lin_5.6.so to be installed by the site administrator.

i found that in /etc/php.d/ was file:
01-ioncube-loader.nonini

and when i renamed it to .ini and restarted services, website started working

Quote
cp -p /etc/php.d/01-ioncube-loader.nonini /etc/php.d/01-ioncube-loader.ini
sh /script/restart-all

Can i enable ioncube loader anyhow from within KloxoMR without visiting command line?

PS: my server:
Kloxo-MR: 7.0.0.c-2017050104
php56s-5.6.30-2.ius.centos6 (fpm mode)
php56u-cli-5.6.30-2.ius.centos6.i686

3
Hello, i submitted Lets encrypt form in KloxoMR to add SSL to my domain, but that page was still "loading" for many minutes and ended in timeout. When i checked /var/log/acmme.sh/acme.sh_tmp.log, i found:

Quote
[Fri May 19 14:25:58 EDT 2017] Multi domain='DNS:www.domainhere.tk,DNS:cp.domainhere.tk,DNS:stats.domainhere.tk,DNS:webmail.domainhere.tk'
[Fri May 19 14:25:58 EDT 2017] Getting domain auth token for each domain
[Fri May 19 14:25:58 EDT 2017] Getting webroot for domain='domainhere.tk'
[Fri May 19 14:25:58 EDT 2017] Getting new-authz for domain='domainhere.tk'
[Fri May 19 14:26:59 EDT 2017] The server is busy, Sleep 3 to retry.
[Fri May 19 14:28:29 EDT 2017] The server is busy, Sleep 4 to retry.
[Fri May 19 14:29:59 EDT 2017] The server is busy, Sleep 5 to retry.
[Fri May 19 14:30:04 EDT 2017] new-authz retry reach the max 5 times.
[Fri May 19 14:30:04 EDT 2017] new-authz error: <HTML><HEAD><TITLE>Error</TITLE></HEAD><BODY>An error occurred while processing your request.<p>Reference #97.7f3b2217.1495218599.21f83ae</BODY></HTML>
[Fri May 19 14:30:04 EDT 2017] Please add '--debug' or '--log' to check more details.
[Fri May 19 14:30:04 EDT 2017] See: https://github.com/Neilpang/acme.sh/wiki/How-to-debug-acme.sh

Please how can i add that --debug or --log flag to the "acme"? Or what is the cause? What are ideas to make it working?

running: 7.0.0.c-2017050104

4
It would be nice if there is noob friendly way to configure Nginx on per domain basis from within KloxoMR without need to search Google on where are configuration files etc. and involve command line work.

Maybe just some special nginx config file which i will update from within KloxoMR and things/variables i add will override default config.

I see .htaccess files are not supported in Nginx, so i convert htaccess to the nginx format using tool like https://winginx.com/en/htaccess and then finding way to apply the code in KloxoMR on per domain / directory basis.

5
Hello,

in KloxoMR 7.0.0.c-2017031002 (on CentOS 6.8 32bit) i submitted form to Add Let's Encrypt certificate to my domain (KloxoMR / Domains / my domain / SSL ceritifcates / Add lets encrypt)

It returned Error 400

Also i was unable to access Kloxo at all.. So i logged in SSH and found file /var/log/acme.sh/acme.sh.log

it do not show any error inside it, here is its content: https://pastebin.com/Rv8AqhiP

So i restarted all services by command: sh /script/restart-all

And then Kloxo started working and domain got working SSL certificate.  :D

That is nice, excpet i would like to ask for help on how to prevent Error 400 so i do not need to login SSH and do restart of services?

If you want me to execute some commands to shed more light on this, please kindly let me know. Thx

6
Hello,

please is there anyone who tried to create OpenVZ OStemplate in which KloxoMR is installed?

I am using OpenVZ template of the old lxlabs Kloxo and listen no complaints so far. But not sure about KloxoMR.

I tried creating OpenVZ template with KloxoMR and it seems to be working, except 2 things i found so far:
- after first login it prints message that session token is invalid and i have to try again
- in KloxoMR i found old IP at Kloxo/Resource/IP addresses (http://IPHERE:7778/display.php?frm_action=list&frm_o_cname=ipaddress)

Are there any other issues? What are the steps to make KloxoMR portable for virtualization templates so me or client does not need to always manually change IP, etc.?

So far i thought OpenVZ has some initialization scripts that can be run upon VPS creation, but i am yet unsure how to do it, it would probably involve running MySQL query to update IP in KloxMRo database. Any chance making KloxoMR portable please?

Thanks alot

7
Hello,

i faced some "minor error" during install KloxoMR 7

CentOS release 6.8 (Final)
Linux vps.centos6.tld 2.6.32-042stab093.5 #1 SMP Wed Sep 10 17:39:49 MSK 2014 i686 i686 i386 GNU/Linux

Quote
Installed:
  kloxomr7.noarch 0:7.0.0.c-2017031002.mr

This is 512MB RAM VPS and there was memory related error after installation:
Quote
Stopping kloxo-phpcgi: /etc/rc.d/init.d/functions: fork: Cannot allocate memory
                                                           [  OK  ]
Starting kloxo-phpcgi ('php56s' in 'fpm' mode): /opt/php56s/usr/sbin/php-fpm: error while loading shared libraries: libz.so.1: failed to map segment from shared object: Cannot allocate memory
                                                           [FAILED]

but this one got fixed by adding more ram (768MB). THis was issue with my server, Kloxo need much less memory.

Other "errors" that appeared during install:

Quote
cp: cannot stat `/opt/configs/php-fpm/conf/php/php-fpm.d/default.conf': No such file or directory
- Enable for all php-fpm (branch and multiple phps)
-- Enable for php56s-fpm
=== END 'php56s' install ===

Quote
Packages skipped because of dependency problems:
    httpd-2.2.31-1.mr.el6.i386 from mratwork-release-version-arch
    httpd-tools-2.2.31-1.mr.el6.i386 from mratwork-release-version-arch
    php56u-5.6.30-1.ius.centos6.i686 from mratwork-ius-stable

Quote
Stopping php-fpm (PHP Used):                               [FAILED]
Starting php-fpm (PHP Used): [16-Mar-2017 05:42:42] ERROR: No pool defined. at least one pool section must be specified in config file
[16-Mar-2017 05:42:42] ERROR: failed to post process the configuration
[16-Mar-2017 05:42:42] ERROR: FPM initialization failed
                                                           [FAILED]

dir -l /opt/configs/php-fpm/conf/php
Quote
total 4
-rw-r--r-- 1 root root    0 Mar 12 14:06 php-fpm.conf
drwxr-xr-x 2 root root 4096 Mar 12 14:01 php-fpm.d

files in that directory was all empty.

sh /script/fixphp
Quote
Fixing php.ini/php-fpm.conf/php.fcgi/.htaccess
- '/etc/php.ini' at 'localhost'
- Fix 'extension_dir' path in php.ini at 'localhost'
- '/etc/php-fpm.d/default.conf' at 'localhost'
- '/home/kloxo/client/php.fcgi' at 'localhost'

sh /script/restart-php-fpm -y
Quote
Stopping php-fpm (PHP Used):                               [  OK  ]
Starting php-fpm (PHP Used):                               [  OK  ]

Why the php-fpm not worked right away and can this be prevent in future or it is rare case?

8
Kloxo-MR Technical Helps / KloxoMR 7 RAM requirements
« on: 2017-03-12, 22:58:38 »
I have not found RAM requirements on Github README page so i want to share what I discovered. In my case (OpenVZ VPS, clean install, idle CentOS 6.x 32bit server), used RAM is 760MB RAM (without php-fpm). Before Kloxo install, 40 MB RAM was used

Is this normal or it is some issue with OpenVZ host server?

On following commands can be seen that httpd and mysql is using roughly 300MB RAM each if i am correct:
Quote
[root@vps /]# free -mt
             total       used       free     shared    buffers     cached
Mem:           768        470        297          0          0        470
-/+ buffers/cache:          0        768
Swap:          256          0        256
Total:        1024        470        553
[root@vps /]# service httpd start
Starting httpd:                                            [  OK  ]
[root@vps /]# free -mt
             total       used       free     shared    buffers     cached
Mem:           768        749         18          1          0        749
-/+ buffers/cache:          0        768
Swap:          256          0        256
Total:        1024        749        274
[root@vps /]# service mysql stop
Shutting down MySQL. SUCCESS!
[root@vps /]# free -mt
             total       used       free     shared    buffers     cached
Mem:           768        412        355          1          0        412
-/+ buffers/cache:          0        768
Swap:          256          0        256
Total:        1024        412        611
[root@vps /]# service httpd stop
Stopping httpd:                                            [  OK  ]
[root@vps /]# free -mt
             total       used       free     shared    buffers     cached
Mem:           768        133        634          0          0        133
-/+ buffers/cache:          0        768
Swap:          256          0        256
Total:        1024        133        890
[root@vps /]# sh /script/sysinfo
A. Control Panel:
   - Kloxo-MR: 7.0.0.c-2017031002
   - Web: hiawatha-10.5.0-f.2.mr.el6.i686
   - PHP: php56s-5.6.30-1.ius.centos6 (fpm mode)
B. Plateform:
   - OS: CentOS release 6.8 (Final) i686
   - Hostname: vps.centos6.tld
C. Services:
   1. MySQL: MariaDB-server-10.0.30-1.el6.i686
   2. PHP:
      - Installed:
        - Branch: php56u-cli-5.6.30-1.ius.centos6.i686
      - Used: --PHP Branch--
      - Multiple: disable
   3. Web Used: apache
     - Hiawatha: hiawatha-10.5.0-f.2.mr.el6.i686
     - Lighttpd: lighttpd-1.4.45-1.el6.i686
     - Nginx: nginx-1.11.10-1.el6.ngx.i386
     - Apache: httpd24u-2.4.25-3.ius.centos6.i686
       - PHP Type: php-fpm_event (default)
       - Secondary PHP: off
   4. WebCache: none
     - ATS: --uninstalled--
     - Squid: --uninstalled--
     - Varnish: --uninstalled--
   5. Dns: bind
     - Bind: bind-9.9.7-1.mr.el6.i386
     - DJBDns: --uninstalled--
     - NSD: --uninstalled--
     - PowerDNS: --uninstalled--
     - Yadifa: --uninstalled--
   6. Mail: qmail-toaster-1.03-1.3.55.mr.el6.i386
      - pop3/imap4: courier-imap-toaster-4.1.2-1.3.20.mr.el6.i686
      - smtp: qmail-toaster-1.03-1.3.55.mr.el6.i386
      - spam: bogofilter-1.2.4-1.el6.i686
   7. Stats: awstats
D. Memory:
             total       used       free     shared    buffers     cached
Mem:           768        749         18          1          0        749
-/+ buffers/cache:          0        768
Swap:          256          0        256
E. Disk Space:
Filesystem      Size  Used Avail Use% Mounted on
/dev/simfs      7.9G  1.8G  6.1G  23% /

Legaxy lxcenter Kloxo was running on 256MB RAM VPS, now i need 1024MB RAM? I understand that KloxoMR can probably carry higher load of visitors with less RAM and higher initial RAM usage is the "trade-off"?

9
Hello,

on CentOS release 6.8 (Final) 32bit i installed kloxomr7-7.0.0.c-2017030803.mr.noarch according to installation instructions including yum update. I noticed some issues during the process:

https://s8.postimg.org/683ms3v8l/kloxomr7_errors_install_cent6.gif

When i ran "sh /script/cleanup" this appeared:

Quote
- Create database interface template (Forced)
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2 "No such file or directory")

Quote
ERROR! MySQL server PID file could not be found!
Starting MySQL.170311 18:35:43 mysqld_safe Logging to '/var/lib/mysql/vps.centos6.tld.err'.
170311 18:35:43 mysqld_safe Starting mysqld daemon with databases from /var/lib/mysql
 ERROR!
-------------------------------------------------------------------

Stopping php-fpm (PHP Used):                               [FAILED]
Starting php-fpm (PHP Used): [11-Mar-2017 18:35:44] ERROR: failed to open configuration file '/opt/configs/php-fpm/conf/php/php-fpm.conf': No such file or directory (2)
[11-Mar-2017 18:35:44] ERROR: failed to load configuration file '/opt/configs/php-fpm/conf/php/php-fpm.conf'
[11-Mar-2017 18:35:44] ERROR: FPM initialization failed
                                                           [FAILED]
-------------------------------------------------------------------

Then i also ran "sh /script/upcp -y" but it not helped (same mysql error).

I think i ran yum erase mysql* before install. Also i seen this error (probably during "sh /script/upcp -y"):

Quote
--> Processing Conflict: mysql55-libs-5.5.54-1.ius.centos6.i686 conflicts mysql-libs < 5.5
--> Finished Dependency Resolution
Error: mysql55-libs conflicts with MariaDB-compat-10.0.30-1.el6.i686
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest

yum list mysql* result here

tried update /etc/yum.conf to contain:
exclude=mysql5* MariaDB*
or
exclude=mysql51* mysql56* MariaDB*
and then run:
sh /script/upcp -y
but same mysql error

server details:
Quote
# sh /script/sysinfo
A. Control Panel:
   - Kloxo-MR: 7.0.0.c-2017030803
   - Web: hiawatha-10.5.0-f.2.mr.el6.i686
   - PHP: php56s-5.6.30-1.ius.centos6 (fpm mode)
B. Plateform:
   - OS: CentOS release 6.8 (Final) i686
   - Hostname: vps.centos6.tld
C. Services:
   1. MySQL: MariaDB-server-10.0.30-1.el6.i686
   2. PHP:
      - Installed:
        - Branch: php56u-cli-5.6.30-1.ius.centos6.i686
      - Used: --PHP Branch--
      - Multiple: disable
   3. Web Used: apache
     - Hiawatha: hiawatha-10.5.0-f.2.mr.el6.i686
     - Lighttpd: lighttpd-1.4.45-1.el6.i686
     - Nginx: nginx-1.11.10-1.el6.ngx.i386
     - Apache: httpd24u-2.4.25-3.ius.centos6.i686
       - PHP Type: php-fpm_event (default)
       - Secondary PHP: off

Can i try to fix it anyhow please? How to install it successfully? Thank You

10
Hello,

on an OpenVZ VPS with CentOS release 6.8 (Final)
i installed kloxomr-6.5.0.f-2016111301.mr.noarch
according to installation instructions (including yum update)

here i am copying lines around the cp errors which happen during install process:
Quote
Preparing Afterlogic database
- Fixing MySQL commands in import files
cp: cannot stat `/home/kloxo/httpd/webmail/afterlogic/data/settings/afterlogic_settings.xml': No such file or directory
cp: cannot stat `/data/settings/afterlogic_settings.xml': No such file or directory
- Generating password
- Add Password to configuration file
- Database installed
Initialize Afterlogic files
- Initialize process
Preparing Squirrelmail Database
- No need database
Initialize Squirrelmail files
- Initialize process
Preparing Telaen Database
- No need database
cp: cannot stat `/home/kloxo/httpd/webmail/telaen/inc/config/telaen_config.php': No such file or directory
cp: cannot stat `/home/kloxo/httpd/webmail/telaen/inc/config/telaen_config.languages.php': No such file or directory
cp: cannot stat `/home/kloxo/httpd/webmail/telaen/inc/config/telaen_config.security.php': No such file or directory
Initialize Telaen files

so i wanted to report, hope it is not significant problem. Thank You

Pages: [1]

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

Page created in 0.046 seconds with 16 queries.

web stats analysis