0 Members and 2 Guests are viewing this topic.
[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:/binexport PATHif ! [ -f /etc/sysconfig/djbdns ]; then exit 0fi# MR -- to make sure all set match - begin setif ! [ id -u tinydns >/dev/null 2>&1 ] ; then useradd tinydnsfiif ! [ id -u dnslog >/dev/null 2>&1 ] ; then useradd dnslogfiif ! [ id -u dnscache >/dev/null 2>&1 ] ; then useradd dnscachefiif ! [ id -u axfrdns >/dev/null 2>&1 ] ; then useradd axfrdnsfiif ! [ -d /var/djbdns/tinydns ] ; then tinydns-conf tinydns dnslog /var/djbdns/tinydns 127.0.0.1fiif ! [ -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.0fiecho '0.0.0.0' > /var/djbdns/tinydns/env/IP# MR -- end setcase "$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 servicesrestart -- stops and restarts DNS servicesHELP ;; *) echo "Usage: $0 {start|stop|restart|reload|stat|status|pause|cont|help}" exit 1 ;;esacexit 0
[root@nowosci tinydns]# ./runsoftlimit: fatal: unable to run //bin/tinydns: file does not exist
if ! [ id -u tinydns >/dev/null 2>&1 ] ; then useradd tinydnsfiif ! [ id -u dnslog >/dev/null 2>&1 ] ; then useradd dnslogfiif ! [ id -u dnscache >/dev/null 2>&1 ] ; then useradd dnscachefiif ! [ id -u axfrdns >/dev/null 2>&1 ] ; then useradd axfrdnsfi
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 tinydnsfiif ! [ id -u dnslog >/dev/null 2>&1 ] ; then useradd dnslogfiif ! [ id -u dnscache >/dev/null 2>&1 ] ; then useradd dnscachefiif ! [ id -u axfrdns >/dev/null 2>&1 ] ; then useradd axfrdnsfi
[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 dnsroot 5376 0.0 0.0 63264 828 pts/0 S+ 16:59 0:00 grep dns
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.
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.
please help!FTP did not workerror: Can't establish connection 6.5.0.c.2013013103/ 31-Jan-2013 11:41 centOS 6.3 finalthanks
Quote from: "lapy"updated to latest kloxo, now the php version dropdown list is empty in "Webserver Config" Hava you try 'sh /scirpt/cleanup' after update'?
updated to latest kloxo, now the php version dropdown list is empty in "Webserver Config"
Quote from: "MRatWork"Quote from: "lapy"updated to latest kloxo, now the php version dropdown list is empty in "Webserver Config" Hava you try 'sh /scirpt/cleanup' after update'?Sorry I've been busy. Yes I've done the cleanup but same problem...
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 enough180 is too much120 is optimal
Page created in 0.041 seconds with 17 queries.