Вот мой конфиг: r...@web:/etc# cat ./ddclient.conf # Configuration file for ddclient generated by debconf # # /etc/ddclient.conf
daemon=600 syslog=yes pid=/var/run/ddclient.pid protocol=dyndns2 use=if, if=ppp0 server=members.dyndns.org login=******** password='********' ********.dyndns.org r...@web:/etc# Проверил, что файл /var/run/ddclient.pid присутствует и в нем содержится корректный PID процесса ddclient'a. 13 января 2010 г. 14:14 пользователь Andrew Bondarenko <[email protected]>написал: > А, может быть, у Вас в файле /etc/ddclient.conf не указано > pid=<path_to_file>? Возможно, именно проверка существования и создание > пид-файла препятствует повторному запуску у меня на Ubuntu 9.10 и на > Вашей Ubuntu Server 8.04? > > Дмитрий Суслов wrote: > > Ура! Кажется, заработало! > > > > Сейчас у меня вот такой конфиг: > > > > r...@web:/etc/default# cat ./ddclient > > # Configuration for ddclient scripts > > # generated from debconf on Вск Май 3 22:01:47 MSD 2009 > > # > > # /etc/default/ddclient > > > > # Set to "true" if ddclient should be run every time a new ppp > > connection is > > # established. This might be useful, if you are using dial-on-demand > > #run_ipup="true" > > run_ipup="false" > > > > # Set to "true" if ddclient should run in daemon mode > > run_daemon="true" > > > > # Set the time interval between the updates of the dynamic DNS name in > > seconds. > > # This option only takes effect if the ddclient runs in daemon mode. > > daemon_interval="300" > > r...@web:/etc/default# > > > > Т.е. ddclient работает как демон и не запускается при каждом поднятии > > ppp-соединения. Судя по тому, что у ppp-соединения IP-адрес уже > > несколько раз изменился, значит это соединение несколько раз > > перезапускалось. Но дополнительные копии ddclient'a не появлялись. > > > > Но тогда другой вопрос: зачем в конфиге по умолчанию run_ipup="true" > > и run_daemon="true"? Т.е. по умолчанию пользователю устанавливается > > заведомо нерабочая конфигурация? Докопаться бы до истины... > > > > 12 января 2010 г. 22:27 пользователь Andrew Bondarenko <[email protected] > > <mailto:[email protected]>> написал: > > > > Хм... У меня такой же конфиг и подобных проблем не наблюдаю. Правда, > у > > меня не ADSL. > > > > Lion-Simba wrote: > > > Собственно, это всё объясняет. > > > > > > У вас ddclient работает демоном (run_daemon="true") и в то же > время > > > запускается при поднятии интерфейса (run_ipup="true"). Отсюда и > две > > > копии. > > > > > > Отключите что-нибудь одно. > > > > > > Работоспособность такой конфигурации в Ubuntu Server 8.04 может > быть > > > вызвана багом или иными условиями (скажем, там ADSL не рвётся). > > > > > > В Вск, 10/01/2010 в 22:25 +0300, Дмитрий Суслов пишет: > > >> r...@web:/# cat /etc/default/ddclient > > >> # Configuration for ddclient scripts > > >> # generated from debconf on Вск Май 3 22:01:47 MSD 2009 > > >> # > > >> # /etc/default/ddclient > > >> > > >> > > >> # Set to "true" if ddclient should be run every time a new ppp > > >> connection is > > >> # established. This might be useful, if you are using > dial-on-demand > > >> run_ipup="true" > > >> > > >> > > >> # Set to "true" if ddclient should run in daemon mode > > >> run_daemon="true" > > >> > > >> > > >> # Set the time interval between the updates of the dynamic DNS > > name in > > >> seconds. > > >> # This option only takes effect if the ddclient runs in daemon > mode. > > >> daemon_interval="300" > > >> r...@web:/# > > >> > > >> > > >> Точно такой же конфиг и у ddclient'a в Ubuntu Server 8.04, но в > нем > > >> все работает как надо. > > >> > > >> > > >> > > >> 10 января 2010 г. 16:36 пользователь Lion-Simba > > >> <[email protected] <mailto:[email protected]>> > > написал: > > >> А покажите содержимое файла /etc/default/ddclient > > > > > > -- > > ubuntu-ru mailing list > > [email protected] <mailto:[email protected]> > > https://lists.ubuntu.com/mailman/listinfo/ubuntu-ru > > > > > > > > > > -- > > С уважением, > > Дмитрий Суслов. > > > > > -- > ubuntu-ru mailing list > [email protected] > https://lists.ubuntu.com/mailman/listinfo/ubuntu-ru > -- С уважением, Дмитрий Суслов.
-- ubuntu-ru mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-ru
