Postings by Gary Stainburn

Replacement web server time - catalog CPAN and PEAR installs

I'm looking to replace an OLD Fedora web server with a Centos 7 one. I'm
currentlly in the process of documenting what is on the server ready to
install the new one.

While most things have been done with RPMs, some installs have had to be done
via CPAN for Perl and PEAR for PHP.

Is there a way of getting a list of everything that has been installed using
these tools?

installing perl-CPAN without perl-local-lib

I'm still working on getting my brand new Centos 7 mail server working and I'm
having problems with Perl.

Most of the modules are available as RPM's which was straight forward.
However, MIME::Parser, Net::SCP and Net::SSH aren't.

In order to get these working I installed the perl-CPAN rpm and then installed
the modules above. Doing this, installed perl-local-lib.noarch as a

move LDAP service to new server

On my old Centos 7 server I had set up a LDAP database for user authentication
by other services (the server locally uses normal PAM authenticatin).

I set it up originally from a web page describing how to set up an LDAP server
for use with MS Outlook clients (which never worked)

Is there any (easy to follow) instructions anywhere to tell me how to back up
this service and restore it onto a new one?

New mail server slow connecting to web server

Having successfully killed my (Centos 7) mail server I have had to build a new

Thankfully I had a server build that I was about to start configuring as my
new web server.

I appear to have set everything up okay, Exim, SpamAssassin, ClamAv, Dovecot,
Postgresql, httpd etc.

Everything appears fine apart from when I try to connect to my web server.
Whatever tried to connect suffers from a delay, and either times out or works

I started off with problems connecting Exim to Postgresql on the web server.

yum hangs and results in problems

My live mail server was due an update so I ran

yum update

All seemed file so I told it to proceed. HOwever it then hung for over 30

I stopped the update and tried again. It complained about problems with the
update, so I tried

yum --skip-broken -y update

which then hung at a different place. After some Googling I tried



package-cleanup --cleandupes

both of which failed. I then using my "Microsoft" head I thought I'd try
rebooting to see if that fixes it.

Windows PC PostScript printer driver -> CUPS data import fails

Hi all,

For some years now I have been using a simple system I found online which
allows me to easily import data from Windows Programs.

Hopefully others out there are using the system and already have found the
answer to my problem.

I have installed on my Centos server a virtual CUPS printer which receives a
PS file, and then runs 'ps2pdf' and 'pdftotext -layout' to end up with a text

On the Windows PC's it's simply a case of installing a printer pointing to
this server, and using the HP Colour Laster 2800 PS drivers.

Now to my problem.

Centos 7 LAPP setup PHP 5 vs 7

Another questions regarding my new server setup.

As with the Postgresql setup, different pages describing setting up a Centos
LAPP server have differing opinions about PHP versions.

The default distro's appear to still be installing PHP5 while some sites
instruct on how to install PHP7.

I am porting my old server which must be 10 years old, running Fedora 9 and
PHP5 onto the new server, so presumably sticking with PHP5 would be the
easier option.

However, I am looking to give my new server as long a life as possible, so
should I instead be looking at PHP7?

I have literally thousonds

Centos 7 LAPP setup Postgresql version and setup

Hi all,

I've got a nice shiny new server which I'm going to build as a LAPP platform.

I've just had a quick look for suitable instructions on the best way to
configure it and I have a few questions. There are many hits, some better
than others.

(It is replacing a Fedora 9 server so I'm expecting to have lots of *fun*)

1) 9.2 vs 9.5

Some of the instruction pages I've found install using the standard
repositories and install version 9.2 (?) while some others add a postgresql
repo and install 9.5

What are people's opinions?

OT - pushing database updates to web browser

This is O/T apart from the fact that the server is Centos running Apache /

I want to develop a real time (ish) dashboard type web page showring extracts
of the contents of a table.

Broadcom BCM4352 on Centos 7

Hi Folks

I'm trying to get my internal WiFi working and I'm following the instructions

<a href="" title=""></a>

My adaptor is:

[gary@gary ~]$ lspci|grep Broad
08:00.0 Network controller: Broadcom Limited BCM4352 802.11ac Wireless Network
Adapter (rev 03)
[gary@gary ~]$

However, I've failed at step 2 as I cannot find any Linux / STA / WL drivers
when I search the support page linked.

Can anyone suggest how I can fix this, or suggest another web page I can


Re: [CentOS] HP laptops with CentOS 7?


yeah, it's just a normal USB dongle, and it's supported by the Linux Kernel,
that's why I tried it.

low end file server with h/w RAID - recommendations

I'm just about to build a new server and I'm looking for recommendations on
what hardware to use.

I'm happy with either a brand name, or building my own, but would like a
hardware RAID controller to run a pair of disks as RAID1 that is actually
compatible with and manageable through Linux.

Any recommendations would be appreciated.


yum update problem - dependancy problem

I'm sure this is a FAQ, and a simple answer is available, but I've not managed
it yet. I've tried all of the RPM database tidy routines. I've tried
uninstalling the libblueray1 library but the ever growning dependency tree
was too big.

For a while I've been updating using the command

yum -y --skip-broken --exclude rpcbind update

which I though t was working, but the list of rpm's not updated is ever
growing so i need to find a solution. Here is the output from the yum update.

Centos 6 Airprint using CUPS/Avahi

I've set up another airprint server, but this time I've had to use Centos 6
because of the age of the kit I'm using - an old 1U rack server.

I've configured CUPS and also Avahi. I've run and copied
the .service files to /etc/avahi/services/

Everything looks fine until I try to print from my IPhone. I usually test by
trying to print an email.

Centos 7 specific cure for Spamassassin DNS lookup problem

I have the following error message in my /var/log/spamd

spf: lookup failed: available_nameservers: No DNS servers available!

Having Googled the error message I've found a number of responses which
involve patching Perl or Spamassassin or other cures.

Before I start changing things I was wondering if there was a Centos 7
specific resolution.

old hardware / minimal netinstall -> CPU fan control

I have just installed CentOS 6 i386 onto an old rack server (it's gonna be a
Bacula storeage server and is a 1U 1/2 depth chassis)

I did a minimum netinstall and so far so good. However, I have one problem.
The CPU fan is going at full speed constantly. Not a real problem apart from
(a) it will affect the fan's lifespan and (b) it's noisy.

I've done some Googling and found some help.

Centos 7 Samba - all shares read only

I few weeks back my server started having a problem where all shares are now
readonly. AFAIK nothing has changed except a 'yum update' which was probably
around the same time.

Everyone still has the shares on their Win7 PC's and can see the contents.
However, if they try to open a file it opens read only. If the try to create
a new file (e.g. right click -> New -> Text Document) it says that they don't
have permission.

I am not seeing anything meaningful in the log files.

All Samba shares suddenly becoming read only

I have a Centos 7 server – ZEPPO - which I use for file sharing. The clients
are all Win7 PC's and I use Samba to serve the files. It has been working
fine ever since I put it live late last year. Now, all of a sudden, all files
are read-only.

I recently added a USB WiFi dongle to give the server a presence on the WiFi

rpm conflict on new install

Yesterday I did a clean install of Centos 6 -> Workstation -> Plasma.

I then added some recommended repo's and did a yum update.

I'm now getting the following:

[root@lcomp5 ~]# yum check
Loaded plugins: fastestmirror, langpacks
ipa-client-4.4.0-14.el7.centos.4.x86_64 has installed conflicts
freeipa-client: ipa-client-4.4.0-14.el7.centos.4.x86_64
ipa-client-common-4.4.0-14.el7.centos.4.noarch has installed conflicts
freeipa-client-common: ipa-client-common-4.4.0-14.el7.centos.4.noarch
ipa-common-4.4.0-14.el7.centos.4.noarch has installed conflicts
freeipa-common: ipa-common-4.4.0-14.el7.c

Buttons too big in Firefox for Linux

A while back, after doing a yum update, a new version of Firefox was installed
and since then, the contents of my pages don't fit any more because the
buttons are now much bigger.

I've done some searching and to be honest I've drowned in the results. To
make matters worse, most of the results are OLD, referring to IE version 6
and Firefox version 30.

