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-26, 07:07:59

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

Pages: 1 [2] 3 4 ... 11
16
Kloxo-MR Tips and Tricks / Fighting spam
« on: 2017-04-16, 21:36:27 »
Folks, how do you right spam coming from not blacklisted servers in DNSBL etc?
Im adding them manually to Spamdyke blacklist ip and sender, but they use different domains and ips.

I.need to block on subjects i think, mostly domain name sales spam like we have privat-e.com for sale etc.
i can share my files with you here.

17
Last night the name server went down, i.e it stopped having the zones it was supposed to:
Log shows something went terribly wrong:
5-Apr-2017 13:58:21.195 zone domain22.no/IN: loaded serial 2017041136
15-Apr-2017 13:58:21.195 all zones loaded
15-Apr-2017 13:58:21.196 running
16-Apr-2017 03:39:19.651 received control channel command 'reload'
16-Apr-2017 03:39:19.652 loading configuration from '/etc/named.conf'
16-Apr-2017 03:39:19.710 using default UDP/IPv4 port range: [32768, 60999]
16-Apr-2017 03:39:19.710 using default UDP/IPv6 port range: [32768, 60999]
16-Apr-2017 03:39:19.784 sizing zone task pool based on 1 zones
16-Apr-2017 03:39:19.895 the working directory is not writable
16-Apr-2017 03:39:19.897 zone domain1.com/IN: (master) removed
16-Apr-2017 03:39:19.897 zone domain2.com/IN: (master) removed
16-Apr-2017 03:39:19.897 zone domain2.com/IN: (master) removed
..
..
16-Apr-2017 03:39:19.898 reloading configuration succeeded
16-Apr-2017 03:39:19.899 reloading zones succeeded
16-Apr-2017 03:39:19.900 all zones loaded
16-Apr-2017 03:39:19.900 running


I had to run fixdns today morning to get the zones up again.

What could make all the zones be removed 03:39 tonight?

18
Kloxo-MR Development / Wiki and community building
« on: 2017-04-13, 12:46:02 »
Hi,
i think we need a wiki in addition to this forum. Documentation is very important and you as a dev @mustafa can concentrate on the development, while the community can contribute to the wiki contents.
E.g we need to have the API documented somwhere now that lxcenter.org is gone. It's lucikly available at webarchive.org, but i've copied that to my storage in case that disappears. It's so valuable information!
Also see my comment at https://requests.blesta.com/topic/kloxo-mr-module.

Over time i'm sure wiki will have some great content that will be very useful for many (e.g new user, addon devs with API doc etc).



19
Hey @Mustafa,
as i see Kloxo-MR is getting close to stable release, i've recently thought about enhancement (since i'm getting to know Docker slowly) which would really rock to have in Kloxo-MR in future. As far as i know, there is no such solution as of today in the wild.
It's about ability to use Docker containers together with Kloxo-MR. For instance, imagine a provider with 100 customers using Wordpress(Magento or whatever apps).
In our "traditional" way, this would mean 100 different WP installations within the Kloxo-MR instance. Not only is this a headache to maintain, but also space inefficient.
By introducing a way to support Docker containers, we can run ALL of the 100 WP instances from one and the same Docker image. Security patching is done in minutes really for all 100 or 1000 instances!
If different WP versions are required, we can maintain a couple of different Docker images for that purpose (and possible for other reasons such as plugins etc).
And, we can expand this thinking further, with also "containerizing" other resource intensive apps like PHP-FPM. PHP-FPM can be run seperately, that's not a problem AFAIK. What's the benefit of this? Well, we can easily scale PHP-FPM instances needed based on load and other factors and spread over multiple servers.
Using Docker Swarm or similar, we will automatically get support for multiple servers and we can run our apps on any Docker hosts!

Just imagine the possibilities we have with what i've mentioned above.

If you don't know Docker, Google and read about it. It's in many ways NOT similar to LXC, OpenVZ containers  that are fully fledge OS minus kernel. Docker is focused on app delivery and isolation, rather than OS/VPS delivery with isolation.

If we can get such support in Kloxo-MR, it will simply take Kloxo-MR to next level and it will rock as a totally different control panel!

@Mustafa, i can even make a POC if you think this is interesting using C7 and Kloxo-MR. Is should not be hard even for me, a non-programmer, but just a sysadmin to try to make a POC to demonstrate this :) POC will be in a running Kloxo-MR inside LXC which i can later give you as an LXC image for you test as well :)



