Announcement

Collapse
No announcement yet.

help installing Chrony on Kubuntu 7.10 Gusty UPDATE

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    help installing Chrony on Kubuntu 7.10 Gusty UPDATE

    ** This all started a couple of days when, for some reason, I thought that my computer's clock was not accurate enough. So, after surfing a while, decided to install Chrony. I went into Adept Manager, typed chrony and then installed. However, when I went to go look for some files (like the /etc/chrony.config file and the .keys file) they were not there. So then I went and found a web page where someone had put up the step by step instructions for installing chrony (this was not for Kubuntu 7.10 or even Kubuntu for that matter - I think suse or something but really have no idea). Needless to say this did not work either. Kept running into errors when I tried to run the command make. The input and output is as follows:

    ** tar -zxvf chrony_1.21z.orig.tar.gz
    chrony-1.21/
    chrony-1.21/COPYING
    chrony-1.21/INSTALL
    chrony-1.21/Makefile.in
    chrony-1.21/NEWS
    chrony-1.21/README
    chrony-1.21/acquire.c
    chrony-1.21/acquire.h
    chrony-1.21/addressing.h
    chrony-1.21/addrfilt.c
    chrony-1.21/addrfilt.h
    chrony-1.21/broadcast.c
    chrony-1.21/broadcast.h
    chrony-1.21/candm.h
    chrony-1.21/chrony.1
    chrony-1.21/chrony.conf.5
    chrony-1.21/chrony.lsm
    chrony-1.21/chrony.texi
    chrony-1.21/chrony_timex.h
    chrony-1.21/chronyc.1
    chrony-1.21/chronyd.8
    chrony-1.21/client.c
    chrony-1.21/clientlog.c
    chrony-1.21/clientlog.h
    chrony-1.21/cmdmon.c
    chrony-1.21/cmdmon.h
    chrony-1.21/cmdparse.c
    chrony-1.21/cmdparse.h
    chrony-1.21/conf.c
    chrony-1.21/conf.h
    chrony-1.21/configure
    chrony-1.21/contrib/
    chrony-1.21/contrib/.arch-ids/
    chrony-1.21/contrib/.arch-ids/=id
    chrony-1.21/contrib/.arch-ids/andrew_bishop_1.id
    chrony-1.21/contrib/.arch-ids/andrew_bishop_2.id
    chrony-1.21/contrib/.arch-ids/erik_bryer_1.id
    chrony-1.21/contrib/.arch-ids/ken_gillett_1.id
    chrony-1.21/contrib/.arch-ids/stephan_boettcher_1.id
    chrony-1.21/contrib/.arch-ids/wolfgang_weisselberg1.id
    chrony-1.21/contrib/DNSchrony/
    chrony-1.21/contrib/DNSchrony/.arch-ids/
    chrony-1.21/contrib/DNSchrony/.arch-ids/=id
    chrony-1.21/contrib/DNSchrony/.arch-ids/COPYING.id
    chrony-1.21/contrib/DNSchrony/.arch-ids/DNSchrony.pl.id
    chrony-1.21/contrib/DNSchrony/.arch-ids/DNSchronyADD.id
    chrony-1.21/contrib/DNSchrony/.arch-ids/DNSchronyDELETE.id
    chrony-1.21/contrib/DNSchrony/.arch-ids/DNSchronyUPDATE.id
    chrony-1.21/contrib/DNSchrony/.arch-ids/README.id
    chrony-1.21/contrib/DNSchrony/.arch-ids/ip-up.local.id
    chrony-1.21/contrib/DNSchrony/COPYING
    chrony-1.21/contrib/DNSchrony/DNSchrony.pl
    chrony-1.21/contrib/DNSchrony/DNSchronyADD
    chrony-1.21/contrib/DNSchrony/DNSchronyDELETE
    chrony-1.21/contrib/DNSchrony/DNSchronyUPDATE
    chrony-1.21/contrib/DNSchrony/README
    chrony-1.21/contrib/DNSchrony/ip-up.local
    chrony-1.21/contrib/andrew_bishop_1
    chrony-1.21/contrib/andrew_bishop_2
    chrony-1.21/contrib/erik_bryer_1
    chrony-1.21/contrib/ken_gillett_1
    chrony-1.21/contrib/stephan_boettcher_1
    chrony-1.21/contrib/wolfgang_weisselberg1
    chrony-1.21/examples/
    chrony-1.21/examples/.arch-ids/
    chrony-1.21/examples/.arch-ids/=id
    chrony-1.21/examples/.arch-ids/chrony.conf.example.id
    chrony-1.21/examples/.arch-ids/chrony.keys.example.id
    chrony-1.21/examples/chrony.conf.example
    chrony-1.21/examples/chrony.keys.example
    chrony-1.21/faq.txt
    chrony-1.21/faqgen.pl
    chrony-1.21/getdate.c
    chrony-1.21/getdate.h
    chrony-1.21/io_linux.h
    chrony-1.21/keys.c
    chrony-1.21/keys.h
    chrony-1.21/local.c
    chrony-1.21/local.h
    chrony-1.21/localp.h
    chrony-1.21/logging.c
    chrony-1.21/logging.h
    chrony-1.21/main.c
    chrony-1.21/main.h
    chrony-1.21/manual.c
    chrony-1.21/manual.h
    chrony-1.21/md5.c
    chrony-1.21/md5.h
    chrony-1.21/memory.h
    chrony-1.21/mkdirpp.c
    chrony-1.21/mkdirpp.h
    chrony-1.21/mkversion
    chrony-1.21/nameserv.c
    chrony-1.21/nameserv.h
    chrony-1.21/ntp.h
    chrony-1.21/ntp_core.c
    chrony-1.21/ntp_core.h
    chrony-1.21/ntp_io.c
    chrony-1.21/ntp_io.h
    chrony-1.21/ntp_sources.c
    chrony-1.21/ntp_sources.h
    chrony-1.21/pktlength.c
    chrony-1.21/pktlength.h
    chrony-1.21/reference.c
    chrony-1.21/reference.h
    chrony-1.21/regress.c
    chrony-1.21/regress.h
    chrony-1.21/reports.h
    chrony-1.21/rtc.c
    chrony-1.21/rtc.h
    chrony-1.21/rtc_linux.c
    chrony-1.21/rtc_linux.h
    chrony-1.21/sched.c
    chrony-1.21/sched.h
    chrony-1.21/sources.c
    chrony-1.21/sources.h
    chrony-1.21/sourcestats.c
    chrony-1.21/sourcestats.h
    chrony-1.21/srcparams.h
    chrony-1.21/strerror.c
    chrony-1.21/sys.c
    chrony-1.21/sys.h
    chrony-1.21/sys_linux.c
    chrony-1.21/sys_linux.h
    chrony-1.21/sys_netbsd.c
    chrony-1.21/sys_netbsd.h
    chrony-1.21/sys_solaris.c
    chrony-1.21/sys_solaris.h
    chrony-1.21/sys_sunos.c
    chrony-1.21/sys_sunos.h
    chrony-1.21/sysincl.h
    chrony-1.21/util.c
    chrony-1.21/util.h
    chrony-1.21/version.txt
    chrony-1.21/wrap_adjtimex.c
    chrony-1.21/wrap_adjtimex.h
    chrony-1.21/chrony.spec
    chrony-1.21/chrony.txt

    ** cd chrony-1.21/

    ** ./configure
    Configuring for Linux-i686
    Checking if sqrt() needs -lm : Yes
    Checking for <stdint.h> : Yes
    Checking for <inttypes.h> : Yes

    ** make
    gcc -O2 -g -o chronyd util.o sched.o regress.o local.o sys.o main.o ntp_io.o ntp_core.o ntp_sources.o sources.o sourcestats.o reference.o logging.o conf.o cmdmon.o md5.o keys.o nameserv.o acquire.o manual.o addrfilt.o cmdparse.o mkdirpp.o rtc.o pktlength.o clientlog.o broadcast.o sys_linux.o wrap_adjtimex.o rtc_linux.o -lm
    ntp_core.o: In function `NCR_CheckAccessRestriction':
    /home/klw1026/packages/chrony-1.21/ntp_core.c:1824: undefined reference to `ADF_IsAllowed'
    ntp_core.o: In function `NCR_AddAccessRestriction':
    /home/klw1026/packages/chrony-1.21/ntp_core.c:1800: undefined reference to `ADF_Allow'
    /home/klw1026/packages/chrony-1.21/ntp_core.c:1804: undefined reference to `ADF_DenyAll'
    /home/klw1026/packages/chrony-1.21/ntp_core.c:1806: undefined reference to `ADF_Deny'
    /home/klw1026/packages/chrony-1.21/ntp_core.c:1798: undefined reference to `ADF_AllowAll'
    ntp_core.o: In function `NCR_ProcessNoauthUnknown':
    /home/klw1026/packages/chrony-1.21/ntp_core.c:1480: undefined reference to `ADF_IsAllowed'
    ntp_core.o: In function `NCR_ProcessAuthUnknown':
    /home/klw1026/packages/chrony-1.21/ntp_core.c:1550: undefined reference to `ADF_IsAllowed'
    ntp_core.o: In function `process_known':
    /home/klw1026/packages/chrony-1.21/ntp_core.c:1313: undefined reference to `ADF_IsAllowed'
    ntp_core.o: In function `NCR_Finalise':
    /home/klw1026/packages/chrony-1.21/ntp_core.c:250: undefined reference to `ADF_DestroyTable'
    ntp_core.o: In function `NCR_Initialise':
    /home/klw1026/packages/chrony-1.21/ntp_core.c:235: undefined reference to `ADF_CreateTable'
    cmdmon.o: In function `CAM_CheckAccessRestriction':
    /home/klw1026/packages/chrony-1.21/cmdmon.c:2114: undefined reference to `ADF_IsAllowed'
    cmdmon.o: In function `CAM_AddAccessRestriction':
    /home/klw1026/packages/chrony-1.21/cmdmon.c:2090: undefined reference to `ADF_Allow'
    /home/klw1026/packages/chrony-1.21/cmdmon.c:2094: undefined reference to `ADF_DenyAll'
    /home/klw1026/packages/chrony-1.21/cmdmon.c:2096: undefined reference to `ADF_Deny'
    /home/klw1026/packages/chrony-1.21/cmdmon.c:2088: undefined reference to `ADF_AllowAll'
    cmdmon.o: In function `CAM_Finalise':
    /home/klw1026/packages/chrony-1.21/cmdmon.c:237: undefined reference to `ADF_DestroyTable'
    cmdmon.o: In function `CAM_Initialise':
    /home/klw1026/packages/chrony-1.21/cmdmon.c:224: undefined reference to `ADF_CreateTable'
    cmdmon.o: In function `read_from_cmd_socket':
    /home/klw1026/packages/chrony-1.21/cmdmon.c:1645: undefined reference to `ADF_IsAllowed'
    collect2: ld returned 1 exit status
    make: *** [chronyd] Error 1

    ** Now, when I type chronyc it starts running but when I give it a command (password for instance) it just gives me back a blank line where I can type anything and when I hit enter it gives another blank line. For example

    ** chronyc
    chrony version 1.21, copyright (C) 1997-2002 Richard P. Curnow
    chrony comes with ABSOLUTELY NO WARRANTY.
    This is free software, and you are welcome to redistribute it
    under certain conditions.
    See the GNU General Public License version 2 for details.

    ** password
    Password:
    asdf
    d
    d
    hello
    hel[
    help
    exit
    close
    quit


    a
    a
    a
    a

    ** This goes on for as long as I want until I the x at the top right to close. I have posted several helps on this at other forums and I figured that since I am running Kubuntu I should post it here. Any help would greatly be appreciated. Thanks

    ** UPDATE: Well maybe. So I tried another time to install chrony on my machine that is running Kubuntu 7.10 (Gusty). I went and downloaded the source from the chrony homepage. Then expanded it and cd into the directory where I typed ./configure then the dreaded make command. This time I think I got the same problems but instead of typing just install I type sudo make install and got

    [ -d /usr/local ] || mkdir -p /usr/local
    [ -d /usr/local/sbin ] || mkdir -p /usr/local/sbin
    [ -d /usr/local/bin ] || mkdir -p /usr/local/bin
    [ -d /usr/local/doc ] || mkdir -p /usr/local/doc
    [ -d /usr/local/man/man1 ] || mkdir -p /usr/local/man/man1
    [ -d /usr/local/man/man5 ] || mkdir -p /usr/local/man/man5
    [ -d /usr/local/man/man8 ] || mkdir -p /usr/local/man/man8
    [ -d /usr/local/doc/chrony ] || mkdir -p /usr/local/doc/chrony
    if [ -f /usr/local/sbin/chronyd ]; then rm -f /usr/local/sbin/chronyd ; fi
    if [ -f /usr/local/bin/chronyc ]; then rm -f /usr/local/bin/chronyc ; fi
    cp chronyd /usr/local/sbin/chronyd
    chmod 555 /usr/local/sbin/chronyd
    cp chronyc /usr/local/bin/chronyc
    chmod 555 /usr/local/bin/chronyc
    cp chrony.txt /usr/local/doc/chrony/chrony.txt
    chmod 444 /usr/local/doc/chrony/chrony.txt
    cp COPYING /usr/local/doc/chrony/COPYING
    chmod 444 /usr/local/doc/chrony/COPYING
    cp README /usr/local/doc/chrony/README
    chmod 444 /usr/local/doc/chrony/README
    cp chrony.1 /usr/local/man/man1
    chmod 444 /usr/local/man/man1/chrony.1
    cp chronyc.1 /usr/local/man/man1
    chmod 444 /usr/local/man/man1/chronyc.1
    cp chronyd.8 /usr/local/man/man8
    chmod 444 /usr/local/man/man8/chronyd.8
    cp chrony.conf.5 /usr/local/man/man5
    chmod 444 /usr/local/man/man5/chrony.conf.5

    ** Then I went and typed chronyc and password and I kept getting the command line that does not echo anything back and just lets you type whatever you want without saying anything, been here before. Then for some reason before I typed chronyc again in a new shell I typed chronyd then chronyc. Now it seems to be working however I can't get the password to work. I have the /etc/chrony/chrony.conf file with the proper commands and the /etc/chrony/chrony.keys file. But when I try password this is what happens

    > chronyc
    chrony version 1.23, copyright (C) 1997-2002 Richard P. Curnow
    chrony comes with ABSOLUTELY NO WARRANTY.
    This is free software, and you are welcome to redistribute it
    under certain conditions.
    See the GNU General Public License version 2 for details.

    chronyc> password
    Password:
    501 Not authorised --- Reply not authenticated
    chronyc> password
    Password:
    501 Not authorised --- Reply not authenticated
    chronyc> password
    Password:
    501 Not authorised --- Reply not authenticated
    chronyc>

    [COLOR="Blue"]** Any suggestions would be greatly appreciated.[/CO
Working...
X