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. 2017-11-07, 21:51:24

Author Topic: dns is bad in new release kloxo  (Read 3157 times)

0 Members and 1 Guest are viewing this topic.

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
dns is bad in new release kloxo
« on: 2013-08-07, 07:57:12 »
After working all day on three servers - starting over twice on one server, I realize new release is broke.  The dns does not work properly.

Example:  My server has three i.p. 4's.  2 for standard nameservers... one dedicated to a domain for ssl.  ONLY the main i.p. for the server is resolving.  intodns reports all nameservers except ns1 not working.

Second server.  Reinstalled CentOS 6 64.  Fresh Install Kloxo.  SAME problem.  Two i.p.'s - ns1 and ns2.  ONLY ns1 is responsive, ns2 not working (intodns)

BIND does not work on ANY of the servers I installed new release.  DJBDNS is only resolving ns1 on all servers.

This is a serious problem.  I would like to go back to previous version of kloxo but downgrade no work.

Mustafa this is serious problem.
« 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 starbolt

  • Junior Member
  • *
  • Posts: 19
  • Karma: +0/-0
    • View Profile
Re: dns is bad in new release kloxo
« Reply #1 on: 2013-08-07, 08:51:03 »
I think i have the same problem!
« Last Edit: 1970-01-01, 01:00:00 by Guest »

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,381
  • Karma: +112/-9
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: dns is bad in new release kloxo
« Reply #2 on: 2013-08-07, 10:10:14 »
Bind not Kloxo-MR problem, but something wrong with rpm from CentAlt.

About DJBDns, I think it's the same problem with old DJBDns.
« 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: dns is bad in new release kloxo
« Reply #3 on: 2013-08-07, 14:50:47 »
This all worked before you switched to template dns - BIND was working before the update - it is working on the one remaining server I have not updated to new kloxo.

This makes hosting impossible.  1 i.p.??  1 nameserver?

I think that you have overlooked something in your new template based dns - something is not working properly.

This needs to be fixed without delay, OR change it back so we can get our sites online.  This is a MAJOR problem.
« 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: dns is bad in new release kloxo
« Reply #4 on: 2013-08-07, 17:38:02 »
THIS IS A CRITICAL ISSUE
« 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 starbolt

  • Junior Member
  • *
  • Posts: 19
  • Karma: +0/-0
    • View Profile
Re: dns is bad in new release kloxo
« Reply #5 on: 2013-08-07, 18:53:37 »
Hey chrisf, he is working on a solution as I see...

Take it easy man, he is doing a great job and charging nothing in exchange. If you are in a hurry, hire a system administrator to fix this for you. I was able to fix my bind/named service before the new release.
« 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: dns is bad in new release kloxo
« Reply #6 on: 2013-08-07, 23:41:57 »
Yes,  Mustafa is doing an amazing job with Kloxo.  However, I am a developer of web solutions, NOT server administrator - and for that my frustration is sometimes my own (meaning I am mad at myself for not knowing the answers, or being able to find them).

With that said - Kloxo not only effects you, it effects every client you have on the machine.  When releasing an update, it should be solid.  I made a mistake by updating a production server.  I WILL NOT make that mistake again.

If you were able to fix yours why not share solution?  The solution had nothing to do with making a directory but how bind listens to localhost.  I understood this - but could not understand how to fix it.  FUNNY thing is, the fix was to comment out the entire line to bind it to 127.0.0.1 - atleast that is Mustafa's fix.

Yes, Kloxo is free and open source.  I have no problem donating alittle money here and there - and will continue to.  If I was making a decent amount (right now I am breaking even on server costs) I would do more - and I will when I can.

PLUS :)  I had no sleep for two days! :)

Have a good day... and Mustafa -- THANK YOU
« 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 prgs1971

  • Valuable Member
  • *
  • Posts: 81
  • Karma: +0/-0
    • View Profile
    • http://premium-prestashop-hosting.com
Re: dns is bad in new release kloxo
« Reply #7 on: 2013-08-08, 00:37:39 »
I also have problems with DNS...

Quote
FUNNY thing is, the fix was to comment out the entire line to bind it to 127.0.0.1 - atleast that is Mustafa's fix.

I don't understand.. did you find or not the fix for this?
« Last Edit: 1970-01-01, 01:00:00 by Guest »

Offline zenkul

  • Global Moderator
  • Master
  • *****
  • Posts: 383
  • Karma: +3/-0
    • View Profile
    • home & decor
Re: dns is bad in new release kloxo
« Reply #8 on: 2013-08-08, 00:58:42 »
Quote from: "prgs1971"
I also have problems with DNS...

Quote
FUNNY thing is, the fix was to comment out the entire line to bind it to 127.0.0.1 - atleast that is Mustafa's fix.

I don't understand.. did you find or not the fix for this?

fixed : just update lasted kloxo-mr 6.5.0.f-2013080701

(I also do not understand, there is hard code talking)  :roll:
« Last Edit: 1970-01-01, 01:00:00 by Guest »
easy, secure and speed up web panel ===> Kloxo-MR

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: dns is bad in new release kloxo
« Reply #9 on: 2013-08-08, 02:21:26 »
If you still have dns problems yum update again to newest kloxo mr package.  Then sh /script/cleanup then sh/script/restart-all

If dns still not work for some reason (this happened on server 4) - login kloxo - switch program - select djbdns / update.  select bind / update.

This trick works :)
« 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 starbolt

  • Junior Member
  • *
  • Posts: 19
  • Karma: +0/-0
    • View Profile
Re: dns is bad in new release kloxo
« Reply #10 on: 2013-08-08, 02:54:41 »
Obviously I didn't share my fix because at the time I replied here, Mustafa already released a fix :)

Just update your cp and you should be all set.
« Last Edit: 1970-01-01, 01:00:00 by Guest »

Offline insanity

  • Senior Member
  • *
  • Posts: 215
  • Karma: +0/-0
    • View Profile
Re: dns is bad in new release kloxo
« Reply #11 on: 2013-08-08, 03:00:29 »
@chrisf, Big mistake to update on production server. I have 4 VPS and one dedicated server only for tests when kloxo update is released...
Just a tip: Check all updates etc on test server before update the production...
And yes Mustafa do a great job with this panel, but he is alone in this.

Oh and btw Mustafa, when i try to upload large .sql file in phpMyAdmin for example 10M kloxo and pma crash, so i need to restart kloxo and import the db from mysql cmd
« Last Edit: 1970-01-01, 01:00:00 by Guest »

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,381
  • Karma: +112/-9
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: dns is bad in new release kloxo
« Reply #12 on: 2013-08-08, 03:12:16 »
Look something missing parameter value on kloxo init. Try to use this code to /etc/rc.d/init.d/kloxo:
Code: [Select]
#!/bin/bash
#
# Startup script for Kloxo-MR
#
# chkconfig: - 85 15
# description: The Kloxo-MR is Web hosting control panel
# processname: kloxo
# config: /etc/httpd/conf/kloxo.conf
# pidfile: /var/run/kloxo-hiawatha.pid
#

# Source function library.
. /etc/rc.d/init.d/functions

# Source networking configuration.
. /etc/sysconfig/network

# Check that networking is up.
[ "$NETWORKING" = "no" ] && exit 0

INIT_DIR='/usr/local/lxlabs/kloxo/init'

if ! [ -d ${INIT_DIR} ] ; then
mkdir -p ${INIT_DIR}
chown -R lxlabs:lxlabs ${INIT_DIR}
fi

PID_DIR=${INIT_DIR}

if ! [ -d ${PID_DIR} ] ; then
mkdir -p ${PID_DIR}
chown -R lxlabs:lxlabs ${PID_DIR}
fi

if ! [ -f ${INIT_DIR}/webused.txt ] ; then
echo 'hiawatha' > ${INIT_DIR}/webused.txt
fi

WEBUSED=$(cat ${INIT_DIR}/webused.txt)

### 1. PHP-CGI portion

phpcgi_pidfile="/var/run/kloxo-phpcgi.pid"
phpcgi_file="/opt/php52s/bin/php-cgi"
phpcgi_symlink="/opt/php52s/bin/kloxo-phpcgi"
phpcgi_user="lxlabs"
phpcgi_child="4"
phpcgi_max_req="10000"

phpcgi_name=$(basename ${phpcgi_symlink})

phpcgi_sockfile="${INIT_DIR}/${phpcgi_name}.sock"
phpcgi_lockfile="/var/lock/subsys/${phpcgi_name}"

phpcgi_prog="kloxo-phpcgi"
prog_as_slave="/usr/local/lxlabs/${prog}/etc/conf/slave-db.db"
prog_wrapper="kloxo-wrapper.sh"

phpcgi_spawn="env -i PHP_FCGI_CHILDREN=${phpcgi_child}
PHP_FCGI_MAX_REQUESTS=${phpcgi_max_req}
${phpcgi_symlink}
-b ${phpcgi_sockfile} &"

function phpcgi_start() {
phpcgi_load_wrapper

if ! [ -L ${phpcgi_symlink} ] ; then
ln -s ${phpcgi_file} ${phpcgi_symlink}
fi

if [ -f ${phpcgi_pidfile} ] ; then
phpcgi_stop
fi

echo -n $"Starting ${phpcgi_prog}: "

daemon ${phpcgi_spawn}

echo $! > "${phpcgi_pidfile}"

retval=$?
echo
[ ${retval} -eq 0 ] && touch ${phpcgi_lockfile} && touch ${phpcgi_sockfile}
return ${retval}
}

function phpcgi_stop() {
echo -n $"Stopping ${phpcgi_prog}: "
# need 2x killproc because phpcgi_chid
killproc ${phpcgi_name}
killproc ${phpcgi_name}
retval=$?
echo
[ ${retval} -eq 0 ] && rm -f ${phpcgi_lockfile} && rm -f ${phpcgi_sockfile}
return ${retval}
}

