Forum Moderators: phranque

Message Too Old, No Replies

apache wont start?

ubuntun 12.4 with apache and owncloud wont start

         

beninho

6:41 pm on Mar 8, 2014 (gmt 0)

10+ Year Member



hello!

I'am not a linux expert, rather call me novice, but I'am trying to solve an issue with apache.

If I did nog provide enough information, please tell me what I should post.

Environment - Homeserver - Ubuntu 12.04.4 64 bit
Server Apache2.2
Database Mysql
owncloud 6.02
php 5.3

Since a few days apache won't start on my system.

When I start apache this erros occours

Syntax error on line 239 of /etc/apache2/apache2.conf:
Invalid command '/etc/phpmyadmin/apache.conf', perhaps misspelled or defined by a module not included in the server configuration
Action 'configtest' failed.
The Apache error log may have more information.
...fail!


there seems to be an issue with /etc/phpmyadmin/apache.conf on line 239. But I've checked en the file does exist and is not misspelled.

here is my apache config: [paste.ubuntu.com...]

and apache logfile [paste.ubuntu.com...]

Can someone please help me ?

thomcraver

4:15 pm on Mar 12, 2014 (gmt 0)

10+ Year Member



Does /etc/phpmyadmin/apache.conf exist? Is it readable by the Apache user?

mack

4:21 pm on Mar 12, 2014 (gmt 0)

WebmasterWorld Administrator 10+ Year Member Top Contributors Of The Month



Did you install apache and phpmyadmin using the package manager, or did you build it from source?

The package manager should install all components with correct user privileges. If you installed them yourself the config files may be owned by "youruser"

Mack.

phranque

4:49 pm on Mar 12, 2014 (gmt 0)

WebmasterWorld Administrator 10+ Year Member Top Contributors Of The Month



the problem is that line 239 contains the file name of the config file which is not a valid Apache directive.

thomcraver

5:17 pm on Mar 12, 2014 (gmt 0)

10+ Year Member



Indeed. Nice eye, Frank. The world "Include" should precede the filename on line 239.

phranque

5:55 am on Mar 13, 2014 (gmt 0)

WebmasterWorld Administrator 10+ Year Member Top Contributors Of The Month



thanks - and welcome to WebmasterWorld, thomcraver!

beninho

9:38 am on Mar 14, 2014 (gmt 0)

10+ Year Member



@frank,

Your're right, solved this with # line 239.

I think this happend when I installed phpmyadmin.

Thank-you guys