Hallo,
danke für die rasche Antwort.
Bei mir gibt es die Datei "apache" nicht, sondern nur "apache2", weshalb ich dieses genommen habe. Somit wollte ich einmal den stop Befehl ausprobieren und bekam gleich eine Fehlermeldung:
- Code: Select all
root@xserv20648:~# /etc/init.d/apache2 stop
* Stopping web server apache2
*
* The apache2 configtest failed, so we are trying to kill it manually. This is almost certainly suboptimal, so please make sure your system is working as you'd expect now!
Dann habe ich den Server wieder mit deinem geschriebenen Befehl gestart, und auch wieder eine Fehlermeldung:
- Code: Select all
root@xserv20648:~# /etc/init.d/apache2 start
* Starting web server apache2
*
* The apache2 configtest failed.
Output of config test was:
apache2: Syntax error on line 140 of /etc/apache2/apache2.conf: Syntax error on line 1 of /etc/apache2/mods-enabled/passenger.load: Cannot load /home/openproject/.rvm/gems/ruby-2.1.4/gems/passenger-4.0.53/buildout/apache2/mod_passenger.so into server: /home/openproject/.rvm/gems/ruby-2.1.4/gems/passenger-4.0.53/buildout/apache2/mod_passenger.so: cannot open shared object file: No such file or directory
Action 'configtest' failed.
The Apache error log may have more information.
Die Module ruby und passenger habe ich nach Anleitung der Applikation OpenProject installiert:
- Code: Select all
Install Ruby
Switch to the dedicated OpenProject-user (user openproject in our case):
[root@all] su openproject -c "bash -l"
Switch to the user’s home directory …
[openproject@all] cd ~
… and install RVM (Ruby Version Manager)
[openproject@all] \curl -sSL https://get.rvm.io | bash -s stable
It can be that curl fails to download the RVM source, because of the missing GPG key. If that is the case, download the key (as suggested in the error message):
[openproject@all] gpg --keyserver hkp://keys.gnupg.net --recv-keys D39DC0E3
Then try to download RVM again and continue the installation with:
[openproject@all] source $HOME/.rvm/scripts/rvm
[openproject@all] rvm autolibs disable
[openproject@all] rvm install 2.1.4
[openproject@all] rvm use --default 2.1.4
[openproject@all] gem install bundler
Ich habe jetzt auch nachgesehen, ob die Datei
- Code: Select all
/home/openproject/.rvm/gems/ruby-2.1.4/gems/passenger-4.0.53/buildout/apache2/mod_passenger.so
überhaupt auf meinem Server vorhanden ist, und sie ist nicht vorhanden.
Der Pfad geht bis /home/openproject/.rvm/gems/ruby-2.1.4/gems/passenger-5.0.2, somit ist schon mal die Versionsnummer von "passenger" unterschiedlich.
Doch im Verzeichnis "passenger-5.0.2" folgt dann auch nicht "/buildout/apache2/mod_passenger.so"
Kannst du mir sagen, woher ich das richtige Module bekomme?
Danke!