Hi Guys,
I have set up chrony with local clock, but when I issue chronyc tracking the leap status shows its not synchronised
[root@redhat_1 ~]# chronyc tracking
Reference ID : 127.127.1.1 ()
Stratum : 10
Ref time (UTC) : Sat Jan 10 00:29:47 2015
System time : 0.000000000 seconds fast of NTP time
Last offset : 0.000000000 seconds
RMS offset : 0.000000000 seconds
Frequency : 0.000 ppm fast
Residual freq : 0.000 ppm
Skew : 0.000 ppm
Root delay : 0.000000 seconds
Root dispersion : 0.000001 seconds
Update interval : 0.0 seconds
Leap status : Not synchronised
I edited the chrony.conf file and added " server localhost iburst" and uncommented the "local stratum 10 " to enable sync with local time source.
Let me know how to sync this with my local server time.
With regards,
Gopinath.
On my partner's duel boot computer (Windows 7 & Linux Mint 17.1) after an update and grub upgrade the time the choices menu stays on screen is only a few seconds.
How do I extend that time from a few seconds to about 15 seconds that will give her enough time to choose her OS of choice?
Thanks,
gael
I am novice at linux...I installed VMware work station and then install centos 6.4. Now I followed this tutorial to configure DHCP Server on my OS http://tecadmin.net/configuring-dhcp...centos-redhat/
but when start dhcp I see this : Starting dhcpd:[FAILED]
This is my /etc/dhcp/dhcpd.conf
option domain-name "center.local";
option domain-name-servers master.center.local;
default-lease-time 600;
max-lease-time 7200;
authoritative;
log-facility local7;
subnet 192.168.1.0 netmask 255.255.255.0 {
option routers 192.168.1.1;
option subnet-mask 255.255.255.0;
option domain-search "center.local";
option domain-name-servers 192.168.1.100;
option time-offset -18000; # Eastern Standard Time
range 192.168.1.100 192.168.1.120;
}
host station1 {
option host-name "centos-1.center.local";
hardware ethernet 00:11:1A:2B:3C:AB;
fixed-address 192.168.1.101;
}
so what is wrong?Any suggestion?
Thanks for your help and sorry for my bad English grammar
I have two clients : exa02db01 & exa02db02
While querying for NTP server from exa02db01, we see that it is syncing to LOCAL time on the node. However, on exa02db02 it points to the NTP server on the network.
Code:
[root@exa02db01 ~]# ntpq -pn
remote refid st t when poll reach delay offset jitter
==============================================================================
*127.127.1.0 .LOCL. 10 l 7 64 377 0.000 0.000 0.001
192.168.1.82 .INIT. 16 u - 16 0 0.000 0.000 0.000
-------------------------
Node-2:
---------------------
[root@exa02db02 ~]# ntpq -pn
remote refid st t when poll reach delay offset jitter
==============================================================================
127.127.1.0 .LOCL. 10 l 42 64 377 0.000 0.000 0.001
*192.168.1.82 66.228.59.187 3 u 6 16 377 3.145 5.747 3.683
Both the clients have exact same configuration but why its is failing on db01.
[root@exa02db01 ~]# service ntpd stop
Shutting down ntpd: [ OK ]
[root@exa02db01 ~]# ntpdate -b -v 192.168.1.82
17 Mar 10:12:01 ntpdate[84316]: ntpdate 4.2.2p1@1.1570-o Mon Dec 9 14:55:56 UTC 2013 (1)
17 Mar 10:12:05 ntpdate[84316]: no server suitable for synchronization found
[root@exa02db01 ~]# service ntpd start
ntpd: Synchronizing with time server: .....................[FAILED]
Starting ntpd: [ OK ]
Dear all
i installed nagios on centos. everythins is ok. i can view and login nagios web site. but when i click on every links i recieved error:
-------------------------------------------------
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, root@localhost and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.
Apache/2.2.3 (CentOS) Server at 192.168.100.17 Port 80
-------------------------------------------------------
all links say this error.
please some body help me.
/etc/httpd/conf.d/nagios.conf :
---------------------------------------------------
AllowOverride None
Order allow,deny
Allow from all
# Order deny,allow
# Deny from all
# Allow from 127.0.0.1
AuthName "Nagios Access"
AuthType Basic
AuthUserFile /usr/local/nagios/etc/htpasswd.users
Require valid-user
</Directory>
Alias /nagios "/usr/local/nagios/share"
<Directory "/usr/local/nagios/share">
# SSLRequireSSL
Options None
AllowOverride None
Order allow,deny
Allow from all
# Order deny,allow
# Deny from all
# Allow from 127.0.0.1
AuthName "Nagios Access"
AuthType Basic
AuthUserFile /usr/local/nagios/etc/htpasswd.users
Require valid-user
</Directory>
---------------------------------------------------------
Starting the vncserver by executing vncserver :1 works as expected but what actually starts? I issued these commands but nothing I see identifies with the vncserver. I believe the server is tigervnc.
service --status-all
systemctl -a
systemctl list-unit-files
chkconfig -A
Also, how can this command: "vncserver :1", be issued at startup or turn the service on at startup?
I have tried this but the command does not execute.
-rwxr-xr-x 1 root root 379 Apr 23 17:33 /etc/init.d/after.local
cat /etc/init.d/after.local
#! /bin/sh
#
# Copyright (c) 2010 SuSE LINUX Products GmbH, Germany. All rights reserved.
#
# Author: Werner Fink, 2010
#
# /etc/init.d/after.local
#
# script with local commands to be executed from init after all scripts
# of a runlevel have been executed.
#
# Here you should add things, that should happen directly after
# runlevel has been reached.
#
./usr/bin/vncserver :1
Solved:
Made the following updates to /et/c/init/d/after.local
HOME=/root
export HOME
/usr/bin/vncserver -fg :1
Hi,
I installed ghostscript via yum package manager. Later I wanted a newer version of ghostscript and compiled it from source. "make install" placed the gs executable file under /usr/local/bin/gs. This works if I run the command with absolute path, but if try to run gs, the shell will output
"-bash: /usr/bin/gs: No such file or directory"
if I echo the path variable it will display
/usr/local/bin:/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/sbin
If i run whereis it will give me the correct path
gs: /usr/local/bin/gs
How do I make it work so that typing "gs" will run the executable file from the /usr/local/bin/gs?
(I am using Centos 6)
Thanks.
hello
i installed sumo-0.9.8 and ns-2.35 in fedora 15. i want to use TraNS.
i know that TraNS no need to install. but it needs to be configured for using ns-2.
when i use the command patch -p0 < traci.patch
the error is appeared
Quote:
[root@Fedora-15 ns-allinone-2.35]# patch -p0 < traci.patch
can't find file to patch at input line 3
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|*** Makefile.in.2.29 2005-10-20 06:45:22.000000000 +0200
|--- Makefile.in 2007-09-11 13:46:57.000000000 +0200
--------------------------
File to patch: traci.patch
patching file traci.patch
Hunk #1 FAILED at 85.
Hunk #2 succeeded at 90 with fuzz 2 (offset -1 lines).
Hunk #3 succeeded at 152 with fuzz 2 (offset -2 lines).
Hunk #4 succeeded at 318 with fuzz 2 (offset -3 lines).
Hunk #5 FAILED at 345.
2 out of 5 hunks FAILED -- saving rejects to file traci.patch.rej
can't find file to patch at input line 74
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|*** common/mobilenode.h.2.31 2007-09-20 13:13:18.000000000 +0200
|--- common/mobilenode.h 2007-09-20 13:13:59.000000000 +0200
--------------------------
and when i use the command patch traci.patch
it needs too time to patch .(the traci.patch is 3kB).
what's the matter?
thanks
I've got my new system up and running. It's a nice fresh change after running Linux Mint for the past 4 years. Now comes the time of setting things up the way I like them.
As part of my setup, I have a all of my DVD's backed up onto my computer so that I can use a media server in the house. I run XBMC at my TV's with a central samba server (my computer) holding the movies.
In LM, all I had to do was right-click the directory "sharing" and select SMB share and type in the name. Everything else was done for me. This doesn't seem that simple.
Here's what I've done:
1. Menu > Administration > Samba
2. Entered in all the directories to share, under the BASIC tab I've selected visibile, writeable. Under the ACCESS tab I've selected a user (see below).
3. I've created a system user called xbmc with the password of xbmc.
4. I've created a samba user called xbmc with the password of xbmc.
Still not working. So, I went into the shell where I manually started the smb service:
# systemctl start smb.service
So, I went back to Menu > Administration > Samba > Preferences:
Set workgroup to WORKGROUP (but it automatically changes it to lower case after I exit).
Drop to terminal and restart service with systemctl.
I go over to my XMBC installation and try to connect to the source and it finds the SMB share. I click on it and after about 30 seconds a window pops up asking for login credentials. I enter xbmc/xbmc and after about 30 seconds it just cycles through. XMBC doesn't offer any messages, so I went downstairs to my Windows machine and tried to connect to a network drive. I enter in \\IP\share-name and after a few seconds it asks for login credentials. I enter xbmc/xbmc but then it fails with "bad username or password".
I'm not sure what I need to do to get this working.
Here is my /etc/samba/smb.conf file:
http://pastebin.com/m9ExpPJF
System Korora 21 (just installed/updated)
kernel: 3.18.9-200.fc21.x86_64
I'm trying to send all root's mails to an external e-mailaddress, but for some reason I can't get it to work.
I've edited /etc/aliases with the following rule:
root: <myexternal@email.address>
and run newaliasses after, which would run without any errors.
I can run: echo "Testing" | mail -s "Server Testing" <myexternal@email.address>
just fine without any issue and it's being delivered correctly to my external address.
But when I run: echo "Testing" | mail -s "Server Testing" root
I (first) get a "Deferred: 451 Temporary local problem - please try again later" error and when I then run: "Sendmail -OTimeout.hoststatus=0m -q -v" to flush the mailqueue it says everything is ok, but I then get a message saying I have new mail in /var/spool/mail/root and I don't get the mail on my external e-mailaddress.
I have no clue where to look next, hopefully you guys can point me in the right direction.
Just for completeness: I use mageia release 4 (x86_x64).
hi
Mplayer is my main video player and I always use the command line with mplayer to play the videos.
From the terminal it shows the stats about the video as it is playing. At the bottom it shows the elapsed time in seconds. Is there a way to see elapsed frames instead of seconds?
If mplayer can't do it, I'm open to other players if they do it. Thanks