[Koha] odd error messages setting up Apache during install

David Lesniaski dalesniaski at stkate.edu
Sat May 29 10:36:33 NZST 2021


Ok, I'm installing the current version of koha on a debian server.  I have
a DNS and have pointed it to the IP address.

Installed Koha. I think.  Ditto Apache.

When I get to creating the name of the library:

 sudo koha-create --create-db libraryname
and I create a name for the library, say MYLIB

I get this error message:
----------
sudo: unable to resolve host dalkoha: Name or service not known
AH00557: apache2: apr_sockaddr_info_get() failed for dalkoha
AH00558: apache2: Could not reliably determine the server's fully qualified
domain name, using 127.0.0.1. Set the 'ServerName' directive globally to
suppress this message
AH00557: apache2: apr_sockaddr_info_get() failed for dalkoha
AH00558: apache2: Could not reliably determine the server's fully qualified
domain name, using 127.0.0.1. Set the 'ServerName' directive globally to
suppress this message
AH00557: apache2: apr_sockaddr_info_get() failed for dalkoha
AH00558: apache2: Could not reliably determine the server's fully qualified
domain name, using 127.0.0.1. Set the 'ServerName' directive globally to
suppress this message
adduser: Please enter a username matching the regular expression configured
via the NAME_REGEX configuration variable.  Use the `--force-badname'
option to relax this check or reconfigure NAME_REGEX.
-----------

dalkoha is the "internal" name of my server (I'm using Linode to host the
server, and I picked "dalkoha" as the name of my server).

So why apache is looking for this in the first place I have no idea.  I did
edit the config file to replace the domain with my actual DNS -- so I am
not sure why apache isn't looking for that.
the 127 ... stuff is in the config file (I really don't know what it's
doing there) but I did not see any instructions during the install that
said to change this.

So how do I get apache to "find" my actual web address?
Should I just ditch all this and do an IP address install?

Many thanks for any advice you can give.

If this is so basic or obscure  that there is no need to clutter the list
with a list reply, just reply to me at the email below.

-- David

Dr. David Lesniaski
Associate Professor
MLIS Program
St. Catherine University
2004 Randolph Ave. #4125
St. Paul, MN 55105
dalesnaski at stkate.edu
he, him, his


More information about the Koha mailing list