Re: FreeBSD Server Panics Reboots

2005-01-26 Thread Joseph Begumisa
I think i'll start checking on the hardware and the memomry last since 
memtest shows no errors with the memory.

Joseph
On Tue, 25 Jan 2005, Lowell Gilbert wrote:
Different thing triggering the reboots, and generally a signal 11?
This is almost always some sort of hardware trouble, most often bad
memory.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


FreeBSD Server Panics Reboots

2005-01-25 Thread Joseph Begumisa
I have a freebsd server in data center that keeps rebooting every 7 hours 
or so with the following messages from /var/run/dmesg.boot

pid 2962 (httpd), uid 80: exited on signal 11
pid 2955 (httpd), uid 80: exited on signal 11
pid 2997 (httpd), uid 80: exited on signal 11
pid 3038 (httpd), uid 80: exited on signal 11
pid 2879 (httpd), uid 80: exited on signal 11
pid 3209 (httpd), uid 80: exited on signal 11
pid 3330 (httpd), uid 80: exited on signal 4
pid 2872 (httpd), uid 80: exited on signal 11
pid 3417 (httpd), uid 80: exited on signal 11
Fatal trap 12: page fault while in kernel mode
fault virtual address   = 0xff8f
fault code  = supervisor read, page not present
instruction pointer = 0x8:0xc035dc58
stack pointer   = 0x10:0xe4c53e7c
frame pointer   = 0x10:0xe4c53e84
code segment= base 0x0, limit 0xf, type 0x1b
= DPL 0, pres 1, def32 1, gran 1
processor eflags= interrupt enabled, resume, IOPL = 0
current process = 3655 (httpd)
interrupt mask  = none
trap number = 12
panic: page fault
The output from uname -a  is as follows:
[EMAIL PROTECTED] ~ $ uname -a
FreeBSD web.trueafrican.com 4.11-STABLE FreeBSD 4.11-STABLE #1: Sat Jan 22 
13:13:09 GMT 2005 [EMAIL PROTECTED]:/usr/src/sys/compile/WEB-TA 
i386

The basic machine details are:
CPU: Intel(R) Pentium(R) 4 CPU 2.00GHz (1992.63-MHz 686-class CPU)
  Origin = GenuineIntel  Id = 0xf24  Stepping = 4
Features=0x3febfbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,S
SE2,SS,HTT,TM
real memory  = 1073676288 (1048512K bytes)
avail memory = 1039589376 (1015224K bytes)
I dont think it is a hard disk issue since the hard disks were replaced 
recently.  Probably cpu fan malfunction? Anyone seen anything like this?

Thanks.
Joseph.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FreeBSD Server Panics Reboots

2005-01-25 Thread Joseph Begumisa
I thought so the first time - I was running apache+ssl.  I deinstalled it 
and reinstalled apache+modssl.  Same thing happens.  The first time this 
happened was when I was buidling world.  Then the current process was cc1. 
The second time, i was running locate.updatedb and it rebooted and showed 
that the current process was find.

Joseph.
On Tue, 25 Jan 2005, gabriel wrote:
I saw something with one of the servers I admin where ftpd crashed
when two people were on at the same time for the same amount of
minutes (8 minutes). From what it looks like, I'd say there's
something going on with apache (if thats what you run), perhaps
reinstall it? Just a thought.
Cheers!
On Tue, 25 Jan 2005 11:30:52 +0300 (EAT), Joseph Begumisa
[EMAIL PROTECTED] wrote:
I have a freebsd server in data center that keeps rebooting every 7 hours
or so with the following messages from /var/run/dmesg.boot
pid 2962 (httpd), uid 80: exited on signal 11
pid 2955 (httpd), uid 80: exited on signal 11
pid 2997 (httpd), uid 80: exited on signal 11
pid 3038 (httpd), uid 80: exited on signal 11
pid 2879 (httpd), uid 80: exited on signal 11
pid 3209 (httpd), uid 80: exited on signal 11
pid 3330 (httpd), uid 80: exited on signal 4
pid 2872 (httpd), uid 80: exited on signal 11
pid 3417 (httpd), uid 80: exited on signal 11
Fatal trap 12: page fault while in kernel mode
fault virtual address   = 0xff8f
fault code  = supervisor read, page not present
instruction pointer = 0x8:0xc035dc58
stack pointer   = 0x10:0xe4c53e7c
frame pointer   = 0x10:0xe4c53e84
code segment= base 0x0, limit 0xf, type 0x1b
 = DPL 0, pres 1, def32 1, gran 1
