[rt-users] Segmentation Fault - update

Chuck Pitre chuck at vianet.ca
Sun Oct 20 16:24:26 EDT 2002


Here's the output of my latest strace:
accept(19, {sin_family=AF_INET, sin_port=htons(2214), 
sin_addr=inet_addr("209.91.128.27")}}, [16]) = 3
rt_sigaction(SIGUSR1, {SIG_IGN}, {0x8080124, [], 
SA_INTERRUPT|0x4000000}, 8) = 0
getsockname(3, {sin_family=AF_INET, sin_port=htons(80), 
sin_addr=inet_addr("209.91.157.205")}}, [16]) = 0
setsockopt(3, SOL_TCP, TCP_NODELAY, [1], 4) = 0
brk(0x8c3e000)                          = 0x8c3e000
brk(0x8c41000)                          = 0x8c41000
brk(0x8c44000)                          = 0x8c44000
read(3, "GET / HTTP/1.1\r\nHost: rt.vianet."..., 4096) = 425
rt_sigaction(SIGUSR1, {SIG_IGN}, {SIG_IGN}, 8) = 0
time(NULL)                              = 1035145000
gettimeofday({1035145000, 424668}, NULL) = 0
stat64("/export/webroot/www/rt.vianet.ca/rt2/WebRT/html", 
{st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
--- SIGSEGV (Segmentation fault) ---

After re-reading my original strace (should have done that first before 
mailling the list I guess) I noticed that it was my alias command that 
wasn't working (though apachectl configtest or apachectl restart never 
spewed out any errors to my console.)

So I circumvented the problem by making it a VirtualHost (which I should 
have done in the first place I guess)

-- httpd.conf --
<VirtualHost *>
   ServerAdmin chuck at vianet.ca
   DocumentRoot /export/webroot/www/rt.vianet.ca/rt2/WebRT/html
   ServerName rt.vianet.ca
   PerlModule Apache::DBI
   PerlFreshRestart On
   PerlRequire /export/webroot/www/rt.vianet.ca/rt2/bin/webmux.pl
   <Location />
     SetHandler perl-script
     PerlHandler RT::Mason
   </Location>

   # This is me getting desperate Oct20/02
   <Directory /export/webroot/www/rt.vianet.ca>
         Options -All
         AllowOverride None
   </Directory>
   #

   ErrorLog /export/webroot/weblogs/rt.vianet.ca-error.log
</VirtualHost>


any ideas?
thanks.

-- 

Chuck Pitre
ViaNet Internet Solutions Inc.
Network Operations
(705) 675-0400 tel ex 231
(705) 675-0404 fax





More information about the rt-users mailing list