Koozali.org: home of the SME Server
Obsolete Releases => SME Server 7.x => Topic started by: chrislaurie on May 13, 2008, 10:19:40 PM
-
Hi All
I have a new 7.3 installation. I have entered the correct user settings in admin configure this server - but the ip is not changed on dyndns.com (commercial service).
If I do signal-event ip-change manually the system sits there for a while before returning to the command prompt, but still does not update the dyndns server. WHen I look in the log file I see this:
May 13 21:52:38 acronsme2 esmith::event[4198]: Connection timed out at /sbin/e-smith/dynamic-dns/dyndns line 56.
May 13 21:52:38 acronsme2 esmith::event[4198]: S85update-dns=action|Event|ip-change|Action|S85update-dns|Start|1210708167 744955|End|1210708358 641300|Elapsed|190.896345|Status|28160
May 13 21:52:38 acronsme2 esmith::event[4198]: Running event handler: /etc/e-smith/events/actions/adjust-services
May 13 21:52:38 acronsme2 esmith::event[4198]: adjusting supervised pptpd (sigterm)
May 13 21:52:38 acronsme2 esmith::event[4198]: adjusting supervised pptpd (up)
May 13 21:52:38 acronsme2 pptpd[5104]: MGR: Maximum of 100 connections reduced to 1, not enough IP addresses given
May 13 21:52:38 acronsme2 pptpd[5104]: MGR: Manager process started
May 13 21:52:38 acronsme2 pptpd[5104]: MGR: Maximum of 1 connections available
May 13 21:52:38 acronsme2 esmith::event[4198]: adjusting supervised ntpd (restart)
May 13 21:52:38 acronsme2 esmith::event[4198]: adjusting supervised ntpd (up)
May 13 21:52:38 acronsme2 esmith::event[4198]: adjusting supervised tinydns (sigusr2)
May 13 21:52:38 acronsme2 esmith::event[4198]: adjusting supervised tinydns (up)
May 13 21:52:38 acronsme2 esmith::event[4198]: adjusting supervised qmail (sighup)
May 13 21:52:38 acronsme2 esmith::event[4198]: adjusting supervised qmail (up)
May 13 21:52:38 acronsme2 esmith::event[4198]: adjusting non-supervised masq (adjust)
May 13 21:52:39 acronsme2 ntpd: logging to file /dev/stdout
May 13 21:52:39 acronsme2 esmith::event[4198]: adjust-services=action|Event|ip-change|Action|adjust-services|Start|1210708358 641731|End|1210708359 707645|Elapsed|1.065914
I tried ddclient from firewall-services but it seriously screwed up the user panel - lots of stuff lost on the left and a whole bunch of them under a heading Uknown. So I uninstalled it.
Unplugged the router, got a new ip adress but no sir dyndns still not updated.
Not sure what I can do diagnostically and remedially - any suggestions please?
Cheers
Chris
-
chrislaurie
Have you updated your new sme7.3 installation using yum or the server manager panel ? You should.
I have entered the correct user settings in admin configure this server
Well this functionality does work OK, so you must have a wrong setting somewhere.
The main domain on your sme server should be the dynamic domain you want to update. Is that what you did ?
The details for dynamic configuration that you add to configure this server screen, are the dyndns user account name and password, is that what you entered ?
I tried ddclient from firewall-services but it seriously screwed up the user panel
Again that contrib works OK, and is suitable to use where you have multiple domains on your dynamic connection.
The issues with the server manager panel are cosmetic, see
http://forums.contribs.org/index.php?topic=40789.0
and for a workaround suitable for the not yet updated ddclient contrib (which works as I just did it myself) see
http://wiki.contribs.org/Translations#Outdated_contribs
-
Thanx for the response.
Are you saying the user name must be the same as the domain name? in other words I must have a user mydomain.com?
In my case the user name is different to the domain name. The domain being updated is the same however (acron.biz).
I'll retry the ddclient.
-
chrislaurie
Are you saying the user name must be the same as the domain name? in other words I must have a user mydomain.com? The domain being updated is the same however (acron.biz).
No.
Your primary domain on sme server would be acron.biz
In the dynamic setup screen (on sme) enter your dyndns user account name & password where the domain acron.biz is a host.
eg when you opened an account at dyndns you were asked to setup a user account and create a password eg
johnbrown
mypassword
-
Unplugged the router, got a new ip adress but no sir dyndns still not updated...
If your server is behind a natted router then the built-in client won't work anyway. You must have your server connected directly to the internet so that your external NIC has your external IP assigned to it. If you are behind a natted router, your server's external IP never changes and that's why you never see an IP update event in the logs.
If you are behind a natted router and you (successfully) run signal-event ip-change, it will send the wrong IP address to dyndns.
IOW to make the built-in client work, you will need to bridge the router so that the external interface on your server gets the external IP assigned to it.
All this assumes you are running in S/G mode. Don't bridge your router in S/O mode.
-
pfloor & chrislaurie
Oh I missed that. It sounds like chris is probably in server only mode, so in that case your only choice is to use the ddclient contrib, and remove any settings that are in the dynamic setup in Configure this server.
-
Thanx again all for the reponses.
I definitely have something else wrong becuase nothing seems to be working.
I am running server-gateway. When I say router I meant in ADSL modem mode - the SME box handles the PPPOE logon when the reboot happens.
I have now removed the SME dyndns settings and entered everything on the ddclient setting. It does not update the dyndns. WHere can I monitor what happens?
This is from my message log:
May 14 17:47:49 acronsme2 pppd[3769]: rcvd [IPCP ConfAck id=0x2 <addr 41.241.57.9>]
May 14 17:47:49 acronsme2 pppd[3769]: local IP address 41.241.57.9
May 14 17:47:49 acronsme2 pppd[3769]: remote IP address 41.241.0.1
May 14 17:47:49 acronsme2 pppd[3769]: Script /etc/ppp/ip-up started (pid 4018)
May 14 17:47:50 acronsme2 pop3s: Starting pop3s succeeded
...
May 14 17:47:51 acronsme2 esmith::event[4040]: expanding /var/qmail/control/smtproutes
May 14 17:47:51 acronsme2 esmith::event[4040]: expanding /var/qmail/control/virtualdomains
May 14 17:47:51 acronsme2 ddclient: ddclient startup succeeded
May 14 17:47:51 acronsme2 esmith::event[4040]: expanding /var/qmail/control/plusdomain
May 14 17:47:51 acronsme2 esmith::event[4040]: expanding /var/qmail/control/defaultdomain
May 14 17:47:51 acronsme2 esmith::event[4040]: expanding /var/qmail/control/defaulthost
May 14 17:47:51 acronsme2 esmith::event[4040]: expanding /var/qmail/control/me
May 14 17:47:52 acronsme2 esmith::event[4040]: expanding /var/qmail/control/bouncehost
May 14 17:47:52 acronsme2 dhcpd: Starting dhcpd succeeded
...
May 14 17:47:53 acronsme2 dhcpd: Sending on Socket/fallback/fallback-net
May 14 17:47:53 acronsme2 esmith::event[4040]: expanding /etc/proftpd.conf
May 14 17:47:53 acronsme2 freshclam: Starting freshclam succeeded
May 14 17:47:53 acronsme2 esmith::event[4040]: expanding /etc/ppp/ip-down.local
May 14 17:47:54 acronsme2 esmith::event[4040]: expanding /etc/ppp/ip-up.local
May 14 17:47:54 acronsme2 esmith::event[4040]: expanding /etc/ppp/options.pptpd
May 14 17:47:54 acronsme2 ldap: Starting ldap succeeded
May 14 17:47:54 acronsme2 esmith::event[4040]: generic_template_expand=action|Event|ip-change|Action|generic_template_expand|Start|1210780071 67756|End|1210780074 571295|Elapsed|3.503539
May 14 17:47:54 acronsme2 esmith::event[4040]: Running event handler: /etc/e-smith/events/ip-change/S85update-dns
May 14 17:47:54 acronsme2 esmith::event[4040]: S85update-dns=action|Event|ip-change|Action|S85update-dns|Start|1210780074 571797|End|1210780074 729684|Elapsed|0.157887
May 14 17:47:54 acronsme2 esmith::event[4040]: Running event handler: /etc/e-smith/events/actions/adjust-services
...
May 14 17:47:58 acronsme2 httpd-admin: Starting httpd-admin succeeded
May 14 17:47:58 acronsme2 esmith::event[4040]: adjust-services=action|Event|ip-change|Action|adjust-services|Start|1210780074 730698|End|1210780078 857465|Elapsed|4.126767
May 14 17:47:58 acronsme2 httpd-e-smith: Starting httpd-e-smith succeeded
May 14 17:47:59 acronsme2 esmith::event[4497]: Processing event: ip-up ppp0 38400 41.241.57.9 41.241.0.1 pppoe
May 14 17:47:59 acronsme2 esmith::event[4497]: Running event handler: /etc/e-smith/events/ip-up/S20email-ipup
May 14 17:47:59 acronsme2 kernel: i2c /dev entries driver
May 14 17:48:00 acronsme2 su(pam_unix)[4533]: session opened for user qmailr by (uid=0)
May 14 17:48:01 acronsme2 pptpd: Starting pptpd succeeded
Any suggestions please
-
ddclient now works. It was set to the external ip on eth1. I changed that to web based, bypass the routers and it worked. I suspected something was wrong because ddclient.conf had this line in it:
if=eth1
But when I run ifconfig I get this (no inet adr for eth1 ?????):
eth1 Link encap:Ethernet HWaddr 00:0E:2E:5F:5C:42
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:3172 errors:0 dropped:0 overruns:0 frame:0
TX packets:3183 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:1361711 (1.2 MiB) TX bytes:539866 (527.2 KiB)
Interrupt:209 Base address:0xe400
...
ppp0 Link encap:Point-to-Point Protocol
inet addr:41.241.55.20 P-t-P:41.241.0.1 Mask:255.255.255.255
and the ddclient sourceforge page says that if normally runs on ppp0 but that is not an option in the current ddclient.
But working off the web based ddclient fixed it.