MyDNS Install Problems -

Discussion in 'Installation/Configuration' started by rezilient, Nov 20, 2008.

  1. rezilient

    rezilient New Member

    Hello. First just wanted to say a quick thanks to you guys for ISPConfig and all the hard work that went in to the Perfect Server tutorials. I will be migrating from HSphere 3.1 because when Parallels bought PSoft they decided to jack up the licensing to a 250 license minimum @ $4.50 per license (instead of the previous 25 minimum licenses) which means for my small server with just ~20 users it just doesn't make sense!

    I finished the CentOS 5.2 (x86_64) perfect server build. Now I am working on the ISPConfig 3.0 installation. I am at the step that requires me to install MyDNS, and I am using the latest MyDNS-NG package on Sourceforge. I am getting an error that indicates it doesn't see MySQL or Postgresql installed on my box. But indeed, they are actually both installed and running.

    Code:
    [root@datacolony mydns-1.2.8]# ./configure
    checking for a BSD-compatible install... /usr/bin/install -c
    checking whether build environment is sane... yes
    checking for a thread-safe mkdir -p... /bin/mkdir -p
    checking for gawk... gawk
    checking whether make sets $(MAKE)... yes
    checking for gawk... (cached) gawk
    checking for gcc... gcc
    checking for C compiler default output file name... a.out
    checking whether the C compiler works... yes
    checking whether we are cross compiling... no
    checking for suffix of executables... 
    checking for suffix of object files... o
    checking whether we are using the GNU C compiler... yes
    checking whether gcc accepts -g... yes
    checking for gcc option to accept ISO C89... none needed
    checking for style of include used by make... GNU
    checking dependency style of gcc... gcc3
    checking for a BSD-compatible install... /usr/bin/install -c
    checking whether ln -s works... yes
    checking build system type... x86_64-redhat-linux-gnu
    checking host system type... x86_64-redhat-linux-gnu
    checking for ld used by GCC... /usr/bin/ld
    checking if the linker (/usr/bin/ld) is GNU ld... yes
    checking for /usr/bin/ld option to reload object files... -r
    checking for BSD-compatible nm... /usr/bin/nm -B
    checking how to recognise dependant libraries... file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )
    checking command to parse /usr/bin/nm -B output... ok
    checking how to run the C preprocessor... gcc -E
    checking for grep that handles long lines and -e... /bin/grep
    checking for egrep... /bin/grep -E
    checking for ANSI C header files... yes
    checking for sys/types.h... yes
    checking for sys/stat.h... yes
    checking for stdlib.h... yes
    checking for string.h... yes
    checking for memory.h... yes
    checking for strings.h... yes
    checking for inttypes.h... yes
    checking for stdint.h... yes
    checking for unistd.h... yes
    checking dlfcn.h usability... yes
    checking dlfcn.h presence... yes
    checking for dlfcn.h... yes
    checking for file... /usr/bin/file
    checking for ranlib... ranlib
    checking for strip... strip
    checking for objdir... .libs
    checking for gcc option to produce PIC... -fPIC
    checking if gcc PIC flag -fPIC works... yes
    checking if gcc static flag -static works... yes
    checking if gcc supports -c -o file.o... yes
    checking if gcc supports -c -o file.lo... yes
    checking if gcc supports -fno-rtti -fno-exceptions... no
    checking whether the linker (/usr/bin/ld) supports shared libraries... yes
    checking how to hardcode library paths into programs... immediate
    checking whether stripping libraries is possible... yes
    checking dynamic linker characteristics... GNU/Linux ld.so
    checking if libtool supports shared libraries... yes
    checking whether to build shared libraries... yes
    checking whether to build static libraries... yes
    checking whether -lc should be explicitly linked in... no
    creating libtool
    checking for msgfmt... /usr/bin/msgfmt
    checking for gmsgfmt... /usr/bin/msgfmt
    checking for xgettext... /usr/bin/xgettext
    checking for msgmerge... /usr/bin/msgmerge
    checking for ranlib... (cached) ranlib
    checking for strerror in -lcposix... no
    checking for an ANSI C-conforming const... yes
    checking for inline... inline
    checking for off_t... yes
    checking for size_t... yes
    checking for working alloca.h... yes
    checking for alloca... yes
    checking for stdlib.h... (cached) yes
    checking for unistd.h... (cached) yes
    checking for getpagesize... yes
    checking for working mmap... yes
    checking whether we are using the GNU C Library 2.1 or newer... yes
    checking whether integer division by zero raises SIGFPE... yes
    checking for inttypes.h... yes
    checking for stdint.h... yes
    checking for unsigned long long... yes
    checking for inttypes.h... yes
    checking whether the inttypes.h PRIxNN macros are broken... no
    checking for ld used by GCC... /usr/bin/ld
    checking if the linker (/usr/bin/ld) is GNU ld... yes
    checking for shared library run path origin... done
    checking argz.h usability... yes
    checking argz.h presence... yes
    checking for argz.h... yes
    checking limits.h usability... yes
    checking limits.h presence... yes
    checking for limits.h... yes
    checking locale.h usability... yes
    checking locale.h presence... yes
    checking for locale.h... yes
    checking nl_types.h usability... yes
    checking nl_types.h presence... yes
    checking for nl_types.h... yes
    checking malloc.h usability... yes
    checking malloc.h presence... yes
    checking for malloc.h... yes
    checking stddef.h usability... yes
    checking stddef.h presence... yes
    checking for stddef.h... yes
    checking for stdlib.h... (cached) yes
    checking for string.h... (cached) yes
    checking for unistd.h... (cached) yes
    checking sys/param.h usability... yes
    checking sys/param.h presence... yes
    checking for sys/param.h... yes
    checking for feof_unlocked... yes
    checking for fgets_unlocked... yes
    checking for getc_unlocked... yes
    checking for getcwd... yes
    checking for getegid... yes
    checking for geteuid... yes
    checking for getgid... yes
    checking for getuid... yes
    checking for mempcpy... yes
    checking for munmap... yes
    checking for putenv... yes
    checking for setenv... yes
    checking for setlocale... yes
    checking for stpcpy... yes
    checking for strcasecmp... yes
    checking for strdup... yes
    checking for strtoul... yes
    checking for tsearch... yes
    checking for __argz_count... yes
    checking for __argz_stringify... yes
    checking for __argz_next... yes
    checking for iconv... yes
    checking for iconv declaration... 
             extern size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
    checking for nl_langinfo and CODESET... yes
    checking for LC_MESSAGES... yes
    checking for bison... bison
    checking version of bison... 2.3, ok
    checking whether NLS is requested... yes
    checking whether included gettext is requested... no
    checking for GNU gettext in libc... yes
    checking for ANSI C header files... (cached) yes
    checking fcntl.h usability... yes
    checking fcntl.h presence... yes
    checking for fcntl.h... yes
    checking getopt.h usability... yes
    checking getopt.h presence... yes
    checking for getopt.h... yes
    checking libintl.h usability... yes
    checking libintl.h presence... yes
    checking for libintl.h... yes
    checking netdb.h usability... yes
    checking netdb.h presence... yes
    checking for netdb.h... yes
    checking pwd.h usability... yes
    checking pwd.h presence... yes
    checking for pwd.h... yes
    checking signal.h usability... yes
    checking signal.h presence... yes
    checking for signal.h... yes
    checking stdarg.h usability... yes
    checking stdarg.h presence... yes
    checking for stdarg.h... yes
    checking termios.h usability... yes
    checking termios.h presence... yes
    checking for termios.h... yes
    checking time.h usability... yes
    checking time.h presence... yes
    checking for time.h... yes
    checking sys/fcntl.h usability... yes
    checking sys/fcntl.h presence... yes
    checking for sys/fcntl.h... yes
    checking sys/file.h usability... yes
    checking sys/file.h presence... yes
    checking for sys/file.h... yes
    checking sys/ioctl.h usability... yes
    checking sys/ioctl.h presence... yes
    checking for sys/ioctl.h... yes
    checking sys/resource.h usability... yes
    checking sys/resource.h presence... yes
    checking for sys/resource.h... yes
    checking sys/socket.h usability... yes
    checking sys/socket.h presence... yes
    checking for sys/socket.h... yes
    checking sys/sockio.h usability... no
    checking sys/sockio.h presence... no
    checking for sys/sockio.h... no
    checking sys/time.h usability... yes
    checking sys/time.h presence... yes
    checking for sys/time.h... yes
    checking sys/wait.h usability... yes
    checking sys/wait.h presence... yes
    checking for sys/wait.h... yes
    checking sys/select.h usability... yes
    checking sys/select.h presence... yes
    checking for sys/select.h... yes
    checking netinet/in.h usability... yes
    checking netinet/in.h presence... yes
    checking for netinet/in.h... yes
    checking net/if.h usability... yes
    checking net/if.h presence... yes
    checking for net/if.h... yes
    checking arpa/inet.h usability... yes
    checking arpa/inet.h presence... yes
    checking for arpa/inet.h... yes
    checking for inttypes.h... (cached) yes
    checking for string.h... (cached) yes
    checking poll.h usability... yes
    checking poll.h presence... yes
    checking for poll.h... yes
    checking for an ANSI C-conforming const... (cached) yes
    checking for inline... (cached) inline
    checking for uchar... no
    checking for uint... yes
    checking for uint8_t... yes
    checking for uint16_t... yes
    checking for uint32_t... yes
    checking for stdlib.h... (cached) yes
    checking for GNU libc compatible malloc... yes
    checking return type of signal handlers... void
    checking for working alloca.h... (cached) yes
    checking for alloca... (cached) yes
    checking for stdlib.h... (cached) yes
    checking for GNU libc compatible realloc... yes
    checking for memset... yes
    checking for getpwuid... yes
    checking for shutdown... yes
    checking for inet_ntop... yes
    checking for inet_pton... yes
    checking for strsep... yes
    checking for strndup... yes
    checking for strdup... (cached) yes
    checking for select... yes
    checking for poll... yes
    checking for socket in -lsocket... no
    checking for inet_addr in -lnsl... yes
    checking for floor in -lm... yes
    checking whether strcasecmp is declared... yes
    checking whether strcoll is declared... yes
    checking whether strerror is declared... yes
    checking whether strncasecmp is declared... yes
    checking whether strsep is declared... yes
    checking whether strndup is declared... no
    checking whether strdup is declared... yes
    checking whether poll is declared... no
    checking whether select is declared... yes
    checking whether IPv6 is supported... yes
    checking for sa_len in struct sockaddr... no
    checking whether to enable alias patch... no
    checking whether to support MySQL... yes
    checking for /usr/local/mysql/lib/libmysqlclient_r.so... no
    checking for /usr/local/mysql/lib/libmysqlclient.so... no
    checking for /usr/local/mysql/lib/libmysqlclient.a... no
    checking for /usr/local/lib/mysql/libmysqlclient_r.so... no
    checking for /usr/local/lib/mysql/libmysqlclient.so... no
    checking for /usr/local/lib/mysql/libmysqlclient.a... no
    checking for /usr/local/lib/libmysqlclient_r.so... no
    checking for /usr/local/lib/libmysqlclient.so... no
    checking for /usr/local/lib/libmysqlclient.a... no
    checking for /usr/lib/mysql/libmysqlclient_r.so... no
    checking for /usr/lib/mysql/libmysqlclient.so... no
    checking for /usr/lib/mysql/libmysqlclient.a... no
    checking for /usr/lib/libmysqlclient_r.so... no
    checking for /usr/lib/libmysqlclient.so... no
    checking for /usr/lib/libmysqlclient.a... no
    checking for /lib/libmysqlclient_r.so... no
    checking for /lib/libmysqlclient.so... no
    checking for /lib/libmysqlclient.a... no
    checking for /usr/include/mysql.h... no
    checking for /usr/include/mysql/mysql.h... yes
    checking whether to support PostgreSQL... yes
    checking for /usr/local/pgsql/lib/libpq.a... no
    checking for /lib/libpq.a... no
    checking for /usr/lib/libpq.a... no
    checking for /usr/local/lib/libpq.a... no
    checking for /usr/local/pgsql/include/libpq-fe.h... no
    checking for /usr/include/postgresql/libpq-fe.h... no
    checking for /usr/include/libpq-fe.h... yes
    checking for PostgreSQL version number... 
    checking for /usr/include/pg_config.h... yes
    checking whether to compile with OpenSSL support... no
    checking for default config file location... /etc/mydns.conf
    checking whether to build static binary... no
    checking for MySQL support... no
    checking for PostgreSQL support... no
    checking which database to use... none
    configure: error: No supported database found.  Either MySQL or PostgreSQL is required.
    [root@datacolony mydns-1.2.8]# 
    
    Code:
    [root@datacolony mydns-1.2.8]# netstat -tap | grep mysql
    tcp        0      0 *:mysql                     *:*                         LISTEN      12184/mysqld        
    [root@datacolony mydns-1.2.8]# mysql -p
    Enter password: 
    Welcome to the MySQL monitor.  Commands end with ; or \g.
    Your MySQL connection id is 17
    Server version: 5.0.45 Source distribution
    
    Type 'help;' or '\h' for help. Type '\c' to clear the buffer.
    
    mysql> SHOW PROCESSLIST;
    +----+------+-----------+------+---------+------+-------+------------------+
    | Id | User | Host      | db   | Command | Time | State | Info             |
    +----+------+-----------+------+---------+------+-------+------------------+
    | 17 | root | localhost | NULL | Query   |    0 | NULL  | SHOW PROCESSLIST | 
    +----+------+-----------+------+---------+------+-------+------------------+
    1 row in set (0.00 sec)
    
    mysql> 
    
    Code:
    [root@datacolony mydns-1.2.8]# whereis mysqld
    mysqld: /usr/libexec/mysqld /usr/share/man/man8/mysqld.8.gz
    [root@datacolony mydns-1.2.8]# whereis mysql
    mysql: /usr/bin/mysql /usr/include/mysql /usr/share/mysql /usr/share/man/man1/mysql.1.gz
    
    Thanks for any help!
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Hi,

    the perfect setup guide is for ISPConfig 2, it is incompatible with ISPConfig 3.

    If you want to use ispconfig 3, please reinstall your server and install it as described in the installation instructions which are in the ispconfig 3 tar.gz file.
     
  3. rezilient

    rezilient New Member

    Ok will do.

    Those instructions are for i386. Will this work on a x86_64 installation of CentOS 5.2?

    It only mentions installing 'Development Tools' and 'Development Libraries' - are there any package groups that I need to select during CentOS install? In the Perfect Server config is says...
    So I'm wondering if any of these is needed or just leave everything unchecked? I guess Admin Tools, Base, System Tools is needed right?

    Thanks.
     
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    The perfect setup installation is not related in any kind to ispconfoig 3 and can not be used for ispconfig 3, so it does not matter for ispconfig 3 what is written in the perfect setup guide!

    The ispconfig 3 installation should work on 64Bit systems as well. But be aware that support for centos is experimental, if you search for a better tested platform, you should use debian or ubuntu.
     
  5. tomba2k

    tomba2k New Member

    searched for "clamedly" missing, got to:
     

Share This Page