Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[ddclient] ddclient ne checke pas l'ip (resolu)
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index French
View previous topic :: View next topic  
Author Message
jerep6
Apprentice
Apprentice


Joined: 02 Aug 2006
Posts: 215
Location: Landes

PostPosted: Wed Aug 02, 2006 4:55 pm    Post subject: [ddclient] ddclient ne checke pas l'ip (resolu) Reply with quote

Salut j'ai installé ddclient mais j'ai un petit probleme avec. Quand je le lance moi même il fonctionne tres bien:
Code:
/etc/init.d/ddclient start

Une fois lancé, il devrait checker l'ip toute les X secondes mais il ne le fais pas. J'ai essayé de mettre la variable RC_NET_STRICT_CHECKING à "yes" (elle est à "no" d'origine) du fichier /etc/conf.d/rc mais c'est pareil.

J'ai ddclient-3.6.6
Code:

daemon=180                           # check every 300 seconds
syslog=yes                              # log update msgs to syslog
#mail=root                              # mail all msgs to root
mail-failure=root                      # mail failed update msgs to root
pid=/var/run/ddclient/ddclient.pid      # record PID in file.
use=web                                         # via web
protocol=dyndns2                             # default protocol
server=members.dyndns.org             # default server
login=jerep6                            # default login
password=...                           # default password
jerep6.dyndns.org,jerep6.homelinux.org,acimflo.homelinux.com

Voilà......


Last edited by jerep6 on Thu Aug 03, 2006 4:25 pm; edited 2 times in total
Back to top
View user's profile Send private message
netfab
Veteran
Veteran


Joined: 03 Mar 2005
Posts: 1985
Location: 127.0.0.1

PostPosted: Wed Aug 02, 2006 10:53 pm    Post subject: Reply with quote

Salut,

Rien dans les logs ?

(Peux-tu modifier ton titre selon les conventions, merci.)

Edit : peut-être ceci ?
Back to top
View user's profile Send private message
jerep6
Apprentice
Apprentice


Joined: 02 Aug 2006
Posts: 215
Location: Landes

PostPosted: Thu Aug 03, 2006 11:41 am    Post subject: Reply with quote

Ou se trouve le log de ddclient? Dans /var/log/ je ne le vois pas. Dans /var/log/messages j'ai trouvé ça
Code:
WARNING:  file /etc/ddclient/ddclient.conf: file /etc/ddclient/ddclient.conf must be accessible only by its owner
FATAL:    Cannot create file '/etc/ddclient/ddclient.cache'. (Permission denied)
J'ai mis "web=web=checkip.dyndns.org" mais je ne pense pas que le problème vienne de là, mais qui sait?

Mon interface réseaux est br0 (j'ai un bridge) est ce que ça peut venir de là? Pourtant sous debian ça passe bien.
Est ce qu'il y a des gens derriere un routeur utilisant ddclient sous gentoo (et ayant eventuellement un brige) pour qui ddclient fonctionne.

Quelles conventions?
Back to top
View user's profile Send private message
xaviermiller
Bodhisattva
Bodhisattva


Joined: 23 Jul 2004
Posts: 8723
Location: ~Brussels - Belgique

PostPosted: Thu Aug 03, 2006 12:48 pm    Post subject: Reply with quote

Il faut aussi faire ce qui est imploré par le log :
Code:
chmod  600 /etc/ddclient/ddclient.conf
chown ddclient:ddclient /etc/ddclient/ddclient.conf
touch /etc/ddclient/ddclient.cache
chmod  600 /etc/ddclient/ddclient.cache
chown ddclient:ddclient /etc/ddclient/ddclient.cache

_________________
Kind regards,
Xavier Miller
Back to top
View user's profile Send private message
kernelsensei
Bodhisattva
Bodhisattva


Joined: 22 Feb 2004
Posts: 5619
Location: Woustviller/Moselle/FRANCE (49.07°N;7.02°E)

PostPosted: Thu Aug 03, 2006 12:48 pm    Post subject: Reply with quote

Salut et bienvenue sur le forum gentoo :)

jerep6 wrote:
Quelles conventions?


Celles-ci ;)
_________________
$ ruby -e'puts " .:@BFegiklnorst".unpack("x4ax7aaX6ax5aX15ax4aax6aaX7ax2aX5aX8 \
axaX3ax8aX4ax6aX3aX6ax3ax3aX9ax4ax2aX9axaX6ax3aX2ax4ax3aX4aXaX12ax10aaX7a").join'
Back to top
View user's profile Send private message
PabOu
Veteran
Veteran


