DevHeads.net

Postings by David

lshw in centos 7

Folks

I've been running lshw for years in both Centos 6 and Centos 7, yet
just recently it started hanging. Neither a Control^C nor a "kill"
of the process cured the hang; only a reboot.

When I run it by hand from the command line, it displays stuff on the
next line overwriting it with things like PCI, USB. And USB is the
last thing I see. A Control-C does not unlock it.

I am running lshw-B.02.18-7.el7.x86_64. The CPU is an Intel
I7-3770K, running CentOS 7.4.1708

Is there any idea?

File access in Apache 2.4 (clarification)

Folks

I'm having file-access problems in Apache 2.4 under Centos 7. In particular:

- I have a file that's readable to every user and every application,
(writeable by only one user), but my CGI scripts cannot read it.

- Some of my CGI scripts need temporary storage for some files. They
are, for example, some internal log files, tnat get cleaned up over
time, but I want to be able to look at them (as root). Where would
you suggest they be placed?

File access in Apache 2.4

Folks

I'm having file-access problems in Apache 2.4 under Centos 7. In particular:

- I have a file that's readable to every user and every application,
(writeable by only one user), but my CGI scripts cannot read it.

- Some of my CGI scripts need temporary storage for some files. They
are, for example, some internal log files, tnat get cleaned up over
time, but I want to be able to look at them (as root). Where would
you suggest they be placed?

Samba help

Folks

I have a Centos7 system (SOFA) and want to install a Samba share
named "STUFF" for the machines inside my home. All users in my home
have read access to the share, but only one user "me" has write
permission. The configuration below worked just fine when the Samba
system was on Centos 6, but did not work under Centos 7. The client
machine is Windows 10. I have changed all "private" information for
this message.

The Centos 7 machine is running with SELINUX disabled, and
effectively without firewall.

Windows network browsing finds the computer, but not the share.

Auth failure messages

Folks

I am using sendmail as my mail server. SELINUX is disabled.
I observe messages in Centos 7 (and 6) in /var/log/messages, similar to:

saslauthd[2765]: do_auth : auth failure: [user=bettie]
[service=smtp] [realm=] [mech=pam] [reason=PAM auth error]

I guess that this is because somebody tried to access one of the SMTP
ports with a logon attempt. This is understandable; there are
crackers out there. I'd like to block SMTP completely from the
originating sender (by dropping the IP packets), but don't know how
to figure out what the IP address is.

Voice/Fax Modem advice

Folks

A have a PCIe modem (Conexant ChipSet, PCI id = 14f1:2f83. It
interfaces to my land-line (POTS) telephone line in the United
States.

Yum java-devel not listed installed

Folks

I performed an install of "java-devel". Several packages got
installed. So far so good.

Yet, when I performed
yum list installed | grep java-devel
and also
yum rpm -qa | grep java-devel

it did not show up as already installed.

This behavior appears both on Centos7 and Centos6. This bothers me
because as a time-saving effort, I maintain the last output of "yum
list installed" and quickly determine whether it's worth running
yum. True, yum would "do nothing", but that takes several seconds.

Is there some simple explanation?

Laptop turns off after lid closed Centos6

Folks

I have a laptop which i am using temporarily as a test server. It is
permanently plugged in. It is running Centos 6, command line
only. In the past, I could close the lid, thereby turning off the
display, but not turning off the machine. It remained running indefinitely.

A recent update (this past week) changed that behavior.

Finding lshw and flash-plugin or alternates

Dear CentOS Gurus

I have been using "repoforge.org" primarily to obtain two RPMs,
"lshw" and "flash-plugin". I recently realized that "repoforge.org"
should not be used, as it has had no updates for a long long
time. But, when I search for the RPMs within the repos:
base
centosplus
contrib
epel
extras
updates

the lshw program is nowhere to be found.

Desktop for newbies

Folks

I'm about to set up a non-root user on a Centos=7 server that I
control for a friend. It is in his home, so access is local. He's a
refugee from the latest Windows 10 Upgrade.

Re: [CentOS] Install Mariadb on Centos 7 fails

At 09:36 AM 9/23/2016, you wrote:

Install Mariadb on Centos 7 fails

Folks

I'm having problems installing Mariadb in Centos 7.

Here's what I did:

0) Become root
1) Make sure that mariadb and mysql are NOT installed.
2) Delete residual libs
rm -rf /var/lib/mysq*
3) yum install -y mariadb-server
installed mariadb-5.5.50-1.el7_2.x86_64 from the Centos
'updates' repository
4) systemctl start mariadb
5) systemctl status mariadb

