I have a CentOS 5.3 server. All of the other computers I have are Windows or Ubuntu. The Ubuntu machines sync to the time on the CentOS machine correctly. The problem is, some of the windows 2000 Pro and Windows XP Pro machines are an hour off when they sync. The CentOS machine is set to New York time.
When I run: (Assume the time is currently 10:06 AM on the server) net time \xxx.xxx.xxx.xxx /set /yes
On the correct machines I get the message:
Current time at \xxx.xxx.xxx.xxx is 11/1/2010 10:06 AM
The command completed successfully.
But on the other machines I get:
Current time at \xxx.xxx.xxx.xxx is 11/1/2010 9:06 AM
Local time (GTM-04:00) at \xxx.xxx.xxx.xxx is 11/1/2010 10:06 AM
The command completed successfully.
Then the time on the windows computer is 9:06 instead of 10:06.
Is there something that needs changed on the CentOS Machine for the times to be correct?
I am trying to sync the time on my Centos 5 box, but I do not want to sync the date. All of our servers need to have the clocks synced, but one system needs to have the date set to the previous day.
I have one server running a daily cron to sync its time using ntpd:e.g.ntpd -qgI would like to sync my second server's system time to my first server. How can I do this?
I am currently using curlftps to mount a directory on a ftp server locally as /backup , I then use rsync to do an incremental backup to this directory every night and a full backup at the weekend.A requirement has arose for a similar set up but one that syncs in real time, so if a user puts a file in a directory it immediately copies that file to my ftp server, in this case it immediately copies it to /backup
I live in Egypt and we used to have Daylight Saving Time in this time of the year. But due to some political conditions, this decision was revoked and we are not using DST this year. The problem is that my Redhat 5.6 machines, configured to the timezone Africa/Cairo has already set the DST (UTC+3). The current time in Egypt is UTC+2. Of course I can manually set the time but the servers are set to sync automatically with an NTP time server so that time gets synced automatically whenever I try to change it. I want a way or another to disable DST switching.
dmesg | grep -i time ACPI: PM-Timer IO Port: 0x408 Calibrating delay using timer specific routine.. 4658.19 BogoMIPS (lpj=2329098) Using local APIC timer interrupts.
I am hosting two Virtual Servers both running Centos 5.3 on a host machine also running the same OS. The VM software in use is Xen, as supplied with the OS.The host machine's time and date is fine, however both Virtual Servers are running ahead of real time consitantly.Running /etc/init.d/ntpd restart will resolve the issue however one of these is running MailScanner and when the time suddenly goes backwards, sometimes by as much as an hour, it stops working properly.
I am running an installation of Scientific Linux 6.0 (it is literally RHEL 6 minus the brand), and have successfully setup Citadel Groupware, and synced it with a Mozilla Thunderbird client with the Lightning calendar extension. It is very nice!
However, for the Citadel server to sync with my iPhone, I need to, and have have downloaded and successfully started the latest Groupware Sync Server from here. The Groupware Sync Server is basically an installation of Funambol, specially made to work with Citadel.
I tried to connect to the server from my iPhone with the Funambol connector app, and the Synthesis SyncML app, but none of them worked when I pointed them to: http://[hostname]:8080/funambol/ds (which is what the Groupware Sync Server documentation told me). Of course, I replaced [hostname] with my actual hostname.
I checked the logs of both sync apps, and they both say the following:
Quote:
[ERROR] processItemStatus: server sent status 506 in SYNC [ERROR] Error #506 in source addressbook
On the Citadel and Groupware Sync Server forums, I was told that error 506 meant its something on the server going on, so I got the two relevant log files, /opt/Funambol/logs/ds-server/ds-server.log, and /opt/tools/tomcat/logs/catalina.out (the links point to pastebins of the output).
What does "error 506" mean, and how do I correct it?
BTW, I disabled my entire firewall just in case that was the issue.
[URL]VMware Workstation 7.0.1 Release Notes has a list of supported OS:[URL]According to that, RHEL 5.4 is listed as supported for both host andguest but CentOS 5.4 is only for guest. This is quite strange and, ifit is true, that could be a serious issue.I succeed to install vmware workstaion 7.1 on centos 5.5, but have run-time error:
[root@ ~]# /etc/init.d/vmware start Starting VMware services: VMware USB Arbitrator [ OK ]
I've just moved a server across to CentOS 5.5 64-bit and I have been trying to get some custom software running on it. However I'm getting an unusual error during run time: sched_setaffinity: Invalid argument I've had this software working on a old versions of Gentoo (2.6.12-gentoo-r6) and Fedora. And the latest version of Ubuntu server 10.04.1. (All 64 bit). It looks remarkable similar to: Core test failed on s390x RHEL6 If v7 bug fix and enhancement update has been incorporated into CentOS 5.5 64 bit yet? Or how I might find out.
My date and time is not syncing correctly. I have 2 opensuse 11.1 servers and on both when you adjust the time in yast, I go back into yast and the setting for the NTP server is not set and "manual" is checked. I tried many times and the setting keeps reverting back. I always click on Save NTP configuration.
I'm running a dual-boot; Lucid and Win XP on a HP Pavillion.My time settings are about 8 hrs off between the two operating systems. If I correct the time in Linux, it will be wrong when I boot in Windows. If I correct it in Windows, it will be wrong again next time I boot into Linux.Besides the obvious solution of removing Windows from my machine (which I'm not ready for), what should I do to fix this?
I can't pinpoint when it started, but some time in the past several weeks, files have started going out of sync when I view them in VLC Media Player. Initially, sound and video are perfectly synchronized. After 10-20 minutes, it becomes obvious that the actors' mouths are not moving when I hear their lines.
If I stop playback, restart, and resume at the same point in the show, sync is again perfect for a while.
This is a really irritating problem. I cannot even get halfway through a half-hour TV show (really more like 22-26 minutes) without stopping & restarting.
As I stated, it's hard to point to a specific time when the problem started, but it could be connected to the upgrade to VLC 1.1.10.
Here's why I'm pretty sure this is not a problem with my files:
1) They are straight *.iso images of DVDs. No extra conversion/compression/processing so fewer opportunities for errors in the files.
2) The same files play back perfectly in Windows under all circumstances.
How did you fix it? Will we just have to wait for VLC 1.1.11, or is there a fairly easy way I can downgrade to version 1.1.9?
I have a few servers that are exposed to the internet. When someone tried to brute force hack in to the ssh, ossec adds their IP to the hosts.deny. Then the hacker (read: script kiddie) moves to the next IP up the line and hits my next server, etc, etc.
I end up getting 20 emails for all the servers that they hit.
My question, is there anyway to sync the hosts.deny file across multiple servers so that if they are locked out of one, they are locked out of all?
I have two boxes that were originally used as workstations at a school - they upgraded and sold these.The two boxes are identical parts - Lenovo NetVista M42. I installed 5.3, installed RPMforge per the wiki instructions, did a yum -y update && shutdown -h now.The next day I turned the machine on and installed the UT2004 dedicated server. After a few hours I tried logging in via SSH - I could enter my user and password, but could not get farther. I rebooted the server. After another day the same thing happened. I moved the disk from the first box to the second and moved /etc/sysconfig/network-scripts/ifcfg-eth0.bak to ifcfg-eth0 but retaining the correct MAC address.
During this transition where the server "locks up" some things work and others do not. For example, if I type ping 4.2.2.2, wait 10 minutes and CTRL+C it looks like this (note the time of 0ms).
I have a problem with compiling of mod_ruby-1.3.0 After a succesfull configure i get a error in the make, it say "make: *** [apachelib.o] error 1" . Here below you can find the results of de configuring and the make.I was following the roles in Howtoforge " The perfect server - Centos 5.3" everything goes perfect till mod_ruby-1.3.0
./configure.rb --with-apr-includes=/usr/include/apr-1 checking for a BSD compatible install... /usr/bin/install -c checking whether we are using gcc... yes
I am installing CentOS 5.5 64 bit on a HP ProLiant server. The server has a configuration of 2 TB(500x4) HDD and 8 GB RAM. RAID 5 is enabled and mirroring is also going on. I made 7 partitions. Those are:
/boot - 200MB / - 80GB Swap - 20GB /usr - 100GB
[code]...
The problem i am facing is it takes too much time to format 100GB partitions while installing packages (during installation).
2 times now our server has randomly shut down. Completely powered off as if the power cable was pulled or something. Both around the same time. 7:30ish. Once was on Friday June 5th, then last night, Wednesday June 10th.
Here is the log from last nights crash/shutdown: Quote: Jun 10 19:23:18 mail avahi-daemon[2564]: Server startup complete. Host name is mail.local. Local service cookie is 1312323680. Jun 10 19:23:18 mail avahi-daemon[2564]: Service "SFTP File Transfer on mail" (/services/sftp-ssh.service) successfully established. Jun 10 19:23:21 mail smartd[2625]: smartd version 5.38 [i686-redhat-linux-gnu] Copyright (C) 2002-8 Bruce Allen .....
I'm running a CentOS 5.2 vm on a W2K8 hyper-v core server. The problem I have is that when I reboot, the system time always resets itself to 6:00 am in the morning. I tried the /sbin/hwclock --systohc command but it hasn't taken hold.
I have this server that runs Tomcat . this server sends mail with localhost as MTAthe local MTA is sendmail (with the default settings) . from time to time i have this strange thing and the emails it sends never reach the destination. the log shows it left the server , but looking at the logi see that the time on the log is wrong . sometime its correct and ometines its +2 hours. i guess this email are bounced at the destinationfor sending at future time . all this email that didnt reach the destination have this in common
I have never had the packaged vsftpd start with the ssl_enable option set to YES. The mysql on those servers works just fine with SSL enabled. After reading there seems to be a different package available on rh5 repo. This server shows up to date with 2.0.5-12.el5_3.1. The rh5 list shows 2.0.5-16_el5 per this:[URL].. My question is, is there a set lead time till adoption of current RH packages or is just random? I have to have SSL_ftp running and didn't want to step out of the repo lists if possible.
I have written simple application in cpp which listens on port 8080. But when I start the application and check the port it is listening on (using netstat -nap), I can see that the application is listening on port which is > 30000.
This port number keeps on changing if I re-run the application.Please let us know if I have to do any kind of a seeting so that application starts listening on 8080 port.I am using CentOS 5.5 (I tried same on CentOs 5.2)
I restored a whole filesystem from a backup using rdiff-backup and made it bootable from a modified CentOS 5 CD ROM.All works well except all the files have SeLinux context ofroot:object_r:file_t:s0I tried rebooting with .autorelable and it seems to take no time and reboots immediately after starting. After, there is no change in the contexts of the files.I also tried fixfiles and restorecon with and without selinux enabled and in all cases it takes no time and returns no error code i.e. it does nothing. Nothing in the system log either.
When I installed CentOS, I forgot to modify the settings of Network Time Protocol. I need to do the following: 1. Enable Network Time Protocol. 2. Add a new ntp server to the list. How I can do this after the installation. Is there an utility to handle this? or do I need to modify any files manually?
I've recently switched back to Ubuntu and I eventually had to sync my new ipod. I've been getting this problem where every time I sync with either GTKpod or Rhythmbox my ipod music is acting weird. It shows new music that I've added but when i choose to play it skips to the next track that then skips to the next track, and so forth. Its as if my ipod is filled with songs that don't even last 0.0 seconds! But the songs completely play in Rhythmbox, so I don't think its a problem with the files themselves.
I'm using FC12 with kde and cannot update the system time using the gui. The error is :Error unable to contact time server. How do i get it to work for the rest of the family who do not want to mess aboutcli mode?This does work from the terminal:ntpdate -u ntp.exnet.com so client software is present and correct leaving me at a loss.
I installed webmin on Debian apt-get install webmin. After installation following message came. Code: Setting up webmin (1.510-2) ... Webmin install complete. You can now login to https://IP:10000/ as root with your root password, or as any user who can use sudo to run commands as root. So I infer that the installation was successful.
But when I do Code: http://IP:10000
I get following error Code: Error 111 (net::ERR_TUNNEL_CONNECTION_FAILED): Unknown error.
I am using KVM and created four guest Operating systems on it.The server host is Ubuntu 10.04.I am using 4 websites in a reverse proxy environment.One of our website is running on CentOS VM.Right now there is no traffic on the website static HTML pages.I do not have any clue as why it was taking longer time to be accessed.