General :: Ubuntu Timestamp Too Far In Future
Apr 23, 2010Cannot sudo and gets this message: timestamp too far in the future. I don't have gui interface.
View 1 RepliesCannot sudo and gets this message: timestamp too far in the future. I don't have gui interface.
View 1 RepliesI am trying to install Suse linux 10.3 image on to an HP blade via HP CMU. The node gets imaged successfully, but the certain files/directories have a future date timestamped to it. While the server date is correct.
host:/> date
Thu Jun 23 20:49:29 EST 2011
host:/> ls -ltr |grep Jul
drwxr-xr-x 23 root root 4096 Jul 4 2011 root
drwxr-xr-x 10 root root 4096 Jul 4 2011 opt
drwxr-xr-x 2 root root 4096 Jul 4 2011 bin
I'm using Linux Mint 8 64bit with Google Chrome Unstable (same problem with beta).When a video is playing, the time elapsed and total time stay on the screen:Is there a way to make this disappear
View 1 Replies View RelatedHow do I compare the timestamp of two files? I tried this but it doesn't work:
file1time=`stat -c %Y fil1.txt`
file2time=`stat -c %Y file2.txt`
[code]....
I printed both the time stamps, in order and it gives me
1273143480
1254144394
./script.sh: line 13: [1273143480: command not found
So basically if comparision is not working, I guess. Or if there is any other nice way than what I am doing, please let me know.
Edit: There was no space in between if, so changing it to this works:
if [ $file1time -gt $file2time ]
I want to egrep or a grep in the squid log file .. from this time 1287483952.440 to '1287483452.440, how can I do it.
View 3 Replies View RelatedI noticed that file /etc/shadow changed it's timestamp.Why it is changed? Is it "normal"?
View 4 Replies View RelatedI am looking for a way to print the timestamp of a directory using find command. I can do that for a file, but for a directory, it is printing the contents of the directory as well. Lets say there is a directory called doc, and there are more than one occurrences of that directory.
find . -name "doc" -type d -exec ls -l {} ;
This is printing the contents of all the files under doc directory as well.
I am using makefile to complile all C Programming files. But certain files are not getting compiled and hence its object file is not getting generated. This is happening due to files haven't been modified for a long time. It seems that compiler knows that its object file is there hence no need to complie it actually it is not.
View 14 Replies View RelatedI am just trying to print the timestamp. which is not working.
#!/bin/bash
TSTAMP= date '+%d.%m.%y-%H:%M:%S'
echo "${TSTAMP}"
It is not displaying anything. What is wrong with the above commands.
All I see from googling examples in awk is converting current date. How do I convert a list of past or future dates for example :
Jan18'09
Aug 7'98
Jun20'11
Apr 1'10
I will be using it to compare dates in a file and act on it accordingly.
Since open office is now bought by oracle I am confused about the state of the latest version of OO version 3.2 I think. Would it be legal to install that version on a computer. Oracle perhaps made a bummer with this. The real dev community is thrown out and we are again looking at corporate greed taking precedence for their own profit rather than development of technology. I have high hopes from libre office but then one more open source product (it was not sun's to begin with remember) being swallowed by a corporate.
View 4 Replies View RelatedIt states there could be changes in role of system adminstrators. If this is going to happen, Being a system admin what are the skill sets do I have to develop ?
View 1 Replies View RelatedI want to run Ubuntu Server Edition just at home, however to avoid having to reinstall it in the future when i upgrade hardware, I was thinking of virtualizing it first. Are there any minimalistic virtualisation solutions available at the moment for this sort of purpose? Or even better a linux distro just for this?
View 3 Replies View RelatedI would like to set both user and group permissions permanently to be 'rwx' (read-write-execute). I would like these rwx settings for all the future files and folders.
I tried umask 002, chmod etc, but they don't set it for future files.
Quote: select * from s_transaction Where between UNIX_TIMESTAMP('2010-06-28 15:40:00') and UNIX_TIMESTAMP('2010-06-28 16:00:00') and user_id = '15545941';
Is this the syntax correct to retrieve a particular user transaction between given time period? because "its return error check the syntax near the between"
I recently hired a new tech guy to start managing our servers. In doing this I went ahead and upgraded all the servers. It has been awhile now since I sent him the details of the new server and the last time I talked to him he was joking around with one of the other clients not realizing how long it took.
I know on other server moves, my old guy could have everything setup and running in a couple days as a good amount of time is waiting for the data to copy over. I am starting to wonder if this guy is going to try and throw a huge bill at me, so I would like to know what hes doing on the server with time stamps just so I can get a idea of how much time he has been logged into the server. Does this server OS have anything like this built in?
I was wondering if anyone knows how to change the timestamps of folders recursively based on the latest timestamp found of the files in that folder.
So for example:
Code:
jon@UbuntuPanther:/media/media/MP3s/Foo Fighters/(1997-05-20) The Colour and The Shape$ ls -alF
total 55220
drwxr-xr-x 2 jon jon 4096 2010-08-30 12:34 ./
[Code]....
Setup: 10.04 server with "bash" as /bin/sh
When I run "ls -l" in a shell I get the following format:
Code:
-rw-r----- 1 syslog adm 0 2010-06-13 06:53 /var/log/user.log
Whereas if "ls -l" executes from a cron job the format is:
Code:
-rw-r----- 1 syslog adm 0 Jun 13 06:53 /var/log/user.log
Notice the different time format. Now I could fix this by changing the cron job to
Code:
ls -l --time-style=+%Y-%m-%d %H:%M ...
but I'm interested in knowing why this behavior occurs. What's different between the cron job and the shell?
Is there a way to log specific type of network connection with timestamp? I mean, if someone sends a mail through mail server, is there a way the server logs that connection with timestamp?
Example:
2010-03-17 14:10:12 <server>:25 <client1>:<port1>
2010-03-17 14:10:26 <server>:25 <client2>:<port2>
2010-03-17 14:13:09 <server>:25 <client3>:<port3>
2010-03-17 14:15:43 <server>:25 <client4>:<port4>
...
...
...
I have a directory containing files and symlinks to files elswhere. I make a copy of the directory like this:
cp -rp dir/* new_dir
The files in new_dir have their original timestamps, but the symlinks have the current time. touch -t does not operate on the symblink but on the files they reference. Is there a way to set the timestamp of the symlink to a time in the past?
I want to access the timestamp field of the packet being sent or received. I am not getting clear idea as to which ioctl I should use, and how it should be used in the program. Anyone explain rough flow of the program for accessing the timestamp.
View 5 Replies View RelatedI have a computer with 4 RS232 com-ports (MSI MS-9A19).
To each com-port, I have instruments attached that transmit data like this:
982000001088420<CR><LF>
982000001088421<CR><LF>
[code]....
I have a few questions related to the 'Save Session for Future Login' option you can check (and is checked by default) when you go to shutdown/restart/etc.
1) What exactly does checking this option and shutdown/restarting do?
2) Is there any way to have it unchecked by default?
3) Is there any way to completely remove the option?
I am considering buying a netbook and installing the netbook remix from a bootable USB. During the installation, does the installer give me the option to create a dual boot scenario and keep the windows 7 as a partition? If it does not, what is the best way to clone the windows 7 install and can I put it on a usb to boot and install from in the future?
View 4 Replies View RelatedI've implemented a python script in conky that shows my stock portfolio.But, in the output of last updated timestamp, I get a time several hours in the past. The url for fetching stock data is: [URL]This is a norwegian stock, and I also live in norway. So the timestamp is not translated to the stock market of where it came. I can't find any 'localizing' stuff in the url either.Now my question is this: The script puts the time into a variable, the varable now contains ex 11:23 Is there any way I can add 6 hours or so to this variable
View 3 Replies View RelatedI got a directory with files in it like: 2006-07-01.foo2007-08-04.foo I need to update the timestamps on these files using "touch -t 200607010000 2006-07-01.foo" on each file in the directory so I came up with the following one liner:
for i in `ls -1`; do touch -t `ls -1 | sed -n 's%([0-9]{4})-([0-9]{2})-([0-9]{2})(.*)%1230000%p'` $i; done
My goal was to use sed and get the timestamp for touch and then loop through each file and touch with the timestamp.However the script, not giving me the results I intended. Can anyone chime in on what I am doing wrong?I have been banging away at this for a couple of hours now and am clueless on what it could be. I also tried another variant such as:
for z in $(ls -1 *.foo); do echo $z $(for i in `ls -1 *.foo | sed 's%([0-9]{4})-([0-9]{2})-([0-9]{2})(.*)%1230000%p'`; do echo "$i"; done); done
Anybody worried about KDE future. KDE use the Qt toolkit and Nokia the owner of Qt is going all Windows on there phones. Does anybody know what may happen. Just wondering.
View 7 Replies View RelatedAfter the Nokia-Microsoft deal, the future of Qt doesn't look very bright. Many developers think that Nokia has no interest in Qt for the desktop. [URL] And since KDE is based on Qt, and KDE is the (sort of) default desktop environment for Slackware.
View 14 Replies View RelatedI am looking to do just as the title says. If I no longer want to keep ubuntu say a year from now. Will i be able to uninstall or possibly delete the partion with ubuntu on it without wiping out windows? I ask because I am not sure of how much space I would like to partition, this way I could always come back delete it and then reinstall it to the size I wish
View 3 Replies View RelatedAny chances the UbuntuOne website will have thumbnails in the future?
View 2 Replies View Related