problems with apache 1.3.34 on FreeBSD 4.11

expream

Verified User
Joined
Sep 17, 2005
Messages
53
Hello all!

have the following errors in logs

/var/log/httpd/error_log
[Wed Oct 26 00:01:02 2005] [warn] pid file /var/run/httpd.pid overwritten -- Unclean shutdown of previous Apache run?

what does it mean, I understand.. but there was no unclean shutdowns... and it is only in 1.3.34 .. in 33 there was no such messages...

/var/log/messages
Oct 26 00:00:03 server1 /kernel: pid 253 (httpd), uid 0: exited on signal 11 (core dumped)
Oct 26 00:30:01 server1 /kernel: pid 1833 (httpd), uid 0: exited on signal 11 (core dumped)

and this two messages...
 

squirrelhost

Verified User
Joined
Feb 21, 2004
Messages
174
Location
Marylebone, London
something went amiss - the question asked is
just that, a question, as it's a sensible place
to look first.

whic version of php are you running ?

if I googled for

uid 0: exited on signal 11 (core dumped)

there's be too many results, mostly relating
to php, not apache directly.
 

expream

Verified User
Joined
Sep 17, 2005
Messages
53
php is 4.4.0 .... firstly.. i have installed DA .. about month ago with php 4.3.11 and apache 1.3.33.. then i diceded about week ago to make an update and to update (via customapche) php and pache to 4.4.0 and 1.3.34... and i did it. After that apache dont started at all... In the log I have the same messages when I tried to start apache.... I have wrote to support.... OK.. support has fix it by commenting out php handlers from all users httpd.conf.. and after that apache works...

Now... I diceded to make it one more time... I have reinstall system , and then on clean system installed DA again... now DA is installed with new versions of php (4.4.0) and new apache(1.3.34) ... so I did't need to make custom apache.. but.. there still appers in the log..once in a day, about 00:30:00 ...
 

squirrelhost

Verified User
Joined
Feb 21, 2004
Messages
174
Location
Marylebone, London
you have a core file, could always examine it,
probably a seg fault somewhere.

wonder what cron jobs are running on your
server at that time anyway, to trigger this
problem ?
 

expream

Verified User
Joined
Sep 17, 2005
Messages
53
I have no crons... only thats DA have.. it is fresh install of FreeBSD and fresh install of DA without users... without additional options.... so where can I look for... :) somethink? :)
 

squirrelhost

Verified User
Joined
Feb 21, 2004
Messages
174
Location
Marylebone, London
FreeBSD 5.4, just delivered last week, DA install
has added:

1,31 0-5 * * * root adjkerntz -a
* * * * * root /usr/local/directadmin/dataskq
2 0-23/6 * * * root echo 'action=vacation&value=all' >> /usr/local/directadmin/data/task.queue;
5 0 * * * root /usr/sbin/quotaoff -a; /sbin/quotacheck -aug; /usr/sbin/quotaon -a;
30 0 * * * root echo 'action=tally&value=all' >> /usr/local/directadmin/data/task.queue
40 1 1 * * root echo 'action=reset&value=all' >> /usr/local/directadmin/data/task.queue
0 4 * * * root echo 'action=check&value=license' >> /usr/local/directadmin/data/task.queue

to /etc/crontab

looks like it's webalizer related, if it's
'exactly' 0:30 when it occurs.
 

blueice

Verified User
Joined
Jan 18, 2004
Messages
191
expream said:
Hello all!

have the following errors in logs

/var/log/httpd/error_log
[Wed Oct 26 00:01:02 2005] [warn] pid file /var/run/httpd.pid overwritten -- Unclean shutdown of previous Apache run?

what does it mean, I understand.. but there was no unclean shutdowns... and it is only in 1.3.34 .. in 33 there was no such messages...

/var/log/messages
Oct 26 00:00:03 server1 /kernel: pid 253 (httpd), uid 0: exited on signal 11 (core dumped)
Oct 26 00:30:01 server1 /kernel: pid 1833 (httpd), uid 0: exited on signal 11 (core dumped)

and this two messages...
i have the same problem.
So i have return to 1.3.33 until this resolved
 

squirrelhost

Verified User
Joined
Feb 21, 2004
Messages
174
Location
Marylebone, London
try this:

have a look for the

ScoreBoardFile directive in your
httpd.conf - my guess is that the file
specified doesn't exist.

comment this line out, and
restart your httpd.

then check your error log again.
 

expream

Verified User
Joined
Sep 17, 2005
Messages
53
2squirrelhost.. ok .. I have commented this line oout.. and tomorrow will say.. :) and do you know if freebsd need this scoreboard file? or not? if I manually will make this file? and then chown to apache:apache.. ?
 

blueice

Verified User
Joined
Jan 18, 2004
Messages
191
i have contact support and i have receive this answer:

***********************
Hello,

I'm not quite sure what the problem is, but it seems related to php.

I copied the virtual_host*.conf files to the custom directory (/usr/local/directadmin/data/templates) and commented out all the php flags.. and that seemed to prevent the core dump.
******************************
I hope this can help some people.
But in the future i want to use php flags so i hope this problem can be resolved.
Christos
 

expream

Verified User
Joined
Sep 17, 2005
Messages
53
it doesnt help to comment out from httpd.conf scroreboard directive... there errors are still in logs :(
 

squirrelhost

Verified User
Joined
Feb 21, 2004
Messages
174
Location
Marylebone, London
that's correct, posted in wrong thread while
reading three at once - this is a fix
for another problem, now posted in the
correct place. all errors like these
are mostly php related.

(searching on google wil throw up many,
and no need to comment out anything,
which is definitely not a step towards any
sort of solution)
 

expream

Verified User
Joined
Sep 17, 2005
Messages
53
so.. when I have installed DA I have this errors only one at 00:00:00 and one at 00:30:00 .. so only two errors.. and apache works perfectly.

Today I have rebuild php (add --with-iconv, and romove --with-kerberos) ... after install every time I tried to start apache I receive this errors in log.. and apache didnt started up.. until I have commented out php handlers in users http.conf files..

Any ideas? I have nothing found in google...
 

Gala

Verified User
Joined
Jun 23, 2004
Messages
7
I got this error too..
But after I disable Zend..it seem ok..
 

N!cklas

Verified User
Joined
Oct 25, 2005
Messages
19
This is the answer I got from my support (managed server @ Servstra.com)

The notice in the error_logs for Apache are only to notify that suexec mechanism is enabled, there are no errors in the logs, Apache is running fine.
 

Chrysalis

Verified User
Joined
Aug 25, 2004
Messages
1,584
Location
uk
Sometimes you may get whats known as a warning which can be ignored, a error is generally something that will stop the program from functioning whilst a warning would just be notfying you of something that might cause a problem but isnt critical.
 
Top