Server :: How To Get Info About Current Timezone

Jan 13, 2010

I was wondering if there is a way of knowing what is the current set timezone for a linux server. I know that "date +%Z" gives the 3 letter abbreviation of the timezone, but then CST can be interpreted as Central Standard Time (US) and as China Standard Time. I'm looking for a way I could tell what is the real timezone, e.g. "Asia/Jerusalem", "Europe/London", etc. I know that I can set the timezone by symlinking /usr/share/zoneinfo/<Timezone Name> to /etc/localtime, but when I freshly install CentOS and choose my timezone, /etc/localtime isn't a symlink at all so I can't use this info...

View 3 Replies


Debian :: PHP Info Command - Fluctuating Default Timezone

Feb 24, 2010

I have an issue when running the phpinfo() command on a webpage. Occasionally the Default timezone setting shows 'utc', at others it show 'Europe/Berlin'. To prove I'm not going mad I screen captured a short video of the display changing while all I was doing was pressing F5.

The system is set to a European timezone i.e. both date and hwclock commands show 'CET'. There was an update to the Debian tzdata package which I installed at the beginning of February 2010. I'm not aware of there being a problem before that but I could be wrong about that.

View 3 Replies View Related

Ubuntu :: 10.10 Installation - Everything Stop Working When Entering Setup Info (login Password - Timezone)

Dec 21, 2010

i am having a problem with the installation with ubuntu 10.10 during the installation, i was entering my setup info (login password, timezone, etc.) when everything stopped working, it wouldnt let me continue, the forward button wouldnt work. i let it set for a good 30 minutes but it wouldnt do anything.

so unable to continue, i restarted and tried to boot from my cd drive and now it wont boot from the drive, and since i let ubuntu delete my windows partition, i cant boot from it so i basically have a blank hard drive. the cd drive will boot other cds because i booted hirens boot cd in an attempt to make sure the cd drive was functioning and ran diagnostics to make sure the drive was alright.

View 6 Replies View Related

Server :: How To Change Timezone Running RedHat

Feb 2, 2010

I want to change the time zone in my redhat server but its not working. I have made necessary changes to make it IST but not coming up. I have made it Asia/Calcutta and also Asia/Kolkata but not changes and its changes for other zones.

View 6 Replies View Related

Server :: Difference Between America/Mexico_City And Mexico/General Timezone Files?

Nov 25, 2010

I have a Centos 5.5 server and I had a problem with its time because it was 1 one hour ahead of my local time. I installed and activated NTP and I created a link for /etc/localtime:


ln -sf /usr/share/zoneinfo/America/Mexico_City /etc/localtime

I reboot the server and waited for 1 hour but the time wasnt correct. The server's BIOS clock has UTC time so I edited /etc/sysconfig/clock file replacing:


UTC=false for

I reboot the server and waited for 1 hour but the time wasnt correct. After breaking my head for about 1 hour, I realized that there is a directory /usr/share/zoneinfo/Mexico and changed my link for /etc/localtime


ln -sf /usr/share/zoneinfo/Mexico/General /etc/localtime

And It worked. What is the difference between America/Mexico_City and Mexico/General files in /usr/share/timezones, they should be identical but of course they are not?

View 1 Replies View Related

Ubuntu :: Can't Install Update-info-dir File Is Missing From /var/lib/dpkg/info/?

Aug 6, 2010

so i cannot install anything because update-info-dir file is missing from /var/lib/dpkg/info/ .. I've searched for the last day and a half for a way to fix this, but nothing. can't even update dpkg because of this. so how do I bypass or fix this so I can install stuff (this is a fresh install of ubuntu 10.04 lts Lucid Lynx).

View 9 Replies View Related

Server :: Need Info On Ovzkernel-PAE 2.6.18-53 Package For RHEL 5 2.6.18-53 Server

May 24, 2010

I have a RHEL 5 server with 32 bit architechture that is not recognizing more that 4 GB of RAM and I am trying to locate a version of the kernel-PAE package that will work well with the 2.6.18-53 kernel. I found something on Open VZ called ovzkernel-PAE that is built for the 2.6.18-53 kernel [URL]

and wanted to find out if there were any known issues with this release before I attempted to install it. Is anyone aware of any issues with any rpms on or with this particular rpm in general?

View 1 Replies View Related

CentOS 5 Server :: Need Info To Configure Squid?

Aug 5, 2009

