Rechner Reboots (neue Erkenntnisse)

From: Martin Schepers <nl(at)ms-net.de>
Date: Tue, 4 Jun 2002 17:45:38 +0200

Hallo,

weitere Erkenntnisse zum Thema "Rechner bootet selbst wann er will"

Bekannte Fehlermeldungen:
/var/log/messages:
Jun 4 09:05:52 server1 httpd: IMAP toolkit crash: Bad msgno 4 in mail_elt, nmsgs = 3
Jun 4 09:05:52 server1 /kernel: pid 381 (httpd), uid 65534: exited on signal 6

Zeitgleich in in der httpd-error.log:
[Tue Jun 4 09:05:53 2002] [notice] child pid 381 exit signal Abort trap (6)
[Tue Jun 4 09:05:53 2002] [notice] child pid 316 exit signal Abort trap (6)

Kernel-Panic Screen (zufällig daneben gestanden und von Hand
abgeschrieben, evtl. nicht ganz exakt):

Fatal Trap 12: page fault while in kernel mode
fault virtual address: 0x20202020
fault code: supervisor read, page not present
instruction pointer: 0x8:0x20202020
stack pointer: 0x10:0c969c47c
frame pointer: 0x10:0c969c494
code segment: base 0x0, limit 0xfffff, type 0x1b
            : DPL 0, pres 1, def32 1, gran 1
processor eflags: interrupt enabled, resume, IOPL=0
current process: 1531 (qmail-pop3d)
interrupt mash: net getty
trap number: 12
panic: page fault
uptime.....

Bisherige Erkenntnisse:

Solange Apache deaktiviert ist läuft das System einwandfrei.
Somit konnte das Fehlerfeld auf das Apache-PHP-Imap System verringert werden.

der Apache läuft mit mod_php4, dies wurde mit IMAP-Unterstützung
kompiliert. Der lokale Mailserver, der vom installierten Webmailer
abgrfragt wird, unterstützt kein IMAP, der PHP-IMAP beherrscht
offensichtlich auch pop3.

Der Fehler tritt ebenso nur bei erhöhter Belastung auf, vielleicht mal
100 User gleichzeitig im System.

Verzeichnis des Webmailers:

# grep imap *.php3
achievemail-inc.php3:$nummsgs = imap_num_msg($mailstream);
achievemail-inc.php3: $body = imap_fetchbody ($mailstream,$messageid,$part_id);
achievemail-inc.php3: $att_message = imap_base64($body);
achievemail-inc.php3: $att_message = imap_qprint($body);
achievemail-inc.php3:@imap_delete($mailstream, $messageid);
achievemail-inc.php3:@imap_expunge($mailstream);
achievemail-inc.php3:@imap_close($mailstream);
achievemail-start.php3:@$nummsgs = imap_num_msg($mailstream);
achievemail-start.php3:@$msg_array = imap_sort($mailstream, 1, 1);
achievemail-start.php3:@imap_close($mailstream);
command.php3:$imap_port = 110;
command.php3:@$mailstream = imap_open ( "{" . $server . "/pop3:" . $imap_port . "}INBOX", $login, $pass);
command.php3:@$check = imap_check ($mailstream);
delete_pop.php3: imap_delete($mailstream, $messageid);
delete_pop.php3: imap_expunge($mailstream);
delete_pop.php3:imap_close($mailstream);
message-inc.php3:$partinfo = imap_fetchstructure ($mailstream,$messageid);
message-inc.php3:$headerinfo = imap_header($mailstream,$messageid);
message-inc.php3:$elements = imap_mime_header_decode($string);
message-inc.php3: $message = imap_fetchbody($mailstream,$messageid,"1.1");
message-inc.php3: if( $bodyencoding == 0 ) { $message = imap_qprint($message); }
message-inc.php3: elseif( $bodyencoding == 3 ) { $message=imap_base64($message); }
message-inc.php3: elseif( $bodyencoding == 4 ) { $message = imap_qprint($message); }
message-inc.php3: $message = imap_fetchbody($mailstream,$messageid,"1");
message-inc.php3: elseif( $bodyencoding == 3 ) { $message=imap_base64($message); }
message-inc.php3: elseif( $bodyencoding == 4 ) { $message = imap_qprint($message); }
message-start.php3:$partinfo = imap_fetchstructure ($mailstream,$messageid);
message-start.php3:$headerinfo = imap_header($mailstream,$messageid);
message-start.php3:$elements = imap_mime_header_decode($string);
my_haupt.php3:@$neue = imap_num_msg($mailstream);
ordner.php3:@$neue = imap_num_msg($mailstream);

Betriebssystem: FreeBSD 4.4 RELEASE

Installierte Module:
XFree86-3.3.6_11 X11R6.3/XFree86 core distribution
apache-1.3.24_7 The extremely popular Apache http server. Very fast, very
autoconf-2.13_1 Automatically configure source code on many Un*x platforms
autoconf213-2.13.000227_1 Automatically configure source code on many Un*x platf
orms
bash-2.05 The GNU Bourne Again Shell
bison-1.35_1 A parser generator from FSF, (mostly) compatible with Yacc
cclient-0106191041 Mark Crispen's C-client mail access routines
cpdup-1.02 A comprehensive filesystem mirroring program
cvsup-16.1_3 A general network file distribution system optimized for CV
daemontools-0.70_1 Service monitoring and logging utilities by djb
expat-1.95.1_1 XML 1.0 parser written in C
freetype2-2.0.4 A free and portable TrueType font rendering engine
freetype2-2.1.0_1 A free and portable TrueType font rendering engine
gd-1.8.4_3 A graphics library for fast PNG creation
gd-2.0.1_3 A graphics library for fast creation of images
gettext-0.10.35 GNU gettext package
gettext-0.10.38 GNU gettext package
gettext-0.11.1_3 GNU gettext package
glib-1.2.10_4 Some useful routines of C programming
gmake-3.79.1 GNU version of 'make' utility
healthd-0.6.5 A daemon to monitor vital motherboard parameters
imake-1.0 Imake and other utilities from XFree86
jpeg-6b IJG's jpeg compression utilities
libiconv-1.7.0.1 A character set conversion library
libiconv-1.7_1 A character set conversion library
libtool-1.3.4_2 Generic shared library support script
lsof-4.57.2 Lists information about open files (similar to fstat(1))
lynx-2.8.4.1 A non-graphical, text-based World-Wide Web client
m4-1.4 GNU's m4
mc-4.5.54_2 Midnight Commander, a free Norton Commander Clone
mod_php4-4.2.1_1 PHP4 module for Apache
mutt-1.2.5 The Mongrel of Mail User Agents (part Elm, Pine, Mush, mh,
mysql-client-3.23.42 Multithreaded SQL database (client)
mysql-server-3.23.42 Multithreaded SQL database (server)
p5-DBI-1.19 The perl5 Database Interface. Required for DBD::* modules
p5-Data-ShowTable-3.3 Perl5 module to pretty-print arrays of data
p5-Mysql-modules-1.2216 Perl5 modules for accessing MySQL databases
p5-Net-Daemon-0.35 Perl5 extension for portable daemons
p5-PlRPC-0.2015 Perl module for writing RPC servers and clients
p5-Storable-1.0.13 Persistency for perl data structures
pkgconfig-0.8.0 An utility used to retrieve information about installed lib
pm3-base-1.1.15 Compiler and base libraries of the Polytechnique Montreal M
pm3-net-1.1.15 Low-level networking libraries for the PM3 Modula-3 distrib
png-1.2.0 Library for manipulating PNG images
proftpd-1.2.2 Highly configurable ftp daemon
qmail-1.03_1 A SECURE, reliable, efficient, simple, and FAST MTA for UNI
rsync-2.4.6_3 A network file distribution/synchronization utility
ucspi-tcp-0.88 Command-line tools for building TCP client-server applicati
unzip-5.42 List, test and extract compressed files in a ZIP archive
wget-1.7_3 Retrieve files from the 'net via HTTP and FTP
xpm-3.4k The X Pixmap library
zip-2.3 Create/update ZIP files compatible with pkzip

Gruß,
Martin

    Mit freundlichem Gruss

        Martin Schepers <schepers(at)ms-net.de>

--
---------------------------------------------------------------------
MSNET                                           phone +49 234 9520333
Dorstener Str. 347                                fax +49 234 9520334
D-44809 Bochum-Germany                      mailto:schepers(at)ms-net.de
To Unsubscribe: send mail to majordomo(at)de.FreeBSD.org
with "unsubscribe de-bsd-questions" in the body of the message
Received on Tue 04 Jun 2002 - 17:45:44 CEST

search this site