The tag has no usage guidance.

learn more… | top users | synonyms

0
votes
2answers
34 views

logrotate issue with date appending

I have an Apache server (2.2) running in RHEL 6.3, with the following logrotate configuration: # Rule for Apache logs /var/opt/apache/logs/*log { compress missingok notifempty daily ...
0
votes
2answers
224 views

search and print specific date in a log file

I'm working with a log file and I want to print from a specific day till the end of it . that specific date is ($sd=27/Dec/2002) for example. now I want to search for this day and print from it till ...
4
votes
1answer
100 views

date command displays different time

I have one centos 5.8 Linux server. I am experiencing a bit strange issue and figured out it is something with system time. When I check date command, outputs are really strange. Here is example: [...
0
votes
1answer
38 views

Creating a RFC 1123 compliant date for HTTP header creation on the CLI

I'm trying to create a HTTP 1/1 compliant date header using standard unix date(1) in order to post this to a RESTful server using curl or similar. Any ideas what format to pass to date(1) to get this ...
0
votes
1answer
49 views

Ubuntu server time jumping away

I wanted to write "drifting away" in the header but this is not what's happening. I have an Ubuntu 12.04 LTS server running some web apps. On 25.10.2014 I updated tzdata to the latest version and ...
0
votes
1answer
94 views

Binding timestamp value to a variable in crontab

I'm basically trying to declare a variable with a date() value in crontab as I will constantly be using the same date structure over and over, here is what my crontab looks like so far. php = '/...
0
votes
1answer
666 views

Date / time out of sync by days

I have several 2003 servers in my domain that randomly change their date/time by several days, sometimes. They are all getting their time from an AD server acting as the primary DC. I have looked in ...
1
vote
0answers
53 views

/proc/stat btime value change after boot

In a Linux server with the kernel 3.16, not virtualized, but with the ntp daemon active, the variable "btime" wich gives the time at which the system booted, change a few seconds before booting. For ...
1
vote
0answers
287 views

How to start tomcat with faketime within a docker container?

I use docker to deploy a Java web application in tomcat. For testing purposes, I want to force the system date to a specific value. With Docker it is not possible to change the container date without ...
1
vote
0answers
538 views

Update clock on virtualbox virtual machine with cent os from host

I have a virtual machine, with cent os installed, and everytime I sleep the host computer, the clock of the VM goes out of sync. I would like it to pick up the current time from virtualbox - which I ...
0
votes
0answers
29 views

Linux Time Zone + why UTC TZ is set when we remove the localtime file

I have Linux RedHat version 5.1 I just want to know how the OS know to return to the default time Zone What is/are the file/s that defined the OS to use the default Time Zone - UTC for example We ...
0
votes
0answers
22 views

Linux screen(or java) with different date of system

I having a problem with screen on Centos 7. The system time is correct but on screen application theres a diference of 3 hours. The system output(correct): [root@Server ~]# date Ter Fev 23 01:27:11 ...
0
votes
0answers
550 views

Graylog2 date extractor from tab-delimited file

I have a tab-delimited logs with such messages: 2014-06-01 00:00:56 192.168.1.1 968 http://yandex.ru I can extract date and time with regexp (\d{4}-\d{2}-\d{2}\s*\d{2}:\d{2}:\d{2}) but when I ...