Project

General

Profile

We're sorry, but something went wrong.

Added by john karippery over 4 years ago

Hello,
I am creating high availability clustering so that I create 3 server (server1, server2,server3) using pacemaker.
I want to add many resources into this servers for example apache redmine etc..
now I have problem running redmine.
I created redmine platform each server. And setup passenger.conf and 000-default.conf

/etc/apache2/mods-available/passenger.conf

PassengerDefaultUser www-data
PassengerUserSwitching on
PassengerUser redmine
PassengerGroup redmine

/etc/apache2/sites-available/000-default.conf

<Directory /var/www/html/redmine>
RailsBaseURI /redmine
PassengerResolveSymlinksInDocumentRoot on
</Directory>

I do it in each and every server.
server2 get actual output (redmine homepage)
on server1 i got message "*We're sorry, but something went wrong.*
We've been notified about this issue and we'll take a look at it shortly."
on server3 i got Index of /redmine

why I got different output for different server? what is the reason for this kind of output?

@root@server2:~# pcs status
Cluster name: mycluster
Stack: corosync
Current DC: server3 (version 1.1.18-2b07d5c5a9) - partition with quorum
Last updated: Fri Aug 30 12:16:07 2019
Last change: Fri Aug 30 11:08:14 2019 by root via crm_resource on server2

3 nodes configured
2 resources configured

Online: [ server1 server2 server3 ]

Full list of resources:

ClusterIP      (ocf::heartbeat:IPaddr2):       Started server1
WebSite (ocf::heartbeat:apache): Started server1

Daemon Status:
corosync: active/disabled
pacemaker: active/disabled
pcsd: active/enabled
root@server2:~#

@

ERROR.LOG

@[ 2019-08-30 12:23:18.6282 23813/7f79de584700 age/Cor/CoreMain.cpp:532 ]: Signal received. Gracefully shutting down... (send signal 2 more time(s) to force shutdown)
[ 2019-08-30 12:23:18.6282 23813/7f79e5e0cf00 age/Cor/CoreMain.cpp:901 ]: Received command to shutdown gracefully. Waiting until all clients have disconnected...
[ 2019-08-30 12:23:18.6282 23813/7f79e5e0cf00 age/Cor/CoreMain.cpp:819 ]: Checking whether to disconnect long-running connections for process 25087, application /usr/share/redmine
[ 2019-08-30 12:23:18.6283 23813/7f79ddd83700 Ser/Server.h:817 ]: [ApiServer] Freed 0 spare client objects
[ 2019-08-30 12:23:18.6283 23813/7f79ddd83700 Ser/Server.h:464 ]: [ApiServer] Shutdown finished
[ 2019-08-30 12:23:18.6284 23813/7f79de584700 Ser/Server.h:817 ]: [ServerThr.1] Freed 128 spare client objects
[ 2019-08-30 12:23:18.6284 23813/7f79de584700 Ser/Server.h:464 ]: [ServerThr.1] Shutdown finished
[ 2019-08-30 12:23:18.6284 23813/7f79e5e0cf00 age/Cor/CoreMain.cpp:819 ]: Checking whether to disconnect long-running connections for process 25087, application /usr/share/redmine

[ 2019-08-30 12:23:18.6319 23818/7fc9e9770700 age/Ust/UstRouterMain.cpp:422 ]: Signal received. Gracefully shutting down... (send signal 2 more time(s) to force shutdown)
[ 2019-08-30 12:23:18.6319 23818/7fc9f1278f00 age/Ust/UstRouterMain.cpp:492 ]: Received command to shutdown gracefully. Waiting until all clients have disconnected...
[ 2019-08-30 12:23:18.6320 23818/7fc9e8f6f700 Ser/Server.h:817 ]: [UstRouterApiServer] Freed 0 spare client objects
[ 2019-08-30 12:23:18.6320 23818/7fc9e8f6f700 Ser/Server.h:464 ]: [UstRouterApiServer] Shutdown finished
[ 2019-08-30 12:23:18.6321 23818/7fc9e9770700 Ser/Server.h:464 ]: [UstRouter] Shutdown finished
[ 2019-08-30 12:23:18.6322 23818/7fc9f1278f00 age/Ust/UstRouterMain.cpp:523 ]: Passenger UstRouter shutdown finished
[ 2019-08-30 12:23:18.8577 23813/7f79e5e0cf00 age/Cor/CoreMain.cpp:967 ]: Passenger core shutdown finished @

Please help me to find this issue