Wrong server time

These are old archives. They are kept for historic purposes only.
ShArDiCk
Posts: 39
Joined: Tue Jun 01, 2004 7:10 pm
Location: Italy
Contact:

Post by ShArDiCk »

respective servers machines are already synched with ntpd
Dukat
Posts: 1083
Joined: Tue Mar 16, 2004 5:44 pm
Location: Switzerland

Post by Dukat »

so what else is still running ATM? what modules?
If you don't make mistakes, you aren't really trying.
- Coleman Hawkins
ShArDiCk
Posts: 39
Joined: Tue Jun 01, 2004 7:10 pm
Location: Italy
Contact:

Post by ShArDiCk »

modules on unreal? nothing else that default modules.
Dukat
Posts: 1083
Joined: Tue Mar 16, 2004 5:44 pm
Location: Switzerland

Post by Dukat »

And services? Still running os_tssync?
What was the reason you installed it in the first place?
Why did you remove it later?
If you don't make mistakes, you aren't really trying.
- Coleman Hawkins
ShArDiCk
Posts: 39
Joined: Tue Jun 01, 2004 7:10 pm
Location: Italy
Contact:

Post by ShArDiCk »

tssync is still installed but we use it only if necessary.

we have "lost" the .c file of this module because we had changed services hosting a lot of month ago. We cannot find it cause anope site is down and we have found it into an old home directory backup.

...

Btw, now the situation is normalized. We see all channells from all servers...

i dont understand why...
TigerKatziTatzi
Posts: 36
Joined: Fri Apr 08, 2005 12:10 pm

Post by TigerKatziTatzi »

my expierences after starting with unreal recently for a network with 5k daily max. running anope services.

- 18 servers
- all servers running ntpd.
- easiest way for time update => crontab 1x a day root ntpdate -u timeserverURL
- more complicated way ntpd running with perl script for several timeservers as reference. in case one of them is down
- running every two hours /os tssync , otherwise ur gaining too high offsets
- me, from my server, dont see #great_channel with 150 users on it
- me, from my server, see #little_channel without modes (but registrered) with 1 user.
- another server admin, from his server, dont see #great_channel but see #little_channel with 11 users.
- check ur ulines, they need to be correct (case sensitive)
ShArDiCk
Posts: 39
Joined: Tue Jun 01, 2004 7:10 pm
Location: Italy
Contact:

Post by ShArDiCk »

thanx for advice.

(ulines are correctly setted)
TigerKatziTatzi
Posts: 36
Joined: Fri Apr 08, 2005 12:10 pm

Post by TigerKatziTatzi »

here some code we are using on some boxes:

Code: Select all

# this config will only allow the synch of the clock
# but offer no time services otherwise.
# ntpd has to be run as root to synch the clock.
# check if it is correctly working with:
# ntpq -p

# deny-by-default policy
restrict default ignore

# syncronize with these time servers
restrict tick.usno.navy.mil mask 255.255.255.255 nomodify nopeer noquery notrap
restrict time.twc.weather.com mask 255.255.255.255 nomodify nopeer noquery notrap
restrict bonehed.lcs.mit.edu mask 255.255.255.255 nomodify nopeer noquery notrap
restrict time.keneli.org mask 255.255.255.255 nomodify nopeer noquery notrap
restrict ntp.ourconcord.net mask 255.255.255.255 nomodify nopeer noquery notrap
restrict time-ext.missouri.edu mask 255.255.255.255 nomodify nopeer noquery notrap
restrict 192.73.48.2 nomodify mask 255.255.255.255 nopeer noquery notrap

server tick.usno.navy.mil
server time.twc.weather.com
server bonehed.lcs.mit.edu
server time.keneli.org
server ntp.ourconcord.net
server time-ext.missouri.edu
server 192.73.48.2

# local fudge if network servers not available
# server  127.127.1.0     # local clock
# fudge   127.127.1.0 stratum 10

restrict 127.0.0.1 nomodify

# track wander
driftfile /etc/ntp/drift

# logfile
logfile /var/log/ntp.log
Syzop
UnrealIRCd head coder
Posts: 2179
Joined: Sat Mar 06, 2004 8:57 pm
Location: .nl
Contact:

Post by Syzop »

Running ntpd is the way to go indeed (which you already do). Then, don't use anything else (like a services module), because that can only cause trouble.. :)

As for channels mysteriously not showing up in /list and all kinds of other weird stuff, yes.. that can happen if the time has changed (a lot) or is incorrect. For example, the creation time of channels >1d in the future would make it not show up in /list.
Post Reply