Re: [users@httpd] weirdness

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



>> Note: This does _not_ appear to be a mod_perl issues, and yes, I have
>> checked the error_log.
>>
>> All of a sudden apache is acting really weird.  I have a custom built
>> 1.3.33 apache (mod_per, mod_ssl) that serves 53 virtual host sites.
>> Some
>> are very simple and serve static html, while some are more advanced with
>> Mason.
>>
>> Everything was running fine until I added a new site.  I added it, did a
>> normal configtest (said everything was ok), hit restart and it says it
>> started.  I try to access the site - connection refused.  I check 'ps
>> axf
>> | grep apache' and its not there.  I try 'netstat -l' and its not there.
>> I hit 'apachectl stop' and I'm told its not running (ya, I know..).  I
>> try
>> to start it again, says it started, but it doesn't.
>>
>> The error_logs show NOTHING except the usual can't find favicon.ico.
>
> Sounds like a file-descriptor issue:
> http://httpd.apache.org/docs/vhosts/fd-limits.html

I actually run all my vhosts through the same two log files (access_log
and error_log), so this should not be an issue.

> Usually that would log something to the error log, however.
>
> You can also try starting apache with the -X option to run
> single-process and see if you get more useful feedback.  You can also
> run with -X under strace or gdb to see what is going on.

Thanks!  Didn't know you could do the -X.  Gives me a segmentation fault. 
With strace I get the following output that I'm having a hard time
understanding (this is the last several lines of many).

stat64("/usr/lib/perl5/site_perl/5.8.4/i386-linux/HTML/Mason/ApacheHandler.pmc",
0x7fff6e30) = -1 ENOENT (No such file or directory)
open("/usr/lib/perl5/site_perl/5.8.4/i386-linux/HTML/Mason/ApacheHandler.pm",
O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/perl5/site_perl/5.8.4/HTML/Mason/ApacheHandler.pmc",
0x7fff6e30) = -1 ENOENT (No such file or directory)
open("/usr/lib/perl5/site_perl/5.8.4/HTML/Mason/ApacheHandler.pm",
O_RDONLY|O_LARGEFILE) = 6
ioctl(6, SNDCTL_TMR_TIMEBASE or TCGETS, 0x7fff6c6c) = -1 ENOTTY
(Inappropriate ioctl for device)
_llseek(6, 0, [0], SEEK_CUR)            = 0
read(6, "# Copyright (c) 1998-2003 by Jon"..., 4096) = 4096
read(6, ">ah->return_not_found($r);\n\t} el"..., 4096) = 4096
read(6, "e::Status page\" },\n\n\t args_metho"..., 4096) = 4096
read(6, "g->{$studly};\n    }\n\n    return "..., 4096) = 4096
read(6, "p (or must be set explicitly)\"\n\t"..., 4096) = 4096
read(6, ">compiler->can(\'add_allowed_glob"..., 4096) = 4096
read(6, "d path_info if filename does not"..., 4096) = 4096
read(6, "er the http header has been sent"..., 4096) = 4096
_llseek(6, 29408, [29408], SEEK_SET)    = 0
_llseek(6, 0, [29408], SEEK_CUR)        = 0
close(6)                                = 0
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
+++ killed by SIGSEGV +++

Any ideas?

Aran


> Joshua.
>
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
>    "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
> For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx
>
>



---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux