PDA

View Full Version : Unrecognized LogFormat directive %O - not solved



hpman28
05-08-2009, 06:30 AM
Hi,

I followed http://www.directadmin.com/features.php?id=931.
It doesnt seem to solve the log problem.

I did download the update, ran the update scripts, etc.

Even after that the error still occur:


root@server scripts]# service httpd restart
Stopping httpd: [FAILED]
Starting httpd: Syntax error on line 5 of /etc/httpd/conf/ips.conf:
Unrecognized LogFormat directive %O
[FAILED]
[root@server scripts]# vi /etc/httpd/conf/ips.conf
[root@server scripts]# service httpd restart
Stopping httpd: [FAILED]
Starting httpd: [ OK ]
[root@server scripts]#


I have to edit this file each time the server fails.. I got 2 servers effect from it.

Both servers are customapache - Centos 5 / apache 2.2 with latest directadmin.

Is there another way I can get rid of this logs issue? my customers are really suffering because of it.

smtalk
05-08-2009, 07:26 AM
Try:


cd /usr/local/directadmin/custombuild
./build update
./build set apache_ver 2.2
./build apache
./build rewrite_confs

hpman28
05-08-2009, 07:29 AM
I really dont want to reinstall apache / php. It's a active server with many clients.

Is there a way to downgrade to older directadmin?

scsi
05-08-2009, 07:50 AM
No there is not. There is no reason you shouldnt upgrade apache / php.

hpman28
05-08-2009, 10:13 PM
Thanks.

Update went well and the problem doesnt appear anymore.