LiteSpeed Technologies
Download Download     Blog Blog     Wiki Wiki     Forum Forum     Store     Contact Contact    

Go Back   LiteSpeed Support Forums > LiteSpeed Web Server > Bug Reports > 2.0.1 as stable as 2.0?

Reply
 
Thread Tools Display Modes
  #1  
Old 03-29-2005, 12:32 PM
ts77 ts77 is offline
Senior Member
 
Join Date: Nov 2004
Posts: 288
Default 2.0.1 as stable as 2.0?

Hi there,

I just upgraded one dev-server through the web-interface and sice then I already got more than 10 times
Code:
Web server with pid=13094 received unexpected signal=11, no core file is created. A new instance of web server will be started automatically!
(always with different pid for sure )

Was there anything changed which could cause this?
The server is not really loaded, it doesn't even do 1 req/s ... .
Anything I could do to track this down?
I don't really want to upgrade the production server and seeing the same result .


TIA,

thomas
Reply With Quote
  #2  
Old 03-29-2005, 02:48 PM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,590
It probably caused by the new error logging code, but I am not 100% sure.
That will be great if you can send us a core file, if interested please follow the direction in http://www.litespeedtech.com/bugs.html

If you are using a stock Redhat kernel, then forget about it, as the kernel is patched not to dump a core for set uid process no matter what.

Thanks! :-)
Reply With Quote
  #3  
Old 03-30-2005, 03:06 AM
ts77 ts77 is offline
Senior Member
 
Join Date: Nov 2004
Posts: 288
as you can see from my post
Code:
no core file is created
the core-file is not being created.

No, I'm not using redhat ... its a gentoo-linux running on kernel 2.6.11.
How can I enable the core-dumps there?
Your bug-page only talks about enabling it for 2.4.x.

Strange thing is that it didn't segfault for 14 hours now ... before it did this every 10 minutes :shock: .
Reply With Quote
  #4  
Old 03-30-2005, 08:14 AM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,590
You can enable core dump the same way for 2.6 kernel from the admin interface. If the kernel is not patched disallowing it, the error log will report "core dump is enabled." when you restart the server.
Reply With Quote
  #5  
Old 03-31-2005, 09:39 AM
ts77 ts77 is offline
Senior Member
 
Join Date: Nov 2004
Posts: 288
yeah, that worked and I just got a couple more of these segfaults right now.
message to bugs@... is on its way .



another related question:
On the other machine the webupdate to 2.0.1 didn't work.
It told that its upgrading, restarted the server and ... its still 2.0.0 and in the bin-directory there is no trace of 2.0.1.
Any idea what could be wrong about this? Are upgrade-attempts (or better their results) logged somewhere?


TIA,

thomas
Reply With Quote
  #6  
Old 03-31-2005, 10:21 AM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,590
Quote:
On the other machine the webupdate to 2.0.1 didn't work.
It told that its upgrading, restarted the server and ... its still 2.0.0 and in the bin-directory there is no trace of 2.0.1.
Any idea what could be wrong about this? Are upgrade-attempts (or better their results) logged somewhere?
You can check lsws/autoupdate/update.log, but I not sure anything useful to diagnose this problem is logged there.
The update package should be expanded under lsws/autoupdate/ directory.
Please check the error.log regarding update as well.

Another thing to try is to restart the web server from console.
Reply With Quote
  #7  
Old 03-31-2005, 10:37 AM
ts77 ts77 is offline
Senior Member
 
Join Date: Nov 2004
Posts: 288
hmm, damned. there is nothing in the logs shown about it and nothing extracted in autoupdate.
restarting webserver from console didn't help either.

some additional tools needed which might be outdated or missing on debian-stable?

maybe I should just use the manual installation/upgrade from console .
Reply With Quote
  #8  
Old 03-31-2005, 10:45 AM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,590
The lshttpd will execute lsws/admin/misc/update.sh when the update request has been received.
You can try that script from console, see what kind of error it reports.
Reply With Quote
  #9  
Old 03-31-2005, 10:58 AM
ts77 ts77 is offline
Senior Member
 
Join Date: Nov 2004
Posts: 288
wanna know what that script returned?

nothing ... it just worked and upgraded without problems.
Don't know what happened ... we will see after the next release .
Reply With Quote
  #10  
Old 03-31-2005, 11:06 AM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,590
Is the server started as root users? Maybe because insufficient permission.
Another possibility is that lshttpd does not execute it at all due to authentication problem, that should be logged in the error.log.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 02:39 AM.



- Archive - Top
© Copyright 2003-2011 LiteSpeed Technologies, Inc. All rights reserved. Privacy Policy.