Guest User!

You are not Sophos Staff.

This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

UTM 9 DynDns festures.ph verändert -> Nix geht mehr

Hallo zusammen,

ich wollte bei meiner UTM 9 die DynDns Liste um All-Inkl erweitern.

Ich habe mich an die Anleitung (fast) gehalten, die ich im Netz gefunden habe:

  1. Shell Zugriff aktivieren (Managment > System Settings > Shell Access)
  2. Mit Putty auf die Firewall verbinden und den Loginuser benutzen
  3. Anschließend mit su root Rechte erhalten
  4. vi /var/confd/res/dyndns/features.ph
  5. einen Provider abändern und speichern (z.B no-ip)
’no-ip‘ => {
’server‘   => ‚dyndns.kasserver.com‘,
‚protocol‘ => ‚dyndns2‘,
‚options‘  => [],
’support‘  => {
’strategy‘ => 1,
‚hostname‘ => 1,
},
},

Verändert habe ich den Eintrag von "DNS-O-Matic" aber selbst wenn ich diesen wieder zurück benenne bleibt die Liste leer.

Den einzigen Fehler, den ich wohl gemacht habe war, dass ich in diesem Beispiel "no-ip" durch "all-inkl" ersetzt habe.
Dann alles wie in der Liste zu sehen angepasst habe und mit Esc dann :wq beendet.

Dann habe ich einen refresh im Browser gemacht und wollte den so hinzugefügten Anbieter auswählen. Wenn ich jetzt bei "Typ" auf den
Dropdown gehe ist die Liste leider leer...

wenn ich wieder die features.ph aufrufe ist diese aber ganz normal vorhanden (bis auf meine Änderung)

Was kann ich jetzt tun, dass es wieder funktioniert? Das einspielen meines Back ups hat daran nichts geändert.

Die Maske sah vorher auch anders aus. Ich habe aber keine Ahnung wie ich das wieder beheben soll.

Vielen Dank schon vorab an die Community

Gruß
Patrick