processor eflags= interrupt enabled, resume, IOPL = 0
current process = 3655 (httpd)
interrupt mask  = none
trap number = 12
panic: page fault
The output from uname -a  is as follows:
[EMAIL PROTECTED] ~ $ uname -a
FreeBSD web.trueafrican.com 4.11-STABLE FreeBSD 4.11-STABLE #1: Sat Jan 22
13:13:09 GMT 2005 [EMAIL PROTECTED]:/usr/src/sys/compile/WEB-TA
i386
The basic machine details are:
CPU: Intel(R) Pentium(R) 4 CPU 2.00GHz (1992.63-MHz 686-class CPU)
   Origin = GenuineIntel  Id = 0xf24  Stepping = 4
Features=0x3febfbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,S
SE2,SS,HTT,TM
real memory  = 1073676288 (1048512K bytes)
avail memory = 1039589376 (1015224K bytes)
I dont think it is a hard disk issue since the hard disks were replaced
recently.  Probably cpu fan malfunction? Anyone seen anything like this?
Thanks.
Joseph.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]

--
gabriel,
Member of:
FreeBSD-Announce
FreeBSD-Hardware
FreeBSD-Multimedia
FreeBSD-questions
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: A simple CGI question

2005-01-25 Thread Joseph Begumisa
normally it would be http://ppp.yyy.com/cgi-bin/cgi-scriptname
however, it depends on your scriptalias setting in the httpd.conf file. 
to access it as above, you would have something like:

ScriptAlias /cgi-bin/ /usr/local/www/cgi-bin/
Directory /usr/local/www/cgi-bin
AllowOverride None
Options None
Order allow,deny
Allow from all
/Directory
Joseph.
On Tue, 25 Jan 2005, Gareth Bailey wrote:
Hi there,
I have what i think is a really simple question regarding cgi scripts.
I have an apache chpasswd cgi script that i want to make available so
that users can browse to the url and change their own passwords.
If a cgi script is in my /usr/local/www/cgi-bin directory, what url
would i use to access the cgi from the web. Would i need to copy the
cgi into my data directory? - i tried this and the browser treated it
as a download.
Please advise.
Thanks!
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Authorization

2004-11-01 Thread Joseph Begumisa
Subscribe to the list at this link:
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
Joseph.
On Mon, 1 Nov 2004, Renato AbaeteNET wrote:
Please,  I would like to receive the messages of the list.

AbaeteNET - Serviços e Tec. em Informática
_
http://www.abaetenet.psi.br http://www.abaetenet.psi.br

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Issues with 2 instances of NATD

2004-10-04 Thread Joseph Begumisa
I want traffic from one machine on the LAN with ip address 169.254.0.18 to 
go out through ISP2 and traffic from the rest of the machines on the LAN 
o go through ISP1.  However, traffic from all machines including that one 
goes through ISP1.  Perhaps I'm missing something. Below is my setup and 
configuration details:

   ISP1 ISP2
||
||
212.XX.XX.117   vr0 ||vr1 193.1XX.XXX.162
--
|  BSD GATEWAY   |
--
| fxp0 169.254.0.1
|
 
|   |   |   |   |  LAN 169.254.0.0/24
*default route on BSD Gateway is thru ISP1.
NATD Processes Running:
--
/sbin/natd -f /etc/natd.cf -n vr0
/sbin/natd -f /etc/natd2.cf -n vr1
natd.cf:
---
log yes
deny_incoming   no
use_sockets yes
same_ports  yes
verbose no
port8668
interface   fxp0
unregistered_only no
natd2.cf:

log yes
deny_incoming   no
use_sockets yes
same_ports  yes
verbose no
port8669
interface   fxp0
unregistered_only no
natd configuration in firewall:
--
/sbin/ipfw add 43 divert 8669 all from 169.254.0.18 to any via vr1
/sbin/ipfw add 46 divert 8668 all from any to any via vr0
Joseph.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: Issues with 2 instances of NATD

2004-10-04 Thread Joseph Begumisa
On Mon, 4 Oct 2004, Haulmark, Chris wrote:

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Joseph Begumisa
Sent: Monday, October 04, 2004 2:26 AM
To: [EMAIL PROTECTED]
Subject: Issues with 2 instances of NATD
I want traffic from one machine on the LAN with ip address
169.254.0.18 to
go out through ISP2 and traffic from the rest of the machines
on the LAN
o go through ISP1.  However, traffic from all machines
including that one
goes through ISP1.  Perhaps I'm missing something. Below is
my setup and
configuration details:
This is because of your default route which is assigning all the packets
to go through the ISP1.
i thought about this too.  how then would I go about this to achieve my 
goal?

Joseph.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


High Availability Solution

2004-08-24 Thread Joseph Begumisa
Does anyone know of a high availability solution that works on freebsd?  I 
have two freebsd servers and would like to have them operate in a way that 
if one fails, the second kicks in.

Thanks.
Joseph.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


pid 72199 (perl), uid 0: exited on signal 11 (core dumped)

