Re: [CentOS] ERROR MESSAGE: dracut warning: no root device "block:/dev/mapper/vg_ws194-lv_root" found

2013-03-10 Thread Frank Cox
On Sun, 10 Mar 2013 23:57:30 -0600
Frank Cox wrote:

> dracut warning: no root device "block:/dev/mapper/vg_ws194-lv_root" found
> 
> After that I get the kernel panic message and that's the end of the line.

Following the instructions here:

https://ask.fedoraproject.org/question/10041/how-to-repair-unbootable-fedora-install/

I did this:

mv /boot/initramfs-2.6.32-358.0.1.el6.i386.img 
/boot/initramfs-2.6.32-358.0.1.el6.i386-nouveau.img
dracut /boot/initramfs-2.6.32-358.0.1.el6.i386.img 2.6.32-358.0.1.el6.i386

Interestingly enough, the new initramfs that I got from this command is slightly
smaller than the one that I already had in /boot.

Sadly, this made no difference.   When I booted the machine, I still got the
same dracut warning and kernel panic.

-- 
MELVILLE THEATRE ~ Real D 3D Digital Cinema ~ www.melvilletheatre.com
www.creekfm.com - FIFTY THOUSAND WATTS of POW WOW POWER!
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] ERROR MESSAGE: dracut warning: no root device "block:/dev/mapper/vg_ws194-lv_root" found

2013-03-10 Thread Frank Cox
On Sun, 10 Mar 2013 23:36:55 -0400
Yves Bellefeuille wrote:

> Also check that /etc/fstab is correct.

 I've finally figured out how to get an error message, but I have no idea of
how to fix it.

By removing "rhgb" and "quiet" from the grub commandline, I see a whole bunch
of write-up going by, then there is a several-second pause, and then this:

dracut warning: no root device "block:/dev/mapper/vg_ws194-lv_root" found

After that I get the kernel panic message and that's the end of the line.

By booting the machine from the rescue cd, I can
find /mnt/sysimage/dev/mapper/vg_ws194-lv_root, which is a symbolic link
to ../dm-0

/mnt/sysimage/dev/dm-0 exists.

lvscan tells me this:
ACTIVE '/dev/vg_ws194/lv_root' [50.00 GiB] inherit

lvdisplay shows a bunch of stats about  /dev/vg_ws194/lv_root that look normal
to me.

In summary, it looks very much like vg_ws194-lv_root is indeed present and
accounted for, but dracut didn't find it for some reason.



-- 
MELVILLE THEATRE ~ Real D 3D Digital Cinema ~ www.melvilletheatre.com
www.creekfm.com - FIFTY THOUSAND WATTS of POW WOW POWER!
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] /etc/sysconfig/network-scripts/ifcfg-xxx for CHAP PPPoE

2013-03-10 Thread Robert Moskowitz

On 03/11/2013 01:05 AM, Mihamina Rakotomandimby wrote:
> Hi all
>
> I get a Cisco 1841 router, connecting the office through a CHAP PPPoE link:
> [...]
> interface Dialer1
>ip address negotiated
>ip mtu 1492
>ip nat outside
>ip virtual-reassembly
>encapsulation ppp
>ip tcp adjust-mss 1452
>dialer pool 1
>dialer-group 1
>no cdp enable
>ppp authentication chap callin
>ppp chap hostname username@isp
>ppp chap password 0 s0meStr0ngP4sswd
> [...]
>
>
> As a fallback solution, I would like to setup a CentOS Dual NIC 1U unit.
> I dont want to use NetworkManager, I'd rather use the bare interface
> configuration tools.
> I'm running CentOS 6.3
>
>
> I looked for the right way to configure the internface:
> - http://goo.gl/UaNBe: officiel doc, found no indication.
> - http://goo.gl/DQ5Gk: using rp-pppoe, is it the right way?
> - http://goo.gl/PTaes: seem to be right, but which package is it from?

I am sure someone has something more current, I think my old box was 
running C5.3 or even earlier. I saved the control files off it and my 
ifcfg-ppp0 was:

USERCTL=no
BOOTPROTO=dialup
NAME=DSLppp0
DEVICE=ppp0
TYPE=xDSL
ONBOOT=yes
PIDFILE=/var/run/pppoe-adsl.pid
FIREWALL=NONE
PING=.
PPPOE_TIMEOUT=80
LCP_FAILURE=3
LCP_INTERVAL=20
CLAMPMSS=1412
CONNECT_POLL=6
CONNECT_TIMEOUT=60
DEFROUTE=yes
SYNCHRONOUS=no
ETH=eth0
PROVIDER=DSLppp0
USER='m...@isp.net'
PEERDNS=no
DEMAND=no
PERSIST=no
IPV6INIT=yes
PPPD_EXTRA="ipv6 ,"

There was also a ppp directory that had files: options, pap-secrets, and 
chap-secrets

But like I said, old box.




___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] /etc/sysconfig/network-scripts/ifcfg-xxx for CHAP PPPoE

2013-03-10 Thread Mihamina Rakotomandimby
Hi all

I get a Cisco 1841 router, connecting the office through a CHAP PPPoE link:
[...]
interface Dialer1
  ip address negotiated
  ip mtu 1492
  ip nat outside
  ip virtual-reassembly
  encapsulation ppp
  ip tcp adjust-mss 1452
  dialer pool 1
  dialer-group 1
  no cdp enable
  ppp authentication chap callin
  ppp chap hostname username@isp
  ppp chap password 0 s0meStr0ngP4sswd
[...]


As a fallback solution, I would like to setup a CentOS Dual NIC 1U unit.
I dont want to use NetworkManager, I'd rather use the bare interface 
configuration tools.
I'm running CentOS 6.3


I looked for the right way to configure the internface:
- http://goo.gl/UaNBe: officiel doc, found no indication.
- http://goo.gl/DQ5Gk: using rp-pppoe, is it the right way?
- http://goo.gl/PTaes: seem to be right, but which package is it from?




-- 
RMA.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Postfix setup

2013-03-10 Thread Robert Moskowitz

On 03/10/2013 11:12 PM, Keith Keller wrote:
> On 2013-03-11, Austin Einter  wrote:
>> Which one is preferred postfix or sendmail.
> I suspect this is mostly personal preference.  I prefer postfix because
> the configuration files are easier to read and write.
>
>> It says I need to disable firewall. Is it really required. Kindly let me
>> know.
> No, it is not required.  But you do need to accept TCP traffic on port
> 25 to your SMTP host.  Because you need to do this, you should make sure
> your SMTP server can not be used as an open relay, or you will find
> yourself on many blacklists.  Here's a reasonable tester I found:

Here is a list of ports I have open on my mail server:

HTTP  80 & 443
SMTP  25  & 587
IMAP  143 & 993
POP3 110 & 995
manageseive 4190


___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Apache setup problems

2013-03-10 Thread Craig White
On Sun, 2013-03-10 at 20:19 -0400, Bruce Whealton wrote:
> I didn't think I needed to make the files executable.  Anyway, the simple
> index.php has a title, an H1 tag and a couple php statements, one of which
> is phpinfo();
> My page, that I get has just the title and the content inside the h1 tag.
> When I view the source, there is nothing that was inside a php block.
> Meaning, it didn't run the php code and output html.  
> I was looking at the apache error log and not finding anything useful.

details will likely provide a solution.

What is output of these 2 commands...

cat index.php

rpm -qa | grep php

Craig


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] lost connection during yum update

2013-03-10 Thread Frank Cox
On Sun, 10 Mar 2013 23:27:25 -0400
Gerry Reno wrote:

> Do you know if this grub file was rewritten?
> 
> Can you check it against a backup copy?

I don't have a backup copy of the grub.conf file since it's always been
automatically managed and updated by grub and friends and I've never really had
to pay much attention to it.

I did compare it between the non-working and the working machines and didn't
see anything that struck me as a significant difference.

The most maddening part of this is that all of the files and the filesystems
appear to be present -- I can boot off of a rescue CD and mount the whole works
under /mnt/sysimage and browse to my hearts content.  I just can't boot the
damn thing.

How is a name like /dev/mapper/vg_ws195-lv_root rd_NO_LUKS determined?  If I
knew how to read or find out what the actual name of the root directory was on
the problem machines, I could compare it to what's in the grub.conf file.


-- 
MELVILLE THEATRE ~ Real D 3D Digital Cinema ~ www.melvilletheatre.com
www.creekfm.com - FIFTY THOUSAND WATTS of POW WOW POWER!
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Postfix setup

2013-03-10 Thread Robert Moskowitz

On 03/10/2013 10:54 PM, Austin Einter wrote:
> Dear All
> I am planning to setup mail server for my domain.
>
> Which one is preferred postfix or sendmail.

I switched to postfix 3 years ago, and never looked back.

> I came across a link *
> http://ostechnix.wordpress.com/2013/02/08/setup-mail-server-using-postfixdovecotsquirrelmail-in-centosrhelscientific-linux-6-3-step-by-step/
> * for postfix mail setup.

Here are two very good links:

http://campworld.net/thewiki/pmwiki.php/LinuxServersCentOS/Cent6VirtMailServer
http://wiki.centos.org/HowTos/Amavisd

I have used both as guideposts, and found problems with both, as people 
here and on related lists will attest to be the questions resulting by 
following other's instructions lead to strangeness.  I really suggest 
that you step slowly into this.  There is a lot to do to get all the 
pieces together.  A lot you need to understand with each package.  And 
then things not even covered, but you are expected to know when setting 
up a server.  Like php.conf, you need to set your timezone.  None of the 
tutorials for things like roundcube tell you this; you are expected to 
know about using php.


> It says,
> Prerequisites:
>
> - The mail server should contain a valid MX record in the DNS server.
> Navigate to this link how to setup DNS
> server
> .
> - Firewall and SELinux should be disabled.

You should never disable the server firewall. It is easy to figure out 
what ports are necessary and open only those.  As far as selunix, this 
is hard.  I have been given a set of scripts to work out what to enable 
for selinux, and this is still a work in progress for me.

> I have disabled iptables as my m/c is behind the firewall.

So what?  Read the press about "Advance Persistant Threats".  Only open 
what is necessary.

> It says I need to disable firewall. Is it really required. Kindly let me
> know.

Figure out the ports you need.  This is not hard.  It is easy compared 
to the rest you will have to learn.

I have the wounds, even with my kevlar suit.  :)

BTW, I am putting together my own blog on what I am doing.  I have to 
work out a few pieces to get my mysql passwords out of the scripts I 
use, but I have learned a lot over the past few months, and really 
should share.  some.


___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] lost connection during yum update

2013-03-10 Thread Yves Bellefeuille
On Sunday 10 March 2013, Frank Cox  wrote:

> Interesting.  How can I check that?  I have another almost-identical
> system that's still working and I compared grub.conf between the two
> of them and didn't notice any significant differences.  Nothing that
> immediately jumped up and down and screamed "problem here!" at

Also check that /etc/fstab is correct.

-- 
Yves Bellefeuille 
"Simply put, E=mc^2 is liberal claptrap." -- Conservapedia.com

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] lost connection during yum update

2013-03-10 Thread Gerry Reno
On 03/10/2013 11:23 PM, Frank Cox wrote:
> On Sun, 10 Mar 2013 23:16:10 -0400
> Gerry Reno wrote:
>
>> Boot to rescue mode and see if you can mount the device containing the root
>> filesystem readonly and see all the files on it.
>>
>> Then check that the kernel root option is looking at the same device.
> I can indeed see all of the files on that computer, including the boot
> directory and everything under /
>
> I don't know what to do from that point, though.
>
> Here is the grub.conf from the working system, which is pretty much identical
> to one of the non-working systems.  I assume that you mean I need to do
> something to change and/or fix the root= portion of the kernel commandline, 
> but
> how do I find out what to change it to?
>
> default=0
> timeout=5
> splashimage=(hd0,0)/grub/splash.xpm.gz
> hiddenmenu
> title CentOS (2.6.32-358.0.1.el6.i686)
> root (hd0,0)
> kernel /vmlinuz-2.6.32-358.0.1.el6.i686 ro
> root=/dev/mapper/vg_ws195-lv_root rd_NO_LUKS LANG=en_US.UTF-8 rd_NO_MD quiet
> SYSFONT=latarcyrheb-sun16 rd_LVM_LV=vg_ws195/lv_swap rhgb crashkernel=auto
> KEYBOARDTYPE=pc KEYTABLE=us rd_LVM_LV=vg_ws195/lv_root rd_NO_DM
> initrd /initramfs-2.6.32-358.0.1.el6.i686.img
>
>
Do you know if this grub file was rewritten?

Can you check it against a backup copy?

Other than that I've given you my best suggestions.

.

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] lost connection during yum update

2013-03-10 Thread Frank Cox
On Sun, 10 Mar 2013 23:16:10 -0400
Gerry Reno wrote:

> Boot to rescue mode and see if you can mount the device containing the root
> filesystem readonly and see all the files on it.
> 
> Then check that the kernel root option is looking at the same device.

I can indeed see all of the files on that computer, including the boot
directory and everything under /

I don't know what to do from that point, though.

Here is the grub.conf from the working system, which is pretty much identical
to one of the non-working systems.  I assume that you mean I need to do
something to change and/or fix the root= portion of the kernel commandline, but
how do I find out what to change it to?