This thread was automatically locked due to age.
Parents
  • Brauchtst Du also eine originale features.ph?

     

    # Copyright (C) 2007,2012 Astaro GmbH & Co. KG www.astaro.com
    # For copyright information look at /doc/astaro-license.txt
    # or www.astaro.com/.../astaro-license.txt
    #
    # Author: Ingo Schwarze <ischwarze@astaro.com> 16.7.2007
    #
    ##############################################################################
    # static ddclient configuration data for various dynamic DNS services
    ##############################################################################

    {
    'dns-o-matic' => {
    'server' => 'updates.dnsomatic.com',
    'protocol' => 'dyndns2',
    'options' => [],
    'support' => {
    'mx' => 1,
    'backupmx' => 1,
    'strategy' => 1,
    'hostname' => 1,
    'wildcard' => 1,
    },
    },
    'dnspark' => {
    'server' => 'control.dnspark.com',
    'protocol' => 'dnspark',
    'options' => [],
    'support' => {
    'mx' => 1,
    'mxpri' => 1,
    'strategy' => 1,
    'hostname' => 1,
    'aliases' => 1,
    },
    },
    'dtdns' => {
    'server' => 'www.dtdns.com',
    'protocol' => 'dtdns',
    'options' => ['client=SophosUTM'],
    'support' => {
    'strategy' => 1,
    'hostname' => 1,
    'aliases' => 1,
    },
    },
    'dyndns' => {
    'server' => 'members.dyndns.org',
    'protocol' => 'dyndns2',
    'options' => [],
    'support' => {
    'mx' => 1,
    'backupmx' => 1,
    'strategy' => 1,
    'hostname' => 1,
    'wildcard' => 1,
    'aliases' => 1,
    'ipv6' => { 'strategy' => 'if', 'record' => ['a', 'both'] },
    },
    },
    'dyndns-custom' => {
    'server' => 'members.dyndns.org',
    'protocol' => 'dyndns2',
    'options' => ['custom=yes'],
    'support' => {
    'strategy' => 1,
    'hostname' => 1,
    'aliases' => 1,
    'ipv6' => { 'strategy' => 'if', 'record' => ['a', 'both'] },
    },
    },
    'easydns' => {
    'server' => 'members.easydns.com',
    'protocol' => 'easydns',
    'options' => [],
    'support' => {
    'mx' => 1,
    'backupmx' => 1,
    'strategy' => 1,
    'hostname' => 1,
    'wildcard' => 1,
    'aliases' => 1,
    },
    },
    'freedns' => {
    'server' => 'freedns.afraid.org',
    'protocol' => 'freedns',
    'options' => [],
    'support' => {
    'strategy' => 1,
    'hostname' => 1,
    'aliases' => 1,
    'ipv6' => { 'strategy' => 'if', 'record' => ['a', 'aaaa'] },
    },
    },
    'namecheap' => {
    'server' => 'dynamicdns.park-your-domain.com',
    'protocol' => 'namecheap',
    'options' => [],
    'support' => {
    'strategy' => 1,
    'hostname' => 1,
    'aliases' => 1,
    },
    },
    'no-ip' => {
    'server' => 'dynupdate.no-ip.com',
    'protocol' => 'noip',
    'options' => [],
    'support' => {
    'strategy' => 1,
    'hostname' => 1,
    },
    },
    'opendns' => {
    'server' => 'updates.opendns.com',
    'protocol' => 'dyndns2',
    'options' => [],
    'support' => {
    'strategy' => 1,
    'label' => 1,
    },
    },
    'selfhost' => {
    'server' => 'carol.selfhost.de',
    'protocol' => 'dyndns2',
    'options' => [],
    'support' => {
    'strategy' => 1,
    'hostname' => 1,
    },
    },
    'strato' => {
    'server' => 'dyndns.strato.com',
    'protocol' => 'dyndns2',
    'options' => [],
    'support' => {
    'strategy' => 1,
    'hostname' => 1,
    },
    },
    'zoneedit' => {
    'server' => 'dynamic.zoneedit.com',
    'protocol' => 'zoneedit1',
    'options' => [],
    'support' => {
    'strategy' => 1,
    'hostname' => 1,
    'aliases' => 1,
    },
    },
    }

  • Hallo Thorsten,

    besten Dank. Ich habe die Datei wieder angepasst. Leider hat das auch nach einem Neustart nicht den gewünschten Effekt gehabt.

    Hast du eine Idee was passiert sein kann?

    Beim ersten Versuch die Datei abzuändern ist mir Putty abgeschmiert und ich habe eine Meldung bekommen, dass noch eine Instanz der features.ph geöffnet ist.

    Ich habe aber dann, da ich noch nichts geändert hatte, die vom System erstellte features.ph.s?? löschen lassen und dann konnte ich die normale features.ph wieder öffnen und editieren.

     

    VG

    Patrick

  • Vielleicht  "/var/mdw/scripts/dyndns restart"

  • Vielleicht sind auch fehlerhafte Informationen in der Database. Dann müsstest Du vielleicht ein Rebuild in Erwägung ziehen. Leider gehen dann Statistiken und gespeicherte SPX-Kennwörter flöten. Wenn Du darauf verzichten kannst: 

    /etc/init.d/postgresql92 rebuild
Reply Children
  • Habe beides durchgeführt beim restart des dyndns bekomme ich folgendes angezeigt:

    ltc-gw:/home/login # /var/mdw/scripts/dyndns restart
    :: restart dyndns
    dyndns error: kill failed
    WARNING: file /etc/ddclient/ddclient.conf: Cannot open file '/etc/ddclient/ddclient.conf'. (No such file or directory)
    stat() on closed filehandle FD at /usr/sbin/ddclient line 1011.
    Use of uninitialized value $mode in bitwise and (&) at /usr/sbin/ddclient line 1012.
    readline() on closed filehandle FD at /usr/sbin/ddclient line 1024.
    WARNING: file /etc/ddclient/ddclient.conf: Cannot open file '/etc/ddclient/ddclient.conf'. (No such file or directory)
    stat() on closed filehandle FD at /usr/sbin/ddclient line 1011.
    Use of uninitialized value $mode in bitwise and (&) at /usr/sbin/ddclient line 1012.
    readline() on closed filehandle FD at /usr/sbin/ddclient line 1024.
    dyndns error: start failed
    dyndns error: still not running
    [ failed ]

     

    dann habe ich den rebuild gemacht:

    ltc-gw:/home/login # /etc/init.d/postgresql92 rebuild
    Rebuilding PostgreSQL database, all reporting data will be lost!
    Enter "yes" to continue...
    yes
    :: Stopping PostgreSQL done
    :: Initializing the PostgreSQL database done
    :: Starting PostgreSQL done
    :: Restarting SMTP Proxy
    :: Stopping SMTP Proxy
    [ ok ]
    :: Starting SMTP Proxy
    [ ok ]
    [ ok ]

    dann hab ich mich eingeloggt -> keine Veränderung

    ein erneuter restert des dyndns durchgeführt mit dem gleichen Ergebnis wie oben! Er kann dyndns nicht starten

     

    gibt es noch weitere Ansätze?