I need information to configure squid proxy server in centos 5.3 i need that urgent.

View 1 Replies View Related

Debian Configuration :: Keeping The Dns Server Running With Current Server Information?

Jun 26, 2010

I'm running the current release of Debian with the 2.6.26-2 kernel. This is an upgrade from an older (2.4 kernel) series redhat release. One of the things I had working in the older system was a dns server with accompanying monthly update of the root hints file. I tried working through a dns how-to to set this up again, but it seems much has moved around since I last played with this. All of the files listed in the how-to are not where it says they should be. I am looking for a better reference on keeping the dns server running with current server information.

View 1 Replies View Related

Ubuntu Servers :: Can Server Alongside Current Windows Server Without Bring Everything To Screeching Halt?

Dec 8, 2010

In trying to help our office modernize its IT infrastructure, one of the key components is maintaing our server. We have around 50-60 people who need access to a local server primarily for secure general file storage. These employees are geographically dispersed. We currently use some(?) version of Windows Server which is maintained and updated by a IT company we keep on retainer. After doing some very basic research on Ubuntu Server, I would like to try and incorporate a pilot program utilizing the Ubuntu Server software.I was successful in installing Ubuntu Server on an unused PC that I put a clean hard drive in. I have been following the direction of the Official Ubuntu Server manual to assist in the server setup, and this has progressed my cause up to a point.

Can I run an Ubuntu Server alongside our current Windows server without bring everything to a screeching halt? Additionally, I am the only mac computer in an office filled with varying version of windows. I have begun to configure samba but need some direction from the community as to updating the workgroup so my mac can connect to the Ubuntu Server. What do I need to put in the workgroup part of the /etc/samba/smb.conf directory?I have no doubt there will be face palms by the community after reading this thread, but I am trying my best to teach myself the Ubuntu way.

View 2 Replies View Related

Server :: MDADM Phantom Drive And Info Discrepancies

May 28, 2010

Server with 4 disk partitions in an RAID 5 array using md. Yesterday the array failed with two devices showing as faulty. After rebooting from rescue, I was able to force the assembly and start the array and everything looks to be okay as far as the data goes, but when I run:
mdadm --examine /dev/sda3

I get (truncating to the interesting bits):
Raid Level : raid5
Raid Devices : 4
Avail Dev Size : 1448195216 (690.55 GiB 741.48 GB)
Array Size : 4344585216 (2071.66 GiB 2224.43 GB)
Used Dev Size : 1448195072 (690.55 GiB 741.48 GB)
Array Slot : 0 (0, 1, 2, failed, 3)
Array State : Uuuu 1 failed

mdadm --detail /dev/md1
Array Size : 2172292608 (2071.66 GiB 2224.43 GB)
Used Dev Size : 1448195072 (1381.11 GiB 1482.95 GB)
Raid Devices : 4
Total Devices : 4
Active Devices : 4
Working Devices : 4
Failed Devices : 0
Spare Devices : 0

Additionally, the 'slot' for devices a-d line up like this:
a - 0
b - 1
c - 2
d - 4 (!)
The first number 'Array Size' from examine is twice as big as sit should be based on the output from detail and comparing to twinned server, and why does the 'Array State' and 'Array Slot' from examine indicate there's a 5th device that's not indicated anywhere else?

View 2 Replies View Related

Server :: Mpstat Output Interpret And Process Info?

May 19, 2011

I've got a system that is maxing out CPU. Running "mpstat -P ALL 3 5" shows the following.


08:30:21 PM CPU %user %nice %sys %iowait %irq %soft %steal %idle intr/s
08:30:24 PM all 100.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1001.00
08:30:24 PM 0 100.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1001.00


All 5 groups show the same. My first question is why would CPU0 be the only one with intr/s and the others do not? Info.The OS is RHEL 5.4 running as a VM on ESXi 4.1. Memory doesn't appear to be an issue, the system has 8 GB and its only using about 1.5 GB. Second question, I'm positive the process that is the problem is the tomcat process. Does anyone know a good way to see whats happening with a specific process?

View 6 Replies View Related

Server :: Raid Array Metadata Info (mdadm)?

Feb 3, 2011

When we assemble a raid array, from where does it load configuration information for that array? I thought it refers to /etc/mdadm.conf file, but in my system, mdadm.conf file doesn't even contain all information. Still it is able to successfully assemble previously created device.