2004-07-06 Thread Joseph Begumisa

I keep on getting the messages below.  Does anyone know what they mean?

 pid 72199 (perl), uid 0: exited on signal 11 (core dumped)
 pid 75455 (perl), uid 0: exited on signal 11 (core dumped)
 pid 76805 (perl), uid 0: exited on signal 11 (core dumped)
 pid 1 (perl), uid 0: exited on signal 11 (core dumped)
 pid 79602 (perl), uid 0: exited on signal 11 (core dumped)
 pid 82656 (perl), uid 0: exited on signal 11 (core dumped)
 pid 82748 (perl), uid 0: exited on signal 11 (core dumped)
 pid 85109 (perl), uid 0: exited on signal 11 (core dumped)
 pid 87937 (perl), uid 0: exited on signal 11 (core dumped)
 pid 91569 (perl), uid 0: exited on signal 11 (core dumped)
 pid 92392 (perl), uid 0: exited on signal 11 (core dumped)
 pid 92482 (perl), uid 0: exited on signal 11 (core dumped)

Thanks.

Joseph.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Drive errors?

2003-11-14 Thread Joseph Begumisa

On Thu, 13 Nov 2003, stan wrote:

 I've got a relativly recent STABLE machine that I', gettng errors like this
 on:


 Nov 12 20:00:01 black newsyslog[33912]: logfile turned over due to size100K
 Nov 12 20:00:07 black /kernel: ad3s1e: UDMA ICRC error writing fsbn 113202879 of 
 56601408-56601455 (ad3s1 bn 113202879; cn 7046 tn 141 sn 6) retrying
 Nov 12 20:00:15 black /kernel: ad3s1e: UDMA ICRC error writing fsbn 114997439 of 
 57498688-57498943 (ad3s1 bn 114997439; cn 7158 tn 66 sn 11) retrying
 Nov 12 20:00:16 black /kernel: ad3s1e: UDMA ICRC error writing fsbn 115000927 of 
 57500432-57500687 (ad3s1 bn 115000927; cn 7158 tn 121 sn 34) retrying
 Nov 12 20:00:20 black /kernel: ad3s1e: UDMA ICRC error writing fsbn 115172415 of 
 57586176-57586335 (ad3s1 bn 115172415; cn 7169 tn 38 sn 36) retrying
 Nov 12 20:00:22 black /kernel: ad3s1e: UDMA ICRC error writing fsbn 115188431 of 
 57594184-57594191 (ad3s1 bn 115188431; cn 7170 tn 37 sn 50) retrying

 The drive in question is an IBM/Hitachi 40H unit detected as:

 Nov 13 19:11:18 black /kernel: ad3: 39266MB IC35L040AVER07-0 [79780/16/63] at 
 ata1-slave UDMA100


Pasting the output from /var/run/dmesg.boot would be useful so that we can
know what the controller is detected as and also see whether there is any
other useful information concerning this problem.

The last time I had such a problem, I solved it by using a 40 pin
80 wire ribbon cable in place of the 40 pin 40 wire ribbon cable.

cheers,

Joseph.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Drive errors?

2003-11-14 Thread Joseph Begumisa
 atapci0: VIA 82C686 ATA100 controller port 0xa000-0xa00f at device 7.1 on pci0
 atapci0: Correcting VIA config for southbridge data corruption bug
 ata0: at 0x1f0 irq 14 on atapci0
 ata1: at 0x170 irq 15 on atapci0
 ad3: 39266MB IC35L040AVER07-0 [79780/16/63] at ata1-slave UDMA100

Well the OS sees an ATA100 Controller which is good.  So i guess you could
first look into the issue of the ribbon cable as mentioned below so that
we can eliminate that.


 
  The last time I had such a problem, I solved it by using a 40 pin
  80 wire ribbon cable in place of the 40 pin 40 wire ribbon cable.

 I'll check that, but given that its a new drive I suspect it already has an
 80 wire cable.

 --
 They that would give up essential liberty for temporary safety deserve
 neither liberty nor safety.
   -- Benjamin Franklin
 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]


Joseph.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: freebsd testing bandwidth

2003-10-17 Thread Joseph Begumisa


On Fri, 17 Oct 2003, DanB wrote:

 Is there a way to test bandwidth with a free bsd box?

 Dan

you can also make use of pchar located in /usr/ports/net/pchar/

Joseph.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Open Files

2003-09-24 Thread Joseph Begumisa
On Wed, 24 Sep 2003, Martin McCormick wrote:

   Is there any utility similar to ofiles in FreeBSD that can
 tell you who has what files open?  Thank you.

 Martin McCormick


I haven't used ofiles but you could try lsof from
/usr/ports/sysutils/lsof  It should be able to do what you want.

Joseph.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Running vsftpd from inetd

2003-09-23 Thread Joseph Begumisa
On Mon, 22 Sep 2003, Charles Howse wrote:

 Hi,
 Would anyone running vsftpd successfully from inetd be kind enough to
 share the relevant line from their inetd.conf file?

hi,

below is the line that i use in my inetd.conf for vsftpd.

ftp stream  tcp nowait  root/usr/local/libexec/vsftpd  vsftpd

Joseph.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: /usr/libexec/ld-elf.so.1: Shared object libintl.so.4 not found

2003-09-19 Thread Joseph Begumisa
On Fri, 19 Sep 2003, Odhiambo Washington wrote:

 Hi people,

 I lost my hard disk (no backups) yesterday and now I am the most miserable
 man on earth!
 I have installed FreeBSD 5.1-RELEASE. I have installed X, which is running
 fine, but I have tried installing mozilla, gaim, evolution, and a few others,
 all of which fails with the message:

 /usr/libexec/ld-elf.so.1: Shared object libintl.so.4 not found

 I would like to know how to get this libintl.so.4 into the system so that
 these apps can compile. Howdy?


hi,

i encountered such a problem a few weeks back and this link below was
helpful. take a look.  the answer lies in upgrading gettext and all of
the ports that depend on it.

http://www.bsdforums.org/forums/showthread.php?threadid=13526

cheers,

Joseph.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: help

2003-09-12 Thread Joseph Begumisa
On Fri, 12 Sep 2003, deepak patil wrote:

 Dear sir/ Madam,
 We are having Server with FreeBSD 4.6.2 - Release. I would like to know Some basic 
 paths  Commands to start, stop the apache, sendmail , ftpd, mysqld services.  How 
 or Where Iwill find these services means what is the path for those.
 Please help me in this issue.

 Thanks  Regards

 Deepak patil

hi,

for apache  mysqld look under /usr/local/etc/rc.d/ there should be shell
scripts that start/stop these.

for sendmail, check /etc/defaults/rc.conf where you should
have something like this below and paste it into /etc/rc.conf of course
changing the setting from no to yes in order for it to start.

sendmail_enable=NO# Run the sendmail inbound daemon (YES/NO).
sendmail_flags=-bd -q30m # Flags to sendmail (as a server)
sendmail_outbound_enable=NO   # Dequeue stuck mail (YES/NO).
sendmail_outbound_flags=-q30m # Flags to sendmail (outbound only)


for ftpd: check /etc/inetd.conf
to start ftpd, you should uncomment the line with ftp.


Joseph.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: i can't find my second network card!

2003-09-11 Thread Joseph Begumisa

On Wed, 10 Sep 2003, LALEKAN ODOFFIN wrote:

 i don't know  the NIC details and its kinda difficult
 for me to get it.
 but assuming i get it what do i do with the details.
 Just lead me on.
 i will do anything to get it on.

hi,

you can get the NIC details using pciconf -l -v as root.  when you have
determined that, proceed as instructed in the FreeBSD handbook at
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/config-network-setup.html

Joseph.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: query for changing the User email ID in freeBSD ....

2003-09-10 Thread Joseph Begumisa
On Wed, 10 Sep 2003, Shrikant wrote:

 When i send  email from freebsd machine  i reviece the email in by inbox with  from 
 as the User Name  and email id as [EMAIL PROTECTED]  ,If i want to change the email 
 as [EMAIL PROTECTED]  or  Domain Services  etc etc
 How do i go about and what changes do i have to make .
 Pls suggest

it depends on the mail transport agent your using on the freebsd box.  if
your using postfix, then set masquerade_domains = domain.com in the
main.cf file.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: query for changing the User email ID in freeBSD ....

2003-09-10 Thread Joseph Begumisa
On Wed, 10 Sep 2003, Shrikant wrote:

 I am using sendmail   ,can u pls suggest the changes .



edit sendmail.cf at the point that says:

#who i masquerade as
DMdomain.com

add domain.com i.e your domain just next to DM as above and restart
sendmail.

Joseph.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: i can't find my second network card!

2003-09-10 Thread Joseph Begumisa
On Wed, 10 Sep 2003, LALEKAN ODOFFIN wrote:

 Hi there,
 i wish to set up squid on my BSD box and i configured
 one of the network cards when i needed to do the
 installation (cos i installed from the FTP server via
 the floppy disks).
 I tried configuring the second network card and i
 cannot find it using sysinstall.
 please is there a way for me to install the network
 card or configure it for my internal network cos the
 external (Internet )is ready.
 I am a complete novice with FreeBSD, i got introduced
 to it last 2 weeks with squid.
 thanks.


hi,

it would be easier to answer this question if you mentioned the network
card details eg manufacturer etc... so that we can know the driver that
you should be looking for to get it working.

Joseph.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]