Apache 2 update

Richard

Verified User
Joined
Jul 2, 2004
Messages
33
Location
Argentina
i install a new server with DA and update Apache 2 but when a add a new reseller, apache stop!!

When i did: service httpd start
Starting httpd: Syntax error on line 7 of /usr/local/directadmin/data/users/resellerxx/httpd.conf:
Port was replaced with Listen in Apache 2.0
[FAILED]

anyone can help me, please ?
thx
 
Hello,

Port was replaced with Listen in Apache 2.0
Have you tried switching all instances of Port to Listen in your httpd.conf files?

Good luck.

Phi1.
 
Restart Directadmin

Before you add a domain, restart directadmin with command service directadmin restart . The scripts don't restart it, so after you restart it, it will make the conf right.
 
i restart directadmin but nothing happend, i restart apache and work fine for a minutes
apache log error:
[Thu Nov 04 14:34:18 2004] [error] (88)Socket operation on non-socket: apr_accept: (client socket)

:(
 
Delete the domain, restart direct admin, re-created the domain. I had the Port Listen problem, and after restarting directadmin, and re-creating the domain, i had no problems.
 
As I posted earlier i'm having troubles with apache2 and php.

Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/squirrelmail-1.4.3a/functions/imap_general.php:909) in /var/www/html/squirrelmail-1.4.3a/src/redirect.php on line 58

Warning: fsockopen() [function.fsockopen]: unable to connect to localhost:143 (Operation now in progress) in /var/www/html/squirrelmail-1.4.3a/functions/imap_general.php on line 444


This error is occuring in both of my webmails, and every user account that is using the function fsockopen().

Anyone a solution to this ?
 
1. Imap/SSL problem: Compile PHP with-imap and ssl (see howto on forum)
2. Go back: get the /etc/httpd back from a backup and change the directadmin.conf to not use 2.0 (last line), also change every VHOST in the CP
 
Hmm you say it's an imap and ssl problem ?.... well that would be strange because not only my imap webmail had problems with fsockopen()
Also my normal pop3 webmail (uebimiau) is experiencing the same problem.

Every script with fsockopen() in it is giving errors.


So is this also an imap + ssl thing ? or not ?


Cedric
 
Can't be sure about anything now. My DA is buggy as hell at the moment since I've updated it to the latest. Think some of the guys have just been hitting the keyboard without thinking.

All my plugins on the server don't work anymore as some other thing. Am fixing it 1 by 1 :s
 
Probaly not!
To go back:

get the /etc/httpd back from your backup or just recompile you /usr/local/directadmin/customapache the standard way without _ap2

and change the directadmin.conf to not use 2.0 (last line), also change every VHOST in the CP so it generates the vhosts in the old format ;)
 
Back
Top