default=0
timeout=5
splashimage=(hd0,0)/grub/splash.xpm.gz
hiddenmenu
title CentOS (2.6.32-358.0.1.el6.i686)
root (hd0,0)
kernel /vmlinuz-2.6.32-358.0.1.el6.i686 ro
root=/dev/mapper/vg_ws195-lv_root rd_NO_LUKS LANG=en_US.UTF-8 rd_NO_MD quiet
SYSFONT=latarcyrheb-sun16 rd_LVM_LV=vg_ws195/lv_swap rhgb crashkernel=auto
KEYBOARDTYPE=pc KEYTABLE=us rd_LVM_LV=vg_ws195/lv_root rd_NO_DM
initrd /initramfs-2.6.32-358.0.1.el6.i686.img


-- 
MELVILLE THEATRE ~ Real D 3D Digital Cinema ~ www.melvilletheatre.com
www.creekfm.com - FIFTY THOUSAND WATTS of POW WOW POWER!
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] lost connection during yum update

2013-03-10 Thread Gerry Reno
On 03/10/2013 11:09 PM, Frank Cox wrote:
> On Sun, 10 Mar 2013 20:24:55 -0400
> Gerry Reno wrote:
>
>> It seems like maybe  it cannot find the root filesystem.
>>
>> Kernel panics just like this when it cannot find it.
> Interesting.  How can I check that?  I have another almost-identical system
> that's still working and I compared grub.conf between the two of them and
> didn't notice any significant differences.  Nothing that immediately jumped up
> and down and screamed "problem here!" at least.
>
> What should I be looking for?
>
>

Boot to rescue mode and see if you can mount the device containing the root 
filesystem readonly and see all the files on it.

Then check that the kernel root option is looking at the same device.





___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Postfix setup

2013-03-10 Thread Keith Keller
On 2013-03-11, Austin Einter  wrote:
>
> Which one is preferred postfix or sendmail.

I suspect this is mostly personal preference.  I prefer postfix because
the configuration files are easier to read and write.

> It says I need to disable firewall. Is it really required. Kindly let me
> know.

No, it is not required.  But you do need to accept TCP traffic on port
25 to your SMTP host.  Because you need to do this, you should make sure
your SMTP server can not be used as an open relay, or you will find
yourself on many blacklists.  Here's a reasonable tester I found:

http://www.rbl.jp/svcheck.php

--keith

-- 
kkel...@wombat.san-francisco.ca.us


___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] lost connection during yum update

2013-03-10 Thread Frank Cox
On Sun, 10 Mar 2013 20:24:55 -0400
Gerry Reno wrote:

> It seems like maybe  it cannot find the root filesystem.
> 
> Kernel panics just like this when it cannot find it.

Interesting.  How can I check that?  I have another almost-identical system
that's still working and I compared grub.conf between the two of them and
didn't notice any significant differences.  Nothing that immediately jumped up
and down and screamed "problem here!" at least.

What should I be looking for?


-- 
MELVILLE THEATRE ~ Real D 3D Digital Cinema ~ www.melvilletheatre.com
www.creekfm.com - FIFTY THOUSAND WATTS of POW WOW POWER!
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] yum update gone wild? - new base?

2013-03-10 Thread Robert Moskowitz

On 03/10/2013 09:59 PM, Reindl Harald wrote:
>
> Am 11.03.2013 02:30, schrieb Robert Moskowitz:
>> I am being hit on a number of my systems with yum update reporting 270+
>> rpms to update, and MOST are coming from the base repo.  I checked a few
>> out, and yes, they are of a higher release.
>>
>> I don't recall ever seeing the base repo change; it is almost like it is
>> picking up the the 6.4 base repo instead
> maybe you should read this list not only post
> and understand how CentOS works
>
> 6.4 is out - so why do you imagine you stay on 6.3?

Just panicsville.   I am trying to pack up to fly to meetings tomorrow, 
and saw this big update.  It has been too long since I was serious with 
Centos, and forgot that dot releases are major changes to the life of 
your server.  No way to bite off small bits.

So I will download the full current repos to my server over the week 
way, then apply them after I get back.

Just a case of bad timing on my part, resulting in an unnecessary panic.

Sorry all.



___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Postfix setup

2013-03-10 Thread Austin Einter
Dear All
I am planning to setup mail server for my domain.

Which one is preferred postfix or sendmail.


I came across a link *
http://ostechnix.wordpress.com/2013/02/08/setup-mail-server-using-postfixdovecotsquirrelmail-in-centosrhelscientific-linux-6-3-step-by-step/
* for postfix mail setup.

It says,
Prerequisites:

   - The mail server should contain a valid MX record in the DNS server.
   Navigate to this link how to setup DNS
server
   .
   - Firewall and SELinux should be disabled.


I have disabled iptables as my m/c is behind the firewall.

It says I need to disable firewall. Is it really required. Kindly let me
know.

Best Regards
Austin
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] BIND Setup Issue

2013-03-10 Thread Austin Einter
Dear All
Thanks for great support.

Now the issue is completely resolved.

I had to add "netcloudjob.com . IN A
173.201.189.43"  line in forward zone file. (As suggested by Arzek)perly.

Now from remote locations we are able to ping to www.netcloudjobs.com and
netcloudjobs.com .

Thanks a lot all.

Best Regards
Austin









On Mon, Mar 11, 2013 at 5:05 AM, Tilman Schmidt <
t.schm...@phoenixsoftware.de> wrote:

> Am 10.03.2013 16:34, schrieb Peter Eckel:
> > On 10.03.2013, at 16:14, Arek Czereszewski  wrote:
> >
> >> Put this in a zone file:
> >> netcloudjob.com. IN A 173.201.189.43
> >>
> >> Just after a MX line
> >
> > Austin already did that, and it doesn't help.
>
> Yes it does. The name can now be resolved.
>
> > The name can already be resolved,
>
> Only since he added the A RR.
>
> > and the address cannot be pinged either. I checked before I replied.
>
> That's a separate problem, and has nothing to do with BIND.
> What's more, given the complete lack of information about the network
> topology and involved components, we cannot even guess what may be the
> issue here. Routing? Firewall? NAT? Hardware? Everything's possible.
>
> --
> Tilman Schmidt
> Phoenix Software GmbH
> Bonn, Germany
>
>
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
>
>
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] yum update gone wild? - new base?

2013-03-10 Thread Stephen Harris
On Sun, Mar 10, 2013 at 09:30:40PM -0400, Robert Moskowitz wrote:
> I don't recall ever seeing the base repo change; it is almost like it is 
> picking up the the 6.4 base repo instead.

That's exactly what it's doing.  The "/6" base and update repository
always point to the latest version.  6.4 was released this week so
the "/6" is now seeing lots of updates as a result.

This is not new.

-- 

rgds
Stephen
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] yum update gone wild? - new base?

2013-03-10 Thread Robert Moskowitz
I am being hit on a number of my systems with yum update reporting 270+ 
rpms to update, and MOST are coming from the base repo.  I checked a few 
out, and yes, they are of a higher release.

I don't recall ever seeing the base repo change; it is almost like it is 
picking up the the 6.4 base repo instead.

Anyone else seeing this.  I JUST did an install from my local repo copy 
of the 6.3 base and update using a netinstall kickstart, then yum tells 
me that there are 270+ updates...


___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] lost connection during yum update

2013-03-10 Thread Gerry Reno
On 03/10/2013 07:40 PM, Frank Cox wrote:
> On Sun, 10 Mar 2013 19:29:56 -0400
> Gerry Reno wrote:
>
>> Did you try booting a rescue disk and reinstalling the bootloader?
> I booted the "Centos 6.4 minimal iso", told it to "upgrade an existing
> installation", and to install the bootloader.  About all that it appeared to 
> do
> was install the bootloader.  Unfortunately, the machine still didn't boot.
>
> The bootloader seems to be fine -- grub itself boots up.  I get a kernel panic
> after that, when you normally see the messages about unpacking vmlinuz and so
> on.  I just get a blank black screen with a flashing cursor (or the rhgb
> screen with the spinning doodad, depending on the grub setting) and then a
> kernel panic.
>

It seems like maybe  it cannot find the root filesystem.

Kernel panics just like this when it cannot find it.

.

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Apache setup problems

2013-03-10 Thread Bruce Whealton
I didn't think I needed to make the files executable.  Anyway, the simple
index.php has a title, an H1 tag and a couple php statements, one of which
is phpinfo();
My page, that I get has just the title and the content inside the h1 tag.
When I view the source, there is nothing that was inside a php block.
Meaning, it didn't run the php code and output html.  
I was looking at the apache error log and not finding anything useful.
Bruce

___
Bruce Whealton - Web Design/Development/Programming
Future Wave Web Development:
http://futurewaveonline.com
Developing for the Desktop as well as for
Mobile Devices - Smartphones/Tablets
Call 919-636-5809
___


-Original Message-
From: centos-boun...@centos.org [mailto:centos-boun...@centos.org] On Behalf
Of Tilman Schmidt
Sent: Sunday, March 10, 2013 7:48 PM
To: centos@centos.org
Subject: Re: [CentOS] Apache setup problems

Am 10.03.2013 09:28, schrieb Bruce Whealton:
> So, it works, except for the php part.  I made the files executable.

You shouldn't. PHP pages work just fine without execute permission.

> What I mean by the php part doesn't work is that it is just being 
> thrown out.  There is no attempt to process it as php.

So you aren't getting 404 anymore?
What do you mean by "thrown out"?
Do you see a blank page?
How do you know there's no attempt? (As opposed to an attempt that fails for
some reason yet to be determined.) What does your Apache error log say?

--
Tilman Schmidt
Phoenix Software GmbH
Bonn, Germany


___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] lost connection during yum update

2013-03-10 Thread Frank Cox
On Sun, 10 Mar 2013 17:40:39 -0600
Frank Cox wrote:

> The bootloader seems to be fine -- grub itself boots up.  I get a kernel panic
> after that, 

I just had a thought:  Is it possible to just reformat and reinstall the /boot
partition?  I wonder if that would solve the problem

-- 
MELVILLE THEATRE ~ Real D 3D Digital Cinema ~ www.melvilletheatre.com
www.creekfm.com - FIFTY THOUSAND WATTS of POW WOW POWER!
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Apache setup problems

2013-03-10 Thread Tilman Schmidt
Am 10.03.2013 09:28, schrieb Bruce Whealton:
> So, it works, except for the php part.  I made the files executable.

You shouldn't. PHP pages work just fine without execute permission.

> What I mean by the php part doesn't work is that it is just being thrown
> out.  There is no attempt to process it as php.

So you aren't getting 404 anymore?
What do you mean by "thrown out"?
Do you see a blank page?
How do you know there's no attempt? (As opposed to an attempt that fails
for some reason yet to be determined.)
What does your Apache error log say?

-- 
Tilman Schmidt
Phoenix Software GmbH
Bonn, Germany



signature.asc
Description: OpenPGP digital signature
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] kickstart %pre vda/sda troubles

2013-03-10 Thread Gordon Messmer
On 03/10/2013 08:14 AM, Natxo Asenjo wrote:
> lets reply to myself then ;-)

I missed your first message.  I've put a copy of my centos 6 kickstart 
here in case there are any ideas you think are good ones:
http://pastebin.com/rJEnsdvw

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] lost connection during yum update

2013-03-10 Thread Frank Cox
On Sun, 10 Mar 2013 19:29:56 -0400
Gerry Reno wrote:

> Did you try booting a rescue disk and reinstalling the bootloader?

I booted the "Centos 6.4 minimal iso", told it to "upgrade an existing
installation", and to install the bootloader.  About all that it appeared to do
was install the bootloader.  Unfortunately, the machine still didn't boot.

The bootloader seems to be fine -- grub itself boots up.  I get a kernel panic
after that, when you normally see the messages about unpacking vmlinuz and so
on.  I just get a blank black screen with a flashing cursor (or the rhgb
screen with the spinning doodad, depending on the grub setting) and then a
kernel panic.

-- 
MELVILLE THEATRE ~ Real D 3D Digital Cinema ~ www.melvilletheatre.com
www.creekfm.com - FIFTY THOUSAND WATTS of POW WOW POWER!
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] lost connection during yum update

2013-03-10 Thread Gerry Reno
On 03/10/2013 07:29 PM, Gerry Reno wrote:
> On 03/10/2013 07:00 PM, Frank Cox wrote:
>> On Sun, 10 Mar 2013 11:04:37 -0600
>> Frank Cox wrote:
>>
 It may be easier to restore from backup and then attempt to do the update
 again.
>>> Perhaps, but since everything seems to still be in place on those hard 
>>> drives,
>>> and since my last "yum update" completed without any errors being reported, 
>>> I
>>> suspect (hope?) that everything is still ok with the exception of whatever 
>>> is
>>> causing the machines to fail to boot.
>> It's looking more and more like a full nuke-and-pave is going to be the 
>> answer
>> here.
>>
>> As I suspected, initramfs-2.6.32-358.0.1 was missing in /boot.  
>> Unfortunately,
>> none of the other installed kernels boot either -- everything gives me a 
>> kernel
>> panic.
>>
>> I  did a yum remove kernel-2.6.32-358.0.1 and yum install 
>> kernel-2.6.32-358.0.1
>> and the whole transaction appeared to be successful.
>>
>> That got me  initramfs-2.6.32-358.0.1 back in /boot, but I still get a kernel
>> panic when I reboot the machine.  The initial rhgb screen comes up and the
>> little circle thing cranks for a minute or so, but then I get "kernel panic:
>> attempted to kill init!". Booting without rhgb gives me a cursor in the top
>> left corner for a minute, followed by "kernel panic: attemtped to kill 
>> init!".
>> The last time /var/log/boot.log was written to was the last time the machine 
>> was
>> rebooted prior to this whole episode (i.e. a few weeks ago) so there is
>> absolutely no error message or log information available other than the 
>> kernel
>> panic message on the screen.
>>
>> Damn, I hate the idea of having to set all of these machines up again from
>> scratch.  Two of them aren't much to re-do, but the third one is the office
>> workhorse machine that does everything from dhcp server to nfs server to 
>> print
>> server to you-name-it.
>>
> Did you try booting a rescue disk and reinstalling the bootloader?
>
>
>
If you have a good full backup just reinstall the base OS and overlay your 
backup.