# cat /etc/mdadm.conf
DEVICE /dev/sd[bcdjkl]1
DEVICE /dev/loop[012345]


View 2 Replies View Related

Server :: Recover Login Info Or Overwrite Distro?

Feb 11, 2011

If I have to overwrite, I don't know if this will be done automatically when re-installing or If the new Ubuntu Server will be stored elsewhere on my HDD.

I only have the core install of US and was planning to build up what I want from there, starting with a GUI. There aren't any other OS's on the HDD and am using a Live CD of an UD.

View 3 Replies View Related

Ubuntu Servers :: Get Lucid Login Info Into A Hardy Server?

Jun 5, 2010

I have a new lucid server. When I login to it via ssh it shows:

Linux syn 2.6.32-22-server #36-Ubuntu SMP Thu Jun 3 20:38:33 UTC 2010 x86_64 GNU/Linux
Ubuntu 10.04 LTS


View 3 Replies View Related

General :: Any Info On Running Game Server For Source SDK Games

Nov 16, 2010

I'm new to, not just SUSE, but Linux(.) I saw the link to the newbie guide However it's asking for information, I choose not to make public, or or known.Also, Any info on running a game server for Source SDK games.

View 3 Replies View Related

Server :: Sending SNMP Traps (Info On CPU / Memory Usage)

Dec 13, 2010

We have a situation where we have to set up a server to send traps with information regarding CPU, memory usage, etc. I know snmpd can be set up to allow another process to request snmp information about the server, but can it be done the other way around (have a host send information about itself to another server through snmp)?

View 4 Replies View Related

Fedora :: Change Timezone From BST To UTC?

Sep 16, 2009

How do i change the timezone from BST to UTC ( through the terminal only )

SERVER ~ # cat /etc/sysconfig/clock

However a date shows :

Wed Sep 16 11:07:15 BST 2009

View 3 Replies View Related

General :: How To Set Timezone In Fedora 12

Aug 19, 2010

In the panel at the top of the screen it shows the time of day - perhaps at the international date line. Is there a setting somewhere that allows me to inform the system of my time zone? Tried "info timezone" - drew a blank. Don't know where to look.

View 1 Replies View Related

Server :: Ubuntu And Bind - Named Log File Is Not Logging Info After Syslogd Restarts

May 7, 2009

Ubuntu ver 8.04.1 and Bind ver 9.4.2

I've set this up as a primary dns server, Bind is the only thing running on it, no gui, etc. I followed the default settings so I have a named.conf, named.conf.options, and named.conf.local file.

I have a log file I labeled as named.log in this path /var/log/bind. I'm using logrotate to rotate out the file.

My problem is that after syslogd restarts in the morning. My named.log file don't start logging info until I restart Bind. The new named.log file gets created and the old files rotate out and compress. All of the other log files in /var/log, syslog, messages, mail, etc, rotate out and compress like they should, after syslogd restarts.

I know that I could restart Bind using Cron but I shouldn't have to.

Below are snips of the files I'm using.

I named this one 'bind' and it's in the directory /etc/logrotate.d

View 8 Replies View Related

Debian :: Setting Date Timezone

May 5, 2015

I'm trying to install Symfony to Debian 7 amd64 LAMP Server and I have some lil problems

When I run php my_project_name/app/check.php

It says:
Your system is not ready to run Symfony2 projects
Fix the following mandatory requirements

* date.timezone setting must be set
> Set the "date.timezone" setting in php.ini* (like Europe/Paris).

I already tried to edit php.ini with command :
sudo nano /etc/php5/apache2/php.ini

I deleted ; and so under [Date] section is now following sentence: date.timezone = Europe/Helsinki
after that restarted apache /etc/init.d/apache2 restart

View 1 Replies View Related

General :: Use To Set The Timezone Of The Entire System Using C?

Aug 4, 2010

Is there any function I can use to set the timezone of the entire system in linux using C? (Other than creating a symbolic link between /etc/localtime and /usr/share/zoneinfo/). Could I specify the timezone offset in seconds by any chance?

View 2 Replies View Related

Ubuntu :: How To Change The Timezone Permanently

Jan 3, 2010

So, here's my problem. Every time I'm trying to change my timezone, it last until I'm restarting my comp again, it seems like it doesn't save the changes permanently.I'm using Ubuntu v9.10 installed through Wubi. My timezone is set currently via BIOS.

View 8 Replies View Related

General :: How To Make Own Custom Timezone

Feb 17, 2010

I don't really like Los Angeles (they steal all our water) and neither Tijuana nor Vancouver make sense to me, so I am trying to make my own, custom timezone of Felton, California. How do I do this? I changed my /etc/timezone to "America/Felton" but upon reboot my calendar still says "Los Angeles". Which files do I need to change?

View 8 Replies View Related

General :: Set Timezone For Nagios In Ubuntu 9.10

Aug 5, 2010

so as the title says.

i saw this in nagios.cfg:

# This option is used to override the default timezone that this
# instance of Nagios runs in. If not specified, Nagios will use
# the system configured timezone.


View 7 Replies View Related

Slackware :: 13.37 - Need To Define Date / Timezone In PHP

May 18, 2011

I need to define date.timezone in PHP for an application and I can't seem to figure out how to get Apache (or whatever) to use changes in /etc/httpd/php.ini. For example, I need to set the value of date.timezone to America/Detroit and the latitude and longitude values. I'm assuming that simply stopping and restarting HTTPD ought to make that happen (it doesn't) or rebooting the system should (nope). I must have missed something somewhere.

View 3 Replies View Related

CentOS 5 :: Timezone Change Not Working?

Oct 6, 2010

I was needing to change the timezone on a CentOS 5.1 (but upgraded to 5.3) machine that doesn't have X installed nor did it (initially) have the system-config-date package installed. After some Googling it appeared that all I needed to do was copy over the desirec zoneinfo file to /etc/localtime and edit the /etc/sysconfig/clock file to zone that I choose. I then set the time and used that to set the hardware clockhe original timezone was "America/New_York" (EDT) and was wanting to change it to "US/Central" (CDT). After making the changes, when I do a "date" command it is still reporting the time in EDT. I then installed the system-config-date package and tried using /usr/sbin/timeconfig. I still get the result that the timezone is reported in EDT. The time is technically correct but is an hour ahead since its using EDT to report the time.

View 10 Replies View Related

Fedora Installation :: F12 Fails To Install Timezone

Feb 26, 2010

I'm newbie in Linux, but have used Windows and Mac OS X Leopard. Used RedHat in the past, and can't figure this out. I burned Fedora12-x86_64 DVD image on DVD, and start install. Whether I use "linux text" command from boot or just select Install at graphical prompt, everything goes OK until I select hostname. I leave it as "localhost.localdomain" and press Enter. It always give me an error "Can't load class=TimeZoneWindow".

My computer is connected via ethernet to my router, and I had no problems getting online in Windows. Now, in case there are hardware questions:
Intel Pentium 4 with HyperThread enabled and 64bit support (Windows 7 Ultimate 64bit runs perfectly in 64bit mode)
2Gb of DDR 400Mhz RAM
I have 2 SATA hard drives with RAID option as Mirror (BIOS settings - RAID or AHCI)
And 128Mb ATI RAdeon X300 series. Pretty simple, but this error aborts my installation.

I tried to do Anaconda updates, but I have no clue about URL where the image is, ex:
linux updates=[URL]
or I tried configuring network:
linux ip= netmask= gateway= dns=,
and no luck. Why does "Can't load class=TimeZoneWindow" appear? Is it a network issue or what? I've seen the screenshot for TimeZone screen in the Installation Guide, but I never get to it.

View 13 Replies View Related

General :: Optimization - Set The Timezone In A Non-standard Distro?

Apr 27, 2010

I'm trying to set the time in an embedded system ... There isn't a link/file /etc/localtime and /usr/ has only two subdirectories /usr/bin and /usr/sbin.Is there something I can try or do I just give up and make UTC be my timezone?

View 2 Replies View Related

Ubuntu :: Scripting Timezone Changing Process?

Mar 25, 2010

I have worked on redhat/fedora for last 5 yrs but now working on ubuntu as well. I have around 200 ubuntu VMs on which I have to change the timezone.I know I can do that using "dpkg-reconfigure tzdata",But doing it manually on 200 machines is not what I really want to do.Hence I am looking for a way to script this process.On fedora, its simple,change the "ZONE" entry in "/etc/sysconfig/clock" and copy corresponding file from /user/share/zoneinfo to /etc/localtime. Hence I can script is easily.But in ubuntu, with "dpkg-reconfigure tzdata", I don't know how to script it.

View 2 Replies View Related

Copyrights 2005-15, All rights reserved