Re: FreeBSD 6.0 compat with DL320 G4

2006-07-05 Thread William

Thanks Ted,

Server got here, FreeBSD 6.1 went on easy as you like and then I
installed the intel card when it got here... I havent had to recompile
a thing and its detected the card fine. I've appied an IP address,
cvsup/install a few ports without any issues..


dmesg goodness:
em0:  port
0x4000-0x401f mem 0xfdee-0xfdef,0xfdec-0xfded irq 16
at device 0.0 on pci2
em0: Ethernet address: 00:15:17:0b:e6:18
em1:  port
0x4020-0x403f mem 0xfdea-0xfdeb,0xfde8-0xfde9 irq 17
at device 0.1 on pci2
em1: Ethernet address: 00:15:17:0b:e6:19

Should I grab the latest copy of the driver (off intel's website) and
recompile anyway?

Cheers,

Will


On 06/07/06, Ted Mittelstaedt <[EMAIL PROTECTED]> wrote:


Go here:

http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/dev/em/

click on the file you want.  You will probably need all the files there
other than LICENSE and README

right-click download, save to disk, copy to your running freebsd system,
from that system copy to freebsd-formatted floppy disk, unmount floppy disk,
take disk to dl320, mount disk, copy to /usr/src/sys/dev/em/ and recompile
the kernel.

Ted

- Original Message -
From: "William" <[EMAIL PROTECTED]>
To: "Ted Mittelstaedt" <[EMAIL PROTECTED]>
Cc: "Antony Mawer" <[EMAIL PROTECTED]>;

Sent: Tuesday, July 04, 2006 2:47 AM
Subject: Re: FreeBSD 6.0 compat with DL320 G4


> Ted,
>
> Apoligises for being difficult, I must be suffering from my super
> early mornings and information overload.
>
> Thank you for explaining it, my dealer has picked up on the fact that
> I'll require the PT instead of MT card that I suggested.
>
> Thanks again for your help, what would be the best way of grabbing the
> latest driver for em for the 1000PT card?
>
> Regards,
>
> Will
>
> On 04/07/06, Ted Mittelstaedt <[EMAIL PROTECTED]> wrote:
> > I think your trying to second-guess very simple instructions and making
> > things very
> > hard for yourself.  I'll try to explain one last time then I'll throw my
> > hands up in
> > the air
> >
> > The HP DL320 G4 slots, whether PCI-X or PCI Express, to be accessible,
> > MUST USE A RISER CARD.  HP has TWO different riser cards available.
> >
> > BOTH riser cards have TWO slots, a half-height and a full height.
> >
> > The first riser card has a half-height PCI-Express slot, and a
full-height
> > PCI Express slot.  This is the riser card that is supplied by the
factory
> > and it comes with the server.
> >
> > The second riser card is OPTIONAL and it contains a half-height
> > PCI-Express slot and a full-height PCI-X slot.  It REPLACES the
> > factory-supplied riser card, if you use it.
> >
> >
> > The Intel MT card is a PCI-X card.  It will not fit in a PCI Express
slot.
> > It
> > works with FBSD 6.1
> >
> > The Intel PT card is a PCI Express card.  It will not fit in a PCI-X
slot.
> > It does not work with FBSD 6.1 unless you load the driver.
> >
> > You can either do ONE of the following:
> >
> > 1) Use the Intel MT card with the optional HP PCI-X riser card.  This
works
> > out
> > of box with FBSD 6.1
> >
> > 2) Use the Intel PT card with the HP riser card that ships with the
server.
> > This DOES
> > NOT work out of the box with FBSD 6.1  You MUST load the current driver
for
> > this to work.
> >
> > You CANNOT USE the MT card with the riser card that ships with the
server.
> >
> > You CANNOT use a low-profile PCI-X card because the optional PCI-X
> > riser card DOES NOT HAVE a low profile PCI-X slot.  It has a standard
> > height PCI-X slot ONLY.
> >
> > Incidentally the fact that your HP dealer cannot apparently explain this
to
> > you pretty much means YOUR HP DEALER SUCKS THE BIG WEENIE.
> >
> > Ted
> >
> > - Original Message -
> > From: "William" <[EMAIL PROTECTED]>
> > To: "Ted Mittelstaedt" <[EMAIL PROTECTED]>
> > Cc: "Antony Mawer" <[EMAIL PROTECTED]>;
> > 
> > Sent: Monday, July 03, 2006 11:05 PM
> > Subject: Re: FreeBSD 6.0 compat with DL320 G4
> >
> >
> > > Ok, I think its best I just order a Intel MT card with the low profile
> > > PCI-X adapter instead of flapping about with these riser cards and
> > > then just use 6-stable. All getting quite confusing.
> > >
> > > On 04/07/06, Ted Mittelstaedt <[EMAIL PROTECTED]> wrote:
> > > >
> > > > Correct, it will not fit - unless you order the PCI-X riser card
from HP
> > and
> > > > replace the PCI-Express riser card that ships with the 320 with the
> > PCI-X
> > > > riser card.
> > > >
> > > > Ted
> > > >
> > > > - Original Message -
> > > > From: "William" <[EMAIL PROTECTED]>
> > > > To: "Antony Mawer" <[EMAIL PROTECTED]>
> > > > Cc: ; "Ted Mittelstaedt"
> > > > <[EMAIL PROTECTED]>
> > > > Sent: Monday, July 03, 2006 10:56 AM
> > > > Subject: Re: FreeBSD 6.0 compat with DL320 G4
> > > >
> > > >
> > > > > Did you guys say the card I've got in another box wont fit into a
320?
> > > > >
> > > > > On 03/07/06, Antony Mawer <[EMAIL PROTECTED]> wrote:
> > > > > > On 29/06/2006 9:27 PM, Erik Trulsson wrote:
> > > > > > > On Fri, 

Re: FreeBSD 6.0 compat with DL320 G4

2006-07-05 Thread Ted Mittelstaedt

Go here:

http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/dev/em/

click on the file you want.  You will probably need all the files there
other than LICENSE and README

right-click download, save to disk, copy to your running freebsd system,
from that system copy to freebsd-formatted floppy disk, unmount floppy disk,
take disk to dl320, mount disk, copy to /usr/src/sys/dev/em/ and recompile
the kernel.

Ted

- Original Message - 
From: "William" <[EMAIL PROTECTED]>
To: "Ted Mittelstaedt" <[EMAIL PROTECTED]>
Cc: "Antony Mawer" <[EMAIL PROTECTED]>;

Sent: Tuesday, July 04, 2006 2:47 AM
Subject: Re: FreeBSD 6.0 compat with DL320 G4


> Ted,
>
> Apoligises for being difficult, I must be suffering from my super
> early mornings and information overload.
>
> Thank you for explaining it, my dealer has picked up on the fact that
> I'll require the PT instead of MT card that I suggested.
>
> Thanks again for your help, what would be the best way of grabbing the
> latest driver for em for the 1000PT card?
>
> Regards,
>
> Will
>
> On 04/07/06, Ted Mittelstaedt <[EMAIL PROTECTED]> wrote:
> > I think your trying to second-guess very simple instructions and making
> > things very
> > hard for yourself.  I'll try to explain one last time then I'll throw my
> > hands up in
> > the air
> >
> > The HP DL320 G4 slots, whether PCI-X or PCI Express, to be accessible,
> > MUST USE A RISER CARD.  HP has TWO different riser cards available.
> >
> > BOTH riser cards have TWO slots, a half-height and a full height.
> >
> > The first riser card has a half-height PCI-Express slot, and a
full-height
> > PCI Express slot.  This is the riser card that is supplied by the
factory
> > and it comes with the server.
> >
> > The second riser card is OPTIONAL and it contains a half-height
> > PCI-Express slot and a full-height PCI-X slot.  It REPLACES the
> > factory-supplied riser card, if you use it.
> >
> >
> > The Intel MT card is a PCI-X card.  It will not fit in a PCI Express
slot.
> > It
> > works with FBSD 6.1
> >
> > The Intel PT card is a PCI Express card.  It will not fit in a PCI-X
slot.
> > It does not work with FBSD 6.1 unless you load the driver.
> >
> > You can either do ONE of the following:
> >
> > 1) Use the Intel MT card with the optional HP PCI-X riser card.  This
works
> > out
> > of box with FBSD 6.1
> >
> > 2) Use the Intel PT card with the HP riser card that ships with the
server.
> > This DOES
> > NOT work out of the box with FBSD 6.1  You MUST load the current driver
for
> > this to work.
> >
> > You CANNOT USE the MT card with the riser card that ships with the
server.
> >
> > You CANNOT use a low-profile PCI-X card because the optional PCI-X
> > riser card DOES NOT HAVE a low profile PCI-X slot.  It has a standard
> > height PCI-X slot ONLY.
> >
> > Incidentally the fact that your HP dealer cannot apparently explain this
to
> > you pretty much means YOUR HP DEALER SUCKS THE BIG WEENIE.
> >
> > Ted
> >
> > - Original Message -
> > From: "William" <[EMAIL PROTECTED]>
> > To: "Ted Mittelstaedt" <[EMAIL PROTECTED]>
> > Cc: "Antony Mawer" <[EMAIL PROTECTED]>;
> > 
> > Sent: Monday, July 03, 2006 11:05 PM
> > Subject: Re: FreeBSD 6.0 compat with DL320 G4
> >
> >
> > > Ok, I think its best I just order a Intel MT card with the low profile
> > > PCI-X adapter instead of flapping about with these riser cards and
> > > then just use 6-stable. All getting quite confusing.
> > >
> > > On 04/07/06, Ted Mittelstaedt <[EMAIL PROTECTED]> wrote:
> > > >
> > > > Correct, it will not fit - unless you order the PCI-X riser card
from HP
> > and
> > > > replace the PCI-Express riser card that ships with the 320 with the
> > PCI-X
> > > > riser card.
> > > >
> > > > Ted
> > > >
> > > > - Original Message -
> > > > From: "William" <[EMAIL PROTECTED]>
> > > > To: "Antony Mawer" <[EMAIL PROTECTED]>
> > > > Cc: ; "Ted Mittelstaedt"
> > > > <[EMAIL PROTECTED]>
> > > > Sent: Monday, July 03, 2006 10:56 AM
> > > > Subject: Re: FreeBSD 6.0 compat with DL320 G4
> > > >
> > > >
> > > > > Did you guys say the card I've got in another box wont fit into a
320?
> > > > >
> > > > > On 03/07/06, Antony Mawer <[EMAIL PROTECTED]> wrote:
> > > > > > On 29/06/2006 9:27 PM, Erik Trulsson wrote:
> > > > > > > On Fri, Jun 30, 2006 at 07:56:00AM +0100, William wrote:
> > > > > > >> Antony,
> > > > > > >>
> > > > > > >> I've got an Intel card in production already on a homebrew
box,
> > the
> > > > > > >> code is INTEL-PWLA8492MT and description is "Intel Dual Port
> > Server
> > > > > > >> Adapter 10/100/1000". Any idea if that will do?
> > > > > > >
> > > > > > > That is a PRO/1000 MT card, which is a PCI-X adapter and is
> > supported
> > > > > > > by the standard em(4) driver in FreeBSD 6.x,
> > > > > > >
> > > > > > > The PRO/1000 PT mentioned below is a PCI-Express adapter and
is
> > not
> > > > > > > supported by the standard driver in 6.x, but (as mentioned)
should
> > > > > > > be supported by the driver available from Intel.
> 

Re: HP Officejet Printer

2006-07-05 Thread Ted Mittelstaedt

http://www.linuxprinting.org/show_printer.cgi?recnum=HP-OfficeJet_4300

"...these printers are supported by the "hpijs" driver beginning from
version 1.3. The driver supports resolutions only up to 600 dpi, head
alignment settings stored in the printer are not made use of, so use a
one-cartridge (CMY) printing mode in case of mis-alignments"

"perfectly"?

Ted

- Original Message - 
From: "dick hoogendijk" <[EMAIL PROTECTED]>
To: "freebsd-questions" 
Sent: Wednesday, July 05, 2006 12:37 AM
Subject: Re: HP Officejet Printer


> On 04 Jul Anish Mistry wrote:
> > On Tuesday 04 July 2006 20:53, E. J. Cerejo wrote:
> > > > Anish Mistry <[EMAIL PROTECTED]> escreveu: On Tuesday 04
> > July 2006 20:35, E. J. Cerejo wrote:
> > > > > I'm running FBSD 6.1 release and just got a new printer for my
> > > > > birthday, it's an HP Officejet 4315 all-in-one, I used to have
> > > > > an old HP Deskjet 842c and worked fine using apsfilter but I
> > > > > can't make this one print, I don't see any drivers for it using
> > > > > apsfilter either, is there a way to make this thing work?
> > > >
> > > > print/hplip
> > >
> > > Installing it is easy but how do I have to do to make it work, what
> > > files I have to configure?  Does it work using apsfilter?
> > I missed the apsfilter part.  It uses cups.  You need to have the
> > printer attach as a ugen device, make the changes to devfs.rules in
> > the pkg-message and add the necessary lines to rc.conf to start it
> > all.
>
> This printer works perfectly with apsfilter. The latter does /not/ need
> cups (luckely imho) but works very well with the standard unix lpd.
>
> Install apsfilter with "portinstall -rR apsfilter" and you'll be happy.
> You can also go for cups, but make sure you read some installation papers
> on the net very carefully. Google is your friend.
>
> -- 
> dick -- http://nagual.st/ -- PGP/GnuPG key: F86289CE
> ++ Running FreeBSD 6.1 +++ The Power to Serve
> ___
> 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: sshd/mysql errors.

2006-07-05 Thread Marwan Sultan


hello,

 and how to get an ip of unkown hostname, as you knowm i should add an IP 
addresses to the firewall not hostnames,


# nslookup host73.maxim.net
***  can't find host73.hostname_net: Non-existent host/domain

I found hundreds of this line to in my logs

mysqld[28598]: warning: /etc/hosts.allow, line 25: can't verify hostname: 
getaddrinfo(IP-216-185-173-58.mtntel.net, AF_INET) failed


Any advise? please.




First thoughts is you are under attack and hosts.allow is
doing it's job of denying access.

Add the ip address from the warning message to your firewall
to stop those attack packets from entering your system.

Good chance attack packets are spoofed.



-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Marwan
Sultan
Sent: Tuesday, July 04, 2006 6:40 AM
To: freebsd-questions@freebsd.org
Subject: sshd/mysql errors.


Hello gurus,

my logs full of hundreds of these lines..i starts since few days and
up to
day ..

-
Jul  2 00:00:03 server mysqld[28598]: warning: /etc/hosts.allow,
line 25:
can't verify hostname: getaddrinfo(host73.hostname_net, AF_INET)
failed

Jul  2 00:00:27 server sshd[83738]: warning: /etc/hosts.allow, line
25:
can't verify hostname: getaddrinfo(host73.hostname_net, AF_INET)
failed
--
Where hostname_net is the former ISP name for the my server hosting
ISP.
but i have the same DNS and routings, the name is changed since
almost 1
year and few months.

Also line 25 had nothing to do with this hostname its just the first
active
line in my hosts.allow file
anyhow i have replaced the line to:
ALL : .hostname_net : allow

But still same errors everyday every minute! anyadvise please?

Its FreeBSD 4.8R

thank you
Marwan


_
Express yourself instantly with MSN Messenger! Download today it's FREE! 
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/


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


Re: DNS beginner question

2006-07-05 Thread David Stanford

On 7/5/06, Michael S <[EMAIL PROTECTED] > wrote:


Hi all.

I am trying to set up a DNS service. I have 2 FreeBSD machines, one's
web and DNS (that I am setting up) and the other FTP. Both machines
are behind a router and get local addresses (i.e. 192.168). If
DNS, FTP and web ports in the router are open, will I be able to set
up the DNS in a way such that when someone from the outside types
www.mydomain.com, he'll be taken to the machine that runs apache, and
when he types ftp.mydomain.com he'll be taken to the machine which
runs ftp?
By the way simply typing ftp://mydomain.com and http://mydomain.com
does the trick, but I want it to work with prefixes too.

Hopefully my question isn't too confusing.

Thanks in advance.
Michael



Hi Michael,

You'll have to clarify "open" regarding the WEB, DNS, and FTP ports on the
router. Are they simply port-forwarded to the internal servers (meaning
based on service ports) or do you have one-to-one NAT mapping a public IP to
an internal for each server? If it's the latter, and each machine has its
own public IP, then you can simply set DNS to point to each server
respectively:

www.mydomain.com -> publicIP1 -> privateIP1
ftp.mydomain.com -> publicIP2 -> privateIP2

The real question is whether you have a block of public IPs or just one. But
to be honest, you can probably get away with just having a single public IP
and using port forwarding as most browsers (including Firfox and IE)
recognize the "ftp" and "www" subdomains and automatically adjust to that
protocol.

i.e. ftp.somedomain.com will automatically be translated to
ftp://ftp.somedomain.com (ftp.freebsd.org ).

-David
--
[EMAIL PROTECTED] ~]# fortune
Happiness is just an illusion, filled with sadness and confusion.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: DNS beginner question

2006-07-05 Thread Olivier Nicole
Michael,

> I am trying to set up a DNS service. I have 2 FreeBSD machines, one's
> web and DNS (that I am setting up) and the other FTP. Both machines
> are behind a router and get local addresses (i.e. 192.168). If
> DNS, FTP and web ports in the router are open, will I be able to set
> up the DNS in a way such that when someone from the outside types
> www.mydomain.com, he'll be taken to the machine that runs apache, and
> when he types ftp.mydomain.com he'll be taken to the machine which
> runs ftp?
> By the way simply typing ftp://mydomain.com and http://mydomain.com
> does the trick, but I want it to work with prefixes too.

It looks like it is a problem of setting up your router and NAT
service on the router, rather than a DNS issue.

>From the wolrd, mydomain.com, ftp.mydomain.com and www.mydomain.com
are seen as a signle IP/host (the public/WAN interface of your
router). That is the router that direct traffic to this or that.

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


DNS beginner question

2006-07-05 Thread Michael S

Hi all.

I am trying to set up a DNS service. I have 2 FreeBSD machines, one's
web and DNS (that I am setting up) and the other FTP. Both machines
are behind a router and get local addresses (i.e. 192.168). If
DNS, FTP and web ports in the router are open, will I be able to set
up the DNS in a way such that when someone from the outside types
www.mydomain.com, he'll be taken to the machine that runs apache, and
when he types ftp.mydomain.com he'll be taken to the machine which
runs ftp?
By the way simply typing ftp://mydomain.com and http://mydomain.com
does the trick, but I want it to work with prefixes too.

Hopefully my question isn't too confusing.

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


Re: SATA300 Controllers

2006-07-05 Thread Mike Horwath
On Wed, Jul 05, 2006 at 08:02:55PM -0500, Derrick T. Woolworth wrote:
> Sorry for cross-posting, but these issues seem relevant for lists...

That's okay, I am not on all and I'll create some bounces, I am sure.

> Has anyone had success with SATA300 controllers with FreeBSD 6.1?
> I've been trying Promise and nVidia nForce4 and I'm not having any
> luck.  Using a MSI K8NGM2-L motherboard and others, but 6.1's
> installation hangs as soon as it sees ad4.  I've also tried using an
> Adaptec 1210SA controller and had zero results.  I've read that the
> chipset on this controller is not very good - forces serialized
> access to the controller's channels???  Nevertheless, I've got a K8N
> Diamond motherboard on a workstation and I was able to at least
> "start" the 6.1 installation.  I have no idea if its stable.  At
> this point, I'd settle for just knowing "which" SATA300 controller
> to use that will work successfully and "well" with FreeBSD 6.0 OR
> 6.1.  Another question, would I have more success installing 6.0 and
> then upgrading the kernel and recompiling with a build-world?

I am running 6.0 and 6.1 systems (-STABLE) with both ARECA 12xx cards
and 3WARE/AMCC 9550SX cards.

Neither are cheap, but they are doing the job and are in use in binary
spoolers for news.

> I'm currently trying to build a moderate large system with 4 presentation
> servers, 2 database servers and one large storage system using NFS mapped to
> ~1.2 terrabyte of SATA disks (4x Maxtor 500GB 7200 RPM disks w/RAID5
> config).  Any suggestions?

Up the # of spindles? :)

-- 
Mike Horwath, reachable via [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: FreeBSD for kids...

2006-07-05 Thread Norberto Meijome
On Wed, 5 Jul 2006 12:23:19 -0400
"Jim Stapleton" <[EMAIL PROTECTED]> wrote:

> I don't know of any. You could do a minimal install, install X + WM of
> choice (probably one that dosn't add games), and thend add the
> educational and math/sci related packages in ports? I think the
> directories they are in are relatively limited, and so finding them
> shouldn't be too hard.

yes, precisely my thoughts.

thanks :)
B

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


SATA300 Controllers

2006-07-05 Thread Derrick T. Woolworth

Hello all,

Sorry for cross-posting, but these issues seem relevant for lists...

Has anyone had success with SATA300 controllers with FreeBSD 6.1?  I've been
trying Promise and nVidia nForce4 and I'm not having any luck.  Using a MSI
K8NGM2-L motherboard and others, but 6.1's installation hangs as soon as it
sees ad4.  I've also tried using an Adaptec 1210SA controller and had zero
results.  I've read that the chipset on this controller is not very good -
forces serialized access to the controller's channels???  Nevertheless, I've
got a K8N Diamond motherboard on a workstation and I was able to at least
"start" the 6.1 installation.  I have no idea if its stable.  At this point,
I'd settle for just knowing "which" SATA300 controller to use that will work
successfully and "well" with FreeBSD 6.0 OR 6.1.  Another question, would I
have more success installing 6.0 and then upgrading the kernel and
recompiling with a build-world?

I'm currently trying to build a moderate large system with 4 presentation
servers, 2 database servers and one large storage system using NFS mapped to
~1.2 terrabyte of SATA disks (4x Maxtor 500GB 7200 RPM disks w/RAID5
config).  Any suggestions?

Thanks,

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


Re: vinum stability?

2006-07-05 Thread Jonathan Horne
On Wednesday 05 July 2006 19:05, Peter A. Giessel wrote:
> On 7/5/2006 15:56, Jeremy Ehrhardt seems to have typed:
> > 3: would I be better off using a different RAID 5 system on another OS?
>
> You would be best off with a 3ware card (www.3ware.com) running RAID 5
> (hardware raid >> software raid).
>
> It works great in FreeBSD and is *very* stable and fault tolerant.
>
> ___

i have a 3ware card in my production server running a RAID5, and its never 
skipped a beat.

if you dont buy a raid card (with 6 or more channels), try breaking the usage 
up.  put the system partitions on one controller, and build a 4 disk raid5 on 
the other, and see if it behaves differently (ie, remove the 
cross-controller-raid from the equation and see what happens).

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


Re: vinum stability?

2006-07-05 Thread Peter A. Giessel


On 7/5/2006 15:56, Jeremy Ehrhardt seems to have typed:
> 3: would I be better off using a different RAID 5 system on another OS?

You would be best off with a 3ware card (www.3ware.com) running RAID 5
(hardware raid >> software raid).

It works great in FreeBSD and is *very* stable and fault tolerant.

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


vinum stability?

2006-07-05 Thread Jeremy Ehrhardt
I have a quad-core Opteron nForce4 box running 6.1-RELEASE/amd64 with a 
gvinum RAID 5 setup comprising six identical SATA drives on three 
controllers (the onboard nForce4 SATA, which is apparently two devices, 
and one Promise FastTrak TX2300 PCI SATA RAID controller in IDE mode), 
combined into one volume named "drugs". We've been testing this box as a 
file server, and it usually works fine, but smartd reported a few bad 
sectors on one of the drives, then a few days later it crashed while I 
was running chmod -R on a directory on "drugs" and had to be manually 
rebooted. I can't figure out exactly what happened, especially given 
that RAID 5 is supposed to be robust against single drive failures and 
that despite the bad blocks smartctl claims the drive is healthy.


I have three questions:
1: what's up with gvinum RAID 5? Does it crash randomly? Is it 
considered stable? Will it lose data?
2: am I using a SATA controller that has serious problems or something 
like that? In other words, is this actually gvinum's fault?

3: would I be better off using a different RAID 5 system on another OS?

Jeremy Ehrhardt
[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: Portupgrade problem

2006-07-05 Thread Albert Shih
 Le 06/07/2006 à 00:09:14+0200, Albert Shih a écrit
> Hi all
> 
> After update portupgrade it seem (on my server) the «-b» option don't work.
> 
> I don't have any backup of my old package. That's very *
> 
> portupgrade-2.1.3.2,2 FreeBSD ports/packages administration and management 
> tool s
> 
> Any other users have this problem ?
> 

My fault. Everything work fine. It's just in old time the backup is in
/var/tmp/portupgrade* and it's in /usr/ports/packages/All

Thanks.

Regards.
--
Albert SHIH
Universite de Paris 7 (Denis DIDEROT)
U.F.R. de Mathematiques.
7 ième étage, plateau D, bureau 10
Heure local/Local time:
Thu Jul 6 00:39:08 CEST 2006
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


CUPS 1.2 on FreeBSD PrintServer

2006-07-05 Thread Mark Jacobs
I fixed the local print problem when the printer is attached via parallel or 
USB port. However all attempts to print over the network is failing with the 
following message;

Network host '192.168.102.20' is busy; will retry in 30 seconds..."

The printer on a Freebsd client machine is defined as; 

Device URI: ipp://192.168.102.20:631/printers/Lexmark_Optra_S1625

No matter what I do to the config file I can't access the CUPS server on the 
print server from any machine on the network.

Please Help.

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


dvd image

2006-07-05 Thread eoghan

Hi
I was wondering if there was any dvd images of freebsd releases?
Thanks
Eoghan
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Portupgrade problem

2006-07-05 Thread Albert Shih
Hi all

After update portupgrade it seem (on my server) the «-b» option don't work.

I don't have any backup of my old package. That's very *

portupgrade-2.1.3.2,2 FreeBSD ports/packages administration and management tool 
s

Any other users have this problem ?

Regards.


--
Albert SHIH
Universite de Paris 7 (Denis DIDEROT)
U.F.R. de Mathematiques.
7 ième étage, plateau D, bureau 10
Heure local/Local time:
Thu Jul 6 00:07:03 CEST 2006
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: qt33 Port Compilation Error

2006-07-05 Thread Charles Swiger

On Jul 5, 2006, at 4:27 PM, Jacob Jennings wrote:

If I correct this unterminated comment in that file the compilation
will continue until another error concerning the same file occurs,
whose only output is:
*** Signal 4
I've never had these problems with QT before and I've been using KDE
for 4 years! Already tried googling but to no avail. Any help would be
greatly appreciated. Thankies!


Signal 4 means illegal instruction.

It's possible that you are trying to compile for an architecture that  
your current CPU can't handle, or there's a bug in the compiler,  
however (most likely), you've got a hardware problem involving bad  
memory or the like, and a session with memtest86 would probably be a  
good idea as a sanity check...


--
-Chuck

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


qt33 Port Compilation Error

2006-07-05 Thread Jacob Jennings

Hello, I am running FreeBSD 6.1 attempting to compile the qt33 port.
However, I get this error:
qmake_image_collection.cpp:1:1: unterminated comment
qmake_image_collection.cpp:215:39: warning no newline at end of file
*** Error code 1

If I correct this unterminated comment in that file the compilation
will continue until another error concerning the same file occurs,
whose only output is:
*** Signal 4
I've never had these problems with QT before and I've been using KDE
for 4 years! Already tried googling but to no avail. Any help would be
greatly appreciated. Thankies!
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Snapshot problems

2006-07-05 Thread Lowell Gilbert
Andrea Venturoli <[EMAIL PROTECTED]> writes:

> Lowell Gilbert wrote:
>
 Are you able to fsck the snapshot?
>
> So, here it is, hope it's not to long:

I don't understand much of what's happening, but it doesn't look good.
I would recommend trying to take the filesystem offline for a real
fsck at your first opportunity.  And get extra backups...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Strange errors from BIND on FreeBSD 4.x system

2006-07-05 Thread Odhiambo Washington
* On 05/07/06 11:57 -0600, Brett Glass wrote:
| I'm working with a client's FreeBSD system (4.9 with patches) which is having 
trouble resolving certain domains 
| but not others. When I try to execute the same queries using "dig", I see the 
error message
| 
| res_nsend: Protocol not supported
| 
| Via various search engines, I've seen hints that the problem may have 
something to do with IPV6 but no 
| instructions as to how to resolve it. Can anyone explain what's wrong and how 
to fix it?

Which Bind version?

From this thread:
http://listserv2.cfi.co.ug/pipermail/afnog/2005-May/000759.html,

I think you should try the following:

cd /usr/ports/dns/bind9
make -DWITH_PORT_REPLACES_BASE_BIND9 install clean

(That will give you bind-9.3.2)

Try again and update us.

The installation of bind-9.3.2 can be undone, so don't fear :-)


-Wash

http://www.netmeister.org/news/learn2quote.html

DISCLAIMER: See http://www.wananchi.com/bms/terms.php

--
+==+
|\  _,,,---,,_ | Odhiambo Washington<[EMAIL PROTECTED]>
Zzz /,`.-'`'-.  ;-;;,_ | Wananchi Online Ltd.   www.wananchi.com
   |,4-  ) )-,_. ,\ (  `'-'| Tel: +254 20 313985-9  +254 20 313922
  '---''(_/--'  `-'\_) | GSM: +254 722 743223   +254 733 744121
+==+

Genetics explains why you look like your father, and if you don't, why
you should.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Strange errors from BIND on FreeBSD 4.x system

2006-07-05 Thread Robert Huff

Brett Glass writes:

>  I'm working with a client's FreeBSD system (4.9 with patches) which 
>  is having trouble resolving certain domains but not others. When I 
>  try to execute the same queries using "dig", I see the error message
>  
>  res_nsend: Protocol not supported
>  
>  Via various search engines, I've seen hints that the problem may 
>  have something to do with IPV6 but no instructions as to how to 
>  resolve it. Can anyone explain what's wrong and how to fix it?

Which BIND version, please?


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


Re: Freebsd 6.1 w/cups

2006-07-05 Thread Charles Howse


On Jul 5, 2006, at 12:44 PM, Raymond Gibson wrote:


Hello, I'm trying to install an HP Photosmart printer using cups.

All the online documentation I've read tells me to mv cups.sh.sample
int /usr/local/etc/rc.d/cups.sh. The problem i have is  
cups.sh.sample is
nowhere to be found. Is this a ports build error or a documentation  
error?


i tried to 'deinstall/reinstall' cups, but that didn't help.

any help would be appreciated.


What version of cups? Ports/print/cups-1.2.0 STINKS!! Packges/  
cups-1.1.23 is what I use.

Cups starts via /usr/local/etc/rc.d/cupsd

# Add the following to /etc/rc.conf[.local] to enable this service
#
# cupsd_enable="YES"

--
How I make Great Barbecue -
http://bubbabbq.homeunix.net/bbq.html


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


Re: Freebsd 6.1 w/cups

2006-07-05 Thread Raymond Gibson
Yes, i have /usr/local/etc/rc.d/cupsd. A quick read of that script indicates i 
need to enable the service thru rc.conf. i did that... my printer works now.

Thank you.



On Wednesday 05 July 2006 1:05 pm, Kevin Kinsey wrote:
> Raymond Gibson wrote:
> > Hello, I'm trying to install an HP Photosmart printer using cups.
> >
> > All the online documentation I've read tells me to mv cups.sh.sample
> > int /usr/local/etc/rc.d/cups.sh. The problem i have is cups.sh.sample is
> > nowhere to be found. Is this a ports build error or a documentation
> > error?
> >
> > i tried to 'deinstall/reinstall' cups, but that didn't help.
>
> Do you, by any chance, have /usr/local/etc/rc.d/cupsd ??
>
> If so, the docs are wrong/outdated.
>
> Kevin Kinsey
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Freebsd 6.1 w/cups

2006-07-05 Thread Kevin Kinsey

Raymond Gibson wrote:

Hello, I'm trying to install an HP Photosmart printer using cups.

All the online documentation I've read tells me to mv cups.sh.sample 
int /usr/local/etc/rc.d/cups.sh. The problem i have is cups.sh.sample is 
nowhere to be found. Is this a ports build error or a documentation error?


i tried to 'deinstall/reinstall' cups, but that didn't help. 



Do you, by any chance, have /usr/local/etc/rc.d/cupsd ??

If so, the docs are wrong/outdated.

Kevin Kinsey
--
Q: What do you get when you cross a mobster with an international standard?
A: You get someone who makes you an offer that you can't understand!

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


Strange errors from BIND on FreeBSD 4.x system

2006-07-05 Thread Brett Glass
I'm working with a client's FreeBSD system (4.9 with patches) which 
is having trouble resolving certain domains but not others. When I 
try to execute the same queries using "dig", I see the error message


res_nsend: Protocol not supported

Via various search engines, I've seen hints that the problem may 
have something to do with IPV6 but no instructions as to how to 
resolve it. Can anyone explain what's wrong and how to fix it?


--Brett Glass

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


Freebsd 6.1 w/cups

2006-07-05 Thread Raymond Gibson
Hello, I'm trying to install an HP Photosmart printer using cups.

All the online documentation I've read tells me to mv cups.sh.sample 
int /usr/local/etc/rc.d/cups.sh. The problem i have is cups.sh.sample is 
nowhere to be found. Is this a ports build error or a documentation error?

i tried to 'deinstall/reinstall' cups, but that didn't help. 

any help would be appreciated.

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


Re: HP Officejet Printer

2006-07-05 Thread Kevin Kinsey

E. J. Cerejo wrote:
I'm running FBSD 6.1 release and just got a new printer 

> for my birthday, it's an HP Officejet 4315 all-in-one, I used to
> have an old HP Deskjet 842c and worked fine using apsfilter but I
> can't make this one print, I don't see any drivers for it using
> apsfilter either, is there a way to make this thing work?




Dunno if it helps, but I print to an HP 6110 all-in-one
with the ijs/DESKJET_930 driver and apsfilter with fairly
decent results.

Kevin Kinsey

--
: is not an identifier

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


Re: KDE & Text to Speech

2006-07-05 Thread John Nielsen
On Tuesday 04 July 2006 18:03, Gerard Seibert wrote:
> On Tuesday 04 July 2006 17:48, Danny Pansters wrote:
> > On Tuesday 04 July 2006 17:12, Gerard Seibert wrote:
> > > System Info:
> > > FreeBSD seibercom.net 6.1-STABLE FreeBSD 6.1-STABLE #0: Sat May 13
> > > 19:46:07 EDT 2006
> > > [EMAIL PROTECTED]:/usr/obj/usr/src/sys/SEIBERCOM i386
> > >
> > > I am not sure if this is the proper forum for this question or not, but
> > > I might as well start here.
> > >
> > > I am trying to get the KDE text to speech to work. I installed the
> > > 'festival' port and the 'festvox-aec' port. Everything seems to be OK,
> > > but no sound is emitted. The sound works fine on everything else. There
> > > are no error messages displayed so I do not know where to look to get
> > > this working.
> >
> > You probably need to install "voices", these are ports that start with
> > festvox-* and festlex-*. I've only played with it to the extend I had it
> > read slashdot and such, nothing really serious, but I also found that it
> > did nothing until I installed some synthesized voices.
>
> I installed one from the 'festvox-*' ports originally.. I will investigate
> the 'festlex-*' offerings now.

Also make sure you are setting the correct audio method. My ~/.festivalrc 
looks like this:

(Parameter.set 'Audio_Method 'freebsd16audio)
(voice_ked_diphone)

Change the voice to one you have installed and want to use as the default.

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


CVS Export truncate files ?

2006-07-05 Thread Ian Lord

Hi,

we use cvs for in house developpement of a php web site...

We use "cvs update to sync files", "cvs checkout" when a new employee 
need to work on the files, and "cvs export" when we push the changes 
to the production web site...


For some reason, we found that "cvs export" truncated a couple of 
files which caused parsing errors... I don't see any error message

While it's doing it, I see the following extract:

cvs export: Updating pub/class
U pub/class/class.session.cmd
cvs export: Updating pub/class/html2pdf
cvs export: Updating pub/class/html2pdf/cache
cvs export: Updating pub/class/html2pdf/classes

Is it normal that the class.session only has a "U" in front of the 
line instead of "cvs export: Updating"


Am I doing something wrong or is it some sort of bug/limitation with 
the cvs export function ?


Thanks

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


Re: FreeBSD for kids...

2006-07-05 Thread Jim Stapleton

I don't know of any. You could do a minimal install, install X + WM of
choice (probably one that dosn't add games), and thend add the
educational and math/sci related packages in ports? I think the
directories they are in are relatively limited, and so finding them
shouldn't be too hard.

-Jim Stapleton

On 7/5/06, Norberto Meijome <[EMAIL PROTECTED]> wrote:

Hi everyone,
Is anyone aware of any project based on FreeBSD similar to Edubuntu (Ubuntu
distro for kids) http://www.edubuntu.org/ ?

I want to dedicated some boxes @ home for the kids, but I would prefer to spend
time on BSD than tux.

thanks!!
Beto
___
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]"


FreeBSD for kids...

2006-07-05 Thread Norberto Meijome
Hi everyone,
Is anyone aware of any project based on FreeBSD similar to Edubuntu (Ubuntu
distro for kids) http://www.edubuntu.org/ ?

I want to dedicated some boxes @ home for the kids, but I would prefer to spend
time on BSD than tux.

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


Re: find syntax

2006-07-05 Thread Xian
On Tuesday 04 July 2006 08:59, dick hoogendijk wrote:
> I want to change a string in a number of html files (recursive)
>
> In a linux group I got this line:
>
> #find /dir/to/htmlfile -name *.html -exec perl -p -i -e
> "s/nagual.st/nagual.nl/g;" {} \;
>
> This gives me an error "unknown option" and does not work.
>
> Doing a: perl -p -i -e "s/nagual.st/nagual.nl/g;" * does make the changes
> alright, but going to all html directories this way is a pain in...;-)
>
> What am I doing wrong in the first (linux) line?
> Any help appreciated.

You could try puting single quotes (') round the *.html . Just a guess.

-- 
/Xian

"Reality is merely an illusion, albeit a very persistent one."
Albert Einstein
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Vim, system locale and digraphs

2006-07-05 Thread Richard Jones
I'm having fun and games getting vim to play nicely with my system
locale. It did once work, however I have no backup state to restore
from:

The problem: I cannot get vim to input and use both accented characters
and the euro symbol.

If I set encoding to latin1, it will happily input accented characters,
but not the euro symbol.

If I set encoding to iso-8859-15, it will happily input the euro symbol,
but not accented characters.

When I say input, I mean using the CTRL+K+digraph. Vim will happily
display all the symbols:

MM_CHARSET=ISO-8859-15
LANG=en_GB.ISO8859-15

Regards,

Richard Jones

-- 
Richard Jones
MSN: [EMAIL PROTECTED]
Y!M: rwkjones
http://www.jonze.com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Error: shared library "gtkglext-x11-1.0.2" does not exist

2006-07-05 Thread Yousef Raffah
On Wed, 2006-07-05 at 07:43 -0400, Lowell Gilbert wrote:
> Yousef Raffah <[EMAIL PROTECTED]> writes:
> 
> > Hi,
> >
> > I'm trying to install graphics/gnash with the firefox plugin but it
> > keeps on saying:
> > Error: shared library "gtkglext-x11-1.0.2" does not exist
> >
> > I tried to search the ports directory for gtkglext-x11 but I can't find
> > any
> 
> $ grep glext /usr/ports/graphics/gnash/Makefile
> LIB_DEPENDS+=   gtkglext-x11-1.0.0:${PORTSDIR}/x11-toolkits/gtkglext
> $

Thank you very much for concerning my issue but I have reinstalled
x11-toolkits/gtkglext and graphics/gnash keeps on saying:

 /usr/ports/graphics/gnash )
 --__-- make install clean
===>   gnash-0.7.1 depends on executable: gmake - found
===>   gnash-0.7.1 depends on file: /usr/local/bin/sdl11-config - found
===>   gnash-0.7.1 depends on file: /usr/local/bin/intltool-extract -
found
===>   gnash-0.7.1 depends on executable: pkg-config - found
===>   gnash-0.7.1 depends on shared library: png.5 - found
===>   gnash-0.7.1 depends on shared library: jpeg.9 - found
===>   gnash-0.7.1 depends on shared library: ogg.5 - found
===>   gnash-0.7.1 depends on shared library: gtkglext-x11-1.0.2 - not
found
===>Verifying install for gtkglext-x11-1.0.2
in /usr/ports/x11-toolkits/gtkglext
===>   Returning to build of gnash-0.7.1
Error: shared library "gtkglext-x11-1.0.2" does not exist
*** Error code 1

Stop in /usr/ports/graphics/gnash

What do you think I can do about it?


--
Sincerely,
Yousef Raffah
Senior Systems Administrator
--

Aren't you using Firefox? Get it at http://www.getfirefox.com




signature.asc
Description: This is a digitally signed message part


Re: maxusers -> kernel.maxfiles

2006-07-05 Thread Kevin Kinsey

Pietro Cerutti wrote:

Hi list,
today my home server stopped responding because of a "kern.maxfiles
limit exceeded" problem.

I noticed that the maxfiles MIB value was set to 1928, which I find
ridiculous even for a small home server ( i386-6.1-RELEASE, mySQL,
Apache, LDAP, Postfix, SSH, SFTP ).

On my laptop, which is running 6.1-STABLE, this defaults to 25000.

Reading [1] I discovered that this value is computed basing on the
value of maxusers, which is supposed to be in the kernel configuration
file.

Since I didn't set the maxusers option in my kernel conf, I was
expecting to find a default value somewhere, and here's where I
miserably fail...

So, could you please tell me:
1) where's the default for it?
2) how is the kern.maxfiles value exactly computed?



Warning, Pietro: IANAE.

2) Looks like (6-STABLE here) it's approximately
(kern.maxusers^5) ---  1) if you wish to set a different
value for kern.maxusers or kern.maxfiles, you do it in /boot/loader.conf.

You can see quite a bit about this in /boot/defaults/loader.conf.

HTH,

Kevin Kinsey

P.S.  The doc in the link you sent does seem a little confusing.
Might be worth discussion on the docs list?

--
One good thing about music,
Well, it helps you feel no pain.
So hit me with music;
Hit me with music now.
-- Bob Marley, Trenchtown Rock
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Problem with pkgdb

2006-07-05 Thread bsd

In order to solve the problem, I had to rebuild the ruby-bdb port.


Sincerly yours.


Le 4 juil. 06 à 18:19, jan gestre a écrit :




On 7/4/06, bsd <[EMAIL PROTECTED]> wrote: Hello,

I have a problem with pkgdb that I am not able to solve on my own.

root:newmail 10:26 /usr/ports/sysutils/portupgrade # pkgdb -fu
--->  Updating the pkgdb
[Rebuilding the pkgdb  in /var/db/pkg ...
uninitialized constant PkgDB::BDB: Cannot update the pkgdb!]

So far I have tried to reinstall couple of ports (portupgrade), but
that didn't solve anything.


Thanks for your support.


P.S . A solution was to use portmanager but I think I still need pkgdb
- is that correct ??

i had a similar problem regarding portupgrade, it corrupted the  
pkgdb, what i did was rename pkgdb.db to pkgdb.orig then run:


# pkgdb -fu

and everything went normal again



«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§

Gregober ---> PGP ID --> 0x1BA3C2FD
bsd @at@ todoo.biz

«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§




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


moving gvinum raid 5 volume between systems

2006-07-05 Thread Ian Jefferson
Could anyone offer some guidance on how under 6.1 I can move 3 gvinum  
disks from one system to another.


There is an old post

http://lists.freebsd.org/pipermail/freebsd-questions/2004-August/ 
054607.html


That covers pretty much what I am doing.  In my case I have 6.1 i386  
and 6.1 AMD64 versions of FreeBSD on one machine.  I'd like to be  
able to mount the same raid 5 set on either OS.


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


Re: maxusers -> kernel.maxfiles

2006-07-05 Thread Pietro Cerutti

Ups

On 7/5/06, Pietro Cerutti <[EMAIL PROTECTED]> wrote:


Reading [1] I discovered that this value is computed basing on the
value of maxusers, which is supposed to be in the kernel configuration
file.


[1] 
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/configtuning-kernel-limits.html


--
Pietro Cerutti
ICQ: 117293691
PGP: 0x9571F78E

- ASCII Ribbon Campaign -
against HTML e-mail and
proprietary attachments
  www.asciiribbon.org
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


maxusers -> kernel.maxfiles

2006-07-05 Thread Pietro Cerutti

Hi list,
today my home server stopped responding because of a "kern.maxfiles
limit exceeded" problem.

I noticed that the maxfiles MIB value was set to 1928, which I find
ridiculous even for a small home server ( i386-6.1-RELEASE, mySQL,
Apache, LDAP, Postfix, SSH, SFTP ).

On my laptop, which is running 6.1-STABLE, this defaults to 25000.

Reading [1] I discovered that this value is computed basing on the
value of maxusers, which is supposed to be in the kernel configuration
file.

Since I didn't set the maxusers option in my kernel conf, I was
expecting to find a default value somewhere, and here's where I
miserably fail...

So, could you please tell me:
1) where's the default for it?
2) how is the kern.maxfiles value exactly computed?

Thank you in advance,



--
Pietro Cerutti
ICQ: 117293691
PGP: 0x9571F78E

- ASCII Ribbon Campaign -
against HTML e-mail and
proprietary attachments
  www.asciiribbon.org
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: gvinum question: why are subdisks not attached?

2006-07-05 Thread Ian Jefferson

Howdy,

On Jun 26, 2006, at 9:39 AM, Travis H. wrote:


Hiya,

I finally resolved the source of my gvinum problems.  Every time I
reboot, the plexes and volumes come up attached to one another, but
both are size zero and the subdisks exist but are not attached.  Has
anyone a guess about the source of this problem?


One possibility is your partition type.  I'm not certain. (see below  
on my bsdlabel output sample)  I was working on a Raid5 configuration  
and finally did get it working.  I have a few suggestions.


One is to try to find to find old vinum documentation.  What finally  
brought clarity to me is looking at the vinum man pages from FreeBSD  
4.7.  It has a lot more information vinum(8), including a nice  
section on the config file format and examples.  Of course I could  
have just missed it (nope just checked again).


The second is to try marking your partitions as type vinum.

The third is to drop the slices since the configuration that worked  
for my Raid 5 set used just partitions no slices (see below).


The fourth is to move up to 6.1.  I did this during my struggles but  
I don't think that was my issue.  However 6.1 does have improved man  
pages :-), but not as good as the 4.7 pages.  You have to read both  
because gvinum doesn't implement the full vinum command set.  I  
*think* the config file is the same though.


# /dev/ad4:
# same as /dev/ad8 and /dev/ad10 for a Raid 5 3-disk system.
8 partitions:
#size   offsetfstype   [fsize bsize bps/cpg]
  a: 390721952   16unused0 0
  c: 3907219680unused0 0 # "raw"  
part, don't edit

  d: 209715200 vinum

Finally, enough people have been able to get/claim vinum success to  
make me believe it's OK.  There are two key issues in my mind.  I'll  
add that now that I found TFM I can RTFM.  ;-)


#1 it is a little fragile (ie not idiot proof enough yet for this hack)
#2 the documentation needs some work ... but that's kind of up to us  
now isn't it...


I think I owe Freebsd-docs a long post but I have another 20 hours of  
understanding and playing to do at least.  This is a great capability  
for small systems.  Frankly I'm a bit puzzled by geom and why the  
change was made from whatever it replaced.  Overall 6.x looks like a  
step backwards from a filesystem management perspective... maybe  
someone could comment on geom... perhaps a future enabler?


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


Re: Portupgrade ruby problem

2006-07-05 Thread bsd

I still have the same problem :

root 12:35 /var/db/pkg # portsdb -fuU
Updating the ports index ... Generating INDEX.tmp - please  
wait..Warning: Duplicate INDEX entry: djvulibre-nox11-3.5.17_1

Warning: Duplicate INDEX entry: ocaml-nox11-3.09.2
Warning: Duplicate INDEX entry: ploticus-nox11-2.32_1
Warning: Duplicate INDEX entry: cvsup-without-gui-16.1h_2
Warning: Duplicate INDEX entry: ghostscript-afpl-nox11-8.54,1
Warning: Duplicate INDEX entry: ghostscript-gnu-nox11-7.07_15
Warning: Duplicate INDEX entry: ghostscript-gpl-nox11-8.15_2
Warning: Duplicate INDEX entry: ssh2-nox11-3.2.9.1_5
Warning: Duplicate INDEX entry: mod_rpaf-0.5
Done.
done
[Updating the portsdb  in /usr/ports ... - 15079  
port entries found portsdb: uninitialized constant PortsDB::BDB:  
Cannot update the portsdb! (/usr/ports/INDEX-5.db)]



Any idea ?

Le 4 juil. 06 à 18:20, [EMAIL PROTECTED] a écrit :


On 7/3/06, bsd <[EMAIL PROTECTED]> wrote:

Mmmh...

I have followed your instructions and am still facing a problem :

root 0:34 ~ # portversion -l "<"
[Rebuilding the pkgdb  in /var/db/pkg ...
[Rebuilding the pkgdb  in /var/db/pkg ...
uninitialized constant PkgDB::BDB: Cannot update the pkgdb!]
Command failed [exit code 1]: /usr/local/sbin/pkgdb -aFQ

I can not rebuild the database using pkgdb -fu

root 0:37 ~ # pkgdb -fu
--->  Updating the pkgdb
[Rebuilding the pkgdb  in /var/db/pkg ...
uninitialized constant PkgDB::BDB: Cannot update the pkgdb!]


?? Any idea.


What worked for me:

rm /var/db/pkg/pkgdb.db && pkgdb -Ffu

I also had to run

portsdb -fu (or maybe it was -fuU, which takes a painfully
long time)

I hope this helps.

--
--



«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§

Gregober ---> PGP ID --> 0x1BA3C2FD
bsd @at@ todoo.biz

«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§




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


Re: Error: shared library "gtkglext-x11-1.0.2" does not exist

2006-07-05 Thread Lowell Gilbert
Yousef Raffah <[EMAIL PROTECTED]> writes:

> Hi,
>
> I'm trying to install graphics/gnash with the firefox plugin but it
> keeps on saying:
> Error: shared library "gtkglext-x11-1.0.2" does not exist
>
> I tried to search the ports directory for gtkglext-x11 but I can't find
> any

$ grep glext /usr/ports/graphics/gnash/Makefile
LIB_DEPENDS+=   gtkglext-x11-1.0.0:${PORTSDIR}/x11-toolkits/gtkglext
$
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Portupgrade

2006-07-05 Thread Gerard Seibert
On Wednesday 05 July 2006 03:21, Psadi wrote:
> HI
>
> This problem is that the /var/db/pkg/pkgdb.db has been damaged. What you
> need to do is to build a new pkgdb.db file
> First cd /var/db/pkg save the old pkgdb by
> mv pkgdb.db -> pkgdb.old
> then you run pkgdb -u
>
> after that you should be up and running again.
>
> Psadi
>
> jan gestre skrev:
> > On 7/3/06, Bill Moran <[EMAIL PROTECTED]> wrote:
> >> "E. J. Cerejo" <[EMAIL PROTECTED]> wrote:
> >>
> >>
> >> portupgrade itself I'm getting this message (message bellow) or
> >> similar one
> >> everytime I run one of the portupgrade commands like pkgdb -u or -F,
> >> portversion -L = or portupgrade itself.  Tells me that the database
> >> needs to
> >> be rebuild, I run portsdb -uU and I get this same error message (message
> >> bellow) it rebuilds with portsdb -fuU but still get this same message.
> >>
> >> /var/db/pkg/pkgdb.db: unexpected file type or format -- Invalid
> >> argument;
> >> rebuild needed] [Rebuilding the pkgdb  in
> >> /var/db/pkg ...
> >> [Updating the pkgdb  in /var/db/pkg ...
> >> /var/db/pkg/pkgdb.db: unexpected file type or format -- Invalid
> >> argument;
> >> rebuild needed] [Rebuilding the pkgdb  in
> >> /var/db/pkg ...
> >> /var/db/pkg/pkgdb.db: unexpected file type or format -- Invalid
> >> argument:
> >> Cannot update the pkgdb!]: Cannot update the pkgdb!]
> >>
> >>
> >> When was the last time you did a cvsup?
> >>
> >> Portupgrade was hosed for a few days there, if your ports tree
> >> previously
> >> installed the hosted version, portupgrade won't work.
> >>
> >> If this is the case, the solution is:
> >> 1) cvsup ports
> >> 2) pkg_delete portupgrade
> >> 3) cd /usr/ports/sysutils/portupgrade && make install clean
> >>
> >> Portupgrade will then start working again.
> >>
> >> i always do a cvsup before upgrading the ports but i got the same
> >> problem,
> >
> > pkg_delete did not work coz it can't see the portupgrade version that is
> > installed so i did a make deinstall and make reinstall instead but
> > with the
> > same result, any idea how will i solve this?
From: /usr/ports/UPDATING - THIS MIGHT BE PERTINENT -

20060703:
  AFFECTS: users of sysutils/portupgrade
  AUTHOR: [EMAIL PROTECTED]

  Because of portupgrade had a bug with detecting of Berkley DB version 2+,
  and a default database now set to use this version you can get portupgrade
  don't work with old databases. A quick fix is removing the databases:
  `rm /var/db/pkg/pkgdb.db /usr/ports/INDEX*.db'. portupgrade will recreate
  them automaticaly. It's absolutely no harm.

  If you don't want remove the databases you should detect what database
  type do you use, and set port options accordly. Follow the instructions:

  - run `pkgdb -fu' *before* upgrading and take a look on the output.
You can see database format there as: format:XXX, where XXX is your
current database format.
  - Go to portupgrade port directory and configure the port with
`make config' command. If you have bdb_* format then turn on BDB4 option,
if you have bdb1_* format then turn off BDB4 and turn on BDB1 option.
If you have dbd_hash format then turn off all option.
  - Upgrade portupgrade.

  Note: if you change database format with changing port options,
  you should remove ruby-bdb* port that you don't need anymore or to hard
  code database format in your pkgtools.conf.


-- 
Gerard Seibert
[EMAIL PROTECTED]

COMPASS [for the CDC-6000 series] is the sort of assembler
one expects from a corporation whose president codes in octal.

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


Re: Ports doubt, check network performance...?

2006-07-05 Thread Nikos Vassiliadis
On Wednesday 05 July 2006 02:01, perikillo wrote:
> On 7/4/06, Nikos Vassiliadis <[EMAIL PROTECTED]> wrote:
> > On Tuesday 04 July 2006 03:49, perikillo wrote:
> > >Hi people.
> > >
> > > I have some problems on my network, and i want to use my freebsd
> > > box to see if i can find the problems on my network, we have two
> > > networks in two countrys connected by a private link, but i have seen
> > > just a couple a weeks ago that we have some problems between both
> > > links, we are lossing packets if i ping some server on the other link,
> > > some times i get 36% of packets loss, is to but to much on bussines
> > > hours.
> >
> > 36% packet loss is very high, it will almost make TCP unusable.
> > ping is your tool. Use -s 500 to 1500 to simulate some-how real traffic
> > situation. I guess you have a point-to-point link between the two
> > offices, connected to a router? Do you administer these routers? Do know
> > your bandwidth utilization? Are you sure your link is OK? check this with
> > your service provider.
> >
> > Either you link is bad or you use all your available bandwidth.
> >
> > > I want to use my freebsd box running 6.0 but just want to know if
> > > some one could recomend me wich ports to check to see if i can find
> > > wich device is causing this problem.
> >
> > FreeBSD can not help you much with this. Unless FreeBSD is the router
> > in question. Or you could pass all traffic from a FreeBSD box in order to
> > know what's going on. something like this
> >
> > central-switch--FBSD--router-1=router-2
> > [LAN] [-WAN-]
>
>No i dont administer those routers, i need to check if the problem
> is our network or the ISP link, and yes is Point To Point link and
> talk with the guys that setup that router, but im thinking in put a
> freebsd box between our lan and the router and sniff all the traffic
> and see whats is happening but wich port to use...?

ntop can show how much bandwidth is used by whom
There are many available and I'm not sure ntop is the
best choice. There is pfSense which is a FreeBSD based
live-CD for router-like installations. pfSense has ntop
package. it won't hurt trying it out.

> , thanks all for 
> your help.
>
>Ethereal is for read packets but can he check wich one device is
> causing problems..?

device causing problems? Do you mean computer using
a lot of bandwidth? You can check this with ntop(and a thousand
others I guess, use google)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: HP Officejet Printer

2006-07-05 Thread dick hoogendijk
On 04 Jul Anish Mistry wrote:
> On Tuesday 04 July 2006 20:53, E. J. Cerejo wrote:
> > > Anish Mistry <[EMAIL PROTECTED]> escreveu: On Tuesday 04 
> July 2006 20:35, E. J. Cerejo wrote:
> > > > I'm running FBSD 6.1 release and just got a new printer for my
> > > > birthday, it's an HP Officejet 4315 all-in-one, I used to have
> > > > an old HP Deskjet 842c and worked fine using apsfilter but I
> > > > can't make this one print, I don't see any drivers for it using
> > > > apsfilter either, is there a way to make this thing work?
> > >
> > > print/hplip
> >
> > Installing it is easy but how do I have to do to make it work, what
> > files I have to configure?  Does it work using apsfilter?
> I missed the apsfilter part.  It uses cups.  You need to have the 
> printer attach as a ugen device, make the changes to devfs.rules in 
> the pkg-message and add the necessary lines to rc.conf to start it 
> all.

This printer works perfectly with apsfilter. The latter does /not/ need
cups (luckely imho) but works very well with the standard unix lpd.

Install apsfilter with "portinstall -rR apsfilter" and you'll be happy.
You can also go for cups, but make sure you read some installation papers
on the net very carefully. Google is your friend.

-- 
dick -- http://nagual.st/ -- PGP/GnuPG key: F86289CE
++ Running FreeBSD 6.1 +++ The Power to Serve
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: how to enable mod_ssl in apache 2.2

2006-07-05 Thread dick hoogendijk
On 04 Jul Gerard Seibert wrote:
> On Tuesday 04 July 2006 18:11, jan gestre wrote:
> > hi guys,
> >
> > how do i enable mod_ssl in apache 2.2 in my freebsd 6.1 box so that it
> > listens to port 443 instead of the default port 80? is there a special
> > command like the a2enmod ssl in debian?
> 
> I think you just change the 'Listen' directive in the httpd.conf file.

You can. But apache22 comes with a 'special' ssl conf file in the
/usr/local/etc/apache22/extra directory callen httpd-ssl.conf
The port mentioned in there is 443.

Don't forget to remove the # before the rule for this file in httpd.conf
itself, otherwise it won't be read ;-)

-- 
dick -- http://nagual.st/ -- PGP/GnuPG key: F86289CE
++ Running FreeBSD 6.1 +++ The Power to Serve
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Portupgrade

2006-07-05 Thread Psadi

HI

This problem is that the /var/db/pkg/pkgdb.db has been damaged. What you 
need to do is to build a new pkgdb.db file

First cd /var/db/pkg save the old pkgdb by
mv pkgdb.db -> pkgdb.old
then you run pkgdb -u

after that you should be up and running again.

Psadi

jan gestre skrev:

On 7/3/06, Bill Moran <[EMAIL PROTECTED]> wrote:


"E. J. Cerejo" <[EMAIL PROTECTED]> wrote:

> I'm running FreeBSD 6.1 release and after upgrading portupgrade using
portupgrade itself I'm getting this message (message bellow) or 
similar one

everytime I run one of the portupgrade commands like pkgdb -u or -F,
portversion -L = or portupgrade itself.  Tells me that the database 
needs to

be rebuild, I run portsdb -uU and I get this same error message (message
bellow) it rebuilds with portsdb -fuU but still get this same message.
>
> Error Message:
>
> [Updating the pkgdb  in /var/db/pkg ...
/var/db/pkg/pkgdb.db: unexpected file type or format -- Invalid 
argument;
rebuild needed] [Rebuilding the pkgdb  in 
/var/db/pkg ...

[Updating the pkgdb  in /var/db/pkg ...
/var/db/pkg/pkgdb.db: unexpected file type or format -- Invalid 
argument;
rebuild needed] [Rebuilding the pkgdb  in 
/var/db/pkg ...
/var/db/pkg/pkgdb.db: unexpected file type or format -- Invalid 
argument:

Cannot update the pkgdb!]: Cannot update the pkgdb!]
> Command failed [exit code 1]: /usr/local/sbin/pkgdb -aFQ
>
> any clues on how to solve this?

When was the last time you did a cvsup?

Portupgrade was hosed for a few days there, if your ports tree 
previously

installed the hosted version, portupgrade won't work.

If this is the case, the solution is:
1) cvsup ports
2) pkg_delete portupgrade
3) cd /usr/ports/sysutils/portupgrade && make install clean

Portupgrade will then start working again.

i always do a cvsup before upgrading the ports but i got the same 
problem,

pkg_delete did not work coz it can't see the portupgrade version that is
installed so i did a make deinstall and make reinstall instead but 
with the

same result, any idea how will i solve this?

TIA
___
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]"