Technical Support KnowledgeBase
Supporting KnowledgeBox, Longman, Pearson Education and Edexcel CD-ROMs

Glossary    Contact Us
 
   
Knowledge Base
Knowledge Base KnowledgeBox KnowledgeBox Server General Server help Why is apache on KnowledgeBox not starting?

Why is apache on KnowledgeBox not starting?
This article applies to:

KnowledgeBox version: 1.5
Browser versions: all

The usual symptoms for this problem are getting a "Page cannot be displayed" error in the internet browser when trying to access the KnowledgeBox. And if you receive and "Connection refused" error when attempting to telnet into the KnowledgeBox (Refer to the following article for an explanation of telnet My_KnowledgeBox_is_not_working_what_do_I_do )

Rebooting the KnowledgeBox is also the first option to try. This will attempt to restart the KnowledgeBox's apache web server software. Try to telnet once again onto the KnowledgeBox. If it still fails then we will have to look on the KnowledgeBox itself i.e. log on to a terminal. Please refer to either How_do_I_connect_into_my_Knowledgebox_remotely_via_Putty or How_can_I_get_a_shell_on_an_Appliansys_Cachebox for an explanantion on logging on to your KnowledgeBox.

The command to try will be the following:

ps -auxwww | grep ^kb | grep httpd

You should receive an output to the screen that looks something like the following (a number of 'httpd' processes all started by the user 'kb'):

kb       12378  0.0  0.3  7748 3972 ?        S    Jan07   0:00 /home/knowledgebox/apache/2.0.47/bin/httpd -k start
kb       12379  0.0  0.3  7748 3972 ?        S    Jan07   0:00 /home/knowledgebox/apache/2.0.47/bin/httpd -k start
kb       12380  0.0  0.3  7748 3972 ?        S    Jan07   0:00 /home/knowledgebox/apache/2.0.47/bin/httpd -k start
kb       12381  0.0  0.3  7748 3972 ?        S    Jan07   0:00 /home/knowledgebox/apache/2.0.47/bin/httpd -k start
kb       12382  0.0  0.3  7748 3972 ?        S    Jan07   0:00 /home/knowledgebox/apache/2.0.47/bin/httpd -k start
kb       12383  0.0  0.3  7748 3972 ?        S    Jan07   0:00 /home/knowledgebox/apache/2.0.47/bin/httpd -k start
kb       12384  0.0  0.3  7748 3972 ?        S    Jan07   0:00 /home/knowledgebox/apache/2.0.47/bin/httpd -k start
cachepilot.example.com logs #

If there are no httpd processes, then it is possible KnowledgeBox itself is not running or the apache software is not running.

If you try the following command to see if there are any processes started by kb

ps -auxwww | grep ^kb

If you do not receive anything i.e. you just recieve the prompt again, then the KnowledgeBox has probably not started, this could be because the rc.knowledgebox is pointed to in the linux startup scripts. Other wise if you do receive something

 

 

Well what I'm trying to get to is, when attempting to start apache manually, if you get an error stating "non-numeric argument in /home/knowledgebox/apache/2.0.47/logs/httpd.pid" then just remove the file and restart the KnowledgeBox. On restarting the file will be recreated.


How helpful was this article to you?
Related Articles
article I get a white screen when starting KnowledgeBox
This article applies to the following types of...

  2-Apr-2005    Views: 1763   
article How can I add a KnowledgeBox icon in RM CC3
First place the KBbox.ico file in a central

  2-Dec-2004    Views: 4787   
article How do I assign a Site ID to a KnowledgeBox?
Please refer to the glossary for an explanation...

(No rating)  12-Nov-2004    Views: 2645   


.: Powered by Lore 1.3.0
[ Admin Login ]


(C) 2008 Pearson Education Ltd.