Page 1 of 1

Network Time Protocol Not working after installaltion

PostPosted: Mon Jul 31, 2006 1:37 pm
by sheikhatif
Hi
I m installing vici dialer on Fedora Core4 machine. But when I install network time protocol .
ntp-stable-4.2.0a-20060224.tar
cd ntp-4.2.0
- ./configure
- make
- make install
it works done, but when I type next command which is:-
-vi /etc/ntp.conf
it opens a blank file that means it doent create directroy in /etc/ntp.conf.
Tell me where is prob I done all well. But dont no...........da problem kindly help me to resolve this issue,

regards.

atif

PostPosted: Mon Jul 31, 2006 2:04 pm
by mflorell
As the SCRATCH_INSTALL states:
change to just 1 line: "server 18.145.0.30"

That means that the entire file should be that one line:
server 18.145.0.30

save(Esc :wq)
then exit and you are done.

Then you can run this command to make sure it's working:
/usr/local/bin/ntpdate -u 18.145.0.30

PostPosted: Mon Jul 31, 2006 2:26 pm
by sheikhatif
thnkx for ur positive reply....

Kindly tell me is vici dialer support FreeBSD...

regards ATif

PostPosted: Mon Jul 31, 2006 2:33 pm
by sheikhatif
HI
asking questions again when I compile the mysql-4.0.27 it gives me error about linux theads how can I install them?????????? error is:-

checking "LinuxThreads"... "Not found"
configure: error: This is a linux system and Linuxthreads was not
found. On linux Linuxthreads should be used. Please install Linuxthreads
(or a new glibc) and try again. See the Installation chapter in the
Reference Manual for more information.

tell how can I handle this error message to resolve this issue

regards

atif

PostPosted: Mon Jul 31, 2006 3:02 pm
by mflorell
I have never tried FreeBSD, but since everything should be able to be compiled on FreeBSD it should run.

As for your problem, did you install everything when you initially installed Fedora Core 4?

Is there a reason you are not using Slackware 10.2?

PostPosted: Mon Jul 31, 2006 4:13 pm
by marvin
i guess it would be nice if it would be one problem - one thread so that users can easily search on.

PostPosted: Tue Aug 01, 2006 7:54 am
by sheikhatif
the reason is that I dont familiar with slackware so kindly tell me how can I compile or install mysql on my machine ........

regards

atif

PostPosted: Tue Aug 01, 2006 10:09 am
by mflorell
Have you read the SCRATCH_INSTALL document?

There are instructions for installing MySQL from source in there.

PostPosted: Tue Aug 01, 2006 10:50 am
by sheikhatif
when I install mysql on fedora 2 its install ok..but when I install it on fedora 4 it give errors about linux threads........


regards
atif

PostPosted: Tue Aug 01, 2006 10:58 am
by mflorell
You can just use the fedora core 4 RPM install for MySQL and it should work fine.

PostPosted: Mon Dec 10, 2007 7:18 pm
by convertec
I am doing a fresh install by scratch_install, with slackware 12, all packages, default kernel, subphase 3.1:

./configure --prefix=/usr/local/mysql --enable-large-files --enable-shared=yes --with-readline

and I get this:

Code: Select all
checking "LinuxThreads"... "Not found"
configure: error: This is a linux system and Linuxthreads was not
found. On linux Linuxthreads should be used.  Please install Linuxthreads
(or a new glibc) and try again.  See the Installation chapter in the
Reference Manual for more information.


additional info:
Linux vici 2.6.21.5-smp #2 SMP Tue Jun 19 14:58:11 CDT 2007 i686 Intel(R) Pentium(R) 4 CPU 2.40GHz GenuineIntel GNU/Linux

help?

EDIT
just saw it below on scratch_install

** INSTALLATION NOTE **
If you are having Linuxthreads problems upon onfigure, just execute the following command:
echo '/* Linuxthreads */' >> /usr/include/pthread.h

PostPosted: Mon Dec 10, 2007 8:52 pm
by mflorell
Another reason I may eventually drop MySQL 4.0.X compatibility at some time in the future.

to sheikhatif

PostPosted: Mon Dec 10, 2007 10:47 pm
by eliasferreyra
sheikhatif
look in thentp case if you are using centos
i recommend you to use

yum -y install ntp

vi /etc/ntp.conf (change to just 1 line: "server 18.145.0.30")
cp /etc/ntp.conf /etc/ntpd.conf # just to be sure
ntpdate -u 18.145.0.30 # initial sync
/usr/sbin/ntpd

and on the mysql case you can use yum -y install mysql*

to sheikhatif

PostPosted: Mon Dec 10, 2007 10:48 pm
by eliasferreyra
sheikhatif
look in thentp case if you are using centos
i recommend you to use

yum -y install ntp

vi /etc/ntp.conf (change to just 1 line: "server 18.145.0.30")
cp /etc/ntp.conf /etc/ntpd.conf # just to be sure
ntpdate -u 18.145.0.30 # initial sync
/usr/sbin/ntpd

and on the mysql case you can use yum -y install mysql*