Re: [CentOS] System Time - UTC and Local Time

2011-12-01 Thread Johan Martinez
On Thu, Dec 1, 2011 at 10:30 AM, Digvijay Patankar wrote: > On Thu, Dec 1, 2011 at 9:47 PM, Johan Martinez wrote: > > > I have installed CentOS on a VM by checking 'System Clock uses UTC' > option. > > Later I selected CST time zone. Now the date command shows

Re: [CentOS] System Time - UTC and Local Time

2011-12-01 Thread Johan Martinez
command. Then I installed ntp to manage system time. And it's working as fine now. jM On Thu, Dec 1, 2011 at 10:39 AM, Johnny Hughes wrote: > On 12/01/2011 10:17 AM, Johan Martinez wrote: > > I have installed CentOS on a VM by checking 'System Clock uses UTC' > option. &

[CentOS] System Time - UTC and Local Time

2011-12-01 Thread Johan Martinez
I have installed CentOS on a VM by checking 'System Clock uses UTC' option. Later I selected CST time zone. Now the date command shows UTC time with CST timezone: "Thu Dec 1 04:14:39 CST 2011". How do I change system clock to show CST local time? Also, more likely a dumb question but why isn't d

[CentOS] KVM update

2011-09-27 Thread Johan Martinez
I am planning to update KVM packages kvm and kvm-qemu-img on a system. Do I need to shutdown running VMs before updating these packages? Does it require any services restart after the update? Any idea? thanks jM ___ CentOS mailing list CentOS@centos.org

Re: [CentOS] apache docroot permissions

2011-05-05 Thread Johan Martinez
On Wed, May 4, 2011 at 7:38 PM, Gordon Messmer wrote: > On 05/04/2011 12:49 PM, Johan Martinez wrote: > > Thanks for the suggestions Richard and Kenneth. I installed drupal here > > and it requires user running apache to have write access on filesystem. > > Otherwise it comp

Re: [CentOS] apache docroot permissions

2011-05-04 Thread Johan Martinez
On Wed, May 4, 2011 at 12:58 PM, Kenneth Porter wrote: > User apache only needs read access except under special conditions, such as > a script that needs to store configuration in a file. And a lot of apps > store their state in a DB so they don't need filesystem write access at > all. > > Set th

[CentOS] apache docroot permissions

2011-05-04 Thread Johan Martinez
I have a group of users (content editors) who need read-write access to apache document root. The apache web server is running as user:apache and group:apache. The filesystem permissions are currently set as apache:apache. How should I modify filesystem permission so that content editors can have r

Re: [CentOS] /etc/hosts not resolving hostnames

2011-04-08 Thread Johan Martinez
On Fri, Apr 8, 2011 at 2:39 PM, Dvorkin, Asya wrote: > Try flushing DNS cache: > > /etc/init.d/nscd restart > > nscd is not running. > On Apr 8, 2011, at 3:31 PM, Johan Martinez wrote: > > This is working fine on another CentOS system. This particular install > wh

Re: [CentOS] /etc/hosts not resolving hostnames

2011-04-08 Thread Johan Martinez
with some missing package. Any clues?? jM. On Fri, Apr 8, 2011 at 2:01 PM, John R Pierce wrote: > On 04/08/11 11:24 AM, Johan Martinez wrote: > > I have modified /etc/hosts file with IP address and hostname entries. > > However, host command is returning 'Host vhost1.example.com

Re: [CentOS] /etc/hosts not resolving hostnames

2011-04-08 Thread Johan Martinez
On Fri, Apr 8, 2011 at 1:27 PM, wrote: > Johan Martinez wrote: > > I have modified /etc/hosts file with IP address and hostname entries. > > However, host command is returning 'Host vhost1.example.com not found: > > 3(NXDOMAIN)'. Also, apache is returning error

[CentOS] /etc/hosts not resolving hostnames

2011-04-08 Thread Johan Martinez
I have modified /etc/hosts file with IP address and hostname entries. However, host command is returning 'Host vhost1.example.com not found: 3(NXDOMAIN)'. Also, apache is returning error on start as '[error] (EAI 2)Name or service not known: Could not resolve host name vhost1.example.com-- ignoring

[CentOS] tar-ing subdirectories separately

2011-01-23 Thread Johan Martinez
I want to backup a directory using tar, but want separate tarballs for each subdirectory. For example: # ls dir1 subdir1 subdir2 subdir3 Will it possible to do it using only tar command? Or will I need another separate piece of logic/control? I thought of writing a shell script with three tar comm

Re: [CentOS] LiveCD System recovery - Mounting LVM?

2011-01-11 Thread Johan Martinez
On Sat, Jan 8, 2011 at 7:17 PM, Johan Martinez wrote: > > > On Sat, Jan 8, 2011 at 3:50 PM, Lamar Owen wrote: > >> On Saturday, January 08, 2011 04:27:39 pm Johan Martinez wrote: >> >> > Now I am booting of CentOS live cd for system restore. I recreated >

Re: [CentOS] LiveCD System recovery - Mounting LVM?

2011-01-08 Thread Johan Martinez
On Sat, Jan 8, 2011 at 3:50 PM, Lamar Owen wrote: > On Saturday, January 08, 2011 04:27:39 pm Johan Martinez wrote: > > > Now I am booting of CentOS live cd for system restore. I recreated > > partitions like previous system using fdisk and then used dd to dump all > th

[CentOS] LiveCD System recovery - Mounting LVM?

2011-01-08 Thread Johan Martinez
Hi, I am trying to recover data from my old system which had LVM. The disk had two partitions - /dev/sda1 (boot, Linux) and /dev/sda2 (Linux LVM). I had taken a backup of both partitions using dd. Now I am booting of CentOS live cd for system restore. I recreated partitions like previous system u