Re: [CentOS] OT Strange IP address on home network

2015-11-01 Thread ken

On 10/30/2015 09:01 AM, Timothy Murphy wrote:

Johnny Hughes wrote:


So I guess the strange IP address probably comes from some Lite-On device
somewhere in my house - maybe on the server itself, an HP MicroServer.
There are so many possible electronic culprits today.



You should be able to use nmap to scan the device.


Thanks very much for the suggestion, I'll try that.

I've been surprised how much information I get from iptraf-ng,
which I only discovered recently.
I knew about "arp -a", but I'm told I should be using "ip neigh".
However, that doesn't give the name of each device on the network
(if known), as arp does.



Try putting this line

IPV6INIT=no

in the relevant config file, probably something like

/etc/sysconfig/networking/devices/ifcfg-eth?

then restart your network.

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


Re: [CentOS] OT Strange IP address on home network

2015-11-01 Thread Timothy Murphy
ken wrote:

> On 10/30/2015 09:01 AM, Timothy Murphy wrote:

 So I guess the strange IP address probably comes from some Lite-On
 device somewhere in my house - maybe on the server itself, an HP
 MicroServer. There are so many possible electronic culprits today.
>>
>>> You should be able to use nmap to scan the device.
>>
>> Thanks very much for the suggestion, I'll try that.

> Try putting this line
> IPV6INIT=no
> in the relevant config file, probably something like
> /etc/sysconfig/networking/devices/ifcfg-eth?
> then restart your network.

I don't have a directory /etc/sysconfig/networking/ on my CentOS-7 server,
but I have IPV6INIT=no in /etc/sysconfig/network-scripts/ifcfg-enp{23}s0 .

Incidentally, I haven't yet worked out how to get any useful information
from nmap, as suggested by Johnny Hughes - I only get information
about open ports, which is interesting but not relevant to my query
about the 169.254.* address appearing in "arp -a" on my server.
I looked at "man nmap" but there seem to be an infinity of options.


-- 
Timothy Murphy  
gayleard /at/ eircom.net
School of Mathematics, Trinity College, Dublin


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


Re: [CentOS] OT Strange IP address on home network

2015-11-01 Thread zep


On 11/01/2015 07:40 AM, Timothy Murphy wrote:
> ken wrote:
>
>> On 10/30/2015 09:01 AM, Timothy Murphy wrote:
> So I guess the strange IP address probably comes from some Lite-On
> device somewhere in my house - maybe on the server itself, an HP
> MicroServer. There are so many possible electronic culprits today.
 You should be able to use nmap to scan the device.
>>> Thanks very much for the suggestion, I'll try that.
>> Try putting this line
>> IPV6INIT=no
>> in the relevant config file, probably something like
>> /etc/sysconfig/networking/devices/ifcfg-eth?
>> then restart your network.
> I don't have a directory /etc/sysconfig/networking/ on my CentOS-7 server,
> but I have IPV6INIT=no in /etc/sysconfig/network-scripts/ifcfg-enp{23}s0 .
>
> Incidentally, I haven't yet worked out how to get any useful information
> from nmap, as suggested by Johnny Hughes - I only get information
> about open ports, which is interesting but not relevant to my query
> about the 169.254.* address appearing in "arp -a" on my server.
> I looked at "man nmap" but there seem to be an infinity of options.
>
>

assuming nmap says there's a web server running, can you connect to
it?   how did you run nmap against it?   I'd think you would have to
create a dummy interface on the same network range to be able to
communicate to it.I suspect something like a service
processor/ilo/rilo/whatever HP calls their management interface.   
could you have powered the machine up first then waited a little while
before putting network cables in, esp in the one labeled 'mgmt'?

-- 
public gpg key id: 1362BA1A

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


[CentOS-virt] 3.18.21-16 upgrade, kernel panic, unable to mount root fs

2015-11-01 Thread Karel Hendrych
Hi, just a heads-up: 3.18.21 didn't boot up on HP ML310e Gen8 v2, SATA 
drives in AHCI mode, / on software raid 1, no LVM. It ended up in kernel 
panic with unable to mount root fs. Attached. No difference in grub 
kernel/xen settings.


I didn't investigate the things deeper so far. 4.4.3-3/3.18.17 is 
booting fine.


Any similar experience?

BR
--
Karel
___
CentOS-virt mailing list
CentOS-virt@centos.org
https://lists.centos.org/mailman/listinfo/centos-virt


Re: [CentOS] OT Strange IP address on home network

2015-11-01 Thread Timothy Murphy
zep wrote:

>> Incidentally, I haven't yet worked out how to get any useful information
>> from nmap, as suggested by Johnny Hughes - I only get information
>> about open ports, which is interesting but not relevant to my query
>> about the 169.254.* address appearing in "arp -a" on my server.
>> I looked at "man nmap" but there seem to be an infinity of options.

