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-29, 15:12:23

Author Topic: [NEWS] Kloxo-MR 6.5.0.f-2013080502 (update to 2013080701)  (Read 39528 times)

0 Members and 1 Guest are viewing this topic.

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
The new update was released as Kloxo-MR 6.5.0.f-2013080502.

What different with previous?. The answers are:

1. Change timestamp from 20130318XX (where XX = release number) to YYYYMMDDAA (where YYYY = year; DD = month; DD = day; AA = number)
2. Change lxphp + lxlighttpd to php52s + Hiawatha (read http://www.hiawatha-webserver.org/)
3. Make dns server config also as template-based config (like web server config)
4. Bugfixes some issue (error 'socket' and etc).
5. For php-fpm, now using 'socket' instead 'ip:port'. To make sure in '/etc/sysctl.conf' have content 'fs.file-max = 209708'

Planning:

- add MaraDNS beside Bind and DJBDns
- add Hiawatha beside Apache, Lighttpd and Nginx

====================================

- For fresh install - the same as previous
 
- For update (especially if using djbdns as dns server):

1. Update kloxo-mr.repo:
Code: [Select]
cd /etc/yum.repos.d
rm -rf kloxo-mr.repo
wget https://raw.github.com/mustafaramadhan/kloxo/release/kloxo-mr.repo

2. Run this steps:
Code: [Select]
### update djbdns
yum update djbdns -y

### update for others
yum update

### if using 'cleanup-simple' need additional step with 'sh /script/fixdns'
sh /script/cleanup

### restart - maybe need 2x until no 'FAIlED' message
sh /script/restart-all

===================

Note:
- If have a problem with https/7777 access, change /usr/local/lxlabs/kloxo/init/hiawatha.conf with (already fixed since 2013080602):
Code: [Select]
# Hiawatha main configuration file
#

ServerString = Hiawatha for Kloxo-MR

ServerId = lxlabs
ConnectionsTotal = 2048
ConnectionsPerIP = 64
SystemLogfile = /usr/local/lxlabs/kloxo/log/hiawatha-system.log
GarbageLogfile = /usr/local/lxlabs/kloxo/log/hiawatha-garbage.log

MaxUrlLength = 65536

PIDfile = /var/run/kloxo-hiawatha.pid

BanOnGarbage = 300
BanOnMaxPerIP = 60
BanOnMaxReqSize = 300
KickOnBan = yes
RebanDuringBan = yes

#CGIhandler = /opt/php52s/bin/php-cgi:php
#ExecuteCGI = yes

FastCGIserver {
FastCGIid = PHP5
ConnectTo = /usr/local/lxlabs/kloxo/init/kloxo-phpcgi.sock
Extension = php
}

MimetypeConfig = hiawatha-mimetype.conf

Binding {
BindingId = port7778
Port = 7778
#Interface = 0.0.0.0
MaxKeepAlive = 180
TimeForRequest = 10,60
MaxRequestSize = 256
}

Binding {
BindingId = port7777
Port = 7777
#Interface = 0.0.0.0
MaxKeepAlive = 180
TimeForRequest = 10,60
MaxRequestSize = 256
#RequiredCA = /usr/local/lxlabs/kloxo/etc/program.ca
SSLcertFile = /usr/local/lxlabs/kloxo/etc/program.pem
}

Hostname = 0.0.0.0
WebsiteRoot = /usr/local/lxlabs/kloxo/httpdocs
StartFile = index.php
AccessLogfile = /usr/local/lxlabs/kloxo/log/hiawatha-access.log
ErrorLogfile = /usr/local/lxlabs/kloxo/log/hiawatha-error.log
TimeForCGI = 7200
UseFastCGI = PHP5
ErrorHandler = 401:/error/401.html
ErrorHandler = 403:/error/403.html
ErrorHandler = 404:/error/404.html
ErrorHandler = 501:/error/501.html
ErrorHandler = 503:/error/503.html

VirtualHost {
RequireSSL = yes

Hostname = 0.0.0.0
WebsiteRoot = /usr/local/lxlabs/kloxo/httpdocs
StartFile = index.php
AccessLogfile = /usr/local/lxlabs/kloxo/log/hiawatha-access.log
ErrorLogfile = /usr/local/lxlabs/kloxo/log/hiawatha-error.log
TimeForCGI = 7200
UseFastCGI = PHP5
ErrorHandler = 401:/error/401.html
ErrorHandler = 403:/error/403.html
ErrorHandler = 404:/error/404.html
ErrorHandler = 501:/error/501.html
ErrorHandler = 503:/error/503.html
}
and then restart kloxo with 'sh /script/restart'.

===================

Upload update to 2013080701 will make bind able to use for Kloxo-MR again!. Please using update kloxo-mr.repo inside /etc/yum.repos.d
« Last Edit: 1970-01-01, 01:00:00 by Guest »
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline prandah

  • Senior Member
  • *
  • Posts: 344
  • Karma: +0/-0
    • View Profile
    • https://www.bowo.name
Re: [NEWS] Kloxo-MR 6.5.0.f-2013080502
« Reply #1 on: 2013-08-05, 19:58:25 »
[root@server yum.repos.d]# sh /script/restart-all
Stopping Djbdns for:
  - axfrdns    [  OK  ]
  - tinydns    [  OK  ]
Starting Djbdns for:
/etc/init.d/djbdns: line 35: cd: /home/djbdns/axfrdns: No such file or directory
  - axfrdns    [FAILED]
  - tinydns    [FAILED]
Stopping httpd:                                            [  OK  ]
Starting httpd:                                            [  OK  ]
nginx: the configuration file /etc/nginx/nginx.conf syntax is ok
nginx: configuration file /etc/nginx/nginx.conf test is successful
Stopping nginx:.                                           [  OK  ]
Starting nginx:                                            [  OK  ]
Stopping php-fpm:                                          [  OK  ]
Starting php-fpm:                                          [  OK  ]
Restarting qmail:
* Stopping qmail-smtpd.
* Sending qmail-send SIGTERM and restarting.
* Restarting qmail-smtpd.
Stopping xinetd:                                           [  OK  ]
Starting xinetd:                                           [  OK  ]
Shutting down MySQL... SUCCESS!
Starting MySQL. SUCCESS!
Stopping kloxo-phpcgi:                                     [  OK  ]
Starting kloxo-phpcgi:                                     [  OK  ]
Stopping kloxo-hiawatha:                                   [  OK  ]
Starting kloxo-hiawatha:                                   [  OK  ]
[root@server yum.repos.d]#
« Last Edit: 1970-01-01, 01:00:00 by Guest »

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: [NEWS] Kloxo-MR 6.5.0.f-2013080502
« Reply #2 on: 2013-08-05, 20:24:34 »
If djbdns still not work, try change to bind and change back to djbdns ('the famous old trick').
« Last Edit: 1970-01-01, 01:00:00 by Guest »
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline prandah

  • Senior Member
  • *
  • Posts: 344
  • Karma: +0/-0
    • View Profile
    • https://www.bowo.name
Re: [NEWS] Kloxo-MR 6.5.0.f-2013080502
« Reply #3 on: 2013-08-05, 20:40:53 »
hahaha
yea thats work :D
i like "the famous old trick"

:lol:
« Last Edit: 1970-01-01, 01:00:00 by Guest »

Offline chrisf

  • Senior Master
  • **
  • Posts: 883
  • Karma: +11/-1
  • Gender: Male
  • Be the change that you wish to see in the world.
    • View Profile
    • Conviction's Hosting
Re: [NEWS] Kloxo-MR 6.5.0.f-2013080502
« Reply #4 on: 2013-08-06, 05:40:18 »
Everything failed - when tried to run sh /script/cleanup it failed with error lxphp.exe missing.  Something went wrong.  Please advise.  Nothing is working.  Kloxo has failed.
« Last Edit: 1970-01-01, 01:00:00 by Guest »
Christopher

Knowledge in: PHP, Perl, MySQL, Javascript, Actionscript, FLASH, HTML, CSS
Server Administrator / Developer: https://convictionshosting.com

Offline chrisf

  • Senior Master
  • **
  • Posts: 883
  • Karma: +11/-1
  • Gender: Male
  • Be the change that you wish to see in the world.
    • View Profile
    • Conviction's Hosting
Re: [NEWS] Kloxo-MR 6.5.0.f-2013080502
« Reply #5 on: 2013-08-06, 05:58:00 »
My entire server down - PLEASE ADVISE
« Last Edit: 1970-01-01, 01:00:00 by Guest »
Christopher

Knowledge in: PHP, Perl, MySQL, Javascript, Actionscript, FLASH, HTML, CSS
Server Administrator / Developer: https://convictionshosting.com

Offline chrisf

  • Senior Master
  • **
  • Posts: 883
  • Karma: +11/-1
  • Gender: Male
  • Be the change that you wish to see in the world.
    • View Profile
    • Conviction's Hosting
Re: [NEWS] Kloxo-MR 6.5.0.f-2013080502
« Reply #6 on: 2013-08-06, 09:31:43 »
I got all restart-all status to OK.  But no host name resolves on my server.  I can not use kloxo or any site on my server.

PLEASE advise Mustafa - quickly, this is very bad
« Last Edit: 1970-01-01, 01:00:00 by Guest »
Christopher

Knowledge in: PHP, Perl, MySQL, Javascript, Actionscript, FLASH, HTML, CSS
Server Administrator / Developer: https://convictionshosting.com

Offline chrisf

  • Senior Master
  • **
  • Posts: 883
  • Karma: +11/-1
  • Gender: Male
  • Be the change that you wish to see in the world.
    • View Profile
    • Conviction's Hosting
Re: [NEWS] Kloxo-MR 6.5.0.f-2013080502
« Reply #7 on: 2013-08-06, 16:50:48 »
Fresh install and it appears to work.

1st server: after 6 hours all status on /script/restart-all OK - unable to reach anything on the server.  ping any domain and it says unable to resolve host.  I have been trying to get it working all night.  I NEED HELP Mustafa.

2. Server.  Tried Upgrade again (STUPID ME) - this time nothing works.  It installed.  /script/cleanup ran.  On script/restart-all - It still had old kloxo restart - error about no lxlighttpd.  No hiawatha installed.  DNS again unreachable.  Entire server down.  Bind was removed and not reinstalled - when I yum install bind - it installs but on status it gives error about no connecting to remote.  

I am unable to get either back online.  The only one that is running is my test server inwhich I fresh installed - seems to work.

WHAT SHOULD I DO?  This is very bad.
« Last Edit: 1970-01-01, 01:00:00 by Guest »
Christopher

Knowledge in: PHP, Perl, MySQL, Javascript, Actionscript, FLASH, HTML, CSS
Server Administrator / Developer: https://convictionshosting.com

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: [NEWS] Kloxo-MR 6.5.0.f-2013080502
« Reply #8 on: 2013-08-06, 17:12:09 »
I didn't found like this issues for update in my servers.

The 2013080502 have a problem with config especially 'server alias' (cname), but 2013080602 look like ok.

In 2013080602, I found an issue related to slave/secondary dns. DJBDns didn't act as 'master'.
« Last Edit: 1970-01-01, 01:00:00 by Guest »
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline Spacedust

  • Super Grand Master
  • ****
  • Posts: 4,050
  • Karma: +1/-0
    • View Profile
Re: [NEWS] Kloxo-MR 6.5.0.f-2013080502 (update to 2013080602
« Reply #9 on: 2013-08-06, 19:41:41 »
Zatrzymywanie php-fpm:                                     [NIEUDANE]
Uruchamianie php-fpm: [06-Aug-2013 15:41:19] ERROR: unable to bind listening socket for                    address '/home/php-fpm/sock/admin.sock': No such file or directory (2)
[06-Aug-2013 15:41:19] ERROR: FPM initialization failed
                                                           [NIEUDANE]
« Last Edit: 1970-01-01, 01:00:00 by Guest »

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: [NEWS] Kloxo-MR 6.5.0.f-2013080502 (update to 2013080602
« Reply #10 on: 2013-08-06, 19:43:57 »
Create /home/php-fpm/sock directory. Maybe socket not created because no directory.
« Last Edit: 1970-01-01, 01:00:00 by Guest »
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline chrisf

  • Senior Master
  • **
  • Posts: 883
  • Karma: +11/-1
  • Gender: Male
  • Be the change that you wish to see in the world.
    • View Profile
    • Conviction's Hosting
Re: [NEWS] Kloxo-MR 6.5.0.f-2013080502 (update to 2013080602
« Reply #11 on: 2013-08-06, 19:52:17 »
Ran update again.  All status OK. On restart-all.  Yet none of my websites OR kloxo available.

service named status gives errors about host connection closed.  lists a few reasons why it could be.  Ran fixdns and fix web.  

Nothing.

What should I do?
« Last Edit: 1970-01-01, 01:00:00 by Guest »
Christopher

Knowledge in: PHP, Perl, MySQL, Javascript, Actionscript, FLASH, HTML, CSS
Server Administrator / Developer: https://convictionshosting.com

Offline Spacedust

  • Super Grand Master
  • ****
  • Posts: 4,050
  • Karma: +1/-0
    • View Profile
Re: [NEWS] Kloxo-MR 6.5.0.f-2013080502 (update to 2013080602
« Reply #12 on: 2013-08-06, 19:59:06 »
I've restored  Kloxo-MR 6.5.0.f-2013031828 from backup.

2013080602 changed so many things that I need to first test it on a demo server, fix all configs and then slowly move to production server.

PROCEED WITH EXTREME CAUTION ON PRODUCTION SYSTEMS !!!
« Last Edit: 1970-01-01, 01:00:00 by Guest »

Offline Spacedust

  • Super Grand Master
  • ****
  • Posts: 4,050
  • Karma: +1/-0
    • View Profile
Re: [NEWS] Kloxo-MR 6.5.0.f-2013080502 (update to 2013080602
« Reply #13 on: 2013-08-06, 20:08:03 »
Quote from: "MRatWork"
Create /home/php-fpm/sock directory. Maybe socket not created because no directory.

Yes. After creating /home/php-fpm/sock it started working.

DNS still down:

Code: [Select]
/script/fixdns

- For help, type '/script/fixdns --help'
- No argument supplied. Defaulting to localhost (master) servers

Fixing DNS server config
- 'nowosci.org'('admin') at 'localhost'
[root@localhost home]# /etc/init.d/djbdns restart
Stopping Djbdns for:
  - axfrdns    [FAILED]
  - tinydns    [FAILED]
Starting Djbdns for:
  - axfrdns    [FAILED]
  - tinydns    [FAILED]
« Last Edit: 1970-01-01, 01:00:00 by Guest »

Offline Spacedust

  • Super Grand Master
  • ****
  • Posts: 4,050
  • Karma: +1/-0
    • View Profile
Re: [NEWS] Kloxo-MR 6.5.0.f-2013080502 (update to 2013080602
« Reply #14 on: 2013-08-06, 20:09:44 »
Switching from bind and back to djbdns doesn't work:

Code: [Select]
16:09 Aug/06/2013: 0:  [(__system__:/usr/local/lxlabs/kloxo/httpdocs) 'lxphp.exe'  '../bin/fix/fixdns.php' '--server=localhost' '--nolog']
16:09 Aug/06/2013: Closed Exec /usr/local/lxlabs/kloxo/cexe/closeinput '/etc/init.d/djbdns restart' >/dev/null 2>&1 &
16:10 Aug/06/2013: 0:  [(__system__:/usr/local/lxlabs/kloxo/httpdocs) 'rpm'  '-q' 'djbdns']
16:10 Aug/06/2013: 0:  [(__system__:/usr/local/lxlabs/kloxo/httpdocs) 'rpm'  '-e' '--nodeps' 'djbdns']
16:10 Aug/06/2013: 0: Warning: RPMDB altered outside of yum.
 [(__system__:/usr/local/lxlabs/kloxo/httpdocs) 'yum'  '-y' 'install' 'bind-utils']
16:10 Aug/06/2013: 1:  [(__system__:/usr/local/lxlabs/kloxo/httpdocs) 'rpm'  '-q' 'bind-chroot']
16:10 Aug/06/2013: 0:  [(__system__:/usr/local/lxlabs/kloxo/httpdocs) 'yum'  '-y' 'install' 'bind']
16:10 Aug/06/2013: 0:  [(__system__:/usr/local/lxlabs/kloxo/httpdocs) 'chkconfig'  'named' 'on']
16:10 Aug/06/2013: 0:  [(__system__:/usr/local/lxlabs/kloxo/httpdocs) '/opt/php52s/bin/php'  '../bin/common/setdriver.php' '--server=localhost' '--class=dns' '--driver=bind']
16:10 Aug/06/2013: 1: rndc: connect failed: 127.0.0.1#953: connection refused
 [(__system__:/usr/local/lxlabs/kloxo/httpdocs) 'rndc'  'reload' 'nowosci.org']
16:10 Aug/06/2013: 1: rndc: connect failed: 127.0.0.1#953: connection refused
 [(__system__:/usr/local/lxlabs/kloxo/httpdocs) 'rndc'  'reload']
16:10 Aug/06/2013: 0:  [(__system__:/usr/local/lxlabs/kloxo/httpdocs) 'lxphp.exe'  '../bin/fix/fixdns.php' '--server=localhost' '--nolog']
16:10 Aug/06/2013: 0:  [(__system__:/usr/local/lxlabs/kloxo/httpdocs) 'rpm'  '-q' 'bind']
16:10 Aug/06/2013: 0: warning: /etc/named.conf saved as /etc/named.conf.rpmsave
 [(__system__:/usr/local/lxlabs/kloxo/httpdocs) 'rpm'  '-e' '--nodeps' 'bind']
16:10 Aug/06/2013: 0:  [(__system__:/usr/local/lxlabs/kloxo/httpdocs) 'rpm'  '-q' 'bind-utils']
16:10 Aug/06/2013: 0:  [(__system__:/usr/local/lxlabs/kloxo/httpdocs) 'rpm'  '-e' '--nodeps' 'bind-utils']
16:10 Aug/06/2013: 1:  [(__system__:/usr/local/lxlabs/kloxo/httpdocs) 'rpm'  '-q' 'bind-chroot']
16:10 Aug/06/2013: 0: Warning: RPMDB altered outside of yum.
 [(__system__:/usr/local/lxlabs/kloxo/httpdocs) 'yum'  '-y' 'install' 'djbdns']
16:10 Aug/06/2013: 0:  [(__system__:/usr/local/lxlabs/kloxo/httpdocs) 'chkconfig'  'djbdns' 'on']
16:10 Aug/06/2013: 0: axfrdns-conf: fatal: unable to create /home/djbdns/axfrdns: file already exists
/etc/init.d/djbdns: line 146: /home/djbdns/axfrdns/tcp: Nie ma takiego pliku ani katalogu
 [(__system__:/usr/local/lxlabs/kloxo/httpdocs) '/etc/init.d/djbdns'  'setup']
16:10 Aug/06/2013: 0:  [(__system__:/usr/local/lxlabs/kloxo/httpdocs) '/opt/php52s/bin/php'  '../bin/common/setdriver.php' '--server=localhost' '--class=dns' '--driver=djbdns']
16:10 Aug/06/2013: 2: make: *** No rule to make target `data', needed by `data.cdb'.  Stop.
 [(__system__:/home/djbdns/tinydns/root) 'make' ]
16:10 Aug/06/2013: 2: make: *** No targets specified and no makefile found.  Stop.
 [(__system__:/home/djbdns/axfrdns/root) 'make' ]
16:10 Aug/06/2013: 0:  [(__system__:/usr/local/lxlabs/kloxo/httpdocs) 'lxphp.exe'  '../bin/fix/fixdns.php' '--server=localhost' '--nolog']
16:10 Aug/06/2013: Closed Exec /usr/local/lxlabs/kloxo/cexe/closeinput '/etc/init.d/djbdns restart' >/dev/null 2>&1 &
16:10 Aug/06/2013: Closed Exec /usr/local/lxlabs/kloxo/cexe/closeinput '/etc/init.d/named force-reload' >/dev/null 2>&1 &
« Last Edit: 1970-01-01, 01:00:00 by Guest »

 


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

Page created in 0.03 seconds with 18 queries.

web stats analysis