Problem with mydnsconfig

Discussion in 'General' started by pmsfo, Feb 7, 2006.

  1. pmsfo

    pmsfo New Member

    after i login in msconfig, i came up with this error, it looks like directory error, but in the config.inc.php i put the correct directory

    Config.inc.php
    $conf["app_title"] = "MyDNSConfig";
    $conf["app_version"] = "1.0.0";
    $conf["rootpath"] = "/srv/www/htdocs";
    $conf["fs_div"] = "/"; // File system divider, \\ on windows an
    $conf["classpath"] = $conf["rootpath"].$conf["fs_div"]."lib".$c
    $conf["temppath"] = $conf["rootpath"].$conf["fs_div"]."temp";

    Can you help me Please



    Warning: loadlistdef(list/soa.list.php): failed to open stream: No such file or directory in /srv/www/htdocs/lib/classes/listform.inc.php on line 53

    Warning: loadlistdef(): Failed opening 'list/soa.list.php' for inclusion (include_path='/usr/share/php') in /srv/www/htdocs/lib/classes/listform.inc.php on line 53

    Warning: Invalid argument supplied for foreach() in /srv/www/htdocs/lib/classes/listform.inc.php on line 67

    Warning: Invalid argument supplied for foreach() in /srv/www/htdocs/lib/classes/listform.inc.php on line 93

    Warning: Division by zero in /srv/www/htdocs/lib/classes/listform.inc.php on line 128

    Warning: onshow(lib/lang/en__list.lng): failed to open stream: No such file or directory in /srv/www/htdocs/lib/classes/listform_actions.inc.php on line 137

    Warning: onshow(): Failed opening 'lib/lang/en__list.lng' for inclusion (include_path='/usr/share/php') in /srv/www/htdocs/lib/classes/listform_actions.inc.php on line 137
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Are you sure that you did not install MyDNSConfig in a subdirectory like /srv/www/htdocs/mydnsconfig?

    please check the include setting in your php.ini, that the includ path includes also the current directory "." (dot).
     
  3. pmsfo

    pmsfo New Member

    I Intalled on /srv/www/htdocs :

    i tried to find the place to put the "." in the php.ini i din't find, where i put "." ?
     
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    The dot must be in the include path. Example:

    include_path = ".:/php/includes"
     
  5. smelkomar

    smelkomar Guest

    OK, we have BIND DNS Server at work... I'm thinking about to install MyDNS and his panel http://www.mydnsconfig.org/. Is this be a wrong action to install MyDNS... I'm now trying to install MyDNS+panel on my testmachine but I already made the step with BIND9. When I reach this point:

    "mysqladmin -h host -u username -p create mydns" from Installation Manual,

    I found this error when used for host trafmeter and root for username


    mysqladmin: connect to server at 'trafmeter' failed
    error: 'Host 'localhost.localdomain' is not allowed to connect to this MySQL server'

    Some advises?
     
  6. till

    till Super Moderator Staff Member ISPConfig Developer

    Check the permissions in your mysql user table, that the mysql user you used for the connection, i guess root, is allowed to connect from "localhost.localdomain". As default the user can only connect from localhost.
     
  7. falko

    falko Super Moderator Howtoforge Staff

    Please use localhost as host.
     
  8. smelkomar

    smelkomar Guest

    How to check permissions? I'm not good with MySQL :D In fact I'm not good at all :D :p
     
  9. falko

    falko Super Moderator Howtoforge Staff

    You can have a look at the users table in the mysql database with phpMyAdmin. But I recommend that you try localhost first, as posted before.
     
  10. smelkomar

    smelkomar Guest

    OK, yesterday I reinstalled Ubuntu 5.10 only for MyDNS... Everything works, but there are several strange problems:

    1. When I type http:://mydns.new.bg in browser the panel won't opens... only 'index of /' ???
    2. When installed dnscache and compiles it with 'make' command I got this error:

    Code:
    tcpserver.o: In function `doit':
    tcpserver.c:(.text+0x7a7): undefined reference to `errno'
    remoteinfo.o: In function `mywrite':
    remoteinfo.c:(.text+0x68): undefined reference to `errno'
    remoteinfo.o: In function `myread':
    remoteinfo.c:(.text+0x108): undefined reference to `errno'
    timeoutconn.o: In function `timeoutconn':
    timeoutconn.c:(.text+0x51): undefined reference to `errno'
    timeoutconn.c:(.text+0xd4): undefined reference to `errno'
    cdb.a(cdb.o):cdb.c:(.text+0xd8): more undefined references to `errno' follow
    collect2: ld returned 1 exit status
    make: *** [tcpserver] Error 1
    3. When I used this command '/etc/init.d/mydns restart':
    Code:
    Restarting DNS server: mydns.
    Stopping DNS server: mydns.
    Starting DNS server: mydnsmydns[5788]: error loading gid for group `nobody'
    mydns[5788]: using gid 65534 from user `nobody'
    .
     
    Last edited by a moderator: Mar 15, 2006
  11. falko

    falko Super Moderator Howtoforge Staff

    This problem is addressed here: http://www.howtoforge.com/mydns_name_server

    You must edit /etc/mydns.conf and put
    Code:
    group = nogroup
    into it.
     
  12. smelkomar

    smelkomar Guest

    Thank's a lot... But the first 2 problems are staying alive :(
    And one question - "Now dnscache is listening on 1.2.3.5. Now we have to tell MyDNS that it should listen on 1.2.3.4 only"

    Can I make dnscache and MyDNS listen to one IP - 1.2.3.4 ?

    Edit: I forgot to say which version I installed - MyDNS 1.1.0... latest
     
    Last edited by a moderator: Mar 15, 2006
  13. falko

    falko Super Moderator Howtoforge Staff

    No, you need two different IP addresses.
     
  14. smelkomar

    smelkomar Guest

    In this case two real static IPs... ok, ok... Which IP must be used from clients? dnscache's or MyDNS' IP?
     
  15. falko

    falko Super Moderator Howtoforge Staff

    The dnscache IP address. Otherwise your clients can only access domains the MyDNS has in its database (MyDNS is no resolving nameserver).
     
  16. smelkomar

    smelkomar Guest

    Code:
    wget http://www.servershak.com/dns/dnsctl
    returns this

    Code:
    --19:05:06--  http://www.servershak.com/dns/dnsctl
               => `dnsctl.1'
    Resolving www.servershak.com... 72.29.98.3
    Connecting to www.servershak.com|72.29.98.3|:80... connected.
    HTTP request sent, awaiting response... 301 Moved Permanently
    Location: https://www.netfiredesign.com/dns/dnsctl [following]
    --19:05:06--  https://www.netfiredesign.com/dns/dnsctl
               => `dnsctl.1'
    Resolving www.netfiredesign.com... 72.29.98.4
    Connecting to www.netfiredesign.com|72.29.98.4|:443... connected.
    ERROR: Certificate verification error for www.netfiredesign.com: unable to get local issuer certificate
    To connect to www.netfiredesign.com insecurely, use `--no-check-certificate'.
    Unable to establish SSL connection.
    I dl the file with '--no-check-certificate' option but maybe this is the reason of the problem from my post:

    Code:
    tcpserver.o: In function `doit':
    tcpserver.c:(.text+0x7a7): undefined reference to `errno'
    remoteinfo.o: In function `mywrite':
    remoteinfo.c:(.text+0x68): undefined reference to `errno'
    remoteinfo.o: In function `myread':
    remoteinfo.c:(.text+0x108): undefined reference to `errno'
    timeoutconn.o: In function `timeoutconn':
    timeoutconn.c:(.text+0x51): undefined reference to `errno'
    timeoutconn.c:(.text+0xd4): undefined reference to `errno'
    cdb.a(cdb.o):cdb.c:(.text+0xd8): more undefined references to `errno' follow
    collect2: ld returned 1 exit status
    make: *** [tcpserver] Error 1
    :mad: :mad: :mad:
     
  17. falko

    falko Super Moderator Howtoforge Staff

    No, that's not the problem.
    Which distribution do you use? Debian?
     
  18. smelkomar

    smelkomar Guest

    Ubuntu 5.10
     
  19. falko

    falko Super Moderator Howtoforge Staff

    That might be the problem because the tutorial was written for Debian Sarge...
     
  20. smelkomar

    smelkomar Guest

    On Sarge... that's the result when I type mydns.new.bg :mad:
    http://mydns.new.bg/apache2-default/
     

Share This Page