Changes

Jump to navigation Jump to search
835 bytes added ,  16:29, 4 July 2016
→‎Apache configuration: debugging non starting Apache
Line 304: Line 304:  
mkdir /home/off/logs
 
mkdir /home/off/logs
    +
 +
Debugging:
 +
 +
If Apache does not start, check the apache2 logs (e.g. for apache2-obf) :
 +
 +
<pre>
 +
/var/log/apache2-obf# tail -f error.log
 +
[Mon Jul 04 15:38:52.616689 2016] [perl:error] [pid 15197:tid 120373734786944] Can't locate /home/obf/cgi/startup_apache2.pl in @INC (@INC contains: /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.20.2 /usr/local/share/perl/5.20.2 /usr/lib/x86_64-linux-gnu/perl5/5.20 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl/5.20 /usr/share/perl/5.20 /usr/local/lib/site_perl . /etc/apache2-obf) at (eval 2) line 1.\n
 +
[Mon Jul 04 15:38:52.616762 2016] [perl:error] [pid 15197:tid 120373734786944] Can't load Perl file: /home/obf/cgi/startup_apache2.pl for server ns3362784.ip-37-187-74.eu:0, exiting...
 +
</pre>
 +
 +
-> forgot to create startup_apache2.pl, going to copy the one from off and change the path in it.
    
===== Running a 2nd Apache instance for OBF =====
 
===== Running a 2nd Apache instance for OBF =====

Navigation menu