[Koha] problem with apache

David Nind david.nind at gmail.com
Sat May 19 13:47:22 NZST 2012


Hi.

The default behaviour for Debian when Apache is installed is for the
service to start automatically.

If Apache is not starting automatically this could be because:

   - Automatic starting of Apache was disabled
   - There is a problem with your Apache configuration.

*Checking whether Apache is automatically starting*

One way to do this - How-To: Managing services with update-rc.d
http://www.debuntu.org/how-to-manage-services-with-update-rc.d

I use chkconfig (you may need to install it first: sudo aptitude install
chkconfig).

   - chkconfig apache2 (will show whether Apache is set to start
   automatically)
   - chkconfig apache2 on (will enable automatic starting of Apache)
   - chkconfig apache2 off (will stop Apache from automatically starting).

There may be better ways to do this.

*Identifying problems with your Apache configuration*

If Apache is set to start automatically but doesn't appear to be running
there may be problems with your Apache configuration.

After starting your server login and see what Apache's status is: sudo
/etc/init.d/apache2 status

You can check whether there is a problem with your Apache configuration by
running: sudo apachectl -t

You may also want to check the Apache error log file or any errors:
/var/log/apache2/error.log

Regards.

-- 
David Nind | david.nind at gmail.com
PO Box 12367, Thorndon, Wellington, New Zealand 6144
h. +64 4 9720 600 | m. +64 21 0537 847 | w. +64 4 8906 098

On 19 May 2012 01:14, kouider bounama <kouiderbounama at gmail.com> wrote:

> Hello all
> I have a problem
> Koha has been installed successfully and is working well on debian6.04
> but every time when i rebooted my pc
> and go to Koha does not work .
> but after doing   This command  in terminal apache2ctl restart
> then koha return to work again
> help me
>
>
> --
> View this message in context:
> http://koha.1045719.n5.nabble.com/problem-with-apache-tp5711893.html
> Sent from the Koha-general mailing list archive at Nabble.com.
> _______________________________________________
> Koha mailing list  http://koha-community.org
> Koha at lists.katipo.co.nz
> http://lists.katipo.co.nz/mailman/listinfo/koha
>


More information about the Koha mailing list