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-27, 21:32:51

Author Topic: Need Kloxo-MR Tester  (Read 224981 times)

0 Members and 1 Guest are viewing this topic.

Offline Spacedust

  • Super Grand Master
  • ****
  • Posts: 4,050
  • Karma: +1/-0
    • View Profile
Re: Need Kloxo-MR Tester
« Reply #495 on: 2013-02-21, 20:42:20 »
Code: [Select]
[root@nowosci init.d]# /etc/init.d/djbdns restart
[root@nowosci init.d]# /etc/init.d/djbdns restart
[root@nowosci init.d]# /etc/init.d/djbdns restart
[root@nowosci init.d]# cat /etc/init.d/djbdns
#!/bin/sh
# /etc/rc.d/init.d/djbdns
#
# chkconfig: 345 40 80
# description: Start, stop, restart, reload, and otherwise signal djbdns
#
# Original script written by Vincent Danen <vdanen@mandrakesoft.com> Mar 10 2001
#
# Modified to work with QmailToaster by:
#
# Nick Hemmesch <nick@ndhsoft.com>
# http://www.qmailtoaster.com
# May 17 2006
#

PATH=/usr/local/bin:/usr/bin:/bin
export PATH

if ! [ -f /etc/sysconfig/djbdns ]; then
   exit 0
fi

# MR -- to make sure all set match - begin set
if ! [ id -u tinydns >/dev/null 2>&1 ] ; then
        useradd tinydns
fi

if ! [ id -u dnslog >/dev/null 2>&1 ] ; then
        useradd dnslog
fi

if ! [ id -u dnscache >/dev/null 2>&1 ] ; then
        useradd dnscache
fi

if ! [ id -u axfrdns >/dev/null 2>&1 ] ; then
        useradd axfrdns
fi

if ! [ -d /var/djbdns/tinydns ] ; then
        tinydns-conf tinydns dnslog /var/djbdns/tinydns 127.0.0.1
fi

if ! [ -d /var/djbdns/axfrdns ] ; then
        # original set for every ips except 127.0.0.1
        # change 0.0.0.0 that mean all ips
        axfrdns-conf axfrdns dnslog /var/djbdns/axfrdns /var/djbdns/tinydns 0.0.0.0
fi

echo '0.0.0.0' > /var/djbdns/tinydns/env/IP
# MR -- end set

case "$1" in
  start)
    # have a silent kill in case someone tries to start djbdns when
    # it is already running . . .
    $0 stop >/dev/null 2>&1
    echo -n "Starting djbdns services: svscan"
    cd /var/djbdns/service
    env - PATH="$PATH" svscan &
    echo $! > /var/run/djbdns-svscan.pid
    touch /var/lock/subsys/djbdns
    echo "."
    ;;
  stop)
    echo -n "Stopping djbdns services: svscan"
    kill `cat /var/run/djbdns-svscan.pid`
    echo -n " djbdns"
    svc -dx /var/djbdns/service/*
    echo -n " logging"
    svc -dx /var/djbdns/service/*/log
    echo "."
    rm -rf /var/run/djbdns-svscan.pid
    rm -rf /var/lock/subsys/djbdns
    ;;
  stat|status)
    cd /var/djbdns/service
    svstat * */log
    ;;
  reload|hup)
    echo "Sending HUP signal to djbdns services."
    svc -h /var/djbdns/service/*
    ;;
  pause)
    echo "Pausing djbdns services"
    svc -p /var/djbdns/service/*
    ;;
  cont)
    echo "Continuing djbdns services"
    svc -c /var/djbdns/service/*
    ;;
  restart)
    echo "Restarting djbdns services:"
    svc -d /var/djbdns/service/*
    svc -u /var/djbdns/service/*
    ;;
  help)
    cat <<HELP
   stop -- stops DNS services
  start -- starts DNS services
  pause -- temporarily stops DNS services
   cont -- continues paused DNS services
   stat -- displays status of DNS services
restart -- stops and restarts DNS services
HELP
    ;;
  *)
    echo "Usage: $0 {start|stop|restart|reload|stat|status|pause|cont|help}"
    exit 1
    ;;
esac

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

Offline Spacedust

  • Super Grand Master
  • ****
  • Posts: 4,050
  • Karma: +1/-0
    • View Profile
Re: Need Kloxo-MR Tester
« Reply #496 on: 2013-02-21, 20:44:02 »
Code: [Select]
[root@nowosci tinydns]# ./run
softlimit: fatal: unable to run //bin/tinydns: file does not exist

It's not copying files to correct folders !
« 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: Need Kloxo-MR Tester
« Reply #497 on: 2013-02-21, 21:47:38 »
Because this djbdns using supervise like qmail-toaster, look like need reboot also.

And delete portion:
Code: [Select]
if ! [ id -u tinydns >/dev/null 2>&1 ] ; then
        useradd tinydns
fi

if ! [ id -u dnslog >/dev/null 2>&1 ] ; then
        useradd dnslog
fi

if ! [ id -u dnscache >/dev/null 2>&1 ] ; then
        useradd dnscache
fi

if ! [ id -u axfrdns >/dev/null 2>&1 ] ; then
        useradd axfrdns
fi
« 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: Need Kloxo-MR Tester
« Reply #498 on: 2013-02-21, 21:56:47 »
Quote from: "MRatWork"
Because this djbdns using supervise like qmail-toaster, look like need reboot also.

And delete portion:
Code: [Select]
if ! [ id -u tinydns >/dev/null 2>&1 ] ; then
        useradd tinydns
fi

if ! [ id -u dnslog >/dev/null 2>&1 ] ; then
        useradd dnslog
fi

if ! [ id -u dnscache >/dev/null 2>&1 ] ; then
        useradd dnscache
fi

if ! [ id -u axfrdns >/dev/null 2>&1 ] ; then
        useradd axfrdns
fi

Removed, rebooted and non-working:

Code: [Select]
[root@nowosci /]# /etc/init.d/djbdns restart
[root@nowosci /]# /etc/init.d/djbdns restart
[root@nowosci /]# /etc/init.d/djbdns restart
[root@nowosci /]# ps aux | grep dns
root      5376  0.0  0.0  63264   828 pts/0    S+   16:59   0:00 grep dns
« 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: Need Kloxo-MR Tester
« Reply #499 on: 2013-02-21, 22:38:29 »
If you found in 'services' on panel where 'grep' for djbdns as 'djbdns', access to 'service' table for kloxo database and then change 'djbdns 'on 'grepstring' to 'tinydns'.

It's my fault and will be fix when bug-free djbdns rpm ready on kloxo-mr.repo.
« 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: Need Kloxo-MR Tester
« Reply #500 on: 2013-02-21, 22:43:20 »
Quote from: "MRatWork"
If you found in 'services' on panel where 'grep' for djbdns as 'djbdns', access to 'service' table for kloxo database and then change 'djbdns 'on 'grepstring' to 'tinydns'.

It's my fault and will be fix when bug-free djbdns rpm ready on kloxo-mr.repo.

Ok, but DNS itself was working well with lxcenter djbdns before with Kloxo 6.5.0.c.2013020703 and now it's not working at all.
« Last Edit: 1970-01-01, 01:00:00 by Guest »

Offline Spacedust

  • Super Grand Master
  • ****
  • Posts: 4,050
  • Karma: +1/-0
    • View Profile
Re: Need Kloxo-MR Tester
« Reply #501 on: 2013-02-22, 01:40:58 »
Quote from: "Spacedust"
Quote from: "MRatWork"
If you found in 'services' on panel where 'grep' for djbdns as 'djbdns', access to 'service' table for kloxo database and then change 'djbdns 'on 'grepstring' to 'tinydns'.

It's my fault and will be fix when bug-free djbdns rpm ready on kloxo-mr.repo.

Ok, but DNS itself was working well with lxcenter djbdns before with Kloxo 6.5.0.c.2013020703 and now it's not working at all.

Correct it's working when I run axfrdns and djbdns manually so this is only init.d script problem...
« Last Edit: 1970-01-01, 01:00:00 by Guest »

Offline Spacedust

  • Super Grand Master
  • ****
  • Posts: 4,050
  • Karma: +1/-0
    • View Profile
Re: Need Kloxo-MR Tester
« Reply #502 on: 2013-02-22, 22:39:42 »
PHP 5.4.12 and PHP 5.3.22 released! Updating from remi repo ;)
« Last Edit: 1970-01-01, 01:00:00 by Guest »

Offline nusapenida

  • Junior Member
  • *
  • Posts: 30
  • Karma: +0/-0
    • View Profile
    • http://www.sukandia.com
Re: Need Kloxo-MR Tester
« Reply #503 on: 2013-02-22, 23:21:09 »
please help!
FTP did not work
error: Can't establish connection
6.5.0.c.2013013103/   31-Jan-2013 11:41   
centOS 6.3 final

thanks
« 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: Need Kloxo-MR Tester
« Reply #504 on: 2013-02-22, 23:36:30 »
Quote from: "nusapenida"
please help!
FTP did not work
error: Can't establish connection
6.5.0.c.2013013103/   31-Jan-2013 11:41   
centOS 6.3 final

thanks
Search info in this forum. Other user have the same issue but have a solution.
« Last Edit: 1970-01-01, 01:00:00 by Guest »
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline lapy

  • Junior Member
  • *
  • Posts: 34
  • Karma: +0/-0
    • View Profile
Re: Need Kloxo-MR Tester
« Reply #505 on: 2013-02-23, 01:43:32 »
Quote from: "MRatWork"
Quote from: "lapy"
updated to latest kloxo, now the php version dropdown list is empty in "Webserver Config"  :o
Hava you try 'sh /scirpt/cleanup' after update'?

Sorry I've been busy. Yes I've done the cleanup but same problem...
« Last Edit: 1970-01-01, 01:00:00 by Guest »

Offline Spacedust

  • Super Grand Master
  • ****
  • Posts: 4,050
  • Karma: +1/-0
    • View Profile
Re: Need Kloxo-MR Tester
« Reply #506 on: 2013-02-23, 01:43:50 »
Mustafa I think we need to reduce FCGI and php-fpm idle timeout from 180 to 120. It's causing too high load when there are many users.

30 was enough
180 is too much
120 is optimal
« 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: Need Kloxo-MR Tester
« Reply #507 on: 2013-02-23, 01:50:00 »
Quote from: "lapy"
Quote from: "MRatWork"
Quote from: "lapy"
updated to latest kloxo, now the php version dropdown list is empty in "Webserver Config"  :o
Hava you try 'sh /scirpt/cleanup' after update'?

Sorry I've been busy. Yes I've done the cleanup but same problem...
Try 'sh /script/fix-service-list'
« 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: Need Kloxo-MR Tester
« Reply #508 on: 2013-02-23, 01:52:44 »
Quote from: "Spacedust"
Mustafa I think we need to reduce FCGI and php-fpm idle timeout from 180 to 120. It's causing too high load when there are many users.

30 was enough
180 is too much
120 is optimal

I need to think about it. So far reduced maximum_execution_time to 120 in php.ini and request_terminate_timeout to 120s in php-fpm.
« Last Edit: 1970-01-01, 01:00:00 by Guest »

Offline lapy

  • Junior Member
  • *
  • Posts: 34
  • Karma: +0/-0
    • View Profile
Re: Need Kloxo-MR Tester
« Reply #509 on: 2013-02-23, 02:05:24 »
Thank you, solved  ;)
« Last Edit: 1970-01-01, 01:00:00 by Guest »

 


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

Page created in 0.072 seconds with 19 queries.

web stats analysis