Not sure when this started exactly. I just had comcast installed last Thursday, had AT&T before that with about a week and half with no internet in between. Other than that, I haven't changed anything. I noticed on Monday that my system time is off, and it keeps happening. I've never had an issue with this before. I'd run sudo ntpdate pool.ntp.org to update, would be fine, and then it would end up being about 8 minutes fast again the next day (CRON was firing off early and I was getting system emails early). System has been up for about a week, so its not happening when rebooting. I just setup cron to do an ntp update every hour. I let it run and here is the output.
[Code]...
One thing I guess, any thoughts on why my system time was getting off track in the first place. And two, any issue with how I setup cron and the log entries from syslog?
I am running my Ubuntu 32 bit server on top of Windows 7 64 bit with VirualBox. It's a 2 core Atom. It's been working good for about half a year. But the last about 6 weeks the system time only in Ubuntu is going slow. About -8 per 24 hours! I can only guess because I have more things running in my Windows 7 and Ubuntu.
I can set it right by coping the hareware time to system time with this command:
Code: hwclock --hctosys
I want to run a crontab to have that command run every minute. But it don't seem to run.
I am using the default CVS available in Fedora 9. I initiated the CVS server by cvs -d /usr/local/cvsproj init To check-in and check-out the following exports commands are used export CVS_RSH=ssh export CVSROOT=:ext:swathi@SERVER:/usr/local/cvsproj
I shall explain problem by taking an example. A project was checked in long before (for example the checkin date is 25 Feb 2010). And today (i.e. 21 June 2011) I checked out the project from the repository. After checkout, the date of the project in the repository is changed from 25 Feb 2010 to 21 June 2011. This date is set to all the subfolders in that project. But the files in the project retains the checking date i.e. 25 Feb 2010. Why the check-in dates are getting updated/changed to the system time after doing check-out.
what the recommended way to set up real-time (or near real-time) folder synchronization among 2+ servers. I looked a rsync but that doesn't sound real-time and it looks like its something that you might put in a cron once an hour.
I have several file servers in our offices and I am relatively new to Ubuntu / Linux. I get notices that there are updates for the server software from time to time. Is it typical to update everything when available or should I follow "If it ain't broke, don't fix it..." mentality?I would hate for everything to be working fine and then have an update throw me a curve.
When booting Fedora 11, my system hangs for a very long time on starting udev. Sometimes I get an I/O error. However, my hardware is fine. I do eventually get in to the system.
I'm just wondering what the limits for time are. I have a program that always takes exactly 20 ms, so I assume this is the lowest it can measure, but I want to see if there's some sort of documentation of this.
get the values for the user time and system time for a process.i have tried getrusage to get values of ru_utime and ru_stimebut these don't seem to be correct
I installed Ubuntu inside windows(Win 7).Both works good.I found that system time is wrong in both OS.Every time i Change it manually but it changes again on reboot!
logging in a server through putty in the same network when i executed last command its showing system ip logged in time and logged out time the output as followsthis is my system oot pts1 xx.xx.xx day month date time in time out timeand similarly am geeting other than this likeroot :0day month date time still logged in this is from more than 3 days its logged in
We have 2 applications set as S96 and S98 at rc3.d and rc5.d simultaneously. Both applications create a system V shared memory segment by calling shmget.If the system boot at runlevel 5, both applications can obtain their shared memory segment id correctly, i.e. 98305 and 131074 individually. While there is a root owned segment id 32768 takes first seat on the list. This is the id list:
Is it possible to run 2 web sites on the same server at the same time? I want to test MediaWiki on the box that currently hosts my MoinMoin web site but I don't want to disable MoinMoin.MoinMoin is public. MediaWiki would be accessed strictly from inside my home network. No public access.
I'm niomi and I'm the first account with sudo. I add an account, bob. niomi can get in reliably on active mode. (maybe relevant?: passive doesn't work) bob is jailed to his home directory, niomi is in ftp-special which gives her access to /. bob can't log in and his shell is set to bin/false. What could have gone wrong?
I'm trying to run a web server on ubuntu lucid, and I have a problem what is not directly linux related, but a problem with opening ports. I hope this question is welcome here as well. When I open port 80 everything works well. My server is accessible from outside. But strangely the day after the port is closed again. Right now I have do reset my router every day to keep that port open and well, that's not much of a solution. I wonder how it is possible. I configure everything on my router, I save the settings and it works. How come it automatically resets my configurations over time?
Recently moved into amazon's ec2 cloud and noticed our server time was in UTC where we use EST. I did some looking around, and changed using the following;
Followed up setting the correct time using the date command with the correct time, then date showed;
Now, that is correct, but if I do an ntpdate pool.time.org or any other time server, the offset is huge and the date moves back one hour. Is this a daylight settings or something I am just missing?
I've been trying to set up a FTP server for some quite some time and i keep running into problems. I'm trying to set it up via gadmin- proftpd but even with that i cant get it to run. Can anyone point me towards a good how-to or just help me out? I'm kinda new to Linux and this is my first go at servers so i really have no clue here.
Whenever I reboot my server, it looses all network connectivity. It can't see the LAN nor the internet. I have to issue the following:
Code: ifconfig eth0 down ifconfig eth1 down ifconfig eth1 up
This will get the server talking to the LAN, but still not to the internet. To get that I have to do:
Code: route add default gw 192.168.0.1
Then I'm up and running.
But why?
Granted I only have to reboot now and then (after a power failure, or, like last night where the server was actually heating the house too much on a hot August day) but why is this happening? It is like these settings are temporary and are lost on shutdown.
I am not a complete GNU/Linux newbie, each day I discover how little I know of this wonderful OS. The title of this post is actually a question for which I already have an answer, however, I can't seem to figure out why this happens. In order to enable ip_forwarding, I always enable it the same way, by issuing an: #echo "1" > /proc/sys/net/ipv4/ipv4_forwarding. I don't enable forwarding at boot time on purpose, I prefer to do it manually if the server crashes.
The thing is, I always write rules for iptables in order to enable it to NAT my packages through the router. However, last night, I forgot to load the proper iptables script, and instead, used a script I am currently tweaking. In this script, no rules are listed for both the forward chain and nat table in the POSTROUTING chain. Since forwarding was working (to my surprise, I might add) this could only mean, that the kernel default forwarding policies include masquerading. Is there a way to verify this?
I am using ubuntu os with 2Mbps link. I'll do scp to the ubuntu cloud servers to copy the .war file which is of 14MB. Before it takes only 2 mins to copy this war file under /tmp of cloud server. Now it takes more than 15 mins. While doing scp it is stalled and restarts again. the scp process may look like below app1.war 15% 2320KB 61.3KB/s - stalled -^
Dovecot is setup to run on each startup but each time I restart my system, I find that it is not running(killed), when I check my logs it says time moved backwards for x seconds. Essentially, I'm having this problem, [url] what is the solution in ubuntu so that dovecot would not be killed on startup? currently I have to put /etc/init.d/dovecot restart into rc.local to restart it again...
I have two ethernet ports on my SuperMicro server. When I start the system, only eth1 is operable. If I ifup eth0, I get a message that it is already configured, but I can't ping any of the IPs on it.
If I ifdown eth1, then ifdown eth0 and ifup eth0, then I can ping any of the IPs on eth0 in the interfaces file. Of course, now eth1 is not reachable.
I'm having a problem with a server I just got. The first thing I did when I got it was to format the drive and install ubuntu server, but on booting up I got a black screen and my monitor (samsung syncmaster914v) displayed a bouncing notification with the text "not optimum mode recommended mode: 1280 x 1024 60hz". However at one by using a combination of plugging in the monitor after booting, and pressing random keys on the keyboard I was albe to boot into the server, and was able to access the monitor meu, which told me it was running at 640x480, and 60 hertz. having access to the console I stupidly tried changing the resolution and then rebooted, getting the same black screen.
I have set the kernel selection time out to 3 seconds. However, sometimes it just hangs indefinitely on the kernel selection screen until I manually select the kernel. This is bad news since it is a VM started up from a script and _has_ to start automatically. The VM is a re-constructed cloud backup made by rsync and re-running grub.
Is there any way to force Ubuntu to NEVER, under any circumstances, not time out on kernel selection.
We have implemented a Ubuntu with Squid (2.7) & Dansguardian, Webmin and the webmin modules for these services. Server was running fine for about 6 months then suddenly there are hundreds of TIME_WAIT's when using: Code: netstat -antup
This causes the clients to get this error on their browser: Code: commBind: Cannot bind socket FD 10 to *:0 (98) Address already in use Even 1 single client working will fill 3 pages of TIME_WAIT
Clients are Mac's bound to OD & AD (magic triangle). We reverted the vm image to a snapshot back when was working fine but problem remains. We created a server from scratch and same issue. We use ldap_auth to the active directory for authentication: Server is 2008 R2