Hard Drive going bad? (hard error reading fsbn)

2004-06-14 Thread Kevin Greenidge
I started seeing the error messages in my logs. When I
googled the error some seem to think it may be a hardware
issue and some seem to think it's o/s specific. Trying to
see what's the general opinon. Running 4.9 


Jun 13 00:30:26 santacruz /kernel: ad0s1h: hard error
reading fsbn 197442991 of 26369632-26369887 (ad0s1 bn
197442991; cn 12290 tn 65 sn 46) status=59 error=40
Jun 13 00:30:37 santacruz /kernel: ad0s1h: hard error
reading fsbn 197443023 of 26369664-26369887 (ad0s1 bn
197443023; cn 12290 tn 66 sn 15) status=59 error=40
Jun 13 00:30:42 santacruz /kernel: ad0s1h: hard error
reading fsbn 197443055 of 26369696-26369887 (ad0s1 bn
197443055; cn 12290 tn 66 sn 47) status=59 error=40
Jun 13 00:30:53 santacruz /kernel: ad0s1h: hard error
reading fsbn 197443087 of 26369728-26369887 (ad0s1 bn
197443087; cn 12290 tn 67 sn 16) status=59 error=40
Jun 13 00:30:53 santacruz /kernel: ad0s1h: hard error
reading fsbn 197443119 of 26369760-26369887 (ad0s1 bn
197443119; cn 12290 tn 67 sn 48) status=59 error=40
Jun 13 00:30:53 santacruz /kernel: ad0s1h: hard error
reading fsbn 197443151 of 26369792-26369887 (ad0s1 bn
197443151; cn 12290 tn 68 sn 17) status=59 error=40
Jun 13 00:30:53 santacruz /kernel: ad0s1h: hard error
reading fsbn 197443151 of 26369792-26369823 (ad0s1 bn
197443151; cn 12290 tn 68 sn 17) status=59 error=40
Jun 13 00:30:53 santacruz /kernel: ad0s1h: hard error
reading fsbn 197443151 of 26369792-26369823 (ad0s1 bn
197443151; cn 12290 tn 68 sn 17) status=59 error=40
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Hard Drive going bad? (hard error reading fsbn)

2004-06-14 Thread Kevin Greenidge
Here is the /etc/fstab and my dmesg output:

# DeviceMountpoint  FStype  Options DumpPass#
/dev/ad0s1b noneswapsw  0   0
/dev/ad0s1a /   ufs rw  1   1
/dev/ad0s1f /home   ufs rw,userquota,groupquota 2   2
/dev/ad0s1g /tmpufs rw,noexec,nosuid2  
 2
/dev/ad0s1e /usrufs rw  2   2
/dev/ad0s1h /varufs rw,userquota,groupquota 2   2
/dev/acd0c  /cdrom  cd9660  ro,noauto   0   0
proc/proc   procfs  rw  0   0

-

2.2 irq 5
pcib1: PCI to PCI bridge (vendor=10de device=006c) at
device 8.0 on pci0
pci1: PCI bus on pcib1
fxp0: Intel 82559 Pro/100 Ethernet port 0xd000-0xd03f mem
0xe500-0xe50f,0xe511-0xe5110fff irq 11 at device
6.0 on pci1
fxp0: Ethernet address 00:90:27:a9:71:66
inphy0: i82555 10/100 media interface on miibus0
inphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX,
auto
pci1: SiS 6326 SVGA controller at 9.0 irq 12
atapci0: Generic PCI ATA controller port 0xf000-0xf00f at
device 9.0 on pci0
ata0: at 0x1f0 irq 14 on atapci0
ata1: at 0x170 irq 15 on atapci0
pcib2: PCI to PCI bridge (vendor=10de device=01e8) at
device 30.0 on pci0
pci2: PCI bus on pcib2
orm0: Option ROMs at iomem
0xc-0xc7fff,0xc8000-0xcbfff,0xcc000-0xccfff on isa0
pmtimer0 on isa0
fdc0: NEC 72065B or clone at port 0x3f0-0x3f5,0x3f7 irq 6
drq 2 on isa0
fdc0: FIFO enabled, 8 bytes threshold
fd0: 1440-KB 3.5 drive on fdc0 drive 0
atkbdc0: Keyboard controller (i8042) at port 0x60,0x64 on
isa0
vga0: Generic ISA VGA at port 0x3c0-0x3df iomem
0xa-0xb on isa0
sc0: System console at flags 0x100 on isa0
sc0: VGA 16 virtual consoles, flags=0x300
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 16550A
sio1 at port 0x2f8-0x2ff irq 3 on isa0
sio1: type 16550A
ppc0: Parallel port at port 0x378-0x37f irq 7 on isa0
ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode
lpt0: Printer on ppbus0
lpt0: Interrupt-driven port
ppi0: Parallel I/O on ppbus0
plip0: PLIP network interface on ppbus0
IP Filter: v3.4.31 initialized.  Default = pass all, Logging
= enabled
ata1-slave: ATA identify retries exceeded
ad0: 88350MB IC35L090AVV207-0 [179505/16/63] at
ata0-master BIOSDMA
acd0: CDROM Compaq CRD-8322B at ata1-master PIO4
Mounting root from ufs:/dev/ad0s1a
ad0s1h: hard error reading fsbn 197442815 of
26369632-26369887 (ad0s1 bn 197442815; cn 12290 tn 62 sn 59)
trying PIO mode
ad0: DMA problem fallback to PIO mode
ad0: DMA problem fallback to PIO mode
ad0: DMA problem fallback to PIO mode
ad0: DMA problem fallback to PIO mode
ad0: DMA problem fallback to PIO mode
ad0: DMA problem fallback to PIO mode
ad0: DMA problem fallback to PIO mode
ad0: DMA problem fallback to PIO mode
ad0: DMA problem fallback to PIO mode
ad0: DMA problem fallback to PIO mode
ad0: DMA problem fallback to PIO mode
ad0s1h: hard error reading fsbn 197442991 of
26369632-26369887 (ad0s1 bn 197442991; cn 12290 tn 65 sn 46)
status=59 error=40
ad0s1h: hard error reading fsbn 197443023 of
26369664-26369887 (ad0s1 bn 197443023; cn 12290 tn 66 sn 15)
status=59 error=40
ad0s1h: hard error reading fsbn 197443055 of
26369696-26369887 (ad0s1 bn 197443055; cn 12290 tn 66 sn 47)
status=59 error=40
ad0s1h: hard error reading fsbn 197443087 of
26369728-26369887 (ad0s1 bn 197443087; cn 12290 tn 67 sn 16)
status=59 error=40
ad0s1h: hard error reading fsbn 197443119 of
26369760-26369887 (ad0s1 bn 197443119; cn 12290 tn 67 sn 48)
status=59 error=40
ad0s1h: hard error reading fsbn 197443151 of
26369792-26369887 (ad0s1 bn 197443151; cn 12290 tn 68 sn 17)
status=59 error=40
ad0s1h: hard error reading fsbn 197443151 of
26369792-26369823 (ad0s1 bn 197443151; cn 12290 tn 68 sn 17)
status=59 error=40
ad0s1h: hard error reading fsbn 197443151 of
26369792-26369823 (ad0s1 bn 197443151; cn 12290 tn 68 sn 17)
status=59 error=40
ad0s1h: hard error reading fsbn 197443151 of
26369792-26369823 (ad0s1 bn 197443151; cn 12290 tn 68 sn 17)
status=59 error=40
ad0s1h: hard error reading fsbn 197443151 of
26369792-26369823 (ad0s1 bn 197443151; cn 12290 tn 68 sn 17)
status=59 error=40



 ___ 
[EMAIL PROTECTED] mailing list 
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
[EMAIL PROTECTED]   --  Bill
Moran Potential Technologies http://www.potentialtech.com 
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: Hard Drive going bad? (hard error reading fsbn)

2004-06-14 Thread Kevin Greenidge
The drive is only about 4 months old and freebsd 4.9 has been installed
for about 3 1/2 months running flawlessly. I have a spare drive but I
sure hate transferring all that data over to the new drive. I took a
chance and installed a single drive since I've always had good luck with
drives, now it looks like I'll have to invest in that 3ware raid card
after all. 

Thanks, 

Kevin

-Original Message-
From: Bill Moran [mailto:[EMAIL PROTECTED] 
Sent: Monday, June 14, 2004 11:35 AM
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: Re: Hard Drive going bad? (hard error reading fsbn)

Kevin Greenidge [EMAIL PROTECTED] wrote:

Has it been doing this since you installed?  Or was it working before?

Looks like a failed HDD from here.

 Here is the /etc/fstab and my dmesg output:
 
 # Device  Mountpoint  FStype  Options Dump
Pass#
 /dev/ad0s1b   noneswapsw  0
0
 /dev/ad0s1a   /   ufs rw  1
1
 /dev/ad0s1f   /home   ufs rw,userquota,groupquota
2   2
 /dev/ad0s1g   /tmpufs rw,noexec,nosuid
2   2
 /dev/ad0s1e   /usrufs rw  2
2
 /dev/ad0s1h   /varufs rw,userquota,groupquota
2   2
 /dev/acd0c/cdrom  cd9660  ro,noauto   0
0
 proc  /proc   procfs  rw  0
0
 
 -
 
 2.2 irq 5
 pcib1: PCI to PCI bridge (vendor=10de device=006c) at
 device 8.0 on pci0
 pci1: PCI bus on pcib1
 fxp0: Intel 82559 Pro/100 Ethernet port 0xd000-0xd03f mem
 0xe500-0xe50f,0xe511-0xe5110fff irq 11 at device
 6.0 on pci1
 fxp0: Ethernet address 00:90:27:a9:71:66
 inphy0: i82555 10/100 media interface on miibus0
 inphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX,
 auto
 pci1: SiS 6326 SVGA controller at 9.0 irq 12
 atapci0: Generic PCI ATA controller port 0xf000-0xf00f at
 device 9.0 on pci0
 ata0: at 0x1f0 irq 14 on atapci0
 ata1: at 0x170 irq 15 on atapci0
 pcib2: PCI to PCI bridge (vendor=10de device=01e8) at
 device 30.0 on pci0
 pci2: PCI bus on pcib2
 orm0: Option ROMs at iomem
 0xc-0xc7fff,0xc8000-0xcbfff,0xcc000-0xccfff on isa0
 pmtimer0 on isa0
 fdc0: NEC 72065B or clone at port 0x3f0-0x3f5,0x3f7 irq 6
 drq 2 on isa0
 fdc0: FIFO enabled, 8 bytes threshold
 fd0: 1440-KB 3.5 drive on fdc0 drive 0
 atkbdc0: Keyboard controller (i8042) at port 0x60,0x64 on
 isa0
 vga0: Generic ISA VGA at port 0x3c0-0x3df iomem
 0xa-0xb on isa0
 sc0: System console at flags 0x100 on isa0
 sc0: VGA 16 virtual consoles, flags=0x300
 sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
 sio0: type 16550A
 sio1 at port 0x2f8-0x2ff irq 3 on isa0
 sio1: type 16550A
 ppc0: Parallel port at port 0x378-0x37f irq 7 on isa0
 ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode
 lpt0: Printer on ppbus0
 lpt0: Interrupt-driven port
 ppi0: Parallel I/O on ppbus0
 plip0: PLIP network interface on ppbus0
 IP Filter: v3.4.31 initialized.  Default = pass all, Logging
 = enabled
 ata1-slave: ATA identify retries exceeded
 ad0: 88350MB IC35L090AVV207-0 [179505/16/63] at
 ata0-master BIOSDMA
 acd0: CDROM Compaq CRD-8322B at ata1-master PIO4
 Mounting root from ufs:/dev/ad0s1a
 ad0s1h: hard error reading fsbn 197442815 of
 26369632-26369887 (ad0s1 bn 197442815; cn 12290 tn 62 sn 59)
 trying PIO mode
 ad0: DMA problem fallback to PIO mode
 ad0: DMA problem fallback to PIO mode
 ad0: DMA problem fallback to PIO mode
 ad0: DMA problem fallback to PIO mode
 ad0: DMA problem fallback to PIO mode
 ad0: DMA problem fallback to PIO mode
 ad0: DMA problem fallback to PIO mode
 ad0: DMA problem fallback to PIO mode
 ad0: DMA problem fallback to PIO mode
 ad0: DMA problem fallback to PIO mode
 ad0: DMA problem fallback to PIO mode
 ad0s1h: hard error reading fsbn 197442991 of
 26369632-26369887 (ad0s1 bn 197442991; cn 12290 tn 65 sn 46)
 status=59 error=40
 ad0s1h: hard error reading fsbn 197443023 of
 26369664-26369887 (ad0s1 bn 197443023; cn 12290 tn 66 sn 15)
 status=59 error=40
 ad0s1h: hard error reading fsbn 197443055 of
 26369696-26369887 (ad0s1 bn 197443055; cn 12290 tn 66 sn 47)
 status=59 error=40
 ad0s1h: hard error reading fsbn 197443087 of
 26369728-26369887 (ad0s1 bn 197443087; cn 12290 tn 67 sn 16)
 status=59 error=40
 ad0s1h: hard error reading fsbn 197443119 of
 26369760-26369887 (ad0s1 bn 197443119; cn 12290 tn 67 sn 48)
 status=59 error=40
 ad0s1h: hard error reading fsbn 197443151 of
 26369792-26369887 (ad0s1 bn 197443151; cn 12290 tn 68 sn 17)
 status=59 error=40
 ad0s1h: hard error reading fsbn 197443151 of
 26369792-26369823 (ad0s1 bn 197443151; cn 12290 tn 68 sn 17)
 status=59 error=40
 ad0s1h: hard error reading fsbn 197443151 of
 26369792-26369823 (ad0s1 bn 197443151; cn 12290 tn 68 sn 17)
 status=59 error=40
 ad0s1h: hard error reading fsbn 197443151 of
 26369792-26369823 (ad0s1 bn 197443151; cn 12290 tn 68 sn 17)
 status=59 error=40

Portsdb Update Error

2004-05-14 Thread Kevin Greenidge
The thing is I always have the whole Chinese ports collection in my
refuse file when I do a cvsup among with a bunch of other stuff so I
don't know why this error decides to show itself now. Any help would be
appreciated. 
 
I am using the following:
 
FreeBSD santacruz 4.9-RELEASE-p7 FreeBSD 4.9-RELEASE-p7 #0: Sat May  8
01:42:38 GMT 2004
 
 
 
santacruz# portsdb -Uu
Updating the ports index ... Generating INDEX.tmp - please wait..===
chinese/op
enoffice-zh_CN failed:
Makefile, line 17: Could not find
/usr/ports/chinese/openoffice-zh_CN/../../ed
itors/openoffice/Makefile
make: fatal errors encountered -- cannot continue
*** Error code 1
1 error
 

Before reporting this error, verify that you are running a supported
version of FreeBSD (see http://www.FreeBSD.org/ports/) and that you
have a complete and up-to-date ports collection.  If so, then report
the failure to [EMAIL PROTECTED] together with relevant details of
your ports configuration (including FreeBSD version, environment and
/etc/make.conf settings).

 
*** Error code 1
 
Stop in /usr/ports.
*** Error code 1
 
Stop in /usr/ports.
failed to generate INDEX!
portsdb: index generation error
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Apache dies for the second night in a row at the same time.

2004-04-01 Thread Kevin Greenidge
Hi, 

Wanted to see if anyone can point me in the right direction. This is the
second night that apache went down at the same exact time. I used
portupgrade to upgrade a few things about 3 days ago which most likely
upgraded perl in the process. A simple restart of Apache fixes the issue
but how can I fix it for good? Below is an excerpt from my error_log.

System: FreeBSD 4.9
Current Perl Version: 5.8.2


Can't locate Cwd.pm in @INC (@INC contains:
/usr/local/lib/perl5/site_perl/5.8.0/mach
/usr/local/lib/perl5/site_perl/5.8.0 /usr/local/lib/perl5/site_perl
/usr/local/lib/perl5/5.8.0/BSDPAN /usr/local/lib/perl5/5.8.0/mach
/usr/local/lib/perl5/5.8.0 .) at (eval 2) line 1.
Can't locate Cwd.pm in @INC (@INC contains:
/usr/local/lib/perl5/site_perl/5.8.0/mach
/usr/local/lib/perl5/site_perl/5.8.0 /usr/local/lib/perl5/site_perl
/usr/local/lib/perl5/5.8.0/BSDPAN /usr/local/lib/perl5/5.8.0/mach
/usr/local/lib/perl5/5.8.0 .) at (eval 2) line 1.
Can't locate Cwd.pm in @INC (@INC contains:
/usr/local/lib/perl5/site_perl/5.8.0/mach
/usr/local/lib/perl5/site_perl/5.8.0 /usr/local/lib/perl5/site_perl
/usr/local/lib/perl5/5.8.0/BSDPAN /usr/local/lib/perl5/5.8.0/mach
/usr/local/lib/perl5/5.8.0 .) at (eval 2) line 1.
Can't locate Cwd.pm in @INC (@INC contains:
/usr/local/lib/perl5/site_perl/5.8.0/mach
/usr/local/lib/perl5/site_perl/5.8.0 /usr/local/lib/perl5/site_perl
/usr/local/lib/perl5/5.8.0/BSDPAN /usr/local/lib/perl5/5.8.0/mach
/usr/local/lib/perl5/5.8.0 .) at (eval 2) line 1.
 
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: Apache dies for the second night in a row at the same time.

2004-04-01 Thread Kevin Greenidge
I was running Perl 5.8.0 before the upgrade. I think I will try to
install Cwd.pm from CPAN since I don't think I can downgrade Perl
easily.
 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Wayne Pascoe
Sent: Thursday, April 01, 2004 2:29 AM
To: Kevin Greenidge
Cc: [EMAIL PROTECTED]
Subject: Re: Apache dies for the second night in a row at the same time.

On Thu, Apr 01, 2004 at 01:47:37AM -0600, Kevin Greenidge wrote:

 System: FreeBSD 4.9
 Current Perl Version: 5.8.2

What was your version of perl before the port upgrade ? You might just
be better off going back to whatever it was

 Can't locate Cwd.pm in @INC (@INC contains:
 /usr/local/lib/perl5/site_perl/5.8.0/mach
 /usr/local/lib/perl5/site_perl/5.8.0 /usr/local/lib/perl5/site_perl
 /usr/local/lib/perl5/5.8.0/BSDPAN /usr/local/lib/perl5/5.8.0/mach
 /usr/local/lib/perl5/5.8.0 .) at (eval 2) line 1.

Try installing Cwd from CPAN. Then do a perl -c on whatever script is
running from cron at this time and find out what other modules it
requires.

HTH.

-- 
Wayne Pascoe
Bury me deep when there's no will to be
better than you! - Metallica
___
[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]


RE: Error During Make Installworld

2004-03-26 Thread Kevin Greenidge
-Original Message-
From: Chris Pressey [mailto:[EMAIL PROTECTED] 
Sent: Friday, March 26, 2004 1:42 AM
To: Kevin Greenidge
Cc: [EMAIL PROTECTED]
Subject: Re: Error During Make Installworld

On Fri, 26 Mar 2004 01:13:06 -0600
Kevin Greenidge [EMAIL PROTECTED] wrote:

 I am using FreeBSD 4.9. Does anyone know what can be causing this?
Here
 is the error below: 
  
 install: rename: /sbin/init to /sbin/init.bak: Operation not permitted
 *** Error code 71
  
 Stop in /usr/src/sbin/init.

Hi Kevin,

Does your /sbin/init have the immutable flag set?

Try

ls -lo /sbin/init

to find out.  If it does, and you want to remove it, try

chflags noschg /sbin/init

-Chris



chflags noschg /sbin/init command worked perfectly. 

This is what I had set:

-r-x--  1 root  wheel  - 280656 Mar 14 18:59 /sbin/init


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


RE: Remote Administration Problem

2004-03-26 Thread Kevin Greenidge
What kind of error messages do you get? I am assuming if you are trying
to login directly as root then you'll have to enable root login in the
/etc/ssh/sshd_config and uncommenting PermitRootlogin yes. This is a big
security risk to login directly as root let alone telnet. Also make sure
it's not blocked by a firewall or port 22 is not blocked by your ISP.
Only speaking from experience here as I've had a similar issue. 

Kevin  

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Hamed Abangar
Sent: Friday, March 26, 2004 2:43 AM
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: Remote Administration Problem

Dear members
 
I'm new to this list and also  I'm new to FreeBSD environment .I'm
network administrator in an isp.Recently i have changed our Internet
servers from Linux to freebsd ( cache servers , dns servers , firewall ,
mail servers) . Every things works well , but i have a problem.I can't
control my servers remotely.I have activated SSH and telnet but i can't
login to my server with root account from my home or every other where.
Each time i want to check my servers , i must go to my server's room and
this is not good for a network administrator , i didn't have this
problem with Linux.
 
Any one can help me?
 
thanks 
Hamed Abangar


-
Do you Yahoo!?
Yahoo! Finance Tax Center - File online. File on time.
___
[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]


Error During Make Installworld

2004-03-25 Thread Kevin Greenidge
I am using FreeBSD 4.9. Does anyone know what can be causing this? Here
is the error below: 
 
install: rename: /sbin/init to /sbin/init.bak: Operation not permitted
*** Error code 71
 
Stop in /usr/src/sbin/init.
*** Error code 1
 
Stop in /usr/src/sbin.
*** Error code 1
 
Stop in /usr/src.
*** Error code 1
 
Stop in /usr/src.
*** Error code 1
 
Stop in /usr/src.
*** Error code 1
 
Stop in /usr/src.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Permission denied error while doing a make installworld

2004-02-25 Thread Kevin Greenidge
Everything works well up until this point. I haven't changed any
permissions or anything so I baffled as to why the error below may be
happening. Please let me know what I'm doing wrong as this has worked
many times before on my other boxes without problems. 
 
cd /usr/src
 
santacruz# make installworld
mkdir -p /tmp/install.63146
for prog in [ awk cap_mkdb cat chflags chmod chown  date echo egrep find
grep  ln make makewhatis mkdir mtree mv perl pwd_mkdb rm sed sh sysctl
test true uname wc zic; do  cp `which $prog` /tmp/install.63146;  done
cd /usr/src; MAKEOBJDIRPREFIX=/usr/obj  MACHINE_ARCH=i386  MACHINE=i386
OBJFORMAT_PATH=/usr/obj/usr/src/i386/usr/libexec
PERL5LIB=/usr/obj/usr/src/i386/usr/libdata/perl/5.00503
GROFF_BIN_PATH=/usr/obj/usr/src/i386/usr/bin
GROFF_FONT_PATH=/usr/obj/usr/src/i386/usr/share/groff_font
GROFF_TMAC_PATH=/usr/obj/usr/src/i386/usr/share/tmac
PATH=/usr/obj/usr/src/i386/usr/sbin:/usr/obj/usr/src/i386/usr/bin:/usr/o
bj/usr/src/i386/usr/games:/tmp/install.63146 make -f Makefile.inc1
reinstall
make: permission denied
*** Error code 126
 
Stop in /usr/src.
*** Error code 1
 
Stop in /usr/src.
santacruz#
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: Permission denied error while doing a make installworld

2004-02-25 Thread Kevin Greenidge
Did a search on google and fixed the issue. /etc/fstab had noexec,nosuid
on the /tmp partition so all I had to do was umount /tmp


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Kevin
Greenidge
Sent: Wednesday, February 25, 2004 5:59 AM
To: [EMAIL PROTECTED]
Subject: Permission denied error while doing a make installworld

Everything works well up until this point. I haven't changed any
permissions or anything so I baffled as to why the error below may be
happening. Please let me know what I'm doing wrong as this has worked
many times before on my other boxes without problems. 
 
cd /usr/src
 
santacruz# make installworld
mkdir -p /tmp/install.63146
for prog in [ awk cap_mkdb cat chflags chmod chown  date echo egrep find
grep  ln make makewhatis mkdir mtree mv perl pwd_mkdb rm sed sh sysctl
test true uname wc zic; do  cp `which $prog` /tmp/install.63146;  done
cd /usr/src; MAKEOBJDIRPREFIX=/usr/obj  MACHINE_ARCH=i386  MACHINE=i386
OBJFORMAT_PATH=/usr/obj/usr/src/i386/usr/libexec
PERL5LIB=/usr/obj/usr/src/i386/usr/libdata/perl/5.00503
GROFF_BIN_PATH=/usr/obj/usr/src/i386/usr/bin
GROFF_FONT_PATH=/usr/obj/usr/src/i386/usr/share/groff_font
GROFF_TMAC_PATH=/usr/obj/usr/src/i386/usr/share/tmac
PATH=/usr/obj/usr/src/i386/usr/sbin:/usr/obj/usr/src/i386/usr/bin:/usr/o
bj/usr/src/i386/usr/games:/tmp/install.63146 make -f Makefile.inc1
reinstall
make: permission denied
*** Error code 126
 
Stop in /usr/src.
*** Error code 1
 
Stop in /usr/src.
santacruz#
___
[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]


Error when trying to mount cd

2002-12-31 Thread Kevin Greenidge
I get the following error message when trying to mount
a cd:

sentinel# mount /dev/acd0c

cd9660: /dev/acd0c: Input/output error



What could I be doing wrong? 



To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: Error when trying to mount cd

2002-12-31 Thread Kevin Greenidge
I am running 4.7 and mount /cdrom does not work. I
have yet to try mount -t cd9660 /dev/acd0c /cdrom
and maybe this one will








--- Stacey Roberts [EMAIL PROTECTED] wrote:
 Hi Kevin,
 
 On Tue, 2002-12-31 at 10:37, Kevin Greenidge wrote:
  I get the following error message when trying to
 mount
  a cd:
  
  sentinel# mount /dev/acd0c
  
  cd9660: /dev/acd0c: Input/output error
 
 You might want to try:
 
 mount -t cd9660 /dev/acd0c /cdrom
 
 But I believe that with FreeBSD 4.7, you should be
 able to run:
 
 mount /cdrom
 
 Regards,
 
 Stacey
 
  
  
  
  What could I be doing wrong? 
  
  
  
  To Unsubscribe: send mail to [EMAIL PROTECTED]
  with unsubscribe freebsd-questions in the body
 of the message
 -- 
 Stacey Roberts
 B.Sc (HONS) Computer Science
 
 Web: www.vickiandstacey.com
 
 
 
 To Unsubscribe: send mail to [EMAIL PROTECTED]
 with unsubscribe freebsd-questions in the body of
 the message


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: Error when trying to mount cd

2002-12-31 Thread Kevin Greenidge
I was trying to mount a Windows XP disk to use as a
test. 





--- Warren Block [EMAIL PROTECTED] wrote:
 On Tue, 31 Dec 2002, Kevin Greenidge wrote:
 
  I am running 4.7 and mount /cdrom does not work.
 I
  have yet to try mount -t cd9660 /dev/acd0c
 /cdrom
  and maybe this one will
 
 does not work could be more detailed...  Are you
 trying to mount a
 UDF-formatted CD from a Windows system, or maybe a
 music CD?
 
 -Warren Block * Rapid City, South Dakota USA
 
 
 To Unsubscribe: send mail to [EMAIL PROTECTED]
 with unsubscribe freebsd-questions in the body of
 the message


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: Error when trying to mount cd

2002-12-31 Thread Kevin Greenidge

--- Stacey Roberts [EMAIL PROTECTED] wrote:
 On Tue, 2002-12-31 at 17:28, Kevin Greenidge wrote:
  I was trying to mount a Windows XP disk to use as
 a
  test. 
  
 Hi Kevin,
To test what?
 
 Instead of Error when tryign to mount cd as a
 subject, don't you think
 that the fact that the CD is actually WinXP was
 kinda pertinent to the
 problem?
 
 Try previous suggestions with a *normal* data CD, if
 you please.
 
 Regards,
 
 Stacey
 
  --- Warren Block [EMAIL PROTECTED] wrote:
   On Tue, 31 Dec 2002, Kevin Greenidge wrote:
   
I am running 4.7 and mount /cdrom does not
 work.
   I
have yet to try mount -t cd9660 /dev/acd0c
   /cdrom
and maybe this one will
   
   does not work could be more detailed...  Are
 you
   trying to mount a
   UDF-formatted CD from a Windows system, or maybe
 a
   music CD?
   
   -Warren Block * Rapid City, South Dakota USA
   
   
   To Unsubscribe: send mail to
 [EMAIL PROTECTED]
   with unsubscribe freebsd-questions in the body
 of
   the message
  
  
  To Unsubscribe: send mail to [EMAIL PROTECTED]
  with unsubscribe freebsd-questions in the body
 of the message
 -- 
 Stacey Roberts
 B.Sc (HONS) Computer Science
 
 Web: www.vickiandstacey.com
 
 
I just wanted to mount my Win XP cd since it was the
only one laying about at the time. I'm trying to setup
samba to share the cdrom. When I get home I will try
another cd in the machine to see if it works. 

I was under the impression that Freebsd would see any
cd since my redhat box see the folders in my win XP cd
fine 

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: Error when trying to mount cd

2002-12-31 Thread Kevin Greenidge

--- Mike Jeays [EMAIL PROTECTED] wrote:
 Stacey Roberts wrote:
 
 On Tue, 2002-12-31 at 21:29, Kevin Greenidge wrote:
   
 
 --- Stacey Roberts [EMAIL PROTECTED]
 wrote:
 
 
 On Tue, 2002-12-31 at 17:28, Kevin Greenidge
 wrote:
   
 
 I was trying to mount a Windows XP disk to use
 as
 
 
 a
   
 
 test. 
 
 
 
 Hi Kevin,
To test what?
 
 Instead of Error when tryign to mount cd as a
 subject, don't you think
 that the fact that the CD is actually WinXP was
 kinda pertinent to the
 problem?
 
 Try previous suggestions with a *normal* data CD,
 if
 you please.
 
 Regards,
 
 Stacey
 
   
 
 --- Warren Block [EMAIL PROTECTED] wrote:
 
 
 On Tue, 31 Dec 2002, Kevin Greenidge wrote:
 
   
 
 I am running 4.7 and mount /cdrom does not
 
 
 work.
   
 
 I
   
 
 have yet to try mount -t cd9660 /dev/acd0c
 
 
 /cdrom
   
 
 and maybe this one will
 
 
 does not work could be more detailed...  Are
   
 
 you
   
 
 trying to mount a
 UDF-formatted CD from a Windows system, or
 maybe
   
 
 a
   
 
 music CD?
 
 -Warren Block * Rapid City, South Dakota USA
 
 
 To Unsubscribe: send mail to
   
 
 [EMAIL PROTECTED]
   
 
 with unsubscribe freebsd-questions in the
 body
   
 
 of
   
 
 the message
   
 
 To Unsubscribe: send mail to
 [EMAIL PROTECTED]
 with unsubscribe freebsd-questions in the body
 
 
 of the message
 -- 
 Stacey Roberts
 B.Sc (HONS) Computer Science
 
 Web: www.vickiandstacey.com
 
 
   
 
 I just wanted to mount my Win XP cd since it was
 the
 only one laying about at the time. I'm trying to
 setup
 samba to share the cdrom. When I get home I will
 try
 another cd in the machine to see if it works. 
 
 I was under the impression that Freebsd would see
 any
 cd since my redhat box see the folders in my win
 XP cd
 fine 
 
 
 
 Hi Kevin,
I'm pretty sure that you'll be able to mount and
 view the content of
 the CD with the command:
 
 mount -t cd9660 /dev/acd0c /cdrom
 
 If not:
 
 mount -t cd9660 /dev/acd0c /mnt/cdrom
 
 Regards,
 
 Stacey
 
   
 
 To Unsubscribe: send mail to [EMAIL PROTECTED]
 with unsubscribe freebsd-questions in the body
 of the message
 
 
 To be a bit more complete:
 
 1) Make certain you have a directory /cdrom, and
 that there is nothing
 in it - not even any hidden files.
 2) Make sure you are cd-ed to some other directory.
 3) Execute mount -t cd9660 /dev/acd0c /cdrom
 
 If your /etc/fstab contains a line as follows:
 /dev/acd0c  /cdrom  cd9660 
 ro,noauto   0   0
 you can replace the mount command above with
 mount /cdrom
 
 If this doesn't work, it could be a bad CD.I
 have a CD-RW
 that reads just fine on one FreeBSD machine, but
 which causes a
 Pentium 120 running FreeBSD 4.1 to crash.  A
 complete crash,
 with need for an fsck on its filesystems, and
 reproducible.
 
 
 
 
 
I finally got a chance to get in front of my box and
mount /cdrom worked. I replaced my Win XP cd with my
FreeBSD and various other disks and they worked fine.
I guess it does make a difference with what type of cd
it is because I know the Win XP disk is good. 


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



About Samba

2002-12-23 Thread Kevin Greenidge
I installed FreeBSD 4.7 over the weekend and am having
the toughest time getting Samba working. 

I have up and running on the server but I cannot see
any of the Samba shares from my WinXP box. I can ping
the Samba box from winXP so I know it's there. I used
Webmin to configure Samba and don't remember it being
this much trouble when I installed Samba in the past. 

Permissions on all shares are set to allow all.

Could it be something with Samba or WinXP that I'm
missing? 

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



FreeBSD Terminal Server?

2002-12-23 Thread Kevin Greenidge
I am going to setup a Terminal Server and was
wondering if there are any projects like
http://ltsp.org i would rather use freebsd than linux
if possible. Any suggestions are appriciated.

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: About Samba

2002-12-23 Thread Kevin Greenidge
Ok by looking at this document I think I see my
mistake. I did not create any samba users. I don't
know what lead me to thinking I could actually look at
the server without adding a samba user  password. 



--- Scott Robbins [EMAIL PROTECTED] wrote:
 On Mon, Dec 23, 2002 at 05:59:17AM -0800, Kevin
 Greenidge wrote:
  I installed FreeBSD 4.7 over the weekend and am
 having
  the toughest time getting Samba working. 
  
  I have up and running on the server but I cannot
 see
  any of the Samba shares from my WinXP box. I can
 ping
  the Samba box from winXP so I know it's there. I
 used
  Webmin to configure Samba and don't remember it
 being
  this much trouble when I installed Samba in the
 past. 
 
 Sometimes, the trouble is in smb.conf with encrypted
 passwords.
 It's commented out by default and has to be
 uncommented. (or you can
 hack the registry on each MS box).  
 
 I have a beginner's page on samba, which although
 Linux oriented, 
 might be of use at 
 http://home.nyc.rr.com/computertaijutsu/samba.html
 
 Also, you'll find in
 /usr/local/share/doc/samba/textdocs something
 called DIAGNOSIS which might be helpful, it's a good
 troubleshooting
 guide.
 
 HTH
 -- 
 
 Scott Robbins
 
 PGP keyID EB3467D6
 ( 1B48 077D 66F6 9DB0 FDC2 A409 FA54 D575 EB34 67D6
 )
 gpg --keyserver pgp.mit.edu --recv-keys EB3467D6
 
 Anya: You know this isn't your world, right? I mean,
 you know you
 don't belong here. 
 Willow: No. This is a dumb world. On my world, there
 are people 
 in chains, and we can ride them like ponies. 
 

 ATTACHMENT part 2 application/pgp-signature 



To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: FreeBSD Terminal Server?

2002-12-23 Thread Kevin Greenidge
That's exactly what I'm looking for. What documents
and software were used to set it up?



--- Marcel Stangenberger [EMAIL PROTECTED] wrote:
 On Mon, 23 Dec 2002, Kevin Greenidge wrote:
 
  I am going to setup a Terminal Server and was
  wondering if there are any projects like
  http://ltsp.org i would rather use freebsd than
 linux
  if possible. Any suggestions are appriciated.
 
 
 the link gives me a DNS error so i can't see what
 you want to build. But i
 have a terminal server based on XFree86 running here
 without problems.
 
 I run all applications from the server and the
 filesystem i access is also
 on the server.
 
 Marcel
 
 
 To Unsubscribe: send mail to [EMAIL PROTECTED]
 with unsubscribe freebsd-questions in the body of
 the message


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message