Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 7th November 2009, 03:26
tomdavidson tomdavidson is offline
Junior Member
 
Join Date: Nov 2009
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default ipsconfig3 on Lenny how-to troubles | myDNS

hi, i followed this how-to and ran in to a few hang ups:
http://www.howtoforge.com/perfect-se...nny-ispconfig3

1) There is no /etc/init.d/openbsd-inetd to restart. I do not know the impact of this.

2) MyDNS does not start with /etc/init.d/mydns start.
  • It does not produce an error, but after running /etc/init.d/mydns start and than looking at netstat, there is no mydns.
  • I can start mydns via /usr/local/sbin/ ./mydns but have some errors
    Quote:
    tom@i:/usr/local/sbin$ ./mydns
    mydns[17794]: error loading gid for group `nobody'
    mydns[17794]: using gid 65534 from user `nobody'
    mydns[17794]: Error connecting to MySQL server at localhost: Access denied for user 'username'@'localhost' (using password: YES) (errno=0)

Does mydns need additional config not described in the tutorial?

File: /etc/init.d/mydns
Quote:
#! /bin/sh
#
# mydns Start the MyDNS server
#
# Author: Philipp Kern <phil@philkern.de>.
# Based upon skeleton 1.9.4 by Miquel van Smoorenburg
# <miquels@cistron.nl> and Ian Murdock <imurdock@gnu.ai.mit.edu>.
#
set -e
PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
DAEMON=/usr/local/sbin/mydns
NAME=mydns
DESC="DNS server"
SCRIPTNAME=/etc/init.d/$NAME
# Gracefully exit if the package has been removed.
test -x $DAEMON || exit 0
case "$1" in
start)
echo -n "Starting $DESC: $NAME"
start-stop-daemon --start --quiet \
--exec $DAEMON -- -b
echo "."
;;
stop)
echo -n "Stopping $DESC: $NAME"
start-stop-daemon --stop --oknodo --quiet \
--exec $DAEMON
echo "."
;;
reload|force-reload)
echo -n "Reloading $DESC configuration..."
start-stop-daemon --stop --signal HUP --quiet \
--exec $DAEMON
echo "done."
;;
restart)
echo -n "Restarting $DESC: $NAME"
start-stop-daemon --stop --quiet --oknodo \
--exec $DAEMON
sleep 1
start-stop-daemon --start --quiet \
--exec $DAEMON -- -b
echo "."
;;
*)
echo "Usage: $SCRIPTNAME {start|stop|restart|reload|force-reload}" >&2
exit 1
;;
esac
exit 0
File: /etc/mydns.conf
Quote:
## AUTOMATICALLY GENERATED BY DEBCONF. DO NOT MODIFY DATABASE
## INFORMATION (database, db-*)...
## PLEASE RUN 'dpkg-reconfigure mydns-mysql' INSTEAD.
## CHANGES TO THE FOLLOWING DIRECTIVES ARE NOT PRESERVED, BUT REPLACED,
## ON UPGRADE:
## user, group, pidfile, db-*, database

##
## /etc/mydns.conf
## Thu Aug 2 16:36:26 2007
## For more information, see mydns.conf(5).
##


# DATABASE INFORMATION

db-host = localhost # SQL server hostname
db-user = ispconfig # SQL server username
db-password = 64092f58f0fa37b04be0c3d34d796d7d # SQL server password
database = dbispconfig # MyDNS database name


# GENERAL OPTIONS

user = nobody # Run with the permissions of this user
group = nogroup # Run with the permissions of this group
listen = * # Listen on these addresses ('*' for all)
no-listen = # Do not listen on these addresses

# CACHE OPTIONS

zone-cache-size = 2048 # Maximum number of elements stored in the zone cache
zone-cache-expire = 60 # Number of seconds after which cached zones expires
reply-cache-size = 2048 # Maximum number of elements stored in the reply cache
reply-cache-expire = 30 # Number of seconds after which cached replies expire


# ESOTERICA

log = LOG_DAEMON # Facility to use for program output (LOG_*/stdout/stderr)
pidfile = /var/run/mydns.pid # Path to PID file
timeout = 120 # Number of seconds after which queries time out
multicpu = 1 # Number of CPUs installed on your system
recursive = # Location of recursive resolver
allow-axfr = yes # Should AXFR be enabled?
allow-tcp = yes # Should TCP be enabled?
allow-update = no # Should DNS UPDATE be enabled?
ignore-minimum = no # Ignore minimum TTL for zone?
soa-table = dns_soa # Name of table containing SOA records
rr-table = dns_rr # Name of table containing RR data
soa-where = server_id = 1 # Extra WHERE clause for SOA queries
rr-where = server_id = 1 # Extra WHERE clause for RR queries
use-soa-active = yes # To fix bug 295 where active or inactive status is ignored.
use-rr-active = yes# To fix bug 295 where active or inactive status is ignored.



Last edited by tomdavidson; 7th November 2009 at 03:30.
Reply With Quote
Sponsored Links
  #2  
Old 7th November 2009, 13:48
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 37,015
Thanks: 840
Thanked 5,651 Times in 4,461 Posts
Default

Plesae proceed with the setup. ISPConfig will reconfigure mydns while you run the ispconfig installer.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 7th November 2009, 19:47
tomdavidson tomdavidson is offline
Junior Member
 
Join Date: Nov 2009
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi Till, thanks for the reply:
I did complete the process. It was not until seeing the monitor warning in the ISPConfig3 interface that I realized myDNS has a problem.

Perhaps the installer did not configure myDNS on my install?

-tom
Reply With Quote
  #4  
Old 7th November 2009, 20:33
snowch snowch is offline
Junior Member
 
Join Date: Oct 2009
Posts: 29
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I had the error about /etc/init.d/openbsd-inetd too installing on Debian 5.0 too.

I assumed that it's no problem because we didn't need any inetd services anyway.

Is it worth making a note in the install doc that if there is an error when starting openbsd-inetd, ignore it?

Many thanks,

Chris
Reply With Quote
Reply

Bookmarks

Tags
mydns ispconfig3 how-to

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Debian Lenny apt-get update failed to fetch qriz Installation/Configuration 3 31st October 2009 23:19
SAMBA PDC + Debian Lenny with LDAP backend troubles richardnixonshead Server Operation 0 9th September 2009 01:35
MyDNS forwarders in Lenny Perfect Server atjensen11 HOWTO-Related Questions 2 23rd March 2009 08:56
missing mydns packages in debian lenny radim_h Developers' Forum 6 9th December 2008 05:24
Howto upgrade from Debian 4 (Etch) to Debian 5 (Lenny) Hans Tips/Tricks/Mods 2 2nd December 2008 00:40


All times are GMT +2. The time now is 12:46.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.