20
Hi,
using WHMCS, i can configure a server group with both master and "slave". So i have 2 Kloxo servers in a server group in WHMCS.
Now i'm testing an order for a product where WHMCS is configured to use the master for: Server to Load Choices From. I can see the slave also, but that's not chosen.

When i create a client from WHMCS now, i get 13:34 Apr/11/2017: __error_need in /usr/local/lxlabs/kloxo/log/web_command after a JSON object with otherwise correct details.

I want to use DNS from master (localhost), but rest should be on slave. So that the client can use master as the control panel to manage. Is this not possible?



21
Kloxo-MR Development / [SOLVED] CentOS 7 & admin password
« on: 2017-04-11, 13:51:05 »
All of a sudden, the admin password is wrong according to Kloxo (slave, but installed as master).
I get auth failed from master when i choose the server and directly logging into the server is not possible anymore.
I think something messes up the admin password in C7?

How can i manually set it somewhere as i have root access ofc?


EDIT: solution: sh  /scripts/fix-all && sh  /scripts/restart-all

22
@Mustafa,
what changes have you done to Nginx proxy lately? My update is from  ~ 1 week back and now that i've run fixall, the websites have issues with JS files, it's not working correctly at all.


23
@Mustafa, i'm going to ditch WHMCS because of their aggresive pricing changes. They are doubling their pricing monthly.
Do you know if we can Kloxo-MR with Blesta?


EDIT: PLEASE VOTE FOR Kloxo-MR module for Blesta at https://requests.blesta.com/topic/kloxo-mr-module


24
Kloxo-MR Development / [SOLVED] Mail login failed
« on: 2017-04-09, 11:07:48 »
I can't login to imap anymore after running fixall.

[root@mail php-fpm]# tail -f  /var/log/maillog
Apr  9 11:11:56 mail smtp: tcpserver: end 3062 status 0
Apr  9 11:11:56 mail smtp: tcpserver: status: 0/10
Apr  9 11:12:04 mail imap4: tcpserver: status: 1/40
Apr  9 11:12:04 mail imap4: tcpserver: pid 3080 from 127.0.0.1
Apr  9 11:12:04 mail imap4: tcpserver: ok 3080 mail.domain.com:::ffff:127.0.0.1:143 :::ffff:127.0.0.1::43728
Apr  9 11:12:04 mail imap4: DEBUG: Connection, ip=[127.0.0.1]
Apr  9 11:12:04 mail imap4: INFO: LOGIN FAILED, user=support@domain.com, ip=[127.0.0.1]
Apr  9 11:12:09 mail imap4: DEBUG: Disconnected, ip=[127.0.0.1], time=5
Apr  9 11:12:09 mail imap4: tcpserver: end 3080 status 0
Apr  9 11:12:09 mail imap4: tcpserver: status: 0/40
^C
[root@mail php-fpm]#
[root@mail tpl]# sh /script/sysinfo
A. Control Panel:               
   - Kloxo-MR: 7.0.0.c-2017032701
   - Web: hiawatha-10.5.0-f.2.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: mail.domain.com
C. Services:
   1. MySQL: MariaDB-server-10.0.30-1.el6.x86_64
   2. PHP:
      - Installed:
        - Branch: php56w-cli-5.6.30-1.w6.x86_64
        - Multiple:
          * php54m-5.4.45-1.ius.el6
          * php55m-5.5.38-1.ius.el6
          * php56m-5.6.30-1.ius.el6
          * php70m-7.0.16-1.ius.el6
      - Used: php56m-fpm
      - Multiple: enable
   3. Web Used: nginxproxy
     - Hiawatha: hiawatha-10.5.0-f.2.mr.el6.x86_64
     - Lighttpd: lighttpd-1.4.45-1.el6.x86_64
     - Nginx: nginx-1.11.12-1.el6.ngx.x86_64
     - Apache: httpd24u-2.4.25-3.ius.el6.x86_64
       - PHP Type: php-fpm_event (default)
       - Secondary PHP: on
   4. WebCache: none
     - ATS: --uninstalled--
     - Squid: --uninstalled--
     - Varnish: --uninstalled--
   5. Dns: bind
     - Bind: bind-9.9.9-1.mr.el6.x86_64
     - DJBDns: djbdns-1.05-17.4.mr.el6.x86_64
     - NSD: nsd-4.1.14-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.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: bogofilter-1.2.4-1.el6.x86_64
   7. Stats: awstats
D. Memory:
             total       used       free     shared    buffers     cached
Mem:          3774       2800        973          8        219        955
-/+ buffers/cache:       1626       2148
Swap:         5119        443       4676
E. Disk Space:
Filesystem            Size  Used Avail Use% Mounted on
/dev/mapper/vg_kloxomaster-lv_root
                      295G  265G   16G  95% /


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

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

[root@mail tpl]#

25
Kloxo-MR Tips and Tricks / Purpose of "secondary dns"
« on: 2017-04-03, 11:59:19 »
@mustafa,
now that i have one slave (with Kloxo-MR master and CentOS7) that seems to work, i wonder that you recommend of DNS setup. I came over https://forum.mratwork.com/kloxo-mr-tips-and-tricks/cluster-dns-how-to-kloxo-mr-and-powerdns/.

What's the purpose of  "secondary dns"? 
For the clients i'm planning to be placed on the slave server (DB, mail and web), will they still be using master control panel? I plan to keep the DNS on the master. Then i'll simply rsync all the zones from master to slave and reload bind on slave, say every 10 mins. Do you think it's a good idea?

So my name servers should look like:
ns1 => Master IP 1
ns2 => master IP 2
ns3 => slave IP 1
ns4 => slave IP 2


Before i create a new DNS template, it's good to know that i'm not on the wrong track.

I'm using WHMCS so i can see that it supports different DNS, web, DB, mail for the provisioning.



26
Kloxo-MR Development / CentOS 7
« on: 2017-03-31, 16:52:56 »
Testable now? i see your commits related to CentOS so wondering if its possible to install on C7 now.

27
Kloxo-MR Development / Issues with slave
« on: 2017-03-30, 09:38:44 »
I've now installed a new slave and while testing a around, i can see there are issues with the php56s:
 [30-Mar-2017 08:39:34 Europe/London] 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
[30-Mar-2017 08:39:36 Europe/London] 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
[root@odcp01 ~]# ll /opt/php56s/usr/lib/php/modules/sphinx.so
-rwxr-xr-x. 1 root root 50336 Jun 16  2016 /opt/php56s/usr/lib/php/modules/sphinx.so
[root@odcp01 ~]# php56s-cli -v
PHP 5.6.30 (cli) (built: Jan 19 2017 10:06:11)
Copyright (c) 1997-2016 The PHP Group
Zend Engine v2.6.0, Copyright (c) 1998-2016 Zend Technologies
[root@odcp01 ~]#

The file is there, but might be compatibility issue with the running php56s version.
Btw, php56s is the "special" PHP version used by Kloxo-MR for administration with lxphp right?

This is a "slave", but i did install it as master and then added it as slave from the real master, i.e i did not run make-slave as you've recommended earlier.






28
Kloxo-MR Development / Broken PHP!
« on: 2017-03-29, 19:57:20 »
I was testing PHP7  (mistakenly on the master, instead of on the slave!!) and everything is broken.
I've now chosen PHP 56w and it doesn't work.
What do i need to get back to php 5.6?
@mustafa

29
@Mustafa, please switch to SetHandler (using mod_proxy_fcgi) instead of the ugly and outdates mod_fastcgi with FastCGIExternalServer "/home/kloxo/httpd/cp/aaaaa.com.0fake" -socket /opt/configs/php-fpm/sock/php-apache.sock -idle-timeout 3600 -pass-header Authorization.

With SetHandler and mod_proxy_fcgi it will look like:
<FilesMatch \.php$>
         SetHandler "proxy:fcgi://127.0.0.1:9000"
</FilesMatch>

This will work only with Apache >= 2.4, but i hope there is no need to stay at Apache 2.2 nowadays.
More info at https://blog.remirepo.net/post/2014/03/28/PHP-FPM-and-HTTPD-2.4-improvement





30
Kloxo-MR Development / 500 for many pages (again)
« on: 2017-01-18, 10:28:11 »
I started to see error 500 for many of the clients again. Only thing that fixes it is :
service php-fpm reload
fixphp, fixweb don't fix the issue at all.

Why is this happening Mustafa?

Pages: 1 [2] 3 4 ... 11

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

Page created in 0.032 seconds with 15 queries.

web stats analysis