Page 1 of 1

TIME SYNCH error on starting

Posted: Sat Sep 17, 2011 2:30 pm
by Tican
Hi,

Trying to setup UnrealIRCd, and when starting I am getting the following error:



[Thu Sep 15 22:07:17 2011] - TIME SYNCH: timeserver=1316117237, our=1316117237, offset = 0 [old offset: 0]

[Thu Sep 15 22:17:12 2011] - TIME SYNCH: timeserver=1316117833, our=1316117832, offset = 1 [old offset: 0]

After checking docs, I added the timesynch

Code: Select all

set {
        timesynch enabled yes;
        timesynch server SERVER ADDRESS;
        kline-address "SERVER ADDRESS";
        modes-on-connect "+ixw";
        modes-on-oper    "+xwgs";
        oper-auto-join "#opers";
        options {
                hide-ulines;
                /* You can enable ident checking here if you want */
                /* identd-check; */
                show-connect-info;

        };
And it is still happening.

I also tried timesynch enabled no; along with synching to other servers

:(

Re: TIME SYNCH error on starting

Posted: Sat Sep 17, 2011 3:58 pm
by Stealth
This is not an error.

Unreal checks with a time server every time it is started to ensure your IRCd has the proper time. These messages are simply letting you know the result of the time checks and any adjustments made to your offset.

Re: TIME SYNCH error on starting

Posted: Sat Sep 17, 2011 4:14 pm
by Tican
Stealth wrote:This is not an error.

Unreal checks with a time server every time it is started to ensure your IRCd has the proper time. These messages are simply letting you know the result of the time checks and any adjustments made to your offset.
Hi Stealth,

But when this error happens, it won't load IRC?

Code: Select all

[error] 1 errors encountered
[error] IRCd configuration failed to pass testing
Possible error encountered (IRCd seemingly not started)
In the log files:

Code: Select all


[Thu Sep 15 22:02:33 2011] - TIME SYNCH: timeserver=1316116953, our=1316116953,$

[Thu Sep 15 22:07:17 2011] - TIME SYNCH: timeserver=1316117237, our=1316117237,$

[Thu Sep 15 22:17:12 2011] - TIME SYNCH: timeserver=1316117833, our=1316117832,$







Re: TIME SYNCH error on starting

Posted: Sat Sep 17, 2011 5:04 pm
by Stealth
There is something else wrong in your configuration, and is usually output at the time you load the configuration.

It seems your configuration is based on the example.conf file, which is not really intended to be used as a configuration file. It is likely there's some random text somewhere in that file causing Unreal to fail and not tell you why. I recommend you start with a fresh and empty file and only add the configuration you need. Do not copy and paste from the example.conf, but type it out yourself.

You'll find that we say in many places that creating a configuration for your IRCd is a very complex and time-consuming process. Care should be taken to do your configuration right so it is proper and manageable in the future.