All works well until step 5, where I get the result:

# systemctl status mariadb
?

VPN suggestions centos 6, 7

Folks

I would like to have my windows 7 laptop communicate with my home
server via a VPN, in such a way that it appears to be "inside" my
home network. It should not only let me appear to be at home for any
external query, but also let me access my computers inside my home.

I already have this working using M$'s PPTP using my home Centos 6
gateway/router as the PoPToP server. However, I am concerned about
the privacy/security of such a connection.

I have seen discussions of OpenVPN, OpenSwan, LibreVPN, StrongSwan
(and probably others I haven't noted).

dhcpd frequent renewals

Folks

This might be the wrong place to ask, but I don't know where to turn.
My internal home network, including wireless, is controlled by a
Centos6 server, which provides dhcpd services, along with NAT. I
have DHCPD configured with the addresses 192.168.155.200 through
192.168.155.254 as the range for dynamic allocations. The
default-lease time is 1800 seconds, the maximum is 3600 seconds.

My windows clients, and even an ipad-mini behave nicely, asking for
DHCP renewals once ever five minutes, or at about 80% of the default
lease time, a behavior I can understand.

man and man-db inconsitency

Folks

I use "yum list installed" to determine if a package has been
installed. In particular, I was interested in the "man" program,
installed with the command "yum install man".

In Centos6, if I look at the results, I see that "man" was
installed. This is good.
In Centos7, if I look at the results, I see that "man-db" was
installed. This is inconsistent.

The result is that the generic algorithm:

if I want package X , check the "yum list installed" output.
If X is not listed, install it, otherwise assume it's already installed.

Is there a reason for this inconsistency?

dhcpd and centos 7 network burps

Folks

I have noticed that my Centos 7 systems which use DHCPD from a router
or gateway all seem to fail when the DHCP client asks for a
renewal. After issuing
systemctl restart NetworkManger
the connectivity resumes until the lease renewal time occurs again.

As part of my research, I set up a CRON job that runs every five
minutes, and uses
ip route
to determine what my IP address is.

Centos7 Raspberry Pi 2 Login

Folks

I'm not sure this is the right mailing list for the Centos7 port to
Raspberry Pi. On the chance that this is the right place...

I just booted the Centos Linux 7 for Raspbery Pi 2, but have no idea
what the built-in accounts or passwords are.

I've tried
user: pi
password: raspberry
and
user: root
password: password

to no avail.

Does anyone know?

Is there a HOW-TO file with helpful information?

Thanks
David

Setting up PXE server

Folks

On a lark, I am trying to set up a PXE server so I can use network
boots to load new computers {some of which are virtual) at
home. It's more of an intellectual exercise than a work
necessity. I've read several "how to" documents, and even the one on
the RedHat site doesn't help. (For example, it refers to
/etc/xinet.d instead of /etc/xinetd.d, and the careless references
continue elsewhere.)

My goal is to make it possible to load a computer using network boot
with the equivalent of the "net-install" of Centos 7.

Centos 7 Yum conflict libicalss

Folks

My Centos 7 systems are all failing to update because of

Error: Package: orage-4.10.0-4.el7.x86_64 (@epel)
Requires: libicalss.so.0()(64bit)
Removing: libical-0.48-6.el7.x86_64 (@base)
libicalss.so.0()(64bit)
Updated By: libical-1.0.1-1.el7.x86_64 (cr)
~libicalss.so.1()(64bit)
Error: Package: orage-4.10.0-4.el7.x86_64 (@epel)
Requires: libicalvcal.so.0()(64bit)
Removing: libical-0.48-6.el7.x86_64 (@base)
libicalvcal.so.0()(64bit)
Updated By: libical-1.0.1-1.el7.x86_64

Annoying license at install

Folks

I have several remotely-located servers, donated by folks not all of
whom are computer geeks, let-alone Linux aware. In earlier versions
of Centos, I directed them to perform a minimal NetInstall (not too
difficult to direct over the phone), and then issue two commands
after the first boot. One was a 'curl' to download a script of mine,
and the second was a dot-command to run it. A few reboots followed
in close succession, and I directed them to logon as root, and issue
a simple dot-command.

Centos 7 Adding KDE as extra option

Folks

While trying to add a second desktop to my Centos7 installation (I
had GNOME3, wanted to add KDE as an alternate), the install failed:

Install Xfce has package requirement error

Folks

Working in Centos 7, and with GNOME (three, I presume), installed, I
tried to add the Xfce desktop and got a message:

Error: Package: openssh-askpass-6.6.1p1-11.el7.x86_64 (base)
Requires: openssh = 6.6.1p1-11.el7
Installed: openssh-6.6.1p1-12.el7_1.x86_64 (@updates)
....

Should I try "-skip-broken", or wait until those packages are
fixed? Shouldn't the repositories always be consistent?

Thanks

David

Yum issues with EPEL

Folks

After years of working just-fine, I have an automated script that
manages yum for me at initial install time. Sometime within the last
48 hours, I get the error message

<a href="http://mirror.nexcess.net/epel/6/x86_64/repodata/repomd.xml:" title="http://mirror.nexcess.net/epel/6/x86_64/repodata/repomd.xml:">http://mirror.nexcess.net/epel/6/x86_64/repodata/repomd.xml:</a> [Errno
-1] repomd.xml does not match metalink for epel
Trying other mirror.

And this message repeats through all the mirrors, causing the load of
the repomd to fail, and then the yum to fail.

Centos 7 Network Question

I have a question about the network and Centos 7

I am experimenting with two C7 installations:
- On relatively new hardware, configured with fixed IP address in IPV4 only
- on top of Windows, using VMWare, sharing my windows connection via
Vmware's bridge with IPV4 only.

On both configurations, I run a script every five minutes to test the
network.

Intel NUC? Any experience

Folks

The price point of Intel's NUC unit makes it attractive to use as a
server that doesn't have significant computational load. In my
environment, a USB connected hard-drive could provide all the storage
needed. I wonder if anyone has had experience with it, and can answer:

1) Does Centos6 and/or Centos7 install from a USB connected optical
drive? or a USB flash drive?

Howto install Centos6/7 Comcast WA/OR

Has anyone managed to install a Centos6 or Centos7 in Washington or
Orgegon, or anywhere else that Comcast has deployed the IPV6to4
routers.

Remote Desktop Recommendations (2)

Folks

I'm looking for a way to access a GUI desktop on a Centos 7 server
from a Windows client. I have tried:
- X2go from EPEL (fails immediately, apparently they are working on a
solution, but...)
- Freenx (doesn't exist for EL7)

Both the above work fine with Centos 6.

I'm looking for a solution that works over the internet from
afar.

Remote Desktop Recommendations

Folks

I'm looking for a way to access a GUI desktop on a Centos 7 server
from a Windows client. I have tried:
- X2go from EPEL (fails immediately, apparently they are working on a
solution, but...)
- Freenx (doesn't exist for EL7)

Both the above work fine with Centos 6.

Are there any known working solutions?

Thanks...

Mystified but not urgent in San Francisco
David

Centos7 Net install on HP A1710N fails

Folks

Just for laughs, I took an older 64-bit machine, HP Pavillion A1710N,
and tried a net-install of Centos7. The installer complained that
there was no network devices available.

I then tried a Centos6 Netinstall disk, and it found the controller
and worked fine.

What should I do? I'd love to get C7 installed on it.

David

X2go server on Centos7, any success?

Folks

I have been unable to get X2go to work on a Centos 7 server. I have
tried both the out-of-the-box GNOME desktop and the Xfce as well.

In both cases, the view from the client is that the screen starts to
appear, then goes away. On the server, I see the following messages
in /var/log/messages (I have erased the user name and replaced it
with XXX). The server is running as a virtual machine on a Win7
system (using VMWare), and the "YYY" mentioned below is the Win7
user.