function phpcgi_restart() {
phpcgi_stop
phpcgi_start

also_mysql
}

function phpcgi_reload() {
echo -n $"Reloading ${phpcgi_prog}: "
killproc ${phpcgi_name} -HUP
RETVAL=$?
echo

also_mysql
}

function phpcgi_load_wrapper() {
cd /usr/local/lxlabs/kloxo/httpdocs
sh ../sbin/kloxo-wrapper.sh &
}

function phpcgi_rh_status() {
status ${phpcgi_name}
}

function phpcgi_rh_status_q() {
phpcgi_rh_status >/dev/null 2>&1
}

### 2.1. HIAWATHA portion

hiawatha_prog="/usr/sbin/hiawatha"
hiawatha_symlink="/usr/sbin/kloxo-hiawatha"
wigwam_prog="/usr/sbin/wigwam"
wigwam_symlink="/usr/sbin/kloxo-wigwam"
hiawatha_name=$(basename ${hiawatha_symlink})
wigwam_name=$(basename ${wigwam_symlink})

hiawatha_conf=${INIT_DIR}

hiawatha_pidfile="/var/run/kloxo-hiawatha.pid"
hiawatha_lockfile="/var/lock/subsys/kloxo-hiawatha"



if [ ! -f ${hiawatha_prog} ]; then
echo -e "${hiawatha_prog} not found."
exit 1;
fi

function hiawatha_start() {
if ! [ -L ${hiawatha_symlink} ] ; then
ln -s ${hiawatha_prog} ${hiawatha_symlink}
fi

if [ -f ${hiawatha_pidfile} ] ; then
hiawatha_stop
fi

echo -n "Starting ${hiawatha_name}: "
daemon "${hiawatha_symlink} -c ${hiawatha_conf}"

retval=$?
echo
[ ${retval} -eq 0 ] && touch ${hiawatha_lockfile}
return ${retval}
}

function hiawatha_stop() {
echo -en "Stopping ${hiawatha_name}: "

if [ -f ${hiawatha_pidfile} ] ; then
PID=$(cat ${hiawatha_pidfile})
else
PID=''
fi

killproc ${hiawatha_name}

retval=$?
echo
[ ${retval} -eq 0 ] && rm -f ${hiawatha_lockfile}
return ${retval}
}

function hiawatha_restart() {
hiawatha_stop
hiawatha_start
}

function hiawatha_reload() {
hiawatha_restart
}

function hiawatha_config_check() {
echo -e "Configuration check via ${wigwam_name}..."
${wigwam_symlink} -c ${hiawatha_conf}
echo
echo -e "Configuration check via ${hiawatha_name}..."
${hiawatha_symlink} -c ${hiawatha_conf} -k
}

function hiawatha_status() {
pidnum=$(cat ${hiawatha_pidfile})

if [ -f $hiawatha_pidfile ] && ps ${pidnum} >/dev/null 2>&1 ; then
echo -e "${hiawatha_name} (pid  ${pidnum}) is running..."
else
echo -e "${hiawatha_name} is not running..."
fi
}

### 2.2. NGINX portion

### 2.3. LIGHTTPD portion

### 3. GENERAL portion

function also_mysql() {
if ! [ -f ${prog_as_slave} ] ; then
if [ -f /etc/initd/mysql ] ; then
if ! $(/etc/init.d/mysql status) ; then
/etc/init.d/mysql start
fi
elif [ -f /etc/initd/mysqld ] ; then
if ! $(/etc/init.d/mysqld status) ; then
/etc/init.d/mysqld start
fi
fi

sleep 1
fi
}

function install_hiawatha() {
if ! [ -f /usr/sbin/hiawatha ] ; then
reinstall_hiawatha
fi
}

function reinstall_hiawatha() {
if ! [ -f /usr/sbin/hiawatha ] ; then
YUM_ACTION='reinstall'
else
YUM_ACTION='install'
fi

yum ${YUM_ACTION} hiawatha -y
chkconfig hiawatha off
rm -f /etc/init.d/hiawatha
}

### 4. SELECT portion

case "$1" in
start)
phpcgi_$1
${WEBUSED}_$1
;;
stop)
phpcgi_$1
${WEBUSED}_$1
;;
restart)
phpcgi_$1
${WEBUSED}_$1
;;
reload)
phpcgi_$1
${WEBUSED}_$1
;;
wrapper)
phpcgi_load_wrapper
;;
update)
reinstall_${WEBUSED}
;;
status)
phpcgi_rh_$1
${WEBUSED}_status
;;
*)
echo $"Usage: $0 {start|stop|status|restart|reload|update}"
exit 2
esac

Only different thing is 'phpcgi_max_req="10000"'
« Last Edit: 1970-01-01, 01:00:00 by Guest »
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

 


Top 4 Global Search Engines:    Google    Bing    Baidu    Yahoo

Page created in 0.041 seconds with 17 queries.

web stats analysis
 
Mirror created by MasterkinG32.CoM