Page 3 of 3

Apache this time

Posted: Fri Nov 17, 2006 6:45 pm
by Barbado
Hello gentlemen,

check this out,
3rd installation, same procedures, different results.

this time Apache isn't being correctly set at boot time.
Moreover it is refusing connection.
$ vim /var/www/apache2/error.log
[Thu Nov 16 14:40:05 2006] [notice] Apache/2.2.3 (Debian) configured -- resuming normal operations
[Thu Nov 16 14:54:09 2006] [notice] caught SIGTERM, shutting down
[Thu Nov 16 14:54:12 2006] [notice] Apache/2.2.3 (Debian) configured -- resuming normal operations
[Thu Nov 16 15:10:54 2006] [notice] caught SIGTERM, shutting down
Any ideas?

more information

Posted: Fri Nov 17, 2006 7:47 pm
by Barbado
Earlier, I did the following in the /var/www/ directory:

just in case...
# chown www-data.www-data . -R
# chmod g+w+x . -R
the error remains the same:
# /etc/init.d/apache2 restart
Forcing reload of web server (apache2)...apache2: Syntax error on line 185 of /etc/apache2/apache2.conf: Syntax error on line 1 of /etc/apache2/mods-enabled/php5.load: API module structure `php5_module' in file /usr/lib/apache2/modules/libphp5.so is garbled - perhaps this is not an Apache module DSO?
failed!
my Apache packages:
# dpkg -l | grep apache
apache2 2.2.3-3.1
apache2-mpm-prefork 2.2.3-3.1
apache2-utils 2.2.3-3.1
apache2.2-common 2.2.3-3.1
libapache2-mod-php5 5.2.0-0.dotdeb.3

Re: more information

Posted: Sat Nov 18, 2006 1:04 am
by cordel
Barbado wrote: the error remains the same:
# /etc/init.d/apache2 restart
Forcing reload of web server (apache2)...apache2: Syntax error on line 185 of /etc/apache2/apache2.conf: Syntax error on line 1 of /etc/apache2/mods-enabled/php5.load: API module structure `php5_module' in file /usr/lib/apache2/modules/libphp5.so is garbled - perhaps this is not an Apache module DSO?
failed!
Sounds like you did something wrong in your apache config file. Try reloading the original config (hopefully you backed that up before making any changes).
If not you can look at the apache manual for your version and correct the bad syntax.

Regards,
Corey

whew !!

Posted: Wed Nov 29, 2006 6:34 pm
by Barbado
ok, it's web-accessible now.
=)

Two things made the difference for this successful Kurumin Linux installation:

* I have chosen Apache packages instead of Apache2 packages; and

* I accepted the default settings for the database rather than choosing specific host, name, password and etc concerning the ./config command.

I can see ZoneMinder's console now but no login screen showed up.

For eventual future participation I might take in here, I think it's better to start a new "setting up" topic since my installation saga is (thank God, Corey and James) concluded.

Before this however, let me ask you gentlemen these last 2 things:
1-How can I run ZM in authenticated mode?
2-And how can I stop browser window auto-resizing?

Well, thank you gentlemen, by now.
;)

Posted: Wed Nov 29, 2006 7:34 pm
by cordel
Both can be changed in options. The setting for authintication is the fist tab you see in options and for the browser resize is under the Web tab.

Corey