Re: .PICT mac file

2007-10-03 Thread DAve

Norberto Meijome wrote:

Hi everyone, I have a load of .pict files which I can't seem to be
able to open

> with anything under FBSD. I just want to convert them into something
> more useful (jpg / tiff / svg).


ImageMagick doesn't understand it, so i think this is the Packbits

> compressed .PICT filetype. neither Gimp or XV like them either.


file doesn't identify the files either.

Alternatively, any tool I can script under OSX to conver them to

> something useful? (FYI, 'Preview' under Tiger doens't recognise them
> either, but I can drag them just fine into an Omnigraffle Pro
> diagram).


I used Graphic Converter on Macs since MacOS 7.1. It used to convert 
just about everything under the sun. It was always scriptable before so 
I would imagine it is under OSX.


http://www.lemkesoft.com/

DAve




--
Three years now I've asked Google why they don't have a
logo change for Memorial Day. Why do they choose to do logos
for other non-international holidays, but nothing for
Veterans?

Maybe they forgot who made that choice possible.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: system admin question...

2007-10-10 Thread DAve

Gary Kline wrote:
	This is for the system admins out there; I brought up this question 
	last weekend, (re xsysstats, an *old* app), but got no answers,

so again:

	What are the best tools, graphical or otherwise, that I can use 
	on  a dedicated Gnome [or CWTM, KDE, Whatever] workspace that
	will help me track each of my four or five computers?  
	(((Is xosview broken?  I have it running here on this pre xorg-7.2

system.)))  xsysstats seems reasonable; are there any others?
I'd like to be able to spot any overloads of file system snafus
	before they go critical... .   


thanks for any|all insights,



I am a fan of KISS, I would just start snmpd on each server and then 
hack a quick perl/ruby/shell script to check on the boxes now and then 
and alert you when something is beyond a configured parameter. Maybe pop 
open a term window and display the snmpget results or something.


DAve


--
Three years now I've asked Google why they don't have a
logo change for Memorial Day. Why do they choose to do logos
for other non-international holidays, but nothing for
Veterans?

Maybe they forgot who made that choice possible.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Strange perl script

2007-10-17 Thread DAve
Jack Raats wrote:
>>> HI
>>>
>>> Can anyone explain this after ps -ax | grep perl
>>>
>>> 21893  ??  I  1:02.37 sploger (perl5.8.8)
>>> 29536  ??  R184:14.94 sploger (perl5.8.8)
>>> 29538  ??  R184:36.44 sploger (perl5.8.8)
>>> 30668  ??  R168:56.54 sploger (perl5.8.8)
>>>
>>> What is sploger?
> 
>> Looks sort of like a Perl script running.
>> That, of course, doesn't say what it is doing.
> 
> The stangest thing is that I cann't find sploger on  my system. After a
> reboot sploger doesn't appear anymore, which makes it more stranger.
> 
> Jack
> 

Do you have any services available to the outside from the machine? FTP,
telnet, ssh, mysql, apache?

DAve

-- 
Three years now I've asked Google why they don't have a
logo change for Memorial Day. Why do they choose to do logos
for other non-international holidays, but nothing for
Veterans?

Maybe they forgot who made that choice possible.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


OT: UltraDNS and dor org domains.

2007-10-22 Thread DAve
We just put our replacement DNS servers online, djbdns replacing Bind.
In testing with the few domains we have moved to the new servers we
began getting intermittent failures for some clients.

It is only dot org domains, checking deeper it ain't us. If I do a
domain query from dnsstuff for any org, I sometimes get nothing but name
server records. This happens when the root servers refer the query to
TLSx.Ultradns.net.

I see ultradns failing to return A records for slashdot.org and
openoffice.org as well others.

Is anyone else seeing this?

DAve
-- 
Three years now I've asked Google why they don't have a
logo change for Memorial Day. Why do they choose to do logos
for other non-international holidays, but nothing for
Veterans?

Maybe they forgot who made that choice possible.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: OT: UltraDNS and dor org domains.

2007-10-22 Thread DAve
Chuck Swiger wrote:
> On Oct 22, 2007, at 11:43 AM, DAve wrote:
>> It is only dot org domains, checking deeper it ain't us. If I do a
>> domain query from dnsstuff for any org, I sometimes get nothing but name
>> server records. This happens when the root servers refer the query to
>> TLSx.Ultradns.net.
>>
>> I see ultradns failing to return A records for slashdot.org and
>> openoffice.org as well others.
>>
>> Is anyone else seeing this?
> 
> No, but I use dig, not dnsstuff.  Are the missing records visible by:
> 
>   dig slashdot.org @ns1.ostg.com
>   dig openoffice.org @ns1.collab.net

Dig works here as to be expected. Not a problem.

> 
> ...?  I don't see why ultradns.net would be involved...?
> 

Because dnsstuff is the only service where I can see the full path of
the query. Dig does not show me how/where it queries, it simply provides
the answer. I cannot see the output of the +trace command due to my network.

I think it is an ultradns issue because they are the only TLD server
that doesn't return a SOA record. I am thinking, maybe dangerous, that
our client's AD install doesn't handle a query response properly for
that reason.

One look at my DNS logs tells me AD is rarely configured properly.

DAve



-- 
Three years now I've asked Google why they don't have a
logo change for Memorial Day. Why do they choose to do logos
for other non-international holidays, but nothing for
Veterans?

Maybe they forgot who made that choice possible.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Live video streaming on FreeBSD?

2007-10-23 Thread DAve
Mark Moellering wrote:
> On Tuesday 23 October 2007 5:01 am, Andreas Widerøe Andersen wrote:
>> Hi all,
>> I'm looking for a way to stream live video on FreeBSD (streamingserver and
>> encoder or either).
>>
>> I have previously used Windows Media Server and Encoder quite a lot, but I
>> try to run as much as possible on FreeBSD. My question would be, is there a
>> streaming server and possibly an encoder available for FreeBSD that will
>> stream live video that is compatible with most mediaplayers (for Windows,
>> Mac and Linux desktops)?
>>
>> Any help or directions are very much appreciated.
>>
>> Thanks for your help!
>>
>> Best regards,
>> Andreas
>> ___
>> freebsd-questions@freebsd.org mailing list
>> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
>> To unsubscribe, send any mail to
>> "[EMAIL PROTECTED]"
> 
> 
> Check vlc & vls in ports/packages.  It should cover all the (streaming) 
> standards.
> 

We have been using Apple's Darwin Streaming server with excellent results.

DAve


-- 
Three years now I've asked Google why they don't have a
logo change for Memorial Day. Why do they choose to do logos
for other non-international holidays, but nothing for
Veterans?

Maybe they forgot who made that choice possible.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Duplicate existing FreeBSD Server in VM

2007-11-01 Thread DAve
Terry Sposato wrote:
> Hi,
> 
>  
> 
> I have just installed a machine and have it setup running a web based CRM
> solution. I want to have an exact duplicate of this machine running as a VM
> for redundancy reasons. 
> 
>  
> 
> What is the best way to go about getting this exact machine transferred to
> the VM? Both machines exist on the same network and will be able to talk to
> each other, I have been thinking of a couple of different ways to get all my
> data across which is the easy part, but I want to match everything that is
> installed, base system, ports etc.
> 
>  
> 
> Anyone have any ideas or point me into the right direction?
> 

You can use dump over ssh easily enough, here are my notes from using it
to create multiple production machines from a single test server. There
are better ways I am sure, but this is quick and easy if you are
familiar with FreeBSD installs.

Note #1 In the first comment line I say to boot the live file system CD,
that is what you would do in the VM, just as you would normally boot an
installer CD, but use a Live filesystem CD instead.

Note #2 I used several slices with sizes some may not agree with. It was
a choice we made for various reasons, the servers have been running for
three years. You may have more or less slices of varying sizes, adjust
the steps below to your preferences.

Note #3 You will need to check and WRITE DOWN which slice is which mount
point, /, /var, /usr and so on. Your disks may be different if you
choose not to create a seperate /tmp, or /var.

I'll be out of the office for a week, but you can try and adjust as
needed, it won't hurt anything and you can always overwrite and try
again. WRITE IT DOWN.

Works for us, I've used it several times, adjusting as needed for the
system I am cloning.

DAve



# boot live filesystem cd
# use disklabel to check/create slices
/stand/sysinstall
/dev/ad0s1b256mb   swap
/dev/ad0s1a256mb   /mnt/ufs.1softupdates
/dev/ad0s1e256mb   /mnt/ufs.2softupdates
/dev/ad0s1d256mb   /mnt/ufs.3softupdates
/dev/ad0s1fall /mnt/ufs.4softupdates
/dev/ad1s1d2mb /mnt/ufs.5

# unmount the new slices
umount /mnt/ufs.1
umount /mnt/ufs.2
umount /mnt/ufs.3
umount /mnt/ufs.4
umount /mnt/ufs.5

# make newfs on each slice
newnfs /dev/ad0s1a
newnfs /dev/ad0s1e
newnfs /dev/ad0s1f
newnfs /dev/ad0s1d
newnfs /dev/ad1s1d

# remount the slices
mount -t ufs -o rw /dev/ad0s1a /mnt/ufs.1
mount -t ufs -o rw /dev/ad0s1e /mnt/ufs.2
mount -t ufs -o rw /dev/ad0s1d /mnt/ufs.3
mount -t ufs -o rw /dev/ad0s1f /mnt/ufs.4

# fetch the filesystems from the test server
# you will need to enable root ssh access on the test server for this.
cd /mnt/ufs.1
ssh [EMAIL PROTECTED] dump -0L -f - /dev/ad0s1a | restore -rf - /dev/ad0s1a
cd /mnt/ufs.2
ssh [EMAIL PROTECTED] dump -0L -f - /dev/ad0s1e | restore -rf - /dev/ad0s1e
cd /mnt/ufs.3
ssh [EMAIL PROTECTED] dump -0L -f - /dev/ad0s1f | restore -rf - /dev/ad0s1f
cd /mnt/ufs.4
ssh [EMAIL PROTECTED] dump -0L -f - /dev/ad0s1d | restore -rf - /dev/ad0s1d

# change the following entries in rc.conf, remember everything is
mounted under /mnt!
# X = the ecluster number 1,2,3,4,5,6,7,8, etc.
hostname="new_server_X"
ifconfig_em0="inet 10.0.240.13X netmask 255.255.255.0"

Reboot the new server, it should come up just fine.


-- 
Three years now I've asked Google why they don't have a
logo change for Memorial Day. Why do they choose to do logos
for other non-international holidays, but nothing for
Veterans?

Maybe they forgot who made that choice possible.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


making packages from ports

2007-11-12 Thread Dave

Hello,
   I've got a box i'd like to build packages from ports on, and deploy 
those packages to other machines. I'll use postfix as an example. I did make 
package from postfix's directory and selected pcre and mysql support. I got 
the postfix tarball package, but when i tried to install it on another box 
it needed pcre and mysql-client packages. I had to run make package in each 
of their directories. I was wondering if there was a recursive way of 
package making?

Thanks.
Dave.

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


Re: bash and strings

2007-11-16 Thread DAve
[EMAIL PROTECTED] wrote:
> Everyone,
> 
> I'm sure this is easy, and I am making it harder than it is.
> 
> I am being supplied a list of files, and need to create the files and
> directories to hold them, but I cannot figure out how to take the string
> apart.
> 
> For example, I am given
> 
> /usr/local/scripts/firewall.sh
> 
> I need to create the /usr/local/scripts directory and then create
> firewall.sh.
> 
> Any suggestions would be greatly appreciated.
> 

http://search.yahoo.com/search?p=bash+scripting+tutorial

Can't recommend it enough, the Advanced Bash-Scripting Guide. A very
handy bookmark to keep around.

DAve


-- 
I've been asking Google for a Veteran's Day logo since 2000,
maybe 1999. I was told they finally did a Veteran's Day logo,
but none of the links I was given return anything but a
normal Google logo.

Sad, very sad. Maybe the Chinese Government didn't like it?

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


stability of FreeBSD 7 Beta 3?

2007-11-25 Thread Dave

Hello,
   How stable is FreeBSD 7 Beta 3? Is it near production are their any 
outstanding issues?

Thanks.
Dave.

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


Re: who wrote this

2007-11-26 Thread DAve
Boris Samorodov wrote:
> On Sun, 25 Nov 2007 15:23:56 -0600 eBoundHost: Artur wrote:
> 
>> All I have to say is WTF is wrong with whomever wrote this page.
>> http://www.freebsd.org/internal/fortunes.html
>> ==
>>>> Examples of entries that should not usually be declared 'offensive':
>>>> * Hitler quotes.
>> ==
>> Ok I understand that some moron wrote it, but why has nobody removed
>> this garbage?
> 
> Hm, I'm astonished. I've never seen that page before...
> 
> English is not my native language and I may not understand all nuances
> though. Does that phrase mean "Hitler quotes are not usually be
> declared 'offensive'"? For me that means that there some (and very
> little) his quotes that should be treated as 'offensive'.
> 
> 
> WBR

I read the page as instruction to be attentive to content *and* context.
The who matters little in comparison to the what. Fascinating to me that
things like the logo and that page can generate so much list mail.

DAve


-- 
I've been asking Google for a Veteran's Day logo since 2000,
maybe 1999. I was told they finally did a Veteran's Day logo,
but none of the links I was given return anything but a
normal Google logo.

Sad, very sad. Maybe the Chinese Government didn't like it?

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


FreeBSD and WiFi with captive portal

2007-12-13 Thread Dave

Hello,
   I'm looking to set up a WiFi gateway with two nics, and iptables. The 
catch is i have to use a captive portal as well to ensure all traffic goes 
to a single destination. I've read about several packages, but haven't seen 
any docs that say how to integrate everything. If anyone has this setup i'd 
appreciate knowing what software your using, and experiences with it, 
positive or negative.

Thanks.
Dave. 


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


FreeBSD and WiFi with Captive portal, correction

2007-12-13 Thread Dave

Hello,
   In my last msg i posted on captive portal, i mentioned iptables i meant 
pf, i was thinking about a reinstallation of a CentOS box that came up, 
while i was writing and transposed iptables with pf.
   As i said i've seen docs on this but nothing saying how to link it all 
together.

Thanks.
Dave.

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


usb 2.0

2003-11-18 Thread dave
Hello,
I've got an Abyt kd7-e motherboard with two USB 2.0 controllers on it.
I'm getting some very strange messages, see below. Any suggestions
appreciated.
Thanks.
Dave.

atapci0:  port
0xbc00-0xbc0f,0xb800-0xb803,0xb400-0xb407,0xb000-0xb003,0xac00-0xac07 mem
0xd811-0xd8113fff irq 11 at device 10.0 on pci0
ata2: at 0xac00 on atapci0
ata3: at 0xb400 on atapci0
uhci0:  port 0xc000-0xc01f irq 10 at device 16.0
on pci0
usb0:  on uhci0
usb0: USB revision 1.0
uhub0: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
uhub0: port error, restarting port 1
uhub0: port error, giving up port 1
uhub0: port error, restarting port 2
uhub0: port error, giving up port 2
uhci1:  port 0xc400-0xc41f irq 11 at device 16.1
on pci0
usb1:  on uhci1
usb1: USB revision 1.0
uhub1: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
uhub1: port error, restarting port 1
uhub1: port error, giving up port 1
uhub1: port error, restarting port 2
uhub1: port error, giving up port 2
uhci2:  port 0xc800-0xc81f irq 3 at device 16.2
on pci0
usb2:  on uhci2
usb2: USB revision 1.0
uhub2: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub2: 2 ports with 2 removable, self powered
uhub2: port error, restarting port 1
uhub2: port error, giving up port 1
uhub2: port error, restarting port 2
uhub2: port error, giving up port 2
atapci1:  port 0xcc00-0xcc0f at device 17.1 on
pci0
ata0: at 0x1f0 irq 14 on atapci1
ata1: at 0x170 irq 15 on atapci1
ad0: 38166MB  [77545/16/63] at ata0-master UDMA100
ad1: 38166MB  [77545/16/63] at ata0-slave UDMA100
ad4: 114473MB  [232581/16/63] at ata3-master UDMA100
acd0: CD-RW  at ata1-master PIO4
pass0 at ata1 bus 0 target 0 lun 0
pass0:  Removable CD-ROM SCSI-0 device
pass0: 16.000MB/s transfers
link_elf: symbol pfil_add_hook undefined
link_elf: symbol pfil_add_hook undefined


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


Re: usb 2.0

2003-11-19 Thread dave
Hello,
Sorry, FreeBSD 5.1-RELEASe
Thanks.
Dave.


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


vinum configuration

2003-11-23 Thread dave
Hello,
Trying to get vinum going on a 5.1 machine, with two IDE 40 gb hard
drives at the moment, two more will be added later once i know my setup is
working. Below are my disklabels for ad0s1 and ad1s1 as well as the vinum
configuration. I need to know if all of this is right and if not what is not
up? Also, how do i get the data from one drive to the other? As of now
drive2 is empty.
Thanks.
Dave.

#
# bsdlabel ad0s1 |more
# /dev/ad0s1:
8 partitions:
#size   offsetfstype   [fsize bsize bps/cpg]
  a:   245760  10485764.2BSD 2048 16384 15368
  b:  1048295  281  swap
  c: 781561620unused0 0 # "raw" part, don't
edit
  d:   245760  12943364.2BSD 2048 16384 15368
  e:   204800  15400964.2BSD 2048 16384 12808
  f:  6291456  17448964.2BSD 2048 16384 28552
  g: 70119810  80363524.2BSD 2048 16384 28552
  h: 78156146   16 vinum


# bsdlabel ad1s1 |more
# /dev/ad1s1:
8 partitions:
#size   offsetfstype   [fsize bsize bps/cpg]
  b:  10485760  swap
  c: 781561620unused0 0 # "raw" part, don't
edit
  d:   245760  10485764.2BSD 2048 16384 15368
  e:   204800  12943364.2BSD 2048 16384 12808
  f:   204800  14991364.2BSD 2048 16384 12808
  g:  6291456  17039364.2BSD 2048 16384 28552
  h: 70160770  79953924.2BSD 2048 16384 28552

# more /etc/vinum.conf
drive Vinum1 device /dev/ad0s1h
volume root setupstate
plex org concat
sd len 245760s driveoffset 1048576s
volume home setupstate
plex org concat
sd len 70119810s driveoffset 8036352s
volume swap setupstate
plex org concat
sd len 1048295s driveoffset 281s
volume tmp setupstate
plex org concat
sd len 204800s driveoffset 1540096s
volume var setupstate
plex org concat
sd len 245760s driveoffset 1294336s
volume usr setupstate
plex org concat
 sd len 6291456s driveoffset 1744896s



# vinum
vinum -> list
1 drives:
D Vinum1State: up   /dev/ad0s1h A: 38162/38162 MB
(100%)

6 volumes:
V root  State: up   Plexes:   1 Size:  0  B
V home  State: up   Plexes:   1 Size:  0  B
V swap  State: up   Plexes:   1 Size:  0  B
V tmp   State: up   Plexes:   1 Size:  0  B
V var   State: up   Plexes:   1 Size:  0  B
V usr   State: up   Plexes:   1 Size:  0  B

6 plexes:
P root.p0 C State: up   Subdisks: 0 Size:  0  B
P home.p0 C State: up   Subdisks: 0 Size:  0  B
P swap.p0 C State: up   Subdisks: 0 Size:  0  B
P tmp.p0  C State: up   Subdisks: 0 Size:  0  B
P var.p0  C State: up   Subdisks: 0 Size:  0  B
P usr.p0  C State: up   Subdisks: 0 Size:  0  B

0 subdisks:
vinum ->
#


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


postfix/amavisd, fbsd 5.1

2003-11-24 Thread dave
Hello,
 I have upgraded a system to the latest postfix and amavisd port, a FreeBSD
5.1-RELEASE box. Sending mail works fine, however receiving mail, does not.
Incoming messages get deferred because a connection to 127.0.0.1:10025 times
out. I can telnet successfully to that port so i am at a loss on this one.
The only item that shows up in my maillog is what i already know, connection
times out. Any help appreciated.
Thanks.
Dave.



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


postfix restrictions error

2003-11-25 Thread dave
Hello,
I'm trying to implement the below restrictions on my postfix 2.0.16
system. I am getting the error:
"Missing '=' after attribute 'permit_mynetworks'" on a line number
I copied these verbatum from a site, i do not understand what is up.
Thanks for any help, it's probably just the late hour.
Thanks a lot.
Dave.

# uce values
strict_rfc821_envelopes = yes
smtpd_etrn_restrictions = permit_mynetworks
smtpd_helo_required = yes
smtpd_helo_restrictions =
permit_mynetworks,
reject_unauth_pipelining,
reject_invalid_hostname
reject_maps_rbl
maps_rbl_domains =
sbl.spamhaus.org,
relays.ordb.org,
opm.blitzed.org,
dun.dnsrbl.net,
spam.dnsrbl.net
smtpd_sender_restrictions =
reject_non_fqdn_sender,
reject_unknown_sender_domain
smtpd_recipient_restrictions =
permit_mynetworks,
reject_unauth_destination,
reject_non_fqdn_recipient


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


Re: postfix restrictions error

2003-11-25 Thread dave
Hi,
Tried inserting a comma, didn't change the error, it is still
complaining about the permit_mynetworks line.
Thanks.
Dave.


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


Re: postfix restrictions error

2003-11-26 Thread dave
Hello,
Yah, i have:
mynetworks = 192.168.0.0/24, 127.0.0/8


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


solved, Re: postfix restrictions error

2003-11-26 Thread dave
Hi,
Thanks, that space was the issue, forgot about that one. Thanks to all.
Dave.


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


openssl and key generation

2003-12-02 Thread dave
Hello,
 I'm trying to use openssl to do encryption with some files and to create a
key for postfix for use in authenticated smtp.
 For my first case i'm doing:
openssl enc -blowfish -in /root/etc.tar.gz -out /root/etc.tgz.bf
to try to encrypt a tar file. And for my second, trying to create a key for
use with postfix's authenticated smtp feature:
 /usr/sbin/openssl req -new -x509 -days 365 -nodes \
-config /etc/postfix/ssl/pst.cnf -out /etc/postfix/ssl/post.pem \
-keyout /etc/postfix/ssl/post.pem
/etc/postfix is a symlink to /usr/local/etc/postfix and i'm using openssl
0.9.7c
in both cases i'm getting a usage error, yet i'm following a tutorial for
this. Any suggestions?
Thanks.
Dave.

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


UPS

2003-12-10 Thread dave
Hello,
I've got a 5.1 box and a few other systems, one that comes to mind and a
cable modem, possibly other stuff will be added in the future, that i'd like
to put a UPS on. I'm looking for information and user experiences with UPS's
under fbsd. I'd like something that i can query via fbsd or with a web
interface to determine it's status and automatic powerdown when the power
gets low on the UPS.
Any info appreciated.
Thanks.
Dave.

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


Re: shutting down network interfaces

2003-12-18 Thread dave
At 08:02 PM 12/18/2003, you wrote:
I have two netcards and want to shut down one of them without
rebooting.


man ifconfig will tell you what to do.

the short answer:

ifconfig interface_card down

ie :

ifconfig ed0 down

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


postfix and squirrelmail

2003-12-20 Thread dave
Hello,
I've been searching for a site that gives instructions for setting up
postfix and squirrelmail. So far i've been unsuccessful in finding anything
that doesn't involve a database, i want to use ssl encryption and
authenticate via the system password file. Does anyone know a site for this?
Thanks.
Dave.

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


troubles with cvsd buildroot

2003-12-29 Thread dave
Hello,
I'm trying to use the cvsd port to to get a chrooted cvs server running
under 5.1. I've installed the port and created the cvsd user and group, with
the home directory of /home/cvsd. The command i used was:
pw useradd cvsd -c "Cvs Server Daemon" -u 1015 -s /sbin/nologin -m -h -
I then manually removed the dot files from that directory as this user won't
be logging in. I then copied cvsd.conf.sample to cvsd.conf and edited it. I
changed RootJail to /home/cvsd the Uid and Gid fields to cvsd, and
uncommented the listen line. When i went to run cvsd-buildroot /home/cvsd I
got errors about not being able to find libraries, below is the output from
the command. It says that the build was successful, but i'm a little worried
about it not being able to make the /dev devices and the fact that it
couldn't find libraries, and manually atempting to run the binary placed in
the location yielded no output.

creating directory structure under /home/cvsd... done.
installing binaries... cvs.
locating libnsl.so... not found (probably not fatal)
locating libnss_compat.so... not found (probably not fatal)
locating ld-elf.so... /usr/libexec/ld-elf.so.1
locating libnss_compat.so.2... not found (probably not fatal)
locating libnss_files.so.2... not found (probably not fatal)
locating /usr/libexec/ld.so... not found (probably not fatal)
locating /usr/lib/ld.so.1... not found (probably not fatal)
locating nss_files.so.1... not found (probably not fatal)
installing libraries...ldd: /home/cvsd/bin/cvs: Permission denied
/home/cvsd/bin/cvs: exit status 1
 ld-elf.so.1.
creating /home/cvsd/dev devices... FAILED (unable to use devices)
adding users to /home/cvsd/etc/passwd... root nobody cvsd.
making /home/cvsd/etc/pwd.db...done.
fixing ownership... done.
chrooted system created in /home/cvsd
if your cvs binary changes (new version) you should rerun cvsd-buildroot

Advice appreciated.
Thanks.
Dave.

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


Re: cd and rm a directory with '^M'

2008-09-12 Thread DAve

Wayne Sierke wrote:

On Thu, 2008-09-04 at 01:28 -0400, DAve wrote:

Edwin Groothuis wrote:

I had rsync create a directory with a '^M' in it.

Use command-line completion:

[~/xx] [EMAIL PROTECTED]>touch foo^Mbar  # that's ^V^M
[~/xx] [EMAIL PROTECTED]>ls -l
total 0
-rw-r--r--  1 edwin  edwin  0 Sep  4 13:46 foo?bar
[~/xx] [EMAIL PROTECTED]>rm foo   # autocompletes to foo^Mbar


If you find yourself on a machine without a full featured shell you can 
delete by the inode number. Chuck Swiger saved my bacon with that trick 
several years ago.


[sysadmin /usr/home/sysadmin]$ touch abc^M
[sysadmin /usr/home/sysadmin]$ ls -i
2449500 abc?   2449511 env.sh
[sysadmin /usr/home/sysadmin]$ find . -type f -inum 2449500 | xargs rm
[sysadmin /usr/home/sysadmin]$ ls -i
2449511 env.sh


However, note that using find's -x option could avoid subsequent
consternation, embarrassment, or worse. -x avoids having find search
over multiple filesystems which in this case avoids having find stumble
upon files with the same inode num on different filesystems. Relevant to
any type of find criteria, but -inum introduces a nice degree of
(user-level) randomness to the mix.


Good point to remember.



Of course, the old adage always applies - "If in doubt - print it
out!" (Not very catchy, is it?)


I *always* look at what I am going to remove, *before* I remove it. A 
lesson learned the hard way once, learned forever the second time.


DAve


--
Don't tell me I'm driving the cart!
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: server is crashing constantly

2008-09-13 Thread DAve

Jonathan Horne wrote:

I have a new web server for a moderately high traffic website that i
have recently deployed for a friend.  it has apache22, php5, and
mysql50 on it (latest from ports).  this server is crashing 2-3 times
a day, and thus far i have no idea where to start troubleshooting
this.

That is what im getting in the /var/log/messages.

Sep 13 20:09:25 rps savecore: reboot after panic: page fault Sep 13
20:09:25 rps savecore: writing core to vmcore.0


Here is the uname: FreeBSD rps.rangerpowersports.com 7.0-RELEASE-p4
FreeBSD 7.0-RELEASE-p4 #0: Fri Sep  5 01:58:09 CDT 2008
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/RPS  i386


You have a custom compiled kernel correct? Have you tried running the 
GENERIC kernel to see if the issue is resolved?


DAve



Any ideas or recommendations about where to start looking to track
this down would really be appreciated.

Thanks, Jonathan





___ 
freebsd-questions@freebsd.org mailing list 
http://lists.freebsd.org/mailman/listinfo/freebsd-questions To

unsubscribe, send any mail to
"[EMAIL PROTECTED]"





--
Don't tell me I'm driving the cart!
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Running cron jobs as nobody

2008-10-02 Thread DAve

Good morning all,

We have a cronjob we need to run as nobody from /etc/crontab and it 
seems to be not working. The job runs, but not as user nobody.


I noticed two things,

1) the job to update the locate DB runs as nobody, because the script 
uses su to become nobody.

echo /usr/libexec/locate.updatedb | nice -5 su -fm nobody || rc=3

2) nobody, as expected, has no shell or home dir in /etc/password.

I searched around for an answer but didn't see anything concerning this 
other than a patch to cron to check if setuid fails.


Is setting the user to nobody in /etc/crontab not possible?

Thanks,

DAve

--
Don't tell me I'm driving the cart!
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Running cron jobs as nobody

2008-10-02 Thread DAve

Bill Campbell wrote:

You can use ``su -c '/path/to/command' username'' to run scripts as
users other than root.

Another way is to use ``crontab -u username''.  man crontab for
details.

Bill


I am being told the developer tried a user crontab without success. I've 
not suggested they try su yet though I dropped hints.


Still seems odd that setting the user to nobody in /etc/crontab did not 
work.


Dave

--
Don't tell me I'm driving the cart!
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Running cron jobs as nobody

2008-10-07 Thread DAve

Mel wrote:

On Thursday 02 October 2008 17:11:52 DAve wrote:

Good morning all,

We have a cronjob we need to run as nobody from /etc/crontab and it
seems to be not working. The job runs, but not as user nobody.

I noticed two things,

1) the job to update the locate DB runs as nobody, because the script
uses su to become nobody.
echo /usr/libexec/locate.updatedb | nice -5 su -fm nobody || rc=3

 ^^^
-fm: Bypass .cshrc and only change user, use root env.


Is setting the user to nobody in /etc/crontab not possible?


pw showuser operator
pw showuser nobody

Spot the difference (hint: /nonexistent)



That was my first thought as well. After reading some of the responses I 
still thought it odd that cron would not run the script as "nobody". So 
I setup two scripts to dump the env vars into a file, one script runs 
from /etc/crontab and one from nobody's crontab. Both are functioning 
perfectly. I have told the developer to re investigate his script and 
his directory perms. I looks like a case of PEBKAC to me.


Thanks for the responses.

DAve


--
Don't tell me I'm driving the cart!
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: CMS

2009-10-16 Thread DAve

Paul Schmehl wrote:
--On Friday, October 16, 2009 11:27:12 -0500 Modulok  
wrote:




On 10/15/09, Paul Schmehl  wrote:

I manage a couple of FreeBSD servers for a friend.  He's gotten all
excited about content management and thinks that's the way to go.  The
system he's familiar with is Windows only.  I've done a little research,
but I'm wondering if anyone reading the list has experience with a 
CMS on

FreeBSD - one that's in ports preferably.

Pros?  Cons?  Any known security issues?


If it's your server and you're the guy, (or your friends) needing
"content management" abilities... a simple SSH connection cannot be
beat. But maybe that's not what you had in mind :p


YeahI'm not the content guy.  I'm the server admin.  I'm also not 
the ower. The owner likes CMS products since he's now using one, and 
wants to install the one he uses on his server.  But the one he uses is 
only for Windows.  Thus the question.




It is my opinion that they (CMSs) are nearly to the point it will take a 
quadcore CPU and 4GB or memory to serve a single html page containing 
the words "Hello World". Code light, they are not.


My experience with CMS such as Joomla, SurgarCRM, etc is that they are 
to crackers as a lone lightbulb in the forest is to bugs.


- Keep them up to date.

- Subscribe to, and be attentive to, their security mailings.

- If you do not use a feature/module, remove it.

- Do not under any circumstances install PhpMyAdmin. My logs show if a 
IP gets a hit on a CMS page, they immediately search for PhpMyAdmin 
next. If you must install it, install it on another machine or under a 
different domain. Then turn access on and off at the SQL server when needed.


We have a few CMSs that I could not talk Sales out of, two have had 
problems. One was moved to it's on VPS because of issues.


Best of luck.

DAve

--
"Posterity, you will know how much it cost the present generation to
preserve your freedom.  I hope you will make good use of it.  If you
do not, I shall repent in heaven that ever I took half the pains to
preserve it." John Quincy Adams

http://appleseedinfo.org

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


DNS Question

2009-10-23 Thread DAve

Good morning.

I have been asked by my co-workers and sales why I always create a A 
record for new domains we host instead of a CNAME.


The issue I run into lately with some domains is that a client has a 
website with a industry host such as frank.relator.com and he wants to 
have DNS point www.frank.com to frank.relator.com with a CNAME. The 
client does not want an A record for frank.com.


Somewhere, in a class far far away, I was taught a DNS zone had to have 
a A record to function properly. I can't seem to locate anything in the 
RFCs.


Am I wrong?

Thanks,

DAve


--
"Posterity, you will know how much it cost the present generation to
preserve your freedom.  I hope you will make good use of it.  If you
do not, I shall repent in heaven that ever I took half the pains to
preserve it." John Quincy Adams

http://appleseedinfo.org

___
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: DNS Question

2009-10-23 Thread DAve

Sean Cavanaugh wrote:

 > Date: Fri, 23 Oct 2009 08:30:08 -0400
 > From: dave.l...@pixelhammer.com
 > To: freebsd-questions@freebsd.org
 > Subject: DNS Question
 >
 > Good morning.
 >
 > I have been asked by my co-workers and sales why I always create a A
 > record for new domains we host instead of a CNAME.
 >
 > The issue I run into lately with some domains is that a client has a
 > website with a industry host such as frank.relator.com and he wants to
 > have DNS point www.frank.com to frank.relator.com with a CNAME. The
 > client does not want an A record for frank.com.
 >
 > Somewhere, in a class far far away, I was taught a DNS zone had to have
 > a A record to function properly. I can't seem to locate anything in the
 > RFCs.
 >
 > Am I wrong?
 >

 
I think you are confusing basics of DNS records. you are partially 
correct in that a DNS zone needs an initial A record to be able to 
translate a name to an IP, but there is nothing wrong about setting up a 
CNAME to point to a record in a different zone instead. you just cannot 
do a zone that has a CNAME only that does not at some point to a valid A 
record. CNAMEs are forwarders only whereas A records are actual lookups.
 
for proper way to set this up
 
The A record would be assigned for the main name that you want to 
associate to an IP address.
The CNAME record just relates a different name to that original name. 
this allows you to change the IP address of the server and only have to 
update the original A record instead of every DNS record for that server.
 
for small number of vhosts, this would not really be an issue, but 
imagine if you were hosting a couple hundred vhosts from a single IP and 
then had to change that IP because you switched your ISP. It would take 
you a LONG time to update them if they were all A records, but only a 
couple of seconds if you had it properly set up as CNAME's
 
www.bobshosting.com <http://www.bobshosting.com>A 192.168.0.1
www.vhost1.com <http://www.vhost1.com>  CNAME  
www.bobshosting.com <http://www.bobshosting.com>.
www.vhost2.com <http://www.vhost2.com>  CNAME  
www.bobshosting.com <http://www.bobshosting.com>.
www.vhost3.com <http://www.vhost3.com>  CNAME  
www.bobshosting.com <http://www.bobshosting.com>.
www.vhost4.com <http://www.vhost4.com>  CNAME  
www.bobshosting.com <http://www.bobshosting.com>.


 
 
-Sean


All true, and I did not do a very good job of explaining it. My issue 
was that we have requests to use a CNAME for the domain record. Such as 
this.


example.com  CNAME  otherdomain.com
www.example.com  CNAME   otherdomain.com

I was taught this was not good form, but allowed. I can deal with it. 
But what of having a SOA record for example.com, no A or CNAME record 
for the TLD example.com, only hosts such as www, ns1, ftp, etc.


I tried it an it seems to work fine, but doesn't look proper to me. Then 
again I remember when CNAME were considered evil.


DAve

--
"Posterity, you will know how much it cost the present generation to
preserve your freedom.  I hope you will make good use of it.  If you
do not, I shall repent in heaven that ever I took half the pains to
preserve it." John Quincy Adams

http://appleseedinfo.org

___
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: FW: DNS Question

2009-10-26 Thread DAve

krad wrote:


a few massive assumptions here I feel.

1. all the domains are controlled by said person
2. Are on the same server
3. Fits with the relevent provisioning system,
4. Is probably are using bind


You betcha, though all good information.

1. Nope, the CNAME is not controlled by me.
2. Nope, the CNAMEd sites are on another provider.
3. Yes, it is possible by our support system.
4. Nope, no bind here.

I have been reading the info everyone posted, and I configured a domain 
as I was asked. Since the reconfigured domain did no harm to my servers, 
I am inclined to let them do it. If it is the right thing to do, or the 
proper thing to do, seems to matter little those in the big offices. If 
they can find nowhere on the internet where it says "THOU SHALL NOT DO 
", they believe  is industry standard.


So WTH, I'll do it, so long as it doesn't cause my pager to go beep in 
the night.


I am too tired of arguing to keep it up anymore.

Thanks,

DAve


--
"Posterity, you will know how much it cost the present generation to
preserve your freedom.  I hope you will make good use of it.  If you
do not, I shall repent in heaven that ever I took half the pains to
preserve it." John Quincy Adams

http://appleseedinfo.org

___
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: DNS Question

2009-10-28 Thread DAve

Chuck Swiger wrote:

On Oct 23, 2009, at 10:31 AM, Matthew Seaman wrote:
You aren't supposed to use CNAMES for anything found in other RR's; 
in particular, you should always use an A record with the hostnames 
used for nameservers (ie, have an NS record), because you are 
supposed to be using the canonical name rather than an alias.


Errr?  You mean the rule that NS and MX and SRV rdata must include an 
A record

rather than a CNAME?  That's true, but what does that have to do with web
serving?


Consider the case of redirects involving cnames; you end up with a lot 
of extra DNS traffic.


The illegality mentioned further upthread is that you can't use a 
CNAME at a zone apex because of the 'CNAME and other data rule'[*] -- 
as there's always got to be SOA and NS records at the zone apex, if 
you want a web page at 'example.com' you'ld have to provide an A or 
 record for it.  Unless you're Verisign and have control over the 
nameservers for .com, this is almost certainly illegal:


example.com. IN CNAME www.example.com

On the other hand:

www.example.com. IN CNAME example.com.

is generally fine.


It's generally fine, sure, but almost never ideal.  You don't save 
traffic by using CNAMEs instead of A records



PS: It's odd where google pulls up references to fairly canonical
docs, sometimes.  I'm not sure I even recognize "ua", and I suspect I
deal with two-letter ISO 3166 country names more than most folks do.
Maybe Ukraine?  :-)


Of course it's Ukraine.  .uk was already taken, even though the two 
letter
iso-code for this country is officially .gb.  We're in an exclusive 
club of
two nations that generally don't use their official iso-code in the 
DNS.  No

prizes for guessing which the other one is.


Shucks, how can you pull in Jeopardy references and then deny giving out 
prizes?  Well, my guess would be ie, although people who speak Finnish 
and call their home "Suomi" might find "fi" odd, also



Cheers,

Matthew

[*] Little known factoid, but there are two legal exceptions to the 
'CNAME
and other data' rule.  You can have RRSIG or NSEC records at the same 
label

as CNAME -- see RFC 4035.  Obscure DNS trivia for 100, Alex...


Regards,



Just so everyone knows, having a domain with a CNAME at the top will 
hose your mail traffic. We tried it, and some servers delivered fine, 
others did not. Checking with dig +trace, and dns stuff, showed the 
problem. Just trying to get a MX record for mainstreetfin.com would fail.


The record we had was,
mainstreetfin.com CNAME website.elliemae.com

And the problem is shown below.

---
DNS Lookup: mainstreetfin.com MX record

Searching for mainstreetfin.com MX record at a.root-servers.net 
[198.41.0.4]: Got referral to M.GTLD-SERVERS.NET. (zone: com.) [took 39 ms]


Searching for mainstreetfin.com MX record at M.GTLD-SERVERS.NET. 
[192.55.83.30]: Got referral to ns2auth.tls.net. (zone: 
mainstreetfin.com.) [took 11 ms]


Searching for mainstreetfin.com MX record at ns2auth.tls.net. 
[65.123.104.30]: Got CNAME of website.elliemae.com. and referral to 
k.root-servers.net [took 36 ms]


Searching for website.elliemae.com MX record at g.root-servers.net 
[192.112.36.4]: Got referral to I.GTLD-SERVERS.NET. (zone: com.) [took 
143 ms]


Searching for website.elliemae.com MX record at I.GTLD-SERVERS.NET. 
[192.43.172.30]: Got referral to ns2.elliemae.net. (zone: elliemae.com.) 
[took 63 ms]


Searching for website.elliemae.com MX record at ns2.elliemae.net. 
[63.241.88.21]: Timed out. Trying again.


Searching for website.elliemae.com MX record at ns2.elliemae.net. 
[63.241.88.21]: Timed out. Trying again.


Searching for website.elliemae.com MX record at ns1.elliemae.net. 
[216.35.165.21]: Reports that no MX records exist. [took 46 ms]


Response:
No MX records exist for website.elliemae.com. [Neg TTL=300 seconds]

Details:
ns1.elliemae.net. (an authoritative nameserver for elliemae.com.) says 
that there are no MX records for website.elliemae.com.
The E-mail address in charge of the elliemae.com. zone is: 
hostmas...@elliemae.com.


NOTE: One or more CNAMEs were encountered. mainstreetfin.com is really 
website.elliemae.com.


----

So some mail servers never asked our authoritative servers what the MX 
record was. Interesting.


DAve

--
"Posterity, you will know how much it cost the present generation to
preserve your freedom.  I hope you will make good use of it.  If you
do not, I shall repent in heaven that ever I took half the pains to
preserve it." John Quincy Adams

http://appleseedinfo.org

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


Source of closed port RST responses

2009-12-20 Thread DAve
I am routinely seeing these entries in one of my servers logs.

Limiting closed port RST response from 373 to 200 packets/sec

The server sits behind a PIX firewall, so I am suspicious of what is
trying to connect to a closed port. I don't see in any other logs what
port is being hit, or what IP is causing these log entries.

Any way to tell what the source IP of these is?

Thanks,

DAve
-- 
"Posterity, you will know how much it cost the present generation to
preserve your freedom.  I hope you will make good use of it.  If you
do not, I shall repent in heaven that ever I took half the pains to
preserve it." John Adams

http://appleseedinfo.org

___
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: Source of closed port RST responses

2009-12-20 Thread DAve
Jon Radel wrote:
> DAve wrote:
>> I am routinely seeing these entries in one of my servers logs.
>>
>> Limiting closed port RST response from 373 to 200 packets/sec
>>
>> The server sits behind a PIX firewall, so I am suspicious of what is
>> trying to connect to a closed port. I don't see in any other logs what
>> port is being hit, or what IP is causing these log entries.
>>
>> Any way to tell what the source IP of these is?
>>
>> Thanks,
>>
>> DAve
> 
> Easiest way, probably without any "observer effect," would be to mirror
> the switch port your server is plugged into and use a computer running
> wireshark, or equivalent, to look at the mirrored traffic.
> 
> Unless, of course, your switch doesn't support port mirroring, you don't
> have a spare computer running wireshark, etc., etc.  It's obviously hard
> to tell what resources you have available to you.
> 
> You can also install wireshark from ports on your server, but depending
> on disk space, how "pristine" you want your server to remain, and
> internal security rules (wireshark, particularly some of the protocol
> decoders, is not without its own issues), there are some downsides to this.
> 
> Also remember that source IPs can be forged, so look at the MAC address
> information as well if things appear to be really odd.
> 

I've asked my network guys if they were doing any scans inside the
network, they say they are not. I had looked extensively online for any
help and came up empty handed. I might be able to run wireshark on the
server, though it is a mailgateway and quite busy, I do not want to
disrupt traffic if possible.

I will be installing pf this week, I just need to write up my rule sets
for these servers. I had been working on the webservers first. Is there
a rule I can use to log connection attempts to closed ports?

Thanks,

-- 
"Posterity, you will know how much it cost the present generation to
preserve your freedom.  I hope you will make good use of it.  If you
do not, I shall repent in heaven that ever I took half the pains to
preserve it." John Adams

http://appleseedinfo.org

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


kernel error when upgrading to 7.0

2008-03-10 Thread Dave

Hello,
   I've got a 6.2 or 3 box that i'm wanting to update to 7.0. I've cvsupped 
my source, made world, and built a kernel, all went successfully. This is 
the GENERIC kernel. When i do a make installkernel i am getting the error


kldxref: file isn't dynamically linked

   Is this a show stopping error/ if so is there a workaround?
Thanks.
Dave.

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


Re: kernel error when upgrading to 7.0

2008-03-10 Thread Dave

Hello,
   Previously i've done make buildworld, make buildkernel, make 
installkernel, shutdown to single user mode, mergemaster -p, make 
installworld, mergemaster, boot multiuser. Has this procedure changed?

Thanks.
Dave.

- Original Message - 
From: "Norman Maurer" <[EMAIL PROTECTED]>

To: "Dave" <[EMAIL PROTECTED]>
Cc: 
Sent: Monday, March 10, 2008 10:40 PM
Subject: Re: kernel error when upgrading to 7.0



Hi,

you have to exec "make installworld" before exec "make installkernel"
..

bye
Norman

Am Montag, den 10.03.2008, 21:11 -0400 schrieb Dave:

Hello,
I've got a 6.2 or 3 box that i'm wanting to update to 7.0. I've 
cvsupped

my source, made world, and built a kernel, all went successfully. This is
the GENERIC kernel. When i do a make installkernel i am getting the error

kldxref: file isn't dynamically linked

Is this a show stopping error/ if so is there a workaround?
Thanks.
Dave.

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


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


Re: kernel error when upgrading to 7.0

2008-03-10 Thread Dave

Hi,
   Thanks for your reply. What's my issue with this kernel msg?
Thanks.
Dave.

- Original Message - 
From: "D Hill" <[EMAIL PROTECTED]>

To: "Dave" <[EMAIL PROTECTED]>
Cc: ; "Norman Maurer" <[EMAIL PROTECTED]>
Sent: Tuesday, March 11, 2008 12:58 AM
Subject: Re: kernel error when upgrading to 7.0



On Tue, 11 Mar 2008 at 00:41 -0400, [EMAIL PROTECTED] confabulated:


Hello,
  Previously i've done make buildworld, make buildkernel, make 
installkernel, shutdown to single user mode, mergemaster -p, make 
installworld, mergemaster, boot multiuser. Has this procedure changed?

Thanks.
Dave.


According to:

  http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/makeworld.html

under the heading "23.4.1 The Canonical Way to Updating Your System" you 
would be correct.


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


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


safesquid on freebsd

2008-03-13 Thread Dave

Hello,
   Is anyone using safesquid from www.safesquid.com on FreeBSD? I read 
there was a patch for it for 5.3, but didn't see anything for 6 or 7, so was 
curious.

Thanks.
Dave.

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


freebsd 7.0 sshd authenticating against ldap core dumping

2008-03-15 Thread Dave

Hello,
Is anyone using ldap authentication with 7.0? I've got a 7.0-release box 
that i'm trying to get ldap authentication working with. The 7.0 box is the 
client in this case. I'm encrypting connections with tls, which is working. 
On the box itself i can do an ldapsearch for a user and an id for a user 
plus ls -l information on users shows up correctly. I've added ldap to my 
/etc/nsswitch.conf file. So far nothing has blown up, i can still log in as 
normal. My issue comes when i add the line:


auth sufficient /usr/local/lib/pam_ldap.so try_first_pass

to /etc/pam.d/sshd and restart sshd. Now whenever i try to log in either as 
a local user, nonldap or as an ldap user sshd exits with a signal 11, this 
only occurs with that line in pam.d/sshd, remove it and restart and all is 
well. I've googled and seen others with this but with no solution. My logs 
show sshd exiting with the signal 11 then nothing. An ssh -v -v -v shows the 
connection is closed after the file ~/.ssh/identity is searched for.

   Any help appreciated.
Thanks.
Dave.

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


Odd aliasing question

2008-03-20 Thread DAve
I've looked but found no examples to give me confidence. While I have 
lots of servers running alias IPs the IPs are all on the same network. 
I've have been informed by my network admin that we will need to change 
the IPs of our legacy name servers (we are just dragging them along for 
a time, new name servers are up and domains are being moved to them).


Currently the IP of ns2 is 208.252.191.2, this needs to change to 
65.123.104.25. The network admin is telling me he will have the router 
for that NOC cage handle both IPs no problems. However I need to 
continue answering the old IP until clients can get their equipment 
reconfigured.


Can I alias 208.252.191.2 once I change the NIC's IP to 65.123.104.25 
with a default route of 65.123.104.1?


What netmask would use for the alias line?

This seems not possible to me, but you can learn something new everyday...

Thanks,

DAve
--
Google finally, after 7 years, provided a logo for
veterans. Thank you Google. What to do with my signature now?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Odd aliasing question

2008-03-21 Thread DAve

Vince wrote:

DAve wrote:
I've looked but found no examples to give me confidence. While I have 
lots of servers running alias IPs the IPs are all on the same network. 
I've have been informed by my network admin that we will need to 
change the IPs of our legacy name servers (we are just dragging them 
along for a time, new name servers are up and domains are being moved 
to them).


Currently the IP of ns2 is 208.252.191.2, this needs to change to 
65.123.104.25. The network admin is telling me he will have the router 
for that NOC cage handle both IPs no problems. However I need to 
continue answering the old IP until clients can get their equipment 
reconfigured.



This will work fine.

Can I alias 208.252.191.2 once I change the NIC's IP to 65.123.104.25 
with a default route of 65.123.104.1?



yes,

What netmask would use for the alias line?


Whatever you currently use for those IPs.


Well whaddaya know. Seems non intuitive to me but I'll give it a shot 
and use 0x same as any other alias.




This seems not possible to me, but you can learn something new 
everyday...


I've been supporting servers for about 10 years and I'm still learning 
:) Thats why its still fun.




I don't know about fun, interesting for certain ;^)

Thanks,

DAve


--
Google finally, after 7 years, provided a logo for
veterans. Thank you Google. What to do with my signature now?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Reconditioned Laptop advice

2008-03-28 Thread DAve

Robert Huff wrote:

Predrag Punosevac writes:


 ThinkPads are the highest quality machines. I honestly thing that
 there is nothing on the market which matches their quality
 including Apple laptops.


/Caveat emptor/.  I'm hearing reports from those who deal with
laptops much more that I do that quality has dropped substantially
since Lenovo took over.


I am on my second Thinkpad/Lenovo, first a G40, now a R61i. I only 
replaced my G40 because it wouldn't hold enough ram to run VMWare 
player. I do not think the quality has suffered at all. I cannot say it 
runs FreeBSD well, though any FreeBSD live CD ran without error and 
everything functioned on the G40. I run FreeBSD in VMWare on the R61i.


Fantastic keyboards, long battery life, great screens. They hold up very 
well as I am hard on equipment. These things are tanks.


DAve


--
In 50 years, our descendants will look back on the early years
of the internet, and much like we now look back on men with
rockets on their back and feathers glued to their arms, marvel
that we had the intelligence to wipe the drool from our chins.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Reference to instant-workstation port/package, freebsd-tips.

2008-04-16 Thread Dave
A reference to /usr/ports/misc/instant-workstation is in the
/usr/share/games/fortune/freebsd-tips file at line number 405.
I do not see instant-workstation listed in /usr/ports/misc at this time.
What mailing list should I send this query to?
Thank's in advance,

Dave

-- 
my local time is PDT or UTC/GMT Offset -7 hours.
[EMAIL PROTECTED]
end.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


FBSD 6.2 Xeon 2.4ghz CPU and high load

2008-05-09 Thread DAve

Good morning.

I recently upgraded our two email gateways from 4.8 to 6.2. The required 
software was upgraded as well which consists of MailScanner and 
Sendmail. Both had been keep up to date so it was not a jump in required 
resources.


The issue I am seeing is that my server load, under the same traffic 
load, has increased 4 times or more. Where previously we saw a high load 
on the servers of 5 to 8, we are now seeing 14 to 17. Since the upgrade 
Sendmail has begun to timeout connections.


I have been digging through the system, mail lists, forums, anything to 
help determine the cause of the increased load. Here are some examples 
of what I am seeing.


bash-2.05b# vmstat -w2
 procs  memory  pagedisks faults  cpu
 r b w avmfre  flt  re  pi  po  fr  sr da0 da1   in   sy  cs us 
sy id
12 5 0 2234516 199864  772   4   0   4 431 447   0   0  485  564 927 29 
 4 67
11 6 0 2229788 181352 8631   0   0   0 5597   0   0   0  294 2592 1236 
45  5 50
 9 5 0 2227208 168144 6456   0   0   0 4607   0   2   0  278 1333 898 
46  4 50
11 5 0 2229068 175868 5164   0   0   0 5423   0   0   0  212  766 541 47 
 3 50
14 7 0 1948392 236296 8136   0   0   0 12382   0  14   0  368 4135 1504 
42  8 50
 4 3 2 1744620 321024 7550   0   0   0 13454   0  23   6  752 11417 
3919 42  8 50
12 5 0 1951788 258944 12490   0   0   0 11295   0   0   5  727 18566 
4844 40 10 50
16 6 0 2155668 214324 8231   0   0   0 4230   0   1  29  724 15531 4381 
41  9 50
 8 6 1 2044828 242084 4567   0   0   0 9119   0   0  12  774 12196 3225 
43  7 50



bash-2.05b# top
last pid: 85205;  load averages: 12.89, 13.78, 14.66 
 up 
47+15:51:31  15:20:01

126 processes: 12 running, 79 sleeping, 35 zombie
CPU states: 43.8% user,  0.0% nice,  6.3% system,  0.0% interrupt, 50.0% 
idle

Mem: 1008M Active, 582M Inact, 211M Wired, 78M Cache, 112M Buf, 122M Free
Swap: 4096M Total, 304M Used, 3792M Free, 7% Inuse

I am suspicious of the kernel being the culprit because the system looks 
as if it is not working very hard, CPU load never shows above 50% idle. 
I found one thread which mentions that as an issue and offers a patch.


http://lists.freebsd.org/pipermail/freebsd-bugs/2007-February/022526.html

Currently I am running the SMP-GENERIC kernel and sysctl shows the 
following.


hw.model: Intel(R) Xeon(TM) CPU 2.40GHz
machdep.hlt_logical_cpus: 0
machdep.hyperthreading_allowed: 0
kern.smp.cpus: 4
I see dev.cpu.0 through dev.cpu.3

Can anyone offer a solution? Is this a known issue I can easily correct? 
At this point I am left with either rolling back to 4.11 or trying 
another OS.


I am thinking I have missed something obvious and I need to make a 
sysctl change to get the system working properly. Any help is 
appreciated, I'm losing mail.


Thanks,

Dave

--
In 50 years, our descendants will look back on the early years
of the internet, and much like we now look back on men with
rockets on their back and feathers glued to their arms, marvel
that we had the intelligence to wipe the drool from our chins.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: FBSD 6.2 Xeon 2.4ghz CPU and high load

2008-05-09 Thread DAve

Wojciech Puchar wrote:
software was upgraded as well which consists of MailScanner and 
Sendmail. Both had been keep up to date so it was not a jump in 
required resources.


The issue I am seeing is that my server load, under the same traffic 
load, has increased 4 times or more. Where previously we saw a high 
load on the servers of 5 to 8, we are now seeing 14 to 17. Since the 
upgrade Sendmail has begun to timeout connections.


do you feel that system goes slower?
i think it's just the matter of calculation method - 6.* may calculate 
it different way.


just change in your sendmail config the values in place of xx

define(`confQUEUE_LA', `xx')
define(`confREFUSE_LA', `xx')


as just accepting mail isn't a problem i set confREFUSE_LA very high


It is already set to higher than the load we see. I don't "see" sendmail 
refusing connections. What happens is I try to test sendmail from 
another server and the connection never completes. I'm knockin', 
sendmail ain't answering.


DAve


--
In 50 years, our descendants will look back on the early years
of the internet, and much like we now look back on men with
rockets on their back and feathers glued to their arms, marvel
that we had the intelligence to wipe the drool from our chins.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: FBSD 6.2 Xeon 2.4ghz CPU and high load

2008-05-09 Thread DAve

Wojciech Puchar wrote:

FreeBSD 6.2 is I believe slower than 4.11 for single processor systems
and processes which pretty much run single threaded -- ie. exactly what
you're trying to run.  This would cause exactly the sort of symptoms 
you're

seeing.


and what most unix users do.


Try 7.0 instead -- it has all of the speed at multi-threaded, multi-core
type stuff but has also regained the sort of performance levels you could


so 4.11 is fastest?


I would be inclined to try another version if I knew what the cause of 
this issue was exactly, and I saw in the release notes that the issue 
was resolved in 7.X. But I cannot just try a new version on a production 
server as an experiment. I've hosed this up enough thinking 6.2 was out 
long enough to not surprise me.


I've not compared them on any server running multiple CPUs, but on a 
single physical CPU server I've yet to see 5.X or 6.X keep up with 4.X. 
I've been poo poo'd heartily for saying so, more than once.


I would hope, and I do think, this is easily solved. I've already had 
one private email stating a binary upgrade to 6.3 solved the same 
problem for them. I wish I could find that email again 8^(


DAve


--
In 50 years, our descendants will look back on the early years
of the internet, and much like we now look back on men with
rockets on their back and feathers glued to their arms, marvel
that we had the intelligence to wipe the drool from our chins.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: FBSD 6.2 Xeon 2.4ghz CPU and high load

2008-05-09 Thread DAve

Chuck Swiger wrote:

On May 9, 2008, at 11:30 AM, Wojciech Puchar wrote:

Try 7.0 instead -- it has all of the speed at multi-threaded, multi-core
type stuff but has also regained the sort of performance levels you 
could


so 4.11 is fastest?


For single-processor systems, FreeBSD 4.11 does very well at a lot of 
tasks.  However, Dave apparently has a 4-CPU system (~8 threads if he 
enabled hyperthreading), and for real SMP hardware, more recent versions 
of FreeBSD generally perform better than 4.x would.


Single CPU quad core.

ps -aux output is up, look under the FBSD dir. I also put up both 
dmesg.boot files from the servers.


http://pixelhammer.com/Dan/

I do appreciate the assistance.

DAve


--
In 50 years, our descendants will look back on the early years
of the internet, and much like we now look back on men with
rockets on their back and feathers glued to their arms, marvel
that we had the intelligence to wipe the drool from our chins.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: FBSD 6.2 Xeon 2.4ghz CPU and high load

2008-05-09 Thread DAve

Chuck Swiger wrote:

On May 9, 2008, at 11:55 AM, DAve wrote:
For single-processor systems, FreeBSD 4.11 does very well at a lot of 
tasks.  However, Dave apparently has a 4-CPU system (~8 threads if he 
enabled hyperthreading), and for real SMP hardware, more recent 
versions of FreeBSD generally perform better than 4.x would.


Single CPU quad core.


OK.

ps -aux output is up, look under the FBSD dir. I also put up both 
dmesg.boot files from the servers.


MailScanner is what is taking up all of the load; tuning that area is 
where you need to focus.


Things which come to mind are trying to limit the max number of children 
of that being run to something smaller, perhaps 8 or so.  Yes, they 
recommend running 5 * #CPUs, but they also think their instances are 
going to be around 20MB in size, but yours are running at 100+ MB size.


You might find that running sa-update and sa-compile nightly might 
improve your SpamAssassin performance; I've got a crontab setup which 
runs the following nightly:


% cat /usr/local/bin/update-spamassassin
#! /bin/sh

PATH=$PATH:/usr/local/bin

sa-update --allowplugins --gpgkey 
D1C035168C1EBC08464946DA258CDB3ABDE9DC10 --channel 
saupdates.openprotect.com --channel updates.spamassassin.org

sa-compile

kill -HUP `cat /var/run/vscan/spamd.pid`

(If you aren't running spamd because MailScanner uses builtin interface 
to SpamAssassin, comment out the last line.  But do check the sa-compile 
docs, you have to make a change for it to be used)


Regards,


I appologize I should have given more info.

We do run sa-update, and sa-compile. We also run 0 scores on most DNSBL 
tests as we run those at the mta level along with milter-greylist, 
milter-ahead, pipelining rejection, and greet pause. We have been 
running a very trimmed down and fine tuned system for about two years 
now with good results. I do think the upgrade to SA 3.2.4 is very heavy, 
considerably more resource usage than 3.1.8 which we were running prior 
to the OS upgrade.


I have not changed the settings for MailScanner from our previous 
install with respect to number of children or to batch size. Previous 
testing showed that 13 MS children with a batch size of 10 messages was 
optimal. I can certainly give that a try.  I will look at enabling 
Hyperthreading as well.


I've also found this, which may be a clue to the suggestion that a 
binary upgrade to 6.3 was a solution.


DAve
http://lists.freebsd.org/pipermail/freebsd-current/2007-April/070986.html

--
In 50 years, our descendants will look back on the early years
of the internet, and much like we now look back on men with
rockets on their back and feathers glued to their arms, marvel
that we had the intelligence to wipe the drool from our chins.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: FBSD 6.2 Xeon 2.4ghz CPU and high load

2008-05-09 Thread DAve

Chuck Swiger wrote:

On May 9, 2008, at 8:54 AM, DAve wrote:
The issue I am seeing is that my server load, under the same traffic 
load, has increased 4 times or more. Where previously we saw a high 
load on the servers of 5 to 8, we are now seeing 14 to 17. Since the 
upgrade Sendmail has begun to timeout connections.


You should look more into the status of the various processes, and how 
long it takes your mail scanning to process a message compared to 
previously.  It might be the case that the config under 6.2 is allowing 
more instances to run at once and is just barely nudging the system into 
excessive paging.  Once that happens, performance drops and the system 
load increases significantly.


Do a couple of "ps aux | head -20" every 5 minutes or so, and put that 
data somewhere on a website, the process states will help give a better 
picture of what's going on.


[ ... ]

bash-2.05b# top
last pid: 85205;  load averages: 12.89, 13.78, 
14.66  up 
47+15:51:31  15:20:01

126 processes: 12 running, 79 sleeping, 35 zombie
CPU states: 43.8% user,  0.0% nice,  6.3% system,  0.0% interrupt, 
50.0% idle

Mem: 1008M Active, 582M Inact, 211M Wired, 78M Cache, 112M Buf, 122M Free
Swap: 4096M Total, 304M Used, 3792M Free, 7% Inuse

I am suspicious of the kernel being the culprit because the system 
looks as if it is not working very hard, CPU load never shows above 
50% idle. I found one thread which mentions that as an issue and 
offers a patch.


http://lists.freebsd.org/pipermail/freebsd-bugs/2007-February/022526.html

Currently I am running the SMP-GENERIC kernel and sysctl shows the 
following.


hw.model: Intel(R) Xeon(TM) CPU 2.40GHz
machdep.hlt_logical_cpus: 0
machdep.hyperthreading_allowed: 0
kern.smp.cpus: 4
I see dev.cpu.0 through dev.cpu.3

Can anyone offer a solution? Is this a known issue I can easily 
correct? At this point I am left with either rolling back to 4.11 or 
trying another OS.


It might be reasonable to try hyperthreading enabled, as your type of 
load might be improved by it on




Funny that, enabling hyperthreading immediately dropped my load by half, 
I see CPU0, CPU1, CPU2, CPU3 now in top. I also see my CPU load 
reporting correctly as well. I see ranges from 10% idle to 80% idle, not 
locked at 50% and above.


That seems to have cured several ills. I will know more Monday at 8:30am 
when the business email traffic kicks in.


DAve


--
In 50 years, our descendants will look back on the early years
of the internet, and much like we now look back on men with
rockets on their back and feathers glued to their arms, marvel
that we had the intelligence to wipe the drool from our chins.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: freebsd7 on older machines

2008-05-10 Thread DAve

Wojciech Puchar wrote:

installation cdrom.

i want to create a series of 'dumb terminals' which can ssh -Y into a


make X server running - you will be able to remotely use X apps too.


faster machine. if necessary i suppose i can floppy in and then install
via nfs. or i can setup the hd on another machine that does support the
install cdrom and then transfer to the older machine.

here are the specific questions:

1. do older machines work better with older versions of freebsd?


should work with FreeBSD 7, but i would rather use 6.*


2. if i dd a hd (with freebsd) onto another hd will i have a problem
with the mbr and be unable to boot?


no. it will work


You can use rdump this way, I have done it many many times to "clone" a 
server from one piece of hardware to another.


Boot with a live filesystem CD on the target machine
Mount your partitions under /mnt/ufs.1, /mnt/ufs.2, /mnt/ufs.3 (etc)
Then rdump from the source machine
Edit your conf files
Reboot

Easy as pie ;^)

DAve

--
In 50 years, our descendants will look back on the early years
of the internet, and much like we now look back on men with
rockets on their back and feathers glued to their arms, marvel
that we had the intelligence to wipe the drool from our chins.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: freebsd7 on older machines

2008-05-10 Thread DAve

Wojciech Puchar wrote:

no. it will work


You can use rdump this way, I have done it many many times to "clone" 
a server from one piece of hardware to another.

but don't forget to bsdlabel -B then




Boot with a live filesystem CD on the target machine
Mount your partitions under /mnt/ufs.1, /mnt/ufs.2, /mnt/ufs.3 (etc)
The trick is the live CD. You setup the drives/partitions first. You 
mount them ready to go on the target machine before you rdump.


DAve


Then rdump from the source machine
Edit your conf files
Reboot

Easy as pie ;^)

DAve

--
In 50 years, our descendants will look back on the early years
of the internet, and much like we now look back on men with
rockets on their back and feathers glued to their arms, marvel
that we had the intelligence to wipe the drool from our chins.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
"[EMAIL PROTECTED]"




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






--
In 50 years, our descendants will look back on the early years
of the internet, and much like we now look back on men with
rockets on their back and feathers glued to their arms, marvel
that we had the intelligence to wipe the drool from our chins.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: FBSD 6.2 Xeon 2.4ghz CPU and high load

2008-05-12 Thread DAve

DAve wrote:

Chuck Swiger wrote:
It might be reasonable to try hyperthreading enabled, as your type of 
load might be improved by it on




Funny that, enabling hyperthreading immediately dropped my load by half, 
I see CPU0, CPU1, CPU2, CPU3 now in top. I also see my CPU load 
reporting correctly as well. I see ranges from 10% idle to 80% idle, not 
locked at 50% and above.


That seems to have cured several ills. I will know more Monday at 8:30am 
when the business email traffic kicks in.


DAve


Just a quick note, we survived the day in good form. The servers have 
dropped their load numbers by 50% under a heavy load and by 80% under a 
normal load. More importantly, Nagios shows that SMTP is always 
responding and the load balancers are now showing a max of 34 active 
connections on each server where before they were showing 350+. 
Connections are opening and closing far far quicker.


machdep.hyperthreading_allowed=1 has been added to /etc/sysctl.conf

On a related note, I met Chuck back in 1999 in Seattle at a SeaFug 
meeting. I doubt he remembers me but he and John Polstra coached me 
through changing from a Mac Admin to a BSD admin. I've read Chuck's 
posts on multiple maillists that we both have, or do, share 
subscriptions to. Chuck, you are always helpful, never mean, and you 
encourage detective work to identify a problem rather than recite the 
"upgrade" mantra. Your knowledge has helped countless people over the 
years, including me. I appreciate that.


If you have a wish list, I can't find it. I would sure like to buy you a 
CD or something since I can't buy you a beer.


Thank you for your time, thanks to everyone on the list for their time.

DAve

--
In 50 years, our descendants will look back on the early years
of the internet, and much like we now look back on men with
rockets on their back and feathers glued to their arms, marvel
that we had the intelligence to wipe the drool from our chins.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Lenovo ThinkPad -- good as IBM?

2008-05-19 Thread DAve

Joachim Rosenfeld wrote:

I had an IBM ThinkPad T41 that I was using until recently. It was rock
solid, ran FreeBSD perfectly, handled all abuse I threw at it (I dropped
it a couple of times), and generally did everything I needed it to do.

I switched jobs so I had to return that T41, so I'm thinking about
buying a ThinkPad of my own.

Since the T41 however, IBM has sold its ThinkPad line to Lenovo. I've
only heard anecdotal stories about Lenovo, and its largely been about
driver compatibility.

Can anyone comment on whether or not Lenovo has maintained the IBM
quality standards for the ThinkPad line, whether or not a Lenovo would
make a good FreeBSD laptop, or suggest some alternatives?

thanks,
Joe


I am on my third Stinkpad and this one is a Lenovo R61i. I believe it is 
just as solid as my previous Stinkpads, I love it, wouldn't trade it. I 
have not installed FreeBSd on any of them, but my last ( a G40 ) and 
this R61i run Desktop BSD and PCBSD in vmware wonderfully.


DAve
--
In 50 years, our descendants will look back on the early years
of the internet, and much like we now look back on men with
rockets on their back and feathers glued to their arms, marvel
that we had the intelligence to wipe the drool from our chins.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Trouble upgrading qt33 with portupgrade after package installation

2008-05-23 Thread DAve

Ross Gohlke wrote:

I have been running FreeBSD 6 successfully for over a year without
installing any ports from packages. I have had great success using ports
but sticking with make install clean/portupgrade.

I recently decided to try running X11/KDE. I thought I would save some
time and learn a new trick with pkg_add kde.

Mixing the two confuses me because portversion does not report whether an
installed port was compiled from source or copied from a package, and
portupgrade hasn't worked on some packages.
Here's the latest:

portupgrade -vr qt





Stop in /usr/ports/x11-toolkits/qt33.
** Command failed [exit code 1]: /usr/bin/script -qa
/tmp/portupgrade.12485.0 env UPGRADE_TOOL=portupgrade
UPGRADE_PORT=qt-3.3.8_6 UPGRADE_PORT_VER=3.3.8_6 make
** Fix the problem and try again.
--->  Build of x11-toolkits/qt33 ended at: Thu, 22 May 2008 16:53:59 -0500
(consumed 00:51:34)
--->  Upgrade of x11-toolkits/qt33 ended at: Thu, 22 May 2008 16:53:59
-0500 (consumed 00:51:34)
--->  ** Upgrade tasks 1: 0 done, 0 ignored, 0 skipped and 1 failed
--->  Listing the results (+:done / -:ignored / *:skipped / !:failed)
! x11-toolkits/qt33 (qt-3.3.8_6)(linker error)
--->  Packages processed: 0 done, 0 ignored, 0 skipped and 1 failed
--->  Session ended at: Thu, 22 May 2008 16:53:59 -0500 (consumed 00:51:47)


Is there a particular port I need to reinstall from source to fix this, or
another solution?

Thanks.

Ross Gohlke


I've had that happen, no explanation why. I have had luck switching from 
a pkg to a port by doing the following within the port you are upgrading.


make deinstall
make clean
make reinstall

Then portupgrade will work with the port fine. There is the possibility 
that you may need to remove the pkg using pkg delete and then do a fresh 
install from ports. X is big, I have not used X in years as all my 
systems are servers, I generally use only ports if I don't install from 
source. Someone with more experience than me might have a better answer.


Of course, if you follow my advice blindly your system may explode, or 
worse ;^)


DAve

PS, Denise says HOWDY!


--
In 50 years, our descendants will look back on the early years
of the internet, and much like we now look back on men with
rockets on their back and feathers glued to their arms, marvel
that we had the intelligence to wipe the drool from our chins.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Stumped:: web HTML. Caution, may be OT.

2008-05-29 Thread DAve

Gary Kline wrote:

On Thu May 29 2008 00:39:06 Christian Zachariasen wrote:

On Thu, May 29, 2008 at 8:57 AM, Gary Kline <[EMAIL PROTECTED]> wrote:

   Several weeks ago a friend asked why my www.thought.org page
   was so hard to read.  She said that part of my text was black
   on the deep-blue bg on my RHS.  I stopped and checked with
   firefox; things looked fine.  I've done all markup by hand since
   '94, very carefully, with only browsers in the ports tree--
   mozilla, firefox, a couple others.

   About a week ago I viewed my homepage with KDE Konq and almost
   flipped out.  One "free" commercial historical calender event
   feature was glued to the bottom of my blue bar ()
   on the RHS of the page.   And yep, the new text and other things
   were centered in the middle of the long blue rectangle.

   Since I have a few weeks now to work on things beside research,
   it's time to update my main web page.   My friend was using IE;
   it may be that Konqueror uses a similar parser to position
   things on a .php or .html page.

   Other than beginning from Zero and trying to determine exactly
   what causes firefox and konq to diverge, do any of you have any
   other ideas?  I've never learned an HTML editors because of the
   learning curve.  But:: if/when I come up with a better design for
   my home page, I'm willing to try again:: any best (simple) HTML
   editors in ports?

   I'd be much obliged for any help here.


I say keep using the technique you're using now. That's what I'd do.
Instead of finding a HTML Editor
just find a simple text editor and write all your HTML in a clean manner.

I don't know where Ted got his statistics from, but most people I know use
simple text editors for writing their HTML, CSS
and JavaScript. Personally I stick to vi or diakonos on BSD and Notepad2 on
Windows.


/*
 * strange:: the way that mutt queues [ and orders ] its replies and theads is 
 * different from kmail.  I only use a GUI when there is a URL embedded, but

 * it must be down-queue.   
 */

I would *rather* use vi and HTML-by-hand.   And produce very simple, readable,  
uncluttered pages.  I don't use many graphics, e.g., I use the strength of 
HTML, php, blah ** 3.  

I'm ready to learn this "CMS" that Ted mentioned if I knew what it was!  And 
if its in ports.   AFAIK, the only pages that look bizarre are my 
initial "www" (and one other based on it).   I'll google around to find out 
what CMS is...   


I still prefer html by hand. I use VIM though all our designers and 
developers use Dreamweaver, funny few if any can fix the HTML if the 
tool munges it. Many have no idea how HTML works.


As far as CMS tools go some create nice pages but at a cost. We have 
several clients who insist on CMS tools. The joke around our Office is 
[Joomla|Rails|other] is the only tool known to man to require 1GB server 
memory to load all the required libs in displaying "Hello World". Some 
of the CMS tools are very very heavy. Straight static HTML can be 
blisteringly fast in comparison unless you have low traffic or a fairly 
hefty server. Static HTML also doesn't show up in my CERT emails every 
month with security issues.


My 2 cents worth...

DAve

--
In 50 years, our descendants will look back on the early years
of the internet, and much like we now look back on men with
rockets on their back and feathers glued to their arms, marvel
that we had the intelligence to wipe the drool from our chins.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Stumped:: web HTML. Caution, may be OT.

2008-05-29 Thread DAve

Ted Mittelstaedt wrote:



-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Gary Kline
Sent: Thursday, May 29, 2008 2:51 PM
To: Ted Mittelstaedt
Cc: FreeBSD Mailing List
Subject: Re: Stumped:: web HTML. Caution, may be OT.


you probably didn't start with the earlier markup.  back then,
	'93-4, there was ,, , and .   i wrote a 2.2K-line 
	program to handle "hi" -> ``hi'' and a couple other things.

the code has evolved, of course, but still works.



Not the case.  I use vi myself and I eschew background gifs and
such.  Web pages that I create are black text on a white back
ground interspersed with images when needed.  Period.  No CSS no frames, no
nothing.  If the content I put up isn't worth reading
then no amount of formatting, font specification, animated
images, and so forth is going to get people to look at it,
is my feeling.


I nearly spit coffee on my keyboard! I agree with you 100%. When we all 
did HTML with BBedit and Textpad, people like Black, Tog, and Nielsen 
kept everyone designing websites to best serve the content. Now it is 
all about the sizzle, but there is rarely a steak.


DAve

--
In 50 years, our descendants will look back on the early years
of the internet, and much like we now look back on men with
rockets on their back and feathers glued to their arms, marvel
that we had the intelligence to wipe the drool from our chins.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Need to build a new mail server

2008-05-30 Thread DAve

Eric Zimmerman wrote:

Foo JH wrote:
I like Qmail. It's not overly difficult to configure, and it's 
extensible.




and requires 400 patches to do basic things =(


List them, not 100, not 399, all 400 please.

Keep in mind that when your download x.x.x release of a software package 
you are downloading a "patched" source code. Sendmail has been patched 
many times, Postfix is patched, Exim is patched. qmail just requires you 
apply your own patches. Patching is not a bad thing, shrinkwrap mail 
admins applying patches that they do not understand is a bad thing.




heres some interesting reading about qmail...

http://www.dt.e-technik.uni-dortmund.de/~ma/qmail-bugs.html


That so much time and effort is spent telling everyone how bad qmail is 
still amazes me. It is one of the best performing and most extensible 
MTAs I have ever used. It is not however, suitable for those who choose 
not to understand how mail works. Point and clickers should stay with 
Postfix, also a very capable MTA.


DAve

--
In 50 years, our descendants will look back on the early years
of the internet, and much like we now look back on men with
rockets on their back and feathers glued to their arms, marvel
that we had the intelligence to wipe the drool from our chins.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Linux compatibility

2012-02-13 Thread Dave
On 13 Feb 2012 at 21:01, Da Rock wrote:

> On 02/13/12 20:08, siefke_lis...@web.de wrote:
> > Hello,
> >
> >
> > I'm trying to get Linux running various applications to the.
> > Brandelf was applied to the binaries. But any Linux application
> > crashes at startup.
> >
> > freebsd-desk# kldstat
> > Id Refs AddressSize Name
> >   1   21 0xc040 8c6d08   kernel
> >   21 0xc0cc7000 4864 sem.ko
> >   31 0xc41eb000 8000 linprocfs.ko
> >   41 0xc41f3000 28000linux.ko
> >   51 0xc44ae000 9000 i915.ko
> >   61 0xc44b7000 15000drm.ko
> >
> > freebsd-desk# cat /etc/rc.conf | grep linux
> > linux_enable="YES"
> >
> > $ /usr/local/bin/linux-firefox
> > /usr/local/lib/linux-firefox/firefox: symbol lookup error:
> > /usr/lib/libstdc++.so.6: undefined symbol: _ZNSt8messagesIcE2idE,
> > version GLIBCXX_3.4
> >
> > $ /usr/local/bin/eagle
> > /usr/local/share/eagle5/bin/eagle: symbol lookup error:
> > /usr/lib/libstdc++.so.6: undefined symbol: _ZNSt8messagesIcE2idE,
> > version GLIBCXX_3.4
> >
> > $ googleearth
> > ./googleearth-bin: symbol lookup error: ./libge_net.so: undefined
> > symbol: _ZNSbIwSt11char_traitsIwESaIwEE4_Rep20_S_empty_rep_storageE,
> > version GLIBCXX_3.4
> >
> > Does anyone a idea where is the mistake?
> I was going to wait and see if anyone else responded, but you are best
> off trying emulation@.
> 
> Cheers
> 
> 

Don't you have to install/load a module for Linux binary compatability to 
work in F'BSD?  I seem to remember that being mentioned during a recent 
8.something install.

Dave B.

___
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: fixit disc for 7.3 #1?

2012-02-15 Thread Dave
On 14 Feb 2012 at 18:01, Gary Kline wrote:

> On 02/14/2012 05:40 PM, Da Rock wrote:
> > On 02/15/12 10:08, Gary Kline wrote:
> >> guys,
> >>
> >> is there still a  way of fixing something i did to my existing
> >> installation?  it does nothing but continually cycle e and try to
> >> reboot into the old release i had from feb 2011.  i thought editing
> >> out /etc/fstab would do it.  but nope, it throws me into the lowest
> >> level manual config and then hangs.  i cannot even install release
> >> 9.0 which is the only other path.  either some stable distro of
> >> debian, or getting past release8 and going to   9.
> >>
> >> first, tho, i need to get rid of this [[messed up]] 7.3.
> >>
> >> let me share a story from when i was visiting a favorite cousin who
> >> put up about half of NASA's huge antennas.  long retired, he lives
> >> out where not even god could find him.  he wanted to see proof of
> >> my beloved freebsd.  so, using a new set of discs that i bought, i
> >> started the installation.  { FWIW, --this was in july, 2000.  }  I
> >> happened to mention that freebsd had trouble configuring the
> >> printers.  or that   that could get hairy.  he stopped what he was
> >> doing and asked me to get back to his windows toys and games.  i
> >> had a floppy w ith the mystery file "MBR" that removed that single
> >> file.
> >>
> >> my hunch is that since i never mess with anything but freebsd, i
> >> left it configure itself by default and that the same thing that
> >> stalled me for ten minutes back in 2000, might be what's stopping
> >> me from installing anything over my 7.3 in 2012.
> >>
> >> any wizards how how to fix  this?
> > Are you sure you can't backup your important files and start again?
> > You might have a good deal of trouble jumping by 2 major releases at
> > the best of times.
> >
> > Also, 9.0 is significantly different in many ways to 7.x in dir
> > structure _and_ filesystems, to just mention a few. I new (clean)
> > install would be _highly_ recommended ;)
> > ___
> 
> i have a working copy on 7.3 #4 on my Server.  the server in a 2009
> dell;  the one that is busted and that i want to upgrade ---to either
> debian-6-iso or freebsd9-iso is my old 2003 dell.  two different
> computers.  the thing with the old dell is that nothing can boot off
> it.  it keep cycling, trying to boot a 7.3 #1.
> 
> i just remembered that the floppy disk   was a DOS file  with a secret
> command :A:\MBR that got rid of that boot track.
> 
> it's looking more and more hopeless.
> 
> 
> 
> wasn't/isn't there some kind of "fixit" CD?
> 
> gary

Sounds like you need to get into the Dell's BIOS, and alter the boot 
order, so as it looks first at CD and Floppy drives, before the hard 
disk.  Dell's can be funny things at times though, especially if it's 
been setup for a headless boot (server mode)...

The old tool you're thinking of for DOS/Windows was "FixMBR".

I thihk like 'Da Rock' has suggested, you best pull the affected hard 
disk, and either put it in a USB caddy, then mount it as an external 
drive on a working system, if it's not badly mullered somehow, or install 
it as an extra drive in such a similar system, and get stuff off it like 
that, is probably the best way.

Then, flatten it and do a clean install of whatever, with it fitted back 
into it's original home.

Unless someone else comes up with a better plan.

Regards.

Dave B.

___
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: laptop freebsd display not filling whole screen

2012-02-16 Thread Dave
On 15 Feb 2012 at 17:25, Fbsd8 wrote:

> I installed 9.0 on a Toshiba laptop. The Freebsd console only fills a
> small box in the center of the screen. I found nothing in the handbook
> about this so I am asking here.
> 
> How do I get the console to fill to whole laptop screen?
> 
> 

Many Toshiba laptops have a feature in the BIOS (Stretch or Expand) so 
that a 640x480 text screen (for example) will fill the full disaply, 
whatever the physical pixel resolution is.   Looks weird, but it does 
what it says.

Regards.

Dave B.

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


Security? [Re: Why is this Symbol in the front of your website. A humble request.]

2012-02-24 Thread Dave
Can I please request, you all check your mail client "reply to" settings.

Many of the "replies" to this thread, have also been sent to the 388 (was 
it) addresses in the original To: field, as well as the list.

Might the list settings need tweaking a bit?

Also, just where did he originaly harvest all those addresses from, are 
they publicly available, or is there a gaping hole in some server 
somewhere.

Regards.

Dave B.

___
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: Security? [Re: Why is this Symbol in the front of your website. A humble request.]

2012-02-24 Thread Dave
On 24 Feb 2012 at 17:28, Erich Dollansky wrote:

> Hi,
> 
> On Friday 24 February 2012 17:10:21 Dave wrote:
> > Can I please request, you all check your mail client "reply to"
> > settings.
> 
> I think, some - like me too - reply here always to all.
> > 
> > Many of the "replies" to this thread, have also been sent to the 388
> > (was it) addresses in the original To: field, as well as the list.
> 
> Wasn't it 389?

:-)

> > 
> > Might the list settings need tweaking a bit?
> > 
> > Also, just where did he originaly harvest all those addresses from,
> > are they publicly available, or is there a gaping hole in some
> > server somewhere.
> 
> Just collect all addresses from the list ending with freebsd.org?
> 
> Erich

Indeed, so some settings might do with a tweak, to at least obfuscate 
posters addresses, so that at least script kiddies are flumoxed.

I never intentionaly use any "Reply to All" function.  In fact, this 
mailer doesn't even have a button for that.  You have to select where the 
reply goes, after you hit the "reply" button, from a list of available 
addresses in the incoming message header, that the mailer has recognised.

Just a thought as this problem is not going to go away.

Dave B.

PS:
How about a "regional Beastie" wearing a headscarf and carring an assault 
rifle instead of a trident?

That's me targeted then

___
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: Security? [Re: Why is this Symbol in the front of your website. A humble request.]

2012-02-24 Thread Dave
On 24 Feb 2012 at 12:37, Dag-Erling Smørgrav wrote:

> "Dave"  writes:
> > Also, just where did he originaly harvest all those addresses from,
> > are they publicly available, or is there a gaping hole in some
> > server somewhere.
>
> It is public information:
>
> http://www.freebsd. org/doc/en_ US.ISO8859-1/articles/contributors/staff
> -committers.html
>
> DES
> --
> Dag-Erling Smørgrav - d...@des.no
>
>

Those address links need changing to graphic's, so that most address
harvesting bots won't get anything usable.

Mk1 eyeball can still see what's what, but if you have to use the info,
you have to re-type it manually.

Most other similar websites have done that sort of thing with great
success.

I can't believe in this day and age, info like that is still presented in
a way that makes it harvister-bot friendly.

Regards.

Dave B.

___
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: Access to Time Warner cable network

2012-04-02 Thread Dave
On 1 Apr 2012 at 10:21, Erich Dollansky wrote:

> Hi,
> 
> On Sunday 01 April 2012 08:57:00 Da Rock wrote:
> > >
> > > Did they come to your location and run a test to their equipment?
> > > My neighbor had a recent cable outage of an existing cable on our
> > > block that was too low  and a moving van hit it.
> > 
> > Apparently the Windows system works, so I'd assume all that side is
> > ok- just FBSD box is the issue.
> 
> so, there is some difference. The questions are there to find out what
> the difference might be.
> 
> Erich
> 
> 

fbsd8

How do you connect to your TW ISP?  Just a Cable modem of some sort, or 
is there a Router involved somewhere?   It makes a whole world of 
difference

I.e.   How "Physically" do you hook together, in each instance, for the 
XP box, and F'BSD box.

Regards.

Dave B.

___
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: Access to Time Warner cable network

2012-04-02 Thread Dave
On 1 Apr 2012 at 19:05, Jerry wrote:

> On Mon, 02 Apr 2012 08:50:42 +1000
> Da Rock articulated:
>
> > Given that the other tech in question asked me to help him, and he
> > is a Winblows nut like yourself, I think this premise can be
> > dismissed out of hand. I won't even bother to qualify the rest, I
> > wouldn't want to ruin your delusion.
>
> No delusion here. You have confirmed what I suspected. A classic case
> of "The blind leading the blind." If one idiot can screw something up,
> just think what two idiots can accomplish?
>
> --
> Jerry
>
> Disclaimer: off-list followups get on-list replies or get ignored.
> Please do not ignore the Reply-To header.
> __
>
>
>

In the world of the blind, the one eyed bloke is promoted to near god
like status!

Dave B.

___
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 compatible mini-itx board

2011-05-20 Thread Dave
On 19 May 2011 at 11:59, Chuck Swiger wrote:

> On May 19, 2011, at 11:46 AM, Erik N=F8rgaard wrote:
> >> It indicates that they put faster RAM into the box, but ran it at a
> >> speed of 533MHz, which is slower than the memory is capable of
> >> running.  In some cases, doing this lets you run the RAM at lower
> >> voltage or with tighter timing settings of CL/tRCD/tTP/etc.
> > 
> > Thanks, currently I have, well ancient RAM on an old VIA board and
> > it's not really any reliable. That with the flacky disk controller on
> > the VIA board is my reason to go Intel.
> 
> Yeah, I have one of the VIA EPIA M6000 boards, and the IDE controller
> gets flaky under load if there is more than one device attached.
> Disabling the secondary channel on IRQ 15 helped some
> 
> Regards,
> -- 
> -Chuck
> 

With VIA mobo's any older than about 3 years, check the condition of all
the 1000uF/6.3V electrolytic caps scattered about the place.  Any 
bulging, or showning brown crusty stuff (leakage) replace them.

Bad power rail decpoupling can cripple a system but present itself as one
particular subsystem acting up under specific conditions.

They don't fix themselves, they only get worse.

Regards.

DaveB.

___
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: Strange system lockups - kernel saying disk error

2011-06-04 Thread Dave
On 3 Jun 2011 at 15:09, Kaya Saman wrote:

> Hi,
> 
> I have an ancient pre-HT PIV machine with <500MB RAM.
> 
> The system has an extra PCI->SATA card installed so I can  make use of
> modern high capacity drives.
> 
> Everything was running fine until round about 2 days ago when the
> system started locking up on me?
> 
> 
> Current drive configuration for the system is:
> 
> 40GB IDE drive as root (ad2) - UFS2
> 500GB IDE drive for storage (ad3) - EXT3
> 1TB SATA drive for storage (ad4) - UFS2
> 750GB SATA drive for storage (ad8) - EXT3
> 
> I had an issue with the 750GB drive which the file system seemed to
> have got corrupted so I powered down and backed the information up to
> a 2TB SATA drive using ddrescue and the Gentoo Linux based System
> Rescue CD. I put the 2TB drive in place of the 1TB ad4 drive
> physically.
> 
> Once backed up I powered down again and re-installed the 1TB SATA
> drive into ad4 position on system and completely removed the 2TB
> backup.
> 
> When booted back into FreeBSD upon boot I received this error:
> 
> 
>   WARNING:  Kernel Errors Present
>  ad4: FAILURE - WRITE_DMA48 status=51 
>  error=4  LBA=1 ...:  1 Time(s)
>  g_vfs_done():ad4e[WRITE(offset=97691456, length=16384)]error
>  = 5 ...:  1 Time(s)
> 
> 
> The current status of the disks seemed to be ok though:
> 
>   1 Time(s): ad2: 38166MB  at ata1-master
>   UDMA33 1 Time(s): ad2: DMA limited to UDMA33, controller found
>   non-ATA66 cable 1 Time(s): ad3: 476940MB 
>   at ata1-slave UDMA33 1 Time(s): ad3: DMA limited to UDMA33,
>   controller found non-ATA66 cable 1 Time(s): ad4: 953869MB   HD103SJ 1AJ10001>  at ata2-master SATA150 1 Time(s): ad8:
>   715404MB  at ata4-master SATA150 1
>   Time(s): agp0:  on hostb0 1 Time(s):
>   ata0:  on atapci0 1 Time(s): ata0: [ITHREAD] 1
>   Time(s): ata1:  on atapci0 1 Time(s): ata1: [ITHREAD]
>   1 Time(s): ata2:  on atapci1 1 Time(s): ata2:
>   [ITHREAD] 1 Time(s): ata3:  on atapci1 1 Time(s):
>   ata3: [ITHREAD] 1 Time(s): ata4:  on atapci1 1
>   Time(s): ata4: [ITHREAD] 1 Time(s): ata5:  on atapci1
> 
> 
> In order to test if the error was due to disk failure I powered down
> and disconnected the ad4 and ad3 disks and powered back up.
> 
> 
> The system still seems to be locking on me and I can't understand why?
> 
> 
> Through Google'ing a discovered a post by Jeremy Chadwick about these
> kinds of errors:
> 
> http://wiki.freebsd.org/JeremyChadwick/ATA_issues_and_troubleshooting
> 
> however since the system board is pre-SATA is doesn't even have 
> S.M.A.R.T. so I'm totally lost on how to fix this. I mean the best
> remedy would be to get a new computer and migrate the stored
> information (something like this is on the way) but currently I don't
> have access to any of the disks at all and to make matters worse no
> NTP or DNS server as I was running these services on the same machine
> or TFTP boot server for my IP phones. - I do run multiboot UNIX on my
> notebook so Bind9 is naturally installed hence me writing this but I
> only activate in emergencies.
> 
> I mean one way I thought of for fixing this would be to grab a USB ->
> ATA/SATA adapter:
> 
> http://www.startech.com/product/USB2SATAIDE-USB-20-to-IDE-or-SATA-Adap
> ter-Cable
> 
> and hook the drives up to both Linux and FreeBSD in my notebook and
> copy the information across to the new system when it arrives in a few
> months.
> 
> 
> Aside from that is there anyway to fix the kernel error quickly?
> 
> 
> Thanks,
> 
> 
> Kaya
> 

Hmmm...  No backups then?

First, check the drive data cables.  Many do fail with age.  Some SATA 
types are made with Aluminium not copper, and are extremley fragile when 
they age.   If that doenst shed some light...

Take a look athttp://www.grc.com/spinrite.htm

Will often restore a failling drive to full use, if it's not mechanicaly 
damaged.   It can take time though, if any sector corruption is very bad.  
Days, weeks, even months have been see in some cases, but if the software 
keeps going, it usualy does the job.

It's not a Windows program, if anyting it's a DOS program, but comes with 
it's own FreeDOS system to boot and run from, so you don't even need an 
OS on the machine to test!   It will work with IDE or SATA types, even 
over a USB adapter if needed (but then it can't access any SMART data the 
drive may have) but it'll run a lot slower as it won't be aware of the 
drive's detailed physical timing etc.

I've used it on WIndows and Linux machines in anger, and the FreeBSD box 
when I got it (an old Gateway E-1400) to make sure the drive was healthy.

It's the hard drive equivalent of Memtest86, and you know how good that 
is.

Even if it doesn't report any problems found, often it will cause the 
drive to maitain things itself, improving performance as a result.

Even if the recovered drive is still less than 100% happy, or some of 
your data is not recoverable, you can then get the rest of your data off 
it, onto something new, fairly sur

Re: Strange system lockups - kernel saying disk error

2011-06-04 Thread Dave
On 4 Jun 2011 at 10:52, Kaya Saman wrote:

> Many thanks for the response!
> 
> On 06/04/2011 02:00 AM, per...@pluto.rain.com wrote:
> > Kaya Saman  wrote:
> >
> >
> >> I have an ancient pre-HT PIV machine with<500MB RAM.
> >> ...
> >> Everything was running fine until round about 2 days
> >> ago when the system started locking up on me?
> >>
> >> ... is there anyway to fix the kernel error quickly?
> >>  
> > Did you apply any updates shortly before it started to fail?
> >
> 
> No updates! I did however, install unrar through ports.
> 
> > If not, this is likely to be a hardware problem.  I'd suggest
> > checking the power supply and the fans, running memtest86, and
> > taking a close look at the electrolytic filter capacitors on
> > the system board -- the last because it sounds as if this system may
> > be about the right age to have been built with some bad ones. (If
> > any of the capacitors are bulging, either those caps, or the entire
> > board, need to be replaced.)  Power and heat problems can cause all
> > sorts of strange symptoms.
> >
> 
> I guess, I mean I did mention that the system was old and also I've
> been running in 24/7 online for the past year and half as this box got
> passed down to me by a family member. It has a Gigabyte system board.
> Not sure about the capacitors; I'll check. I remember on other boards
> that went on me in the past with capacitor issues, a bunch of orange
> stuff starts leaking out of them when they blow up.
> 
> Also the chassis doesn't have any cooling fans either since it was
> bought extremely cheaply by the family member but not sure that's the
> culprit neither power problems as the system has run in high outside
> ambient temps in the past with no A/C in the room and also was working
> fine on the PSU installed with the 4 disks.
> 
> I guess it's hardware related somehow as something's blown up, either
> the PSU, system board or so..
> 
> 
> As I explained in the beginning if there's no clear way to fix the
> problem easily then I'll wait a bit. - I have a 16 disk Promise DAS on
> the way and will build a server using a Chenbro industrial rack
> chassis and Supermicro AMD based 8-12 core system board. These systems
> will fit better in the 2 racks I have in my living room. This should
> be a bit more stable and also give me higher capacity too!
> 
> 
> Regards,
> 
> 
> Kaya
> 
> 
> 

Hmmm  Hard drives do not like heat!   Check the PSU voltages with a 
meter, for accuracy and ripple.  Failing SMPS's can do all sorts of odd 
things.

Capacitor problems.  Been there done that.  They can be changed for very 
low cost, other than your time.

DaveB

You might guess by know, I know far more about hardware than I do about 
software, but for the latter to run well, the former must be good.

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


[direct] Re: Strange system lockups - kernel saying disk error

2011-06-05 Thread Dave
 just have to have their own copy.  I think I'm indirectly 
responsible for at least 4 extra sales, not that I get any commission, 
sadly...

Just like the Linux based recovery and self contained AV disks, and also 
Memtest86, I carry a copy of Spinrite arround with me too.

I just wish I could come up with something as successful, and able to 
continue selling over and over...

As for changing mobo caps, it's not dificult, but it sure takes a lot of 
time and care.  Cap's in PSU's too go bad (Usually the Low Voltage ones) 
again, not dificult to change, but take care.  There's often considerable 
High Voltage stored in some places, that can bite you, and it hurts!

Lastly, large slow running fans last the longest, and are nice and quiet 
too.  Just regularly blow the "dust bunnies" out of the systems (two or 
three time a year?) and keep things like the CPU cooler and PSU clean, 
and your hardware will work for many years just fine.

Oh..  CPU coolers.  If your system has the ability to monitor the CPU 
temperature, get to know how that behaves depending on the software you 
use.  If it starts to slowly rise, but the room temperature is not 
correspondinlgy warmer, also cleaning the dust from the cooler doenst 
seem to help.  It may need the cooler removing, the old heat transfer 
compound removing and cleaning, and fresh compound using when you refit 
the cooler.   This issues seems worse with the earlier single core P4's, 
that had a very small contact area to the cooler.

At least Intel chips just slow down as they get hotter (cycle skipping) 
so as not to burn out.   Some AMD's will destroy themselves if the cooler 
fails!...There is a YouTube video somewhere, showing a PC with an 
Intel CPU with no cooler getting slower and slower till it almost stops.

I hope you get things sorted out, one way or another.  Life is so much 
nicer if you don't have to keep messing with the blessed things!

I have a sick Land Rover to fix too.  Gearbox rear oil seal, also rear 
drive shaft UJ's.   At least I can use big hammers on that sometimes...   
(Therapy!)   Oh, the grass needs cutting, and I'm now also under 
instruction to change the bed, when the cat's finished sleeping on it!!!

Best Regards.  

Dave B.


On 4 Jun 2011 at 21:35, Kaya Saman wrote:

Subject:Re: Strange system lockups - kernel saying disk error

> 
> [...] 
> 
> 
> 
> Hmmm Hard drives do not like heat!   Check the PSU voltages with a
> meter, for accuracy and ripple.  Failing SMPS's can do all sorts
> of odd things.
> 
> Capacitor problems.  Been there done that.  They can be changed
> for very low cost, other than your time.
> 
> DaveB
> 
> You might guess by know, I know far more about hardware than I do
> about software, but for the latter to run well, the former must be
> good.
> 
> ___
> 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"
> 
> 
> Many thanks Dave for all the suggestions!!!
> 
> To be honest I think the drives are fine but the system is just s
> old including the IDE drives.
> 
> I mean if I get a SATA/IDE USB adapter I should be able to backup the
> drives to the new DAS system I will have in place shortly since I am
> much more in favor of running Nexenta Core 3 OS with ZFS spanning the
> 16x drives meaning a total of 36TB with 2 internal drives used for
> logging and caching.
> 
> Then this system will be obsolete. However, I will keep your
> suggestion of using spinwrite in mind next time I encounter issues!
> 
> BTW I respect your H/W knowledge that's quite in deep :-) thank you
> for your insight.
> 
>  with Pipex which is now bust, then I moved out of the UK and now
> everything is roasting hot>
> 
> 
> Best regards,
> 
> 
> Kaya
> 
> 
> __ NOD32 6175 (20110602) Information __
> 
> This message was checked by NOD32 antivirus system.
> http://www.eset.com
> 


___
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: Strange system lockups - kernel saying disk error

2011-06-06 Thread Dave
On 5 Jun 2011 at 16:55, Michael Powell wrote:

> per...@pluto.rain.com wrote:
> [snip]
> > 
> > Power supplies do fail occasionally, and not always in obvious
> > ways such as failing to turn on at all.  The output voltages may be
> > a little too high or too low, or they may be correct but with
> > excessive ripple or electrical noise; or the supply may be just fine
> > until a disk draws a current spike to move the arm rapidly.
> 
> I've seen a fair number or power supplies degrade somewhere around the
> 5 year mark. Simple voltage checks with a VOM and its accuracy will
> usually still show the voltages as being correct. To see the ripple
> you'll need an oscilloscope. Excessive ripple can make a PC appear to
> have all kinds of intermittent hardware failures with little or no
> rhyme or reason. A degraded power supply will show large variations in
> ripple based on load. The largest load from hard drives is when they
> are first spinning up. Servers are commonly configured with the
> ability to spin up drives one at a time with a short delay in between.
> You won't usually find this on a desktop. 
> 
> Generally, this situation will develop more often on an old machine
> that had a 'barely enough' capacity power supply when new. Add 3 more
> hard drives, bigger video, etc and it was still just inside the
> envelope until enough time went by and the power supply got old. Since
> the most amps pulled by the hard drives occurs on power up you will
> see the ripple on  a 'scope look really ugly while this happens. The
> unseen danger here is that bits on the drive(s) can get scrambled
> until things settle down. You will know this happens when stuff goes
> wrong and fsck is needed to get the file system clean, and after
> cleaning and working again will do the same thing again at some future
> reboot.
> 
> Easiest way to look at this without a 'scope is to simply substitute a
> known good PSU of sufficient rating from a machine with no troubles.
> If all the random nonsense suddenly stops, you'll know. This is
> easiest for folks these days as those without an analog electronics
> background are unlikely to have an oscilloscope laying around. 
> 
> > It might be worth checking the fan mounted on the CPU heatsink if
> > there is one, and the fan in the power supply (which ventilates the
> > case as well as the power supply itself).
> 
> Aside from the fans themselves, dust buildup plugs heat sinks
> eventually drastically reducing their ability to get rid of heat. When
> you get to this stage blowing them out with canned air can work
> wonders. My 2 servers at home sit on the floor and need this about
> once a year.
> 
> -Mike
> 

Hi..

I've recently replaced all the 3.3V decoupling caps on a 7 year old 
Compaq mobo, that was showing all sorts of odd behaviour, more (at first 
glance) related to the video card.  It wasn't expensive, but was time 
consuming even for me as a skilled electronics tech, with more years of 
soldering iron time than I care to admit, it took me a good couple of 
hours!  These things aren't made to be easily repaired, but it can be 
done.  In fact, for some common mobo's you can buy complete re-cap kits 
with all the right parts.  Same for all sorts of other consumer 
electronics.  (DVD players, Games consoles, DTV and other set-top boxes 
etc.)

As a result, that box now runs sweet as a nut.  Passing all diags with 
flying colours, even when hot.

Any caps that have a bulging top, on the mobo or in the PSU, need 
changing.  Idealy for the same value and voltage.  But you can go higher 
(within reason) in value, but don't go too high in voltage rating, as 
they can deteriorate if they don't have enough volts, and start to fail 
early again.

Re the PSU thing.   Don't get fooled into the common lore that bigger is 
better.   You can have too big a PSU that will fail to regulate the 
auxilary output lines correctly until you add extra load to it's main 
output.  Many PC supplies (sadly not all) do have a note to that effect 
on the ratings label.

For most Switch Mode supplies, they work best loaded to between half and 
full power on their main output.  Much less than 1/4 of their capability, 
and the auxilary outputs will start to "wander about" a bit, especially 
if the incoming line is a bit high in voltage.   Common symptoms are 
strange audiable noises from CD drives, or hard drives that struggle to 
start up, but are OK once working.

Yes, also keeping things clean and cool is a good move too.

Hope that helps someone.

Cheers.

Dave B.

PS:  I don't suppose anyone knows a real good simple blow by blow total 
newby dialog, as to how to realiably and correctly create and setup Jails 
on FreeBSD 8.0?   A

Sorry. Numpty alert! FreeBSD Jails... Help?

2011-06-07 Thread Dave
Hi All.

Total frustration here.  Before I incinerate the luckless box and get my 
coat.

For whatever reason, I can't get my head round how "Exactly" to create 
and use a jail, for a small webserver (Hiawatha) on FreeBSD V8.x

There is at the same time, not enough detailed info as to "how to", and 
way too much detail of what there is.   The Man pages are good 
references, but lousy "how to's"...   (Sorry.)

I have (aledgedly) downloaded the Sys sources, and Ports.   At least it 
sat there for ages after fumbling arround the sysinstall menu system 
(whoever designed that should be forced to use it!  It's behaviour is 
apalling, flitting from one context to another with no warning, in a way 
such that you can't see what you've selected, without affecting the 
selection, or something else..)

Anyway, trying to follow various instructions I found, and those pointed 
out to me by other helpful souls here (thanks Kaya and Peter.)  But 
Whatever I do, I get a "Don't know how to build world. Stop" error.

I am logged in as root, and AFIK have downloaded all the sys and ports 
sources..   How do I confirm that, are there trace logs kept somewhere?


Now, I can create EMC test software in high level languages 
(Pascal/Delphi on Windows.)   Assemble install commission and repair when 
needed, multi kW RF amplifiers, and related support systems.  Diagnose 
faults on the same, modify control software (at the source level) to work 
arround some "undesirable features" etc etc.

I've also been building computers (and other tech stuff) for decades from 
components, and programming them to do what I need etc and so forth, but 
all in either native asembler code, or a higher level language on Dos or 
Windows.


I even found and followed these instructions, and got a GPS Diciplined 
NTP server running on the FreeBSD box.  (After my ISP comprehensivly 
wrecked their NTP server access.)  So a HF Radio propagation monitor can 
keep time to sub ms accuracy.

That was a first time success too, even re-compiling the kernel to enable 
PPS support!
http://blog.doylenet.net/?p=145
So, I can follow instructions..  :-)

I have even got the Meinberg port of NTP to work on an aged Win2k box, 
albeit with some help from others.

But for the life of me, I can't figure out this BSD Jail stuff, as there 
is something missing from my understanding of it all.  (Most of it I 
suspect...)

None of the searches so far have thrown up a definative "This is how you 
do it" type of procedure, with step by step "do this, if this happens, 
then do that, else go do this..."  type of structure.   And more 
importantly *Why* it needs to be done in such a way.  Kaya's wiki is 
close, but I must have a different varient of V8.x

Is there anyone out there with Skype (for example) who could perhaps talk 
me through this it in real time I wonder.  By arangment of some mutually 
conveninent time and date (evening or weekend.)  I'm, in the UK near 
Milton Keynes, so that limits things somewhat I suspect.

I realy do want to learn how to do all this, but I'm having a real hard 
time, due to the lack of contiguious time available to me, and with the 
available documentation, that I accept is correct, but it is all written 
as a reference document, not an instruction/user manual, only compounded 
by coming in cold from another background (Hardware/Dos(Assembler & 
Basic)/Windows(Delphi/Pascal)

What I have learnt so far, is that (for the most part) all the BSD's 
behave and work much the same.  Unlike the hoards of different Linux's, 
all with their different ways of doing things.

Spleen vented, anyone want a challenge?  I promise not to shout at you...

Cheers All..

Dave B.




___
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: Sorry. Numpty alert! FreeBSD Jails... Help?

2011-06-08 Thread Dave
On 7 Jun 2011 at 21:03, Jack Raats wrote:
> 
> - Original Message - 
> > Hi All.
> > 
> > Total frustration here.  Before I incinerate the luckless box and
> > get my coat.
> > 
> > For whatever reason, I can't get my head round how "Exactly" to
> > create and use a jail, for a small webserver (Hiawatha) on FreeBSD
> > V8.x
> 
> First compile the complete system. (kernel and world)
> Then install ezjail form the ports
> 
> Then edit ezjail.conf in /usr/local/etc
> enable ezjail in /etc/rc.conf
> 
> Then creating the base system:
> ezjail-admin update -i
> ezjail-admin update -P
> 
> after this you can create a jail using:
> 
> ezjail-admin create hostname.domain.net ip_address_of_jail
> 
> you can logon to your jail using:
> ezjail-admin console hostname.domain.net
> 
> It's quite easy
> 
> Grtz
> Jack

The problem is Jack, that build / make etc don't run.

Just saying "compile the complete system" is not much help, when as 
others have pointed out, part of the needed source collection is (was) 
missing.

Re: "It's quite easy".   Only when you know how!

Dave B

___
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: Sorry. Numpty alert! FreeBSD Jails... Help?

2011-06-08 Thread Dave
On 7 Jun 2011 at 12:10, Chuck Swiger wrote:

> On Jun 7, 2011, at 11:53 AM, Dave wrote:
> > For whatever reason, I can't get my head round how "Exactly" to
> > create and use a jail, for a small webserver (Hiawatha) on FreeBSD
> > V8.x
> 
> Did you start with the Handbook?
> 
>   http://www.freebsd.org/doc/handbook/jails.html
>   http://www.freebsd.org/doc/handbook/jails-build.html
> 

Yes, I have been there many times.  It must be me, because I do not find 
it much if any help.   "Cant see the wood for all the trees" or 
something.

Like I said, the handbook  is a good "Reference", but not a "How To".

Plus, once I've gone and clicked on a few of the refereal links, it's way 
too easy to loose the plot, or ones place in the overall scheme of 
things..


> You might also consider sysutils/ezjail; see:
> 
>   http://erdgeist.org/arts/software/ezjail
> 
> [ ... ]
> > I have (aledgedly) downloaded the Sys sources, and Ports.   At least
> > it sat there for ages after fumbling arround the sysinstall menu
> > system (whoever designed that should be forced to use it!  It's
> > behaviour is apalling, flitting from one context to another with no
> > warning, in a way such that you can't see what you've selected,
> > without affecting the selection, or something else..)
> > 
> > Anyway, trying to follow various instructions I found, and those
> > pointed out to me by other helpful souls here (thanks Kaya and
> > Peter.)  But Whatever I do, I get a "Don't know how to build world.
> > Stop" error.
> > 
> > I am logged in as root, and AFIK have downloaded all the sys and
> > ports sources..   How do I confirm that, are there trace logs kept
> > somewhere?
> 
>http://www.freebsd.org/doc/handbook/updating-upgrading.html
>http://www.freebsd.org/doc/handbook/ports-using.html

As Andy and Kaya pointed out, I was missing the Base sources.  As at some 
point, while fighting with the sysinstall menu system, the Base selection 
got un-selected.

I think I have them now, but have not yet re-tried a build or make.

> 
> Regards,
> -- 
> -Chuck
> 

Thanks.

Dave B.

___
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: Sorry. Numpty alert! FreeBSD Jails... Help?

2011-06-08 Thread Dave
On 7 Jun 2011 at 15:23, Jerry wrote:

> On Tue, 07 Jun 2011 19:53:13 +0100
> Dave  articulated:
>
> > There is at the same time, not enough detailed info as to "how to",
> > and way too much detail of what there is.   The Man pages are good
> > references, but lousy "how to's"...   (Sorry.)
>
> Many knowledgeable people consider "man" to simple be an acronym for,
> "Much About Nothing". In any case, I assume you have read the
> documentation @: <http://www.freebsd.org/doc/handbook/jails.html>
>
> Perhaps you could list a few of the steps you have taken to a achieve
> your goal.
>
> --
> Jerry
> jerry+f...@seibercom.net

Hi.

I was, as I found later, following this...
http://www.freebsd.org/doc/handbook/jails-build.html

But it failed at step 2, with "dont know how to make ...  Stop" etc...

Dave B



___
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: Sorry. Numpty alert! FreeBSD Jails... Help?

2011-06-08 Thread Dave
On 8 Jun 2011 at 0:53, Julian H. Stacey wrote:

> > and AFIK have downloaded all the sys and ports 
> > sources..   How do I confirm that, 
> 
> cd /usr/src  
> make clean ; make cleandir ; make clean   # gets rid of obj
> du -s -k
>  547684  .

"cant cd to /usr/src/share/info
*** Error code 2

Stop in /usr/src.
*** Error code 1

Stop in /urs/src.
You have new mail.
(Contents of the mail is the usual sustem/security stuff)

I figure something else is missing, so didn't bother with anything else.

 Dave B


> 
> find . -type d -print | wc
>  47344734  119623
> 
> cd /usr/ports
> du -s -k
>  477244  .
> 
> find . -type d -print | wc
> 31883   31883  704477
> 
> 
> > are there trace logs kept somewhere?
> 
> Not that I'm aware of, but I dont use sysinstall beyond minimum
> installs, (I get my src/ & ports/ from my cvs tree which is delivered
> by ctm from mail)
>  cvs -Q -R export -r RELENG_8_2_0_RELEASE src   # du=548 M tgz=115 M
>  cvs -Q -R export -r RELEASE_8_2_0  ports   # du=475 M tgz= 49 M
>  cvs -Q -R export -r RELEASE_8_2_0  doc # du=100 M tgz= 27 M
> 
> Cheers,
> Julian
> -- 
> Julian Stacey, BSD Unix Linux C Sys Eng Consultants Munich
> http://berklix.com
>  Reply below, not above;  indent with "> ";  Cumulative like a play
>  script. Send plain text format;  Not quoted-printable, Not HTML, Not
>  base 64.
> 
> 


___
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: ftp installation

2011-06-13 Thread Dave
On 12 Jun 2011 at 4:32, Bill Tillman wrote:

>
> 
> From: Daniel Feenberg 
> Subject: Re: ftp installation
>
>
> On Sat, 11 Jun 2011, Robert Simmons wrote:
>
> > On Sat, Jun 11, 2011 at 6:52 PM, Daniel Feenberg 
> > wrote:
> >>
> >> I have tried many of the ftp sites enumerated in sysinstall, with
> >> both 7.4-RELEASE and 8.2-RELEASE, and in all cases the installation
> >> proceeds for a few seconds and then hangs, with the last message on
> >> the console always being:
> >>
> >>  DEBUG: Generating /etc/fstab file.
> >>
> ...
> >>
> >> Is there something off about the sysinstall ftp dialog? I don't see
> >> a way to monitor what is happening.
> >
> > Your firewall may be interfering with the connection.  You may want
> > to read the handbook section on FTP installs (the grey box at the
> > bottom of the page):
> > http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/install-me
> > dia.html
> >
>
> Well, our router has never interfered with ftp transfers done from the
> command line, but switching to the firewall-friendly mode in
> sysinstall does fix the problem.
>
> Thank you
> Daniel Feenberg
> NBER
>
>
> If I recall correctly I had to open up my firewall completely to get
> the ftp installations to work. I use a FreeBSD diskless router running
> IPFW+NATD and the log files are set to max out at 5 so I can't see
> which port is trying to be used which gets blocked. So just for the 10
> minutes or so to do an FTP install I just open the firewall wide and
> allow any to any. Once the install is complete I close the firewall
> again.
>
>

That's why "Passive" (or PASV) mode is included in FTP.  It only ever
makes outgoing connections from a client.  99.9% of all routers/firewalls
will honour that mode with no probems, unless it's been specifically
blocked by an admin type somewhere.

In the F'BSD install/update settings/dialogs etc, always select the
option to use FTP from behind a firewall or router, or "Firewall
Friendly" mode.  That will invoke Passive mode transfers.

It's the one thing I can do reliably with FreeBSD, no need to mess with
router/firewall permissions etc.   That only needs doing if you want to
run a server that is reachable from outside your LAN.  That in turn,
opens a whole oil drum load (i.e. a big can of worms!) of potential
security issues

Take care.

DaveB

PS:  Worth looking at, for a good, if lenghty explanation.
http://slacksite.com/other/ftp.html


___
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: Strange memory reading (hardware)

2011-06-17 Thread Dave
> On Thu, 16 Jun 2011 17:09:30 -0500
> Gary Gatten  wrote:
> 
> > It's quite simple really, it's another hidden tax - "Redistribution
> > of RAM".  You see, even with all the entitlement programs "poor"
> > people can't afford more than 512MB of RAM.  As you are certainly
> > aware that's not enough to watch YouTube and Hulu on their
> > government funded (tax payer funded) ultra high speed internet
> > connections.  So, the government has taken some of your RAM (as you
> > obviously can afford to buy more if needed) and will give it to
> > those who really NEED it - so while they sit around collecting
> > government aid (tax payer earnings) their streaming video's will
> > play smoothly.
> 
> What! I didn't even vote for those guys. :-)
> > 
> > Woa - I guess I digressed a bit...
> > 
> > Ummm, sorry - I don't know why this would be.  Is there some memory
> > mapped video (or disk controller?) stealing RAM?
> > 
> I guess I wasn't clear. Only 2752 MB is show during POST instead 0f
> 4096. It has always shown 4096 on this MB.
> 
> Thanks for lighting up my day with the above humor. :-)
> 
> Robert
> 
> 

What does Memtest86 show, if you try running that?

I've had issues in the past where one stick has a single bad bit (in a 
512M stick) that caused all sorts of strange things with the BIOS, but 
not the OS!..   Memtest86 (eventually) found it, testing 1 stick at a 
time in each of 4 slots.   Took ages...

DaveB


___
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: Point me to resource or user info

2011-06-21 Thread Dave

> and the Freebsd installer guide
> http://www.a1poweruser.com/
> 

Hmmm...  Wish I'd known about that a while back.  It's more or less 
exactly what I've been looking for, a realy good "how to" guide for 
F'BSD.

The only thing missing (had a quick look!) is details on Jails (they are 
mentioned, but you are pointed back at the Handbook..)

However..  I've learnt something else already (Using mouse copy/paste 
function) so thanks very much for that site.  Very good for us less (in 
F'BSD at least) experienced types.

Cheers..

DaveB


___
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: much to my surprise.... [ now trending #OT ]

2011-09-23 Thread Dave
From:   "Matt Emmerton" 

> 
> 
> > but i've been doing this for a while, and
> > until i was away for five days, everything had been going
> > fine for over a month.  oh:: one power-out.  the UPS saved
> > the server, but everything else needed to be reinitialized.
> 
> A lesson that I learned many years ago - if you can afford a "big" UPS
> for your servers, you can afford a "little" one for your telco/network
> equipment.
> 

I'm using some PoE kit to power the router remotely down it's LAN cable, 
that in turn run's from the protected supply from the UPS.  Said UPS also 
powers the main network switch, as well as my own LAN server (f'BSD 
based, to stay vaguely on toppic!) Plus two other PC's and a NAS device.

It'll hold that lot up, for over 20 minutes when the lights go out (the 
longest unscheduled outage so far.)  It's also configured to NOT come 
back, if it runs down and cuts out.  I'll do that manually if needed.  
(Not so far.)  I never did get the BSD port of APCUPSD to work correctly.

All works well.  Also, easy to do a router "Hard" restart, without going 
to the router itself.   And if it does all die, it fails safe.

Regards.

Dave B.

___
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: Installing free bsd

2011-12-13 Thread Dave
> Im new to FreeBSD and did a FTP of 8.2 and unzipped to a cd rom. It
> was an ISO Version. I then FTP the CDROM BOOT file and un zipped it.
> Unfortunately It wont auto start when i put disk in computer startup.
> Need support.. Is the windows format on disk causing problems?
> 
> 

Daniel..

The "Windows format" has nothing to do with the problem.

You need to take the .ISO image files, and burn a CD from it, not extract 
or copy it to a CD..

For Windows, I use this:-
http://www.ntfs.com/iso-burning.htm   It works very well, and the price 
is right (free.)  Very easy to use.

If you already have "Nero Buring Rom" installed, that will also take a 
.ISO file, and use it to burn a CD.  Slightly more complex to use, but 
does a good job.  (You need to select "Burn an image to disk" option, 
then go look for the .ISO file to use, it's not the default!)

There are many similar tools for the job, but just unzipping the file to 
a cd will not make a bootable disk.

Contrary to what some have said, Windows (certainly XP and earlier) do 
not recognise the .ISO format natively, so no ammount of clicking or 
double clicking on it will help.

You do of course, also have to configure your PC's bios to boot from a 
CD, or know the hotkey to interupt it's normal boot sequence, and tell it 
to boot from an alternative drive.

Hope this helps.

Regards.

Dave B.



___
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: Probable Hardware Failure

2012-01-15 Thread Dave
On 14 Jan 2012 at 16:12, Doug Hardie wrote:

> I have a pretty old desktop that has been around quite awhile.  It has
> started periodic crashes.  No log messages.  However, the core status
> files all show "double fault".  I am confident this is a hardware
> issue, but is there any easy way to determine if its power or memory
> related?  Those are the primary candidates although memory is also
> possible.  We really need to replace the entire unit, but that might
> be a bit more salable if I can present convincing evidence of the
> cause of the problem.
> 

Doug.

First check the Power Supply voltages are correct, and not too noisy.  
You'll need a good DMM, and 'scope for that.

Then, Visually examine the motherboard.  Are any of the round can 
electrolytic cap's "Bulging" at the top, or showing some brown or green 
gunk leaking out from where they sit on the board.

Likewise, it's often worth checking the low voltage caps in the PSU too.  
CAUTION!  Lots of volts exist in places inside them, take care, leave it 
a few mins after unplugging before taking it apart.

If so, it's not uncommon, you'll need to re-cap the Mobo, and or the PSU.  
Chances are, it's just one particular make/type that has failed, so if 
the others look OK, just change the failed ones.  Get the same value and 
voltage, but if you can from a reputable manufaturer, Panasonic or some 
such.

NOTE!  It's not uncommon either, for some parts to be installed at 
manufature the wrong way round.  It's amazing they last as long as they 
do before letting go.  Also, at least one Mobo maker had the wrong 
polarity markings on the board.  In those cases, you'll need to "buzz 
out" the associated power rail, comparing the polarity of the suspect 
part, with it's copanions on the same power rail.

For some common Mobo's, if you google the model number, you'll find 
websites selling complete re-cap kits, or offering an exchange service.

This is A LOT more common, than failing RAM, but can present itself in 
many and varied ways, from corrupted display's, to systems that wont 
boot.  Laptops are not immune to this either.

Also, Hard Drives can "go funny" with age, not failing as such, but the 
surface getting corrupted so that the drives own logic cant always 
unscramble the mess to the OS's satisfaction.

Then, there is the situation (I had one recently) where a failing PSU, 
caused Hard Drive data corruption.

Mr Gibson's product "Spinrite" is the tool to use to fix that (and it 
did!)  Not free, but more than worth the weight of a CD, Floppy or USB 
stick in Gold!  But you'll need to make sure the Mobo and everything else 
is OK.   It also works on Floppy drives, if you "Just HAVE" to recover 
that data.   If you have a fleet of machines, you should have your own 
copy.   No affiliation, just a more than happy long term owner/user of 
that tool.   (www.grc.com)

I've resurected more than one "Sick" PC by following some or all of the  
above, there again, I can wield a soldering iron with the best of them, 
and have the test gear to hand to fault find these things, and a source 
of parts.   But it saves a shed load of money if you can afford the time 
to do it...

Hope something helps.

Best Regards.

Dave B.

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


Very strange netstat -rna output

2012-01-30 Thread Dave
Hello,
 I'm having a problem on a server of mine that is acting as a bridge,
that whenever I download from the server itself it's very slow. From
machines going through it's bridge there are no problems.

When looking for what could be the cause, I had a look at my routing
table and saw the following --

10.10.10.1   0.12.da.44.e4.0UHLW20 bridge   1200
10.10.10.2   0.14.c2.60.85.75   UHLW1   87 bridge   1110
10.10.10.7   0.17.35.13.60.10   UHLW1  373lo0
10.10.10.30  0.25.90.1.60.83UHLW20 bridge   1110

As you can see the second column which usually shows a MCA is showing
some rather strange output? What could be the cause of this?

Thanks
Dave
___
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"


webmail solution

2005-12-17 Thread Dave

Hello,
   I'm looking for experiences with a webmail solution. I want to use 
postfix as my mta and on a freebsd6 machine. The users who will be using the 
server probably would do better with a webmail package so they can get to it 
from anywhere. The box already has apache and php so i don't think that'll 
be an issue. One thing i'm uncertain is whether to offer direct pop/imap or 
their equivalent encrypted counterparts or just do it all through webmail.

   Experiences and recommendations welcome.
Thanks.
Dave.

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


wired and wireless network setup interactions

2005-12-17 Thread Dave

Hello,
   I have a setup that was a 10 megabit hub holding together a freebsd6 
firewall/router/webserver/other box. Updated that to a 10/100 megabitt 
Belkin g+ router for wireless. The problem now that i'm having is both the 
server and this new router do the following:

firewall
dhcp
dns
nat
and they both utilize separate subnets. I'd like for the Belkin router to 
handle wireless traffic, while the original fbsd router handles wired as 
well as it's original functions of firewall, nat, dns, and dhcp.
   If anyone has any experience with this or recommendations i'd appreciate 
it. My thought was turn off the dhcp server on the belkin router and let the 
original fbsd server's dhcp server handle it, but i'm not sure if doing so 
will disable it's ability to accept wireless clients. I'd also like the 
wireless network to be secure.

Some urgency!
Thanks.
Dave.

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


sshd not giving plogin prompt

2005-12-18 Thread Dave

Hello,
   I have a jailed ssh server among other things on a freebsd 5.4 box. I 
had to change the IP on it from 192.168.9.10 to 192.168.2.10. And now sshd 
on the jail won't let me log in. I've changed the ListenOn directive in the 
jails' sshd_config file from 192.168.9.10 to 192.168.2.10, as well as the 
jails ip in rc.conf. Trying to connect from windows securecrt just times 
out. Trying to connect from a unix box gives me the error: connection closed 
by 192.168.2.10. Any ideas? The jail is up, has been restarted and shows up 
in the jls output. I am stumped.
   On the subject of jails what devfs settings rules file should i use in 
rc.conf?

Thanks.
Dave.

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


Rocket FM

2005-12-22 Thread DAve
Has anyone tried using the Rocket FM transmitter on FreeBSD? I have an 
old system and the family wants a house radio station.


Google didn't give any real info, and the ports tree shows no RocketFM 
driver.


Thanks,

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


Re: Rocket FM

2005-12-23 Thread DAve

Lowell Gilbert wrote:

DAve <[EMAIL PROTECTED]> writes:



Has anyone tried using the Rocket FM transmitter on FreeBSD? I have an
old system and the family wants a house radio station.

Google didn't give any real info, and the ports tree shows no RocketFM
driver.



I don't know what that particular device is.
Most consumer FM transmitters just take an audio input -- in fact,
often you can just plug a headphone output into them.  So there
wouldn't be any special drivers.




Agreed, I believe it will work just fine. The issue is that the device 
uses a desktop app to set the transmitter freq. I might be able to 
install it on my wifes Mac, set the freq, then plug it into the 
server(FreeBSD). We will see.


Thanks,

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


Re: Going from bind9 to djbdns

2005-12-29 Thread DAve

Kristian Vaaf wrote:

Hello!

My friend, who hosts most of my stuff, is using djbdns. Probably for security 
and simplicity.

Anyway I thought I'd do the same. But I'm having serious difficulties finding a 
user-friendly howto.

I've basically picked stuff from here and there and put them together.

Would this be what I need to set up a djbdns equivalent to 
http://www.home.no/hedhnta/namedb?


Without reading through what you have (sorry, my hands are really full 
right now) I would suggest you check into http://lifewithdjbdns.org/ and 
DJB's own docs.


The biggest issue you will face is, it is not as complicated as it 
seems. Follow the directions, join the list for djbdns. When posting to 
the list, outline what you are trying to do, what you have already 
tried, what sources of information you based your configuration on.


Hope that helps.

DAve



--

Create users:

tinydns
axfrdns
dnslog
dnscache

--

Run these commands:

mkdir /etc/tinydns
mkdir /etc/axfrdns
mkdir /etc/dnslog
mkdir /etc/dnscache
mkdir /etc/dnscache/root
mkdir /etc/dnscache/root/ip
mkdir /etc/dnscache/root/servers

Should the above directories be set as home for the users above?

--

Continue with:

dnscache-conf dnscache dnslog /etc/dnscache 127.0.0.1

touch /etc/dnscache/root/ip/192.168.187.1
touch /etc/dnscache/root/ip/192.168.187.2

echo 127.0.0.1 > /etc/dnscache/root/servers/mydomain.lan
echo 127.0.0.1 > /etc/dnscache/root/servers/187.168.192.in-addr.arpa

tinydns-conf tinydns dnslog /etc/tinydns 213.187.181.70

axfrdns-conf axfrdns dnslog /etc/axfrdns /etc/tinydns 213.187.181.70

ln -s /etc/dnscache /service
ln -s /etc/tinydns /service

svc -t /service/dnscache

--

Would djbdns now have created this file for me?

If so, can I skip this? If not, I take it I should:

vim /etc/tinydns/data

And type in:

.mydomain.com::ns1.mydomain.com
@mydomain.com::mail.mydomain.com
=myhost.mydomain.com:213.181.112.43
+mail.mydomain.com:213.181.112.43
+www.mydomain.com:213.181.112.43

Then:

cd /etc/tinydns
make

--

To allow my 213.181.102.23 to be ns2.mydomain.com, I must do this?

vi /etc/axfrdns/tcp

And then type in:

213.181.102.23:allow,AXFR="*"

I have a lot of domains. I want the ns2 to handle them all.
Is the wildcard "*" valid, or should I list them all?

Anyway:

cd /etc/axfrdns
make

--

As for my zone files, I take it I could cram all my domains into the data file?
How would that look?

--

That's it.

I'm hoping that once everything is up, my configuration will be stored in files
that I can back up and easily redeploy incase of an accident (similar to my 
current
namedb setup I posted above).

Thank you all, and happy new year!
Kristian Vaaf


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




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


syslog in jail on 6.0

2005-12-30 Thread Dave

Hello,
I've got two jail issues on 6.0. My first problem is when i start the jail 
via /etc/rc.d/jail start i get this message from the jail startup:


syslogd child pid PIDNUM exited with return code 1

and i don't get jail logging. I've got syslog running on the hostsystem and 
in the jail both logging to their respected logging locations.
   My second issue is it appears devfs in the jail isn't being mounted. In 
my host system's rc.conf file i have a jail devfs mount line, but i have to 
manually mount devfs before i start the jail.

Any ideas?
Thanks.
Dave.

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


portupgrade freezing

2006-01-04 Thread Dave

Hello,
   Last portupgrade i did showed portupgrade itself was in need of 
updating. I ran portupgrade -arR and i got portupgrade v2.01,1, now when i 
run a portupgrade command the system just sits there. I don't get any output 
at all. I have uninstalled portupgrade and reinstalled it, no change. Any 
help welcome.

Thanks.
Dave.

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


Re: portupgrade freezing

2006-01-04 Thread Dave

Hi,
   I don't have to kill the system, just portupgrade. When i run 
portversion -l "<" it just hangs as well. A pkg_info shows portupgrade 
version 2.0.1,1.

Dave.

- Original Message - 
From: "Tom Grove" <[EMAIL PROTECTED]>

To: "Dave" <[EMAIL PROTECTED]>
Cc: 
Sent: Wednesday, January 04, 2006 3:17 PM
Subject: Re: portupgrade freezing



Dave wrote:


Hello,
   Last portupgrade i did showed portupgrade itself was in need of 
updating. I ran portupgrade -arR and i got portupgrade v2.01,1, now when 
i run a portupgrade command the system just sits there. I don't get any 
output at all. I have uninstalled portupgrade and reinstalled it, no 
change. Any help welcome.

Thanks.
Dave.

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



Do you have to power off the system before it will be responsive again or 
just kill portupgrade? Have you looked through the logs for any messages?
portupgrade v2.01,1...are you sure; that doesn't seem to correspond with 
my versioning scheme? What does pkg_info say about portupgrade and it's 
version? What does portversion -l "<" say about portupgrade?


-Tom 


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


adding virtual webmail users, freebsd6

2006-01-08 Thread Dave

Hello,
   I'm setting up a webmail solution on freebsd6. So far i've got the 
underlying MTA Postfix working. I've installed Squirrelmail from ports so 
far all of this installed fine. Now i want to give another user an 
administrative function, adding virtual users, so that i won't have to 
manually add real users whenever a new account is needed. Is this doable?

Thanks.
Dave.

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


adjkerntz in a jail

2006-01-08 Thread Dave

Hello,
   I'm running apache in a jail on 6.0. Cron is sending me output like:

adjkerntz[33405]: sysctl(put_wallclock): Operation not permitted

Is this entry needed in a jail's crontab to run adjkerntz and if so what 
setting do i have to alter on the host system to make it work?

Thanks.
Dave.

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


Re: Blogin software recoendations

2006-01-24 Thread DAve

stan wrote:

On Tue, Jan 24, 2006 at 11:40:18AM -0500, Chuck Swiger wrote:


stan wrote:


I want to host this on FreeBSD, preferably by using something that;s in the
ports tree. I've installed and got working wordpress, but it doesn't seem
to have the ability to allow me to define individual blogs for each person,
which is what I need. I'd like for each persons blog to have a unique URL.

Am I missing how to do this in wordpress? Or is there a more appropriate
choice?


Read the fine documentation :-):

http://codex.wordpress.org/Installing_Multiple_Blogs
http://codex.wordpress.org/WordPressMU



I did run across both of these, in looking at the documentation.

The first choice, while seeming to be the better of the 2 looked to be a
bit "heavyweight", as each user would have his own complete install of
wrodpress. Seems like an admin nightmare to me.

The 2nd is listed as alpha quality software. Doesn't sound like a great
idea to me.

Am I thinkining incorectly here?



While not the final word, I found this page worthwhile in deciding.

http://www.asymptomatic.net/blogbreakdown.htm

DAve


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


converting pdfs with xpdf

2006-01-31 Thread Dave

Hello,
   I'm running freebsd6 and xpdf 3.01_2. I've got pdfs that i want to 
convert to ps and text documents in four different areas in my home 
directory. I could convert them such as:

pdfto format file1.pdf file2.ps etc.
but i was wondering if there was a faster way? My second issue is some of 
these files are pdf 1.6 and as i've already tried xpdf won't convert these 
docs, does anyone have xpdf working with pdf 1.6 files?
   Second, after i convert all these docs there are three patterns i'd like 
to remove from them, all having spaces and & signs in them. Again, i could 
do this manually, but i was wondering one if there was a faster way and two 
if i could do this on the tail end of the conversion process so i would only 
have to issue one command and come back probably a while later, these files 
are big, and it's all done?

Thanks.
Dave.

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


using webmin to control a server

2006-02-01 Thread Dave

Hello,
   I'm wanting to use webmin to control aspects of a server. I've got it 
installed and now i'm trying to get it to allow me to change user quotas via 
webmin. I believe this is possible, yet i'm not seeing it. Is there 
something special i need to do to webmin to pull this off?

Thanks.
Dave.

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


  1   2   3   4   5   6   7   8   9   10   >