Re: fsck on FAT32 filesystem?

2012-07-22 Thread Duane Hill
Personally,  I've  always  used a product from http://www.jetico.com/.

On Sunday, July 22, 2012 at 17:06:04 UTC, g...@ross.cx confabulated:

> On Sun, 22 Jul 2012 17:08:56 +0200, Bruce Cran  wrote:

>> On 22/07/2012 16:01, Wojciech Puchar wrote:
 'dd if=/dev/zero of=/dev/sda bs=1M' works under Cygwin - or you can  
 just write a load of zeros to \\.\PhysicalDrive0 .
>>>
>>> who prevents you to bood live CD or pendrive with FreeBSD (or  
>>> openbsd,netbsd,linux,solaris,whatever usable)?
>>
>> Nobody - I didn't say users couldn't boot from a FreeBSD/etc live CD,  
>> but zeroing the disk in Cygwin is an alternative.
>>

> Microsoft's format.exe can zero a volume, at least in the newer (>2008)
> versions:

> /p: : Zeros every sector on the volume for the number of passes
> specified.


> http://technet.microsoft.com/en-us/library/cc730730(v=ws.10)

-- 
If at first you don't succeed...
...so much for skydiving.

___
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: semi OT: correct CIDR block?

2012-03-05 Thread Duane Hill
On Monday, March 05, 2012 at 14:30:01 UTC, roberth...@rcn.com confabulated:


> With my brain still on EBADSLEEP, I cannot decide if:

> 10.0.0.32-10.0.0.63

> is correctly described by:

> 10.0.0.32/27

> Anyone?  Please?

I use the online IP calculator all the time:

http://jodies.de/ipcalc?host=10.0.0.32&mask1=27&mask2=

-- 
If at first you don't succeed...
...so much for skydiving.

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


Issues with Link Aggregation

2011-12-02 Thread Duane Hill
Hello Freebsd-Questions,

I   have   an  Asus  laptop  running  FreeBSD  8.2-RELEASE-p4.  I have
successfully  configured  both the wired and wireless interfaces. They
both  work  individually.  I  use the wireless interface more than the
wired,   so  I  have  attempted  to  us link aggregation (LAGG) to tie
the  two  together  so either can be used when connected. lagg and iwn
have been added into a custom compiled kernel.

FreeBSD  on this Asus uses alc0 for the wired interface and iwn(wlan0)
for the wireless interface. The following is in my rc.conf:

  ifconfig_alc0="up"
  wlans_iwn0="wlan0"
  ifconfig_wlan0="up wpa"
  cloned_interfaces="lagg0"
  ifconfig_lagg0="laggproto failover laggport wlan0 laggport alc0"
  ipv4_addrs_lagg0="192.168.2.90/24"
  defaultrouter="192.168.2.1"
  hostname="asus.local"

Looking  at  various  documentation shows this should support wlan0 as
the master and alc0 as the failover.

Everything  is  working like it should. However, every so often, I get
messages on the console stating:

  alc0: phy read timeout : 0
  alc0: phy read timeout : 17
  alc0: phy read timeout : 1
  ...
  alc0: phy read timeout : 1

Even  though this is happening, there doesn't appear to be any issues.
Can anyone shed light on why these messages are showing up?

-- 
If at first you don't succeed, so much for skydiving."

___
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: A quality operating system

2011-08-20 Thread Duane Hill
Saturday, August 20, 2011, 6:23:05 PM, wrote:

> Le Sat, 20 Aug 2011 17:46:58 -0500,
> Dave Pooser  a écrit :

>> An honest question here-- how many people run production servers on
>> RELEASE, never mind BETA? Mine has been running on STABLE, first 8.1
>> and then 8.2.

> Me! Because "if it works, don't break it.".

Me too. Been running FreeBSD release versions on servers for years.

___
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: Horde-4

2011-07-20 Thread Duane Hill
Wednesday, July 20, 2011, 1:45:57 PM, I wrote:

> Wednesday, July 20, 2011, 12:47:33 PM, Jack wrote:

>> Am running FBSD-7.x and IMAP WU + sendmail-8.4.x + MySQL-5.0.x

>> Sorry to bother the list with this but have searched and read everything
>> google & horde.org has to offer but I find no solution 
>> to an important issue I'm having with the installation of horde4.

>> Although the port maintainer won't have the broken port for horde4, I have
>> successfully installed Horde4 plus several common apps including, "IMP" app
>> for an IMAP mail service.

>> The problem is while I have a good install with the Horde4 base frame and
>> the apps, I can login to HORDE just fine, but when going to the IMAP app,
>> my login fails. From what I understand, the same Horde login should work
>> for the IMP. Reading the login scripts indicates that as well. I'm using
>> MySQL (SQL) as the backend for everything that needs a backend so I may be
>> able to handle a large number of users. I've installed Washington Uni (WU)
>> Imap server and it's listening on the expected port 143.

>> I've worked on this issue over days and weeks, including reinstalls but
>> cannot login to IMP for the mail services. In Horde, I can add users just
>> fine and they appear in the MySQL horde database properly. I have a couple
>> designated as admins.

>> If anyone on this list uses horde and maybe knows what I have missed I
>> would appreciate any possible tips to check on. Does IMP not use the same
>> login as I assUme?

>> Thanks for any ideas

> Installed fine via ports from /usr/ports/mail/horde4-webmail/
> FreeBSD 8.2-RELEASE-p2, MySQL 5.1.58, Postfix v2.8.3

> It took less than 15 minutes to have it configured and running.

Forgot to mention I am using Dovecot v2.0.13.

-- 
Best regards,
 Duanemailto:du...@duanemail.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: Horde-4

2011-07-20 Thread Duane Hill
Wednesday, July 20, 2011, 12:47:33 PM, Jack wrote:

> Am running FBSD-7.x and IMAP WU + sendmail-8.4.x + MySQL-5.0.x

> Sorry to bother the list with this but have searched and read everything
> google & horde.org has to offer but I find no solution 
> to an important issue I'm having with the installation of horde4.

> Although the port maintainer won't have the broken port for horde4, I have
> successfully installed Horde4 plus several common apps including, "IMP" app
> for an IMAP mail service.

> The problem is while I have a good install with the Horde4 base frame and
> the apps, I can login to HORDE just fine, but when going to the IMAP app,
> my login fails. From what I understand, the same Horde login should work
> for the IMP. Reading the login scripts indicates that as well. I'm using
> MySQL (SQL) as the backend for everything that needs a backend so I may be
> able to handle a large number of users. I've installed Washington Uni (WU)
> Imap server and it's listening on the expected port 143.

> I've worked on this issue over days and weeks, including reinstalls but
> cannot login to IMP for the mail services. In Horde, I can add users just
> fine and they appear in the MySQL horde database properly. I have a couple
> designated as admins.

> If anyone on this list uses horde and maybe knows what I have missed I
> would appreciate any possible tips to check on. Does IMP not use the same
> login as I assUme?

> Thanks for any ideas

Installed fine via ports from /usr/ports/mail/horde4-webmail/
FreeBSD 8.2-RELEASE-p2, MySQL 5.1.58, Postfix v2.8.3

It took less than 15 minutes to have it configured and running.

-- 
Best regards,
 Duanemailto:du...@duanemail.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: boot/loader splash image

2011-07-17 Thread Duane Hill
Sunday, July 17, 2011, 6:07:57 PM, Fbsd8 wrote:

> wayne mitchell wrote:
>> hey
>> got question/problem for /boot/loader
>> 
>> system: freeBSD 8.1-RELEASE GENERIC
>> 
>> trying to get a bitmap onscreen for bootup
>> 
>> 
>> have read man page for all boot associated stuff (loader.conf...)
>> and followed instructions
>> using following values in /boot/loader.conf :
>> 
>> bitmap_load="YES"# have tried commenting this out also
>> vesa_load="YES"
>> splash_bmp_load="YES"
>> bitmap_name="/boot/splash.bmp"
>> 
>> the splash.bmp size is about 900x700
>> does not work
>> am using /boot/loader.rc as preset (includes loader.4th and beastie.4th)

> Try putting vesa_load="YES" first.

The image must also be 256-color.

-- 
Best regards,
 Duanemailto:du...@duanemail.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: Why are "*default release=cvs tag=RELENG_8 " identical on both stable & standard supfiles

2011-05-02 Thread Duane Hill
Hello Carmel,

Monday, May 2, 2011, 5:13:41 PM, you wrote:

> Just a quick question. Why are these lines identical "*default
> release=cvs tag=RELENG_8" in both the standard-supfile and the
> stable-supfile on a FreeBSD-8.2 amd64 system? Shouldn't they be
> different, and if so, exactly what?

Here, under /usr/share/examples/cvsup they have the correct content.
Is that where you are looking?

-- 
Best regards,
 Duanemailto:du...@duanemail.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: Welcome to the "freebsd-questions" mailing list

2009-05-13 Thread Duane
On 5/13/09, Shakil Khan  wrote:

> Can anyone let me know how can I download FreeBSD kernel source code.


1. Surf to http://freebsd.org.

2. Notice that there are now two flavors of FreeBSD:

LATEST RELEASES

* Production Release 7.2
* Production (Legacy) Release 6.4

3. Click on 'Documentation' and then 'Handbook'.

4. Scroll down to the table of contents of 'Appendix A. Obtaining
FreeBSD' and review these possibilities. I suggest you try CVSup.
There are CVSup clients available for virtually all Unixen systems,
including Linux.

NB. Now, read carefully the section on CVSup:

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

You can grab whatever source you want with this method.

5. RTFM!


-- 
Duane
___
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: Part II: Running SMP kernel but only one cpu

2009-05-04 Thread Duane
On 5/5/09, Tim Judd  wrote:

> Would you try enabling the IDE channels and see if the IRQ storms stop?

There is joy in Mudville. 

I couldn't really change the IDE settings that much since there are no
IDE drives in this thing. The channels are all on 'auto' and  that
yields a "NONE" for each of them (iirc, it's a kinda late). But I did
turn on some stuff that was off in the BIOS: serial port A, the sound
card, and the parallell port.  I know it's not good engineering
practice to change a bunch of stuff at once, but there it is. Whatever
I did along the lines of turning stuff *on* seems to have done the
trick!

Thanks all!

-- 
Duane
___
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: Part II: Running SMP kernel but only one cpu

2009-05-04 Thread Duane
On 5/4/09, Tim Judd  wrote:

> IRQ15 is typically your secondary IDE controller; but due to PCI (or E-ISA)
> plug&play, including the PnP the BIOS may setup, lots of others can be on
> that bus too.

This box has one SCSI card running two SCSI drives. The IDE's are
disabled in the BIOS. But the SCSI card does feature in the problem:

>   # grep -i irq15 /var/run/dmesg.boot

No 'irq15' is found. One can see that the "interrupt storm" begins
when the SCSI drives begin to spin up, IF the machine is booting with
two cpus initialized. dmesg.boot is attached for everyone's
edification and amusement!

Another interesting datapoint is that if the machine is booted in Safe
Mode the "interrupt storm" disappears, but  so does the second cpu.


Best regards,

-- 
Duane


dmesg.boot
Description: Binary data
___
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"

Part II: Running SMP kernel but only one cpu

2009-05-04 Thread Duane
The bios in this old Micron dual PPro-180 full tower antique only
initializes the second CPU if the machine is cold-booted.  A simple
'reboot' results in a single processor machine regardless of the
kernel that is launched. This fact -- unknown to me before last night
-- was the source of a great deal of lost time!

My 6.4 SMP kernel (now customized) runs just fine, with both cpus
active, *except* for this message streaming constantly up the boot
console.

(from /var/log/messages:)

May  4 20:20:33 poobah kernel: interrupt storm detected on "irq15:";
throttling interrupt source
May  4 20:21:02 poobah last message repeated 42 times
May  4 20:21:03 poobah login: ROOT LOGIN (root) ON ttyv1
May  4 20:21:03 poobah kernel: interrupt storm detected on "irq15:";
throttling interrupt source
May  4 20:21:33 poobah last message repeated 30 times
May  4 20:23:33 poobah last message repeated 120 times
May  4 20:33:33 poobah last message repeated 599 times
May  4 20:40:01 poobah last message repeated 387 times
etc etc ad repetitum infinitum

Question1: Is this something I should go to some lengths to eliminate?

Question2: What the heck is it?


Best regards,

-- 
Duane
___
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: Honey pot email address

2009-05-02 Thread Duane
On Sat, May 2, 2009 at 12:57 AM, Andrew  wrote:

> Does anyone have any ideas on how to get on as many spammers mailing lists
> as possible?

What are your plans for the resultant collection of junque?


-- 
Duane
___
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: Running SMP kernel but only one cpu

2009-05-02 Thread Duane
On Sat, May 2, 2009 at 9:19 AM, Diego F. Arias R.  wrote:

> Are you running generic or custom kernel?

Generic SMP:

# uname -a
FreeBSD poobah.legomenon.org 6.4-RELEASE FreeBSD 6.4-RELEASE #0: Wed
Nov 26 12:11:16 UTC 2008
r...@dessler.cse.buffalo.edu:/usr/obj/usr/src/sys/SMP  i386


-- 
Duane
___
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: Running SMP kernel but only one cpu

2009-05-01 Thread Duane
On Fri, May 1, 2009 at 11:18 PM, Adam Vande More  wrote:

> top should display a C column with a number that represents which cpu the
> process is running on.  IIRC, ACPI must be enabled for SMP to work, and ACPI
> didn't work on my MB until 7.0.

Using the ACPI boot option doesn't seem to change the cpu situation. I
still get only cpu0 grepping dmesg.

> also "sysctl -a |grep kern.smp.cpus" should return your cpu #

This gives me '1'.

Thanks,

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


Running SMP kernel but only one cpu

2009-05-01 Thread Duane
I have a fairly new install of 6.4, done over the 'net, on this old
Micron full tower dual PPro-180. The SMP kernel was automagically
installed:

# uname -a
FreeBSD poobah.legomenon.org 6.4-RELEASE FreeBSD 6.4-RELEASE #0: Wed
Nov 26 12:11:16 UTC 2008
r...@dessler.cse.buffalo.edu:/usr/obj/usr/src/sys/SMP  i386

Performance was *rather* sluggish so I tried to ascertain if both
processors were running:

# dmesg | grep cpu
cpu0 on motherboard

Q1. Is there a better way to establish how many processors are running?

Q2. Do I need to specify, say in rc.conf, that I *want* SMP to be enabled?


Best regards,

-- 
Duane
___
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: jail stop

2009-04-06 Thread Duane Hill

On Mon, 6 Apr 2009, alexus wrote:


On Mon, Apr 6, 2009 at 3:49 PM, Adam Vandemore  wrote:

Brian A. Seklecki wrote:


On Mon, 2009-04-06 at 15:27 -0400, alexus wrote:



 cannot stop jail mx. No jail id in /var/run



$ uname -a
There were problems with TTY code in older versions that would cause
processes to get stuck, ghosting jails.


I believe I have seen other causes of this issue since it happens on 7.1.
 jkill takes care of it.  Probably happens due to user error, here at least.


dd# jkill
jkill: Command not found.
dd#

i assume jkill isn't part of standard OS, right?


Correct. It can be found here:

/usr/ports/sysutils/jkill
___
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: DHCP and MAC addresses

2008-10-27 Thread Duane Hill

On Tue, 28 Oct 2008, en0f wrote:


Bob McConnell wrote:

On Behalf Of Odhiambo Washington

One response I got off list was that I could use "deny
unknown-clients;" if I use isc-dhcpd-server, which got me thinking ...
is there another dhcp server for FreeBSD in the ports tree, or outside
it?


I have used dnsmasq on Slackware Linux. It is a combined DNS/DHCP server
that works well on small private networks. I don't know if it runs on
BSD.


Same here. I've used it on Debian&Ubuntu without any problem on home network 
and as Bob mentioned it talks both DNS and DHCP.


Just took a quick look:

  %locate dnsmasq
  /usr/ports/dns/dnsmasq
  ...

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


Re: uptime 2 years!

2008-10-08 Thread Duane Hill

On Wed, 8 Oct 2008, Frank Shute wrote:


On Wed, Oct 08, 2008 at 08:54:47AM -0700, Chad Marshall wrote:



Hello,

Would like to share a success story which I'm sure you've had in the
past but one of my servers running FreeBSD will have an uptime of 2
years tomorrow. I plan on putting on my blog but as it doesn't have
much reach but wanted to share with you since your community has made
this possible. Please indicate where I could post this to have a bit
more reach or if you'd like to put a link to my blog, I'd be more than
happy to provide that.


Best Regards,



Sorry to rain on your parade:

http://lists.freebsd.org/pipermail/freebsd-chat/2008-October/005719.html


Uptime over seven(7) years? Must be behind some firewall and not have to 
worry about (what someone else has stated) kernel or userland updates.

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


Re: rc.d ?

2008-08-14 Thread Duane Hill

On Thu, 14 Aug 2008, kalin m wrote:


hi all...

i used to be able to put startup scripts in /usr/local/etc/rc.d/.
now on a new 7 install i have the scripts there but after restart nothing 
happens 
using the example here: 
http://www.freebsd.org/doc/en/books/handbook/configtuning-starting-services.html


any particular reason?


Do you have:

local_startup="/usr/local/etc/rc.d"

in /etc/rc.conf ??

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


Re: Question re IPs-to-CIDR conversion program

2008-08-01 Thread Duane Hill

On Fri, 1 Aug 2008, Mark Wilson wrote:



I'm trying to write a program that will take 2 IPs and return an appropriate 
CIDR which contains both.
I found this file: ips-to-cidr-nets.pl listed under ~eivind on FreeBSD, which 
sounds like it might be a good model.
Unfortunately, I can't download the file (get "Forbidden") page, nor locate user 
"eivind" on the FreeBSD Homepages page to ask him/her about it.
(It's dated 2001, in case that helps; apparently eivind is long gone...)

1. Can anyone get me a copy of this program? Or...
2. Put me in touch with its author so I can ask about it?? Or...
3. Point me to another program which does what I need?

Thanks. I'm very new to all this; I was able to cobble together a CIDR-to-IPs 
calculator in JavaScript, but going this other direction seems much harder, and 
far more confusing.


If you know anything about Perl, you can use the port:

  /usr/ports/net/p5-Net-CIDR-Lite

to convert back-and-forth. For documentation, I referred to:

  http://search.cpan.org/dist/Net-CIDR-Lite/Lite.pm

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


CD Won't Boot Properly - External Sony VGP-UDRW1 Drive

2008-07-31 Thread Duane Hill
I have a new Sony Vaio TZ2500 I'm attempting to load FreeBSD 7.0-RELEASE. 
Whenever the CD starts to boot, the screen just starts showing what 
appears to be memory dumps. If you stare at the screen long enough, you 
can tell there are two columns of eight hex pairs. They flash by so fast 
you can't hardly make out what is being displayed.


Does anyone know what might be going on and how to get the CD to boot 
properly?


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


Re: disk encryption; hidden containers

2008-07-24 Thread Duane Hill

On Thu, 24 Jul 2008, Greg Larkin wrote:


-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Duane Hill wrote:
| On Fri, 18 Jul 2008, Greg Larkin wrote:
|
|> -BEGIN PGP SIGNED MESSAGE-
|> Hash: SHA1
|>
|> Chad Perrin wrote:
|> | On Fri, Jul 18, 2008 at 10:01:54PM +0100, RW wrote:
|> |> On Fri, 18 Jul 2008 21:06:57 +0100
|> |> RW <[EMAIL PROTECTED]> wrote:
|> |>
|> |>> On Fri, 18 Jul 2008 09:56:24 -0600
|> |>> Chad Perrin <[EMAIL PROTECTED]> wrote:
|> |>>
|> |>>> My preliminary searches on the subject suggest that neither GBDE nor
|> |>>> GELI encryption offers hidden volume/container capabilities.
|> |>> Are you talking about steganography?
|> |> Sorry, I guess you're talking about volumes hidden in the unused space
|> |> on a filesystem. I don't think there's anything. I'm not sure
|> |> what the status of truecrypt is, I've heard some talk about it running
|> |> on freebsd eventually.
|> |>
|> |> It would be a start for geli to be able to encrypt its metadata.
|> |
|> | So, are those basically my choices -- either wait for GBDE or GELI to
|> | acquire that capability, or write it myself (which is not something I'm
|> | prepared to do right now)?  Bummer.
|> |
|> | Well . . . or wait for something else like TrueCrypt to get ported to
|> | FreeBSD, I suppose.
|> |
|>
|> Hi Chad,
|>
|> There is a beta version of the TrueCrypt 5.1a port out there.  See:
|> http://lists.freebsd.org/pipermail/freebsd-ports/2008-May/048432.html.
|>
|> I tried it in a VMware virtual machine a couple of months ago and it
|> hung pretty consistently when copying files into the container.  It's
|> entirely possible that the problem was related to the virtual
|> environment, so YMMV.
|
| What VMWare version were you using and what OS and version hosted the VM?
|
| I only ask as I have been searching for this myself.
|
| Currently, I am using a commercial product under Linux and Windoes
| called BestCrypt by Jetico (http://www.jetico.com).
|
| I have VMware installed currently under Windoes Vista. VMware version is
| 6.0.4-93057. I haven't had any issues thus far running a number of
| FreeBSD guest OSes.
|
| If your version is less than what I'm running, I would be willing to
| install and test.
|

Hi Duane,

I originally tested the TC port inside of VMware Player 1.0.5 running on
Win XP SP2.  Do you think the hang could be caused by the version of
VMware software that hosts the VM?  I've been thinking about purchasing
VMware Workstation, and if I do that, I'll test there as well.


That could be. You could download the free VMware Server and try that 
first before purchasing VMware Workstation. It runs much the same.


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


Re: disk encryption; hidden containers

2008-07-18 Thread Duane Hill

On Fri, 18 Jul 2008, Greg Larkin wrote:


-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Chad Perrin wrote:
| On Fri, Jul 18, 2008 at 10:01:54PM +0100, RW wrote:
|> On Fri, 18 Jul 2008 21:06:57 +0100
|> RW <[EMAIL PROTECTED]> wrote:
|>
|>> On Fri, 18 Jul 2008 09:56:24 -0600
|>> Chad Perrin <[EMAIL PROTECTED]> wrote:
|>>
|>>> My preliminary searches on the subject suggest that neither GBDE nor
|>>> GELI encryption offers hidden volume/container capabilities.
|>> Are you talking about steganography?
|> Sorry, I guess you're talking about volumes hidden in the unused space
|> on a filesystem. I don't think there's anything. I'm not sure
|> what the status of truecrypt is, I've heard some talk about it running
|> on freebsd eventually.
|>
|> It would be a start for geli to be able to encrypt its metadata.
|
| So, are those basically my choices -- either wait for GBDE or GELI to
| acquire that capability, or write it myself (which is not something I'm
| prepared to do right now)?  Bummer.
|
| Well . . . or wait for something else like TrueCrypt to get ported to
| FreeBSD, I suppose.
|

Hi Chad,

There is a beta version of the TrueCrypt 5.1a port out there.  See:
http://lists.freebsd.org/pipermail/freebsd-ports/2008-May/048432.html.

I tried it in a VMware virtual machine a couple of months ago and it
hung pretty consistently when copying files into the container.  It's
entirely possible that the problem was related to the virtual
environment, so YMMV.


What VMWare version were you using and what OS and version hosted the VM?

I only ask as I have been searching for this myself.

Currently, I am using a commercial product under Linux and Windoes called 
BestCrypt by Jetico (http://www.jetico.com).


I have VMware installed currently under Windoes Vista. VMware version is 
6.0.4-93057. I haven't had any issues thus far running a number of FreeBSD 
guest OSes.


If your version is less than what I'm running, I would be willing to 
install and test.


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


Re: saslauthd on AMD64

2008-07-14 Thread Duane Hill

On Mon, 14 Jul 2008, Yuri Pankov wrote:


On Sun, Jul 13, 2008 at 04:58:56PM +, Duane Hill wrote:

On Sun, 13 Jul 2008, Martin Schweizer wrote:


Hello Duane

Do you have some inputs (config files etc.)?


$ ls -l /usr/local/lib/sasl2/
-rw-r--r--  1 root  wheel 26 Jun 17 22:11 Sendmail.conf
-rw-r--r--  1 root  wheel  22834 Jun 11 19:16 libcrammd5.a
-rwxr-xr-x  1 root  wheel815 Jun 11 19:16 libcrammd5.la
lrwxr-xr-x  1 root  wheel 15 Jun 11 19:16 libcrammd5.so -> libcrammd5.so.2
-rwxr-xr-x  1 root  wheel  24482 Jun 11 19:16 libcrammd5.so.2
-rw-r--r--  1 root  wheel  63976 Jun 11 19:16 libdigestmd5.a
-rwxr-xr-x  1 root  wheel838 Jun 11 19:16 libdigestmd5.la
lrwxr-xr-x  1 root  wheel 17 Jun 11 19:16 libdigestmd5.so -> 
libdigestmd5.so.2
-rwxr-xr-x  1 root  wheel  57212 Jun 11 19:16 libdigestmd5.so.2
-rw-r--r--  1 root  wheel  20046 Jun 11 19:16 liblogin.a
-rwxr-xr-x  1 root  wheel809 Jun 11 19:16 liblogin.la
lrwxr-xr-x  1 root  wheel 13 Jun 11 19:16 liblogin.so -> liblogin.so.2
-rwxr-xr-x  1 root  wheel  20895 Jun 11 19:16 liblogin.so.2
-rw-r--r--  1 root  wheel  19894 Jun 11 19:16 libplain.a
-rwxr-xr-x  1 root  wheel809 Jun 11 19:16 libplain.la
lrwxr-xr-x  1 root  wheel 13 Jun 11 19:16 libplain.so -> libplain.so.2
-rwxr-xr-x  1 root  wheel  20749 Jun 11 19:16 libplain.so.2
-rw-r--r--  1 root  wheel 68 Jun 17 15:17 smtpd.conf

$ cat /usr/local/lib/sasl2/smtpd.conf
pwcheck_method: saslauthd
mechlist: LOGIN PLAIN CRAM-MD5 DIGEST-MD5

$ cat /usr/local/etc/saslauthd.conf
ldap_servers: ldap://ldap.example.com
ldap_bind_dn: [EMAIL PROTECTED]
ldap_bind_pw: password
ldap_search_base: cn=%d
ldap_filter: mail=%u
ldap_timeout: 60
ldap_time_limit: 60




Really just a guess as you are using LDAP. Try the attached patch and
rebuild cyrus-sasl2-saslauthd. If it doesn't help, try rebuilding sasl*
and openldap-client using WITH_DEBUG defined and post backtrace.


Thanks much! It works now.

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


Re: saslauthd on AMD64

2008-07-13 Thread Duane Hill

On Sun, 13 Jul 2008, Martin Schweizer wrote:


Hello Duane

Do you have some inputs (config files etc.)?


$ ls -l /usr/local/lib/sasl2/
-rw-r--r--  1 root  wheel 26 Jun 17 22:11 Sendmail.conf
-rw-r--r--  1 root  wheel  22834 Jun 11 19:16 libcrammd5.a
-rwxr-xr-x  1 root  wheel815 Jun 11 19:16 libcrammd5.la
lrwxr-xr-x  1 root  wheel 15 Jun 11 19:16 libcrammd5.so -> libcrammd5.so.2
-rwxr-xr-x  1 root  wheel  24482 Jun 11 19:16 libcrammd5.so.2
-rw-r--r--  1 root  wheel  63976 Jun 11 19:16 libdigestmd5.a
-rwxr-xr-x  1 root  wheel838 Jun 11 19:16 libdigestmd5.la
lrwxr-xr-x  1 root  wheel 17 Jun 11 19:16 libdigestmd5.so -> 
libdigestmd5.so.2
-rwxr-xr-x  1 root  wheel  57212 Jun 11 19:16 libdigestmd5.so.2
-rw-r--r--  1 root  wheel  20046 Jun 11 19:16 liblogin.a
-rwxr-xr-x  1 root  wheel809 Jun 11 19:16 liblogin.la
lrwxr-xr-x  1 root  wheel 13 Jun 11 19:16 liblogin.so -> liblogin.so.2
-rwxr-xr-x  1 root  wheel  20895 Jun 11 19:16 liblogin.so.2
-rw-r--r--  1 root  wheel  19894 Jun 11 19:16 libplain.a
-rwxr-xr-x  1 root  wheel809 Jun 11 19:16 libplain.la
lrwxr-xr-x  1 root  wheel 13 Jun 11 19:16 libplain.so -> libplain.so.2
-rwxr-xr-x  1 root  wheel  20749 Jun 11 19:16 libplain.so.2
-rw-r--r--  1 root  wheel 68 Jun 17 15:17 smtpd.conf

$ cat /usr/local/lib/sasl2/smtpd.conf
pwcheck_method: saslauthd
mechlist: LOGIN PLAIN CRAM-MD5 DIGEST-MD5

$ cat /usr/local/etc/saslauthd.conf
ldap_servers: ldap://ldap.example.com
ldap_bind_dn: [EMAIL PROTECTED]
ldap_bind_pw: password
ldap_search_base: cn=%d
ldap_filter: mail=%u
ldap_timeout: 60
ldap_time_limit: 60


Am Sun, Jun 15, 2008 at 11:42:57PM + Duane Hill schrieb:

I have an AMD64 install using saslauthd and is failing.

An identical installation on i386 works fine. Both installations are
running on FreeBSD 7.0-RELEASE with cyrus-sasl-2.1.22_1, and
cyrus-sasl-saslauthd-2.1.22.

A telnet session to the MTA yields the result:

  535 5.7.8 Error: authentication failed: generic failure

One of the saslauthd threads then exits:

  Jun 15 23:09:55 smtpgate kernel: pid 44573 (saslauthd), uid 0: exited on
  signal 11 (core dumped)

I did not have this issue running on the AMD64 6.2-RELEASE.

Any help would be appreciated.

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


Re: Firefox 3 for FreeBSD 7.0 release

2008-07-05 Thread Duane Hill

On Sat, 5 Jul 2008, [EMAIL PROTECTED] wrote:


On Sat, Jul 05, 2008 at 06:12:15PM +0200, Mel wrote:

On Saturday 05 July 2008 17:56:00 [EMAIL PROTECTED] wrote:

On Sat, Jul 05, 2008 at 04:40:35PM +0200, Roland Smith wrote:

On Sat, Jul 05, 2008 at 02:27:42PM +, [EMAIL PROTECTED] wrote:

I downloaded the firefox*gz file from devel but it doesn't make for
64-bit.  Is Firefox 3 available for 64-bit AMD FreeBSD 7.0?


It builds fine from ports on amd64 7-STABLE. Use the port www/firefox3.

Roland


I'm running 7.0-release. I ran portsnap and then porsnap extract.
Then I cd'd to the firefox3 subdirectory and ran make. Make aborted with
the message that it could not find -lgio-2.0. I checked the Freebsd
ports tree and found gio-2.16. I downloaded it and ran make, but that
make aborted with the same message as the make of firefox3.


Your gnome2 is outof sync. Read:
/usr/bin/less -p 20080323 /usr/ports/UPDATING
/usr/bin/less -p 20080630 /usr/ports/UPDATING

--
Mel


Unfortunately there is no subdirectory /usr/ports/UPDATING on my system.


It's not a sub-directory, it is a file:

  %ls -l /usr/ports/UPDATING
  -rw-r--r--  1 root  wheel  240302 Jun 13 04:00 /usr/ports/UPDATING
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Saved Config Files for Ports

2008-07-03 Thread Duane Hill

On Thu, 3 Jul 2008, Warren Liddell wrote:


Where are saved configuration files found for various ports if they've been
previously compiled ?


In:

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


saslauthd on AMD64

2008-06-15 Thread Duane Hill

I have an AMD64 install using saslauthd and is failing.

An identical installation on i386 works fine. Both installations are 
running on FreeBSD 7.0-RELEASE with cyrus-sasl-2.1.22_1, and 
cyrus-sasl-saslauthd-2.1.22.


A telnet session to the MTA yields the result:

  535 5.7.8 Error: authentication failed: generic failure

One of the saslauthd threads then exits:

  Jun 15 23:09:55 smtpgate kernel: pid 44573 (saslauthd), uid 0: exited on
  signal 11 (core dumped)

I did not have this issue running on the AMD64 6.2-RELEASE.

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


Re: vmware timekeeping

2008-06-07 Thread Duane Hill
On Sat, 07 Jun 2008 09:30:27 -0400
Peter Thoenen <[EMAIL PROTECTED]> confabulated:

> > I run FreeBSD 7.0 inside VMware Workstation-6.0.4 (ACE Edition) and
> > I don't have to setup anything. The time is the always same as the
> > host
> 
> How long do you keep it up though Odhiambo and how intensive are you 
> using your native OS?  I have a similar setup and while it sync's on 
> boot, I routinely lose 15 minutes a day (I keep it up 24x7).  I think
> it is not so much a bug in VMware as opposed to the host OS running
> slower than it thinks (e.g. maybe a second of OS time is really
> 1.01 seconds of real time adding up over long periods) if the
> native OS is under moderate to heavy use.

I'm running FreeBSD 7.0-RELEASE within Vmware v6.0.4 build 93057 with
the host OS being XP-Home-SP2. I also have two jails running within the
FreeBSD VM.

I have within /boot/loader.conf:
kern.hz="50"

And within root's crontab:
PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin
@reboot ntpdate us.pool.ntp.org

I do not have the Vmware tools loaded. Nor do I have ntpd running. Time
has not been a big issue. The host OS (XP) is used more than average for
the irreplaceable Windoe$ software I have yet to find replacements for
native to FreeBSD.

I just decided to do an ntpdate and here are the results:

plz# ntpdate -b us.pool.ntp.org
 7 Jun 17:04:06 ntpdate[57748]: step time server 208.53.158.34 offset
2.433443 sec

plz# uptime
 4:59PM  up 6 days, 18:47, 1 user, load averages: 0.00, 0.00, 0.00

--
"If at first you don't succeed, so much for skydiving!"
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: (postfix) SPAM filter?

2007-12-12 Thread Duane Hill
On Wed, 12 Dec 2007 20:55:45 -0500
Steve Bertrand <[EMAIL PROTECTED]> wrote:

> I was going to recommend that, but from my experience, there is no
> real *easy* way to allow users directly to modify their own settings.
> I am probably wrong though.

Postfix is running here on a FreeBSD server as a boarder filter server.
All bayes and per-user SpamAssassin settings are stored within a MySQL
database on our SQL server.

The web mail interface is SquirrelMail installed on a different FreeBSD
server and has the sasql plugin interfaced to the MySQL server so the
customers have control over what they want to set their spam score,
whitelist, blacklist, whether they want bayes filtering, whether they
want bayes autolearn and so forth.

It has been pretty low maintenance. I am in the process of evaluating
the possibility of using amavis-new.

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


Re: More Postfix Woes

2007-10-18 Thread Duane Hill
On Thu, 18 Oct 2007 15:42:22 -0700
Rem P Roberti <[EMAIL PROTECTED]> confabulated:

> I don't know what is going on with respect to Postfix during my boot
> process, but the program starts, and stops, starts, and stops, and
> this newbie is a little perplexed.  Fortunately, it ends up started,
> so I have access to my email, but something is obviously not right
> here.  I have provided below entries from my latest maillog.  Any
> help is appreciated...
> 
> 
> 
> Oct 18 00:00:00 bsd newsyslog[2514]: logfile turned over
> Oct 18 02:20:02 bsd postfix/pickup[2799]: 9EBD01D119: uid=0
> from= Oct 18 02:20:02 bsd postfix/trivial-rewrite[3032]:
> warning: database /usr/local/etc/postfix/transport.db is older than
> source file /usr/local/etc/postfix/transport
> Oct 18 02:20:02 bsd postfix/cleanup[3031]: 9EBD01D119:
> message-id=<[EMAIL PROTECTED]>
> Oct 18 02:20:02 bsd postfix/qmgr[906]: 9EBD01D119:
> from=<[EMAIL PROTECTED]>, size=931, nrcpt=1 (queue active)
> Oct 18 02:20:02 bsd postfix/local[3033]: 9EBD01D119:
> to=<[EMAIL PROTECTED]>, orig_to=, relay=local, delay=302,
> delays=302/0.01/0/0.05, dsn=2.0.0, status=sent (delivered to command:
> IFS=' ' && exec /usr/local/bin/procmail -f- || exit 75 #rem)
> Oct 18 02:20:02 bsd postfix/qmgr[906]: 9EBD01D119: removed
> Oct 18 02:45:20 bsd postfix/pickup[2799]: 4E5D11D119: uid=0
> from= Oct 18 02:45:20 bsd postfix/trivial-rewrite[3247]:
> warning: database /usr/local/etc/postfix/transport.db is older than
> source file /usr/local/etc/postfix/transport
> Oct 18 02:45:20 bsd postfix/cleanup[3246]: 4E5D11D119:
> message-id=<[EMAIL PROTECTED]>
> Oct 18 02:45:20 bsd postfix/qmgr[906]: 4E5D11D119:
> from=<[EMAIL PROTECTED]>, size=939, nrcpt=1 (queue active)
> Oct 18 02:45:20 bsd postfix/local[3248]: 4E5D11D119:
> to=<[EMAIL PROTECTED]>, orig_to=, relay=local, delay=19,
> delays=19/0.01/0/0.01, dsn=2.0.0, status=sent (delivered to command:
> IFS=' ' && exec /usr/local/bin/procmail -f- || exit 75 #rem)
> Oct 18 02:45:20 bsd postfix/qmgr[906]: 4E5D11D119: removed
> Oct 18 03:02:23 bsd postfix/pickup[3268]: 582321D119: uid=0
> from= Oct 18 03:02:23 bsd postfix/trivial-rewrite[3583]:
> warning: database /usr/local/etc/postfix/transport.db is older than
> source file /usr/local/etc/postfix/transport
> Oct 18 03:02:23 bsd postfix/cleanup[3576]: 582321D119:
> message-id=<[EMAIL PROTECTED]>
> Oct 18 03:02:23 bsd postfix/qmgr[906]: 582321D119:
> from=<[EMAIL PROTECTED]>, size=1189, nrcpt=1 (queue active)
> Oct 18 03:02:23 bsd postfix/pickup[3268]: 63AE11D11B: uid=0
> from= Oct 18 03:02:23 bsd postfix/cleanup[3576]: 63AE11D11B:
> message-id=<[EMAIL PROTECTED]>
> Oct 18 03:02:23 bsd postfix/qmgr[906]: 63AE11D11B:
> from=<[EMAIL PROTECTED]>, size=2038, nrcpt=1 (queue active)
> Oct 18 03:02:23 bsd postfix/local[3589]: 63AE11D11B:
> to=<[EMAIL PROTECTED]>, orig_to=, relay=local, delay=0.08,
> delays=0.02/0.01/0/0.05, dsn=2.0.0, status=sent (delivered to command:
> IFS=' ' && exec /usr/local/bin/procmail -f- || exit 75 #rem)
> Oct 18 03:02:23 bsd postfix/qmgr[906]: 63AE11D11B: removed
> Oct 18 03:02:23 bsd postfix/local[3588]: 582321D119:
> to=<[EMAIL PROTECTED]>, orig_to=, relay=local, delay=0.17,
> delays=0.09/0.01/0/0.07, dsn=2.0.0, status=sent (delivered to command:
> IFS=' ' && exec /usr/local/bin/procmail -f- || exit 75 #rem)
> Oct 18 03:02:23 bsd postfix/qmgr[906]: 582321D119: removed
> Oct 18 03:16:21 bsd postfix/pickup[3268]: 4F6211D119: uid=0
> from= Oct 18 03:16:21 bsd postfix/trivial-rewrite[16064]:
> warning: database /usr/local/etc/postfix/transport.db is older than
> source file /usr/local/etc/postfix/transport
> Oct 18 03:16:21 bsd postfix/cleanup[16063]: 4F6211D119:
> message-id=<[EMAIL PROTECTED]>
> Oct 18 03:16:21 bsd postfix/qmgr[906]: 4F6211D119:
> from=<[EMAIL PROTECTED]>, size=562, nrcpt=1 (queue active)
> Oct 18 03:16:21 bsd postfix/local[16065]: 4F6211D119:
> to=<[EMAIL PROTECTED]>, orig_to=, relay=local, delay=75,
> delays=75/0.01/0/0.01, dsn=2.0.0, status=sent (delivered to command:
> IFS=' ' && exec /usr/local/bin/procmail -f- || exit 75 #rem)
> Oct 18 03:16:21 bsd postfix/qmgr[906]: 4F6211D119: removed
> Oct 18 08:03:12 bsd postfix/postfix-script[17269]: stopping the
> Postfix mail system
> Oct 18 08:03:12 bsd postfix/master[894]: terminating on signal 15
> Oct 18 08:03:12 bsd postfix/postfix-script[17290]: fatal: the Postfix
> mail system is not running
> Oct 18 08:04:42 bsd postfix/postfix-script[894]: starting the Postfix
> mail system
> Oct 18 08:04:42 bsd postfix/master[895]: daemon started -- version
> 2.4.5, configuration /usr/local/etc/postfix
> Oct 18 08:04:42 bsd postfix/pickup[902]: B2EE61D131: uid=0 from=
> Oct 18 08:04:42 bsd postfix/trivial-rewrite[919]: warning: database
> /usr/local/etc/postfix/transport.db is older than source file
> /usr/local/etc/postfix/transport
> Oct 18 08:04:42 bsd postfix/cleanup[914]: B2EE61D131:
> message-id=<[EMAIL PROTECTED]>
> Oct 18 08:04:42 bsd postfix/qmgr[903]: B2EE61D131:
> from=<[EMAIL PROTECTED]>, size=701, 

Re: sendmail problems

2007-10-18 Thread Duane Winner
Derek Ragona wrote:
> At 01:27 PM 10/18/2007, Duane Winner wrote:
>> Derek Ragona wrote:
>> > At 06:15 PM 10/17/2007, Duane Winner wrote:
>> >> Derek Ragona wrote:
>> >> > At 04:07 PM 10/17/2007, Duane Winner wrote:
>> >> >> Hello,
>> >> >>
>> >> >> I need help to resolve a problem with my sendmail server.
>> >> >>
>> >> >> In my /var/log/maillog, I've been seeing:
>> >> >>
>> >> >> sm-mta[1753]: l9H4EoAn001753: outbound-mail-10.bluehost.com
>> >> >> [69.89.17.210] did not issue MAIL/EXPN/VRFY/ETRN during
>> connection to
>> >> >> IPv4
>> >> >>
>> >> >> I use this server to manage mailman lists, so I knew something was
>> >> wrong
>> >> >> when I started notice that my own list posts (using a bluehost.com
>> >> >> account) were not showing up.
>> >> >> So I looked in the logs and noticed the above.
>> >> >>
>> >> >> At first I thought it might be bluehost.com acting up again,
>> but then
>> >> >> tried to send mail from a gmail.com account. Same thing:
>> >> >>
>> >> >> sm-mta[1785]: l9H4OdFq001785: py-out-1112.google.com
>> [64.233.166.176]
>> >> >> did not issue MAIL/EXPN/VRFY/ETRN during connection to IPv4
>> >> >>
>> >> >>
>> >> >> It accepts fine from my company's external email server (different
>> >> >> domain, different network), and also accepts from my att.net email
>> >> >> account, and many others who post to my lists.
>> >> >>
>> >> >> I'm not sure where to even begin looking. Any help appreciated!
>> >> >>
>> >> >> -DW
>> >> >
>> >> > Are you running only IPv4?  or are you running IPv6?  Or both?
>> >>
>> >> IPv4 only. When I restart sendmail, I get the following output,
>> which if
>> >> I'm interpreting correctly, means that sendmail isn't going to try to
>> >> use IPv6 when it's running:
>> >>
>> >> Oct 17 19:13:23 mymailserver sm-mta[33703]: starting daemon (8.13.6):
>> >> [EMAIL PROTECTED]:30:00
>> >> Oct 17 19:13:23 mymailserver sm-mta[33703]: NOQUEUE: SYSERR(root):
>> >> opendaemonsocket: daemon IPv6: can't create server SMTP socket:
>> Protocol
>> >> not supported
>> >> Oct 17 19:13:23 mymailserver sm-mta[33703]: NOQUEUE: SYSERR(root):
>> >> opendaemonsocket: daemon IPv6: optional socket disabled
>> >> Oct 17 19:13:23 mymailserver sm-msp-queue[33707]: starting daemon
>> >> (8.13.6): [EMAIL PROTECTED]:30:00
>> >
>> > It looks like you are trying to run sendmail on IPv6.  You can turn on
>> > or off support for IPv6 in the DaemonPortOptions in your *.cf files in
>> > /etc/mail.  I would check those and also check your IP stack
>> > configuration doing:
>> > ifconfig -a
>>
>> Still broken; I disabled IPv6 in my cf's, and sendmail doesn't even try
>> to listen on IPv6 now when I restart it.
>> I don't think it did anyway before, it was just trying to but I don't
>> have IPv6 in my stack since I disable it in the kernel config, so it
>> just ignored ipv6 after startup.
>>
>> I think something else is going on. The weird thing is that it's just
>> certain mail hosts that it's rejecting.
>
> Check the DNS forward and reverse of the rejected hosts.  It may be a
> DNS issue.
>
> -Derek
>
Can't find much wrong with DNS:

FYI: I had dnsbl enabled (which worked fine for the past couple years on
this server), but disabled that too, and still no luck.

dig -x 69.89.18.10

; <<>> DiG 9.3.2 <<>> -x 69.89.18.10
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 48077
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 3, ADDITIONAL: 2

;; QUESTION SECTION:
;10.18.89.69.in-addr.arpa.  IN  PTR

;; ANSWER SECTION:
10.18.89.69.in-addr.arpa. 86279 IN  PTR
outbound-mail-41.bluehost.com.

;; AUTHORITY SECTION:
18.89.69.in-addr.arpa.  86279   IN  NS  ns3.bluehost.com.
18.89.69.in-addr.arpa.  86279   IN  NS  ns1.bluehost.com.
18.89.69.in-addr.arpa.  86279   IN  NS  ns2.bluehost.com.

;; ADDITIONAL SECTION:
ns1.bluehost.com.   171739  IN  A   74.220.195.31
ns2.bluehost.com.   17

Re: sendmail problems

2007-10-18 Thread Duane Winner
Derek Ragona wrote:
> At 06:15 PM 10/17/2007, Duane Winner wrote:
>> Derek Ragona wrote:
>> > At 04:07 PM 10/17/2007, Duane Winner wrote:
>> >> Hello,
>> >>
>> >> I need help to resolve a problem with my sendmail server.
>> >>
>> >> In my /var/log/maillog, I've been seeing:
>> >>
>> >> sm-mta[1753]: l9H4EoAn001753: outbound-mail-10.bluehost.com
>> >> [69.89.17.210] did not issue MAIL/EXPN/VRFY/ETRN during connection to
>> >> IPv4
>> >>
>> >> I use this server to manage mailman lists, so I knew something was
>> wrong
>> >> when I started notice that my own list posts (using a bluehost.com
>> >> account) were not showing up.
>> >> So I looked in the logs and noticed the above.
>> >>
>> >> At first I thought it might be bluehost.com acting up again, but then
>> >> tried to send mail from a gmail.com account. Same thing:
>> >>
>> >> sm-mta[1785]: l9H4OdFq001785: py-out-1112.google.com [64.233.166.176]
>> >> did not issue MAIL/EXPN/VRFY/ETRN during connection to IPv4
>> >>
>> >>
>> >> It accepts fine from my company's external email server (different
>> >> domain, different network), and also accepts from my att.net email
>> >> account, and many others who post to my lists.
>> >>
>> >> I'm not sure where to even begin looking. Any help appreciated!
>> >>
>> >> -DW
>> >
>> > Are you running only IPv4?  or are you running IPv6?  Or both?
>>
>> IPv4 only. When I restart sendmail, I get the following output, which if
>> I'm interpreting correctly, means that sendmail isn't going to try to
>> use IPv6 when it's running:
>>
>> Oct 17 19:13:23 mymailserver sm-mta[33703]: starting daemon (8.13.6):
>> [EMAIL PROTECTED]:30:00
>> Oct 17 19:13:23 mymailserver sm-mta[33703]: NOQUEUE: SYSERR(root):
>> opendaemonsocket: daemon IPv6: can't create server SMTP socket: Protocol
>> not supported
>> Oct 17 19:13:23 mymailserver sm-mta[33703]: NOQUEUE: SYSERR(root):
>> opendaemonsocket: daemon IPv6: optional socket disabled
>> Oct 17 19:13:23 mymailserver sm-msp-queue[33707]: starting daemon
>> (8.13.6): [EMAIL PROTECTED]:30:00
>
> It looks like you are trying to run sendmail on IPv6.  You can turn on
> or off support for IPv6 in the DaemonPortOptions in your *.cf files in
> /etc/mail.  I would check those and also check your IP stack
> configuration doing:
> ifconfig -a

Still broken; I disabled IPv6 in my cf's, and sendmail doesn't even try
to listen on IPv6 now when I restart it.
I don't think it did anyway before, it was just trying to but I don't
have IPv6 in my stack since I disable it in the kernel config, so it
just ignored ipv6 after startup.

I think something else is going on. The weird thing is that it's just
certain mail hosts that it's rejecting.




>
> -Derek
>
> -- 
> This message has been scanned for viruses and
> dangerous content by *MailScanner* <http://www.mailscanner.info/>, and is
> believed to be clean.
> MailScanner thanks transtec Computers <http://www.transtec.co.uk/> for
> their support. 

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


Re: sendmail problems

2007-10-17 Thread Duane Winner
Derek Ragona wrote:
> At 04:07 PM 10/17/2007, Duane Winner wrote:
>> Hello,
>>
>> I need help to resolve a problem with my sendmail server.
>>
>> In my /var/log/maillog, I've been seeing:
>>
>> sm-mta[1753]: l9H4EoAn001753: outbound-mail-10.bluehost.com
>> [69.89.17.210] did not issue MAIL/EXPN/VRFY/ETRN during connection to
>> IPv4
>>
>> I use this server to manage mailman lists, so I knew something was wrong
>> when I started notice that my own list posts (using a bluehost.com
>> account) were not showing up.
>> So I looked in the logs and noticed the above.
>>
>> At first I thought it might be bluehost.com acting up again, but then
>> tried to send mail from a gmail.com account. Same thing:
>>
>> sm-mta[1785]: l9H4OdFq001785: py-out-1112.google.com [64.233.166.176]
>> did not issue MAIL/EXPN/VRFY/ETRN during connection to IPv4
>>
>>
>> It accepts fine from my company's external email server (different
>> domain, different network), and also accepts from my att.net email
>> account, and many others who post to my lists.
>>
>> I'm not sure where to even begin looking. Any help appreciated!
>>
>> -DW
>
> Are you running only IPv4?  or are you running IPv6?  Or both?

IPv4 only. When I restart sendmail, I get the following output, which if
I'm interpreting correctly, means that sendmail isn't going to try to
use IPv6 when it's running:

Oct 17 19:13:23 mymailserver sm-mta[33703]: starting daemon (8.13.6):
[EMAIL PROTECTED]:30:00
Oct 17 19:13:23 mymailserver sm-mta[33703]: NOQUEUE: SYSERR(root):
opendaemonsocket: daemon IPv6: can't create server SMTP socket: Protocol
not supported
Oct 17 19:13:23 mymailserver sm-mta[33703]: NOQUEUE: SYSERR(root):
opendaemonsocket: daemon IPv6: optional socket disabled
Oct 17 19:13:23 mymailserver sm-msp-queue[33707]: starting daemon
(8.13.6): [EMAIL PROTECTED]:30:00




>
> -Derek
>

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


sendmail problems

2007-10-17 Thread Duane Winner
Hello,

I need help to resolve a problem with my sendmail server.

In my /var/log/maillog, I've been seeing:

sm-mta[1753]: l9H4EoAn001753: outbound-mail-10.bluehost.com
[69.89.17.210] did not issue MAIL/EXPN/VRFY/ETRN during connection to IPv4

I use this server to manage mailman lists, so I knew something was wrong
when I started notice that my own list posts (using a bluehost.com
account) were not showing up.
So I looked in the logs and noticed the above.

At first I thought it might be bluehost.com acting up again, but then
tried to send mail from a gmail.com account. Same thing:

sm-mta[1785]: l9H4OdFq001785: py-out-1112.google.com [64.233.166.176]
did not issue MAIL/EXPN/VRFY/ETRN during connection to IPv4


It accepts fine from my company's external email server (different
domain, different network), and also accepts from my att.net email
account, and many others who post to my lists.

I'm not sure where to even begin looking. Any help appreciated!

-DW

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


Re: What is affected by FreeBSD-SA-07:08.openssl ?

2007-10-04 Thread Duane Winner
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Alexandre Biancalana wrote:
> Hi list,
> 
> A quick:
> 
> $ grep -lr SSL_get_shared_ciphers /usr/src 2> /dev/null
> /usr/src/crypto/openssl/apps/s_client.c
> /usr/src/crypto/openssl/apps/s_server.c
> /usr/src/crypto/openssl/doc/ssleay.txt
> /usr/src/crypto/openssl/doc/ssl/ssl.pod
> /usr/src/crypto/openssl/ssl/ssl.h
> /usr/src/crypto/openssl/ssl/ssl_lib.c
> /usr/src/crypto/openssl/util/ssleay.num
> /usr/src/secure/lib/libssl/man/ssl.3
> 
> Doesn't revel much about what is affected by this bug Have someone made
> some deeper analysis about what is affected ?

Related question:

Would any ports which may have been built based on openssl libraries
(apache, stunnel, etc.) need to be rebuilt after this openssl patch?

- -DW


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

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.7 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHBPl0AQOPf2yoJj8RArAcAJ9utZf/7AE/0NZMY5lCc0iJQvZ+LACdGQjO
4BDswoNLJtezAUOjJIhhenA=
=5Mtv
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


security patches and release number question

2007-10-04 Thread Duane Winner

Hi,

Question about patch numbers and applying patches:

Last night, I got the openssl security advisory, and this morning am 
starting to patch my servers.


I've always just done a "make build world; make build kernel; make 
install kernel; make install world" when I've need to patch.


Today, however, I thought I would just try to do the patch on the 
openssl libs as described in the advisory. I think it worked just fine, 
but my question is this:


How do I keep track of which systems I've patched if I just do a "patch 
< patchfile" instead of the whole world/kernel thing?


uname -an still shows 6.2-RELEASE-p7 instead of "p8"; I use this to keep 
track of which servers I've patched and which I haven't.


Is there a way to handle this?

Thanks,
DW

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


Re: question about Postfix

2007-10-02 Thread Duane Hill

On Tue, 2 Oct 2007 at 16:23 -0700, [EMAIL PROTECTED] confabulated:



On Oct 1, 2007, at 8:04 PM, Duane Hill wrote:


On Mon, 1 Oct 2007 at 19:50 -0700, [EMAIL PROTECTED] confabulated:


Hello;
I have a quick question about Postfix.
When I install Free BSD and have it
include Postfix  from packages, does
the install process completely replace
Sendmail with Postfix, or do I still have
to replace Sendmail with Postfix separately?
Thanks in advance
Jeff K


If you install Postfix from the ports collection:

  /usr/ports/mail/postfix

toward the end of the install process, it will ask you if you wish for the 
install to make changes in /etc/mail/mailer.conf. You tell it yes. If it 
did not ask, /etc/mail/mailer.conf should look like this:


sendmail/usr/local/sbin/sendmail
send-mail   /usr/local/sbin/sendmail
mailq   /usr/local/sbin/sendmail
newaliases  /usr/local/sbin/sendmail

This is what so-to-speak "plugs" Postfix into the OS.

To totally disable SendMail from running at startup after a reboot, you 
have to make some additions to the /etc/rc.conf config file. Namely, you 
have to add:


sendmail_enable="NO"
sendmail_submit_enable="NO"
sendmail_outbound_enable="NO"
sendmail_msp_queue_enable="NO"

Also, there are some periodic things that are ran which are SendMail 
specific that need to be disabled. That is done within /etc/periodic.conf 
as such:


daily_clean_hoststat_enable="NO"
daily_status_mail_rejects_enable="NO"
daily_status_include_submit_mailq="NO"
daily_submit_queuerun="NO"


O.K. This is something I have not been aware of. As far as MTA's on any 
system I am somewhat of a newbe. I do get regular e-mails to the root 
accounts of my
various (four) systems when they are running constantly, (two are) and I have 
been wondering how a switch over will effect that.
I will need to do a system specific configuration of postfix and define 
system specific aliases, prevent public use of the servers for open relaying 
and such. So I

expect for a first timer I have my work cut out for me.
Thanks for the info, much appreciated.
Jeff K
(I'm not looking to spam anyone)


Postfix can use the existing /etc/aliases file.

As this is getting to be more off-topic from FreeBSD, I would suggest 
subscribing to the Postfix mailing list:


  http://www.postfix.org/lists.html

and poking around the archives.

Also, the documentation is very well put together:

  http://www.postfix.org/documentation.html

You may also want to consider grabbing a copy of  "The book of postfix":

  http://nostarch.com/frameset.php?startat=postfix_rev

It can be obtained either in paper or electronic format. I have the pdf 
sitting on my 'desktop' for a readily available reference. It has helped 
me out in answering a vast number of questions I had without the aide of 
the mailing list.


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


Re: determining the space used in / partition

2007-10-01 Thread Duane Hill

On Tue, 2 Oct 2007 at 08:03 +0200, [EMAIL PROTECTED] confabulated:


2007/10/2, Duane Hill <[EMAIL PROTECTED]>:

On Tue, 2 Oct 2007 at 07:36 +0200, [EMAIL PROTECTED] confabulated:


2007/10/2, Duane Hill <[EMAIL PROTECTED]>:

On Tue, 2 Oct 2007 at 07:23 +0200, [EMAIL PROTECTED] confabulated:


Hello again,


Through df I realized my / partiotion is out of space:
Filesystem  1K-blocks UsedAvail Capacity  Mounted on
/dev/ad0s1a198126   196070   -13794   108%/
devfs   110   100%/dev
/dev/ad0s1e  44511308  4217762 3673264210%/usr
/dev/ad0s1d  30462636  3210580 2481504611%/var
devfs   110   100%/var/named/dev
/dev/da0s1c  75685352 34308200 3532232449%/mnt/usbck

How can I determine what occupies the space in it? That is, it is not
big as you can see. So I issued:
du -hs /
but it was taking ages (I am not sure but maybe du -hs counts all
directories on the HD?

Anyway, I do not really know where to look what has eaten the / space.
Were it for /usr or /var,  it would be obvious to me where to look for
information.

Many thanks!


I don't see you have defined a /tmp partition. Perhaps /tmp is taking up
all the space. Try:

   du -h /tmp

and see how much /tmp is taking up.

du -hs /tmp
1.4M/tmp

du -hs /
40GB

One thing that comes to my mind. Each Sunday I have a script which
makes a full dump of the HD to a back-up USB drive. Last weekend
someone cleaining the computer room, must have accidentally powered
off the USB drive. As a result, the dump has not been completed
because the USB drive was not mounted at that time. I use cron for
this task. Does it matter could have caused this?


If the '-L' switch is used (telling dump it is dumping a live file system)
it will first dump everything into a .snap directory before performing the
dump. What does:

   du -hs /.snap

give for a result?

Thank you Duane! Yes, I do use the L switch.
Unfortunately,
du -hs /.snap
2.0K/.snap

Hah - mystery cleared!
I know what happened but you put me on the right track.

For the record. During the backup, the file system is dumped to a dir
on a USB drive called backup. Now, since the drive was unavailable,
the dump utility created /backup dir and populated it with
lists-var-l0-2007-09-30.dump.bz2 (dumping var) but of course it died
as there was not enough space on the / to do it. I mean this is what I
make of this.

So after deleting /backup I get:
df
Filesystem  1K-blocks UsedAvail Capacity  Mounted on
/dev/ad0s1a19812674084   10819241%/
devfs   110   100%/dev
/dev/ad0s1e  44511308  4217760 3673264410%/usr
/dev/ad0s1d  30462636  3210650 2481497611%/var
devfs   110   100%/var/named/dev
/dev/da0s1c  75685352 34308200 3532232449%/mnt/usbck


I'm still learning about all the little details about the  workings of
dump myself. It would seem to me, you are dumping to /backup which is the
mount point for the USB device. Would that hold true?


I dump to /mnt/usbck/backup. Since backup dir was not present, the
script created it under /


Thanks. I couldn't find anything in the man page that explained what would 
happen if the mount point for the dump was inaccessible at dump time. To 
me, it is still an assumption.


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


Re: determining the space used in / partition

2007-10-01 Thread Duane Hill

On Tue, 2 Oct 2007 at 07:36 +0200, [EMAIL PROTECTED] confabulated:


2007/10/2, Duane Hill <[EMAIL PROTECTED]>:

On Tue, 2 Oct 2007 at 07:23 +0200, [EMAIL PROTECTED] confabulated:


Hello again,


Through df I realized my / partiotion is out of space:
Filesystem  1K-blocks UsedAvail Capacity  Mounted on
/dev/ad0s1a198126   196070   -13794   108%/
devfs   110   100%/dev
/dev/ad0s1e  44511308  4217762 3673264210%/usr
/dev/ad0s1d  30462636  3210580 2481504611%/var
devfs   110   100%/var/named/dev
/dev/da0s1c  75685352 34308200 3532232449%/mnt/usbck

How can I determine what occupies the space in it? That is, it is not
big as you can see. So I issued:
du -hs /
but it was taking ages (I am not sure but maybe du -hs counts all
directories on the HD?

Anyway, I do not really know where to look what has eaten the / space.
Were it for /usr or /var,  it would be obvious to me where to look for
information.

Many thanks!


I don't see you have defined a /tmp partition. Perhaps /tmp is taking up
all the space. Try:

   du -h /tmp

and see how much /tmp is taking up.

du -hs /tmp
1.4M/tmp

du -hs /
40GB

One thing that comes to my mind. Each Sunday I have a script which
makes a full dump of the HD to a back-up USB drive. Last weekend
someone cleaining the computer room, must have accidentally powered
off the USB drive. As a result, the dump has not been completed
because the USB drive was not mounted at that time. I use cron for
this task. Does it matter could have caused this?


If the '-L' switch is used (telling dump it is dumping a live file system)
it will first dump everything into a .snap directory before performing the
dump. What does:

   du -hs /.snap

give for a result?

Thank you Duane! Yes, I do use the L switch.
Unfortunately,
du -hs /.snap
2.0K/.snap

Hah - mystery cleared!
I know what happened but you put me on the right track.

For the record. During the backup, the file system is dumped to a dir
on a USB drive called backup. Now, since the drive was unavailable,
the dump utility created /backup dir and populated it with
lists-var-l0-2007-09-30.dump.bz2 (dumping var) but of course it died
as there was not enough space on the / to do it. I mean this is what I
make of this.

So after deleting /backup I get:
df
Filesystem  1K-blocks UsedAvail Capacity  Mounted on
/dev/ad0s1a19812674084   10819241%/
devfs   110   100%/dev
/dev/ad0s1e  44511308  4217760 3673264410%/usr
/dev/ad0s1d  30462636  3210650 2481497611%/var
devfs   110   100%/var/named/dev
/dev/da0s1c  75685352 34308200 3532232449%/mnt/usbck


I'm still learning about all the little details about the  workings of 
dump myself. It would seem to me, you are dumping to /backup which is the 
mount point for the USB device. Would that hold true?


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


Re: determining the space used in / partition

2007-10-01 Thread Duane Hill

On Tue, 2 Oct 2007 at 07:23 +0200, [EMAIL PROTECTED] confabulated:


Hello again,


Through df I realized my / partiotion is out of space:
Filesystem  1K-blocks UsedAvail Capacity  Mounted on
/dev/ad0s1a198126   196070   -13794   108%/
devfs   110   100%/dev
/dev/ad0s1e  44511308  4217762 3673264210%/usr
/dev/ad0s1d  30462636  3210580 2481504611%/var
devfs   110   100%/var/named/dev
/dev/da0s1c  75685352 34308200 3532232449%/mnt/usbck

How can I determine what occupies the space in it? That is, it is not
big as you can see. So I issued:
du -hs /
but it was taking ages (I am not sure but maybe du -hs counts all
directories on the HD?

Anyway, I do not really know where to look what has eaten the / space.
Were it for /usr or /var,  it would be obvious to me where to look for
information.

Many thanks!


I don't see you have defined a /tmp partition. Perhaps /tmp is taking up
all the space. Try:

   du -h /tmp

and see how much /tmp is taking up.

du -hs /tmp
1.4M/tmp

du -hs /
40GB

One thing that comes to my mind. Each Sunday I have a script which
makes a full dump of the HD to a back-up USB drive. Last weekend
someone cleaining the computer room, must have accidentally powered
off the USB drive. As a result, the dump has not been completed
because the USB drive was not mounted at that time. I use cron for
this task. Does it matter could have caused this?


If the '-L' switch is used (telling dump it is dumping a live file system) 
it will first dump everything into a .snap directory before performing the 
dump. What does:


  du -hs /.snap

give for a result?

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


Re: determining the space used in / partition

2007-10-01 Thread Duane Hill

On Tue, 2 Oct 2007 at 05:19 -, [EMAIL PROTECTED] confabulated:


On Tue, 2 Oct 2007 at 07:12 +0200, [EMAIL PROTECTED] confabulated:


hello,

Through df I realized my / partiotion is out of space:
Filesystem  1K-blocks UsedAvail Capacity  Mounted on
/dev/ad0s1a198126   196070   -13794   108%/
devfs   110   100%/dev
/dev/ad0s1e  44511308  4217762 3673264210%/usr
/dev/ad0s1d  30462636  3210580 2481504611%/var
devfs   110   100%/var/named/dev
/dev/da0s1c  75685352 34308200 3532232449%/mnt/usbck

How can I determine what occupies the space in it? That is, it is not
big as you can see. So I issued:
du -hs /
but it was taking ages (I am not sure but maybe du -hs counts all
directories on the HD?

Anyway, I do not really know where to look what has eaten the / space.
Were it for /usr or /var,  it would be obvious to me where to look for
information.

Many thanks!


I don't see you have defined a /tmp partition. Perhaps /tmp is taking up all 
the space. Try:


 du -h /tmp

and see how much /tmp is taking up.


Forgot to mention:

  du -h -d 0 /tmp

will show the total space consumed by the /tmp partition in a human 
readable value. As in my previous example:


  du -h /tmp

will show space consumed by each file on the /tmp partition in human 
readable values.


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


Re: determining the space used in / partition

2007-10-01 Thread Duane Hill

On Tue, 2 Oct 2007 at 07:12 +0200, [EMAIL PROTECTED] confabulated:


hello,

Through df I realized my / partiotion is out of space:
Filesystem  1K-blocks UsedAvail Capacity  Mounted on
/dev/ad0s1a198126   196070   -13794   108%/
devfs   110   100%/dev
/dev/ad0s1e  44511308  4217762 3673264210%/usr
/dev/ad0s1d  30462636  3210580 2481504611%/var
devfs   110   100%/var/named/dev
/dev/da0s1c  75685352 34308200 3532232449%/mnt/usbck

How can I determine what occupies the space in it? That is, it is not
big as you can see. So I issued:
du -hs /
but it was taking ages (I am not sure but maybe du -hs counts all
directories on the HD?

Anyway, I do not really know where to look what has eaten the / space.
Were it for /usr or /var,  it would be obvious to me where to look for
information.

Many thanks!


I don't see you have defined a /tmp partition. Perhaps /tmp is taking up 
all the space. Try:


  du -h /tmp

and see how much /tmp is taking up.

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


Re: question about Postfix

2007-10-01 Thread Duane Hill

On Mon, 1 Oct 2007 at 19:50 -0700, [EMAIL PROTECTED] confabulated:


Hello;
I have a quick question about Postfix.
When I install Free BSD and have it
include Postfix  from packages, does
the install process completely replace
Sendmail with Postfix, or do I still have
to replace Sendmail with Postfix separately?
Thanks in advance
Jeff K


If you install Postfix from the ports collection:

  /usr/ports/mail/postfix

toward the end of the install process, it will ask you if you wish for the 
install to make changes in /etc/mail/mailer.conf. You tell it yes. If it 
did not ask, /etc/mail/mailer.conf should look like this:


sendmail/usr/local/sbin/sendmail
send-mail   /usr/local/sbin/sendmail
mailq   /usr/local/sbin/sendmail
newaliases  /usr/local/sbin/sendmail

This is what so-to-speak "plugs" Postfix into the OS.

To totally disable SendMail from running at startup after a reboot, you 
have to make some additions to the /etc/rc.conf config file. Namely, you 
have to add:


sendmail_enable="NO"
sendmail_submit_enable="NO"
sendmail_outbound_enable="NO"
sendmail_msp_queue_enable="NO"

Also, there are some periodic things that are ran which are SendMail 
specific that need to be disabled. That is done within /etc/periodic.conf 
as such:


daily_clean_hoststat_enable="NO"
daily_status_mail_rejects_enable="NO"
daily_status_include_submit_mailq="NO"
daily_submit_queuerun="NO"

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


Re: what cpu type to use for a intel duo e6850 (i386 or amd64)

2007-09-29 Thread Duane Hill

On Sat, 29 Sep 2007 at 18:21 -, [EMAIL PROTECTED] confabulated:


Would the following procedure work to do an inplace upgrade:

1. Download the amd64 iso
2. Install it on a spare disk/partition
3. Do a cvsup on it's /usr/src
4. Make buildworld/buildkernel
5. Mount the x86 disk/partition
6. Copy /usr/obj (and /usr/src for good measure) from the amd
partition to the x48
7. Reboot with x86 partition
8. Make installkernel/installworld mergemaster on x86 partition
9. Now the non-ports section OS is amd64
10. pkg_del /var/db/pkg/*; rm -rf /usr/ports/ /usr/local
11. Reftp ports.tar.gz and rebuild all the ports (I have about 10 top
level ports installed the rest are dependicies so this straight
forward)

So does it work?


Keep in mind, in your step 10, the OP will be removing more than just 
stuff from installed packages/ports if you 'rm -rf /usr/local'. If 
anything was built/installed manually from a source archive, for instance.


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


Re: Keyboard without Scroll Lock

2007-09-26 Thread Duane Hill

On Wed, 26 Sep 2007 at 14:44 -0400, [EMAIL PROTECTED] confabulated:


 -Rob  [don't cc me; I'm subscribed and the reply addy is bogus]


Not to take this off topic, so you own invalid.org?

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


urgent sendmail question

2007-09-24 Thread Duane Winner
Hello,

I know if I poked around enough, I could find the answer, but am up
against the wall here and need a quick solution. I just discovered a
major problem with my sendmail configurations.

Just recently started consolidating servers by virtual hosting apache,
several servers on one box. Problem is that the web app sometimes send
automated emails to users, and now they're getting bounced back because
the emails are going out with "@fakename.mydomain.org" instead of
"@mydomain.org".

Since there is no DNS entry for "fakename.mydomain.org", recipient's
mail servers are rejecting these emails from my servers.

So I have an apache box, "fakename.mydomain.org", hosting 5 virtual
hosts with unique domain names that do have public dns records.

I need to all outbound mail appear to be coming from "[EMAIL PROTECTED]"
or "[EMAIL PROTECTED]", as long as it can be resolved by
the remote mail server.

My sendmails are configured to listen on 127.0.0.1 only, since I'm using
to send, not receive.

Please help!

Thanks,
DW

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


Re: GAIM??

2007-09-19 Thread Duane Hill

On Wed, 19 Sep 2007 at 18:33 -0700, [EMAIL PROTECTED] confabulated:


Folks,

On my ubuntu srver I've used gaim for quite awhile.   When I
looked for it with locate on my new server the file said it was
going away by fall.  Is there ea new, improved port?


It has been replaced by Pidgin:

  /usr/ports/net-im/pidgin

See:

  http://sourceforge.net/projects/gaim/

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


Re: Running process on startup as a user

2007-09-13 Thread Duane Hill

On Thu, 13 Sep 2007 at 13:15 -0500, [EMAIL PROTECTED] confabulated:



Using FreeBSD 6.2 x86.

I have a script called:

/home/foo/scripts/MyScript.sh
The user is 'foo'.  The password is 'bar'.

What I'm trying to do is run the MyScript.sh command on startup (that way if 
the box reboots, then this users process also re-starts it's self).


thoughts?


You could put the script in a crontab for that user:

@reboot /bin/sh /home/foo/scripts/MyScript.sh

According to 'man 5 crontab', @reboot runs the script once at startup.

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


RE: F11 in Firefox

2007-09-12 Thread Duane Hill

On Thu, 13 Sep 2007 at 10:28 +1200, [EMAIL PROTECTED] confabulated:



Hitting F11 again doesn't bring it back to normal?  It does for me.


It does for me too. And, at least in KDE (I'm sure it should be their in 
other desktop/window managers), you can click on the window restore in the 
upper right corner (one in the middle) to restore back to normal.


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


Re: Shutting off sendmail

2007-09-12 Thread Duane Hill

On Wed, 12 Sep 2007 at 16:18 -0400, [EMAIL PROTECTED] confabulated:


Hi all, I need to install qmail and shut down sendmail. In my /etc/rc.conf
file I dienalbe sendmail, but when the box reboot sendmail starts up
Why


This is what I did in /etc/rc.conf to totally disable sendmail:

sendmail_enable="NO"
sendmail_submit_enable="NO"
sendmail_outbound_enable="NO"
sendmail_msp_queue_enable="NO"

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


Re: 550 5.7.1 <[EMAIL PROTECTED]>... Relaying denied

2007-09-12 Thread Duane Hill

On Wed, 12 Sep 2007 at 06:48 +0100, [EMAIL PROTECTED]:


-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

johan Hartono wrote:


Yes, it is a very interesting topic I'd like to
discuss next.
I don't know why, in FreeBSD, even though you install
postfix it will
appears as sendmail. Will this become any problem?


All of the available MTAs will do that, because the standard Unix API
for an application to send e-mail is for that app to pipe the message
into the STDIN of /usr/sbin/sendmail.  Alternative MTAs have always
therefore provided a high degree of sendmail compatibility and expect
to have binaries either installed as or linked to /usr/sbin/sendmail.

Unlike most other Unix or unix-oid systems, FreeBSD has a slightly
more sophisticated variation on this.  /usr/sbin/sendmail is actually
a wrapper program and not Sendmail Brand sendmail(tm) at all -- see
mailwrapper(8) for details.  Simply by editing the configuration file
/etc/mail/mailer.conf you can switch between sendmail-from-the-base-system, 
sendmail-from-ports, exim, postfix, qmail, ssmtp and probably half a
dozen others.  mailer.conf also covers a number of other sendmail
related commands like newaliases(1) and hoststat(8).

The sendmail binary provided by the base system is installed as
/usr/libexec/sendmail/sendmail


Correct. And if you install Postfix from the ports collection, it will ask 
you if you want Postfix installed into the mailer.conf.


Therefore, if the OP did not install through the ports, the mailer.conf 
might not have been changed.


Either way, the logs the OP was showing are not Posfix. I just did a quick 
test from a terminal using sendmail and this is what it looks like:


Sep 12 11:54:11 duane postfix/local[71012]: 673D66D437: to=<[EMAIL PROTECTED]>, 
orig_to=<[EMAIL PROTECTED]>, relay=local, delay=7.8, delays=7.7/0.02/0/0.02, 
dsn=2.0.0, status=sent (delivered to mailbox)

None of the logs that were shown bare the Postfix name.

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


Re: 550 5.7.1 <[EMAIL PROTECTED]>... Relaying denied

2007-09-11 Thread Duane Hill

On Tue, 11 Sep 2007 at 09:46 -0700, [EMAIL PROTECTED] confabulated:


Sep 11 09:49:57 mail sendmail[942]: l8B2nuLx000942: ruleset=check_rcpt,arg1=<[EMAIL 
PROTECTED]>,relay=goldenflower [61.8.75.114], reject=550 5.7.1 <[EMAIL 
PROTECTED]>...Relaying denied
Sep 11 09:50:00 mail sendmail[942]: l8B2nuLx000942:from=<[EMAIL PROTECTED]>, 
size=0, class=0, nrcpts=0, proto=ESMTP,daemon=IPv4, relay=goldenflower [61.8.75.114]


You say your running Postfix, yet these log lines look like SendMail. Are 
you sure all SendMail processes are dead? Have you disabled SendMail from 
/etc/rc.conf:


sendmail_enable="NO"
sendmail_submit_enable="NO"
sendmail_outbound_enable="NO"
sendmail_msp_queue_enable="NO"

so it doesn't start back up on boot?

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


fatal double fault (spinlock)

2007-09-04 Thread Duane Hill


We have a Dell PowerEdge 6850 with four 3ghz Intel dual core Xeon 
processors and 12 gig ram. It is running FreeBSD 5.5-RELEASE-p15 amd64. 
SMP has been compiled into the kernel. However, 
machdep.hyperthreading_allowed has been set to zero(0) in 
/etc/sysctrl.conf.


Once about every 1.5 to 2 weeks, the server throws the error:

  fatal double fault
  cpuid=15
  spinlock sched lock held by 0xff032f3c1500 > 5 seconds

This server is located in a colo many miles away. I had to have a person 
at the colo facility read off the message that was on the screen. I hope 
it is exact (or at least close).


This server is one of our main spam filter servers. It use to have an MTA 
installed on it that required FreeBSD 5.5. That software does not run on 
the server anymore.


I've been meaning to upgrade the server to 6.2 release, but have been 
procrastinating. Would upgrading the server to 6.2 release correct this 
issue?


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


Re: Important Message...

2007-08-30 Thread Duane Hill

On Thu, 30 Aug 2007 at 11:24 -0400, [EMAIL PROTECTED] confabulated:


I must reply to about 25 of these per week... but I never hear anything
back.


Stop responding to them.

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


Re: FreeBSD 4.11 binary compatibility (libm.so.2, etc)

2007-08-28 Thread Duane Hill

On Tue, 28 Aug 2007 at 12:50 -0700, [EMAIL PROTECTED] confabulated:

I just installed FBSD 6.2, but I have a requirement to use some precompiled 
binaries from FreeBSD 4.11.  They are failing because libm.so.2 is not 
available.  Is there a compatibility package that I can install which will 
give me the older libraries?  I do not have the source code to recompile 
these applications.


Have you tried the compat4 port:

  /usr/ports/misc/compat4x

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


Re: spammers harvesting emaill address from this list

2007-08-23 Thread Duane Hill

On Thu, 23 Aug 2007 at 20:19 -0500, [EMAIL PROTECTED] confabulated:


On Aug 23, 2007, at 7:45 PMAug 23, 2007, Pollywog wrote:


On Friday 24 August 2007 00:22:12 Danny Pansters wrote:

I don't want to hijack this, erm, thread, but I get loads of spam (my mail
goes through a hosting provider, I (post-)filter locally) and a 
significant
part of it is loaded with technical terms, even FreeBSD specific. I 
suppose

it's meant to confuse filters. Do other folks get this too?


I get a lot of that.


Ditto.  I get more PDF files lately and a T-O-N of the ASCII blue-pill ads...

If only my old dot-matrix was looking for a good time...


I hardly *EVER* see any PDF spam. Also, I can't remember the last time I 
saw one of those blue-pill spams.


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


Re: spammers harvesting emaill address from this list

2007-08-23 Thread Duane Hill

On Fri, 24 Aug 2007 at 02:22 +0200, [EMAIL PROTECTED] confabulated:


I don't want to hijack this, erm, thread, but I get loads of spam (my mail
goes through a hosting provider, I (post-)filter locally) and a significant
part of it is loaded with technical terms, even FreeBSD specific. I suppose
it's meant to confuse filters. Do other folks get this too?


I see on average, five(5) spam messages on the freebsd-questions list 
every other week.


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


Re: un-zipping pkzip files om fbsd

2007-08-23 Thread Duane Hill

On Thu, 23 Aug 2007 at 09:27 -0400, [EMAIL PROTECTED] confabulated:


I receive a pkzip file created under ms/windows.
What can I use under fbsd to un-zip this file?


use: unzip

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


Re: Pine - Duplicate Messages

2007-08-17 Thread Duane Hill

On Fri, 17 Aug 2007 at 18:24 +0100, [EMAIL PROTECTED] confabulated:


On Fri, 17 Aug 2007 06:38:59 + (UTC)
Duane Hill <[EMAIL PROTECTED]> wrote:



Periodically I get duplicated messages in email folders I have
defined and have rules set up for.
...
If I remove ALL rules from Pine, I have absolutely no issues with
duplicate messages.


Are they perhaps deleted messages? when a pine rule moves a message, it
copies it, marks the original as deleted and then hides it for the rest
of the session.


Nope. This happens with new messages that are coming in. It is hard to 
track down as it does not happen that frequently. It happened twice today. 
Before that, it was two days ago. I just went and subscribed to the 
pine-info discussion list and am going to so some searching. I just 
thought someone may have a quick solution. I will continue my quest where 
it should be.


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


Pine - Duplicate Messages

2007-08-16 Thread Duane Hill


Periodically I get duplicated messages in email folders I have defined and 
have rules set up for.


For an example, I am subscribed to the Postfix email list. I have a rule 
that is set as such:


Recip pattern = postfix-users
...
(*)  Move (Enter folder name(s) in primary collection, or use ^T)
Folder List = /home/d.hill/mail/Postfix-Users

I am using Pine version:

  [EMAIL PROTECTED] ~]$ pine -version
  Pine 4.64 built Thu May 24 01:51:36 UTC 2007 on example.com

I am also using Fetchmail:

  [EMAIL PROTECTED] ~]$ fetchmail --version
  This is fetchmail release 6.3.8+RPA+SDPS+SSL+OPIE+NLS.

to fetch messages from a remote server.

According to http://www.washington.edu/pine the latest version of Pine is 
4.64.


If I remove ALL rules from Pine, I have absolutely no issues with 
duplicate messages.


I can actually verify the messages are duplicated. I have saved them off 
into files and used the  command.


Does anyone know why this would be occurring? I've seen a recent post to 
the Postfix list about similar issues and responses are pointing to file 
locking issues.


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


Re: don't read it

2007-08-09 Thread Duane Hill

On Thu, 9 Aug 2007 at 16:50 +0200, [EMAIL PROTECTED] confabulated:


Duane Hill <[EMAIL PROTECTED]> wrote:


[EMAIL PROTECTED] works fine for sending test messages. Subscribe
to it and use it for test message sending.



As you guest it was just for test message sending to THIS ONE.

Sorry for the inconvenience.


No inconvenience. I didn't know if you were aware of the test list. I 
believe a message hits the same server(s) sending to 
[EMAIL PROTECTED] as well as sending to any of the other lists. I 
could be wrong. Therefore it would lend to reason if you recieve a test 
message posted to [EMAIL PROTECTED], you should be receiving from 
the other subscribed lists as well.


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


Re: don't read it

2007-08-09 Thread Duane Hill

On Thu, 9 Aug 2007 at 15:44 +0100, [EMAIL PROTECTED] confabulated:


Duane Hill wrote:



[EMAIL PROTECTED] works fine for sending test messages. Subscribe to 
it and use it for test message sending.


Don't even need to subscribe:-)

You can view the archives at 
http://docs.freebsd.org/mail/archive/freebsd-test.html or 
http://lists.freebsd.org/pipermail/freebsd-test/


Yes. However, if you are testing your ability to receive list posted 
messages from the FreeBSD servers, you would need to be subscribed.


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


Re: don't read it

2007-08-09 Thread Duane Hill


[EMAIL PROTECTED] works fine for sending test messages. Subscribe 
to it and use it for test message sending.


On Thu, 9 Aug 2007 at 15:47 +0200, [EMAIL PROTECTED] confabulated:


test message

--
Jean-Pierre Trophardy
___
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: FreeBSD vs mysql50-server

2007-08-01 Thread Duane Hill

On Thu, 2 Aug 2007 at 00:45 -0400, [EMAIL PROTECTED] confabulated:


On Thu, Aug 02, 2007 at 02:04:45PM +1000, Hartleigh Burton wrote:

Hi Guys,

I have installed MySQL 5.0.45 server on a new FreeBSD 6.2 boxen, and
having some problems restoring a 10GB database backup to the new
server. The error I receive is max_allowed_packet too large. When I
change the value for max_allowed_packet and set it to 100M, or 500M,
or 1G, or 1000M, or 8589934592 (bits), it does not appear to be
changing the value in MySQL.

I only have one configuration file located in /etc/mysql/my.cnf which
is where I am setting the max_allowed_packet value.

After altering this value, I restart MySQL (or even the entire
server) and then log into mysql and do a "show variables;" command.
The max_allowed_packet variable is ALWAYS set to 1048576 (1M), and
has not changed no matter what I try.

Is the my.cnf file in the right location (/etc/mysql/)???


No, that is not the default location.  I think it uses
/var/db/mysql/my.cnf by default.


My config file is located at /etc/my.cnf and it works fine.

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


emacs22 and portsdb

2007-07-27 Thread Duane Winner

Hello,

We've been having a problem with generating the ports Index ever since 
upgrading to emacs22.


As per /usr/ports/UPDATING, we added EMACS_PORT_NAME=*emacs22* to 
/etc/make.conf


Everything went fine. Now running emacs22.

But ever since, our daily routine of cvsup'ing and portsdb -Uu has gone 
south, first with this error:


   lsdb-*emacs22*-0.10_1: "/usr/ports/editors/flim-*emacs22*" 
non-existent -- dependency list incomplete
   ===> devel/lsdb failed

   *** Error code 1
   1 error

and now today this:

   Updating the ports index ... Generating INDEX.tmp - please 
wait..eieio-emacs22-0.17_2: "/usr/ports/editors/speedbar-emacs22" 
non-existent -- dependency list incomplete

   ===> devel/eieio failed
   *** Error code 1
   1 error

   ...

   *** Error code 1

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

   Stop in /usr/ports.
   failed to generate INDEX!


Perhaps we should be doing a "portsdb -Fu" instead of "-Uu"? (that works 
when I tried it)


I'm not sure, because according to the portsdb manpage,

   "If you define special macros in /etc/make.conf and the
   dependency of some ports are changed, you should create
   INDEX by yourself by using this option. Otherwise, using
   -F option is recommended since it is much faster."

but we do have that "EMACS_PORT_NAME=emacs22" in /etc/make.conf, so I'm 
not sure.


We are also not sure what the implications are of doing a "portupgrade 
-a" or "portinstall" after after a failed portsdb. Some of our ports are 
getting out of date, and we're not sure what to do.


Also, I'm not sure if "EMACS_PORT_NAME=emacs22" even needs to stay in 
/etc/make.conf after upgrading. I just did a fresh install of FreeBSD a 
new server yesterday, and emacs22 was installed by default when I did my 
"portinstall emacs" anyway, so is there any sense in keeping it in 
make.conf on boxes where I've upgraded?


On one test machine, I took that line out /etc/make.conf, and portsdb 
-Uu works again, so any guidance on this topic would also be appreciated.


Thank you,
DW




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


Re: cron job every 5 hours

2007-07-13 Thread Duane Hill

On Fri, 13 Jul 2007 at 12:50 -0400, [EMAIL PROTECTED] confabulated:


Hello,
  I want to run an updater script, every 5 hours and x minutes. I thought to 
use:


minute 5 * * * root path/to/scriptname


crontab(5):
  ...
  Steps are also permitted after an asterisk, so if you want to say
  ``every two hours'', just use ``*/2''.
  ...

So, my guess would be:

minute */5 * * * root path/to/scriptname

but that looks like it only works once a day, i want it to go every 5 hours 
not justa at 5 in the monrning.

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: I've got a question for you guys (unsubscibing)

2007-07-12 Thread Duane Hill


http://lists.freebsd.org/mailman/listinfo/freebsd-questions

On Thu, 12 Jul 2007 at 07:18 -0400, [EMAIL PROTECTED] confabulated:


I have the same question. I tried unsubscribing with no luck.


- Original Message - From: <[EMAIL PROTECTED]>
To: 
Sent: Thursday, July 12, 2007 2:02 AM
Subject: I've got a question for you guys (unsubscibing)



Why, despite sending multiple e-mails to the unsubscribe address, am I
continued to be subscribed to this list?? Any help would be grand.


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


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



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


Re: named listening on LAN

2007-07-11 Thread Duane Hill

On Wed, 11 Jul 2007 at 13:16 +0200, [EMAIL PROTECTED] confabulated:



Hello,

On Wed, 11 Jul 2007 14:09:30 +0300, CK <[EMAIL PROTECTED]> wrote:

Zbigniew Szalbot wrote:

Now bind does not die but but it cannot find the log file:
logging channel 'simple_log' file '/var/log/named/nlog': file not found

ls /var/log/named/*
/var/log/named/nlog

Why would named not be able to find the log when it is there? The nlog

file

is owned by user bind and grup bind.


As a wild guess, your named may be running in a chrooted jail, so you
may want to check  /var/named/var/log/named


I did try that before. I do not have /var/named/var/log/named but I do have
/var/named/var/log/ and I created a file there, gave it appropriate
ownership but messages returned the same error about not being able to find
a file
logging{
 channel simple_log {
   file "/var/named/var/log/nlog";
   severity info;
   print-time yes;
   print-severity yes;
   print-category yes;
 };
 category default{
   simple_log;
 };
};

Jul 11 13:06:03 szalbot named[3319]: starting BIND 9.3.3 -t /var/named -u
bind
Jul 11 13:06:03 szalbot named[3319]: command channel listening on
127.0.0.1#953
Jul 11 13:06:03 szalbot named[3319]: command channel listening on ::1#953
Jul 11 13:06:03 szalbot named[3319]: logging channel 'simple_log' file
'/var/named/var/log/nlog': file not found
Jul 11 13:06:03 szalbot named[3319]: isc_log_open '/var/named/var/log/nlog'
failed: file not found


I have it working with this:

logging {

channel namedlog {
file "/var/log/nlog";
severity info;
print-time yes;
print-severity yes;
print-category yes;
};
category default { namedlog; };

};

When I restarted named, the nlog file was created in /var/named/var/log 
automatically:


home# ls -lo /var/named/var/log/nlog
-rw-r--r--  1 bind  wheel  - 1253 Jul 11 11:43 /var/named/var/log/nlog

If I add the flag into rc.conf to shut off chrooting, logging changes to:

  /var/log/nlog

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


Re: accessing mysql server remotely

2007-07-10 Thread Duane Hill

On Tue, 10 Jul 2007 at 12:01 -, [EMAIL PROTECTED] confabulated:


On Mon, 9 Jul 2007 at 23:33 -0400, [EMAIL PROTECTED] confabulated:


Just a general question about mysql remote access.

Is it possible to login to my remote mysql server and create a
new db & table using a file on the local system which contains
the definition statements?


Sure. As long as the account name used to login to MySQL has login access 
from the remote location.


mysql -host=ip_or_hostname -user=username -password=password dbname < 
statements.sql


My bad. The command line parameters should have two hyphens:

mysql --host=ip_or_hostname --user=username --password=password dbname < 
statements.sql

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


Re: accessing mysql server remotely

2007-07-10 Thread Duane Hill

On Mon, 9 Jul 2007 at 23:33 -0400, [EMAIL PROTECTED] confabulated:


Just a general question about mysql remote access.

Is it possible to login to my remote mysql server and create a
new db & table using a file on the local system which contains
the definition statements?


Sure. As long as the account name used to login to MySQL has login access 
from the remote location.


mysql -host=ip_or_hostname -user=username -password=password dbname < 
statements.sql

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


Scanner w/ feeder

2007-07-09 Thread Duane Winner

Hello,

Is there anybody out there who is using a scanner w/ a document feeder 
on FreeBSD?


Preferably a new model that we can buy w/ our existing budget (as 
opposed to an older used model).


Mac OS X support in addition to FreeBSD would be nice too.

Thanks for any feedback,
DW

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


Re: vpnc on FreeBSD 6.2

2007-07-09 Thread Duane Hill

On Mon, 9 Jul 2007 at 11:28 -0400, [EMAIL PROTECTED] confabulated:


Hi,

I am trying to make vpnc working on my FreeBSD 6.2 laptop to connect to a Cisco
3000 VPN concentrator without any luck.  Has anybody been successful on this?
Is there any guide on this?

Thanks,
Xihong


We have one (I believe it is a 3000) in our colo facility. I just recently 
colaborated with a co-worker in getting vpnc working on our non-Windoes 
machines. He is on Mandrake and I'm on FreeBSD 6.2. The following config 
is what worked for me. Of course, you will have to substitute your info 
for 'IPSec gateway', 'IPSec ID', and 'IPSec obfuscated secret' or 'Xauth 
username' and 'Xauth password'. We use the secret for authentication. So 
the username and password are specified as nothing so the prompt doesn't 
come up when starting the VPN connection.


/usr/local/etc/vpnc.conf:

IPSec gateway 192.168.10.1
IPSec ID my-ipsec-id
IPSec obfuscated secret the_obfuscated_secret
# empty strings here for uname and pass get rid of prompts
Xauth username ''
Xauth password ''
Vendor cisco
Local Port 1

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


Re: Anyone has migrated Xorg from 6.9 to 7.2 with success ?

2007-07-02 Thread Duane Hill

On Mon, 2 Jul 2007 at 21:34 +0200, [EMAIL PROTECTED] confabulated:


Hello

I tried twice starting from a fresh 6.2-R installed machine
and followed intructions of the updating file but it failed
twice ... Once Xorg has been upgraded I've never been able
to start X server again , I use KDE so I start X server with
the kdm command.

Thanks a lot for any help


I, like others, have successfully upgraded from Xorg 6.x to 7.x. I have 
three computers that were upgraded using the instructions within the 
UPDATING file. All three are running KDE.


However, if you are starting from complete scratch, why not just install a 
base FreeBSD setup from the CD. Then after you either csup (or cvsup) or 
portsnap the latest copy of the ports tree, install Xorg. The Xorg on the 
distribution CD is pre 7.x. Why not start right out on 7.x.

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


Re: FreeBSD 3D Desktop (XGL/AIGLX/...) how to start?

2007-06-18 Thread Duane Hill

On Mon, 18 Jun 2007, Jason Hills wrote:


Hello,

I would like to try adding a 3D Desktop feel to my laptop, but I am
new to this thing, and was not able to find how to install xgl or
aiglx. I installed Beryl and it complains about not finding AIGLX
display.

How should I start? What will I need to have installed and running,
and how to do proper testings when/if things go wrong?

I appreciate your help. I found some tutorials, say,
http://wiki.beryl-project.org/index.php/Install/FreeBSD, but it seems,
to me at least, that it is not an up-to-date resource.

Any directions will help.


I don't know if this is the same thing or not. I had a problem when 
starting Blender. It complained about not finding GLX. Upon discovering 
the driver was commented out in my X11 configuration file, I uncommented 
it, restarted X11 and BINGO!


Just do a search in /etc/X11/xorg.conf with 'glx' all lower case and you 
should find this section:


  # This loads the GLX module
  Load   "glx"

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


Re: startup / shutdown script (rc.d)

2007-05-31 Thread Duane Hill

On Thu, 31 May 2007, gmoniey wrote:



Hi,

I was wondering if there is a simple way to create 1 script that will be
called during startup and shutdown. Basically, I am looking for something
like this:

if startup
  run command 1 with params
  run command 2 with params
  run command 3 with params

if shutdown
  run command 4 with params
  run command 5 with params
  run command 6 with params

i have tried lookin up rc.d documentation, but it very vague and difficult
to understand...thanks


I don't know if this is too vague as well or not. However, I used the man 
page for 'rc' on startup/shutdown scripts. Just do 'man rc'.

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


xsane error during device i/o

2007-05-24 Thread Duane
Hi 

I just recently updated my freebsd box and now I am running into this problem.
I am using freebsd 6.1 and I did have my scanner working.

I ran into a few problems with update Xorg 7.2 and once I got that taken care 
of now I am getting this message from xsane?
"Failed to open device "genesys.libusb/dev/usb0/dev/ugen0"
Error during device I/O"

I am using a Canon CanoScan LiDe 60.

I have changed permissions on usb0 and ugen0 still get the same error.
I reinstalled xsane and the sane-backend nothing.
I have looked on the web for this problem still no luck.

Anyone have any ideas? I am out of them.

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


Re: disk too big to mount

2007-05-21 Thread Duane Hill
Disreguard my previous response. I didn't see your next response to Ray. 
Sorry.


On Sun, 20 May 2007, Yanko Sanchez wrote:


Hello,

I have a 400GB seagate IDE hdd with backed up data that I need to load onto
a machine running freebsd 6.2

The drive is formated for fat32 and when I run the command:

mount -t msdos /dev/ad2s2 /mnt/audio/

I get the following error:

"mountmsdosfs(): disk too big, sorry"

Is there a solution to this?
Thanks.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"




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


Re: disk too big to mount

2007-05-21 Thread Duane Hill

On Sun, 20 May 2007, Yanko Sanchez wrote:


Hello,

I have a 400GB seagate IDE hdd with backed up data that I need to load onto
a machine running freebsd 6.2

The drive is formated for fat32 and when I run the command:

mount -t msdos /dev/ad2s2 /mnt/audio/

I get the following error:

"mountmsdosfs(): disk too big, sorry"

Is there a solution to this?


The mailing list archives are your friend. I checked the archives and 
found that you have to recompile your kernel with:


option MSDOSFS_LARGE

If you do not know how to do that, I would suggest reading up on how to 
build a new kernel:


http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-building.html
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: amd64 FreeBSD Release 5.5 -> 6.2

2007-05-18 Thread Duane Hill

On Fri, 18 May 2007, Gerard Seibert wrote:


On Fri, 18 May 2007 13:31:52 + (UTC)
Duane Hill <[EMAIL PROTECTED]> wrote:


What about:

   portupgrade -afR

Wouldn't that force everything including ports that depend on the one
being reinstalled?


If you wanted, you could use:

portmanager -u -l -f

That will update and rebuild your entire existing ports system. Be
prepared, it could take awhile depending upon what you have installed.


Thanks for the alternate method. There are 138 ports installed. At least 
that's the number reported back from 'pkg_info | wc -l'. I'm speculating 
it will take less than four hours. The server has four processors and lots 
of memory.

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


Re: amd64 FreeBSD Release 5.5 -> 6.2

2007-05-18 Thread Duane Hill

On Fri, 18 May 2007, RW wrote:


On Thu, 17 May 2007 10:39:35 + (UTC)
Duane Hill <[EMAIL PROTECTED]> wrote:


On Thu, 17 May 2007, Matthew Seaman wrote:




You should be able to upgrade the system by a routine buildworld,
buildkernel ... type operation, but beware that you will need to
recompile all of your ports because of potential shlib version
clashes.  Ports from 5.5 will still work on 6.2, but later trying to
update them piecemeal can lead to misery.


I'm using portupgrade. So I will use the switches force a reinstall
and to act on everything that depends on the reinstalled port (-fr).




That wont do anything useful as there is nothing for the -r to work
with after a base-system upgrade.

The best way to upgrade all ports with portupgrade is to do it by
datestamp like this:

portupgrade -f '<2007-05-18 14:00'


What about:

  portupgrade -afR

Wouldn't that force everything including ports that depend on the one 
being reinstalled?

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


Re: amd64 FreeBSD Release 5.5 -> 6.2

2007-05-17 Thread Duane Hill

On Thu, 17 May 2007, Matthew Seaman wrote:


Duane Hill wrote:


I have a server that, at first, required 5.5 because of the MTA that was
running on the server. It no longer is running that particular MTA
anymore. I need to upgrade the server to release 6.2.

Is it just a matter of changing the release tag within the cvsup file
from RELENG_5_5 to RELENG_6_2, removing the contents of /usr/src/*,
removing the contents of /usr/obj/*, and doing a clean cvsup?


Pretty much.  You don't actually need to delete /usr/src/*, and not
doing so will save you some bandwidth.

You should be able to upgrade the system by a routine buildworld,
buildkernel ... type operation, but beware that you will need to
recompile all of your ports because of potential shlib version
clashes.  Ports from 5.5 will still work on 6.2, but later trying to
update them piecemeal can lead to misery.


I'm using portupgrade. So I will use the switches force a reinstall and to 
act on everything that depends on the reinstalled port (-fr).

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


amd64 FreeBSD Release 5.5 -> 6.2

2007-05-16 Thread Duane Hill


I have a server that, at first, required 5.5 because of the MTA that was 
running on the server. It no longer is running that particular MTA 
anymore. I need to upgrade the server to release 6.2.


Is it just a matter of changing the release tag within the cvsup file from 
RELENG_5_5 to RELENG_6_2, removing the contents of /usr/src/*, removing 
the contents of /usr/obj/*, and doing a clean cvsup?


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


Re: Why crontab is not able to run some commands ?

2007-05-11 Thread Duane Hill

On Fri, 11 May 2007, Paul Schmehl wrote:

--On Friday, May 11, 2007 19:45:22 + Duane Hill <[EMAIL PROTECTED]> 
wrote:



On Fri, 11 May 2007, Paul Schmehl wrote:



Then try running this in your cron job:
/bin/sh /etc/scriptfile

Bet it does work.  :-)


Yes, but if the OP has:

# !/bin/sh

as the first line, the file owned by root and the executable flag for
user set, shouldn't it execute from cron as just:

/etc/scriptfile

??

Yes, but I always like cron jobs to specifically call absolute path to the 
binary of choice.  That way someone couldn't substitute a different binary by 
altering the path and force a cron job to do something unexpected.


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


Re: Why crontab is not able to run some commands ?

2007-05-11 Thread Duane Hill

On Fri, 11 May 2007, Paul Schmehl wrote:



Then try running this in your cron job:
/bin/sh /etc/scriptfile

Bet it does work.  :-)


Yes, but if the OP has:

#!/bin/sh

as the first line, the file owned by root and the executable flag for user 
set, shouldn't it execute from cron as just:


/etc/scriptfile

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


Re: Further questions on making wireshark work

2007-05-11 Thread Duane Hill

On Fri, 11 May 2007, Andrew Falanga wrote:



I can't offer feedback on any of the questions. However, I see wireshark
in the ports tree here:

   /usr/ports/net/wireshark


Yes, that's where it's supposed to be.  It's a real curiosity that I
don't have it even after doing a cvsup.


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


Re: Why crontab is not able to run some commands ?

2007-05-11 Thread Duane Hill

On Fri, 11 May 2007, Halid Faith wrote:



I have a script. As I am a root user,  I can run it without a problem. I
added that script to crontab in order to run as automatic.
I entered in /etc/crontab and put down as below;
*/20 *   *   *   *   root/etc/scriptfile

Despite root user, the crontab could not run above file. But I can run the
same script in command line interface.
I am sure tha the crontab daemon is running. Also I can see the crontab try
to run that script in /var/log/cron.
/usr/sbin/cron[98727]: (root) CMD (/etc/scriptfile)
When I am a different user, I couldn't run the script and I got "access
denied"
What is the problem ?


Were you either logged in as root or su'd to root when you ran the script? 
If so, why not just install the cron as root by:


% crontab -u root -e

The only change to your cron line you would have to make is to drop the 
username 'root'. So it would look like:


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


Re: Further questions on making wireshark work

2007-05-11 Thread Duane Hill

On Fri, 11 May 2007, Andrew Falanga wrote:


Hi,

Many thanks to Eric for pointing me in the correct direction with
Wireshark and Ethereal.  Interestingly, I couldn't find the directory
(or the port) for wireshark on my system but did find the references
to it on www.freshports.org.  So, I downloaded the pre-compiled
package for wireshark from freebsd.org and installed wireshark that
way.

Now, when I try to start the program, I get the following error message:

/libexec/ld-elf.so.1: Shared object "libnetsnmp.so.10" not found,
required by "wireshark"

I know that this error is coming from the linker.  However, I'm not
sure how to fix it because I checked and the net-snmp port is loaded
on my system.  How do I get this shared object so that I can use
wireshark?

By the way, I didn't do a force install even if some dependencies are
absent.  I simply did pkg_add wireshare-xxx.  I actually had to
install a few extra packages that were lacking on my system for the
pkg_add to work.


I can't offer feedback on any of the questions. However, I see wireshark 
in the ports tree here:


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


Re: Question about stopping jails...

2007-05-07 Thread Duane Hill

On Mon, 7 May 2007, Bill Moran wrote:


In response to Duane Hill <[EMAIL PROTECTED]>:



I have a FreeBSD server running 6.2 that has two jails configured. As they
currently sit, they work perfectly fine. The only issue I currently have
is stopping them using the conventional method:

   /etc/rc.d/jail stop jail_name

It seems the jails do not stop even though the id files within:

   /var/run/jail_jail_name.id

cease to exist after the stop. 'jls' even shows the two jails as still
running. They both are running BIND and do have sshd enabled. After the
stop has been issued, you can not ssh into the jails which gives the
illusion the jails have stopped. However, you can still access the jails
from the server running them using:

   jexec jail_id /bin/sh

Can someone give me some insight on what I might be doing wrong?


What processes are still running inside the jail when you do that?  In my
experience, jails fail to stop of there are processes inside them that don't
stop.


That does make sense. I'll have to check that out the next time I get an 
opportunity to stop the jail(s) and do a 'ps' to look for processes that 
have a 'J' (jail indication) in the STAT column. I should have thought of 
this. Thanks for the reminder.

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


Question about stopping jails...

2007-05-07 Thread Duane Hill


I have a FreeBSD server running 6.2 that has two jails configured. As they 
currently sit, they work perfectly fine. The only issue I currently have 
is stopping them using the conventional method:


  /etc/rc.d/jail stop jail_name

It seems the jails do not stop even though the id files within:

  /var/run/jail_jail_name.id

cease to exist after the stop. 'jls' even shows the two jails as still 
running. They both are running BIND and do have sshd enabled. After the 
stop has been issued, you can not ssh into the jails which gives the 
illusion the jails have stopped. However, you can still access the jails 
from the server running them using:


  jexec jail_id /bin/sh

Can someone give me some insight on what I might be doing wrong?

Below is the jail config part in the mail server rc.conf and the contents 
of the rc.conf in the two jails.


Main server jail portion /etc/rc.conf:

  jail_enable="YES"
  jail_list="jail_1 jail_2"
  jail_set_hostname_allow="NO"

  jail_ns1_ynp_rootdir="/home/hoosegow/jail_1"
  jail_ns1_ynp_hostname="jail1.example.com"
  jail_ns1_ynp_ip="192.168.1.50"
  jail_ns1_ynp_devfs_enable="YES"

  jail_dns2_ndu_rootdir="/home/hoosegow/jail_2"
  jail_dns2_ndu_hostname="jail2.example.com"
  jail_dns2_ndu_ip="192.168.1.51"
  jail_dns2_ndu_devfs_enable="YES"

jail_1 /etc/rc.conf:

  defaultrouter="192.168.1.1"
  hostname="jail1.example.com"
  ifconfig_rl0="inet 192.168.1.50 netmask 255.255.255.0"

  named_enable="YES"
  named_flags="-c /etc/namedb/named.conf"
  named_chrootdir=""
  syslogd_flags="-ss"
  sshd_enable="YES"

jail_2 /etc/rc.conf:

  defaultrouter="192.168.1.1"
  hostname="jail2.example.com"
  ifconfig_rl0="inet 192.168.1.51 netmask 255.255.255.0"

  named_enable="YES"
  named_flags="-c /etc/namedb/named.conf"
  named_chrootdir=""
  syslogd_flags="-ss"
  sshd_enable="YES"
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: port updates

2007-05-04 Thread Duane Hill


On Fri, 4 May 2007, Jean-Paul Natola wrote:


Hi everyone,

If this question is not for this list , I'm apologizing in advance

I just ran cvsup because I wanted to install the latest version of
SpamAssassin- 3.2

After doing portupgrade I see that its still at 3.1.8

When do the ports get updated- ?


Here is a response from the port developer on the SpamAssassin list that 
has a link to grab a package from:


http://mail-archives.apache.org/mod_mbox/spamassassin-users/200705.mbox/<463A4278.9010405%40secnap.net>

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


Re: Time Synchronizing Between Two Servers

2007-05-03 Thread Duane Hill

On Thu, 3 May 2007, Jeffrey Goldberg wrote:


On May 2, 2007, at 8:45 PM, Duane Hill wrote:



I have two servers that have to have their time synchronized between the 
two to within one second. What is recommended?


Currently, I have ntpd running on one and have the other synchronizing it's 
time off the first.


ntp is the right way to do things.  You could set each server as an ntp peer 
of the other.  That way.  And, as others pointed out, you could have one of 
them use an external lower stratum (closer to reference servers) to sync 
properly with the rest of the world which is useful if you want your logs to 
match up properly with the rest of us.


Yes. I have the one server set to sync with the "world" and the other 
server syncs its time off the first. The two servers insert and update 
information in a MySQL table and one such piece if information is based on 
time. Everything we do here is all based on UTC.

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


Re: Time Synchronizing Between Two Servers

2007-05-02 Thread Duane Hill

On Wed, 2 May 2007, Jeff Mohler wrote:


Is that working?

If it is..seems you nailed it.


It is working. I just didn't know if there was another way. I will 
continue on with the way it is. Thanks.

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


Time Synchronizing Between Two Servers

2007-05-02 Thread Duane Hill


I have two servers that have to have their time synchronized between the 
two to within one second. What is recommended?


Currently, I have ntpd running on one and have the other synchronizing it's 
time off the first.


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


VPS, Colocation, Dedicated

2007-04-26 Thread Duane Winner
Hello,
 
 I am looking for any sort of insight, experience from anybody who uses VPS 
technology to substitute for managing their own infrastructure and servers for 
business apps.
 
 We are looking at different options to unload some of the burden of supporting 
a network and server infrastructure that is composed of 50+ FreeBSD servers.
 
 The concept of VPS technology has been put on the table, along with co-lo and 
dedicated server options. Web hosting is right out of the question.
 
 Requirements: 
 
 1. We need to have servers take over the role of the 30+ web servers, which 
run apache and mzscheme webapps. These web servers to talk to 2+ postgresql 
databases on seperate servers.
 
 2. The data on the pgsql databases is of a sensitive nature, so it needs to be 
secured in part by keeping these servers on a separate network segment, 
accessible only by the web servers, using stunnel encryption.
 
 3.  All servers should have some form of firewall protection, either locally 
(software) or on the network. Preferably network.
 
 4. If using VPS, the FreeBSD image should look and feel just as if we 
installed it ourselves from scratch, starting off barebones and installing only 
the apps and services we need.
 
 5. Web server disk space needs to be 10GB. Can scale back to 5GB if ports are 
kept off the server and compiled offline then synced up.
 
 6. One of our database servers is utilizing 33GB of disk space at the moment, 
so we would need at least 50GB per server.
 
 
 
 Findings:
 
 I have found about 4-5 providers who offer FreeBSD VSP's. I've evaluated 2: 
JohnCompanies and Verio.
 
 1. JohnCompanies' VPS image was nearly exactly what I'm looking for -- started 
off barebones, and I had to do the rest. Just like in my server room. But disk 
space was abysmal $29/month for 2GB or $69/month for 8GB. 
 
 2. Verios turned me off right away between high-pressure sales tactics and an 
evaluation that saw a base image loaded with crap like it was a Linux or worse, 
a Windows box: NAS audio server, mp3 player, a default Apache 2.2 install (who 
said I want 2.2?), that wasn't a port, but built-in shared app! PHP, 
Xridiculous. 
 
 3. Nobody seems to include any sort of firewall protection -- just throw the 
server out in the public DMZ, and then there is no option to protect database 
servers on a private subnet. Not even ipfw is included. Verios told me that 
their FreeBSD images cannot firewall, but their Linux images can, and then 
tried to pressure me into just converting to Linux. Sorry, they're off the list 
now.
 
 
 Summary:
 
 I really don't think VPS technology can scale to our requirements or meet the 
specs we need, in resources or security. Their are other in my group who wanted 
to investigate VPS technology because of the notion that it is more secure. For 
instance, there is the concept that because it is "virtual", and more hidden, 
it would be more difficult for an employee at our provider to get at the data, 
whereas if we colocated, they could just pull a hard drive and get at the data. 
Personally, I think it would be easier to hi-jack a VMware session or image 
that it would be to get through security, and into a locked cabinet at a colo 
facility and reboot into single user mode or yank out a disk in a RAID array to 
get to the data.
 
 But I'm still willing to be proven wrong, and if anybody can tell me that 
there is a good VPS provider who can meet these needs, I'm all ears, but 
otherwise, I'm leaning towards colocation as the best solution.
 
 (Also, I should mention we already own the hardware -- servers for all -- why 
not leverage that investment?)

Thanks for any feedback!
 
   
-
Ahhh...imagining that irresistible "new car" smell?
 Check outnew cars at Yahoo! Autos.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: jail question

2007-04-26 Thread Duane Hill

On Thu, 26 Apr 2007, Roberto Pereyra wrote:


hi

I running fbsd 6.2 and I would like to my first jail setup, but I have
this error when I start the jail (jail0):

srv1# /etc/rc.d/jail start
Configuring jails:.
Starting jails:ifconfig: interface alias does not exist
jail0.
srv1#


What I do wrong ?

Thanks in advance.

roberto

This is my /etc/rc.conf

# -- sysinstall generated deltas -- # Mon Apr 23 09:32:04 2007
# Created: Mon Apr 23 09:32:04 2007
# Enable network daemons for user convenience.
# Please make all changes to this file, not to /etc/defaults/rc.conf.
# This file now contains just the overrides from /etc/defaults/rc.conf.
defaultrouter="192.168.0.2"
hostname="srv1.gualeguaychu.gov.ar"
ifconfig_sk0="inet 192.168.0.1  netmask 255.255.0.0"
keymap="spanish.iso.acc"
linux_enable="YES"
sshd_enable="YES"
usbd_enable="YES"
# -- sysinstall generated deltas -- # Mon Apr 23 12:52:02 2007
moused_port="/dev/cuad0"
moused_type="auto"
moused_enable="YES"

## jails
sendmail_enable="NO"
inetd_flags="-wW -a 192.168.0.1"
rpcbind_enable="NO"

jail_enable="YES"   # Set to NO to disable starting of any jails
jail_list="jail0" # Space separated list of names of jails

jail_jail0_rootdir="/usr/home/jails/jail0" # jail's root directory
jail_jail0_hostname="jail0"  # jail's hostname
jail_jail0_ip="192.168.0.3"   # jail's IP address
#jail_jail0_devfs_enable="YES"  # mount devfs in the jail
#jail_jail0_devfs_ruleset="www_ruleset" # devfs ruleset to apply to jail



You do not have your jail IP set up as an alias on your network interface.

You need to add

  ifconfig_sk0_alias0="inet 192.168.0.3 netmask 255.255.0.0"

after your primary interface

  ifconfig_sk0="inet 192.168.0.1  netmask 255.255.0.0"

in the /etc/rc.conf. Then do an

  ifconfig sk0 inet 192.168.0.3 netmask 255.255.0.0 alias

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


Re: How do I prevent unauthorized ssh login attempts?

2007-04-26 Thread Duane Hill

On Thu, 26 Apr 2007, Pietro Cerutti wrote:


On 4/26/07, Andreas Wider??e Andersen <[EMAIL PROTECTED]> wrote:

On 4/26/07, Arek Czereszewski <[EMAIL PROTECTED]> wrote:
>
> Andreas Wider??e Andersen wrote:
> > I'm getting a lot of unauthorized ssh login attempts. I have a pretty
> basic
> > FreeBSD 6.2 setup. I have compiled my own kernel. Here's what I get 

from

> my
> > daily security run output:
> [...]
>
> Run sshd on other port.
> And say about this your ssh users.


Can I change the ssh port on a live server somehow without getting locked
out? The server is on a remote co-location a flight away from me.


Yes you can. SSH will keep your connection active until you log out,
then you can log in using the new port


I will add the fact you will want to keep the current connection live and 
test after you make the change with a new connection. That way if the new 
connection fails, you still have a "foot in the door".___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Re: Tagging email subject line with something like [fbsd-questions]

2007-04-25 Thread Duane Hill

On Wed, 25 Apr 2007, Jeff Mohler wrote:


I dont think subject tagging is poor at all.

whats poor is overly long poorly organized subject lines..but hey..[FBSDQ]
aint all that long.


Then you get someone who either doesn't a) trim the subject or b) the 
client response as such:


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


Re: portupgrade failing, portsdb error

2007-04-23 Thread Duane Hill

On Fri, 20 Apr 2007, Drew Sanford wrote:


I get the following error:

[EMAIL PROTECTED](/usr/ports)# portupgrade gnome-vfs
[Updating the portsdb  in /usr/ports ... - 16885 port 
entries found 
.1000.2000.3000.4000.5000.6000.7000.8000.9000.1.11000.12000.13000.14000.15000.16000 
. done]
[missing key: categories] [Updating the portsdb  in 
/usr/ports ... - 16885 port entries found 
.1000.2000.3000.4000.5000.6000.7000.8000.9000.1.11000.12000.13000.14000.15000.16000 
. done]

missing key: categories: Cannot read the portsdb!
/usr/local/lib/ruby/site_ruby/1.8/portsdb.rb:548:in `open_db': database file 
error (PortsDB::DBError)

  from /usr/local/lib/ruby/site_ruby/1.8/portsdb.rb:702:in `port'
  from /usr/local/lib/ruby/site_ruby/1.8/portsdb.rb:890:in 
`all_depends_list'

  from /usr/local/lib/ruby/site_ruby/1.8/pkgdb.rb:809:in `tsort_build'
  from /usr/local/lib/ruby/site_ruby/1.8/pkgdb.rb:801:in `each'
  from /usr/local/lib/ruby/site_ruby/1.8/pkgdb.rb:801:in `tsort_build'
  from /usr/local/lib/ruby/site_ruby/1.8/pkgdb.rb:823:in `sort_build'
  from /usr/local/lib/ruby/site_ruby/1.8/pkgdb.rb:827:in `sort_build!'
  from /usr/local/sbin/portupgrade:721:in `main'
  from /usr/local/lib/ruby/1.8/optparse.rb:755:in `initialize'
  from /usr/local/sbin/portupgrade:220:in `new'
  from /usr/local/sbin/portupgrade:220:in `main'
  from /usr/local/sbin/portupgrade:2084

I've got Index up to date, I've run portsdb -u, and it seems to think 
everything is good. Any recommendations? I've not seen this error before. 
Thanks in advance.


I saw this when I didn't have the portupgrade port upgraded properly. It 
has changed the location.



From /usr/ports/UPDATING:


20070205:
  AFFECTS: everybody
  AUTHOR: [EMAIL PROTECTED]

  New ports category was created - /usr/ports/ports-mgmt

  Most significant port moved to this new category is portupgrade.
  So don't be alarmed, it was not deleted. You can find it now in

  /usr/ports/ports-mgmt/portupgrade

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