LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 03-12-2007, 05:35 PM   #1
tranzy
LQ Newbie
 
Registered: Mar 2007
Distribution: Ubuntu
Posts: 2

Rep: Reputation: 0
Apache2 does not appear to be running


Hello,

when I start apache, I don't get any errors or failures.

root@ubuntu:~# /etc/init.d/apache2 start
* Starting apache 2.0 web server... [ ok ]

Everything seems ok, however apache has not started. When I check the error log I see:

root@ubuntu:/home# cat /var/log/apache2/error.log
PHP Warning: cl_loaddbdir: Unable to open file or directory\n in Unknown on line 0
PHP Fatal error: Unable to start clamav module in Unknown on line 0
LibClamAV Error: cl_loaddbdir(): Can't open directory /var/lib/clamav

I cleared the error.log and restarted apache. Now the error.log says:
root@ubuntu:/var/log/apache2# cat error.log
PHP Warning: Database initialization error: Malformed database\n in Unknown on line 0
PHP Fatal error: Unable to start clamav module in Unknown on line 0
LibClamAV Error: cl_free: root == NULL

Any tips or solutions?

Thanks!

Jo
 
Old 03-12-2007, 06:04 PM   #2
puntjuh
Member
 
Registered: Apr 2006
Location: holland
Distribution: Gentoo / debian / suse / mint
Posts: 558

Rep: Reputation: 42
I think you might've compiled apache with clamav support or so, but don't have clamav installed.

You could either try installing clamav, or removing apache and reinstall it.
 
Old 03-13-2007, 12:25 PM   #3
tranzy
LQ Newbie
 
Registered: Mar 2007
Distribution: Ubuntu
Posts: 2

Original Poster
Rep: Reputation: 0
I tried to install libclamav but it was already installed

So I removed it, started apache again and it's running now.

Many thanks!

Jo
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
MySQL, Apache2 smb not running energiza SUSE / openSUSE 3 05-03-2006 03:06 PM
apache2 not running mikolaj Slackware 10 09-26-2004 12:00 PM
Apache2 running but not serving any page Kerion Linux - Newbie 4 07-28-2004 05:16 PM
Apache2 running but not? Relja Linux - Networking 6 03-22-2004 04:28 AM
Problem running apache2 G24 Linux - Networking 7 01-01-2004 09:36 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

All times are GMT -5. The time now is 10:06 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration