Redmine does not start (CentOS\MySQL\Apache)
Added by zonard Su over 5 years ago
Spent 4 days to install Redmine, and did not work. Apache shows a test page, although in .conf all links are set correctly.
I used this guide https://www.redmine.org/projects/redmine/wiki/Install_Redmine_346_on_Centos_75 and many others but the result did not work.
======================
System parameters:
CentOS Linux release 7.6.1810 (Core)
MySQL 8.0
Ruby 2.6.3p62 (2019-04-16 revision 67580) [x86_64-linux]
Redmine 4.0.3
Apache Passenger 6.0.2
Server version: Apache/2.4.6 (CentOS)
======================
MySQL:
mysql> SHOW DATABASES;
| information_schema |
| mysql |
| performance_schema |
| redmine |
| redmine_development |
| sys |
6 rows in set (0.01 sec)
mysql> SELECT User, Host FROM mysql.user;
| mysql.infoschema | localhost |
| mysql.session | localhost |
| mysql.sys | localhost |
| redmine | localhost |
| root | localhost |
5 rows in set (0.00 sec)
======================
Redmine location: /opt/redmine/redmine-4.0.3
======================
Users:
[root@static redmine-4.0.3]# cat /etc/passwd | sed s/:.*//
root
bin
daemon
adm
lp
sync
shutdown
halt
mail
operator
games
ftp
nobody
systemd-network
dbus
polkitd
sshd
postfix
chrony
mysql
tss
apache
saslauth
redmine
======================
groups:
[root@static redmine-4.0.3]# cat /etc/group | sed s/:.*//
root
bin
daemon
sys
adm
tty
disk
lp
mem
kmem
wheel
cdrom
mail
man
dialout
floppy
games
tape
video
ftp
lock
audio
nobody
users
utmp
utempter
input
systemd-journal
systemd-network
dbus
polkitd
ssh_keys
sshd
postdrop
postfix
chrony
mysql
tss
apache
rvm
saslauth
redmine
stapusr
stapsys
stapdev
======================
[root@static redmine-4.0.3]# nano /etc/httpd/conf.d/redmine.conf
<VirtualHost *:80>
ServerName work.infiplay.com
DocumentRoot "/opt/redmine/redmine-4.0.3/public"
ErrorLog logs/redmine_error_log
LogLevel warn
PassengerRuby /usr/local/rvm/gems/ruby-2.6.3/wrappers/ruby
<Directory "/opt/redmine/redmine-4.0.3/public">
Options Indexes ExecCGI FollowSymLinks
Order allow,deny
Allow from all
AllowOverride all
</Directory>
</VirtualHost>
======================
[root@static redmine-4.0.3]# nano /etc/httpd/conf/httpd.conf
<...skip default text file..>
LoadModule passenger_module /usr/local/rvm/gems/ruby-2.6.3/gems/passenger-6.0.2/buildout/apache2/mod_passenger.so
<IfModule mod_passenger.c>
PassengerRoot /usr/local/rvm/gems/ruby-2.6.3/gems/passenger-6.0.2
PassengerDefaultRuby /usr/local/rvm/gems/ruby-2.6.3/wrappers/ruby
</IfModule>
======================
ruby bin/rails server webrick -e production - not work. Runs but without results
puma - not work. Runs but without results
======================
"apache" user rights are set to the /opt/redmine/ folder
What else can be done to run Redmine?