clockspeed do not run continuosly (just finish after start/it's not started/intended for background)

View: New views
3 Messages — Rating Filter:   Alert me  

clockspeed do not run continuosly (just finish after start/it's not started/intended for background)

by Bugzilla from jiri@navratil.cz :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello,

I have a problem with clockspeed  binary from clockspeed-0.62 package
(sntpclock is working just fine).

I adjusted conf-cc with to
cc -O2 -include /usr/include/errno.h

I adjusted clockview.c:
#include <sys/time.h>
to
#include <time.h>

I'm using

Ubuntu Edgy

gcc --version
gcc (GCC) 4.1.2 20060928 (prerelease) (Ubuntu 4.1.1-13ubuntu5)

uname -a
Linux gimli 2.6.17-10-generic #2 SMP Tue Dec 5 22:28:26 UTC 2006 i686
GNU/Linux

My problem is, that clocspeed is exiting without any message immediatelly
after start (during testing I run clockspeed NOT for background)

On other machines is working fine. It's not my first installation.

Could somebody help me, what I shall try?

Thank you in advance,
Jiri



Re: clockspeed do not run continuosly (just finish after start/it's not started/intended for background)

by Paul Jarc :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

jiri@... wrote:
> My problem is, that clocspeed is exiting without any message immediatelly
> after start (during testing I run clockspeed NOT for background)

Random guess: you ran "sntpclock > /usr/local/clockspeed/adjust"
before ever running clockspeed, so "adjust" was created as a regular
file.  In that case, delete the file and start clockspeed first, to
ensure "adjust" gets created as a named pipe.

If that's not the problem, run "strace clockspeed" to see what fails.


paul

Re: clockspeed do not run continuosly (just finish after start/it's not started/intended for background)

by Bugzilla from jiri@navratil.cz :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Paul,

Thank you very much for the fast response and finding out the reason for my
troubles.

 rm /usr/local/clockspeed/adjust

solved it and clockspeed is working fine now.

Once again Thank you!

Jiri Navratil

Dne pátek 19 leden 2007 07:53 Paul Jarc napsal(a):

> jiri@... wrote:
> > My problem is, that clocspeed is exiting without any message immediatelly
> > after start (during testing I run clockspeed NOT for background)
>
> Random guess: you ran "sntpclock > /usr/local/clockspeed/adjust"
> before ever running clockspeed, so "adjust" was created as a regular
> file.  In that case, delete the file and start clockspeed first, to
> ensure "adjust" gets created as a named pipe.
>
> If that's not the problem, run "strace clockspeed" to see what fails.
>
>
> paul