[CentOS] Xen clock drift

2008-01-08 Thread Jack Bailey

Hello All,

Consider a CentOS-5.1 Xen server (2.6.18-53.1.4.el5xen) hosting two 
domains running CentOS-5.1 (2.6.18-53.1.4.el5).  One domain has a fairly 
accurate clock, the other domain has a clock that gains ungodly amounts 
of time, roughly one minute every two or three minutes.  For a fix, one 
suggestion is to run this command in DomU:


echo 1 > /proc/sys/xen/independent_wallclock

This didn't change anything.  As an experiment, I wrote a script to call 
ntpd -q, sleep 60, and repeat indefinitely.  Here are a couple of 
snippets of output:


goodclock# ksh ./xenclockdrift  
ntpd: time slew +0.001211s

ntpd: time slew +0.001200s
ntpd: time slew +0.001855s
ntpd: time slew +0.001532s
ntpd: time slew +0.001603s
ntpd: time slew +0.001320s
ntpd: time slew +0.001931s

badclock# ksh ./xenclockdrift  
ntpd: time slew -0.000193s

ntpd: time set -57.356377s
ntpd: time slew +0.002352s
ntpd: time slew +0.003018s
ntpd: time set -57.417488s
ntpd: time slew +0.012089s
ntpd: time slew -0.000985s

These domains are fully virtualized and set up identically, except 
"badclock" is allocated two processors versus one processor for 
"goodclock".  DomU's clock is running normally.


Anyone know what's going or know how to fix it?

Jack



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


Re: [CentOS] Xen clock drift

2008-01-08 Thread Jack Bailey



badclock# ksh ./xenclockdrift
ntpd: time slew -0.000193s
ntpd: time set -57.356377s
ntpd: time slew +0.002352s
ntpd: time slew +0.003018s
ntpd: time set -57.417488s
ntpd: time slew +0.012089s
ntpd: time slew -0.000985s

These domains are fully virtualized and set up identically, except
"badclock" is allocated two processors versus one processor for
"goodclock".  DomU's clock is running normally.



I'm not sure with Xen, but on VMWare one should not be using NTP at
all.  Time syncing should be done with the vmware tools and the host,
with NTP only running on the host (not the guests).  Using NTP on a
vmware system will result in similar behavior to what you are seeing
here.


ntpd is not running.  I'm using it here manually to show the clock and 
how it periodically jumps ahead by 57 seconds.


Jack

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


Re: [CentOS] Sun Fire X4200 M2 / CentOS 5 APIC issues

2008-01-09 Thread Jack Bailey

Ryan Ordway wrote:

I had been running CentOS 5 happily on my Sun Fire X4200 M2 systems,
then I upgraded the BIOS and iLOM firmware. Now I'm running into what
seems to be a fairly common problem with newer motherboards. I cannot
boot unless I use the 'noapic' kernel option. If I try to boot the
kernel normally, I get the error:

"MP-BIOS bug: 8254 timer not connected to IO-APIC"

I can boot using noapic, but interrupts are *HORRIBLE* with noapic on
the X4200 M2. Here is a system with the new BIOS running with noapic: 


What firmware version is it?  I'm running on the version from the 
FW12201_BIOS61600_4100M213.iso disk on Sun's web site and don't see that 
error when booting.


Jack

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


Re: [CentOS] Xen clock drift

2008-01-09 Thread Jack Bailey



A note by Johnny Hughes in http://bugs.centos.org/view.php?id=2189
(comment 6644):

"As a side note ... if the clock GAINS (runs to fast) time you should
be able to fix it with this:

http://kb.vmware.com/kb/1591

(by setting the correct host.cpukHz) and vmware tools should adjust a
clock that is too slow.

Also see this blog entry concerning host.cpukHz:

http://blog.autoedification.com/2006/11/vmware-guest-clock-runs-fast.html "


Taking the advice from a few people and web pages, I made this change to 
grub.conf:


   kernel /xen.gz-2.6.18-53.1.4.el5 divider=10 clock=pit

The clock is better but still not fixed.  It jumps forward less often.

Jack

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


Re: [CentOS] webmin

2007-09-21 Thread Jack Bailey



I really, really, really, really, really, really wouldn't recommend
installing that version, as it is really, really, really, really,
really old.

On the other hand I wouldn't recommend installing webmin anyway - but if
you have to take the rpm from webmin.com (if that is installable on
CentOS, no idea there).


Me neither.  I once found this on a guy's server:

Advisory : 
http://securitydot.net/vuln/exploits/vulnerabilities/articles/17885/vuln.html 


Coded by joffer , http://securitydot.net
*/ 


$host = $argv[1];
$port = $argv[2];
$http = $argv[3];
$file = $argv[4];
// CHECKING THE INPUT
if($host != "" && $port != "" && $http != "" && $file != "") {
[snip]



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


Re: [CentOS] NSS ldap problems

2011-10-31 Thread Jack Bailey
On 10/31/2011 4:46 PM, Craig White wrote:
>> Here are the ldap related packaged installed on the 6.0 box:
>> >  [root@vburntest02 ~]# rpm -qa | grep ldap
>> >  openldap-2.4.19-15.el6_0.2.x86_64
>> >  pam_ldap-185-5.el6.x86_64
>> >  nss-pam-ldapd-0.7.5-3.el6.x86_64
>> >  openldap-clients-2.4.19-15.el6_0.2.x86_64
>> >  apr-util-ldap-1.3.9-3.el6.x86_64
>> >  
>> >  Any idea what to check next?
> 
> I'm not a perl person so I just check from shell with:
> getent passwd
> getent group
>
> to make sure that the LDAP Users/Groups are indeed listed... authentication 
> clearly won't work until they do.
>
> The same /etc/ldap.conf from CentOS 5.x should work with CentOS 6.x

On CentOS 6  getent passwd  does not return a list of users, presumably 
because the list can be quite large.  Try

$ getent passwd 

If your system is set up correctly you will see the entry.

Jack

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


[CentOS] ESXi, CentOS 7 guest, CPU disabled

2014-11-24 Thread Jack Bailey

Hello,

Over the last several weeks I've had a couple of CentOS 7 guests running 
in ESXi freeze because the CentOS halted the CPU.  The problem is 
described here:


http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=2000542

My CentOS 6 VMs are not misbehaving at all, nor are the Ubuntu VMs. 
Anyone else seeing this bug or know what to do about it?


Thanks,
Jack

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


Re: [CentOS] Real sh? Or other efficient shell for non-interactive scripts

2015-04-24 Thread Jack Bailey

On 04/24/15 05:59, Les Mikesell wrote:

The original ksh wasn't open source and might even have been an
extra-cost item in AT&T unix.   And the early emulations weren't
always complete so you couldn't count on script portability.  I
generally thought it was safer to use perl for anything that took more
than bourne shell syntax.


You're right about the extra cost.  In 1989 I bought the ksh source code 
from AT&T for $100.


Jack

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


Re: [CentOS] OT hardware issue: HP controller to 3rd party RAID

2015-10-07 Thread Jack Bailey

On 10/07/15 10:06, John R Pierce wrote:

On 10/7/2015 8:42 AM, m.r...@5-cent.us wrote:
Got an old HP box with a P800 Smart Array controller. The HP RAID 
box

plugged into it's failing, and we got a new JetStor. Anyone know if we
can just plug the JetStor in and set it to passthrough, or if we have
to use the P800's firmware to set up the RAID, or other gotchas?

I*think*  we could use the RAID boxes firmware to build the RAID, but 
last

resort would be passthrough, and Linux RAID.


I'm not familiar with JetStor, but a P800 is a older high end SAS raid
controller that expects to talk to individual SAS or SATA drives. you
can manage it with hpssacli from centos.



I have the P822.  It has no JBOD or RAID 0.  hpacucli works with CentOS 
7.0, but is broken on 7.1 -- it cannot find the controller.


Jack

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


Re: [CentOS] OT hardware issue: HP controller to 3rd party RAID

2015-10-07 Thread Jack Bailey

On 10/07/15 11:13, m.r...@5-cent.us wrote:

Jack Bailey wrote:


controller that expects to talk to individual SAS or SATA drives. you
can manage it with hpssacli from centos.

I have the P822.  It has no JBOD or RAID 0.  hpacucli works with CentOS
7.0, but is broken on 7.1 -- it cannot find the controller.

Can it do RAID 6?



This page says it does. 
http://www8.hp.com/h20195/v2/GetHTML.aspx?docname=c0499


The page also says it does RAID 0, but I did not see that in the 5.42 BIOS.

Jack


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


[CentOS] Bourne shell deprecated?

2016-04-26 Thread Jack Bailey

Hello List,

Today someone in a meeting claimed the Bourne shell is deprecated, one 
of the reasons being it supposedly has security issues.  Well that's all 
news to me, and I cannot find anything online to corroborate the claim.  
Is this true, is it a bash vs. Bourne FUD, or something else?


Thanks,
Jack

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


Re: [CentOS] Help with VMware ESXi manager for CentOS - newbie level

2013-09-05 Thread Jack Bailey
On 09/05/13 03:56, Scott Robbins wrote:
> Note that I haven't worked with the free version, this was paid version of
> ESXi 5.1, which I_think_  is the first one that VMware says should be run
> entirely from the browser, as opposed to a client.  Like another poster, it
> was the one reason I kept a Windows VM at my old job, our 3.5-5.0 VMware
> systems, I needed the Windows client.

In order to manage ESXi from a browser, you need a vCenter Server 
Appliance (SuSE or Windows), because that's what hosts the web server to 
provide that functionality.  $$

If you want to use only the free stuff, you can, but you must manage 
ESXi using the Windows viclient, of if you're up to it, ssh in and use 
esxcli commands.  You can connect to your ESXi host with a browser and 
download the viclient from the main page.

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


Re: [CentOS] block level changes at the file system level?

2014-07-03 Thread Jack Bailey

>> I think the buzzword you want is dedup.
> dedup works at the file level. Here we're talking about files that are
> highly similar but not identical. I don't want to rewrite an entire file
> that's 99% identical to the new file form, I just want to write a small
> set of changes. I'd use ZFS to keep track of which blocks change over time.
>
> I've been asking around, and it seems this capability doesn't exist
> *anywhere*.

Check this link.

https://blogs.oracle.com/bonwick/entry/zfs_dedup

...

*What to dedup: Files, blocks, or bytes?*

Data can be deduplicated at the level of files, blocks, or bytes.
...



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


[CentOS] systemd and httpd

2014-08-15 Thread Jack Bailey
Hello,

On my new CentOS 7 server httpd stops running after about two minutes or 
so.  strace shows me the process is asking for a password, and failing 
to get one, times out.  In reading the docs I see an option to systemd: 
--no-ask-password.  Can anyone tell me where and how to set this?

As a workaround, I added "KillMode=none" to httpd.service, but I'd 
rather use the option to just not ask for a password.

Thanks,
Jack

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


Re: [CentOS] systemd and httpd

2014-08-15 Thread Jack Bailey
On 08/15/14 14:48, Alexander Dalloz wrote:
> Am 15.08.2014 um 23:29 schrieb Jack Bailey:
>> Hello,
>>
>> On my new CentOS 7 server httpd stops running after about two minutes or
>> so.  strace shows me the process is asking for a password, and failing
>> to get one, times out.  In reading the docs I see an option to systemd:
>> --no-ask-password.  Can anyone tell me where and how to set this?
> You are using a passphrase protected SSL key, aren't you?
>
> https://wiki.apache.org/httpd/RemoveSSLCertPassPhrase

I'm moving a web site from CentOS 6 to CentOS 7 where the site currently 
works without prompting for a password.  I'll check to see if the 
passphase is removed from the cert.

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


Re: [CentOS] outside ssh connection from two different ISP's

2014-11-10 Thread Jack Bailey

On 11/10/2014 2:11 PM, Frank Cox wrote:

I have both cable and dsl service.  The router attached to the cable service is 
192.168.0.1 and the router attached to the dsl service is 192.168.0.254.  I 
determine which service my computers communicate through by setting the gateway 
assignment to either of those addresses and it just works.

I can connect to my computers from the outside by port forwarding from my 
routers to the computer that I want to connect to.

However, the outside ssh connection works only if the computer's gateway 
assignment matches the router that I'm connecting to.  I suspect that I have to 
set up some sort of routing assignment to tell the computer to reply to the 
gateway that the ssh connection request came in on if it doesn't match the 
current gateway assignment, but I have no idea how to do that.



I also have two ISPs at home.  I have a Peplink to manage this now, but 
before that I some commands in rc.local.  I had two networks and two 
NICs on my workstation.  This used to work on CentOS 6.


##
# symetric routing   #
##

NIC1=eth0
IP1=192.168.1.6
GW1=192.168.1.1
NET1=192.168.1.0/24

NIC2=eth1
IP2=192.168.2.6
GW2=192.168.2.1
NET2=192.168.2.0/24

DEFGW=$GW2

cat << EOF > /etc/iproute2/rt_tables
#
# reserved values
#
255 local
254 main
253 default
0   unspec
#
# local
#
#1  inr.ruhep

# symetric routing
101 T1
102 T2
EOF

# routing and default gateway for each interface
ip route add $NET1 dev $NIC1 src $IP1 table T1
ip route add default via $GW1 table T1
ip route add $NET2 dev $NIC2 src $IP2 table T2
ip route add default via $GW2 table T2

# regular routes
ip route add $NET1 dev $NIC1 src $IP1
ip route add $NET2 dev $NIC2 src $IP2

# preference for default route
route delete default
ip route add default via $DEFGW

# rules
ip rule add from $IP1 table T1
ip rule add from $IP2 table T2

# enable routing
echo 1 > /proc/sys/net/ipv4/ip_forward

Good luck,
Jack

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


[CentOS] centos-7.4 elfutils

2017-09-10 Thread Jack Bailey

Hello,

I'm taking 7.4 for a spin.  I did the minimal install, and ran into 
trouble with groupinstall base.  The trouble seems to stem from 
elfutils.  One command claims elfutils-libs-0.166-2.el7.x86_64 is 
missing, and another one claims it's installed.  Not sure what's going 
on here.


[root@ip-172-31-34-187 ~]# yum -y install elfutils.x86_64
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: mirror.web-ster.com
 * extras: mirror.chpc.utah.edu
 * updates: mirrors.cat.pdx.edu
Resolving Dependencies
--> Running transaction check
---> Package elfutils.x86_64 0:0.166-2.el7 will be installed
--> Processing Dependency: elfutils-libs(x86-64) = 0.166-2.el7 for 
package: elfutils-0.166-2.el7.x86_64
--> Processing Dependency: elfutils-libelf(x86-64) = 0.166-2.el7 for 
package: elfutils-0.166-2.el7.x86_64

--> Finished Dependency Resolution
Error: Package: elfutils-0.166-2.el7.x86_64 (base)
   Requires: elfutils-libelf(x86-64) = 0.166-2.el7
   Installed: elfutils-libelf-0.168-8.el7.x86_64 (@anaconda)
   elfutils-libelf(x86-64) = 0.168-8.el7
   Available: elfutils-libelf-0.166-2.el7.x86_64 (base)
   elfutils-libelf(x86-64) = 0.166-2.el7
Error: Package: elfutils-0.166-2.el7.x86_64 (base)
   Requires: elfutils-libs(x86-64) = 0.166-2.el7
   Installed: elfutils-libs-0.168-8.el7.x86_64 (@anaconda)
   elfutils-libs(x86-64) = 0.168-8.el7
   Available: elfutils-libs-0.166-2.el7.x86_64 (base)
   elfutils-libs(x86-64) = 0.166-2.el7
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest

[root@ip-172-31-34-187 ~]# yum -y install elfutils-libs.x86_64
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: mirror.web-ster.com
 * extras: mirror.chpc.utah.edu
 * updates: mirrors.cat.pdx.edu
Package matching elfutils-libs-0.166-2.el7.x86_64 already installed. 
Checking for update.

Nothing to do


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


Re: [CentOS] Vmware - Slightly off topic

2018-04-24 Thread Jack Bailey

What is the correct way to provide a CentOS 7 - WMware image for ESX ?


You are probably looking for VMware Converter which can p2v or v2v.

IMO: if you are creating a VM image which is a binary blob or image then
you are doing it wrong. Have the VM/server/desktop be a simple
next/next/next install and the incorporate a config management tool
(puppet/ansible/etc) to make it the way you like it. VM-as-code if you
will. This results in a reproducible thing instead of an unmanageable thing.


I'm doing this sort of thing, and frankly, VMware Converter would be my 
last choice.


One project uses packer, the other, a combination of shell scripts, 
genisoimage, and Virtualbox's vboxmanage.  Both projects build a VM and 
export it to an OVA.  Example usage, these are great for creating new 
VMs from the CentOS rolling ISOs.


As for getting the OVA into vSphere's inventory, I'm using Powershell 
(Ansible's VMware support wasn't so great when I was working on the 
projects).


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


Re: [CentOS] Future Releases

2018-10-18 Thread Jack Bailey




No, there is no automated way to move from CentOS-6 to CentOS-7 .. and
we have no idea what will be in CentOS-8 until Red Hat releases RHEL-8.
We have no idea what will be in CentOS-6.11 until Red Hat releases
RHEL-6.11 .. and we have no idea what will be in the release of CentOS-7
until Red Hat releases RHEL-7.6 .. literally, we take the source code
they release .. modify it for Trademarks and Logos .. and release it.
Until it is released, we don't have a clue.


This is in the RHEL 7.6 Beta Release Notes:

Part I. New Features
This part documents new features and major enhancements introduced in 
Red Hat Enterprise Linux 7.6 Beta.


Chapter 4. General Updates
In-place upgrade from Red Hat Enterprise Linux 6 to Red Hat Enterprise 
Linux 7


An in-place upgrade offers a way of upgrading a system to a new major 
release of Red Hat Enterprise Linux by replacing the existing operating 
system. To perform an in-place upgrade, use the Preupgrade Assistant, a 
utility that checks the system for upgrade issues before running the 
actual upgrade, and that also provides additional scripts for the Red 
Hat Upgrade Tool. When you have solved all the problems reported by the 
Preupgrade Assistant, use the Red Hat Upgrade Tool to upgrade the system.

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


[CentOS] Gnome desktop trouble

2012-03-20 Thread Jack Bailey
Hello,

I have several CentOS 6.2 hosts (2.6.32-220.7.1.el6.x86_64) that lock up 
when attempting to use the Gnome desktop from the console.  I can always 
log in, but then all I get is the blue root window, the round initial 
mouse pointer, and nothing else.  The last process associated with the 
console is "xprop -root" which strace shows as hanging indefinitely.

There are cases (sporadic, unpredictable) when I get further; the screen 
contains desktop icons, the menu at the top, and an arrow mouse pointer, 
but the mouse and keyboard don't work.  I can reproduce this behavior 
frequently by setting the system run level to 3, logging into the 
console, and running "strace -f startx".

One other bit of information: I build all the hosts with the same 
kickstart file, and most of the hosts work fine; only a handful are 
acting up.

Has anyone seen this before and/or know how to troubleshoot it?

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


Re: [CentOS] Gnome desktop trouble

2012-03-20 Thread Jack Bailey
On 03/20/12 11:59, m.r...@5-cent.us wrote:
> 
> My first reaction would be to look at /etc/X11/xorg.conf, if there is
> one - the few that don't might have some odd differences from generic.
> Should I assume that the ones that hang are USB mice&  keyboards? How
> old are the ones that hang?

Thanks for reminding me.  I generated new files using "X -configure".

All the servers (both working and broken) are recent builds, fully patched.

Jack

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


Re: [CentOS] Gnome desktop trouble

2012-03-20 Thread Jack Bailey
On 03/20/12 12:19, m.r...@5-cent.us wrote:
> On 20.03.2012 15:11, Jack Bailey wrote:
>> On 03/20/12 11:59, m.r...@5-cent.us wrote:
>>> 
>>> My first reaction would be to look at /etc/X11/xorg.conf, if there
>>> is
>>> one - the few that don't might have some odd differences from
>>> generic.
>>> Should I assume that the ones that hang are USB mice&   keyboards?
>>> How
>>> old are the ones that hang?
>> Thanks for reminding me.  I generated new files using "X -configure".
>>
>> All the servers (both working and broken) are recent builds, fully
>> patched.
>>
> Did it fix them?

No.  Using the newly-generated xorg.conf file or no conf file at all 
makes no difference.

Jack

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


Re: [CentOS] Gnome desktop trouble

2012-03-20 Thread Jack Bailey
On 03/20/12 14:11, m.r...@5-cent.us wrote:
> On 20.03.2012 17:09, ken wrote:
>> On 03/20/2012 02:21 PM Jack Bailey wrote:
> 
>> Also you may want to try invoking startx from runlevel 5.
> That doesn't make sense to me - runlevel 5, AFAIK, *is* X running.

Right.  I am running at run level 3 so I can invoke X manually for 
debugging.  There are no USB errors, but I got some interesting output 
from "Xorg -keeptty":

Build Date: 25 February 2012  04:11:35PM
Build ID: xorg-x11-server 1.10.4-6.el6_2.1.0.1.centos
Current version of pixman: 0.18.4
 Before reporting problems, check 
http://wiki.centos.org/Documentation
 to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
 (++) from command line, (!!) notice, (II) informational,
 (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Tue Mar 20 14:25:28 2012
(==) Using config file: "/etc/X11/xorg.conf"
(EE) open /dev/fb0: No such device
expected keysym, got XF86TouchpadOn: line 120 of inet
expected keysym, got XF86TouchpadOff: line 121 of inet
expected keysym, got XF86TouchpadOn: line 120 of inet
expected keysym, got XF86TouchpadOff: line 121 of inet

No framebuffer?

# ls -l /dev/fb0
crw-rw 1 root root 29, 0 Mar 17 13:32 /dev/fb0

# lsattr /dev/fb0
lsattr: Operation not supported While reading flags on /dev/fb0

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


Re: [CentOS] port running but connection refused

2016-10-19 Thread Jack Bailey



On 10/19/16 2:03 PM, Jerry Geis wrote:

Hi All,

I have a process running on port 5070... I'm using CentOS 7.
iptables is running firewalld should be stopped and disabled.

When I telnet localhost 5070 I get connection refused.

When I stop iptables I still get connection refused.

netstat -tnlv | grep 5070
tcp0  0 192.168.1.8:50700.0.0.0:*   LISTEN

so the process is running and listening.




The process is not listening on localhost.  Try telnet 192.168.1.8 5070

Jack

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


Re: [CentOS] M.2 PCI-E card

2017-04-03 Thread Jack Bailey

On 4/3/2017 6:17 PM, Chris Adams wrote:

Once upon a time, Alice Wonder  said:

I need a low profile PCI-E card that allows for up to 2 M.2 SSD
drives that is known to work with the stock kernel in CentOS 7.

Can anyone recommend one?

I can't recommend a specific one, but any adapter card should work.
However, note that M.2 is not a single "thing" to the computer; the
drive interface can be SATA, PCI-E AHCI, or PCI-E NVMe.  The first two
would look the same as a traditional SATA device to the OS, so should be
fine.  The third is a different interface; I haven't looked to see if
the CentOS 7 kernel supports NVMe (I suspect it does, but you should
check before buying an NVMe device).  I know that NVMe works fine with
recent Fedora.


To add a data point, I built a stock CentOS 7.3 VM in ESXi 6.5 with 
hardware version 13 to include NVMe support.  The VM boots and runs 
great on the virtual NVMe controller.


Jack


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


Re: [CentOS] tabs ignored in here document

2017-05-05 Thread Jack Bailey



On 5/5/17 1:52 PM, Robert Moskowitz wrote:

On 05/05/2017 04:46 PM, John R Pierce wrote:

On 5/5/2017 1:41 PM, Robert Moskowitz wrote:


I just did a test where I created a file, xit, with the here document
in it and ran it with ./xit

This way, the tabs remained.  So the 'problem' is when I am pasting
the same lines (with tabs) into the terminal window. There bash is
interpreting the tabs and not feeding them into the here doc 
processing.



yes, bash interprets stdin differently than not stdin.



ARGH!!!

So can I control this?  I want the howto to be a cut-n-paste operation.
And I want to support real tabs not a bunch of spaces as I had 
previously...


Try  cat <<- EOF

Note the dash.  And yes, you must use tabs.  Spaces are suppressed 
whereas tabs are not.


Jack




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


Re: [CentOS] CentOS 8.2 corrupt pxeboot kernel

2020-06-17 Thread Jack Bailey via CentOS

On 2020-06-17 08:46, isdtor wrote:

Attempting to PXE boot from the BaseOS/x86_64/kickstart/images/pxeboot/ files 
results in repeating messages

Invalid or corrupt kernel image

eventually changing to

Could not find kernel image: centos8.2.x86_64/vmlinuz

I downloaded the files again, from a different mirror, and they are all the 
same. Wiped the files and recreated /tftpboot/linux-install/centos8.2.x86_64/. 
No dice.

First mirror

89251241a484010b98280ce00b3a3763  os/images/pxeboot/initrd.img
9261bb24add6bb4ff9ef6aaf348aaf35  os/images/pxeboot/vmlinuz

Second mirror

89251241a484010b98280ce00b3a3763  os/images/pxeboot/initrd.img
89251241a484010b98280ce00b3a3763  kickstart/images/pxeboot/initrd.img

9261bb24add6bb4ff9ef6aaf348aaf35  os/images/pxeboot/vmlinuz
9261bb24add6bb4ff9ef6aaf348aaf35  kickstart/images/pxeboot/vmlinuz



pxe is working for me in this test virtualbox build.

$ md5sum initrd.img vmlinuz
89251241a484010b98280ce00b3a3763  initrd.img
9261bb24add6bb4ff9ef6aaf348aaf35  vmlinuz

( yum updated )

[centos@localhost ~]$ uname -a
Linux localhost.localdomain 4.18.0-193.6.3.el8_2.x86_64 #1 SMP Wed Jun 
10 11:09:32 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux


[centos@localhost ~]$ cat /etc/redhat-release
CentOS Linux release 8.2.2004 (Core)

Best regards,
Jack

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


Re: [CentOS] rsync upgrade

2020-08-06 Thread Jack Bailey via CentOS

On 2020-08-06 08:45, J Martin Rushton via CentOS wrote:

You'll need to upgrade to CentOS8.

C7 is at rsync 3.1.2-10, and will not go above 3.1.2 ever.

C8.2 is at 3.1.3-7, C8 will always be on 3.1.3

Martin


Another option is to build rsync from source, which is what I did to try 
out the zstd compression.


centos7$ rsync --version
rsync  version 3.2.2  protocol version 31
Copyright (C) 1996-2020 by Andrew Tridgell, Wayne Davison, and others.
Web site: https://rsync.samba.org/
Capabilities:
    64-bit files, 64-bit inums, 64-bit timestamps, 64-bit long ints,
    socketpairs, hardlinks, symlinks, IPv6, atimes, batchfiles, inplace,
    append, no ACLs, xattrs, optional protect-args, iconv, symtimes, 
prealloc

Optimizations:
    no SIMD, asm, openssl-crypto
Checksum list:
    xxh64 (xxhash) md5 md4 none
Compress list:
    zstd lz4 zlibx zlib none



On 06/08/2020 16:40, Christopher Wensink wrote:

Can anyone tell me the repository to use to upgrade to a version of
rsync later than 3.1.2?

Chris





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


Re: [CentOS] Problems with x2go

2020-09-15 Thread Jack Bailey via CentOS

On 9/15/2020 4:24 AM, Stefano Simonucci wrote:

I have installed x2goserver on a Centos8 server.

Yesterday, after the installation I was able to connect by means of
x2go. Today I get the following error ( /var/log/messages)

/usr/bin/x2gostartagent[2677]: no free display number available, cannot
start new session.

Has anyone had the same problem?



This is not the answer to your question, but if this is a new install 
and not an existing installation, consider NoMachine 
. It's free and so much better than x2go 
it's hard to even compare the two.


Jack

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


Re: [CentOS] Upgrade OpenSSH version to the latest stable version on CentOS Linux release 7.9.2009 (Core).

2020-11-30 Thread Jack Bailey via CentOS

On 2020-11-30 21:48, Peter wrote:

On 1/12/20 4:04 pm, Kaushal Shriyan wrote:

I am running CentOS Linux release 7.9.2009 (Core). Is there a way to
upgrade OpenSSH version openssh-7.4p1-21.el7.x86_64 to the latest stable
version openssh-server 8.4 using yum repositories or rpm binaries?


No, 7.4p1-21 is the most recent up to date version in CentOS 7. See 
https://access.redhat.com/security/updates/backporting/ for more info.


hpn-ssh might be an option. https://sourceforge.net/projects/hpnssh/

My experience with it on CentOS and Ubuntu has been very good.

Jack

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


Re: [CentOS] I'm looking forward to the future of CentOS Stream

2020-12-13 Thread Jack Bailey via CentOS



I'm just trying to determine whether you were making the argument you 
intended to, because you are literally suggesting that the majority is 
silent, and the people who are silent are the ones that are happy with 
something.


Silence doesn't confer anything. People can be displeased, cautiously 
optimistic, and silent, all at the same time.


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


Re: [CentOS] Troubles expanding file system.

2021-09-03 Thread Jack Bailey via CentOS

On 9/2/2021 10:28 PM, Simon Matter wrote:

There is one thing that I couldn't find a solution for no matter what I
tried: When the root/boot disk of the guest is being resized, it's not
possible to modify and reread the new partition table without reboot.


I'm curious to know if this works for you.  Suppose /dev/sda is the boot 
disk.  Determine the highest number primary partition in use on the 
drive.  Let's say it's 3.


# growpart /dev/sda 3

In addition, you might try

# printf "F\n" | parted ---pretend-input-tty -l

I have these in an Ansible playbook for creating CentOS 7 and Ubuntu 
Focal VMs.  They require cloud-int (for growpart) and gdisk.  Note: 
growpart doesn't work if the highest partition is not a primary 
partition, i.e., greater than 4.


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


[CentOS] rpcbind fails to start with IPv6 disabled

2021-12-09 Thread Jack Bailey via CentOS

Hello,

Does anyone know if this is still an issue?

https://access.redhat.com/solutions/2798411

rpcbind fails to start with IPv6 disabled - Red Hat Customer Portal
On RHEL7.3 and later with IPv6 disabled, rpcbind fails to start...

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


[CentOS] CentOS cloud images, cloud-init

2023-01-09 Thread Jack Bailey via CentOS

Hello List,

At this link, https://cloud.centos.org/altarch/7/images/ I'm trying to 
use the latest image CentOS-7-x86_64-GenericCloud.qcow2c


I cannot log in to the VM because cloud-init did not run.  vSphere says 
open-vm-tools is not running.


After having broken into the VM, I see open-vm-tools is installed but 
not enabled.  Does anyone know why/why not?  I could be mistaken, but 
I'm thinking maybe that's why cloud-init doesn't run.


Jack

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


Re: [CentOS] Latest 9-Stream ISO fails to boot after install

2023-08-01 Thread Jack Bailey via CentOS

On 8/1/23 14:06, Robby Callicotte via CentOS wrote:

Hello,

I was performing a test install of CentOS Stream 9 using the latest[1]
available dvd iso from the mirror[2].

I manually select "minimal install" from the selectable packages.  The install
seems to go smoothly.  Upon reboot I am greeted with:

[FAILED] Failed to start Switch Root

Further examination of the switch-root service shows the following:

Failed to switch root: Specified switch root path '/sysroot' does not seem to
be an OS tree.  os-release file is missing.

Booting into rescue media shows that the os-release file(s) actually do exist:

ls -l /etc/os-release
lwrxwrxwrx.  1 root root 21 Apr   6 08:27 /etc/os-release  ->  ../usr/lib/os-
release

ls -l /usr/lib/os-release
-rw-r--r--.  1 root root 391 Apr   6 08:27 /usr/lib/os-release


Is there anything I can do to help?  What is the best way to address this
issue -- open a bugzilla or something else?


[1] - 
https://mirror.stream.centos.org/9-stream/BaseOS/x86_64/iso/CentOS-Stream-9-latest-x86_64-dvd1.iso
[2] - https://mirror.stream.centos.org/9-stream/BaseOS/x86_64/iso/

Regards,

-- Robby Callicotte
FAS: rcallicotte



I can confirm this, though I'm using diskimage-builder from OpenStack 
and getting the same error.  Imported images do not boot and leave the 
console at an emergency prompt.  First noticed July30th.


Jack

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