Schritt 2: Mysql-DB aufsetzen: die gibt's bei mir schon -> uebersprungen
Schritt 3: Apache-config testen und apache starten
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
pctest:/srv/www # apachectl configtest
Subroutine connect_on_init redefined at /usr/lib/perl5/vendor_perl/5.8.1/Apache/DBI.pm line 31.
Subroutine setPingTimeOut redefined at /usr/lib/perl5/vendor_perl/5.8.1/Apache/DBI.pm line 48.
Subroutine connect redefined at /usr/lib/perl5/vendor_perl/5.8.1/Apache/DBI.pm line 61.
Subroutine childinit redefined at /usr/lib/perl5/vendor_perl/5.8.1/Apache/DBI.pm line 133.
Subroutine cleanup redefined at /usr/lib/perl5/vendor_perl/5.8.1/Apache/DBI.pm line 150.
Subroutine all_handlers redefined at /usr/lib/perl5/vendor_perl/5.8.1/Apache/DBI.pm line 164.
Subroutine disconnect redefined at /usr/lib/perl5/vendor_perl/5.8.1/Apache/DBI.pm line 180.
Failed to open /srv/www/poard/conf/local.conf: No such file or directory at /srv/www/poard/lib/PBoard/Config.pm line 610
[Tue Jul 4 08:00:59 2006] [error] Couldn't load /srv/www/poard/conf/local.conf (/srv/www/poard/conf/local.conf.example should give you some hints) at /srv/www/poard/lib/PBoard/Config.pm line 610.\nCompilation failed in require at /srv/www/poard/bin/mod_perl_startup.pl line 23.\nBEGIN failed--compilation aborted at /srv/www/poard/bin/mod_perl_startup.pl line 23.\nCompilation failed in require at (eval 33) line 1.\n
Syntax error on line 51 of /srv/www/vhosts.conf:
Couldn't load /srv/www/poard/conf/local.conf (/srv/www/poard/conf/local.conf.example should give you some hints) at /srv/www/poard/lib/PBoard/Config.pm line 610.
Compilation failed in require at /srv/www/poard/bin/mod_perl_startup.pl line 23.
BEGIN failed--compilation aborted at /srv/www/poard/bin/mod_perl_startup.pl line 23.
Compilation failed in require at (eval 33) line 1.
pctest:/srv/www #
Die Datei /srv/www/pboard/conf fehlt; es gibt aber in diesem Verzeichnis eine local.conf.example. Achso, die fehlende Datei muss ich selbst erstellen; sollte in einer README oder INSTALL dokumentiert werden.
Also Datei erstellt (bei mir reichte ein copy; waere aber klasse, die auch noch in das install.pl einzubinden, was vermutlich geplant ist)
pctest:/srv/www/poard/conf # apachectl configtest
Subroutine connect_on_init redefined at /usr/lib/perl5/vendor_perl/5.8.1/Apache/DBI.pm line 31.
Subroutine setPingTimeOut redefined at /usr/lib/perl5/vendor_perl/5.8.1/Apache/DBI.pm line 48.
Subroutine connect redefined at /usr/lib/perl5/vendor_perl/5.8.1/Apache/DBI.pm line 61.
Subroutine childinit redefined at /usr/lib/perl5/vendor_perl/5.8.1/Apache/DBI.pm line 133.
Subroutine cleanup redefined at /usr/lib/perl5/vendor_perl/5.8.1/Apache/DBI.pm line 150.
Subroutine all_handlers redefined at /usr/lib/perl5/vendor_perl/5.8.1/Apache/DBI.pm line 164.
Subroutine disconnect redefined at /usr/lib/perl5/vendor_perl/5.8.1/Apache/DBI.pm line 180.
Syntax OK
pctest:/srv/www/poard/conf #
passt.
apache starten:
pctest:/srv/www/poard/conf # apachectl start
Subroutine connect_on_init redefined at /usr/lib/perl5/vendor_perl/5.8.1/Apache/DBI.pm line 31.
Subroutine setPingTimeOut redefined at /usr/lib/perl5/vendor_perl/5.8.1/Apache/DBI.pm line 48.
Subroutine connect redefined at /usr/lib/perl5/vendor_perl/5.8.1/Apache/DBI.pm line 61.
Subroutine childinit redefined at /usr/lib/perl5/vendor_perl/5.8.1/Apache/DBI.pm line 133.
Subroutine cleanup redefined at /usr/lib/perl5/vendor_perl/5.8.1/Apache/DBI.pm line 150.
Subroutine all_handlers redefined at /usr/lib/perl5/vendor_perl/5.8.1/Apache/DBI.pm line 164.
Subroutine disconnect redefined at /usr/lib/perl5/vendor_perl/5.8.1/Apache/DBI.pm line 180.
/usr/sbin/apachectl start: httpd could not be started
pctest:/srv/www/poard/conf #
seltsam; ich suche nach dem fehler, und danach geht's weiter...
die rechte sind voellig schraeg; habe ich wohl meinen ftp-server seltsam konfiguriert
fehler gefunden: das Verzeichnis /srv/www/poard/log fehlte
lokal hinzugefuegt und auch auf sf.net
dann mit dem webbrowser auf
http://192.168.1.201:8084/ gegangen, und funktioniert\n\n
<!--EDIT|Strat|1153576556-->