This problem is only very recent (months). The problem is only in Firefox for

Reliable way of having both LAN and WIFI on headless box

Once again I am building a headless Centos 7 box that needs to reliably be on
both the LAN and WIFI network at all times. Amongst other things it's going
to be an AirPrint bridge enabling IPads to print to printers on a different

I have asked about this before and got a solution working using nmtui to set
up both the LAN and WIFI interface, and activate them. However, the WIFI
link is unreliable. Sometimes it doesn't activate, or after a while

Network Manager - force activation of multiple connections

For each of my sites I have set up a server to act as AirPrint server. This
requires the LAN connection that the servers have always had, plus a WIFI
connection to give it a presence on the WIFI (The WIFI and LAN are on
separate VLANS)

I have finally dragged myself into the 21st century and used NetworkManager
for the connection, using nmtui to do the work.

The problem I have is that on most of these servers, thw WIFI connection
doesn't always activate on bootup and I have to go into nmtui -> activate ->
WIFI etc.

Server turns off unexpectedly

A few weeks back I built a new Centos 7 server from a 4 year old workstation
PC, and a brand new HDD.

This PC had no prior problems other than it ran Windows 7. Thew new HDD is
because I'm planning to also use it as a Bacula storage device.

For the moment is purely an AirPrint server, using CUPS and Avahi so is ide
99.9% of the time.

My priblem is that twice now it has turned itself off, the last time being at
7:40am today.

Headless Centos 7 "File and Print Server" install - configure WIFI

Google has done it's usual job and returned lots of results but not led me to
a solution.

I've just build a Centos 7 "File and Print Server" config, i.e. no
screen/keyboard/mouse and no GUI installed.

The LAN connection has worked out of the box and I can SSH into the server
without issue.

However, I cannot find out how to configure the WIFI connection which I need
in order to provide Air Print services.

I'm using a USB dongle which the kernel has recognised and provides me with a
device. I can use that device to scan for available WIFI networks.

Airprint to old printer using Centos server

Hi folks,

I've found a number of articles on setting up a Linux / CUPS / Avahi server to
allow airprinting, but they all seem to be quite old.

Two questions:

1) Does anyone have a link for a more recent article, hopefully specifically
for Centos7.

2) I'm on a structured, VLAN network. Will I have to put a WIFI card into my
Centos server to give it a presence on the WIFI before this will work?


Firefox and Chrome - dicking about with my volume.

I have Centos 7 installed on my laptop which works perfectly fine.

I use a variety of music apps including VLS, mplayer and squeezelite.

HP Envy EFI problem after BIOS update

I had to boot my HP Envy into Win8 for the first time in ages this morning.
When I did that, it installed some updates including a BIOS update.

Once this was all done, once again the GRUB boot menu was gone and it booted
straight into Win8. Using the advanced boot manager options in Win8 I
managed to get the EFI boot menu up and chose Ferdora 21.

It was only after Fedora failed to boot that I realised that this was wrong.

yum update (first in a long time) - EXIM environment variable warning

Me again,

Another problem I've found since doing my yum update is that EXIM is now
showing the following error, on startup, and repeatedly in main.log

[root@ollie2 ~]# exim -bt <a href="mailto: ... at example dot com"> ... at example dot com</a>
2016-05-06 09:27:04 WARNING: purging the environment.
Suggested action: use keep_environment and add_environment.


Googling says that to fix this all I need to do is add


to exim.conf.

yum update (first in a long time) - /var/log/dovecot no longer used

Me again,

Another change to my Centos 7.2 system since my 'yum update' yesterday is
that /var/log/dovecot is no longer written to.

If I do 'systemctl status dovecot' I can see log entries. How can I now do the
equiv or 'tail -f <logfile>'

Also, why has this changed, and where is it documented?

Dovecot on C7.2 - secure internet access

I have a mail server running on Centos 7.2 which has been working for my LAN
for a long time.

I'm at the point where I have to make it accessible to the internet. At the
moment, access can be insecure but as it's on my LAN it isn't an issue.

However, for internet access I wish to force SSL/TLS.