___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] BIND Setup Issue

2013-03-10 Thread Tilman Schmidt
Am 10.03.2013 16:34, schrieb Peter Eckel:
> On 10.03.2013, at 16:14, Arek Czereszewski  wrote:
> 
>> Put this in a zone file:
>> netcloudjob.com. IN A 173.201.189.43
>>
>> Just after a MX line
> 
> Austin already did that, and it doesn't help. 

Yes it does. The name can now be resolved.

> The name can already be resolved,

Only since he added the A RR.

> and the address cannot be pinged either. I checked before I replied.

That's a separate problem, and has nothing to do with BIND.
What's more, given the complete lack of information about the network
topology and involved components, we cannot even guess what may be the
issue here. Routing? Firewall? NAT? Hardware? Everything's possible.

-- 
Tilman Schmidt
Phoenix Software GmbH
Bonn, Germany



signature.asc
Description: OpenPGP digital signature
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] lost connection during yum update

2013-03-10 Thread Gerry Reno
On 03/10/2013 07:00 PM, Frank Cox wrote:
> On Sun, 10 Mar 2013 11:04:37 -0600
> Frank Cox wrote:
>
>>> It may be easier to restore from backup and then attempt to do the update
>>> again.
>> Perhaps, but since everything seems to still be in place on those hard 
>> drives,
>> and since my last "yum update" completed without any errors being reported, I
>> suspect (hope?) that everything is still ok with the exception of whatever is
>> causing the machines to fail to boot.
> It's looking more and more like a full nuke-and-pave is going to be the answer
> here.
>
> As I suspected, initramfs-2.6.32-358.0.1 was missing in /boot.  Unfortunately,
> none of the other installed kernels boot either -- everything gives me a 
> kernel
> panic.
>
> I  did a yum remove kernel-2.6.32-358.0.1 and yum install 
> kernel-2.6.32-358.0.1
> and the whole transaction appeared to be successful.
>
> That got me  initramfs-2.6.32-358.0.1 back in /boot, but I still get a kernel
> panic when I reboot the machine.  The initial rhgb screen comes up and the
> little circle thing cranks for a minute or so, but then I get "kernel panic:
> attempted to kill init!". Booting without rhgb gives me a cursor in the top
> left corner for a minute, followed by "kernel panic: attemtped to kill init!".
> The last time /var/log/boot.log was written to was the last time the machine 
> was
> rebooted prior to this whole episode (i.e. a few weeks ago) so there is
> absolutely no error message or log information available other than the kernel
> panic message on the screen.
>
> Damn, I hate the idea of having to set all of these machines up again from
> scratch.  Two of them aren't much to re-do, but the third one is the office
> workhorse machine that does everything from dhcp server to nfs server to print
> server to you-name-it.
>

Did you try booting a rescue disk and reinstalling the bootloader?



___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] BIND Setup Issue

2013-03-10 Thread Tilman Schmidt
Am 10.03.2013 14:50, schrieb Austin Einter:
>From my dedicated server, if I ping to www.netcloudjobs.com , it says
> 
> *[root@ip-173-201-189-43 named]# ping www.netcloudjobs.com
> PING www.netcloudjobs.com (173.201.189.43) 56(84) bytes of data.
> ^C
> --- www.netcloudjobs.com ping statistics ---
> 3 packets transmitted, 0 received, 100% packet loss, time 2217ms*
> 
> But if ping to netcloudjobs.com, it says
> 
> [root@ip-173-201-189-43 named]#
> 
> *[root@ip-173-201-189-43 named]# ping netcloudjobs.com
> ping: unknown host netcloudjobs.com
> [root@ip-173-201-189-43 named]#

It seems you already fixed that and just forgot to tell the list.

> My corresponding zone file looks as below
> *
> *
> *[root@ip-173-201-189-43 named]# vi netcloudjobs.com.fwd
> $TTL 86400
> @   IN  SOA ns1.netcloudjobs.com. root.netcloudjobs.com. (
> 2041071002  ;Serial
> 3600;Refresh
> 1800;Retry
> 604800  ;Expire
> 86400   ;Minimum TTL
> )
> 
> @   IN  NS  ns1.netcloudjobs.com.
> @   IN  NS  ns2.netcloudjobs.com.
> @   IN  MX   0  mail.netcloudjobs.com.
> 
> ns1 IN  A   173.201.189.43
> ns2 IN  A   173.201.189.43
> www IN  A   173.201.189.43
> mailIN  A   173.201.189.43

This zone file does not contain an A RR for netcloudjobs.com itself, but
if I dig netcloudjobs.com now I do get one. So obviously you have added
it it the meantime.

>  Can somebody kindly tell me what I need to do so that, from my dedicated
> server I can ping to netcloudjobs.com

Generally speaking:
1. fix the name resolution (you already did that)
2. fix the network connectivity and/or firewall issues preventing your
ping packets from getting through

HTH
T.

-- 
Tilman Schmidt
Phoenix Software GmbH
Bonn, Germany



signature.asc
Description: OpenPGP digital signature
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] BIND Setup Issue

2013-03-10 Thread Tilman Schmidt
Am 10.03.2013 12:57, schrieb Austin Einter:
> I have a CentOS 6.3 machine. I am trying to setup DNS BIND setup in that
> machine. It is having a static global IP. I have done lot of reading ,
> google search and tried all possible option, but still not able to resolve
> the issue.

After reading the entire thread I am still not sure what your actual
issue is. I can only guess some name resolution is not working as expected.

Please state:
- From which machine are you trying to resolve?
- Which name are you trying to resolve?
- Which result are you expecting?
- Which result do you get?

In the meantime, a few comments on your config.

> options {
> listen-on port 53 { 127.0.0.1; 10.0.0.1; };

That doesn't look right. You said your machine has a public IP address
but you make it listen on a private IP address and localhost only.

> listen-on-v6 port 53 { ::1; };

That doesn't look right either. If your machine does IPv6, why have it
listen only on localhost? If it doesn't, why have it listen on IPv6 at all?

> allow-query { localhost; 10.0.0.1/24; 10.0.0.254/24; };

This doesn't look right at all. Neither 10.0.0.1 nor 10.0.0.254 are
compatible with a /24 netmask.

> dnssec-enable yes;
> dnssec-validation yes;
> dnssec-lookaside auto;

I don't think it's a good idea to activate DNSSEC before you have the
basics running.

> @   IN  NS  ns1.netcloudjobs.com.
> @   IN  NS  ns2.netcloudjobs.com.
> 
> ns1 IN  A   173.201.189.43
> ns2 IN  A   173.201.189.43

It's very strange to declare two nameservers with the same address. Why
put in ns2 in the first place if it's actually the same machine as ns1?
That doesn't make sense.

> And my reverse zone file looks as

> @   IN  NS  ns1.netcloudjobs.com.
> @   IN  NS  ns2.netcloudjobs.com.
> ns1 IN  A   173.201.189.43
> ns2 IN  A   173.201.189.43

These entries are wrong here.
Simple explanation: A RRs belong in the forward zone, not the reverse zone.
Complex explanation: The RRs you actually create by this look like this:

ns1.189.201.173.in-addr.arpa. IN A 173.201.189.43
ns2.189.201.173.in-addr.arpa. IN A 173.201.189.43

> 43  IN  PTR ns1.netcloudjobs.com.
> 44  IN  PTR ns2.netcloudjobs.com.

You have a forward/reverse mismatch here. Your reverse zone resolves
173.201.189.44 to ns2.netcloudjobs.com but your forward zone resolves
that to 173.201.189.43 instead of 173.201.189.44.

> I hope I am doing something wrong with configuration. I have done this
> since more than 60 hours. Still I am not able to resolve
> ns1.netcloudjobs.com.

I am:

[ts@dns01 ~]$ host ns1.netcloudjobs.com
ns1.netcloudjobs.com has address 173.201.189.43
[ts@dns01 ~]$

Looks fine to me. So again, please state from where you are trying the
resolution, which result you expect and which result you get.

-- 
Tilman Schmidt
Phoenix Software GmbH
Bonn, Germany



signature.asc
Description: OpenPGP digital signature
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] lost connection during yum update

2013-03-10 Thread Frank Cox
On Sun, 10 Mar 2013 11:04:37 -0600
Frank Cox wrote:

> > It may be easier to restore from backup and then attempt to do the update
> > again.
> 
> Perhaps, but since everything seems to still be in place on those hard drives,
> and since my last "yum update" completed without any errors being reported, I
> suspect (hope?) that everything is still ok with the exception of whatever is
> causing the machines to fail to boot.

It's looking more and more like a full nuke-and-pave is going to be the answer
here.

As I suspected, initramfs-2.6.32-358.0.1 was missing in /boot.  Unfortunately,
none of the other installed kernels boot either -- everything gives me a kernel
panic.

I  did a yum remove kernel-2.6.32-358.0.1 and yum install kernel-2.6.32-358.0.1
and the whole transaction appeared to be successful.

That got me  initramfs-2.6.32-358.0.1 back in /boot, but I still get a kernel
panic when I reboot the machine.  The initial rhgb screen comes up and the
little circle thing cranks for a minute or so, but then I get "kernel panic:
attempted to kill init!". Booting without rhgb gives me a cursor in the top
left corner for a minute, followed by "kernel panic: attemtped to kill init!".
The last time /var/log/boot.log was written to was the last time the machine was
rebooted prior to this whole episode (i.e. a few weeks ago) so there is
absolutely no error message or log information available other than the kernel
panic message on the screen.

Damn, I hate the idea of having to set all of these machines up again from
scratch.  Two of them aren't much to re-do, but the third one is the office
workhorse machine that does everything from dhcp server to nfs server to print
server to you-name-it.

-- 
MELVILLE THEATRE ~ Real D 3D Digital Cinema ~ www.melvilletheatre.com
www.creekfm.com - FIFTY THOUSAND WATTS of POW WOW POWER!
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] frozen-bubble for el6-64??

2013-03-10 Thread Eero Volotinen
2013/3/10 Fred Smith :
>
> anybody know of a frozen-bubble package for el6 x86_64? I've been reduced
> to trying to build from source, and it ain't going very well. :(
>
> Thanks!
> --

it's available from nux desktop repos:

http://li.nux.ro/repos.html

--
Eero
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] frozen-bubble for el6-64??

2013-03-10 Thread Fred Smith
On Sun, Mar 10, 2013 at 02:16:25PM -0700, Akemi Yagi wrote:
> On Sun, Mar 10, 2013 at 1:51 PM, Fred Smith
>  wrote:
> >
> > anybody know of a frozen-bubble package for el6 x86_64? I've been reduced
> > to trying to build from source, and it ain't going very well. :(
> 
> Nux! has it:
> 
> http://li.nux.ro/download/nux/dextop/el6/x86_64/
> 
> Akemi

Once again Akemi comes to the rescue. I'll certainly go check that out,
thanks!

Fred

-- 
---
 .Fred Smith   /  
( /__  ,__.   __   __ /  __   : / 
 //  /   /__) /  /  /__) .+'   Home: fre...@fcshome.stoneham.ma.us 
//  (__ (___ (__(_ (___ / :__ 781-438-5471 
 Jude 1:24,25 -
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] frozen-bubble for el6-64??

2013-03-10 Thread Fred Smith
On Sun, Mar 10, 2013 at 10:52:25PM +0200, Eero Volotinen wrote:
> 2013/3/10 Fred Smith :
> >
> > anybody know of a frozen-bubble package for el6 x86_64? I've been reduced
> > to trying to build from source, and it ain't going very well. :(
> 
> what is the error message?

well, so far when trying to build perl-sdl it says it can't find "-lSDL",
and this being Perl, I can't figure out what the heck is wrong,... libSDL
certainly exists, and yes I've installed sdl-devel.

but it looks as if Akemi may have the answer to my prayers so I can
stop beating my head on the wall.

-- 
---
 .Fred Smith   /  
( /__  ,__.   __   __ /  __   : / 
 //  /   /__) /  /  /__) .+'   Home: fre...@fcshome.stoneham.ma.us 
//  (__ (___ (__(_ (___ / :__ 781-438-5471 
 Jude 1:24,25 -
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] frozen-bubble for el6-64??

2013-03-10 Thread Akemi Yagi
On Sun, Mar 10, 2013 at 1:51 PM, Fred Smith
 wrote:
>
> anybody know of a frozen-bubble package for el6 x86_64? I've been reduced
> to trying to build from source, and it ain't going very well. :(

Nux! has it:

http://li.nux.ro/download/nux/dextop/el6/x86_64/

Akemi
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] skype not starting anymore, prelink issue?

2013-03-10 Thread Michael Lampe
Yves Bellefeuille wrote:

>> This point has already been answered on this mailing list (and
>> elsewhere). A bit of search in the archives and elsewhere would
>> quickly bring you this:
>> http://wiki.centos.org/HowTos/Skype
>
> I'm very familiar with that document. :-) And many users, including
> myself, couldn't get Skype 4.1 to work on CentOS 64 bits using those
> instructions.
>
> If Skype 4.1 did work on your 64-bit system, I'm very interested in
> knowing the details; you can contact me directly if you wish.

I have posted it months ago here:

http://community.skype.com/t5/Linux/Skype-for-Redhat-Enterprise-6/td-p/1210686

Actually, I also posted to the c6 fora back then and suggested to 
document it more precisely in the wiki.