Joined: 11 Feb 2004
Posts: 1088
Location: Namur - Belgium

PostPosted: Thu Aug 03, 2006 1:41 pm    Post subject: Reply with quote

XavierMiller wrote:
Il faut aussi faire ce qui est imploré par le log :
Code:
chmod  600 /etc/ddclient/ddclient.conf
chown ddclient:ddclient /etc/ddclient/ddclient.conf
touch /etc/ddclient/ddclient.cache
chmod  600 /etc/ddclient/ddclient.cache
chown ddclient:ddclient /etc/ddclient/ddclient.cache

plus simple :
Code:
chown -R ddclient:ddclient /etc/ddclient
chmod 600 /etc/ddclient/*

Et ca suffit ;-)
_________________
Mangez du poulet !
Back to top
View user's profile Send private message
xaviermiller
Bodhisattva
Bodhisattva


Joined: 23 Jul 2004
Posts: 8723
Location: ~Brussels - Belgique

PostPosted: Thu Aug 03, 2006 1:55 pm    Post subject: Reply with quote

à part que le fichier
Code:
/etc/ddclient/ddclient.cache
n'existe pas encore ;)
ma méthode est au moins "chirurgicale", en ne touchant pas à d'éventuels autres fichiers ;)
_________________
Kind regards,
Xavier Miller
Back to top
View user's profile Send private message
PabOu
Veteran
Veteran


Joined: 11 Feb 2004
Posts: 1088
Location: Namur - Belgium

PostPosted: Thu Aug 03, 2006 2:24 pm    Post subject: Reply with quote

XavierMiller wrote:
à part que le fichier
Code:
/etc/ddclient/ddclient.cache
n'existe pas encore ;)


ddclient va le créer. Edit : il va pouvoir le créer grâce aux permissions sur le répertoire

XavierMiller wrote:
ma méthode est au moins "chirurgicale", en ne touchant pas à d'éventuels autres fichiers ;)

Normalement, personne ne doit avoir accès au répertoire, et donc rien ne devrait se trouver dans le répertoire. Si c'est le cas, il y a (à mon avis) un problème bien plus grave que celui potentiellement engendré par ma commande.

Et puis moi, je change les permissions sur le répertoire aussi, ce qu'il me semble, ddclient demande également.
_________________
Mangez du poulet !


Last edited by PabOu on Thu Aug 03, 2006 2:39 pm; edited 2 times in total
Back to top
View user's profile Send private message
xaviermiller
Bodhisattva
Bodhisattva


Joined: 23 Jul 2004
Posts: 8723
Location: ~Brussels - Belgique

PostPosted: Thu Aug 03, 2006 2:33 pm    Post subject: Reply with quote

ok, chuis ko :lol:
_________________
Kind regards,
Xavier Miller
Back to top
View user's profile Send private message
jerep6
Apprentice
Apprentice


Joined: 02 Aug 2006
Posts: 215
Location: Landes

PostPosted: Thu Aug 03, 2006 3:57 pm    Post subject: Reply with quote

Whaaaaooooooo vraiment baleze les gentoistes. :D
Il suffisait de faire ça
Code:
chown -R ddclient:ddclient /etc/ddclient
chmod 600 /etc/ddclient/*

Merci à tous...
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index French All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum