Changes
Jump to navigation
Jump to search
← Older edit
Newer edit →
Infrastructure
(view source)
Revision as of 16:29, 4 July 2016
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 =====
Stephane
Bureaucrats
,
Administrators
1,083
edits
Navigation menu
Personal tools
Log in
Namespaces
Page
Discussion
Variants
Views
Read
View source
View history
More
Search
Navigation
Log in
Open Food Facts galaxy
📍Where am I?
🍊Open Food Facts website
Open Food Facts wiki
Main page
Recent changes
Random page
🧴 Open Beauty Facts wiki
Main page
Deep dive per topic
All topics
Whole wiki
Help about MediaWiki
Icons in the wiki
Tools
Special pages
Printable version
Admins
Edit sidebar
Styling
Replace text
Special Pages