That posting was immediately closed without further ado. Someone even 
followed me to the skype fora, only to state that I'm just talking 
bullshit and that http://wiki.centos.org/HowTos/Skype has all you need 
to know.

And of course yes: Skype-4.1 is running nicely here on x86_64 for all 
these months. And it doesn't require anything special -- and certainly 
not breaking your installation with some weird Qt-4.7.

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] 802.11 Access Point software

2013-03-10 Thread Robert Moskowitz

On 03/10/2013 04:35 PM, John R Pierce wrote:
> On 3/10/2013 1:22 PM, Robert Moskowitz wrote:
 I just found hostapd for Fedora, but it is not showing up in my Centos
>> repos.
 http://rpm.pbone.net/index.php3/stat/2/simple/2
 http://rpm.pbone.net/index.php3/stat/4/idpl/15160581/dir/redhat_el_6/com/hostapd-0.5.8-13.el6.x86_64.rpm.html

>> Thanks Harald!  Though I need the i686 version, but given the x86_64, I
>> found the i686 one.
> and, here's the source of that build
> http://packages.atrpms.net/dist/el6/hostapd/
>
> hmm, it apparently hasn't been updated since 2007, that would bother me
> some.hostapd itself, http://hostap.epitest.fi/hostapd/  is up to 2.0
> and there's a 1.1 release too.

Interestingly, Fedora 17 is only at 0.7.3-10.  It would be nice for a 
more current version, but for what I need, if it works with WPA-PSK it 
will be good enough for now for the lab I am building for my son.

I can see why such an app is not even in EPEL, as who would run an AP on 
a enterprise server?  Someone that wants enterprise code in a portable 
lab environment and not have to also lug along an AP. Even the Tenda 
AP.  (Centos for this lab is loaded on an old OQO2).


___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] frozen-bubble for el6-64??

2013-03-10 Thread Eero Volotinen
2013/3/10 Fred Smith :
>
> anybody know of a frozen-bubble package for el6 x86_64? I've been reduced
> to trying to build from source, and it ain't going very well. :(

what is the error message?

--
Eero
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] frozen-bubble for el6-64??

2013-03-10 Thread Fred Smith

anybody know of a frozen-bubble package for el6 x86_64? I've been reduced
to trying to build from source, and it ain't going very well. :(

Thanks!
-- 
 Fred Smith -- fre...@fcshome.stoneham.ma.us -
   I can do all things through Christ 
  who strengthens me.
-- Philippians 4:13 ---
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] 802.11 Access Point software

2013-03-10 Thread John R Pierce
On 3/10/2013 1:22 PM, Robert Moskowitz wrote:
>>> I just found hostapd for Fedora, but it is not showing up in my Centos
>>> >>repos.
>> >http://rpm.pbone.net/index.php3/stat/2/simple/2
>> >http://rpm.pbone.net/index.php3/stat/4/idpl/15160581/dir/redhat_el_6/com/hostapd-0.5.8-13.el6.x86_64.rpm.html
>> >
> Thanks Harald!  Though I need the i686 version, but given the x86_64, I
> found the i686 one.

and, here's the source of that build
http://packages.atrpms.net/dist/el6/hostapd/

hmm, it apparently hasn't been updated since 2007, that would bother me 
some.hostapd itself, http://hostap.epitest.fi/hostapd/  is up to 2.0 
and there's a 1.1 release too.



-- 
john r pierce  37N 122W
somewhere on the middle of the left coast

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] 802.11 Access Point software

2013-03-10 Thread Robert Moskowitz

On 03/10/2013 03:15 PM, Reindl Harald wrote:
>
> Am 10.03.2013 20:06, schrieb Robert Moskowitz:
>> On 03/10/2013 03:01 PM, Robert Moskowitz wrote:
>>> Is there a way (software) to turn a Centos server into an AP?
>>>
>>> The server will have DHCP and RADVD, so no ARP proxying needed. This is
>>> for a small lab setup.
>>>
>>> yumex is not helping me search for an answer.
>> I just found hostapd for Fedora, but it is not showing up in my Centos
>> repos.
> http://rpm.pbone.net/index.php3/stat/2/simple/2
> http://rpm.pbone.net/index.php3/stat/4/idpl/15160581/dir/redhat_el_6/com/hostapd-0.5.8-13.el6.x86_64.rpm.html
>
Thanks Harald!  Though I need the i686 version, but given the x86_64, I 
found the i686 one.


___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] 802.11 Access Point software

2013-03-10 Thread Robert Moskowitz

On 03/10/2013 03:01 PM, Robert Moskowitz wrote:
> Is there a way (software) to turn a Centos server into an AP?
>
> The server will have DHCP and RADVD, so no ARP proxying needed. This is
> for a small lab setup.
>
> yumex is not helping me search for an answer.

I just found hostapd for Fedora, but it is not showing up in my Centos 
repos.


___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] 802.11 Access Point software

2013-03-10 Thread Robert Moskowitz
Is there a way (software) to turn a Centos server into an AP?

The server will have DHCP and RADVD, so no ARP proxying needed. This is 
for a small lab setup.

yumex is not helping me search for an answer.


___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] lost connection during yum update

2013-03-10 Thread Gerry Reno
On 03/10/2013 01:04 PM, Frank Cox wrote:
> On Sun, 10 Mar 2013 12:26:51 -0400
> Gerry Reno wrote:
>
>> The "yum update" that was running in your lost VNC session was in all
>> likelihood still running.
> If yum was indeed still running, it wasn't using any significant CPU.  I did
> run top in my login terminal to see if anything significant was going on and 
> yum
> didn't show up on the list.
>
> When I attempted to re-connect to vncserver after that, I was told "connection
> refused", and "service vncserver start" cranked up another session for me
> without any errors.
>
> I think vncserver just altogether crashed for some reason, probably related to
> the yum update that I was running on that machine at the time.  I suppose the
> lesson learned here is to always update the host machine from a screen session
> running in a plain terminal, not through a vnc session.

The reason I said yum update was still running was because I've had this exact 
scenario occur before.

VNC died during yum update and when I got back in I could see that yum update 
was still running.

I just waited until it finished.

>
>> It may be easier to restore from backup and then attempt to do the update
>> again.
> Perhaps, but since everything seems to still be in place on those hard drives,
> and since my last "yum update" completed without any errors being reported, I
> suspect (hope?) that everything is still ok with the exception of whatever is
> causing the machines to fail to boot.
>

I hope it is only your initramfs.  If that isn't it, for me I would just 
restore and rerun the update.  Much less time
involved.



___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] lost connection during yum update

2013-03-10 Thread Frank Cox
On Sun, 10 Mar 2013 12:26:51 -0400
Gerry Reno wrote:

> The "yum update" that was running in your lost VNC session was in all
> likelihood still running.

If yum was indeed still running, it wasn't using any significant CPU.  I did
run top in my login terminal to see if anything significant was going on and yum
didn't show up on the list.

When I attempted to re-connect to vncserver after that, I was told "connection
refused", and "service vncserver start" cranked up another session for me
without any errors.

I think vncserver just altogether crashed for some reason, probably related to
the yum update that I was running on that machine at the time.  I suppose the
lesson learned here is to always update the host machine from a screen session
running in a plain terminal, not through a vnc session.

> It may be easier to restore from backup and then attempt to do the update
> again.

Perhaps, but since everything seems to still be in place on those hard drives,
and since my last "yum update" completed without any errors being reported, I
suspect (hope?) that everything is still ok with the exception of whatever is
causing the machines to fail to boot.

-- 
MELVILLE THEATRE ~ Real D 3D Digital Cinema ~ www.melvilletheatre.com
www.creekfm.com - FIFTY THOUSAND WATTS of POW WOW POWER!
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Older versions of packages disappearing from yum repos

2013-03-10 Thread Brian Lalor
I've been designing the infrastructure for a new team using CentOS 6 and 
Puppet.  I'm still learning Puppet, but thought I had things pretty well under 
control.  After this week, I'm beginning to wonder
 :-)

In the last week I've had versions of three packages disappear from the yum 
repositories I'm using, both EPEL and the standard ones from a base CentOS 6.3 
install.  Since I'm trying to install specific versions of packages with 
Puppet, this is a problem.  The most recent one that just turned up this 
morning is kernel-devel.  I have the following resource defined in one of my 
Puppet manifests:

   package {"kernel-devel-${::kernelrelease}":
   alias => 'kernel-devel',
   }

I'm trying to ensure that I've got the kernel-devel package installed that 
matches the kernel I'm currently using. I naively assumed that once a package 
was made available via the official CentOS mirrors that it would never 
disappear.  That doesn't appear to be the case.  I have  
kernel-2.6.32-279.19.1.el6.x86_64 installed. 
kernel-devel-2.6.32-279.19.1.el6.x86_64 is gone, apparently replaced with 
kernel-devel-2.6.32-358.0.1.el6.x86_64. I have a couple of other packages that 
have given me problems, too, namely ngircd which was upgraded from 18 to 20.1.

How do I manage this problem?  Do I need to maintain my own mirrors?  That 
seems like a horrible solution.  Is there another CentOS repository I should be 
using?  Am I just going about this all wrong?

Thanks,
Brian

--
Brian Lalor
bla...@bravo5.org


___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] CentOS 6.4 Release Date.

2013-03-10 Thread b.j. mcclure

On Sun, 2013-03-10 at 10:24 -0400, Scott Robbins wrote:

> > We don't release redhat-release in CentOS at all ... we have
> > centos-release instead.
> 
> I figured that, but I now have an /etc/redhat-release saying 6.4, as
> does
> /etc/centos-release.  


/etc/redhat-release is a link to /etc/centos-release on my systems.

B.J.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] lost connection during yum update

2013-03-10 Thread Gerry Reno
On 03/10/2013 12:12 PM, Frank Cox wrote:
> On Sun, 10 Mar 2013 12:14:14 +0100
> Reindl Harald wrote:
>
>> use "screen" if you update over WAN connections
>> yes, i know it is too late but thats the way to go
> I was doing it through VNC, thinking that would be more-or-less equivalent to
> screen, which it apparently isn't.  Somehow my vnc session (desktop) just
> disappeared in the middle of the job, while I was running "yum update" on the
> remote host machine and two other computers.  Perhaps the "yum update" that 
> was
> running on the remote host machine killed VNC -- in hindsight perhaps I
> shouldn't have done that.

What most likely happened:

The "yum update" that was running in your lost VNC session was in all 
likelihood still running.

If you had done a 'ps -ef | grep yum' you would probably have seen that yum 
update was still running.

And then it looks like you logged back in to a new session and began running 
other yum commands before the original "yum
update" had completed.

So now you have a mess that may not be easy to untangle.

It may be easier to restore from backup and then attempt to do the update again.

>
> My google searching leads me to suspect that initramfs may be missing on those
> computers. If that is the case (which I will verify later this afternoon) then
> I'm thinking that perhaps chrooting to the hard drive followed by a simple yum
> remove kernel-2.6.32-358.0.1 and yum install kernel-2.6.32-358.0.1 will fix 
> it. 
>
> It's funny that all three of them died in the same way, though I guess they
> were all at about the same stage in the update process when my VNC session
> disappeared.
>
> Running "yum-complete-transaction", followed by "package-cleanup 
> --cleandupes",
> followed by "yum update" seems to have put everything back the way that it
> should be, with the exception of whatever it is that prevents the machine from
> booting.
>


___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] lost connection during yum update

2013-03-10 Thread Frank Cox
On Sun, 10 Mar 2013 12:14:14 +0100
Reindl Harald wrote:

> use "screen" if you update over WAN connections
> yes, i know it is too late but thats the way to go

I was doing it through VNC, thinking that would be more-or-less equivalent to
screen, which it apparently isn't.  Somehow my vnc session (desktop) just
disappeared in the middle of the job, while I was running "yum update" on the
remote host machine and two other computers.  Perhaps the "yum update" that was
running on the remote host machine killed VNC -- in hindsight perhaps I
shouldn't have done that.

My google searching leads me to suspect that initramfs may be missing on those
computers. If that is the case (which I will verify later this afternoon) then
I'm thinking that perhaps chrooting to the hard drive followed by a simple yum
remove kernel-2.6.32-358.0.1 and yum install kernel-2.6.32-358.0.1 will fix it. 

It's funny that all three of them died in the same way, though I guess they
were all at about the same stage in the update process when my VNC session
disappeared.

Running "yum-complete-transaction", followed by "package-cleanup --cleandupes",
followed by "yum update" seems to have put everything back the way that it
should be, with the exception of whatever it is that prevents the machine from
booting.

-- 
MELVILLE THEATRE ~ Real D 3D Digital Cinema ~ www.melvilletheatre.com
www.creekfm.com - FIFTY THOUSAND WATTS of POW WOW POWER!
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] BIND Setup Issue

2013-03-10 Thread Robert Moskowitz

On 03/10/2013 10:19 AM, Peter Eckel wrote:
> Hi Austin,
>
> since your A record is fine and can be resolved, the issue is obviously not 
> BIND related but lies somewhere in your network/firewall configuration.
>
> The last address that is visible in the tracereoute output from here is
>
>> 15  ip-208-109-113-174.ip.secureserver.net (208.109.113.174)  163.811 ms  
>> 163.984 ms  164.166 ms
> so the issue must be somewhere between 208.109.113.174 and 173.201.189.43. 
> Another IP (probably another customer of GoDaddy) in your /24 range is 
> directly connected to 208.109.113.174 which makes it likely to be your next 
> hop as well:
>
>> 15  ip-208-109-113-174.ip.secureserver.net (208.109.113.174)  178.314 ms  
>> 165.344 ms  165.293 ms
>> 16  ip-173-201-189-1.ip.secureserver.net (173.201.189.1)  164.007 ms  
>> 163.767 ms  163.820 ms
>
> So probably the issue is in your router setup (packet filters and/or NAT, if 
> applicable) or in the configuration of your own machine (iptables?).

And along with this, you have DNSSEC enabled, so your firewall and 
router have to support EDNS.  I am fighting that for my domain right now


___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] BIND Setup Issue

2013-03-10 Thread Peter Eckel
On 10.03.2013, at 16:14, Arek Czereszewski  wrote:

> Put this in a zone file:
> netcloudjob.com. IN A 173.201.189.43
> 
> Just after a MX line

Austin already did that, and it doesn't help. 

The name can already be resolved, and the address cannot be pinged either. I 
checked before I replied.

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] kickstart %pre vda/sda troubles

2013-03-10 Thread Natxo Asenjo
lets reply to myself then ;-)

%pre
#!/bin/bash

if [ -b /dev/vda ] ; then
echo "bootloader --location=mbr --timeout=0 --driveorder=vda
--append="crashkernel=auto rhgb quiet"" > /tmp/diskinfo
echo "clearpart --linux --drives=vda" >> /tmp/diskinfo
echo "part /boot --fstype=ext4 --size=500" >> /tmp/diskinfo
echo "part pv.008002 --grow --size=1" >> /tmp/diskinfo
echo "volgroup vg_host --pesize=4096 pv.008002" >> /tmp/diskinfo
echo "logvol / --fstype=ext4 --name=lv_root --vgname=vg_host
--grow --size=1024" --recommended >> /tmp/diskinfo
echo "logvol swap --name=lv_swap --vgname=vg_host --grow
--size=512 --maxsize=1024" >> /tmp/diskinfo

elif [ -b /dev/sda ] ; then
echo "bootloader --location=mbr --timeout=0 --driveorder=sda
--append="crashkernel=auto rhgb quiet"" > /tmp/diskinfo
echo "clearpart --linux --drives=sda" >> /tmp/diskinfo
echo "part /boot --fstype=ext4 --size=500" >> /tmp/diskinfo
echo "part pv.008002 --grow --size=1" >> /tmp/diskinfo
echo "volgroup vg_host --pesize=4096 pv.008002" >> /tmp/diskinfo
echo "logvol / --fstype=ext4 --name=lv_root --vgname=vg_host
--grow --size=1024" --recommended >> /tmp/diskinfo
echo "logvol swap --name=lv_swap --vgname=vg_host --grow
--size=512 --maxsize=1024" >> /tmp/diskinfo
fi

%end

as seen in 
http://fedoraproject.org/wiki/Anaconda/Kickstart#Chapter_4._Pre-installation_Script
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] BIND Setup Issue

2013-03-10 Thread Arek Czereszewski
Put this in a zone file:
netcloudjob.com. IN A 173.201.189.43

Just after a MX line
10 mar 2013 14:51, "Austin Einter"  napisaƂ(a):

> My registrar is Godad.com, looks they have registered nameservers
> ns1.netcloudjobs.com and ns2.netcloudjobs.com
> Now I am able to resolve to ns1.netcloudjobs.com
> I have only 1 IP address that x.x.x.43 , so I can not use x.x.x.44
>
> >From my dedicated server, if I ping to www.netcloudjobs.com , it says
>
> *[root@ip-173-201-189-43 named]# ping www.netcloudjobs.com
> PING www.netcloudjobs.com (173.201.189.43) 56(84) bytes of data.
> ^C
> --- www.netcloudjobs.com ping statistics ---
> 3 packets transmitted, 0 received, 100% packet loss, time 2217ms*
>
> But if ping to netcloudjobs.com, it says
>
> [root@ip-173-201-189-43 named]#
>
> *[root@ip-173-201-189-43 named]# ping netcloudjobs.com
> ping: unknown host netcloudjobs.com
> [root@ip-173-201-189-43 named]#
> *
> My corresponding zone file looks as below
> *
> *
> *[root@ip-173-201-189-43 named]# vi netcloudjobs.com.fwd
> $TTL 86400
> @   IN  SOA ns1.netcloudjobs.com. root.netcloudjobs.com. (
> 2041071002  ;Serial
> 3600;Refresh
> 1800;Retry
> 604800  ;Expire
> 86400   ;Minimum TTL
> )
>
> @   IN  NS  ns1.netcloudjobs.com.
> @   IN  NS  ns2.netcloudjobs.com.
> @   IN  MX   0  mail.netcloudjobs.com.
>
> ns1 IN  A   173.201.189.43
> ns2 IN  A   173.201.189.43
> www IN  A   173.201.189.43
> mailIN  A   173.201.189.43
> ~
> *
>  Can somebody kindly tell me what I need to do so that, from my dedicated
> server I can ping to netcloudjobs.com
>
> Best regards
> Austin
>
>
>
>
>
> On Sun, Mar 10, 2013 at 6:47 PM, Robert Moskowitz  >wrote:
>
> >
> > On 03/10/2013 07:57 AM, Austin Einter wrote:
> >
> >> Dear All
> >> I have a CentOS 6.3 machine. I am trying to setup DNS BIND setup in that
> >> machine. It is having a static global IP. I have done lot of reading ,
> >> google search and tried all possible option, but still not able to
> resolve
> >> the issue.
> >>
> >> My named.conf looks as below.
> >>
> >> *
> >> *
> >>
> >> *
> >> // named.conf
> >> //
> >> // Provided by Red Hat bind package to configure the ISC BIND named(8)
> DNS
> >> // server as a caching only nameserver (as a localhost DNS resolver
> only).
> >> //
> >> // See /usr/share/doc/bind*/sample/ for example named configuration
> files.
> >> //
> >>
> >> options {
> >>  listen-on port 53 { 127.0.0.1; 10.0.0.1; };
> >>  listen-on-v6 port 53 { ::1; };
> >>  directory   "/var/named";
> >>  dump-file   "/var/named/data/cache_dump.**db";
> >>  query-source address * port 53;
> >>  statistics-file "/var/named/data/named_stats.**txt";
> >>  memstatistics-file "/var/named/data/named_mem_**stats.txt";
> >>  allow-query { localhost; 10.0.0.1/24; 10.0.0.254/24; };
> >>  recursion yes;
> >>  dnssec-enable yes;
> >>  dnssec-validation yes;
> >>  dnssec-lookaside auto;
> >>
> >>  /* Path to ISC DLV key */
> >>  bindkeys-file "/etc/named.iscdlv.key";
> >>
> >>  managed-keys-directory "/var/named/dynamic";
> >> };
> >>
> >> logging {
> >>  channel default_debug {
> >>  file "data/named.run";
> >>  severity dynamic;
> >>  };
> >> };
> >>
> >> zone "." IN {
> >>  type hint;
> >>  file "named.ca";
> >> };zone "netcloudjobs.com" {
> >>  type master;
> >>  file "netcloudjobs.com.fwd";
> >>  allow-update { none; };
> >> };
> >>
> >
> > Who is your registrar for netcloudjobs.com and have they listed your two
> > servers and their IP addresses?
> >
> >
> >  zone "189.201.173.in-addr.arpa"  {
> >>  type master;
> >>  file "netcloudjobs.com.rev";
> >>  allow-update { none; };
> >> };
> >>
> >> include "/etc/named.rfc1912.zones";
> >> include "/etc/named.root.key";
> >> *
> >> Next my forward zone file looks as below
> >> *
> >> $TTL 86400
> >> @   IN  SOA ns1.netcloudjobs.com. root.netcloudjobs.com
> .
> >> (
> >>  2021071001  ;Serial
> >>  3600;Refresh
> >>  1800;Retry
> >>  604800  ;Expire
> >>  86400   ;Minimum TTL
> >> )
> >>
> >> @   IN  NS  ns1.netcloudjobs.com.
> >> @   IN  NS  ns2.netcloudjobs.com.
> >>
> >> ns1 IN  A   173.201.189.43
> >> ns2 IN  A   173.201.189.43
> >>
> >
> > .44?
> >
> >  *
> >> And my reverse zone file looks as
> >>
> >>
> >> *$TTL 86400
> >>
> >> @  IN SOA ns1.netcloudjobs.com. root.netcloudjobs.com. (
> >>  2021071001  ;Serial
> >>  3600;Refresh
> >>  1800;Retry
> >>  604800  ;Expire
> >>  86400   ;Minimum TTL
> >> )
> >>
> >> @   IN  NS  ns1.netclo

Re: [CentOS] CentOS 6.4 Release Date.

2013-03-10 Thread Scott Robbins
On Sun, Mar 10, 2013 at 08:20:43AM -0500, Johnny Hughes wrote:


> On 03/09/2013 01:54 PM, Scott Robbins wrote:
> > On Sat, Mar 09, 2013 at 09:41:12AM -0600, Johnny Hughes wrote:
> >
>  On 03/08/2013 11:30 AM, Kaushal Shriyan wrote:
> 
> 
> >>> I just checked the mirrors this morning and nothing has shown up for 6.4.
> >>>
> >>> Did something major delay the release?
> >> What mirrors .. 6.4 has been released for several hours.
> >>
> > FWIW, I've been running CR and haven't seen much--however, I was surprised
> > that I hadn't seen redhat-release rpm.  So, I ran yum clean all, and then
> > got a bunch of updates for 6.4.
> 
> We don't release redhat-release in CentOS at all ... we have
> centos-release instead.

I figured that, but I now have an /etc/redhat-release saying 6.4, as does
/etc/centos-release.  
> 
> We also don't release centos-release into CR, only in the new version's
> main tree.  Anaconda (the package that installs CentOS) and
> centos-release are the only packages from the new version that normally
> are not installed in the CR.  Getting a new centos-release is how you
> know you are updated to 6.4 and not running 6.3/CR.
> 
> 
> This would mean that if you were on a fully updated 6.3/CR and upgraded
> to 6.4, you would expect to see all the RPMS associated with the above 5
> SRPMS, as well as centos-release and anaconda.

My CR was probably not fully updated--I probably check for updates about
once every two weeks, but there was a relatively large one a little while
ago.  

Thanks for the clarification.


-- 
Scott Robbins
PGP keyID EB3467D6
( 1B48 077D 66F6 9DB0 FDC2 A409 FA54 EB34 67D6 )
gpg --keyserver pgp.mit.edu --recv-keys EB3467D6

Buffy: Oh, look at my poor neck... all bare and tender and 
exposed. All that blood, just pumping away. 
Giles: Oh, please. 
Spike: Giles, make her stop! 
Giles: If those two don't kill each other, I might lend a hand. 

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] BIND Setup Issue

2013-03-10 Thread Peter Eckel
Hi Austin, 

since your A record is fine and can be resolved, the issue is obviously not 
BIND related but lies somewhere in your network/firewall configuration.

The last address that is visible in the tracereoute output from here is 

> 15  ip-208-109-113-174.ip.secureserver.net (208.109.113.174)  163.811 ms  
> 163.984 ms  164.166 ms

so the issue must be somewhere between 208.109.113.174 and 173.201.189.43. 
Another IP (probably another customer of GoDaddy) in your /24 range is directly 
connected to 208.109.113.174 which makes it likely to be your next hop as well:

> 15  ip-208-109-113-174.ip.secureserver.net (208.109.113.174)  178.314 ms  
> 165.344 ms  165.293 ms
> 16  ip-173-201-189-1.ip.secureserver.net (173.201.189.1)  164.007 ms  163.767 
> ms  163.820 ms


So probably the issue is in your router setup (packet filters and/or NAT, if 
applicable) or in the configuration of your own machine (iptables?).

Regards, 

  Peter.

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] BIND Setup Issue

2013-03-10 Thread Austin Einter
My registrar is Godad.com, looks they have registered nameservers
ns1.netcloudjobs.com and ns2.netcloudjobs.com
Now I am able to resolve to ns1.netcloudjobs.com
I have only 1 IP address that x.x.x.43 , so I can not use x.x.x.44

>From my dedicated server, if I ping to www.netcloudjobs.com , it says

*[root@ip-173-201-189-43 named]# ping www.netcloudjobs.com
PING www.netcloudjobs.com (173.201.189.43) 56(84) bytes of data.
^C
--- www.netcloudjobs.com ping statistics ---
3 packets transmitted, 0 received, 100% packet loss, time 2217ms*

But if ping to netcloudjobs.com, it says

[root@ip-173-201-189-43 named]#

*[root@ip-173-201-189-43 named]# ping netcloudjobs.com
ping: unknown host netcloudjobs.com
[root@ip-173-201-189-43 named]#
*
My corresponding zone file looks as below
*
*
*[root@ip-173-201-189-43 named]# vi netcloudjobs.com.fwd
$TTL 86400
@   IN  SOA ns1.netcloudjobs.com. root.netcloudjobs.com. (
2041071002  ;Serial
3600;Refresh
1800;Retry
604800  ;Expire
86400   ;Minimum TTL
)

@   IN  NS  ns1.netcloudjobs.com.
@   IN  NS  ns2.netcloudjobs.com.
@   IN  MX   0  mail.netcloudjobs.com.

ns1 IN  A   173.201.189.43
ns2 IN  A   173.201.189.43
www IN  A   173.201.189.43
mailIN  A   173.201.189.43
~
*
 Can somebody kindly tell me what I need to do so that, from my dedicated
server I can ping to netcloudjobs.com

Best regards
Austin





On Sun, Mar 10, 2013 at 6:47 PM, Robert Moskowitz wrote:

>
> On 03/10/2013 07:57 AM, Austin Einter wrote:
>
>> Dear All
>> I have a CentOS 6.3 machine. I am trying to setup DNS BIND setup in that
>> machine. It is having a static global IP. I have done lot of reading ,
>> google search and tried all possible option, but still not able to resolve
>> the issue.
>>
>> My named.conf looks as below.
>>
>> *
>> *
>>
>> *
>> // named.conf
>> //
>> // Provided by Red Hat bind package to configure the ISC BIND named(8) DNS
>> // server as a caching only nameserver (as a localhost DNS resolver only).
>> //
>> // See /usr/share/doc/bind*/sample/ for example named configuration files.
>> //
>>
>> options {
>>  listen-on port 53 { 127.0.0.1; 10.0.0.1; };
>>  listen-on-v6 port 53 { ::1; };
>>  directory   "/var/named";
>>  dump-file   "/var/named/data/cache_dump.**db";
>>  query-source address * port 53;
>>  statistics-file "/var/named/data/named_stats.**txt";
>>  memstatistics-file "/var/named/data/named_mem_**stats.txt";
>>  allow-query { localhost; 10.0.0.1/24; 10.0.0.254/24; };
>>  recursion yes;
>>  dnssec-enable yes;
>>  dnssec-validation yes;
>>  dnssec-lookaside auto;
>>
>>  /* Path to ISC DLV key */
>>  bindkeys-file "/etc/named.iscdlv.key";
>>
>>  managed-keys-directory "/var/named/dynamic";
>> };
>>
>> logging {
>>  channel default_debug {
>>  file "data/named.run";
>>  severity dynamic;
>>  };
>> };
>>
>> zone "." IN {
>>  type hint;
>>  file "named.ca";
>> };zone "netcloudjobs.com" {
>>  type master;
>>  file "netcloudjobs.com.fwd";
>>  allow-update { none; };
>> };
>>
>
> Who is your registrar for netcloudjobs.com and have they listed your two
> servers and their IP addresses?
>
>
>  zone "189.201.173.in-addr.arpa"  {
>>  type master;
>>  file "netcloudjobs.com.rev";
>>  allow-update { none; };
>> };
>>
>> include "/etc/named.rfc1912.zones";
>> include "/etc/named.root.key";
>> *
>> Next my forward zone file looks as below
>> *
>> $TTL 86400
>> @   IN  SOA ns1.netcloudjobs.com. root.netcloudjobs.com.
>> (
>>  2021071001  ;Serial
>>  3600;Refresh
>>  1800;Retry
>>  604800  ;Expire
>>  86400   ;Minimum TTL
>> )
>>
>> @   IN  NS  ns1.netcloudjobs.com.
>> @   IN  NS  ns2.netcloudjobs.com.
>>
>> ns1 IN  A   173.201.189.43
>> ns2 IN  A   173.201.189.43
>>
>
> .44?
>
>  *
>> And my reverse zone file looks as
>>
>>
>> *$TTL 86400
>>
>> @  IN SOA ns1.netcloudjobs.com. root.netcloudjobs.com. (
>>  2021071001  ;Serial
>>  3600;Refresh
>>  1800;Retry
>>  604800  ;Expire
>>  86400   ;Minimum TTL
>> )
>>
>> @   IN  NS  ns1.netcloudjobs.com.
>> @   IN  NS  ns2.netcloudjobs.com.
>> ns1 IN  A   173.201.189.43
>> ns2 IN  A   173.201.189.43
>>
>
> .44?
>
>
>  43  IN  PTR ns1.netcloudjobs.com.
>> 44  IN  PTR ns2.netcloudjobs.com.
>> *
>> I hope I am doing something wrong with configuration. I have done this
>> since more than 60 hours. Still I am not able to resolve
>> ns1.netcloudjobs.com.
>>
>
>
>
__

Re: [CentOS] CentOS 6.4 Release Date.

2013-03-10 Thread Johnny Hughes
On 03/09/2013 01:54 PM, Scott Robbins wrote:
> On Sat, Mar 09, 2013 at 09:41:12AM -0600, Johnny Hughes wrote:
>
>>> On 03/08/2013 04:49 PM, Johnny Hughes wrote:
 On 03/08/2013 11:30 AM, Kaushal Shriyan wrote:


>>> I just checked the mirrors this morning and nothing has shown up for 6.4.
>>>
>>> Did something major delay the release?
>> What mirrors .. 6.4 has been released for several hours.
>>
> FWIW, I've been running CR and haven't seen much--however, I was surprised
> that I hadn't seen redhat-release rpm.  So, I ran yum clean all, and then
> got a bunch of updates for 6.4.

We don't release redhat-release in CentOS at all ... we have
centos-release instead.

We also don't release centos-release into CR, only in the new version's
main tree.  Anaconda (the package that installs CentOS) and
centos-release are the only packages from the new version that normally
are not installed in the CR.  Getting a new centos-release is how you
know you are updated to 6.4 and not running 6.3/CR.

In this case, there were a couple of other packages in 6.4 on release
day that were not released into 6.3/CR, but this is because the packages
are updates to 6.4 and were released the same day we released 6.4.  They
are:

ipa-3.0.0-26.el6_4.2.src.rpm
qemu-kvm-0.12.1.2-2.355.el6_4.2.src.rpm
ruby-1.8.7.352-10.el6_4.src.rpm
tzdata-2012j-2.el6.src.rpm
xulrunner-17.0.3-2.el6.centos.src.rpm

The reason these did not go into 6.3/CR is that CentOS 6.4 was released
before we built them. Since CentOS-6.4 is released, there will be no
more updates posted in 6.3 CR.

This would mean that if you were on a fully updated 6.3/CR and upgraded
to 6.4, you would expect to see all the RPMS associated with the above 5
SRPMS, as well as centos-release and anaconda.

Thanks,
Johnny Hughes



signature.asc
Description: OpenPGP digital signature
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] BIND Setup Issue

2013-03-10 Thread Robert Moskowitz

On 03/10/2013 07:57 AM, Austin Einter wrote:
> Dear All
> I have a CentOS 6.3 machine. I am trying to setup DNS BIND setup in that
> machine. It is having a static global IP. I have done lot of reading ,
> google search and tried all possible option, but still not able to resolve
> the issue.
>
> My named.conf looks as below.
>
> *
> *
> *
> // named.conf
> //
> // Provided by Red Hat bind package to configure the ISC BIND named(8) DNS
> // server as a caching only nameserver (as a localhost DNS resolver only).
> //
> // See /usr/share/doc/bind*/sample/ for example named configuration files.
> //
>
> options {
>  listen-on port 53 { 127.0.0.1; 10.0.0.1; };
>  listen-on-v6 port 53 { ::1; };
>  directory   "/var/named";
>  dump-file   "/var/named/data/cache_dump.db";
>  query-source address * port 53;
>  statistics-file "/var/named/data/named_stats.txt";
>  memstatistics-file "/var/named/data/named_mem_stats.txt";
>  allow-query { localhost; 10.0.0.1/24; 10.0.0.254/24; };
>  recursion yes;
>  dnssec-enable yes;
>  dnssec-validation yes;
>  dnssec-lookaside auto;
>
>  /* Path to ISC DLV key */
>  bindkeys-file "/etc/named.iscdlv.key";
>
>  managed-keys-directory "/var/named/dynamic";
> };
>
> logging {
>  channel default_debug {
>  file "data/named.run";
>  severity dynamic;
>  };
> };
>
> zone "." IN {
>  type hint;
>  file "named.ca";
> };zone "netcloudjobs.com" {
>  type master;
>  file "netcloudjobs.com.fwd";
>  allow-update { none; };
> };

Who is your registrar for netcloudjobs.com and have they listed your two 
servers and their IP addresses?

> zone "189.201.173.in-addr.arpa"  {
>  type master;
>  file "netcloudjobs.com.rev";
>  allow-update { none; };
> };
>
> include "/etc/named.rfc1912.zones";
> include "/etc/named.root.key";
> *
> Next my forward zone file looks as below
> *
> $TTL 86400
> @   IN  SOA ns1.netcloudjobs.com. root.netcloudjobs.com. (
>  2021071001  ;Serial
>  3600;Refresh
>  1800;Retry
>  604800  ;Expire
>  86400   ;Minimum TTL
> )
>
> @   IN  NS  ns1.netcloudjobs.com.
> @   IN  NS  ns2.netcloudjobs.com.
>
> ns1 IN  A   173.201.189.43
> ns2 IN  A   173.201.189.43

.44?

> *
> And my reverse zone file looks as
>
>
> *$TTL 86400
> @  IN SOA ns1.netcloudjobs.com. root.netcloudjobs.com. (
>  2021071001  ;Serial
>  3600;Refresh
>  1800;Retry
>  604800  ;Expire
>  86400   ;Minimum TTL
> )
>
> @   IN  NS  ns1.netcloudjobs.com.
> @   IN  NS  ns2.netcloudjobs.com.
> ns1 IN  A   173.201.189.43
> ns2 IN  A   173.201.189.43

.44?

> 43  IN  PTR ns1.netcloudjobs.com.
> 44  IN  PTR ns2.netcloudjobs.com.
> *
> I hope I am doing something wrong with configuration. I have done this
> since more than 60 hours. Still I am not able to resolve
> ns1.netcloudjobs.com.


___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] CentOS 5 sshd does not log IP address of reverse mapping failure [solved, I guess]

2013-03-10 Thread Tilman Schmidt
Am 10.03.2013 03:01, schrieb Les Mikesell:
> On Sat, Mar 9, 2013 at 11:57 AM, Tilman Schmidt
>  wrote:
>>
>> Mar  3 04:44:48 gimli sshd[12870]: reverse mapping checking getaddrinfo
>> for hn.ly.kd.adsl failed - POSSIBLE BREAK-IN ATTEMPT!
>> Mar  3 04:44:49 gimli sshd[12871]: Received disconnect from
>> 61.163.113.72: 11: Bye Bye
>>
>> If I set "UseDNS no" the first message disappears and only the second
>> one remains.
>>
>> So it seems there is no way to identify password bruteforcing attempts
>> on servers which don't accept password authentication in the first
>> place.
> 
> Can't you pick some reasonable number of 'received disconnect'
> messages to allow from a single IP?

Yes, I think that should work. I was worried that "received disconnect"
messages might also appear for legitimate connections, but looking
through my logs it seems that they don't.

I have set it up as a test on one of my servers with a threshold of 15
attempts in 1000 secs now to see how it will fare.

Thanks,
Tilman

-- 
Tilman Schmidt
Phoenix Software GmbH
Bonn, Germany



signature.asc
Description: OpenPGP digital signature
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] selinux + kvm virtualization + smartd problem

2013-03-10 Thread Ilyas --
Dear Daniel,

> BTW This will be fixed in the RHEL6.4 version of policy.

is new policy already available in rhel6.4?

On Mon, Jan 14, 2013 at 9:33 PM, Daniel J Walsh  wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> On 01/12/2013 07:35 AM, Ilyas -- wrote:
>> Hello,
>>
>> I'm using HP homeserver where host system run CentOS 6.3 with KVM
>> virtualization with SELinux enabled, guests too run the same OS (but
>> without SELinux, but this does not matter).
>>
>> Host system installed on mirrors based on sda and sdb physical disks.
>> sd{c..f} disks attached to KVM guest (whole disks, not partitions; needed
>> to use zfs (zfsonlinux) benefit features). Problem is that disks (files in
>> /dev) which attached to KVM guest has SELinux context which inaccessible
>> from context of smartd process.
>>
>> [r...@srv-1.home ~]# ls -laZ /dev/sd{a..f} brw-rw. root disk
>> system_u:object_r:fixed_disk_device_t:s0 /dev/sda brw-rw. root disk
>> system_u:object_r:fixed_disk_device_t:s0 /dev/sdb brw-rw. qemu qemu
>> system_u:object_r:svirt_image_t:s0:c281,c675 /dev/sdc brw-rw. qemu qemu
>> system_u:object_r:svirt_image_t:s0:c281,c675 /dev/sdd brw-rw. qemu qemu
>> system_u:object_r:svirt_image_t:s0:c281,c675 /dev/sde brw-rw. qemu qemu
>> system_u:object_r:svirt_image_t:s0:c281,c675 /dev/sdf
>>
>> [r...@srv-1.home ~]# ps axwZ | grep smart[d]
>> system_u:system_r:fsdaemon_t:s0  1762 ?S  0:00 /usr/sbin/smartd
>> -q never
>>
>> When I restarts smartd next messages appears in audit.log: [r...@srv-1.home
>> ~]# tail -F /var/log/audit/audit.log   | grep type=AVC type=AVC
>> msg=audit(1357993548.964:8529): avc:  denied  { getattr } for pid=21321
>> comm="smartd" path="/dev/sdc" dev=devtmpfs ino=6327
>> scontext=unconfined_u:system_r:fsdaemon_t:s0
>> tcontext=system_u:object_r:svirt_image_t:s0:c281,c675 tclass=blk_file
>> type=AVC msg=audit(1357993548.965:8530): avc:  denied  { getattr } for
>> pid=21321 comm="smartd" path="/dev/sdd" dev=devtmpfs ino=6321
>> scontext=unconfined_u:system_r:fsdaemon_t:s0
>> tcontext=system_u:object_r:svirt_image_t:s0:c281,c675 tclass=blk_file
>> type=AVC msg=audit(1357993548.966:8531): avc:  denied  { getattr } for
>> pid=21321 comm="smartd" path="/dev/sde" dev=devtmpfs ino=6324
>> scontext=unconfined_u:system_r:fsdaemon_t:s0
>> tcontext=system_u:object_r:svirt_image_t:s0:c281,c675 tclass=blk_file
>> type=AVC msg=audit(1357993548.966:8532): avc:  denied  { getattr } for
>> pid=21321 comm="smartd" path="/dev/sdf" dev=devtmpfs ino=6330
>> scontext=unconfined_u:system_r:fsdaemon_t:s0
>> tcontext=system_u:object_r:svirt_image_t:s0:c281,c675 tclass=blk_file
>> type=AVC msg=audit(1357993549.198:8533): avc:  denied  { read } for
>> pid=21321 comm="smartd" name="sdc" dev=devtmpfs ino=6327
>> scontext=unconfined_u:system_r:fsdaemon_t:s0
>> tcontext=system_u:object_r:svirt_image_t:s0:c281,c675 tclass=blk_file
>> type=AVC msg=audit(1357993549.198:8534): avc:  denied  { read } for
>> pid=21321 comm="smartd" name="sdd" dev=devtmpfs ino=6321
>> scontext=unconfined_u:system_r:fsdaemon_t:s0
>> tcontext=system_u:object_r:svirt_image_t:s0:c281,c675 tclass=blk_file
>> type=AVC msg=audit(1357993549.198:8535): avc:  denied  { read } for
>> pid=21321 comm="smartd" name="sde" dev=devtmpfs ino=6324
>> scontext=unconfined_u:system_r:fsdaemon_t:s0
>> tcontext=system_u:object_r:svirt_image_t:s0:c281,c675 tclass=blk_file
>> type=AVC msg=audit(1357993549.198:8536): avc:  denied  { read } for
>> pid=21321 comm="smartd" name="sdf" dev=devtmpfs ino=6330
>> scontext=unconfined_u:system_r:fsdaemon_t:s0
>> tcontext=system_u:object_r:svirt_image_t:s0:c281,c675 tclass=blk_file
>>
>> I tried to create SELinux policy using audit2allow: [r...@srv-1.home ~]#
>> cat /var/log/audit/audit.log | grep smartd | audit2allow -M
>> smartd_svirt_image [r...@srv-1.home ~]# semodule -i smartd_svirt_image.pp
>> but it not helped to solve problem.
>>
>> How I can create permissive rule for selinux in my case?
>>
>> Thank you.
>>
> BTW This will be fixed in the RHEL6.4 version of policy.
>
> Now if people would just pay for subscriptions...
>
>
> -BEGIN PGP SIGNATURE-
> Version: GnuPG v1.4.13 (GNU/Linux)
> Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/
>
> iEYEARECAAYFAlD0QU0ACgkQrlYvE4MpobOOMACfQaJuZn+FZ9RQarjU8r8x0cdK
> ch8AoJ1f/srOEgu6dTDKP2m8ow6mQ8ER
> =cCad
> -END PGP SIGNATURE-
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos



-- 
GPG Key ID: 6EC5EB27
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] BIND Setup Issue

2013-03-10 Thread Austin Einter
Dear All
My resolv.conf looks as below

search netcloudjobs.com
nameserver 10.0.0.1
nameserver 8.8.8.8
nameserver 127.0.0.1

I do not have any error logs.

I just did one modification in named.conf.

*allow-query { localhost; 10.0.0.1/24; 10.0.0.254/24; };

*
*Line I modified to

*
*allow-query { any; };*


With this change, now I am able to ping to ns1.netcloudjobs.com . Problem
is 50% resolved.

Kindly guide me if allow-query any is right thing to do or not.

Next, how do I make sure www.netcloudjobs.com should resolve to my IP.

In my BIND server the, the command "dig www.netcloudjobs.com" gives below
output.

[root@ip-173-201-189-43 named]#
[root@ip-173-201-189-43 named]#
[root@ip-173-201-189-43 named]# dig www.netcloudjobs.com

; <<>> DiG 9.8.2rc1-RedHat-9.8.2-0.10.rc1.el6_3.2 <<>> www.netcloudjobs.com
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 16461
;; flags: qr aa rd; QUERY: 1, ANSWER: 1, AUTHORITY: 2, ADDITIONAL: 2
;; WARNING: recursion requested but not available

;; QUESTION SECTION:
;www.netcloudjobs.com.  IN  A

;; ANSWER SECTION:
www.netcloudjobs.com.   86400   IN  A   173.201.189.43

;; AUTHORITY SECTION:
netcloudjobs.com.   86400   IN  NS  ns2.netcloudjobs.com.
netcloudjobs.com.   86400   IN  NS  ns1.netcloudjobs.com.

;; ADDITIONAL SECTION:
ns1.netcloudjobs.com.   86400   IN  A   173.201.189.43
ns2.netcloudjobs.com.   86400   IN  A   173.201.189.43

;; Query time: 0 msec
;; SERVER: 10.0.0.1#53(10.0.0.1)
;; WHEN: Sun Mar 10 06:04:00 2013
;; MSG SIZE  rcvd: 122

[root@ip-173-201-189-43 named]#

Can I assume that my configuration is proper? As just now I am able to ping
ns1.netcloudjobs.com from remote machines, so pinging to
www.netcloudjobs.com will take some more time.

Please guide me...

Austin




On Sun, Mar 10, 2013 at 5:36 PM, Reindl Harald wrote:

>
>
> Am 10.03.2013 12:57, schrieb Austin Einter:
>
> first why do you not post you error-messages
> inputs, outputs or whatever instead only your config?
>
>
> > And my reverse zone file looks as
> >
> > *$TTL 86400
> > @  IN SOA ns1.netcloudjobs.com. root.netcloudjobs.com. (
> > 2021071001  ;Serial
> > 3600;Refresh
> > 1800;Retry
> > 604800  ;Expire
> > 86400   ;Minimum TTL
> > )
> >
> > @   IN  NS  ns1.netcloudjobs.com.
> > @   IN  NS  ns2.netcloudjobs.com.
> > ns1 IN  A   173.201.189.43
> > ns2 IN  A   173.201.189.43
> > 43  IN  PTR ns1.netcloudjobs.com.
> > 44  IN  PTR ns2.netcloudjobs.com.
>
> why does you PTR-file contain A-records?
>
>
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] lost connection during yum update

2013-03-10 Thread Johnny Hughes
On 03/09/2013 09:36 PM, Frank Cox wrote:
> During today's big Centos 6 update I lost my connection to a machine during 
> the
> "yum update" and when I logged back in and ran yum update again it told me to
> run yum-complete-transaction.  When I ran yum-complete-transaction I got
> screen after screen of "x is a duplicate with x" where x consists of a huge
> list of packages.
>
> "package-cleanup --dupes" gives me a huge list of packages.
>
> I think that my next step here should be "package-cleanup --cleandupes" but
> when I do that it tells me that it will remove 800-plus mb of files.  I 
> suppose
> it's the the same list that I get with "package-cleanup --dupes".
>
> Do I want to do this or will that nuke the operating system?  If not, what
> should I be doing?
>

First off ... from now on run yum updates inside a "screen" session. 
Install with:

yum install screen

Here is info on sreen:

http://library.linode.com/linux-tools/utilities/screen

At this point you will need to clean up before you install screen.  You
might first try the utility yum-complete-transaction:

http://www.vmadmin.co.uk/linux/44-redhat/209-linuxyumcomptrans

As soon as you get the transaction completed, install screen and ALWAYS
do yum updates in a screen or vnc session so that the transaction will
complete if you drop the connection.



signature.asc
Description: OpenPGP digital signature
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] lost connection during yum update

2013-03-10 Thread Scot P. Floess

For whatever it's worth - I yum update'd two VMs without any trouble 
whatsoever (from 6.3 to 6.4) and am in the process of updating a laptop...
Not that it should matter but they are both guests running on a CentOS 5.9 
Xen host.

I'm in the process of updating a laptop - I'm hoping it works too...

On Sun, 10 Mar 2013, Frank Cox wrote:

> Well, this is interesting.  I have three systems, all of which now have the
> same problem.
>
> I was running "yum update" on these machines via a vnc connection (running a
> vnc desktop on one of them, and logging into the others with a a
> gnome-terminal on my vnc desktop), when my vnc desktop suddenly "went away" 
> for
> some reason.  And that killed the "yum update" jobs on the computers.
>
> Subsequent to that, I logged back into the machines and ran yum update again. 
> It
> told me to run yum-complete-transaction.  When I ran yum-complete-transaction 
> I
> got screen after screen of "x is a duplicate with x" where x consists of a 
> huge
> list of packages.
>
> I then ran "package-cleanup --cleandupes" and then ran "yum update" again and
> all appeared to be well.  "yum update" completed without error and I thought I
> was home free.
>
> I then rebooted the machines and found out that I'm still out of luck.  After
> the initial grub screen I get this:
>
> Kernel panic - not syncing: VFS: unable to mount root fs on unknown-block(0,0)
> PID: 1,comm: swapper not tainted 2.6.32-358.0.1.el6.i686 #1
> Call trace
>
> Followed by a series of numbers that I can post if they're needed.
>
> I booted one of these machines off of a Centos 6.4 "minimal" CD and ran the
> rescue mode.  It mounted the drive under /mnt/sysimage with no problem.  I
> can see everything on it that I expect to see.
>
> I then booted the CD again and tried running the "upgrade an existing system"
> option, and told it to reinstall the bootloader.  That's about all that it
> appeared to do: "Installing bootloader", then it told me to reboot. Which I 
> did.
>
> And I got the same kernel panic again that I just posted above.
>
> What has gone wrong here and how can I fix it?   All of the data seems to be 
> on
> the drive just like it should be, but it won't boot up.
>
> Again, I have three systems that appear to have exactly the same problem.
>
>
> -- 
> MELVILLE THEATRE ~ Real D 3D Digital Cinema ~ www.melvilletheatre.com
> www.creekfm.com - FIFTY THOUSAND WATTS of POW WOW POWER!
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
>

Scot P. Floess RHCT  (Certificate Number 605010084735240)
Chief Architect FlossWare  http://sourceforge.net/projects/flossware
http://flossware.sourceforge.net
https://github.com/organizations/FlossWare
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] BIND Setup Issue

2013-03-10 Thread Earl Ramirez
On Sun, 2013-03-10 at 17:27 +0530, Austin Einter wrote:
> Dear All
> I have a CentOS 6.3 machine. I am trying to setup DNS BIND setup in that
> machine. It is having a static global IP. I have done lot of reading ,
> google search and tried all possible option, but still not able to resolve
> the issue.
> 
> My named.conf looks as below.
> 
> *
> *
> *
> // named.conf
> //
> // Provided by Red Hat bind package to configure the ISC BIND named(8) DNS
> // server as a caching only nameserver (as a localhost DNS resolver only).
> //
> // See /usr/share/doc/bind*/sample/ for example named configuration files.
> //
> 
> options {
> listen-on port 53 { 127.0.0.1; 10.0.0.1; };
> listen-on-v6 port 53 { ::1; };
> directory   "/var/named";
> dump-file   "/var/named/data/cache_dump.db";
> query-source address * port 53;
> statistics-file "/var/named/data/named_stats.txt";
> memstatistics-file "/var/named/data/named_mem_stats.txt";
> allow-query { localhost; 10.0.0.1/24; 10.0.0.254/24; };
> recursion yes;
> dnssec-enable yes;
> dnssec-validation yes;
> dnssec-lookaside auto;
> 
> /* Path to ISC DLV key */
> bindkeys-file "/etc/named.iscdlv.key";
> 
> managed-keys-directory "/var/named/dynamic";
> };
> 
> logging {
> channel default_debug {
> file "data/named.run";
> severity dynamic;
> };
> };
> 
> zone "." IN {
> type hint;
> file "named.ca";
> };zone "netcloudjobs.com" {
> type master;
> file "netcloudjobs.com.fwd";
> allow-update { none; };
> };
> 
> zone "189.201.173.in-addr.arpa"  {
> type master;
> file "netcloudjobs.com.rev";
> allow-update { none; };
> };
> 
> include "/etc/named.rfc1912.zones";
> include "/etc/named.root.key";
> *
> Next my forward zone file looks as below
> *
> $TTL 86400
> @   IN  SOA ns1.netcloudjobs.com. root.netcloudjobs.com. (
> 2021071001  ;Serial
> 3600;Refresh
> 1800;Retry
> 604800  ;Expire
> 86400   ;Minimum TTL
> )
> 
> @   IN  NS  ns1.netcloudjobs.com.
> @   IN  NS  ns2.netcloudjobs.com.
> 
> ns1 IN  A   173.201.189.43
> ns2 IN  A   173.201.189.43
> *
> And my reverse zone file looks as
> 
> 
> *$TTL 86400
> @  IN SOA ns1.netcloudjobs.com. root.netcloudjobs.com. (
> 2021071001  ;Serial
> 3600;Refresh
> 1800;Retry
> 604800  ;Expire
> 86400   ;Minimum TTL
> )
> 
> @   IN  NS  ns1.netcloudjobs.com.
> @   IN  NS  ns2.netcloudjobs.com.
> ns1 IN  A   173.201.189.43
> ns2 IN  A   173.201.189.43
> 43  IN  PTR ns1.netcloudjobs.com.
> 44  IN  PTR ns2.netcloudjobs.com.
> *
> I hope I am doing something wrong with configuration. I have done this
> since more than 60 hours. Still I am not able to resolve
> ns1.netcloudjobs.com.
> 
> Can somebody help here.
> 
> Best Regards
> Austin
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
Austin,

What is the DNS server that you are pointing to in /etc/resolv.conf
-- 


Kind Regards
Earl Ramirez
GPG Key: http://trinipino.com/PublicKey.asc


signature.asc
Description: This is a digitally signed message part
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] BIND Setup Issue

2013-03-10 Thread Austin Einter
Dear All
I have a CentOS 6.3 machine. I am trying to setup DNS BIND setup in that
machine. It is having a static global IP. I have done lot of reading ,
google search and tried all possible option, but still not able to resolve
the issue.