> assuming nmap says there's a web server running, can you connect to
> it?   

Thank you for your response.
However, you would probably have to give specific commands
for me to understand your suggestions.

There is a web server running on my home server "helen" at 192.168.2.5
which I can access with Firefox or Chrome by browsing to "helen".
(The server is accessible remotely at www.gayleard.com .)
How do you suggest I use nmap to find if there is a web server running?
"sudo nmap -v -sn 192.168.0.0/16 10.0.0.0/8" tells me
  Nmap scan report for helen (192.168.2.5)
  Host is up (0.0037s latency).
  MAC Address: 00:1B:21:9F:36:DB (Intel Corporate)
but I already knew that from "arp -a".

> how did you run nmap against it?   I'd think you would have to
> create a dummy interface on the same network range to be able to
> communicate to it.

I'm not sure what that means.

> I suspect something like a service
> processor/ilo/rilo/whatever HP calls their management interface.
> could you have powered the machine up first then waited a little while
> before putting network cables in, esp in the one labeled 'mgmt'?

Again, I'm not sure what you mean.
"sudo locate rilo" doesn't find anything on my HP Microserver,
which is running under CentOS-7.1 .
Does HP have a "management interface" on my server?
What would it be called?


-- 
Timothy Murphy  
gayleard /at/ eircom.net
School of Mathematics, Trinity College, Dublin


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


Re: [CentOS] use pssh to restart a service

2015-11-01 Thread Gordon Messmer

On 10/31/2015 04:16 PM, Tim Dunphy wrote:

Got the same exact message!

Anything else I can try?


I think you need to double-check your sudoers file.  Use the '-i' 
argument to pssh to get more information.


# cat /etc/sudoers.d/gordon
gordonALL=(ALL)NOPASSWD: ALL

$ pssh -h t -i sudo echo true
[1] 16:02:12 [FAILURE] MYHOST Exited with error code 1
Stderr: sudo: sorry, you must have a tty to run sudo



# cat /etc/sudoers.d/gordon
Defaults:gordon!requiretty, visiblepw
gordonALL=(ALL)NOPASSWD: ALL

$ pssh -h t -i sudo echo true
[1] 16:02:30 [SUCCESS] MYHOST
true


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


Re: [CentOS] use pssh to restart a service

2015-11-01 Thread Tim Dunphy
Hey Gordon,

 Sorry, man my bad! Disabling the tty requirement for my sudo user does
indeed work. I had a type-o in the sudoers file, and when I corrected it,
my sudo command via pssh started working!

#pssh -i -h es_list "/bin/sudo  /bin/systemctl restart elasticsearch; sleep
10"
[1] 20:31:32 [SUCCESS] bluethu...@es3.jokefire.com
Stderr: sudo: sorry, you must have a tty to run sudo
[2] 20:31:32 [SUCCESS] bluethu...@es2.jokefire.com
[3] 20:31:32 [SUCCESS] bluethu...@es1.jokefire.com

I'm still getting the 'sorry you must have a tty to run sudo' message
coming from one of the nodes. But the command succeeds so it's no big deal!
Odd tho that one node would be barking about that, considering my
sudoers is distributed via puppet.

Anyway, it's all good as far as I'm concerned. At least this works! I'll
check that 3rd node and see if there's any difference to the sudoers file I
guess.

Thanks for your help!
Tim

On Sun, Nov 1, 2015 at 7:06 PM, Gordon Messmer 
wrote:

> On 10/31/2015 04:16 PM, Tim Dunphy wrote:
>
>> Got the same exact message!
>>
>> Anything else I can try?
>>
>
> I think you need to double-check your sudoers file.  Use the '-i' argument
> to pssh to get more information.
>
> # cat /etc/sudoers.d/gordon
> gordonALL=(ALL)NOPASSWD: ALL
>
> $ pssh -h t -i sudo echo true
> [1] 16:02:12 [FAILURE] MYHOST Exited with error code 1
> Stderr: sudo: sorry, you must have a tty to run sudo
>
>
>
> # cat /etc/sudoers.d/gordon
> Defaults:gordon!requiretty, visiblepw
> gordonALL=(ALL)NOPASSWD: ALL
>
> $ pssh -h t -i sudo echo true
> [1] 16:02:30 [SUCCESS] MYHOST
> true
>
>
>
> ___
> CentOS mailing list
> CentOS@centos.org
> https://lists.centos.org/mailman/listinfo/centos
>



-- 
GPG me!!

gpg --keyserver pool.sks-keyservers.net --recv-keys F186197B
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] OT Strange IP address on home network

2015-11-01 Thread Gordon Messmer

On 11/01/2015 04:40 AM, Timothy Murphy wrote:

I don't have a directory /etc/sysconfig/networking/ on my CentOS-7 server,
but I have IPV6INIT=no in /etc/sysconfig/network-scripts/ifcfg-enp{23}s0 .


You're seeing a strange IPv4 address on your network.  Changing IPv6 
won't affect that in any way, and I recommend leaving IPv6 enabled. If 
nothing else, v6 capable applications work better when you have v6 
connectivity.



Incidentally, I haven't yet worked out how to get any useful information
from nmap, as suggested by Johnny Hughes - I only get information
about open ports, which is interesting but not relevant to my query
about the 169.254.* address appearing in "arp -a" on my server.
I looked at "man nmap" but there seem to be an infinity of options.


I'm not sure if Linux will cache an ARP entry if the host sends an 
unsolicited update, but you normally won't have a route to that address 
to scan it.  Run 'ip route show' to see if you have a route to the 
address you're seeing (the link-local network is 169.254.0.0/16).


If you don't see a direct route, then add an address on your system so 
that you can reach the link-local host:

ip addr add 169.254.192.100/16 dev eth0

Once you have an address on the link-local network, you should be able 
to ping or scan the unknown device.  Use nmap:

nmap -sS -O 169.254.192.123

That command will scan common ports on the unknown device and attempt to 
guess its operating system.

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


Re: [CentOS-virt] 3.18.21-16 upgrade, kernel panic, unable to mount root fs

2015-11-01 Thread Sarah Newman
On 11/01/2015 12:07 PM, Karel Hendrych wrote:
> Hi, just a heads-up: 3.18.21 didn't boot up on HP ML310e Gen8 v2, SATA drives 
> in AHCI mode, / on software raid 1, no LVM. It ended up in kernel panic
> with unable to mount root fs. Attached. No difference in grub kernel/xen 
> settings.
> 
> I didn't investigate the things deeper so far. 4.4.3-3/3.18.17 is booting 
> fine.
> 
> Any similar experience?

Check the module line for the initramfs is present in grub.conf. It's gone 
missing in all our recent upgrades, but I wasn't sure if it was an upstream
problem or our own.

___
CentOS-virt mailing list
CentOS-virt@centos.org
https://lists.centos.org/mailman/listinfo/centos-virt


Re: [CentOS] OT Strange IP address on home network

2015-11-01 Thread John R Pierce

On 11/1/2015 12:59 PM, Timothy Murphy wrote:

Again, I'm not sure what you mean.
"sudo locate rilo" doesn't find anything on my HP Microserver,
which is running under CentOS-7.1 .
Does HP have a "management interface" on my server?
What would it be called?


the "gen0" original microservers with the NxxL "Neo" processors have a 
OPTIONAL remote management card that implments IPMI and iLO.   I don't 
have one in mine.


here's someones blog about bringing his up.
https://www.liquidstate.net/hp-microserver-n40l/

--
john r pierce, recycling bits in santa cruz

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


Re: [CentOS] About ecryptfs-utils

2015-11-01 Thread Sergio Belkin
Thanks everybody!

2015-11-01 19:09 GMT-03:00 Itamar :

> On 10/31/2015 08:24 PM, Sergio Belkin wrote:
> > Hi folks,
> >
> > I've found ecryptfs module into kernel-plus, but ecryptfs-utils is
> missing:
> >
> > [root@centos7 ecryptfs-utils-108]# uname -r
> > 3.10.0-229.14.1.el7.centos.plus.x86_64
> > [root@centos7 ecryptfs-utils-108]# lsmod | grep ecryptfs
> > ecryptfs   85424  0
> >
> > [root@centos7 ecryptfs-utils-108]# yum -q repolist
> > id del repositorio  nombre del
> > repositorio  estado
> > Webmin  Webmin Distribution
> > Neutral   229
> > base/7/x86_64   CentOS-7 -
> > Base 8.652
> > centosplus/7/x86_64 CentOS-7 -
> > Plus63
> > epel/x86_64 Extra Packages for Enterprise
> > Linux 7 - x86_64  8.654
> > extras/7/x86_64 CentOS-7 -
> > Extras 236
> > updates/7/x86_64CentOS-7 -
> > Updates  1.540
> > zfs/x86_64  ZFS on Linux for
> > EL7  145
> > [root@centos7 ecryptfs-utils-108]# LANG=C yum -q search ecryptfs-utils
> > Warning: No matches found for: ecryptfs-utils
> >
> >
> >
> > Just I wonder why these package is not included in any CentOS repo (I
> guess
> > because is not included in upstream), do you know why?
> >
> > Thanks in advance!
> >
> I got the sources from fedora 21 and compiled it in koji.
>
> http://koji.fedoraproject.org/koji/taskinfo?taskID=11667432
>
> the package seems to be retired, you probably should not use it.
> ___
> CentOS mailing list
> CentOS@centos.org
> https://lists.centos.org/mailman/listinfo/centos
>



-- 
--
Sergio Belkin
LPIC-2 Certified - http://www.lpi.org
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS-virt] 3.18.21-16 upgrade, kernel panic, unable to mount root fs

2015-11-01 Thread Karel Hendrych
Indeed, a good catch. Module initramfs line was missing at 3.18.21 grub 
config.


Thanks!
--
Karel

On 1.11.2015 21:46, Sarah Newman wrote:

On 11/01/2015 12:07 PM, Karel Hendrych wrote:

Hi, just a heads-up: 3.18.21 didn't boot up on HP ML310e Gen8 v2, SATA drives 
in AHCI mode, / on software raid 1, no LVM. It ended up in kernel panic
with unable to mount root fs. Attached. No difference in grub kernel/xen 
settings.

I didn't investigate the things deeper so far. 4.4.3-3/3.18.17 is booting fine.

Any similar experience?


Check the module line for the initramfs is present in grub.conf. It's gone 
missing in all our recent upgrades, but I wasn't sure if it was an upstream
problem or our own.

___
CentOS-virt mailing list
CentOS-virt@centos.org
https://lists.centos.org/mailman/listinfo/centos-virt


___
CentOS-virt mailing list
CentOS-virt@centos.org
https://lists.centos.org/mailman/listinfo/centos-virt


Re: [CentOS] OT Strange IP address on home network

2015-11-01 Thread Timothy Murphy
John R Pierce wrote:

> On 11/1/2015 12:59 PM, Timothy Murphy wrote:
>> Again, I'm not sure what you mean.
>> "sudo locate rilo" doesn't find anything on my HP Microserver,
>> which is running under CentOS-7.1 .
>> Does HP have a "management interface" on my server?
>> What would it be called?
> 
> the "gen0" original microservers with the NxxL "Neo" processors have a
> OPTIONAL remote management card that implments IPMI and iLO.   I don't
> have one in mine.
> 
> here's someones blog about bringing his up.
> https://www.liquidstate.net/hp-microserver-n40l/

Thanks for your comment, which led me to recall that
when I started up my two HP Microservers almost 5 years ago
under CentOS-5.5/KDE, I did look at the Remote Access Card.
But I found that after installing an Intel PCIe Ethernet card
there was no room in the rather crowded server for a second PCIe card.


-- 
Timothy Murphy  
gayleard /at/ eircom.net
School of Mathematics, Trinity College, Dublin


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


Re: [CentOS] About ecryptfs-utils

2015-11-01 Thread Itamar
On 10/31/2015 08:24 PM, Sergio Belkin wrote:
> Hi folks,
>
> I've found ecryptfs module into kernel-plus, but ecryptfs-utils is missing:
>
> [root@centos7 ecryptfs-utils-108]# uname -r
> 3.10.0-229.14.1.el7.centos.plus.x86_64
> [root@centos7 ecryptfs-utils-108]# lsmod | grep ecryptfs
> ecryptfs   85424  0
>
> [root@centos7 ecryptfs-utils-108]# yum -q repolist
> id del repositorio  nombre del
> repositorio  estado
> Webmin  Webmin Distribution
> Neutral   229
> base/7/x86_64   CentOS-7 -
> Base 8.652
> centosplus/7/x86_64 CentOS-7 -
> Plus63
> epel/x86_64 Extra Packages for Enterprise
> Linux 7 - x86_64  8.654
> extras/7/x86_64 CentOS-7 -
> Extras 236
> updates/7/x86_64CentOS-7 -
> Updates  1.540
> zfs/x86_64  ZFS on Linux for
> EL7  145
> [root@centos7 ecryptfs-utils-108]# LANG=C yum -q search ecryptfs-utils
> Warning: No matches found for: ecryptfs-utils
>
>
>
> Just I wonder why these package is not included in any CentOS repo (I guess
> because is not included in upstream), do you know why?
>
> Thanks in advance!
>
I got the sources from fedora 21 and compiled it in koji.

http://koji.fedoraproject.org/koji/taskinfo?taskID=11667432

the package seems to be retired, you probably should not use it.
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS-virt] Differences between qemu-kvm and qemu-kvm-ev

2015-11-01 Thread C.L. Martinez

On 10/27/2015 09:16 AM, Sandro Bonazzola wrote:



On Tue, Oct 27, 2015 at 10:01 AM, Nux! > wrote:

Sandro,

Could you please enumerate the actual technical differences between
stock qemu-kvm and qemu-kvm-ev?
For example, what could one do with qemu-kvm-ev that cannot with
qemu-kvm?


Adding people that may give you a better answer than mine.




Any news about this??

___
CentOS-virt mailing list
CentOS-virt@centos.org
https://lists.centos.org/mailman/listinfo/centos-virt