User manual
Troubleshooting
To make sure Apache2 starts at boot, we use the chkconf ig command with the
on
option:
koha @linux: - # sudo chkconfig apache2 on
Let's run a test once again to see if the configuration is correct:
koha @linux: /home /koha # sudo chkconfig apache2
apache2
on
There could be other reasons for the problem, of
course; look at the Apache2 log files
for clues. To view or track the log file, we use the tail command:
koha @linux: /home /koha # tail -f /var /log /apache2 /error log
MySQL database
server is down
If the MySQL database server is down, you will not be able to
connect to the
database. You should see something like this:
Koha error
The fodavving fatal error has occurred
,...n. ,t
to
total. Ny;V!.. aervd a
through ..
;.t
aar;run'mysHl
r'
.,,la,- on
ta-11,:i
rehui, .a at tu,
. -
.
CA ;
51Pi t`c'.ie,
lat, G:r aw.}'rtad
....
.
.....
.
.: i.lc:r.'
-^mpil.ar-: nn T
Ind ir:
.-
. . at
a
.S°GIfi
.
-oo;n at
.ei-
tatr
....rted
.-
.
..
,.ed
,,.
_i, .
.,.
g.
......:.:
...
.........
,:r::l..:it:.:,n'i.irre 2:.
.:... ,..:
.......-.:.:
:
ilvtl i
regrirr.: at
. .,..
.. .
,
iP.:':apnc-mairs.G''- line 1
re
..
.
.. .....:: .
..
.
z.
lat-on aC.... t-
ion
oea_- Ina ;r,.pl line 22.
pr
iirg:.:tatlon
duns. pm ;.r
pm ling^a
lirre 25.
24,
n_ 24,
1?n? 2'.
m :..r_ 27.
,I:
In such a situation, the first thing to check is if the MySQL database
server is running
or not. To test status of MySQL, we run the status command as follows:
koha @linux: - # sudo /etc /init.d /mysql status
Checking for service MySQL:
[ 200 ]
unused