My named.conf looks as below.

*
*
*
// named.conf
//
// Provided by Red Hat bind package to configure the ISC BIND named(8) DNS
// server as a caching only nameserver (as a localhost DNS resolver only).
//
// See /usr/share/doc/bind*/sample/ for example named configuration files.
//

options {
listen-on port 53 { 127.0.0.1; 10.0.0.1; };
listen-on-v6 port 53 { ::1; };
directory   "/var/named";
dump-file   "/var/named/data/cache_dump.db";
query-source address * port 53;
statistics-file "/var/named/data/named_stats.txt";
memstatistics-file "/var/named/data/named_mem_stats.txt";
allow-query { localhost; 10.0.0.1/24; 10.0.0.254/24; };
recursion yes;
dnssec-enable yes;
dnssec-validation yes;
dnssec-lookaside auto;

/* Path to ISC DLV key */
bindkeys-file "/etc/named.iscdlv.key";

managed-keys-directory "/var/named/dynamic";
};

logging {
channel default_debug {
file "data/named.run";
severity dynamic;
};
};

zone "." IN {
type hint;
file "named.ca";
};zone "netcloudjobs.com" {
type master;
file "netcloudjobs.com.fwd";
allow-update { none; };
};

zone "189.201.173.in-addr.arpa"  {
type master;
file "netcloudjobs.com.rev";
allow-update { none; };
};

include "/etc/named.rfc1912.zones";
include "/etc/named.root.key";
*
Next my forward zone file looks as below
*
$TTL 86400
@   IN  SOA ns1.netcloudjobs.com. root.netcloudjobs.com. (
2021071001  ;Serial
3600;Refresh
1800;Retry
604800  ;Expire
86400   ;Minimum TTL
)

@   IN  NS  ns1.netcloudjobs.com.
@   IN  NS  ns2.netcloudjobs.com.

ns1 IN  A   173.201.189.43
ns2 IN  A   173.201.189.43
*
And my reverse zone file looks as


*$TTL 86400
@  IN SOA ns1.netcloudjobs.com. root.netcloudjobs.com. (
2021071001  ;Serial
3600;Refresh
1800;Retry
604800  ;Expire
86400   ;Minimum TTL
)

@   IN  NS  ns1.netcloudjobs.com.
@   IN  NS  ns2.netcloudjobs.com.
ns1 IN  A   173.201.189.43
ns2 IN  A   173.201.189.43
43  IN  PTR ns1.netcloudjobs.com.
44  IN  PTR ns2.netcloudjobs.com.
*
I hope I am doing something wrong with configuration. I have done this
since more than 60 hours. Still I am not able to resolve
ns1.netcloudjobs.com.

Can somebody help here.

Best Regards
Austin
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] CentOs 6.4 and video drivers

2013-03-10 Thread Ned Slider
On 10/03/13 01:24, Yves Bellefeuille wrote:
> Akemi Yagi wrote:
>
>> Depend on how "new" your card is. :)
>
> HD 4800 series, RV770
>
>   >  More details are in this ELRepo bug report:
>>
>>   http://elrepo.org/bugs/view.php?id=355
>
> So I guess I should try enabling the testing repository. Thanks.
>
> Yves Bellefeuille
>
>

Unfortunately older Radeon HD 4000, HD 3000, HD 2000 Series are NOT 
currently supported as the current AMD driver does NOT support the new 
version of Xorg in 6.4.

So your HD 4800 series is NOT supported.

Radeon HD 7000, HD 6000, HD 5000 Series ARE supported by the version 
13.1 driver currently in the testing repo. I've had a couple of reports 
that this driver works so I'll move it to the main repo shortly. If you 
have supporting hardware I would recommend updating to this driver 
before performing the 6.4 update.



___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Wireless cannot ping gateway after 6.3 CR updates

2013-03-10 Thread Ljubomir Ljubojevic
On 03/06/2013 07:19 PM, b.j. mcclure wrote:
> On Wed, 2013-03-06 at 13:06 -0500, b.j. mcclure wrote:
>
>> I'm having a wireless connection issue with an HP laptop and a Zotac
>> media server after the 6.4 package updates from CR repository.  Nothing
>> changed with wireless config as far as I can tell.  Both have been
>> working fine with previous releases of 6.x.
>>
>> Oddly, if a cat 5 cable is connected for a few seconds and then
>> disconnected the wireless works fine and survives a 'service network
>> restart' but does not survive a reboot.  A laptop running Ubuntu 12.04
>> continues to connect normally.
>>
>> The boxes in question appear to connect to the router/accesspoint, are
>> assigned correct static IPs, but cannot ping any box on the intranet
>> including the router.  No other boxes on the intranet can ping the hp or
>> zotac, Once a network cable is inserted and removed all is well with
>> that box. The zotac box uses the ath9k wireless driver, the HP uses b43.
>> Same result using DHCP instead of static IP.
>>
>> Output of iwconfig appears normal on both errant boxes and does not
>> change from non-working to working state.
>>
>> Google has not been much help.  FWIW, here is output of iwconfig and
>> ifconfig.
>>
>> ~]$ ifconfig
>> eth0  Link encap:Ethernet  HWaddr 00:01:2E:BC:74:14
>>inet6 addr: fe80::201:2eff:febc:7414/64 Scope:Link
>>UP BROADCAST MULTICAST  MTU:1500  Metric:1
>>RX packets:0 errors:0 dropped:0 overruns:0 frame:0
>>TX packets:9 errors:0 dropped:0 overruns:0 carrier:0
>>collisions:0 txqueuelen:1000
>>RX bytes:0 (0.0 b)  TX bytes:1249 (1.2 KiB)
>>
>> loLink encap:Local Loopback
>>inet addr:127.0.0.1  Mask:255.0.0.0
>>inet6 addr: ::1/128 Scope:Host
>>UP LOOPBACK RUNNING  MTU:16436  Metric:1
>>RX packets:89 errors:0 dropped:0 overruns:0 frame:0
>>TX packets:89 errors:0 dropped:0 overruns:0 carrier:0
>>collisions:0 txqueuelen:0
>>RX bytes:8807 (8.6 KiB)  TX bytes:8807 (8.6 KiB)
>>
>> wlan0 Link encap:Ethernet  HWaddr 74:F0:6D:8C:FE:CF
>>inet addr:192.168.1.208  Bcast:192.168.1.255
>> Mask:255.255.255.0
>>inet6 addr: fe80::76f0:6dff:fe8c:fecf/64 Scope:Link
>>UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
>>RX packets:732 errors:0 dropped:0 overruns:0 frame:0
>>TX packets:79 errors:0 dropped:0 overruns:0 carrier:0
>>collisions:0 txqueuelen:1000
>>RX bytes:107489 (104.9 KiB)  TX bytes:9217 (9.0 KiB)
>>
>> [LSF@nra ~]$ iwconfig
>> lono wireless extensions.
>>
>> eth0  no wireless extensions.
>>
>> wlan0 IEEE 802.11bgn  ESSID:"toadnet"
>>Mode:Managed  Frequency:2.437 GHz  Access Point:
>> 00:24:93:38:89:80
>>Bit Rate=54 Mb/s   Tx-Power=15 dBm
>>Retry  long limit:7   RTS thr:off   Fragment thr:off
>>Power Management:on
>>Link Quality=70/70  Signal level=-28 dBm
>>Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
>>Tx excessive retries:0  Invalid misc:29   Missed beacon:0
>>
>> Any thoughts appreciated.
>>
>> B.J.
>>
>> CentOS release 6.3 (Final)
>
> Replying to my own post, I forgot to mention I have tried several USB
> wireless adapters on both boxes with same results as onboard adapter,
> booted previous 2.6.32-279 kernel instead of 2.6.32-358 and disabled
> Network Manager with no change in behavior.
>
> B.J.
>
>
>
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
>
>
Try service NetworkManager restart, and see how that goes. Or try 
"disconnect" for wireless and connect again.
Also, do you have wpa security? Maybe downgrade wpasupplicant (or what 
ever actual package is in charge)?
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] lost connection during yum update

2013-03-10 Thread Ljubomir Ljubojevic
On 03/10/2013 07:47 AM, Frank Cox wrote:
> Well, this is interesting.  I have three systems, all of which now have the
> same problem.
>
> I was running "yum update" on these machines via a vnc connection (running a
> vnc desktop on one of them, and logging into the others with a a
> gnome-terminal on my vnc desktop), when my vnc desktop suddenly "went away" 
> for
> some reason.  And that killed the "yum update" jobs on the computers.
>
> Subsequent to that, I logged back into the machines and ran yum update again. 
> It
> told me to run yum-complete-transaction.  When I ran yum-complete-transaction 
> I
> got screen after screen of "x is a duplicate with x" where x consists of a 
> huge
> list of packages.
>
> I then ran "package-cleanup --cleandupes" and then ran "yum update" again and
> all appeared to be well.  "yum update" completed without error and I thought I
> was home free.
>
> I then rebooted the machines and found out that I'm still out of luck.  After
> the initial grub screen I get this:
>
> Kernel panic - not syncing: VFS: unable to mount root fs on unknown-block(0,0)
> PID: 1,comm: swapper not tainted 2.6.32-358.0.1.el6.i686 #1
> Call trace
>
> Followed by a series of numbers that I can post if they're needed.
>
> I booted one of these machines off of a Centos 6.4 "minimal" CD and ran the
> rescue mode.  It mounted the drive under /mnt/sysimage with no problem.  I
> can see everything on it that I expect to see.
>
> I then booted the CD again and tried running the "upgrade an existing system"
> option, and told it to reinstall the bootloader.  That's about all that it
> appeared to do: "Installing bootloader", then it told me to reboot. Which I 
> did.
>
> And I got the same kernel panic again that I just posted above.
>
> What has gone wrong here and how can I fix it?   All of the data seems to be 
> on
> the drive just like it should be, but it won't boot up.
>
> Again, I have three systems that appear to have exactly the same problem.
>
>
Try chroot from minimal CD onto the systems and use "yum history" to see 
what happened and "yum history undo "
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] CentOS 6.4 Release Date.

2013-03-10 Thread Ljubomir Ljubojevic
On 03/09/2013 04:41 PM, Johnny Hughes wrote:
> On 03/09/2013 09:16 AM, Gerry Reno wrote:
>> On 03/08/2013 04:49 PM, Johnny Hughes wrote:
>>> On 03/08/2013 11:30 AM, Kaushal Shriyan wrote:
 Hi,

 Any date planned to release CentOS 6.4 as GA release?
>>> The release will be today .. likely in less than 2 hours from now.
>>>
>>>
>> I just checked the mirrors this morning and nothing has shown up for 6.4.
>>
>> Did something major delay the release?
> What mirrors .. 6.4 has been released for several hours.

An user pointed out that some mirrors have 6.4 files few days ago, so I 
checked. I started from US mirror list from the top,  and in first 10-15 
mirrors about 1/3 had 6.4 folder, with 3 distinct dates, March 6th, 
March 7th (same time, timezone diff maybe) and I think some where even 
March 8th.

I though I posted query about it in CentOS-devel list, but it managed to 
sent it from my main mail account, that I do not use for mailing lists 
any more, so it got rejected.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Apache setup problems

2013-03-10 Thread Bruce Whealton
I am using http://www.dnsdynamic.org/ for the subdomain
fwwebdev.dnsdynamic.com and I changed from http://freedns.afraid.org/ to 
dnsexit.com for the domain futurewavewebdevelopment.com since the servers at
afraid.org seemed to have stopped forwarding the domain.  
So, it works, except for the php part.  I made the files executable.  
What I mean by the php part doesn't work is that it is just being thrown
out.  There is no attempt to process it as php.  I think I mentioned
elsewhere that
the php was installed using yum.
Thanks,
Bruce

-Original Message-
From: centos-boun...@centos.org [mailto:centos-boun...@centos.org] On Behalf
Of Max Pyziur
Sent: Saturday, March 09, 2013 3:22 PM
To: CentOS mailing list
Subject: Re: [CentOS] Apache setup problems

On Fri, 8 Mar 2013, Bruce Whealton wrote:

> Hello,
> I am having a hard time figuring out why I am getting a 404 
> Forbidden error when I try to browse to my site.  I moved the site root to
be here:
> /home/www
> I registered two domains with dynamic dns services online.  So, one 
> domain I have is futurewavewebdevelopment.com and another is 
> fwwebdev.dnsdynamic.com After my most recent update to the httpd.conf 
> file, these domains are not working.  It was going to a starter page in
the /var/html directory.
> I thought that what I need to do is create folders for each domain 
> like
> this:
> /home/www/futurewavewebdevelopment.com/public_html
> and /home/www/fwwebdev.dnsdynamic.com/public_html
> I thought, I'd put the public files for the domains inside the 
> public_html folder.
> I changed the permissions to give each of these at least read permission.
> The domain futurewavewebdevelopment.com does not appear to be going to 
> my ip any longer.

I'm curious on your dynamic dns setup:
  - are you using ddclient? or something else?
  - which registrar server are you using, zoneedit or someone else?
  - any other details that you can provide on the setup

Thanks.

Max Pyziur
p...@brama.com

> Anyway, I have my httpd.conf file in the following pastbin:
> http://pastebin.com/qXVLJw0P
>
> I know that is a security risk, so I'll be sure to remove it very soon.
> Can someone tell me what I need to do to make this work.
> Thanks,
> Bruce
>
> ___
> Bruce Whealton - Web Design/Development/Programming Future Wave Web 
> Development:
> http://futurewaveonline.com
> Developing for the Desktop as well as for Mobile Devices - 
> Smartphones/Tablets Call 919-636-5809 
> ___
>
>
>
>
>
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos