Vinum and SoftUpdates

2003-09-16 Thread bsd
Hi folks. 

I have a few boxes which have recently begun to behave rather badly - 
frequent panics and lots of errors being spewed out during fsck on reboot.  
I note that these particular boxes have one thing in common - they have 
vinum devices which are also mounted with softupdates enabled. 

Is this OK?  I have not been able to find any mention of softupdates in the 
vinum man pages. 

Thanks for any pointers. 

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


Re: Vinum and SoftUpdates

2003-09-18 Thread bsd
Greg 'groggy' Lehey writes:
That's because there's nothing to say about them. 

What was the cause of the panic? 

Greg, 

Thanks for following up.  I realise my original post was rather scanty on 
detail, but I was just wondering about the specific combination of 
vinum/softupdates.  Since you indicate that this combination should not be a 
problem in itself, I will need to dig deeper. 

Unfortunately I have only heard about the problems on these servers after 
the fact.  I will need to rebuild their kernels with debugging, etc, as I 
did on my own box previously, and then wait for another crash and see what 
gdbmods reveals. 

I'll be in touch when I have something more useful in the way of clues. 

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


ipf - sample rulesets

2003-10-09 Thread bsd
Hi all. 

Are there any good references and/or sample ipf rulesets that I could use to 
look-and-learn from. 

I am quite familiar with ipfw, but I'm struggling with converting my 
thinking on issues like the setup and established keywords of ipfw. 

Thanks in advance for any pointers. 

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


Re: portupgrade -Fa

2003-10-13 Thread bsd
Alex de Kruijff writes: 

On Fri, Oct 10, 2003 at 01:29:40PM +0200, Patrick O'Reilly wrote:
The strange part is that on some of the servers the script works just
fine, and on others it runs, and emails me what looks like a job well
done, but the distfile has NOT been fetched.  When I then go to do the
actual upgrade, the distfile must first be fetched by portupgrade before
it proceeds to build.
There could be any number of problems that may be the cause of this. I
realy can't see that from here.  What you need to do is to do a check on
every machine that doesn't work. I find it best to go from where the
process begins and go all the way down to portupgrade. Try to find where
it goes wrong. It could be that the crontab is wrong or that portupgrade
isn't installed. 

Alex, 

thanks for your response. 

I've tried what you say before I sent the email.  What confuses me is that 
the script runs fine if I log in and run it at the CLI.  And it definitely 
runs from cron, because I get the email I am expecting, which is the output 
that would normally go to the terminal. 

So, the crontab is evidently active, and portupgrade is correctly installed 
and configured. 

But the actual fetch of the file simply does not happen if it is run from 
cron...  Yet, on other servers it all works fine... 

?!?!?!? 

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


Which Releases are stillsupported

2003-10-23 Thread bsd
Hi all. 

I know things are very different in the Open Source world, so the concept of 
officially supported versions is probably nonsense, but here's my dilemma: 

I received an email from Cyclades in which they told me:
I am sorry to tell you, but the latest FreeBSD version supported by our 
driver is version 4.4. The driver is not tested with newer FreeBSD versions 
and therefor we cannot support it. 

Now, since 4.4 was dated September 2001, it is now more than two years old.  
I keep my servers up to date (currently at 4.8-p13). 

So - my question - is 4.4 still a supported branch, or has it now been 
consigned to history?  I couldn't find any policy statement WRT older 
releases at freebsd.org, though I might have looked in the wrong places... 

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


Re: Which Releases arestillsupported

2003-10-23 Thread bsd
Kris Kennaway writes:
Most forms of support provided by the FreeBSD Project are on an ad-hoc
basis, since it's a community-supported project. 

Typically, old releases do not get bug fixes beyond security fixes
(for a limited lifetime, see http://www.freebsd.org/security), so bug
reports against old releases are usually dealt with by asking the
originator to upgrade to the latest release to verify whether the
problem still exists, at which point an interested developer might be
able to address the problem. 

A similar situation exists with the ports collection.  It is not
guaranteed to work with old releases, and updated packages are only
provided for the head of the -STABLE branch. 

Kris 

Thanks Kris. 

It's a pity that Cyclades are so focussed on Linux that they are ignoring 
BSD...  The fact that I have more than 10 of their devices (and I'm sure 
there must be many more in the field on BSD platforms) does not seem to 
concern them. 

One day when I'm big I'll learn some C and try including the if_cpc driver 
into the source tree. 

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


Re: Incomplete Ports

2004-03-23 Thread BSD
On Tue, Mar 23, 2004 at 08:41:51PM -0600, Pratt, Benjamin E. wrote:
 Hello, I'm working on creating a FreeSBIE CD as a new project of mine.  I'm running 
 FreeBSD 5.2.1-RELEASE-p3 #0: Thu Mar 18 20:46:44 CST 2004.
  
 I've been installing a bunch of different utilities so that I can get them on the CD 
 but I've run into a few that have incomplete ports. For example, 
 /usr/ports/sysutils/fileutils/ has just a README.html file in it.  I just ran cvsup 
 to update my ports tree and no change.  I checked at http://www.freebsd.org/ports/ 
 and could only search up to the 5.1-RELEASE ports tree.
  
 I've got a list of 18 ports that has only this README.html file so it doesn't seem 
 to be just a random occurance.

Not random. Those ports got moved/renamed/removed to something else. For
example, fileutils got renamed to coreutils. Look up those ports in
freshports.org to see what happened to them:

For fileutils:
  http://www.freshports.org/sysutils/fileutils

Just put the relative path of the port and prepend
http://www.freshports.org/ to it. Ie.,
  http://www.freshports.org/graphics/gimp1
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


5.2.1 Dell Power Edge 1400 install

2004-03-29 Thread bsd
Has anyone installed a 5.2.1 on a Dell Power Edge ?

From what I have read so far It seems ok with the 4.7 version

--  
http://66.102.9.104/search?q=cache:fT11f82O3U0J:prioris.mini.pw.edu.pl/ 
~gregory/FreeBSD/ 
delli386.html+freeBSD+dell+poweredge+1400hl=enie=UTF-8

But i have no echo on a 5.2.1 install

__
«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§
¯¯
Gregober --- PGP ID -- 0x1BA3C2FD
omni_osx_ml @at@ todoo.biz
__
«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§
¯¯
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


[OT] NTP related question

2003-01-14 Thread bsd
Hi all! 

I have my NTP server running on BSD - great! 

My Question: Any suggestions for a simple, light, free NTP client that will 
run on Win2k Workstations? 

Since this is somewhat Off-Topic, you may prefer to reply directly to me 
than adding more OT traffic to the list... 

Regards,
Patrick O'Reilly.
www.perimeter.co.za

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


Re: NTP related question - Answered

2003-01-15 Thread bsd
[EMAIL PROTECTED] writes: 

Hi all!  

I have my NTP server running on BSD - great!  

My Question: Any suggestions for a simple, light, free NTP client that 
will run on Win2k Workstations?  

As usual, thanks for the quick responses :)  I've decided to use automachron 
(it was real nice 'n easy) 

Regards,
Patrick.

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


Can I use GRE on a gif device?

2003-01-17 Thread bsd
Hi all. 

I have successfully configured a tunnel from a BSD box to a Cisco router 
using the gif device to implement the BSD end of the tunnel. 

The Cisco Technician doing the far end of the config said that the protocol 
of choice for the job is GRE (protocol 47 according to /etc/protocols).  
However, I found that gif is using IPENCAP (protocol 4 according to 
/etc/protocols).  Said technician told me that GRE encrypts the tunneled 
data, while IPENCAP does not. 

So I guess there are really 2 questions:
1) Would it be wiser for me to run a tunnel on GRE than on IPENCAP?
2) Is there a way to tell gif to use GRE as the encapsulation protocol? 

I find no reference to GRE in the gif man page. 

Regards,
Patrick O'Reilly.

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


Re: need help in setting up a demilitarized zone

2003-01-17 Thread bsd
Redmond Militante writes: 

hi all 

this gateway box is an dell optiplex gx150 pIII 930 mhz
with 128 mb of ram, 2 nics 

i would like this gateway box to protect our webserver,
our mysql server, and possibly another webserver. 
our webserver is a dual xeon dell poweredge 1650 with 2 gig of ram,
it gets sometimes more than 10 hits a day,
and is hooked up to a t100 line. 

will my little optiplex gateway box be able to keep up
with a webserver that's this busy? 

A PIII 930 can handle a LOT of traffic!  All it is doing is shuffling
packets - it should be ample for your needs!  And it has plenty RAM too. 

i know i at least have to replace the 3com 3c905b card on it,
as i'm pretty sure that that type of nic can't even handle a
t100 connection. 

For a DMZ you need 3 NICs.  You have an Intel NIC on-board(?), so why not
put 2 more new intel NICS in free PCI slots, and then you will be set. 

but - is the computer itself fast enough?

Plenty IMHO. 

Regards,
Patrick O'Reilly. 


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


Re: portupgrade of jasper-1.500.4 fails

2003-01-20 Thread BSD
There is actually a typo in the patch file for the jasper port. I've
already email the maintainer about it (Don't know if he's emailed me
back, as I've been having email issues since).

Edit
ports/graphics/jasper/files/patch-src-libjasper-include-jasper-jas_types.h
and change:

+typedef log long int_fast64_t;

To say:

+typedef long long int_fast64_t;




On Mon, Jan 20, 2003 at 08:32:42PM +, Stacey Roberts wrote:
 Hello,
 
 On Mon, 2003-01-20 at 14:59, Mike Meyer wrote:
  In 1043015655.51041.505.camel@localhost, Stacey Roberts 
[EMAIL PROTECTED] typed:
   Hello,
After a fresh cvsup of my ports tree, I tried to update
   jasper-1.500.4 using portupgrade, but it fails with errors below.
  
  The proper way to deal with port build failures is to first make sure
  you've got the latest version of the port. If you do and it still
  fails, do a make maintainer, and send the error report to the email
  address that this prints.
 
 Thanks for the reply.
 
 I am not attempting to *build* the port, but update via portupgrade
 (isn't that what its for?), which produced the failure.
 
 I *did* run make maintainer in that port's dir to obtain the
 maintainer's e-mail address - who is cc'd on this post. If posting to
 questions is not proper, then I apologize - however, I am not the only
 one that does this, and this is the first time I've ever encountered
 anyone having a problem  with this.
 
 Thanks anyways for taking the time.
 
 Regards,
 
 Stacey
 
  
  mike
 -- 
 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



Ports distribution in FreeBSD 5.0-RELEASE?

2003-01-25 Thread BSD
Hello,

  I couldn't find any answers to this in groups.google.com, so I thought
  I'd ask here. Installing FreeBSD 5.0-RELEASE on a new system via FTP,
  everything downloads fine, except for the ports distribution. I know I
  can always get it via cvsup after-the-fact, but was curious as to why
  it isn't available anymore through sysinstall/ftp?

  Thanks.

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



Re: Error installing Eclipse 2.1.1 port

2003-07-16 Thread BSD
On Wed, Jul 16, 2003 at 11:03:54PM +0200, Joachim Dagerot wrote:
 I get several errors when I'm trying to install the Eclipse 2.1.1 port
 but before I'm trying to dump the errorlog I just wanted to see if
 anyone has managed to install this port, or if there's any known bugs.

I've had no problems installing this port on my FreeBSD 5.1 system.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Virtual FreeBSD

2003-07-17 Thread BSD
On Thu, Jul 17, 2003 at 03:16:40PM -0700, Crist J. Clark wrote:
 Can anyone tell me exactly what Virtual FreeBSD is? If I Google the
 term, I get a whole bunch of help webpages from various web hosting
 outfits. What's spooky is all of the sites have the same content.
 That definately gives me the impression someone is selling a product
 called Virtual FreeBSD based off of, you guessed it, FreeBSD. I'm
 trying to figure out exactly what this Virtual FreeBSD is and how it
 differs from the vanilla FreeBSD.
 
 Unfortunately, any information about Virtual FreeBSD itself is being
 drowned out by the web hosters' help and marketing pages when I
 search. Anyone have any information or pointers? Like who is the
 vendor for a start?

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


Re: Error doing 'make installworld'

2003-07-19 Thread BSD
On Sat, Jul 19, 2003 at 03:21:27PM +0200, Juan Jos? S?nchez Mesa wrote:
 Hi!
 
 (sorry for my bad english)
 
 After an upgrade to 4.8-RELEASE from 4.7-RELEASE (using cvsup), when I do 
 the 'make installworld', I got this error:
 
 --
  Installing everything..
 --
 cd /usr/src; make -f Makefile.inc1 install
 === share/info
 === include
 creating osreldate.h from newvers.sh
 setvar PARAMFILE /usr/src/include/../sys/sys/param.h;  . 
 /usr/src/include/../sys/conf/newvers.sh;echo $COPYRIGHT  
 osreldate.h; echo #ifdef _KERNEL  
 osreldate.h;   echo '#error osreldate.h must not be used 
 in the kernel, use sys/param.h'  osreldate.h;  echo #else  
 osreldate.h; echo \#'undef 
 __FreeBSD_version'  osreldate.h;echo \#'define __FreeBSD_version' 
 $RELDATE  osreldate.h;  echo #endif  osreldate.h
 touch: not found
 *** Error code 127
 
 Stop in /usr/src/include.
 *** 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.
 gameserver1#
 
 
 The kernel compilation was ok, and the 'make buildworld' too. But this step 
 is wrong. Note the 'touch: not found' line, but 'touch' is installed and 
 working. This step is done is single user mode.
 
 This server is a new installation. First installed from a CD with 
 4.7-RELEASE and next upgraded to 4.8-RELEASE using cvsup.
 
 Output from 'uname -a':
 
 gameserver1# uname -a
 FreeBSD gameserver1.dobleJ.net 4.8-RELEASE FreeBSD 4.8-RELEASE #0: Wed Jul 
 16 23:22:18 CEST 
 2003 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GAMESERVER1  
 i386
 gameserver1#
 
 
 Any ideas ?

Check your system time/date. It will probably show that it is incorrect.
Correct it, then try your upgrade again, it should go through.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Sharing among jails

2003-07-26 Thread BSD
On Sat, Jul 26, 2003 at 11:29:06AM -0700, User KATRINA wrote:
 I was wondering if there's a way I can share my main /usr/ports directory
 with the jails I'm running.   I thought this would save me a LOT of space.
 I tried just the standard ln -s to the ports directory when I log into
 the jails and try to access the ports directory I get the following:
 
  cd ports
 ports: Too many levels of symbolic links.
 
 Is there a way I can share this directory with my jails.   Someone told me
 to try a hard link but I haven't been able to find the info on how to do
 this, (ln /usr/ports ports returns ln: /usr/ports/: Is a directory) and
 everyone else says not to use hard links at all.
 
 Whats the best way to go about sharing this directory with my jails?

IMHO, the best way would be to use mount_union or mount_null (I still
can't figure out what's the difference between them...) of the ports
directory. However, that said, I tried that myself about a year back,
and accesses in the jail caused my FreeBSD machine to lock up solid. So
I guess the warnings in the BUGS section of the mount_union and
mount_null man pages are still in full effect. I do wish these would
have gotten fixed though, they seem ideal for making jails (mounting
nullfs or unionfs on top of a template jail is so much more elegant than
making copies...)
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


/usr/ports/lang/ruby

2003-08-11 Thread bsd
Hi all. 

In my cvsup of the ports tree last night the ruby port went bye-bye. 

There are other ports which require it, most notably portupgrade. 

Of course, the pre-existing ruby is still installed, but I'm a bit confused 
about what the plans are, because right now portupgrade cannot even upgrade 
the ports it requires for itself 

Where should I go to find out what the plans are going forward, and how to 
keep my system ports current. 

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


Re: /usr/ports/lang/ruby

2003-08-14 Thread bsd
Kris Kennaway writes: 

And I'm curious about dependencies.  For example, portupgrade's own version 
has not changed, and 'pkg_info -r portupgrade*' still shows 
ruby-1.6.8.2003.04.19 as required. 
Yes, as it should.  The port has not been upgraded, it has only moved
location.  The next time it is upgraded, portupgrade will follow the
entry in the MOVED file to the new location, and everything will
continue to be just fine :) 

Kris
Aaahh! - she be very pretty! 

OK - so I should learn a little patience (like my mother always told me - 
something about a virtue.) and in due course the tango will be 
completed. 

Thanks for taking the time out for me Kris. 

Regards,
Patrick. 

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


Re: /usr/ports/lang/ruby

2003-08-14 Thread bsd
Kris Kennaway writes: 

On Fri, Aug 08, 2003 at 10:51:59AM +0200, [EMAIL PROTECTED] wrote:
Hi all.  

In my cvsup of the ports tree last night the ruby port went bye-bye. 
Sort of.  It moved locations (see the MOVED file). 

There are other ports which require it, most notably portupgrade. 
No, portupgrade now depends on ruby16 (or ruby18 on some
architectures).  There was however one port that was missed in the
change-over, which is currently causing INDEX builds to fail.  I
expect that to get fixed as soon as knu wakes up :) 

Kris
Thanks for your quick response Kris. 

OK, looking at /usr/ports/MOVED, I see a number of ruby* pieces have been 
moved. 

Is there an easy/correct method to use to migrate to a moved/renamed port.  
And I'm curious about dependencies.  For example, portupgrade's own version 
has not changed, and 'pkg_info -r portupgrade*' still shows 
ruby-1.6.8.2003.04.19 as required. 

My guess would be:
1) pkg_delete ruby-1.6.8.2003.04.19
2) cd /usr/ports/lang/ruby16 (or ruby18?)
3) make install 

But I could be way wrong here... :) 

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


IPMON Format ???

2003-09-11 Thread bsd
Hi all! 

A little help please with understanding the format of ipmon.log. 

I have entries like this (mind line-wrap):
===
Sep 11 14:52:46 fox ipmon[47]: 14:52:45.248487 2x ed1 @0:3 P 
196.23.158.10,25 - 196.22.178.91,26704 PR tcp len 20 40 -A K-S
OUT
=== 

I have been able to figure out what it all means by reference to man 
ipmon, except for the following two things: 

1) the 2x before the interface name (ed1).
2) the K-S right near the end of the line, before OUT. 

What do these two fields mean? 

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


Re: PHY drivers for Proliant ML370

2003-04-01 Thread bsd
James Long writes: 

On Mon, Mar 31, 2003 at 10:02:04PM +0200, Patrick O'Reilly wrote:
The 4.6 CD installs OK, but it does not recognise the on-board PHYs
Drop an Intel (fxp) NIC in there temporarily, install, cvsup sources, 
and update the OS to 4-STABLE.  I bet then it'll recognize the Broadcom, 
you can change /etc/rc.conf to initialize bge0 or whatever instead of 
fxp0, and then remove your Intel NIC. 

James, 

I'd love to - I just don't have any 64-bit PCI NIC cards lying about :(  The 
MoBo in this box has 5 or 6 PCI slots, but they are ALL 64-bit. 

I also noticed another poster raised the same problem a few days ago using 
4.7.  Do you know of a specific patch to the bge driver which is in -STABLE, 
or was this suggestion really just a best guess suggestion? 

BTW: my question sounds cheeky - but I mean it sincerely. 

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


Re: PHY drivers for Proliant ML370

2003-04-01 Thread bsd
David Landgren writes: 

You might be able to get away by downloading just a bootable floppy, and 
then switching to your kit?
OK - this is new territory for me. 

Can I boot off a 4.8 boot floppy and then start rebuild the box which still 
has a 4.6 world installed? 

Another thought - could I do this:
1) cvsup to 4.7-STABLE, or 4.8 on my PC
2) install a spare old HDD and tar the /usr/src tree onto that Disk
3) tranfer the spare HDD to the Proliant
4) tar from the spare HDD to the /usr/src tree on the Proliant
5) make (world and kernel, blah-blah) 

Then let the games begin... 

Any advice would be appreciated. 

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


Proposal to rename jail(8) to matrix(8)

2003-05-29 Thread BSD
Just kidding! Heh. Jail rocks, btw.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Apache - mod_perl - PostgreSQL

2003-06-03 Thread bsd
Hi all! 

I did the portupgrade of postgresql 7.3.2 - 7.3.3 this morning.  Since then 
my mod_perl web pages will not talk to the databases. 

It's wierd: 

1) postmaster is running, and I can manually psql and see the conent of the 
databases OK. 

2) Apache is running, and mod_perl is still good because the rest of the 
perl-generated page comes up fine. 

3) I can't track down any error messages in the apache logs. 

The SQL queries from perl just return empty results from the databases!  
When I manually run the identical query in psql it returns the correct 
results. 

Has anyone else had anything funny like this happen recently? 

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


Re: restrictive ipfw ruleset and ftp

2003-06-17 Thread bsd
Andrew Thomson writes: 

any suggestions would be great. 

i have a restrictive ipfw ruleset that works great.. it only allows
incoming connections that i allow and outgoing connections allow. i have
a list of ports that i let my users go out on: 80, 22, 143, 443 etc
etc.. 

All the stuff they might need to do. 

how can i handle passive ftp though? 

i can let 21 out, but when the remote ftp server says use this x high
port.. i block that because it's not in my list. so what can i do to get
around this. 

not totally familiar with it, but is this what fw_punch is for within
nat?? 

Personally, I have a pair of rules something similar to the following: 

ipfw add {n} allow tcp from ${inet}:${imask} 1024-65535 to any 1024-65535 
setup in via ${iif}
ipfw add {n} allow tcp from ${inet}:${imask} 1024-65535 to any 1024-65535 
setup out via ${oif} 

This is quite wide, but ensures that only outbound connections on the high 
port numbers are permitted, both on the source and the destination ends of 
the connection. 

Perhaps some real experts will give you a more definitive answer... 

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


Re: restrictive ipfw ruleset and ftp

2003-06-17 Thread bsd
Jaime writes: 

IIRC, FTP sends its replies on TCP port 20.  I can't recall if
that is port 20 on the remote or local host, though.  A little
experimentation and you'll probably figure it out.  (hint:  netstat -nf
inet)
That's true of non-passive mode connections (FTP server port 20 to FTP 
Client port 1024-65535), but I suspect the original poster is trying to 
permit passive mode connections. 

PS: does anyone know what the correct terminology for FTP's non-passive 
mode is?  I sometimes refer to active mode when talking FTP (because that 
term somehow got stuck in my head once upon a time), but I usually get some 
very curious/confused looks when I talk about active FTP...  :) 

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


natd[330]: failed to write packet back (Permission denied)

2003-06-18 Thread bsd
Hi folks. 

natd[330]: failed to write packet back (Permission denied) 

I've started seeing this message in /var/log/messages recently on one 
gateway server, and it is rather frequent, recurring about 4 times every 
minute. 

Obviously I am running ipfw and natd, and my ipfw ruleset does include use 
of some dummynet pipes.  Also, the box in question is still on 4.3-RELEASE, 
so if this is fixable by updating then that's what I'll do. 

Can anyone clue me in on the cause and perhaps a solution? 

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


Re: natd[330]: failed to write packet back (Permission denied)

2003-06-18 Thread bsd
Doron Shmaryahu writes: 

Hi, 

This happens when natd cant send a packet back to a host. Nothing really to
worry about. If it is happening all the time then start worrying. Could you
give a display of your ipfw ruleset ?? 

Thanks for replying Doron. 

Could it be that natd returns the packet to ipfw, and the ruleset has a 
deny further down?  Since the advent of Bugbear-B thre has been a lot of 
incoming netbious stuff (which I block, but only after natd has had a go at 
the packet).  Perhaps this is the cause? 

Anyway, this particular server's ruleset has grown organically over about 
2 years, so it is rather a mess.  I think I need to give it a spring clean, 
remove the crud, and see how it behaves.  I'll come back if I'm still having 
this problem after that. 

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


Re: Xfree86 Config Problems

2003-06-24 Thread bsd
Thanks for prompt reply, guys.  I enjoy this community, but hate the install.  

While I didn't mention it in my email, I did try this as well:
  # XFree86 -configure
And it didn't work.  Gave me X cursor in gray screen and could not get out.

As for checking for multiple config files, how would I know?  Where would I find them? 
What would I do with them all, just rm them?  What if I found more than one?  How do I 
know which one is being used?  Why so many config utils?  Why are there so many 
possible locations? 

This is my first install of BSD, and while I've installed Linux a dozen times, I don't 
know where to find things in BSD.  I'm overwhelmed and frustrated.  Please walk me 
through the steps before I give up on BSD.  

I wonder if my S3 Savage 2000 video card is supported, even though it was on the list. 
 I saw many posts about S3 problems, none with obvious solutions.  I could use the 
FreeBSD 5.1 Release if that would help.  I saw this link about S3 Savage at 
http://www.xfree86.org/support.html a private developer at  
http://www.probo.com/timr/savage40.html where he says:  xvideo on the Savage2000 
still seems to be broken. I don't know when I'll be able to get around to this. 

Thus far, the install process is overly complicated and not inviting to new users.  I 
could provide specific feedback on this if anyone wants it.


From Viktor Lazlo [EMAIL PROTECTED] on 23 Jun 2003:

 
 
 On Sun, 22 Jun 2003 [EMAIL PROTECTED] wrote:
 
http://cgisleve.tripod.com/bsd/xfreebad.html is a web page of this info.
 
  XFree86 Configuration Problems
  by Steve LeBlanc © 2003.6.22
  Installed FreeBSD for first time.  Text login was fine. NIC worked.
 Did a telnet and ftp to computers on the Internet. All seemed to work
 except for configuring XFree86. No screen found when I did startx. Below
 are the details:
 
  The full commented files: XF86Config.txt and XFreelog.txt
 
  Settings
  XFree86 Ver:4.2.1 
  Release Date: 3 September 2002
  OS: FreeBSD 5.0 RELEASE
  Video: S3 Savage2000 (generic) 64MB, 3D
  Monitor: Cornea MT1700 17 LCD H: 31.5-80, V: 56-75
 
 
  After install I tried both: xf86cfg -textmode and xf86config to
  reconfigure. I read the docs deeply and redid this 15 times, using the
  various command line tools. Each of the last 10 times, I typed in my
  settings and selected my Graphics card from the list. I just can't get
  startx to work. Below are my XF86Config file and my XFree log file,
 with comments removed.
 
  Fatal server error:
  no screens found
 
 Check the handbook:
 
 5.4.2 Configuring XFree86 4.X
 
Configuration of XFree86 4.X is a multi-step process. The first step
 
 is to build an initial configuration file with the -configure option to
 XFree86.   As the super user, simply run:
 
  # XFree86 -configure
 
 Cheers,
 
 Viktor


___
The FREE service that prevents junk email http://www.mailshell.com
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Ports Name changes

2003-06-30 Thread bsd
Hi all. 

Occasionally ports have their names changed (as happened yesterday with 
autoconf and automake).  Now when I run portupgrade I keep getting warnings 
that the names have changed, though there is no upgrade required. 

What steps should I follow to correct the names of my installed ports to 
match the latest names in the ports tree? 

would a portupgrade -f of each renamed port do the trick?  Or would that be 
like using a bulldozer to skim a bowl of custard? 

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


Re: how many bytes send out of my box?

2003-07-08 Thread BSD
On Tue, Jul 08, 2003 at 11:39:44AM +0100, Supote Leelasupphakorn wrote:
   Can I find out how many byte my box is
 send out via each ethernet interface?

netstat -ni

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


Re: Upgrading and dial up

2002-10-26 Thread bsd
On Sat, 26 Oct 2002, Earl Larsen wrote:

 I am on dial up. And I just got done downloading all 4 CDs. However I
 downloaded 4.6.2. And I do not want to wait forever to re down load the
 installation CD for FreeBSD. I was wondering if their is a way  to down load
 an ISO upgrade file. If I down load the mini install ISO file. Will it
 upgrade FreeBSD for me?

There isn't an upgrade ISO. But you can use cvsup to upgrade your system.
See here for more info:

http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/cutting-edge.html


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



Re: Installing things....

2002-10-22 Thread bsd
On Tue, 22 Oct 2002, John Wards wrote:

 Right I am compleatly new at installing things on FreeBSD

 I need to install Apache/MySQL and PHP on to my server. Are these things in
 Ports? and what are the commands to install these things?

Yes. They are.

ports/databases/mysql323-server
ports/www/apache13
ports/www/mod_php[4|3]


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



5.0-DP2 ACLs on UFS2

2002-11-25 Thread bsd
Hey all,

I've recently installed FreeBSD 5.0-DP2 to get myself familiar with the
upcoming ACLs present in -CURRENT before the release itself. I've setup a
test machine with one 45gb ide drive with one slice and two partitions (/
and swap) and installed FreeBSD on it.

dumpfs / shows that root is UFS2, and from reading
/usr/src/sys/ufs/ufs/README.acls, I don't need to do the extattrctl
initattr commands since ufs2 supports EA/ACLs natively. Additionally, I
booted to single user mode and enabled ACLS on / by doing a tunefs -a
enable /dev/ad0s1a. I proceeded to try getfacl and setfacl.

getfacl returned the default settings (just stat() in ACL form according
to Robert Watson), however, no matter what I tried all I could get with
setfacl -m g:mail:rwx testfile was:

setfacl: acl_get_file() failed: Operation not supported

I thought perhaps the tunefs on the ro mount of / did not take. So instead
I used the mount time flag in fstab:

/dev/ad0s1a   /   ufs   rw,acls   1  1

I rebooted, and tried again. Yet I still get the same error message with
setfacl. At this point I'm stuck. Is it because I only have / and not /
and /usr? Does UFS2 with EA/ACLs not work on boot partitions? Or did I
misunderstand something when trying to setup ACLs in -CURRENT? Any advice
right now would be welcomed. Thanks.



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



Re: Jail setup with mount_union?

2002-11-26 Thread bsd
Nevermind. I just tried a couple of jail setups with a base and a couple
of mount_union'd directories. My machine promptly locked up on loggin into
them with ssh. Bleh. And mount_null doesn't seem to be what I want, as I
want write access without affecting the lower layer. O'well.

On Tue, 26 Nov 2002 [EMAIL PROTECTED] wrote:

 I want to setup multiple jails with mount_union using a common base, but
 the warning on the bottom of the man page is severely limiting my
 consideration of its use. Is the warning on the bottom of that man page
 still valid? And are there other ways to setup a common base for jails?
 Perhaps mount_null? Thanks.




 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



rsync of /usr/ports on local lan?

2002-11-30 Thread bsd
Have a small network here of FreeBSD machines (-stable and -current). I
have on my production FreeBSD machine setup an rsyncd via xinetd, and
would like to rsync /usr/ports across to the other FreeBSD machines so I
wouldn't have to crontab cvsup on all of them (thus putting more load on
my limited bandwidth, and adding unnecessary load to the cvsup servers).
Things appear to be working. However, I'm currently running the rsync
commands on the client machines over ssh, which means I need ssh root
access, on top of which using public key encryption (so I can crontab the
rsync commands). Is there a better way to do this?

Thanks.

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



Bison

2003-02-28 Thread bsd
Hi all! 

I am trying to 'make' the bison port, but it keeps failing.  Has anyone 
experienced this problem? 

I have retried after cvsup every day this week, so - yes - my sources are up 
to date. 

Here's the last bit of the output:
=== 

Making all in doc
makeinfo --no-split   -I .  `test -f 'bison.texinfo' || echo 
'./'`bison.texinfo -o bison.info
bison.texinfo:37: Unknown command `copying'.
bison.texinfo:58: Unmatched [EMAIL PROTECTED]'.
bison.texinfo:93: Unknown command `insertcopying'.
makeinfo: Removing output file `bison.info' due to errors; use --force to 
preserve.
*** Error code 2 

Stop in /usr/ports/devel/bison/work/bison-1.75/doc.
*** Error code 1 

Stop in /usr/ports/devel/bison/work/bison-1.75.
*** Error code 1 

Stop in /usr/ports/devel/bison/work/bison-1.75.
*** Error code 1 

Stop in /usr/ports/devel/bison. 

 

Thanks,
Patrick O'Reilly.
To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


KDE Errors: signal 11

2003-03-18 Thread bsd
Hi all! 

I just got KDE 3.1 running after sorting out the nvidia driver, etc.  It 
seems to be OK, except for an Error I keep getting when closing various 
windows. 

Probably 80% or 90% of the time when I close a window, from simple apps like 
konsole and kedit, etc, I get an Error dialog box reporting that kill signal 
11 was received by the app I just closed. 

Does anyone know what I've done wrong to cause this behaviour? 

Regards,
Patrick O'Reilly.
To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


de-installing kde Xfree86 from 5.2.1

2005-01-31 Thread bsd
Hello,
I am looking for a fast and secure way to remove all kde* things from 
my system.

We are using this machine as a headless server and do not need this 
kind of things at all.
This is bothering me when I update de port tree and do my cvsup things.

ON THE OTHER HAND we absolutely need the deinstall not to compromise 
our server !!

Libraries used by other program must not be touched by the deinstall 
process as this is a quite busy mail server.

I was thinking about going into each directory in /usr/ports/... and 
making a make deinstall

Any other clue will be welcome !
__
«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§
¯¯
Grégory Bernard   11, rue de la Tour
Directeur 75116 Paris France
www.ToDoo.biz
__
«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§
¯¯
PGP ID -- 0x1BA3C2FD
All parts should go together without forcing. You must remember that 
the parts you are reassembling were disassembled by you. Therefore, if 
you can't get them together again, there must be a reason. By all 
means, do not use hammer. -- IBM maintenance manual, 1975

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


Problem with mknod for /dev/random = jailed bind configuration

2005-02-08 Thread bsd
Hello,
I've tried to configure a bind server in a chroot jail and am facing a 
problem with /dev/random
Thaugh I've read the man mknod I have to say that this didn't help me 
in solving the problem.

When I start named with the -g switch here are the error.
08-Feb-2005 15:18:22.551 errno2result.c:109: unexpected error:
08-Feb-2005 15:18:22.551 unable to convert errno to isc_result: 6: 
Device not configured
08-Feb-2005 15:18:22.551 could not open entropy source /dev/random: 
unexpected error
08-Feb-2005 15:18:22.551 using pre-chroot entropy source /dev/random
I've used the following mknod command :
mknod /var/named/dev/null c 2 2
mknod /var/named/dev/random c 2 3
and also tried :
mknod random c 245 0
mknod null c 2 2
I've chmod 666 the two files and make shure they are owned by bind:bind 
// ??

Any help will be welcome.

__
«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§
¯¯
Grégory Bernard   11, rue de la Tour
Directeur 75116 Paris France
www.ToDoo.biz tel : +(33) 1 40 26 43 14
__
«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§
¯¯
PGP ID -- 0x1BA3C2FD
All parts should go together without forcing. You must remember that 
the parts you are reassembling were disassembled by you. Therefore, if 
you can't get them together again, there must be a reason. By all 
means, do not use hammer. -- IBM maintenance manual, 1975

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


find command

2005-03-21 Thread bsd



Need find binary for FREE BSD 4.9 - REL p11

Need to place this command on a remote server for a cron script to function.

Please reply to  [EMAIL PROTECTED]   (Alan)

Thanks


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


Need find binary

2005-03-23 Thread bsd



-- On one of my web sites, that used to run Solaris 2.7 OS, I had a functional
cron script, mirroring a Solaris Server at home.

The web site was moved to a BSD Server, without access to  many binaries like 
find.
Can anyone tell me WHERE I can grab this one binary off a BSD system to ftp to
the new server?

Without it, my web server is reaching excessive disk quota and I cannot find
the offending files.

Please reply to freebsd-questions or directly to me at [EMAIL PROTECTED]
Thanks in advance
-

Need find binary for FREE BSD 4.9 - REL p11

Need to place this command on a remote server for a cron script to function.

Please reply to [EMAIL PROTECTED] (Alan)

Thanks 


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


Updating from RELENG_5_1_2_RELEASE to ... ??

2005-11-18 Thread bsd

Hello,



I am going to update one of my customer's server from  
RELENG_5_2_1_RELEASE to RELENG_5_3 or RELENG_5_4 or RELENG_5


Which version would you advise me ??


This is a mail server in production (postfix - amavisd -  
spamassassin) so It obviously needs stability.

There is no GUI (X11 or so).


Which version of the system should I stick to ??

What are the risks ?

Which long term policy would you advise me to get this server up and  
running as long as possible ?





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

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]


Fwd: Updating from RELENG_5_1_2_RELEASE to ... ??

2005-11-18 Thread bsd

Hello,



I am going to update one of my customer's server from  
RELENG_5_2_1_RELEASE to RELENG_5_3 or RELENG_5_4 or RELENG_5


Which version would you advise me ??


This is a mail server in production (postfix - amavisd -  
spamassassin) so It obviously needs stability.

There is no GUI (X11 or so).


Which version of the system should I stick to ??

What are the risks ?

Which long term policy would you advise me to get this server up and  
running as long as possible ?





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

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

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








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

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]


make index make fetchindex

2005-11-27 Thread bsd

Hello,


I have a little script that I run twice a week that updates my ports  
automatically.


I have quite often errors with the make index line because I have a  
refuse file to fasten the process of updating my server.


My question is : can I safely replace the make index by the a make  
fetchindex ?


What will be the main  differences if I do so ?

What are the risks ?




#!/bin/sh

if SERVER=`/usr/local/bin/fastest_cvsup -Q -c fr,fr`
then
echo Je fais tourner CVSUP
/usr/local/bin/cvsup -L1 -h $SERVER /root/cvs-supfile
else
echo Mmmh ! il y a un blem !! 12
exit 1
fi

#echo Je mets a jour docs
#cd /usr/docs
#make install

echo Je mets a jour l'index des ports
cd /usr/ports
make index

echo Les logiciels suivant necessitent une mise a jour : 
/usr/local/sbin/portversion -l 

#echo Je mets a jour les ports
#portupgrade -arR

echo 
echo J'ai fini pour le serveur newmail a `/bin/date`.
echo 
cat /var/log/upgrade.log | mail -s Portversion Newmail du `/bin/ 
date` gregober







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

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]


PowerEdge 2850 AMD64 panics

2005-12-07 Thread bsd
This is my first post to the FreeBSD mailing list, and unfortunatley its
because I've been having a vexing problem with one of my servers.

The machine in question is a Dell PowerEdge 2850 w/2 3Ghz EMT64 Xeons,
2gbs of ram, a Perc 4e/Di w/6 300GB drives.

This machines primary function is as a mail server running Exim.

Below is a DMESG from this machine.

This machine is running the AMD64 port of freebsd, and what is happening
is often when the volume of incoming mail gets pretty high, the machine
will panic and reboot. I have tried to capture a dump but it always fails
dumping before it completes, usually before its dumped more then 24MB. The
few times that I have seen the console when its happened the panic was
something to do with UFS. I have upgraded the bios and firmwares on
everything, and that increased the stability of the machine. I also turned
off soft updates on all the file systems, which also further increased
stability, however there is still a problem. Any
pointers/hints/tips/solutions would be greatly appreciated. Also, if more
information is needed let me know and I would be happy to provide it.

Thanks in advance for any help you may be able to give.

Stacy Anable
Rio Communications




The Regents of the University of California. All rights reserved.
FreeBSD 5.4-RELEASE-p7 #0: Thu Oct  6 11:13:54 PDT 2005
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/MAIL
Timecounter i8254 frequency 1193182 Hz quality 0
CPU: Intel(R) Xeon(TM) CPU 3.00GHz (2992.71-MHz K8-class CPU)
  Origin = GenuineIntel  Id = 0xf43  Stepping = 3
  
Features=0xbfebfbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE
Features2=0x641dSSE3,RSVD2,MON,DS_CPL,CNTX-ID,CX16,b14
  AMD Features=0x20100800SYSCALL,NX,LM
  Hyperthreading: 2 logical CPUs
real memory  = 2147221504 (2047 MB)
avail memory = 2064646144 (1969 MB)
ACPI APIC Table: DELL   PE BKC  
FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs
 cpu0 (BSP): APIC ID:  0
 cpu1 (AP): APIC ID:  1
 cpu2 (AP): APIC ID:  6
 cpu3 (AP): APIC ID:  7
ioapic0: Changing APIC ID to 8
ioapic1: Changing APIC ID to 9
ioapic1: WARNING: intbase 32 != expected base 24
ioapic2: Changing APIC ID to 10
ioapic2: WARNING: intbase 64 != expected base 56
ioapic3: Changing APIC ID to 11
ioapic3: WARNING: intbase 96 != expected base 88
ioapic0 Version 2.0 irqs 0-23 on motherboard
ioapic1 Version 2.0 irqs 32-55 on motherboard
ioapic2 Version 2.0 irqs 64-87 on motherboard
ioapic3 Version 2.0 irqs 96-119 on motherboard
acpi0: DELL PE BKC on motherboard
acpi0: Power Button (fixed)
Timecounter ACPI-fast frequency 3579545 Hz quality 1000
acpi_timer0: 24-bit timer at 3.579545MHz port 0x808-0x80b on acpi0 cpu0:
ACPI CPU on acpi0
cpu1: ACPI CPU on acpi0
cpu2: ACPI CPU on acpi0
cpu3: ACPI CPU on acpi0
pcib0: ACPI Host-PCI bridge port 0xcf8-0xcff on acpi0
pci0: ACPI PCI bus on pcib0
pcib1: ACPI PCI-PCI bridge at device 2.0 on pci0
pci1: ACPI PCI bus on pcib1
pcib2: ACPI PCI-PCI bridge at device 0.0 on pci1
pci2: ACPI PCI bus on pcib2
amr0: LSILogic MegaRAID 1.51 mem
0xdfec-0xdfef,0xd80f-0xd80f irq 46 at device 14.0 on pci2
amr0: LSILogic PERC 4e/Di Firmware 521S, BIOS H430, 256MB RAM
pcib3: ACPI PCI-PCI bridge at device 0.2 on pci1
pci3: ACPI PCI bus on pcib3
pcib4: ACPI PCI-PCI bridge at device 4.0 on pci0
pci4: ACPI PCI bus on pcib4
pcib5: ACPI PCI-PCI bridge at device 5.0 on pci0
pci5: ACPI PCI bus on pcib5
pcib6: ACPI PCI-PCI bridge at device 0.0 on pci5
pci6: ACPI PCI bus on pcib6
em0: Intel(R) PRO/1000 Network Connection, Version - 1.7.35 port
0xecc0-0xecff mem 0xdfbe-0xdfbf irq 64 at device 7.0 on pci6 em0:
Ethernet address: 00:14:22:10:4f:c2
em0:  Speed:N/A  Duplex:N/A
pcib7: ACPI PCI-PCI bridge at device 0.2 on pci5
pci7: ACPI PCI bus on pcib7
em1: Intel(R) PRO/1000 Network Connection, Version - 1.7.35 port
0xdcc0-0xdcff mem 0xdf9e-0xdf9f irq 65 at device 8.0 on pci7 em1:
Ethernet address:
em1:  Speed:N/A  Duplex:N/A
pcib8: ACPI PCI-PCI bridge at device 6.0 on pci0
pci8: ACPI PCI bus on pcib8
pcib9: ACPI PCI-PCI bridge at device 0.0 on pci8
pci9: ACPI PCI bus on pcib9
pcib10: ACPI PCI-PCI bridge at device 0.2 on pci8
pci10: ACPI PCI bus on pcib10
pci0: serial bus, USB at device 29.0 (no driver attached)
pcib11: ACPI PCI-PCI bridge at device 30.0 on pci0
pci11: ACPI PCI bus on pcib11
pci11: unknown at device 5.0 (no driver attached)
pci11: unknown at device 5.1 (no driver attached)
pci11: unknown at device 5.2 (no driver attached)
atapci0: SiI 0680 UDMA133 controller port
0xcc70-0xcc7f,0xccd0-0xccd3,0xccd8-0xccdf,0xcce4-0xcce7,0xccf0-0xccf7 irq
23 at device 6.0 on pci11
ata2: channel #0 on atapci0
ata3: channel #1 on atapci0
pci11: display, VGA at device 13.0 (no driver attached)
isab0: PCI-ISA bridge at device 31.0 on pci0
isa0: ISA bus on isab0
atapci1: Intel ICH5 UDMA100 controller port
0xfc00-0xfc0f,0x376,0x170-0x177,0x3f6,0x1f0-0x1f7 at device 31.1 on pci0
ata0: channel #0 on atapci1

Errors during make buildworld (5.4 to 6.0 upgrade)

2005-12-09 Thread bsd
While running make buildworld after a make cleanworld and make cleandir in
attempts to upgrade from 5.4 to 6.0, I cannot get around the following
error:

make: don't know how to make /usr/src/lib/libalias/alias.c. Stop
*** Error code 2

Stop in /usr/src/lib.
*** 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.

I followed the suggestions from
http://www.nabble.com/buildworld-failing-on-amd64-with-RELENG_6-t494383.html
and although going into the directory in question and building there
worked, then running make buildworld quit at the same spot.
The only other report I have seen suggested rm -rf /usr/obj/*
(http://lists.freebsd.org/pipermail/freebsd-amd64/2005-November/006615.html)
but that is part of what make cleanworld does so I didn't feel the need to
do it yet again.

Any suggestions and help is welcome.

Cheers,

BSDuser




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


Re: What is the meaning of following message

2006-03-13 Thread bsd
 I am getting the following message:

 inetd[624]: ssh/tcp: bind: Address already use

 Anyone could tell me what is the meaning of this message?

 Thanks,

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


Jeffrey,

It usually means that you have sshd set to run from /etc/rc.conf and from
inetd. Either comment out the line in /etc/rc.conf sshd=YES or if you
don't need inted comment that out.

Hope this helps

Rob

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


Re: where is mergemaster?

2006-03-13 Thread bsd

 --- Erik Norgaard [EMAIL PROTECTED] wrote:

 Peter wrote:
  Where can I find mergemaster?  I would like to upgrade my box.

 It should be in your path, but I have also had problems with my path
 not
 being set correctly in single user mode.

 That was exactly the problem.  I realized this when someone responded
 about it being at /sbin/mergemaster.


According to the manual this should work after rebooting with the -s option:

# fsck -p
# mount -u /
# mount -a -t ufs
# swapon -a

Rob

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


Re: something better then rsync for duplicating systems ... ?

2006-03-30 Thread bsd
 Unison? It's in ports.

 On 3/30/06, Marc G. Fournier [EMAIL PROTECTED] wrote:

 I have two servers, one of them a backup of the other ... right now, I'm
 using rsync to do it, but since rsync has to traverse both servers file
 systems to do its comparison, it puts a good load on the system, and
 takes
 awhile to run ...

 So, are there any better tools I could be using, instead of rsync?

 Thanks ...

 
 Marc G. Fournier   Hub.Org Networking Services

Snip

Snip

You may like to have a look at ggated - its in the ports.

Rob

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


Re: a few questions and concepts

2006-04-08 Thread bsd
 On Friday 07 April 2006 16:34, Giorgos Keramidas wrote:
 On 2006-04-07 15:54, Jonathan Horne [EMAIL PROTECTED] wrote:
  im still pretty new to freebsd.  ive been playing around with the
 cvsup
  tools, and they are quite fascinating.
 
  i changed my production server from Fedora to FreeBSD 6.0, about 1 day
  before the most recent sendmail exploit was published (well, published
 on
  freebsd.org anyway).

 Murphy at work, again, eh? :)

  i did download the patch and recompile it, but as some have also noted
  on this list, that it still banners as 8.13.4 when you telnet to it.
 
  so, the past couple of days, i have learned to cvsup my /usr/src
  directories.  ive just been using the standard copy of the
  stable-supfile. i have learned that if i perform the sendmail
 recompile
  after the cvsup, that it sendmail seems to proclaim 8.13.6 in the
 banner.
   on top of that, i have learned that if i recompile the kernel after
  cvsup, that it no longer says FreeBSD 6.0-RELEASE, but FreeBSD
  6.1-PRERELEASE.

 You are running RELENG_6 now, which is much more recent than
 RELENG_6_0_RELEASE.

 The first one is the top of the 6.X branch, which changes moderately
 slow, but it *does* change.  The 6.0-RELEASE source tree is frozen in
 time at the point the tag was placed on the source tree.

  my questions:
  1) after cvsup, i think i can assume that sendmail is now compiling
 from
  sourcecode that should definatly be free from the current exploit.  i
  would also assume that anything that i would need to recompile from
  /usr/src should also see the benefit of 'latest source code'?

 Yes, both true.

  2) on a production server, should i avoid recompiling a kernel that
 will
  be FreeBSD 6.1-PRERELEASE?  on the whole, how reliable is the bulk of
  these newer sources that were pulled down by cvsup?

 In general, if you a bit paranoid, you should avoid running RELENG_6 on
 a production system.  At least until you have thoroughly tested it on a
 test system and found everything working as expected.

  i can definatly see the benefits of using cvsup to take care of
  problem with some things (like sendmail), but allowing it to update
  everything under the /usr/src tree, im wondering if i could be setting
  myself up for issues (by not editing the stable-supfile and taking
  only what i need).

 This is why each FreeBSD release is associated with at least:

 * A frozen tag, like RELENG_6_0_RELEASE

 * A security branch, like RELENG_6_0

 * A stable branch, like RELENG_6

 Changes go very fast in the CURRENT FreeBSD branch.  After they settle
 in for a while, soem of them are backported to the RELENG_X branch.  The
 RELENG_X branch changes much slower than the experimental, CURRENT
 branch, but it does change every time a new feature is backported to
 RELENG_X.

 Then, when security fixes are made available, they are added both to the
 RELENG_X branch and the RELENG_X_Y security branches.

 If all you want is the frozen release sources plus changes that are
 really really necessary, because they fix a serious security bug, you
 probably want RELENG_X_Y (RELENG_6_0 in this case).

 Regards,
 Giorgos

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

 thank you kindly for your reply, that was quite informative.  ive actually
 read the document on the differences between the stable, current, and
 release
 (or whatever), and find that system quite confusing for the moment.   im
 sure
 ill grasp the method of the madness eventually.  i guess what confuses me,
 is
 that i read about those, and then try to find them on the ftp sites.  i
 assume, that only release is made into a .iso file?  and to move to a
 higher
 version (either the security RELENG_6_0 or stable RELENG_6), you do this
 thru
 the cvsup tool.

Yes, as far as I can tell that is correct, it confused me at first. The
iso image is the latest release for each branch.


 so, by your descriptions and reply to my previous comments, my system that
 is
 running what says 6.1-PRERELEASE is really RELENG_6 (stable) ?


Again correct. Don't forget 'stable' is not that stable it is a snapshot
of 'current' that is stable enough to be released.

 thanks,
 Jonathan Horne

The other confusing this is that the tags only realy refer to the
'userland' ie the core system. The ports get updated as and when.

On the system I am currently working on which will be a production server,
I don't whant too much change when in prodction so I am following the 6.0
branch at present (RELENG_6_0). I have portaudit installed which tells me
what ports have been updated through security issues and I can decide if I
need to update them. Apart from that I will probably leave it alone.

Hope this helps

Rob


___
freebsd-questions@freebsd.org mailing list

Checksum mismatch patch 010 bash-3.1.16

2006-04-18 Thread bsd

Hello,

I am trying to upgrade my version of bash ---  Upgrading  
'bash-3.1.10_1' to 'bash-3.1.16' (shells/bash)


I have a checksum mismatch for patch 010 of the package :

= MD5 Checksum mismatch for bash/bash31-010.
= SHA256 Checksum mismatch for bash/bash31-010.


** Listing the failed packages (*:skipped / !:failed)
! shells/bash (bash-3.1.10_1)   (checksum mismatch)


Here is my distinfo file :


MD5 (bash/bash-3.1.tar.gz) = ef5304c4b22aaa5088972c792ed45d72
SHA256 (bash/bash-3.1.tar.gz) =  
d6952b2c38f9bf417559dd3b071860e1099ddfb8a12c0228f22afaf47f79d3b9

SIZE (bash/bash-3.1.tar.gz) = 2533934
MD5 (bash/bash31-001) = c0d33bdfed6e4e6a9ae9200b77cd5c99
SHA256 (bash/bash31-001) =  
3b6d9151ca7a45dbcf43ebd1c6a647ef90c4b8eb54a245936fd6ffadc61fe727

SIZE (bash/bash31-001) = 2708
MD5 (bash/bash31-002) = 0c9be3bad344d04b79c4eac9eb39624c
SHA256 (bash/bash31-002) =  
ecd248b1ca027368dae967502af5b280198fa3ee8d6a0210677789658f08

SIZE (bash/bash31-002) = 7169
MD5 (bash/bash31-003) = 04750485f335972f7a980a1bfe048dba
SHA256 (bash/bash31-003) =  
96cb8a42162a5876b2392b76fbfc78d073f50735e1e8a14e67e03b6e9c2b215d

SIZE (bash/bash31-003) = 1324
MD5 (bash/bash31-004) = 0c2856794ab16a4c224223c1964140c2
SHA256 (bash/bash31-004) =  
a50ecd3f51e9a79f34855c68c61c9523fccb66da0870eade936cc1f64ba04415

SIZE (bash/bash31-004) = 1470
MD5 (bash/bash31-005) = 943233d7227071fa040c8b9eb016fa0c
SHA256 (bash/bash31-005) =  
3b057498f01cb2b528a154b9043261cb059846b23222409f7de95a7971dc6664

SIZE (bash/bash31-005) = 1322
MD5 (bash/bash31-006) = 68a41a9da7c669b4358837d06556a06f
SHA256 (bash/bash31-006) =  
d155030ed49de27812d9ae01211283f7afe5e718ea4ed9babe1f121d25acf778

SIZE (bash/bash31-006) = 1561
MD5 (bash/bash31-007) = f6ca4950256fefd88d49c5702338e501
SHA256 (bash/bash31-007) =  
fa89a6c808490e07cd7350ecb3390ce0ae6dc71d634c61c62991aafab97962c4

SIZE (bash/bash31-007) = 3254
MD5 (bash/bash31-008) = 4fd01140cb5875fe020939aab02791f0
SHA256 (bash/bash31-008) =  
c30fe9da56261c7100c5b6794d4341b6b1fb6aa0ecc25b1010ac4ac25b07d1c7

SIZE (bash/bash31-008) = 1422
MD5 (bash/bash31-009) = 37aad0d5aa57881742ec6419faf9e480
SHA256 (bash/bash31-009) =  
cfdc6dd92d0f47988ee59e2a26e8e62a87558e03908a26ee33dd0394228ac255

SIZE (bash/bash31-009) = 2000
MD5 (bash/bash31-010) = 91c52d2a51d41d4b6907758952aa0554
SHA256 (bash/bash31-010) =  
7ba8186d5e7de76c5b4e7c8905ad82b3d7cf459141eedc4ebcc6a0ca3b23cfc4

SIZE (bash/bash31-010) = 5218
MD5 (bash/bash31-011) = 37ace691fc4bd386fb764b5f53cde4a1
SHA256 (bash/bash31-011) =  
09cfa96d03b4a12bb85687e61797214222e188c4002f51962dffa51ab12ed998

SIZE (bash/bash31-011) = 1462
MD5 (bash/bash31-012) = cd5d17f0729a6da39a60039f2730e408
SHA256 (bash/bash31-012) =  
b28bf4a491658879c43d4150cf0be1c48db97a594b6657c1cdeceabc226b8231

SIZE (bash/bash31-012) = 1212
MD5 (bash/bash31-013) = 31317d6a80bed2eb9b6fd3d12d304259
SHA256 (bash/bash31-013) =  
8b9a49bd03994f789198269c80b544b04e9056973bd75f843c05e40873c97088

SIZE (bash/bash31-013) = 1133
MD5 (bash/bash31-014) = 7f4aef181659265d822c48e774834975
SHA256 (bash/bash31-014) =  
48086c8572efebfab3535dfbd4767d95eaf98e7dcb7d1dd13698a16ab0580319

SIZE (bash/bash31-014) = 2818
MD5 (bash/bash31-015) = 1c05456b278235f578009b8fb2454a9a
SHA256 (bash/bash31-015) =  
3070548adf1c6ce481000b6bb96db7511637d6aef52276fe2f83e2bcb078865c

SIZE (bash/bash31-015) = 3089
MD5 (bash/bash31-016) = fbc981edfff97a0940487937db3fb202
SHA256 (bash/bash31-016) =  
2438b71c7fadf2971141e6854d317804e143d86eefd6d7b4479d62afd385ebad

SIZE (bash/bash31-016) = 1295
MD5 (bash/FAQ) = IGNORE
SHA256 (bash/FAQ) = IGNORE



Any idea ?


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

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: Bind as a chaching nameserver

2006-04-26 Thread bsd
 Hello,

 I've recently been getting a lot of trouble with SpamAssassin performing
 a lot of rDNS lookups which is causing network issues (timeouts etc to
 DNS servers).

 I am trying to install BIND (or djbdns) as a simple caching nameserver.
 Just to take some of the load off the networks DNS servers (my ISPs).

 However I am having trouble finding a good tutorial to follow.

 I've looked at
 http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/network-dns.html
 but its mainly going on about being a nameserver which is not what I am
 after, wanting to keep it more simple than that.

 [EMAIL PROTECTED]:/usr/local/etc] $ named -v
 BIND 9.3.1

 Can anyone suggest me a good tutorial to follow, I've googled but mostly
 they are for debain/redhat and some of the commands and files are
 different.

 Cheers
 Richard

Richard,

What you need is a caching DNS. See para 25.6.7. If you don't use
forwarders this will bypass your ISPs DNS.

There are other solutions too, try Google for them.

Rob

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


Cron script redirection (probably stderr problem ?)

2006-01-18 Thread bsd

Hello,

I am using a little cron script to update my server that calls  
portsnap. Once this is done there is another piece of script that  
tells me which port(s) is to be updated with a simple call to a  
script that mainly execute portversion -l  and mail me the output  
of the command.



There is one little problem with that script :

Cron mails me (root) each time this output (probably because it comes  
from standerr ?) :


[Updating the portsdb format:bdb1_btree in /usr/ports ... - 14011  
port entries found . 
1000.2000.3000.4000.5000.6000. 
 
7000.8000.9000.1.11000.120 
00.13000.14000 . done]



The cron script is executed as follow :

0 3 * * * /usr/local/sbin/portsnap cron  /usr/local/sbin/portsnap - 
I update  /root/src/upgrade.sh  /var/log/upgrade.log



I've tried to add a 21 at the end of the script :

0 3 * * * /usr/local/sbin/portsnap cron  /usr/local/sbin/portsnap - 
I update  /root/src/upgrade.sh  /var/log/upgrade.log 21



But this does not seem to change my problem.

Any help ?



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

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: SATA Raid

2006-02-15 Thread bsd
From a little 1U server I am using : Promise PDC20371 SATA150  
controller


All the best : driver are setup in the card so you can upgrade your  
system without any problem.
You'll probably have to compile driver before uploading them to the  
card...


Or http://www.lsilogic.com/products/megaraid/sata_150_4.html

Drivers are available for FreeBSD.


Le 11 févr. 06 à 04:35, Robert Uzzi a écrit :


Anyone know of any of the cheaper SATA raid cards that work well under
FreeBSD. I'd love to go get a 3ware but they are fairly pricey.





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

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: WinSCP mega-slowness

2006-02-20 Thread bsd
 Well, it's good to know I'm not the only one seing this. Right now both
 machines are running FreeBSD, since I gave up on waiting for Windows to
 copy
 the files.  The CPU load on Window when sending  1 meg per second is
 usually
 about 30%, while the Unix box is only at 1-2%.  When I have 2 Unix boxes
 sending/receiving, I think the load is like 4-5% on both.  I'm building a
 bunch of packages right now, so I can't get the exact number.  I could try
 the openssh patch later in the week, that would be great if there was a
 unix-side fix for this. Of course as I run FreeBSD more, and Windows less,
 the problem will go away, too.

 thanks!



 On 2/20/06, Andrew Pantyukhin [EMAIL PROTECTED] wrote:

 On 2/20/06, Xn Nooby [EMAIL PROTECTED] wrote:
  For about a year I have noticed that whenever my Windows boxes talk to
 my
  Unix boxes, they communicate at about 1/10 normal speed. I copy lots
 (300GB)
  of large files back and forth between machines as I try different
 OS's,
 and
  I always see this.
 
  Specifically, if I copy from FreeBSD to FreeBSD, files transfer at 11
 megs
  per second.  Between FreeBSD and Linux, at about 8 megs per
 second.  Between
  FreeBSD and Windows, about 1 megabyte per second.  This is on
 identical
  hardware.  I've told other people about this, and they usually say I
 must be
  doing something wrong, but recently a friend of mine upgraded a
 Windows
 box
  to SP2, and now they are getting this same slowness.  When I copy from
  Windows to WIndows (XP or W2k), I get 11 megs per second.
 
  My machines are two P4's with gigabit NICs, and I'm using WinSCP and
  (somtimes) pscp.exe on WIndows to talk to sshd on FreeBSD.  It's
 always
 a
  shock when I have to copy my data to WIndows, and it takes 30 hours
 instead
  of 3.
 
  Does anyone else ever see this slowness when copying files between
 FreeBSD
  and Windows?
 
  Is Windows maybe capping the transfer speed when it talks to Unix?
  ___
  freebsd-questions@freebsd.org mailing list
  http://lists.freebsd.org/mailman/listinfo/freebsd-questions
  To unsubscribe, send any mail to 
 [EMAIL PROTECTED]
 

 It is very certainly a known issue. Not that its specifics and
 origins are clearly known, but most of us stumble upon it
 sooner or later. You can usually achieve wire speed only
 between two OSes of a kind. TCP/IP optimizations are
 very important here: if they differ, performance plummets.
 Depends on a multitude of things from quality of NICs to
 weather in your area. I've never been able to get more
 than 70Mbit/s between FreeBSD and Windows XP. I
 always get 90-100Mbit/s between two BSDs or two Win's.

 As for your case, 1MB/s is a serious limit. What can you
 tell us about CPU load? Interrupts? Can you try this:
 http://www.psc.edu/networking/projects/hpn-ssh/


If you have both the XP and FreeBSD machines on the same internal network,
why not enable file sharing on the XP box and use Samba Client on the
freeBSD box. I have found SMB to be a lot faster as it is running as a
service on XP.


Rob

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


Re: Multiple DNS

2006-02-20 Thread bsd


Le 19 févr. 06 à 08:46, Robert Slade a écrit :


Hi,

I am looking for some advice. I have a network which is based on a
number of servers running FreeBsd 6.0 serving Win XP work stations.  
(yes

I know but..) The network is large enough to use DHCP and DNS for the
internal network, I have setup a DHCP server with a Dynamic DNS  
(Bind 9)

on one of the servers. That server is handling the LDAP side of the
domain.



Is your DNS server busy resolving internal requests or external ones ?

There appears to be a fair bit of DNS Traffic which leads to a  
secondary
DNS being required to take some of the load as DNS lookup are slow.  
The

question I have is should I just setup a cashing DNS on another server
using the primary as a forwarder or even several servers eg the mail
server and the secondary LDAP server, or should I setup a proper
secondary DNS using my ISP as a forwarder with dynamic updates from  
the

primary.



You should not forward anything to your ISP. This is probably the  
main reason for your DNS beeing slow.


You should make shure you have well defined your network in your conf  
(so that you don't resolve queries for outside users...)-
I would not advise you to forward any queries to your ISP as this  
will disable the capacity for your own server to build It's own  
resolver database and forward all the queries to the ISP (resulting  
in slow answers)!



Normaly you should configure the master and the slave to be  
authoritative for your internal domains.
And configure the master and the slave to resolve ALL the Internet  
domains for your internal network and none for outside domains.



DNS is very tightly related to network... And we don't have any clue  
for the topology of your Net.



SHORT ANSWER : DON'T FORWARD -- BUILD YOUR OWN DATABASE!!



Sorry if this is a bit vague, but I have no experience in this area.

Rob


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



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

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]


Strange messages from daily report

2006-02-22 Thread bsd
I 've received these message in my daily report and was wondering  
what was their meaning ?



srv23.xxx.fr kernel log messages:


Timecounter ACPI-fast frequency 3579545 Hz quality 1000
Timecounter TSC frequency 2992513943 Hz quality 800





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

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: Multiple DNS

2006-02-22 Thread bsd

 Le 19 févr. 06 à 08:46, Robert Slade a écrit :

 Hi,

 I am looking for some advice. I have a network which is based on a
 number of servers running FreeBsd 6.0 serving Win XP work stations.
 (yes
 I know but..) The network is large enough to use DHCP and DNS for the
 internal network, I have setup a DHCP server with a Dynamic DNS
 (Bind 9)
 on one of the servers. That server is handling the LDAP side of the
 domain.


 Is your DNS server busy resolving internal requests or external ones ?

Mostly external from what I can ascertain, it looks like the mail server
(Qmail) doing lookups.

 There appears to be a fair bit of DNS Traffic which leads to a
 secondary
 DNS being required to take some of the load as DNS lookup are slow.
 The
 question I have is should I just setup a cashing DNS on another server
 using the primary as a forwarder or even several servers eg the mail
 server and the secondary LDAP server, or should I setup a proper
 secondary DNS using my ISP as a forwarder with dynamic updates from
 the
 primary.


 You should not forward anything to your ISP. This is probably the
 main reason for your DNS beeing slow.

 You should make shure you have well defined your network in your conf
 (so that you don't resolve queries for outside users...)-
 I would not advise you to forward any queries to your ISP as this
 will disable the capacity for your own server to build It's own
 resolver database and forward all the queries to the ISP (resulting
 in slow answers)!

I've now taken out the forwarders.



 Normaly you should configure the master and the slave to be
 authoritative for your internal domains.
 And configure the master and the slave to resolve ALL the Internet
 domains for your internal network and none for outside domains.

That is how I have setup the master, it only answer's queries from the
internal network.


 DNS is very tightly related to network... And we don't have any clue
 for the topology of your Net.


 SHORT ANSWER : DON'T FORWARD -- BUILD YOUR OWN DATABASE!!


 Sorry if this is a bit vague, but I have no experience in this area.

 Rob



Thanks for the info, it has helped me. I had misunderstood the forwarders
bit.

Many thanks

Rob

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


Kernel Panic (obelix)

2003-12-10 Thread bsd
Hi folks! 

I have had two kernel panics in quick succession, after being stable for 6 
months.  Strange 

The box is quite up to date on the 4 Stable branch: 

# uname -v
FreeBSD 4.9-RELEASE-p1 #0: Fri Nov 28 09:49:42 SAST 2003
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/obelix 

Suddenly it has crashed twice in less than 8 hours.  The last crash was Dec 
9 16:09. 

I have put a stack trace from gdb at 
http://docs.perimeter.co.za/crash/2003-12/20031209_1609_a. 

Any pointers would be much appreciated. 

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


Re: Kernel Panic (obelix)

2003-12-10 Thread bsd
As expected - it crashed again today at 14:21... 

Stack trace at http://docs.perimeter.co.za/crash/2003-12/20031210_1421_a. 

HHeeeppp !:) 

Regards,
Patrick. 

[EMAIL PROTECTED] writes: 

Hi folks!  

I have had two kernel panics in quick succession, after being stable for 6 
months.  Strange  

The box is quite up to date on the 4 Stable branch:  

# uname -v
FreeBSD 4.9-RELEASE-p1 #0: Fri Nov 28 09:49:42 SAST 2003
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/obelix  

Suddenly it has crashed twice in less than 8 hours.  The last crash was 
Dec 9 16:09.  

I have put a stack trace from gdb at 
http://docs.perimeter.co.za/crash/2003-12/20031209_1609_a.  

Any pointers would be much appreciated.  

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


IPF: Apparent packet duplication logged by IPF

2004-01-05 Thread bsd
Hi all. 

I am having a strange situation with IPF.  I am trying to log all passed 
packets (the log is passed to a third-party stats program for graphical 
analysis). 

The problem is that I see many packets apparently being duplicated in the 
ipmon.log.  The packet enters the firewall from the internal interface OK, 
but it appears to be transmitted out to the internet twice.  Conversely, 
there are often multiple inbound packets from the internet which become just 
one on the internal interface. 

See these two examples (beware of line-wrap):
1) Internet to LAN
09:30:00.508378 2x ed1 @0:21 P 196.35.72.139,443 - 192.168.0.180,1277 PR 
tcp len 20 296 -AP K-S IN
09:30:00.509446 hdlc5 @0:21 P 196.35.72.139,443 - 192.168.0.180,1277 PR tcp 
len 20 296 -AP K-S OUT 

2) LAN to internet (168.209.221.66 is my NAT address)
09:30:00.616102 hdlc5 @0:21 P 192.168.0.180,1277 - 196.35.72.139,443 PR tcp 
len 20 40 -A K-S IN
09:30:00.616188 ed1 @0:21 P 168.209.221.66,1277 - 196.35.72.139,443 PR tcp 
len 20 40 -A K-S OUT
09:30:00.616275 ed1 @0:21 P 168.209.221.66,1277 - 196.35.72.139,443 PR tcp 
len 20 40 -A K-S OUT 

I don't believe the packets are ACTUALLY being resent twice, because the 
stats I have under MRTG indicate matching traffic volumes on the 
corresponding interfaces.  I suspect the issue has something to do with how 
IPF and IPMON log the packets.  But I'm not sure. 

Any help in understanding/fixing this would be greatly appreciated. 

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


Re: A jail?

2004-01-08 Thread BSD
On Thu, Jan 08, 2004 at 06:07:35PM -0800, Rishi Chopra wrote:
 Simply trying to install postgresql - the message I included is what the 
 system prints out when installing from the ports collection.
 
 Andrew L. Gould wrote:

Er, what directory were you in when you did the make install? The only
port that produces the message below is ports/emulators/linux_base,
which is definately not a dependency of postgresql, nor of any of its
dependents.

 On Thursday 08 January 2004 06:13 pm, Rishi Chopra wrote:
  
 
 While installing postgres I get the following:
 
 
 You need to create the null device in your jailed Linux environment. Run
 this
 outside the jail, then press enter:
 
 mkdir -m 0755 -p Jail root dir/dev
 rm -f Jail root dir//compat/linux/dev/null
 mknod Jail root dir//compat/linux/dev/null c 2 2
 chmod 666 Jail root dir//compat/linux/dev/null
 
 
 Do I HAVE to make a jail? I was just going to run the postgresql port on
 my FreeBSD box, sans-condom.  The box only has one user and there are no
 security concerns to speak of.
 
 -R

 
 
 PostgreSQL is available via the FreeBSD ports system.  It does not require 
 a jail or linux emulation.
 
 What are you trying to do?
 
 Andrew Gould
 
 
  
 
 
 ___
 [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]


RELENG_5_3 // RELENG_5_3_RELEASE

2005-06-23 Thread bsd

Hi,


I have configured my new BSD server with a RELENG_5_3 tag in the cvs- 
supfile and I was wondering if I took the right track to update my  
system.


So far I have only compiled and installed the updated ports that I  
need (in /usr/ports).


Since I have switched to the 5_3 instead of 5_3_RELEASE, do I have to  
do more updates for my system. I guess that the patched software that  
have been released since the 5_3_RELEASE are included in the 5_3 and  
that I have to install them somehow.


So my question is how ?


I guess that this is happening in /usr/src and that I have to make  
something…


Have you got a specific pointer of the steps I have to take to update  
It properly.



Do you think this is a good idea to stick to 5_3 instead of  
5_3_RELEASE for a production system (mail server) ?




Thanks for your advices.


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

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]


Pthread Problem building clamav-0.86.1

2005-06-26 Thread bsd

Hello,

I have built on my test machine the latest version of clamav and I am  
facing a pthread build problem.


My system is FreeBSD 5.2.1 //

I ain't no C programmer (unfortunately) so any help will be welcome.

Another question is how can I get back to the previous version that  
was installed (and working) on the system ?



Sincerly yours;



===  Building for clamav-0.86.1
make  all-recursive
Making all in libclamav
Making all in clamscan
/bin/sh /usr/local/bin/libtool15 --mode=link cc  -O -pipe - 
mcpu=pentiumpro   -L/usr/local/lib  -lc_r -lldap -o clamscan   
output.o getopt.o  memory.o cfgparser.o misc.o  clamscan.o options.o  
others.o  manager.o treewalk.o  ../libclamav/libclamav.la
cc -O -pipe -mcpu=pentiumpro -o .libs/clamscan output.o getopt.o  
memory.o cfgparser.o misc.o clamscan.o options.o others.o manager.o  
treewalk.o  -L/usr/local/lib ../libclamav/.libs/libclamav.so -lldap - 
lbz2 -lgmp -lcurl -lssl -lcrypto -lz -Wl,--rpath -Wl,/usr/local/lib
../libclamav/.libs/libclamav.so: undefined reference to  
`pthread_cleanup_pop'

../libclamav/.libs/libclamav.so: undefined reference to `pthread_create'
../libclamav/.libs/libclamav.so: undefined reference to  
`pthread_cleanup_push'

../libclamav/.libs/libclamav.so: undefined reference to `pthread_join'
*** Error code 1

Stop in /usr/ports/security/clamav/work/clamav-0.86.1/clamscan.
*** Error code 1

Stop in /usr/ports/security/clamav/work/clamav-0.86.1.
*** Error code 1

Stop in /usr/ports/security/clamav/work/clamav-0.86.1.
*** Error code 1

Stop in /usr/ports/security/clamav.
*** Error code 1

Stop in /usr/ports/security/clamav.



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

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: Pthread Problem building clamav-0.86.1

2005-06-27 Thread bsd

Nope,

The simple answer is to compile clamav with the disable-pthreads  
option. Modify the configure args of the Makefile using these  
attributes :


CONFIGURE_ARGS= --with-dbdir=${DBDIR} \
--with-zlib=/usr \
--disable-zlib-vcheck \
--disable-clamuko \
--disable-clamav \
--enable-bigstack \
--disable-gethostbyname_r \
--enable-readdir_r \
--disable-dependency-tracking \
--disable-pthreads


It'll compile smoothly.

Thanks to Matt Fretwell from clamav Mailing List //


Le 26 juin 05 à 21:43, Craig Kleski a écrit :


On Sunday 26 June 2005 09:45 pm, bsd wrote:


Hello,

I have built on my test machine the latest version of clamav and I am
facing a pthread build problem.

My system is FreeBSD 5.2.1 //

I ain't no C programmer (unfortunately) so any help will be welcome.

Another question is how can I get back to the previous version that
was installed (and working) on the system ?


Sincerly yours;



===  Building for clamav-0.86.1
make  all-recursive
Making all in libclamav
Making all in clamscan
/bin/sh /usr/local/bin/libtool15 --mode=link cc  -O -pipe -
mcpu=pentiumpro   -L/usr/local/lib  -lc_r -lldap -o clamscan
output.o getopt.o  memory.o cfgparser.o misc.o  clamscan.o options.o
others.o  manager.o treewalk.o  ../libclamav/libclamav.la
cc -O -pipe -mcpu=pentiumpro -o .libs/clamscan output.o getopt.o
memory.o cfgparser.o misc.o clamscan.o options.o others.o manager.o
treewalk.o  -L/usr/local/lib ../libclamav/.libs/libclamav.so -lldap -
lbz2 -lgmp -lcurl -lssl -lcrypto -lz -Wl,--rpath -Wl,/usr/local/lib
../libclamav/.libs/libclamav.so: undefined reference to
`pthread_cleanup_pop'
../libclamav/.libs/libclamav.so: undefined reference to
`pthread_create' ../libclamav/.libs/libclamav.so: undefined reference
to
`pthread_cleanup_push'
../libclamav/.libs/libclamav.so: undefined reference to
`pthread_join' *** Error code 1

Stop in /usr/ports/security/clamav/work/clamav-0.86.1/clamscan.
*** Error code 1

Stop in /usr/ports/security/clamav/work/clamav-0.86.1.
*** Error code 1

Stop in /usr/ports/security/clamav/work/clamav-0.86.1.
*** Error code 1

Stop in /usr/ports/security/clamav.
*** Error code 1

Stop in /usr/ports/security/clamav.



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

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]



Possible solution: alter the Makefile LDFLAGS by adding -lpthread
Then try the build again.

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





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


Refuse file for cvs sync.

2005-06-29 Thread bsd

Hello,

I have just configured a refuse file for my mail server, I was  
wondering if the format of my file is ok...


doc/bn_*
doc/da_*
doc/de_*
doc/el_*
doc/es_*
doc/it_*
doc/ja_*
doc/nl_*
doc/no_*
doc/pl_*
doc/pt_*
doc/ru_*
doc/sr_*
doc/tr_*
doc/zh_*
ports/arabic*
ports/astro*
ports/audio*
ports/biology*
ports/chinese*
ports/games*
ports/german*
ports/hebrew*
ports/hungarian*
ports/japanese*
ports/korean*
ports/polish*
ports/portuguese*
ports/russian*
ports/x11*
www/de*
www/es*
www/it*
www/ja*
www/nl*
www/pt*
www/ru*
www/tr*
www/zh*
data/es*
data/ja*
data/ru*
data/zh*
www/data/es*
www/data/ja*
www/data/ru*
www/data/zh*
src/share/doc/es*
src/share/doc/ja*
src/share/doc/ru*
src/share/doc/zh*

And the second thing is that I would like to erase the ports that are  
not needed (the one that are in the refuse file).


My question is : will this be done automatically last time I cvsup -  
or do I have to do smthg special ?




Thanks for your answers.





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

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]


Using unix mail with maildir format

2005-06-29 Thread bsd

Hello,


Does anyone know if there is a way to read mail with unix mail  
program?


I've been using this program since couple of years and I am quite  
happy with It…

I can't seem to find a shortcut to have It read maildir format…



Thanks.






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

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]


Installing FreeBSD on NEC Express5800/120Ef

2005-06-30 Thread bsd

Has anyone successfully installed FreeBSD 5.x on a NEC Express5800/120Ef

Thanks for your answer and experience.



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

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]


Using unix mail with maildir format

2005-07-04 Thread bsd

Hello,


Does anyone know if there is a way to read mail with unix mail  
program?


I've been using this program since couple of years and I am quite  
happy with It…

I can't seem to find a shortcut to have It read maildir format…



Thanks.






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

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]


Problem updating apache 2.1.x via port

2005-07-06 Thread bsd
 or directory
find: /usr/local/include/apr-1/apu_version.h: No such file or  
directory

find: /usr/local/include/apr-1/apu_want.h: No such file or directory
*** Error code 1

Stop in /usr/ports/www/apache21/work/httpd-2.1.4-alpha/server.
*** Error code 1

Stop in /usr/ports/www/apache21/work/httpd-2.1.4-alpha/server.
*** Error code 1

Stop in /usr/ports/www/apache21/work/httpd-2.1.4-alpha.
*** Error code 1

Stop in /usr/ports/www/apache21.
*** Error code 1

Stop in /usr/ports/www/apache21.
** Command failed [exit code 1]: /usr/bin/script -qa /tmp/ 
portupgrade50638.44 make reinstall

egrep: /var/db/pkg/apache-2.1.3/+CONTENTS: No such file or directory
---  Restoring the old version




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

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]


scripting text replacement

2008-11-08 Thread bsd
Sorry for this cross posting, but I can not find a good bash mailing  
list…
I am certain FreeBSD gurus will provide me with a fast and reliable  
answer to this little question.



Here is the deal:
-


I have a file containing a list of items like that:

line1item1 line1item2 line1item3
line2item1 line2item2 line2item3
…400 times

I need to insert this into another text file using printf() items  
should be converted into variable looping… like that:


printf Bla bla bla $1 bla bla $2 bla bla $3 bla bla $2


The main thing is that I can not get $1 $2 $3 to correspond to  
line1item1 line1item2 line1item3



Any good idea or example will be welcome.



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


P Please consider your environmental responsibility before printing  
this e-mail



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


Delay startup of services in rc.conf || elswhere

2008-11-18 Thread bsd

Hello,


I have a server configured to start 10 services at startup (in /etc/ 
rc.conf)


Unfortunately, the startup of MySQL seems to be returning ok before  
It actually has started completely the program… the next program rely  
on MySQL and does not start well because the database is not fully  
started.


I would like to introduce something like a sleep 10 timer in the  
service startup process…



How can I do that?



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


P Please consider your environmental responsibility before printing  
this e-mail



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


7.0-RELEASE-p6 problem amd64 daemonology

2008-11-25 Thread bsd
Hello I have updated my server (Intel Modular server) using the  
classical


# freebsd-update install


And I am now facing very weired issues only on amd64 servers I am  
maintaining.
Servers boots and then freezes when It launch ipfilter. This is not  
a low level freeze, simply all access to the server are disabled.


- Single user boot does not work.
- SSH access does not work either.


These servers were working perfectly before this update…

---

What would you suggest to get out of this situation…

1. Rollback to the 7.0-RELEASE-p5 which was stable and worked well.
-- If so how can I access the server knowing that single user mode  
does not work?
-- Can you describe me the stages I would have to go through - I am  
not very used to this kind of situations.


2. Deactivate ipfilter (is there a way to do that at boot time without  
editing /etc/rc.conf ) ?


3. Deactivate all services at boot time (is there a way of bypassing  
at boot time the rc.conf file) ?



Thanks for your support.



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


P Please consider your environmental responsibility before printing  
this e-mail



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


Re: 7.0-RELEASE-p6 problem amd64 daemonology

2008-11-25 Thread bsd

Hello,


I think you all deserve a clear information about what has been going  
on today.


After the update of all servers to P-6 - the server could not be  
booted normaly - in fact they did boot but after that they didn't get  
back with the prompt… So I ended up in a dead end.


As I was working last weeks with the engineers that helped me setup  
the hardware (and as Intel didn't have a right guideline specifying  
that TCP ports needed to be opened) - I have ended up mofidying a  
little parameter in /boot/loader.conf that was aimed to redirect the  
console to vidconsole  comconsole.


This little parameter seems to have caused a conflict with the KVM of  
intel which probably uses the same redirect or blocked us from  
receiving the output (even from ssh).



It took me quite a long time to figure out what was going on as I  
suspected other problems to have happened. This has all the symptoms  
of a system freeze, but services were launched (at least some of them)…


I have found the solution by booting using a low level prompt that has  
allowed me to pass the parameter set console=comconsole and all went  
back to normal.




Quite firghtening, but finaly armless.

Le 25 nov. 08 à 16:27, bsd a écrit :

Hello I have updated my server (Intel Modular server) using the  
classical


# freebsd-update install


And I am now facing very weired issues only on amd64 servers I am  
maintaining.
Servers boots and then freezes when It launch ipfilter. This is  
not a low level freeze, simply all access to the server are disabled.


- Single user boot does not work.
- SSH access does not work either.


These servers were working perfectly before this update…

---

What would you suggest to get out of this situation…

1. Rollback to the 7.0-RELEASE-p5 which was stable and worked well.
-- If so how can I access the server knowing that single user mode  
does not work?
-- Can you describe me the stages I would have to go through - I am  
not very used to this kind of situations.


2. Deactivate ipfilter (is there a way to do that at boot time  
without editing /etc/rc.conf ) ?


3. Deactivate all services at boot time (is there a way of bypassing  
at boot time the rc.conf file) ?



Thanks for your support.



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


P Please consider your environmental responsibility before printing  
this e-mail



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




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


P Please consider your environmental responsibility before printing  
this e-mail



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


reinstall all p5 installed ports with portmaster

2009-01-15 Thread bsd

Hello,

I was looking for an efficient way to reinstall (recompile due to an  
update in the perl port) all installed p5 ports…


I have done that manually, but I am certain there is a better way to  
do that…



I have tried:

# portmaster -rdf p5-


But that didn't work as I had to re-install all ports…



Thanks for your help.




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


P Please consider your environmental responsibility before printing  
this e-mail



___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: reinstall all p5 installed ports with portmaster [solved]

2009-01-15 Thread bsd


Le 15 janv. 09 à 12:19, Herbert J. Skuhra a écrit :


2009/1/15 bsd b...@todoo.biz:

Hello,

I was looking for an efficient way to reinstall (recompile due to  
an update

in the perl port) all installed p5 ports…


Have you tried perl-after-upgrade? See UPDATING and man page.


No…

That's exactly what I was looking for…
Works perfectly.




I have done that manually, but I am certain there is a better way  
to do

that…


I have tried:

# portmaster -rdf p5-


But that didn't work as I had to re-install all ports…


Have you tried portmaster without -rf ?


Yes, but no success…




- Herbert
___



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


P Please consider your environmental responsibility before printing  
this e-mail



___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Backup program on FreeBSD for DLT drive

2009-01-22 Thread bsd

Hello,


I am using a FreeBSD server 7.0 as a Samba server and wanted to backup  
this server using Quantum DLT tape.


I would need a simple tool that could be configured rapidl at that's  
stable enough to provide high security for the data.

Ideally any good pointer to a howto would be a must!


Thanks for your support.



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


P Please consider your environmental responsibility before printing  
this e-mail



___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: questions named.conf

2009-01-22 Thread bsd

Well,

I use this:

logging {
channel syslog_errors { syslog daemon; severity info; };
channel file_log {
file /var/log/dns.log versions 3 size 10m;
severity dynamic;
print-category no;
print-severity yes;
print-time yes;
};
category default { file_log; syslog_errors; };
category lame-servers { null; };
};


;;

Maybe you should add a category default statement…



Le 22 janv. 09 à 10:37, GanGan a écrit :


first question :

for have log i add this in my named.conf

logging {
   category resolver { debug; };
   category client { debug; };
   category queries { debug; };
   channel debug {
   file /var/log/named/named.log versions 2 size 50m;
   print-time yes;
   print-category yes;
   };
   };

It's good ? because my named.log is empty



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


P Please consider your environmental responsibility before printing  
this e-mail



___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Backup program on FreeBSD for DLT drive

2009-01-22 Thread bsd
Well I have installed It but I find It quite confusing to configure…  
so I have just stopped;

The problem is that I don't have a lot of time to really get into it…


Did you use any good pointer or just take time to learn It the  
standard way… ??


I found It quite hard to configure to tell the truth!


Le 22 janv. 09 à 20:51, Stephen Corbesero a écrit :


I used to use Amanda on a small FreeBSD RAID server that used a single
DLT drive.  It held up pretty well.




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


P Please consider your environmental responsibility before printing  
this e-mail



___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Backup program on FreeBSD for DLT drive

2009-01-22 Thread bsd

Yes,

This is probably the one I'll go for…
There is a good hack described in the O'Reilly BSD hacks to setup  
Bacula…


I'll consider this article as a starting point…



Thank you very much folks.


Le 23 janv. 09 à 04:21, Geoff Fritz a écrit :


On Thu, Jan 22, 2009 at 08:30:56PM +0100, bsd wrote:

Hello,


I am using a FreeBSD server 7.0 as a Samba server and wanted to  
backup

this server using Quantum DLT tape.

I would need a simple tool that could be configured rapidl at that's
stable enough to provide high security for the data.
Ideally any good pointer to a howto would be a must!


I've had success with Bacula for a small office file server  
(FreeBSD) and
Windows clients clients.  It supports SSL for the data transfer (if  
the
client and server are not the same machine), as well as data  
encryption:


http://www.bacula.org/en/dev-manual/Data_Encryption.html

I haven't used the encryption myself.  Bacula has a bit of a  
learning curve
to set up corretly, but I really enjoy its use once it it set up  
correctly.


-- Geoff



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


P Please consider your environmental responsibility before printing  
this e-mail



___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


APC PowerChute on FBSD

2009-01-30 Thread bsd

Hello,

I am trying to see if someone has already configured an APC PowerChute  
software on FreeBSD.


There is a linux version, I was just wondering how to set It up on BSD  
and if anyone has successfully installed such soft…


I have installed a BSD box in Angola in unstable electrical  
conditions, and I am afraid the server will be rebooted the hard way  
quite often (without any warning) if I don't use this kind of soft…




Thanks for your help.



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


P Please consider your environmental responsibility before printing  
this e-mail



___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Power off and network apcupsd

2009-02-04 Thread bsd

Hello,


I would like to know if this is possible to keep the network during a  
shutdown as describe and explained below for a Linux system.


How could we do that?

This will be used in a procedure to shutdown the UPS and the system  
after a Power Failure has been detected. Any experience with that will  
be of high interest to me.


---

You may need to take steps to ensure networking stays active during  
your
OS’s shutdown sequence in order for the PCNET driver to power off  
the
UPS (the so-called ”killpower” operation). On a Linux distro, you  
can use

commands such as...

chkconfig --level 0 network on
chkconfig --level 0 iptables on




¯ 
¯ 
¯ 
¯ 
¯ 
¯ 
¯ 
¯ 
¯ 
¯ 
¯ 
¯ 


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



P Please consider your environmental responsibility before printing  
this e-mail



___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Login local2 to a log file

2009-03-06 Thread bsd

Hello,

How can I log messages sent to local2 to a given log file ?
Which file do I have to update in order to achieve that?


Thanks for your support.



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


P Please consider your environmental responsibility before printing  
this e-mail



___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: FreeBSD and UPS

2009-03-06 Thread bsd

Yes !

There is a very good soft called apcupsd.

I am working in Angola and have had a lot of problems with  
electricity // until I have discovered this soft.
It works perfectly with the apc network card (It came as an option on  
my APC 1500).


I have setup apcupsd to use snmp (this seems to be the most stable use).


I was very surprised because the soft did shutdown the server  
automatically when the UPS went out of battery… and I had not tested  
that (lack of time).

So the soft even went beyond my expectations…


Port:   apcupsd-3.14.5
Path:   /usr/ports/sysutils/apcupsd
Info:   Set of programs for controlling APC UPS
Maint:  ite...@freebsd.org
B-deps:	gettext-0.17_1 gmake-3.81_3 libiconv-1.11_1 net-snmp-5.4.2.1_2  
perl-5.8.9_2

R-deps: net-snmp-5.4.2.1_2 perl-5.8.9_2
WWW:http://www.apcupsd.com



Le 6 mars 09 à 16:04, Pieter Donche a écrit :


The vendor of our new server, tells me that an APC Smart-UPS 2200VA
or APC Smart-UPS 3000VA does not have software for automatic  
shutdown when power is lost, which is compatible with FreeBSD, it is  
only compatible with Windows and Linux.


Is this true? Has someone experience with that?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org 




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


P Please consider your environmental responsibility before printing  
this e-mail



___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Proxy to filter peer to peer connexion on port 80

2009-04-01 Thread bsd

Hello folks,


I am looking for a good and simple proxy that will allow me to filter  
peer to peer on my FBSD box - knowing that I have a firewall that  
already does the job of filtering outside connexions, but people are  
still using port 80 to download using P2P software.


As we have a very limited bandwidth - 512Kbps - and as the resources  
are very expensive - 5K$ / month - yes this is possible  It is  
actually in Angola !


So considering these figures I would like to install a proxy to filter  
all port 80 requests.



As I haven't been worknig with proxy since many years, I would like to  
follow good advice.

The last memories I had regarding proxy was using Squid //

I don't know if this is a good choice ??


Any pointer or how to will be welcome.



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


P Please consider your environmental responsibility before printing  
this e-mail



___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Restoreing Dump on FreeBSD headless server

2010-01-04 Thread bsd
Hello folks, 


I would like to know how to proceed in order to restore a dump from a backup 
headless server (remotely using ssh). 

How am I supposed to proceed, should I first install the server (a FreeBSD 
Fresh install with spare partition) then restore the dump on an empty partition 
?  

Should the new empty partition be the exact same size as the dumped partition ? 

Is there a tool that could allow me to restore remotely ? 


Any advice or howto will be (very) welcome. 


Thanks. 


P.S. Happy new BSD year !! 



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


P Please consider your environmental responsibility before printing this 
e-mail


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Restoreing Dump on FreeBSD headless server

2010-01-04 Thread bsd

Le 4 janv. 2010 à 19:56, Jerry McAllister a écrit :

 On Mon, Jan 04, 2010 at 07:08:51PM +0100, bsd wrote:
 
 Hello folks, 
 
 
 I would like to know how to proceed in order to restore a dump from a 
 backup headless server (remotely using ssh). 
 
 How am I supposed to proceed, should I first install the server (a FreeBSD 
 Fresh install with spare partition) then restore the dump on an empty 
 partition ?  
 
 Depends on what you have and what you want to restore.
 Is the reason for the restore because the old disk went belly up?
 Or did you just nuke some stuff accidently.   Is the restore the
 boot disk or an extra work disk?   

Well, to tell you the truth: I am using a remote backup solution since 2.5 
years and the provider has just told me that he would no longer support my 
hardware
so I need to rebuild a new server based on my previous config


 
 In the first case, yes you will need to create something on the disk - 
 some sort of filesystem.   Probably that would mean using a fixit
 image to boot and do an fdisk(8), bsdlabel(8) and newfs(8).   

Ok, I think the server I will install that on might use some sort of virtual 
KVM that could allow me to do that


 
 It the second case, the filesystem[s] is[are] still intact and you
 only need to do an 'interactive' restore of just the files you want.
 IF you are doing an intereactive restore and if you have room, it may 
 be easiest to copy the whole dump file over to some big space on the 
 system and run the restore from that copy.  Then you can just ssh in 
 and run it just as if it was setting beside you.
 
 The same might not be true if you are replacing a destroyed disk 
 because the restore will be a complete one and no file selecting
 will be necessary.
 
 If you cannot get physical contact with the machine, and the disk was
 damaged and replaced, you may have to learn how to do a network boot 
 and install.   I have never had to do that so am not a good one to guide 
 that process.   

Well my idea was to rebuild the new server based on the dump I have realised 
(in order to save me the time to do the reinstall). 
But from what you are telling me It might not be so easy


 
 In either case of having to create slices, partitions and filesystems,
 you do not have to do a complete system install.  You need to do just
 enough building to have the filesystems created and mountable.

Yes but how should I partition that ? 

Should I re-create the 

/
/var
/usr
/tmp

or 

/ with minimal system


and re-create the mapping with nothing on slice. 


 The fixit
 is just fine for that.   If you can get that going remotely, then
 do the fdisk, bsdlabel and newfs-s from that and then restore from 
 the dump to the new filesystems.  

Ok, that should be the good path



 Forget about doing a real install.
 
 
 Should the new empty partition be the exact same size as the dumped 
 partition ? 
 
 It just has to be large enough to hold what you restore.
 In fact, it is a good time to increase or adjust filesystem sizes if
 you have more room on the replacement disk.

Good


 
 
 Is there a tool that could allow me to restore remotely ? 
 
 
 You can use rsh(1).   I have done that.
 Probably some specific ssh method too, but I am so old I haven't
 done one with that new fangled secure ssh yet...

Ok. 


Thanks. 

 
 jerry
 
 
 
 Any advice or howto will be (very) welcome. 
 
 
 Thanks. 
 
 
 P.S. Happy new BSD year !! 
 
 
 
 Gregober --- PGP ID -- 0x1BA3C2FD
 bsd @at@ todoo.biz
 
 
 P Please consider your environmental responsibility before printing this 
 e-mail
 
 
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
 


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


P Please consider your environmental responsibility before printing this 
e-mail


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Restoreing Dump on FreeBSD headless server

2010-01-04 Thread bsd

Le 4 janv. 2010 à 22:36, Jerry McAllister a écrit :

 On Mon, Jan 04, 2010 at 08:42:33PM +0100, bsd wrote:
 
 
 Le 4 janv. 2010 à 19:56, Jerry McAllister a écrit :
 
 On Mon, Jan 04, 2010 at 07:08:51PM +0100, bsd wrote:
 
 Hello folks, 
 
 
 I would like to know how to proceed in order to restore a dump from a 
 backup headless server (remotely using ssh). 
 
 How am I supposed to proceed, should I first install the server (a FreeBSD 
 Fresh install with spare partition) then restore the dump on an empty 
 partition ?  
 
 Depends on what you have and what you want to restore.
 Is the reason for the restore because the old disk went belly up?
 Or did you just nuke some stuff accidently.   Is the restore the
 boot disk or an extra work disk?   
 
 Well, to tell you the truth: I am using a remote backup solution since 2.5 
 years and the provider has just told me that he would no longer support 
 my hardware so I need to rebuild a new server based on my previous config
 
 I am not clear on what you mean by a 'remote backup solution' - do you
 mean that you are using dump(8) but writing to some remote device or
 do you mean you are using some '3rd party' backup software/hardware
 that your provider/hoster is supplying?

I am using dump(8). 
I have successfully created a backup of all major partition of my server which 
is now secured on a remote HD. 

 
 
 In the first case, yes you will need to create something on the disk - 
 some sort of filesystem.   Probably that would mean using a fixit
 image to boot and do an fdisk(8), bsdlabel(8) and newfs(8).   
 
 
 Ok, I think the server I will install that on might use some sort of 
 virtual KVM that could allow me to do that
 
 Well, that could be helpful.   It should give you a console type access
 which is convenient in installation situations.   Does that 'KVM' 
 supply the backup device too, or talk to it directly?

I haven't tried It so I don't know what functionnality It offers… 
But I guess I might start a fresh install from that console… 

At which point should I do the restore(8) in the install process ? 

 
 
 It the second case, the filesystem[s] is[are] still intact and you
 only need to do an 'interactive' restore of just the files you want.
 IF you are doing an intereactive restore and if you have room, it may 
 be easiest to copy the whole dump file over to some big space on the 
 system and run the restore from that copy.  Then you can just ssh in 
 and run it just as if it was setting beside you.
 
 The same might not be true if you are replacing a destroyed disk 
 because the restore will be a complete one and no file selecting
 will be necessary.
 
 If you cannot get physical contact with the machine, and the disk was
 damaged and replaced, you may have to learn how to do a network boot 
 and install.   I have never had to do that so am not a good one to guide 
 that process.   
 
 
 Well my idea was to rebuild the new server based on the dump I have 
 realised (in order to save me the time to do the reinstall). 
 But from what you are telling me It might not be so easy
 
 I am not clear again just what you are meaning by 'based on the dump
 I have realised'.   Do you mean that  you would keep the filesystem
 structure you have already?   IS there a dump file/tape for each
 filesystem in the old system?   

Dump is stored on a remote HD. 
There is one dump file per partition (not for /tmp). 

 
 If that is what you mean, good.   There is no harm in keeping the
 old filesystem structure if it was working for you.   Take a look
 at how much is used in each filesystem and think if you need to
 change the size.  But, that is just a detail of sizing the partitions
 and not a critical structure consideration.   If the new system has
 larger disk, then you can make use of it just by making bigger 
 partitions where they are needed.

Ok. 

 
 
 
 In either case of having to create slices, partitions and filesystems,
 you do not have to do a complete system install.  You need to do just
 enough building to have the filesystems created and mountable.
 
 Yes but how should I partition that ? 
 
 Should I re-create the 
 
 /
 /var
 /usr
 /tmp
 
 or 
 
 / with minimal system
 
 and re-create the mapping with nothing on slice. 
 
 Create what you want it to be and go from there unless the old and
 the new structure are incompatible in some way.   My usual set of
 partitions/filesystems are:
 
  /
  swap
  /tmp
  /usr
  /var
  /home   or other convenient name such as /bighome
  /work   if there is a lot of extra space on the new disk and
  you don't want it clumped in with the rest for some reason.
  I usually put all the rest in that /bighome  filesystem.
  If I have an extra disk with lots of space, I make that /work
 
 
 But, if your structure is working for you, stick with it.
 
 
 
 The fixit
 is just fine for that.   If you can get that going remotely, then
 do the fdisk, bsdlabel and newfs-s from that and then restore from

re-installing a port to a specific version

2010-01-05 Thread bsd
Hello, 

I am re-installing a server where I have an old version of slony installed (db 
replication for postgresql)… 
I am keeping my port tree up to date with portmaster (I have added an +IGNOREME 
file in order to avoid updates on this specific port). 
I have to change server, a new server has been installed with a fresh BSD 
install. 

I want to know how i can copy, or re-install this specific port… 
I have in my possession : 

1. the distfiles located on the running server in /usr/ports/distfiles/slony.xx
2. a newer version of the Makefile (couple of version ahead)… 


Any idea or clue on how to reinstall this port to this specific version. 

Thx. 



P.S. I know there is a solution that consist to sync the port tree to the 
specific date (of version xxx of slony) and then compile, but this is quite 
heavy manipulation… If I could avoid that, It'd be great; 



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


P Please consider your environmental responsibility before printing this 
e-mail


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


[URGENT] Problem with OpenSSL openssl-0.9.8l_3

2010-01-21 Thread bsd
I have a serious problem after an upgrade of openssl ! 

/libexec/ld-elf.so.1: Shared object libcrypto.so.5 not found, required by 
sshd





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


P Please consider your environmental responsibility before printing this 
e-mail


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: [URGENT] Problem with OpenSSL openssl-0.9.8l_3

2010-01-21 Thread bsd
I have downgraded to openssl-0.9.8l_1 and It has solved my problem… 

openssl-0.9.8l_3 is obviously boggus ! 



Le 21 janv. 2010 à 09:50, bsd a écrit :

 I have a serious problem after an upgrade of openssl ! 
 
 /libexec/ld-elf.so.1: Shared object libcrypto.so.5 not found, required by 
 sshd
 
 
 
 
 
 Gregober --- PGP ID -- 0x1BA3C2FD
 bsd @at@ todoo.biz
 
 
 P Please consider your environmental responsibility before printing this 
 e-mail
 
 
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


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


P Please consider your environmental responsibility before printing this 
e-mail


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: iphone, freebsd, vpn

2010-02-14 Thread bsd
A good idea would be to use pfsense 
It is an excellent firewall based on FreeBSD, freely available here 
http://www.pfsense.org/ 

Then you can choose whatever you want as a VPN solution… You would have an 
optimized kernel (for firewalling) a simple interface to do all related 
install. 
A dedicated community with lots of network guru… 

I would tend to use IPSec rather that L2TP or PPTP because It is more secure. 
A good solution would also be OpenVPN (but surely not for the Iphone). 


You would also find some pointers to configuration guide. 

Good luck. 

Le 7 févr. 2010 à 12:31, Dánielisz László a écrit :

 Hi, 
 
 I'm looking forward how to connect from my iphone to my FreeBSD server using 
 VPN, do you have any suggestions?
 Should I use, L2TP, PPTP or IPSec? Do you have any experience with it?
 
 Some details: my iphone always gets a new ip address from my GSM provider 
 when I connect to the internet, my FreeBSD server connects to the internet 
 using PPPoE connection with static IP and I want to reach it through the 
 internet.
 
 Thank you!
 László
 


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


P Please consider your environmental responsibility before printing this 
e-mail


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


ESS (extended service set) configuration for FBSD

2011-06-13 Thread bsd
Hello, 

I wanted to know what is the best way to build an ESS (extended service set aka 
group of Access Points) using FreeBSD. Knowing that we are looking at the 
classic features of such network: 

1. Couple of AP's configured with the same SSID
2. Authentication 
3. Security 
4. Roaming between AP's 
5. Communication between stations in the same ESS


The main problem to solve seems to be related to IAPP (Inter Access Point 
Protocol) aka 802.11f  
It is not very clear to me in which stage we are with this protocol and It's 
implementation… 



What would you advice ? 

How would you proceed ? 


Thanks for your support. 

––
- Grégory Bernard Director -
--- www.osnet.eu ---
-- Your provider of OpenSource appliances --
––
OSnetOSnetOSnetOSnetOSnetOSnetOSnetOSnetOSnetO

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


/dev/sa0 no longer recognized after 7.2 update

2009-05-18 Thread bsd
 is ufsid/49144f76156ad96a.
GEOM_LABEL: Label ufsid/49144f763236b77b removed.
GEOM_LABEL: Label for provider aacd0s1g is ufsid/49144f763236b77b.
GEOM_LABEL: Label ufsid/49144f7fa22f4f43 removed.
GEOM_LABEL: Label for provider aacd0s1d is ufsid/49144f7fa22f4f43.
GEOM_LABEL: Label ufsid/49144f7f3b01ea1a removed.
GEOM_LABEL: Label for provider aacd0s1e is ufsid/49144f7f3b01ea1a.
GEOM_LABEL: Label ufsid/49144f80de269f7c removed.
GEOM_LABEL: Label for provider aacd0s1f is ufsid/49144f80de269f7c.
GEOM_LABEL: Label ufsid/49144f76156ad96a removed.
GEOM_LABEL: Label ufsid/49144f763236b77b removed.
GEOM_LABEL: Label ufsid/49144f7fa22f4f43 removed.
GEOM_LABEL: Label ufsid/49144f7f3b01ea1a removed.
GEOM_LABEL: Label ufsid/49144f80de269f7c removed.
em0: link state changed to UP

??



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


P Please consider your environmental responsibility before printing  
this e-mail



___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: UK Currency Symbol in 7.2 Console - A Question actually about FreeBSD

2009-05-29 Thread bsd

Hi,

I use a Macintosh as client host, but this could be any computer as  
long as you have a working keyboard configured.



My shell is bash (latest port version).

In my .bashrc I have included the following:

# Display quoted characters
stty cs8 -istrip -parenb
bind 'set convert-meta off'
bind 'set meta-flag on'
bind 'set output-meta on'


Furthermore I have configured emacs (my favorite editor) to also  
handle UTF8 character and encoding


In my .emacs:

(set-terminal-coding-system 'utf-8)
(set-keyboard-coding-system 'utf-8)
(prefer-coding-system 'utf-8)



This allows me to have all my characters encoded in UTF-8.


One more interesting thing is the prompt (more fancy than really  
usefull):


In .bashrc:

case $TERM in
xterm*|rxvt*)
PS1=\[\033[01;33;33m\]\h \w -- \[\033[00m\]
PS2='\u:\w '
;;
screen)
#PS1='\e[1;31...@\h:\e[1;37m\w\e[1;31m\$\e[0;37m '
PS1=\[\033[01;36;36m\]\h \t \w screen $ \[\033[00m\]
;;
*)
PS1='\h:\w\$ '
;;
esac


And the history search, still in .bashrc:

bind '\e[A':history-search-backward
bind '\e[B':history-search-forward







Le 29 mai 09 à 08:54, Graham Bentley a écrit :


Hello All,

Im still struggling with this one and have tried all I could find
by Googling lists and forums. @ and  keys are fine as are
every other key apart from £ symbol. Can anyone suggest
ways to track this down. At 'Login:' I can actually get £ but
after loging I get a beep? I have tried various fonts and maps
to no avail.

Any suggestions / pointers, even an RT[URL]FM or useful
flame appreciated.

Thanks!



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


P Please consider your environmental responsibility before printing  
this e-mail



___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Resetting bootloader on a CF

2011-08-31 Thread bsd
Hi, 

I am trying to reset the bootloader of a pfSense nanoBSD CF card. 

I need the boot loader to be reset because 

 The embedded image set the bootloader to use a serial console.  That isn't 
 necessary with the box I am trying to use (the BIOS does console redirection 
 to the serial port for you) and causes the boot to hang.


Part of the solution seems to be : 

1. Mount the CF on a FBSD 
2. Initialize the bootloader with : 

# fdisk -B /dev/disk

3. This is where I need you help… 


How can I re-install a boot loader ? 

Should I use the command : 

# fdisk -B -b /boot/boot0 device


Any other suggestion, guidance will be welcome. 


Thanks for your support. 


P.S. I'll check your answer in 10+ hours as I am already tired and It is 11.45 
pm in Paris where I leave. ;-) - thanks for your understanding. 

––
- Grégory Bernard Director -
--- www.osnet.eu ---
-- Your provider of OpenSource appliances --
––
OSnetOSnetOSnetOSnetOSnetOSnetOSnetOSnetOSnetO

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Problem with php5-dba build install

2011-11-04 Thread bsd
Hi, 

I have a problem building the php5-dba port. 

I know this is not exactly the right place to post problem related to that, but 
since I have already contacted the maintener couple of weeks ago, and I think 
the problem is not really so difficult to solve, I am asking this question 
here. 


swell:root 17:12:28 /usr/ports/databases/php5-dba # make install
===  Patching for php5-dba-5.3.8
===  Applying FreeBSD patches for php5-dba-5.3.8
===   php5-dba-5.3.8 depends on file: /usr/local/bin/phpize - found
===   php5-dba-5.3.8 depends on file: /usr/local/bin/autoconf-2.68 - found
===  PHPizing for php5-dba-5.3.8
Configuring for:
PHP Api Version: 20090626
Zend Module Api No:  20090626
Zend Extension Api No:   220090626
configure.in:3: warning: prefer named diversions
configure.in:3: warning: prefer named diversions
===  Configuring for php5-dba-5.3.8
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for a sed that does not truncate output... /usr/bin/sed
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether cc accepts -g... yes
checking for cc option to accept ISO C89... none needed
checking how to run the C preprocessor... cpp
checking for icc... no
checking for suncc... no
checking whether cc understands -c and -o together... yes
checking for system library directory... lib
checking if compiler supports -R... yes
checking build system type... amd64-portbld-freebsd7.4
checking host system type... amd64-portbld-freebsd7.4
checking target system type... amd64-portbld-freebsd7.4
checking for PHP prefix... /usr/local
checking for PHP includes... -I/usr/local/include/php 
-I/usr/local/include/php/main -I/usr/local/include/php/TSRM 
-I/usr/local/include/php/Zend -I/usr/local/include/php/ext 
-I/usr/local/include/php/ext/date/lib
checking for PHP extension directory... /usr/local/lib/php/20090626
checking for PHP installed headers prefix... /usr/local/include/php
checking if debug is enabled... no
checking if zts is enabled... no
checking for re2c... no
configure: WARNING: You will need re2c 0.13.4 or later if you want to 
regenerate PHP parsers.
checking for gawk... no
checking for nawk... nawk
checking if nawk is broken... no
checking for QDBM support... no
checking for GDBM support... no
checking for NDBM support... no
checking for Berkeley DB4 support... no
checking for Berkeley DB3 support... no
checking for Berkeley DB2 support... no
checking for DB1 support... no
checking for DBM support... no
checking for CDB support... no
checking for INI File support... no
checking for FlatFile support... no
checking whether to enable DBA interface... no
checking for ld used by cc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
checking how to recognize dependent libraries... pass_all
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking the maximum length of command line arguments... (cached) 262144
checking command to parse /usr/bin/nm -B output from cc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking if cc supports -fno-rtti -fno-exceptions... no
checking for cc option to produce PIC... -fPIC
checking if cc PIC flag -fPIC works... yes
checking if cc static flag -static works... yes
checking if cc supports -c -o file.o... yes
checking whether the cc linker (/usr/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... freebsd7.4 ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no

creating libtool
appending configuration tag CXX to libtool
checking whether the c++ linker (/usr/bin/ld) supports shared libraries... yes
checking for c++ option to produce PIC... 
checking if c++ static flag  works... yes
checking if c++ supports -c -o file.o... yes
checking whether the c++ linker (/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... freebsd7.4 ld.so
(cached

  1   2   3   4   5   >