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 br...@cran.org.uk 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:passes : 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.32mask1=27mask2=

-- 
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: 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: 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: 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: 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 amvandem...@gmail.com 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 DebianUbuntu 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


snip

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/port_name/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=root 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=root, 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=root 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=root, 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=root 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=root 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=root, 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=root, 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=root 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=root, 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=root
 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, nrcpt=1 (queue active)
 Oct 18 08:04:44 bsd postfix/postfix-script[943]: fatal: the 

Re: determining the space used in / partition

2007-10-02 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: 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: 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: 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: 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: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 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: 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]


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: 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: 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: 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: 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: 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: 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: 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]


Pine - Duplicate Messages

2007-08-17 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 diff 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: 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]


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

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: 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]


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: freebsd-questions@freebsd.org
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 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]


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: 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]


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



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, 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: 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]


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: 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]


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]


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]


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]


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: 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: 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 format:bdb_btree 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 format:bdb_btree 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]


Re: Port removal

2007-04-12 Thread Duane Hill

On Thu, 12 Apr 2007, Steve Bertrand wrote:


Hi all,

On RELENG_6_2, I'm going to be installing chillisoft from ports.

However, when I first ran 'make', there was an initial configuration
window came up before compile. I selected the wrong options (I realized
this after the make was complete). I did not do a 'make install'.

I tried to 'make clean', distclean then I removed the entire port from
the ports system and re 'supped it and still, when I run make again, the
configuration dialog does not appear.

Am I missing something that I need to remove to put the port back to the
way it was before (so the config dialog will re-appear)?


do a

  make config

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


Re: Help installing nasm

2007-03-15 Thread Duane Hill

On Thu, 15 Mar 2007, Robe wrote:


Hi,



I’m trying to install the Netwide Assembler (nasm) in such a way:



# cd /usr/ports/devel/nasm

# make



But I get the following error:



= Couldn’t fetch it – please try to retrieve this port manually into
/usr/ports/distfiles/ and try again.

*** Error code 1



I’m using the stable version 6.1



And I’m behind a proxy. What can I do?


I've received the same error a few times in the past. It was caused by the 
fact my computer didn't have its NIC configured correctly to establish a 
connection to the Internet. Could be the same in your case.___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]

Re: Starting MySQL with different database directory

2007-03-05 Thread Duane Hill

On Mon, 5 Mar 2007, Kalashnikov Ilya wrote:


On Mon, 2007-03-05 at 07:05 -0800, Dr. Jennifer Nussbaum wrote:


I hope this is the right place--i looked over the MySQL docs but they talk 
about a different startup practice than what FreeBSD uses.

I have a new install of MySQL 5.1 on a FreeBSD 6.2 system. I want to have my
MySQL data directory in a place other than /var/db/mysql. I thought i do this by
copying the appropriate my.cnf into /etc/my.conf and adding a line like 
datadir =
/usr/local/mysql/var/ and making it readable to mysql user. But this doesnt 
work;
 when i restart MySQL its still using /var/db/mysql.

So i looked at the mysql-server startup script in /usr/local/etc/rc.d and added 
to
rc.conf mysql_dbdir=/usr/local/mysql/var. (I DON'T want to do it this way,
because i really want my MySQL related configuration things in my MySQL
configuration file, not split between there and my FreeBSD startup file. What if
i need to start mysql in some other way? But for now im just trying to see what
i can get to work.) This seemed to change something--mysqld had been running
when i made this change and when I ran mysql-server stop it couldnt stop,
because it was looking in /usr/local/mysql/var/foo.pid--i think this means it 
did
register the change to the new directory. But i couldnt then start it, because 
when
I run mysql-server start i get a Can't connect to local MySQL server through
socket '/tmp/mysql.sock' error.

What's the right way to do this? Again id really prefer to do this all through 
the
my.cnf file, but this seems not to be getting read, at least for this reason.

Thank you.

Jen


-
Food fight? Enjoy some healthy debate
in the Yahoo! Answers Food  Drink QA.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]




By default MySQL daemon run as user mysql. If you want start/stop
mysqld then in /usr/local/etc/rc.d /mysql-server.sh replace line
mysql_user=mysql to mysql_user=your-account
and change in /etc/rc.conf   mysql_dbdir=/xxx/xxx/xx or chahge owner
for /xxx/xxx/xx to your-account
Needed directory structure will created.

Before all changes stop mysqld.



Or, you could just add underneath the mysql_enable line in /etc/rc.conf:

  mysql_flags=--user=user-to-run-as --datadir=/path/to/the/base/dir

to /etc/rc.conf. That way you won't have to worry about possible 
overwriting of the startup script do to upgrades.

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


Re: defrag

2007-03-03 Thread Duane Hill

On Sat, 3 Mar 2007, Christian Baer wrote:


On Fri, 02 Mar 2007 02:14:07 +0100 Ivan Voras wrote:


As you said, HFS(+) is not a native unix file system, but maybe someone
will know about it. All I know about is that HFS+ is a journaling file
system and that it defragments (in the Windows sense) files smaller than
certain size (20MB?) on the fly.


This may be completely OT here, but I gotta ask: Is Reiser a native Unix
FS?


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


Re: why can't i turn off fast_time?

2007-02-28 Thread Duane Hill

On Tue, 27 Feb 2007, spellberg_robert wrote:


greetings, all ---

all i want is
 to be able to set my boxes to utc, with no fast_time, and
 to have my apps and all of the other apps agree on what the clock says,
 at --all-- times.


The FreeBSD servers here are all UTC. To do this, all I did was made sure 
the BIOS clock was set to UTC and move the file /etc/localtime to /root 
(or somewhere outside /etc). At this time, the server doesn't use the 
localtime binary and defaults to UTC.

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


Re: Outlook With FreeBSD IMAP

2007-02-27 Thread Duane Hill

On Tue, 27 Feb 2007, Joe Holden wrote:


Wojciech Puchar wrote:
use dovecot with Maildir. IMHO it's the best for mail service now. at 
least for me

Does dovecont support shared forders?


what are shared folders? is it some standard or some M$-standard?

As in shared namespaces?  I'm sure thats an IMAP standard, rather than just 
an MS thing?


Dovecot is brilliant also, especially with kqueue support now!  Pretty sure 
it does shared folders.



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


Re: Outlook With FreeBSD IMAP

2007-02-27 Thread Duane Hill

On Tue, 27 Feb 2007, Mikel King wrote:

I know this is a little bit of a tangent, but does anyone have a good 
comprehensive command list, for testing an IMAP server via telnet?



I would think you should be able to use this:

  http://www.faqs.org/rfcs/rfc3501.html

I use it when I need to get IMAP syntax for a command. Examples are shown 
on command usage and can be executed via a telnet session.

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


Invalid argument on accept(2)

2007-02-27 Thread Duane Hill


I have an issue where I'm getting periodic errors in /var/log/messages and 
/var/log/maillog where it states:


  Feb 27 18:23:33 smtpgate postfix/smtpd[68480]: fatal:
  accept connection: Invalid argument

I've been to the Postfix list and have received a number of responses. One 
of the developers is stating:


  Erroring out with EINVAL would still be a kernel bug.

This server is running FreeBSD 5.5-RELEASE-p9 amd64.

Perhaps someone could enlighten me on what I can do to debug some socket 
connections to see what's going on.

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


fatal: accept connection: Invalid argument

2007-02-23 Thread Duane Hill


I've been getting a bunch (more than 50) per day of the errors in the 
subject in the /var/log/messages.


The server is running FreeBSD 5.5-RELEASE-p9 amd. This is an email server 
that is doing spam filtering and is running Postfix 2.3.7.


I do have another server that is running FreeBSD 6.1-RELEASE-p10 i386 with 
Postfix 2.3.7. This one is only getting less than 10 of these errors per 
day.


I've done some searching and can't come up with a conclusion as to why 
this is happening. Can anyone shed some light?

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


Re: Day Light Savings time changes on March 11

2007-02-21 Thread Duane Hill

On Wed, 21 Feb 2007, DAve wrote:


Mikel King wrote:
Just curious what is that status of this issue with the current version of 
FreeBSD? I am betting that it has already been taken care of ages ago, in 
which case I am curious how far back that might have been?


Thanks,
Mikel


I believe that was fairly recently decided, last six months sticks in my 
head. I'm probably wrong.


Since we are in Indiana we just had to convert all our servers to DST last 
summer. It was a chore because we have everything from FreeBSD 6.1 to Solaris 
Sparc 10s. I am seriously considering switching all of our NOCs to GMT and 
calling it a done deal. I am not convinced that the DST rules will not change 
again and playing catch up with politicians is not a good use of my techs 
time.


I noticed Yahoo switched to GMT. Is anyone else running all their servers on 
GMT?




We are all GMT here on over 18 servers. Of them, five are FreeBSD. I have 
been running everything I touch in GMT for over eight years now. Once you 
get the hang of the mental conversion for your zone, it becomes second 
nature.




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

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


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


Re: where to get the iso c90 compiler?

2006-12-28 Thread Duane Hill

[EMAIL PROTECTED] wrote:
[Fistly, people wrote code in pure binary language. Then assembly were 
invented and later they wrote higher level languages in assembly.]


  With whatever C compiler the gcc developer had at that time.

  It probably wasn't.  The first ever compiler was most likely written
  in assembler.  Later on the first compiler for a new language has
  usually been written in some other language.

Yeah I knew that. Anyone know a good book on assembly language?


http://asm.sourceforge.net/ is a good site. I've used it a great deal in 
the past. It has references to various Linux's and FreeBSD.



The evolution of programming. Can someone give me a link?


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


Re: where to get the iso c90 compiler?

2006-12-28 Thread Duane Hill

Gabor Kovesdan wrote:

[EMAIL PROTECTED] schrieb:
[Fistly, people wrote code in pure binary language. Then assembly 
were invented and later they wrote higher level languages in assembly.]


 With whatever C compiler the gcc developer had at that time.

 It probably wasn't.  The first ever compiler was most likely written
 in assembler.  Later on the first compiler for a new language has
 usually been written in some other language.

Yeah I knew that. Anyone know a good book on assembly language?

The evolution of programming. Can someone give me a link?

Well, I don't know assembly, but I found this and it looks very good:
http://www.int80h.org/bsdasm/

And it is exclusively for FreeBSD! ;)


That's the tutorial set I stepped through to learn the basics. Good 
basic stuff.

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


Re: FreeBSD 6.1 rebooting all the time

2006-11-04 Thread Duane Hill

On Fri, 3 Nov 2006 22:49:38 -0500
 Tamouh H. [EMAIL PROTECTED] wrote:


I just installed 6.1 on a new laptop (Dell XPS M1210). 
It has 
a 2Ghz Intel Core2 Duo processor and two gigs ram. Every 
time 
it gets to the part in the bootup where you have to type 
a 
bunch of random junk it goes into a reboot. It's not an 
abrupt reboot. FreeBSD does show it is initiating the 
reboot. 
This is the error that is reported right before the 
reboot happens:


   panic: driver error: busdma dflt_lock called
   cpuid = 1
   Uptime: 12s
   Cannot dump. No dump device defined
   Automatic reboot in 15 seconds -b fe0: link state 
changed to DOWN


Does anyone know what I can do at this point?
___


google it up, plenty of resources, could be lots of 
things. But first check your hardware:


http://www.google.ca/search?hl=enq=busdma+dflt_lockmeta=



Being I do not have anything important on the laptop and 
have a complete image of the HD prior to installing 
FreeBSD, I decided to try loading 7.0-CURRENT from the 
ISO. It was a success. I have now CVSUP'd the sources and 
have completed a buildworld and buildkernel without any 
issues. I've also installed X and have KDE running.


Thanks for your suggestion. I have looked at a number of 
things and will proceed down that path if I run into 
anything with 7.0.

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


FreeBSD 6.1 rebooting all the time

2006-11-03 Thread Duane Hill
I just installed 6.1 on a new laptop (Dell XPS M1210). It has a 2Ghz 
Intel Core2 Duo processor and two gigs ram. Every time it gets to the 
part in the bootup where you have to type a bunch of random junk it goes 
into a reboot. It's not an abrupt reboot. FreeBSD does show it is 
initiating the reboot. This is the error that is reported right before 
the reboot happens:


  panic: driver error: busdma dflt_lock called
  cpuid = 1
  Uptime: 12s
  Cannot dump. No dump device defined
  Automatic reboot in 15 seconds -b fe0: link state changed to DOWN

Does anyone know what I can do at this point?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: ntpd with flags in rc.conf

2006-10-11 Thread Duane Hill
Hello Zbigniew,

Wednesday, October 11, 2006, 5:28:15 PM, you wrote:

 Hello,

 I read this in the handbook:

 To ensure the NTP server is started at boot time, add the line 
 ntpd_enable=YES to /etc/rc.conf. If you wish to pass additional flags to
 ntpd(8), edit the ntpd_flags parameter in /etc/rc.conf.

 Now, I understand that the additional flag may be for example pid 
 (-p /var/run/ntpd.pid).

 So how do I put that flag in /etc/rc.conf where I have ntpd_enable=Yes?

ntpd_flags=-p /var/run/ntpd.pid

 Many thanks for your advice!

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


-- 
Best regards,
 Duanemailto:[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: compat4x and compat5x

2006-09-19 Thread Duane Hill
On Tuesday, September 19, 2006 at 1:47:25 PM, Jeff confabulated:

 Duane Hill wrote:
 On Tuesday, September 19, 2006 at 3:54:50 AM, Jeff confabulated:
 
 I'm not trying to kick any dead horses here but there are times when I
 try to run some applications that I get some messages like the following:
 
 /libexec/ld-elf.so.1: Shared object libc.so.5 not found, required by...
 
 I normally reinstall compat4x or compat5x and am good to go.  I have
 compat4x_enable=YES and compat5x_enable=YES in my /etc/rc.conf file
 but I still get these messages and have to force a reinstall (after a
 reboot).
 
 I just found this thread:
 
 http://unix.derkeiler.com/Mailing-Lists/FreeBSD/questions/2005-12/msg02487.html
 
 ..and tried running the command the posted listed:
 
 /sbin/ldconfig -m /usr/local/lib/compat
 
 This worked like a champ.  I was able to immediately run the application
 in question and didn't have to force a reinstall of compat5x.
 
 I am sure I have missed something along the way but can someone please
 assist me/point me in the right direction in getting this straightened
 out so I don't have to do this manually after each reboot?  I would
 greatly appreciate it.
 
 I  had to install both myself for an application we run on a server. I
 installed them from /usr/ports/misc/compat4x and compat5x. The install
 placed  the  startup  scripts  000.compat4x.sh  and 000.compat5x.sh in
 /usr/local/etc/rc.d.  They  startup after reboot every time. There was
 no need to place anything in the rc.conf.
 
 That is the ports I used to install compat4x and compat5x.  However, the
 startup scripts aren't anywhere on my system.  I searched for both using
 locate (after updating the DB of course) and also checked in
 /usr/local/etc/rc.d/ manually.  Nothing...

 I update my ports tree about 2-3 times a day so I would assume I am
 using the latest versions of the ports.  Any idea on how I can get those
 startup scripts?  I may try a complete remove and then a fresh install.

 I look forward to any responses.

The only thing in the scripts is this:

[EMAIL PROTECTED] ~]$ cat /usr/local/etc/rc.d/000.compat4x.sh
#!/bin/sh
/sbin/ldconfig -m /usr/local/lib/compat

[EMAIL PROTECTED] ~]$ cat /usr/local/etc/rc.d/000.compat5x.sh
#!/bin/sh
/sbin/ldconfig -m /usr/local/lib/compat

Why  they  have  to  both  be present, I haven't figured that out yet.
ldconfig points both at the same location.

-- 
This message was sent using 100% recycled electrons.

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


Re: compat4x and compat5x

2006-09-19 Thread Duane Hill
Oops! Addendum below:

On Tuesday, September 19, 2006 at 1:53:31 PM, Duane confabulated:

 On Tuesday, September 19, 2006 at 1:47:25 PM, Jeff confabulated:

 Duane Hill wrote:
 On Tuesday, September 19, 2006 at 3:54:50 AM, Jeff confabulated:
 
 I'm not trying to kick any dead horses here but there are times when I
 try to run some applications that I get some messages like the following:
 
 /libexec/ld-elf.so.1: Shared object libc.so.5 not found, required by...
 
 I normally reinstall compat4x or compat5x and am good to go.  I have
 compat4x_enable=YES and compat5x_enable=YES in my /etc/rc.conf file
 but I still get these messages and have to force a reinstall (after a
 reboot).
 
 I just found this thread:
 
 http://unix.derkeiler.com/Mailing-Lists/FreeBSD/questions/2005-12/msg02487.html
 
 ..and tried running the command the posted listed:
 
 /sbin/ldconfig -m /usr/local/lib/compat
 
 This worked like a champ.  I was able to immediately run the application
 in question and didn't have to force a reinstall of compat5x.
 
 I am sure I have missed something along the way but can someone please
 assist me/point me in the right direction in getting this straightened
 out so I don't have to do this manually after each reboot?  I would
 greatly appreciate it.
 
 I  had to install both myself for an application we run on a server. I
 installed them from /usr/ports/misc/compat4x and compat5x. The install
 placed  the  startup  scripts  000.compat4x.sh  and 000.compat5x.sh in
 /usr/local/etc/rc.d.  They  startup after reboot every time. There was
 no need to place anything in the rc.conf.
 
 That is the ports I used to install compat4x and compat5x.  However, the
 startup scripts aren't anywhere on my system.  I searched for both using
 locate (after updating the DB of course) and also checked in
 /usr/local/etc/rc.d/ manually.  Nothing...

 I update my ports tree about 2-3 times a day so I would assume I am
 using the latest versions of the ports.  Any idea on how I can get those
 startup scripts?  I may try a complete remove and then a fresh install.

 I look forward to any responses.

 The only thing in the scripts is this:

 [EMAIL PROTECTED] ~]$ cat /usr/local/etc/rc.d/000.compat4x.sh
 #!/bin/sh
 /sbin/ldconfig -m /usr/local/lib/compat

 [EMAIL PROTECTED] ~]$ cat /usr/local/etc/rc.d/000.compat5x.sh
 #!/bin/sh
 /sbin/ldconfig -m /usr/local/lib/compat

 Why  they  have  to  both  be present, I haven't figured that out yet.
 ldconfig points both at the same location.

My  bad  on this one. The server that still has the startup scripts is
not   running   the   latest   versions.   The  versions  running  are
compat4x-i386-5.3_2 and compat5x-i386-5.4.0.6_1.

There  is  anther  server here that is running compat5x-i386-5.4.0.8_7
and  does not have a startup script. It still works fine. I'm guessing
the other response that made mention where the startup scripts are not
needed anymore on the later version would stand correct.

-- 
This message was sent using 100% recycled electrons.

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


Re: compat4x and compat5x

2006-09-18 Thread Duane Hill
On Tuesday, September 19, 2006 at 3:54:50 AM, Jeff confabulated:

 I'm not trying to kick any dead horses here but there are times when I
 try to run some applications that I get some messages like the following:

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

 I normally reinstall compat4x or compat5x and am good to go.  I have
 compat4x_enable=YES and compat5x_enable=YES in my /etc/rc.conf file
 but I still get these messages and have to force a reinstall (after a
 reboot).

 I just found this thread:

 http://unix.derkeiler.com/Mailing-Lists/FreeBSD/questions/2005-12/msg02487.html

 ..and tried running the command the posted listed:

 /sbin/ldconfig -m /usr/local/lib/compat

 This worked like a champ.  I was able to immediately run the application
 in question and didn't have to force a reinstall of compat5x.

 I am sure I have missed something along the way but can someone please
 assist me/point me in the right direction in getting this straightened
 out so I don't have to do this manually after each reboot?  I would
 greatly appreciate it.

I  had to install both myself for an application we run on a server. I
installed them from /usr/ports/misc/compat4x and compat5x. The install
placed  the  startup  scripts  000.compat4x.sh  and 000.compat5x.sh in
/usr/local/etc/rc.d.  They  startup after reboot every time. There was
no need to place anything in the rc.conf.

-- 
This message was sent using 100% recycled electrons.

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


Re: The Ports collection / FreeBSD CDs

2006-09-12 Thread Duane Hill
On Tuesday, September 12, 2006 at 11:29:31 AM, Jeff confabulated:



 The base system doesn't include X Windows.
 _


 Right, I was thinking of NetBSD. X Window System is a FreeBSD port (so it
 must be installed as a package from sysinstall).

Shouldn't you also be able to:

  cd /usr/ports/x11; make install clean

-- 
This message was sent using 100% recycled electrons.

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


Re: The Ports collection / FreeBSD CDs

2006-09-12 Thread Duane Hill
On Tuesday, September 12, 2006 at 12:03:47 PM, Jeff confabulated:

 On 12/09/06, Duane Hill [EMAIL PROTECTED] wrote:

 On Tuesday, September 12, 2006 at 11:29:31 AM, Jeff confabulated:

 
 
  The base system doesn't include X Windows.
  _


  Right, I was thinking of NetBSD. X Window System is a FreeBSD port (so
 it
  must be installed as a package from sysinstall).

 Shouldn't you also be able to:

   cd /usr/ports/x11; make install clean

 --

 That sentence was intended not to mean you have to install XWS as a package
 from sysinstall but It must be the case that sysinstall installs it as a
 package built from ports.

I  wasn't  for  sure  as I don't install many things using sysinstall.
Thanks for clarifying.

-- 
This message was sent using 100% recycled electrons.

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


  1   2   >