Re: late filesystems and switching net configs

2007-07-04 Thread Manolis Kiagias
Chad Perrin wrote:
 I have a couple of niggling little, er, quirks that I'd like to get
 sorted out on my FreeBSD Thinkpad.

   1. During boot, if I'm booting up anywhere but at home (where my static
   IP address configuration applies), the startup messages pause for a few
   long seconds at a message that says Mounting late filesystems.  When
   plugged into the network at home, though, using my static IP
   configuration, it swoops past that pretty quickly.  Can someone tell me
   what that's about?

   2. For some reason, if I use DHCP at all then want to switch back to my
   static IP setup, I have to restart the computer to get it to access the
   Internet.  I haven't been able to figure out why.  If I recall
   correctly, I can switch to static IP on bge0 and access other systems
   on the network, but I can't do anything related to the Internet.  Yes,
   by the way, I am checking to make sure the contents of resolv.conf are
   correct.

 Any ideas about how to figure out what's going on in either case would be
 welcome.

   
For #2 (maybe a long shot):
Just recently I needed to change on the fly the IP address of one
machine, and after a /etc/rc.d/netif restart, I lost Internet
connectivity. Access to the local network was normal. This machine is
behind an ADSL router (IP 192.168.0.250) which acts as the gateway. The
problem was, after the IP address change the default gateway was lost.
defaultrouter was present in rc.conf but was not applied again after the
netif restart. A quick route add default 192.168.0.250 fixed it.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


only first PCMCIA card works

2007-07-04 Thread Zhang Weiwu
Dear list

Running FreeBSD-6.1 RELEASE on Thinkpad 380XD, I have been using this
notebook for many years (and used FreeBSD from 4.7 to 6.1). An ethernet
card is plugged on the first PCMCIA slot and I inserted my FC card
reader (PCMCIA card produced by Hitachi) and noticed it's not detected
(no message about it in dmesg)

Later I discovered any card in the first PCMCIA slot works, any card in
second slot, be it ethernet card or FC card adapter, doesn't work. 

I have pccard_enable=YES in my rc.conf. dmesg told me this:

# dmesg | grep pccard
pccard0: 16-bit PCCard bus on cbb0
pccard1: 16-bit PCCard bus on cbb1
ep0: 3Com Corporation 3C589D at port 0x100-0x10f irq 11 function 0 config 1 
on pccard0

Actually I am not sure what to do next. I checked dmesg and found irq 11
is used by uchi0, as well as ep0, surprisingly both works, maybe my
knowledge of IRQ is outdated. I also checked that my IRQ 3, 4 and 10 are
not used (3  4 are free because my sio hardware is borken so I disabled
it in /boot/devices.hint), so I write /etc/pccard.conf which says:

irq 3 4 10

But after reboot the ep0 device still get 10 (I suspect it can get 3?)
Then I go to added this to /boot/devices:

hint.uhci.0.at=pci
hint.uhci.0.irq=3

After reboot uchi0 is still at irq 11. Strange.

I attached both of my dmesg and kernel config file.

Thanks for suggestions and hints on hardware knowledge to me!
#
# GENERIC -- Generic kernel configuration file for FreeBSD/i386
#
# For more information on this file, please read the handbook section on
# Kernel Configuration Files:
#
#
http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-config.html
#
# The handbook is also available locally in /usr/share/doc/handbook
# if you've installed the doc distribution, otherwise always see the
# FreeBSD World Wide Web server (http://www.FreeBSD.org/) for the
# latest information.
#
# An exhaustive list of options and more detailed explanations of the
# device lines is also present in the ../../conf/NOTES and NOTES files.
# If you are in doubt as to the purpose or necessity of a line, check first
# in NOTES.
#
# $FreeBSD: src/sys/i386/conf/GENERIC,v 1.429.2.7.2.2 2006/05/01 00:15:12 
scottl Exp $

machine i386
cpu I586_CPU
ident   QUASIMODO


# To statically compile in device wiring instead of /boot/device.hints
#hints  GENERIC.hints # Default places to look for devices.

makeoptions DEBUG=-g# Build kernel with gdb(1) debug symbols

options VESA
options VGA_WIDTH90
options SC_PIXEL_MODE
#optionsSCHED_ULE   # ULE scheduler
options SCHED_4BSD  # 4BSD scheduler
options PREEMPTION  # Enable kernel thread preemption
options INET# InterNETworking
options INET6   # IPv6 communications protocols
options FFS # Berkeley Fast Filesystem
options SOFTUPDATES # Enable FFS soft updates support
options UFS_ACL # Support for access control lists
options UFS_DIRHASH # Improve performance on big directories
options MD_ROOT # MD is a potential root device
options NFSCLIENT   # Network Filesystem Client
options NFSSERVER   # Network Filesystem Server
options NFS_ROOT# NFS usable as /, requires NFSCLIENT
options MSDOSFS # MSDOS Filesystem
options CD9660  # ISO 9660 Filesystem
options PROCFS  # Process filesystem (requires PSEUDOFS)
options PSEUDOFS# Pseudo-filesystem framework
options GEOM_GPT# GUID Partition Tables.
options COMPAT_43   # Compatible with BSD 4.3 [KEEP THIS!]
options COMPAT_FREEBSD4 # Compatible with FreeBSD4
options COMPAT_FREEBSD5 # Compatible with FreeBSD5
options SCSI_DELAY=5000 # Delay (in ms) before probing SCSI
options KTRACE  # ktrace(1) support
options SYSVSHM # SYSV-style shared memory
options SYSVMSG # SYSV-style message queues
options SYSVSEM # SYSV-style semaphores
options _KPOSIX_PRIORITY_SCHEDULING # POSIX P1003_1B real-time 
extensions
options KBD_INSTALL_CDEV# install a CDEV entry in /dev
options AHC_REG_PRETTY_PRINT# Print register bitfields in debug
# output.  Adds ~128k to driver.
options AHD_REG_PRETTY_PRINT# Print register bitfields in debug
# output.  Adds ~215k to driver.
options ADAPTIVE_GIANT  # Giant mutex is adaptive.

device  apic# I/O APIC

# Bus support.
device  eisa
device  pci

# 

Re: late filesystems and switching net configs

2007-07-04 Thread Peter Boosten
Chad Perrin wrote:
 I have a couple of niggling little, er, quirks that I'd like to get
 sorted out on my FreeBSD Thinkpad.
 
   2. For some reason, if I use DHCP at all then want to switch back to my
   static IP setup, I have to restart the computer to get it to access the
   Internet.  I haven't been able to figure out why.  If I recall
   correctly, I can switch to static IP on bge0 and access other systems
   on the network, but I can't do anything related to the Internet.  Yes,
   by the way, I am checking to make sure the contents of resolv.conf are
   correct.
 

Check your default gateway when switching from DHCP to static. IIRC a
/etc/rc.d/netif stop/start will recreate the default route.

Peter
___
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-04 Thread [EMAIL PROTECTED]

On 02/07/07, Frank Bonnet [EMAIL PROTECTED] wrote:

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


6.2-RELEASE, 6.2-STABLE, and 7.0-CURRENT
without any (major) problems.  What did you do
wrong that I didn't?

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


Re: pam_ldap issues

2007-07-04 Thread Eric Masson
Thierry Lacoste [EMAIL PROTECTED] writes:

Hello,

 I have a very similar setting on 6.1
 Maybe you have an ACL problem (see below).
 What does the following command give?
 ldapsearch -x -D cn=testuser,ou=people,dc=interne,dc=example,dc=org -W

The command asks for an ldap password that I type but, the result is :
ldap_bind: Invalid credentials (49).

I've double checked the password and reinitialized the ldap database,
but no change atm.

-- 
 BC désolé, mais j'ai pas pû m'empecher.
 On a vu, mais bon, vraiment fallait pas, vous ne manquiez pas encore
 assez.
 -+- RM in http://www.le-gnu.net : En période de manque -+-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: BIND to listen on all interfaces?

2007-07-04 Thread Yuri Pankov
On Wed, Jul 04, 2007 at 03:14:28PM +1000, Mikhail Goriachev wrote:
 Nejc Škoberne wrote:
  Hello,
  
  I am running BIND (from base system) on my FreeBSD 5.3 machine. The box is
  connected to outer world via ADSL connection (tun0 device). If the named is
  started when the machine is connected to the internet, then everything is 
  OK,
  I get this by saying netstat -n -a:
  
  udp4   0  0  X.X.X.X.53 *.*
  udp4   0  0  127.0.0.1.53   *.*
  udp4   0  0  10.0.1.3.53*.*
  
  but at boot time, the named starts before the PPP connection is started, so
  the tun0 interface is not up yet. So that's why I get this:
  
  udp4   0  0  127.0.0.1.53   *.*
  udp4   0  0  10.0.1.3.53*.*
  
  In BIND manual, it says:
  
  If no listen-on is specified, the server will listen on port 53 on all 
  interfaces.
  
  I also tried to specify the ADSL IP address in named.conf (it is static), 
  but it is
  still a no go. I don't have such problems with other daemons! Any ideas?
 
 
 
 An idea: Assuming you're using ppp, let it restart named after it
 connects to the Internet. Have a /etc/ppp/ppp.linkup and put the
 following or similar into it:
 
 adsl:
 ! /etc/rc.d/named restart
 
 
 Read the ppp man pages for further details.
 
 
 Regards,
 Mikhail.
 
 -- 
 Mikhail Goriachev
 Webanoide
 
 Telephone: +61 (0)3 62252501
 Mobile Phone: +61 (0)4 38255158
 E-Mail: [EMAIL PROTECTED]
 Web: www.webanoide.org

Another option can be the use of interface-interval:

interface-interval

The server will scan the network interface list every
interface-interval minutes. The default is 60 minutes. The maximum
value is 28 days (40320 minutes). If set to 0, interface scanning
will only occur when the configuration file is loaded. After the
scan, the server will begin listening for queries on any newly
discovered interfaces (provided they are allowed by the listen-on
configuration), and will stop listening on interfaces that have gone
away. 

(from BIND ARM).


HTH,
Yuri


pgp8CM2KmWqHH.pgp
Description: PGP signature


Re: FreeBSD 5.5 hangs on boot when pluging mouse/Intel Gigabit

2007-07-04 Thread Olivier Nicole
Hi,

 I am in process of upgrading a serie of servers from 4.11 to 5.5 (and
 them 6.2).
 
 I am on the 5.5 phase. I did 2 machines sucessfully. On upgrading the
 thrid one, the boot will hang after SCSI buss reset, whenver I plug in
 the mouse or an Intel Pro/1000 MT Gigabit card.

I don't know the reason, but in 6.2 the problem vanished.

 The server I am upgrading was working fine for 2 years and more.
 
 The 2 machines I did previously are the exact same mother board as the
 one making trouble, but the one I upgrade is 2 CPU. more RAM and a
 tape device.
 
 One of the 2 machines that succeded is using the same add on Intel Pro
 Gigabit.
 
 All machines are connected to the same KVM switch.
 
 Kernel is GENERIC from distribution.
 
 The exact place it hangs is shown in the dmesg bellow:
 
 Copyright (c) 1992-2006 The FreeBSD Project.
 Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
 The Regents of the University of California. All rights reserved.
 FreeBSD 5.5-RELEASE-p13 #2: Thu Jun 28 12:36:00 ICT 2007
 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC
 Timecounter i8254 frequency 1193182 Hz quality 0
 CPU: Intel Pentium III (800.03-MHz 686-class CPU)
   Origin = GenuineIntel  Id = 0x686  Stepping = 6
   
 Features=0x383fbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE
 real memory  = 402632704 (383 MB)
 avail memory = 384299008 (366 MB)
 ACPI APIC Table: ASUS   CUR-DLS 
 ioapic0 Version 1.1 irqs 0-15 on motherboard
 ioapic1 Version 1.1 irqs 16-31 on motherboard
 npx0: math processor on motherboard
 npx0: INT 16 interface
 acpi0: ASUS CUR-DLS on motherboard
 acpi0: Power Button (fixed)
 Timecounter ACPI-safe frequency 3579545 Hz quality 1000
 acpi_timer0: 32-bit timer at 3.579545MHz port 0xe408-0xe40b on acpi0
 cpu0: ACPI CPU on acpi0
 acpi_button0: Power Button on acpi0
 pcib0: ACPI Host-PCI bridge port 0xcf8-0xcff on acpi0
 pci0: ACPI PCI bus on pcib0
 fxp0: Intel 82559 Pro/100 Ethernet port 0xd800-0xd83f mem 
 0xfd80-0xfd8f,0xfe00-0xfe000fff irq 20 at device 2.0 on pci0
 miibus0: MII bus on fxp0
 inphy0: i82555 10/100 media interface on miibus0
 inphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
 fxp0: Ethernet address: 00:e0:18:0a:97:a6
 pci0: display, VGA at device 7.0 (no driver attached)
 isab0: PCI-ISA bridge port 0xe800-0xe80f at device 15.0 on pci0
 isa0: ISA bus on isab0
 atapci0: ServerWorks ROSB4 UDMA33 controller port 
 0xd000-0xd00f,0x376,0x170-0x177,0x3f6,0x1f0-0x1f7 at device 15.1 on pci0
 ata0: channel #0 on atapci0
 ata1: channel #1 on atapci0
 ohci0: OHCI (generic) USB controller mem 0xfb00-0xfb000fff irq 4 at 
 device 15.2 on pci0
 usb0: OHCI version 1.0, legacy support
 usb0: OHCI (generic) USB controller on ohci0
 usb0: USB revision 1.0
 uhub0: (0x1166) OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
 uhub0: 4 ports with 4 removable, self powered
 pcib1: ACPI Host-PCI bridge on acpi0
 pci1: ACPI PCI bus on pcib1
 sym0: 896 port 0xb800-0xb8ff mem 
 0xfa00-0xfa001fff,0xfa80-0xfa8003ff irq 24 at device 5.0 on pci1
 sym0: Symbios NVRAM, ID 7, Fast-40, LVD, parity checking
 sym0: open drain IRQ line driver, using on-chip SRAM
 sym0: using LOAD/STORE-based firmware.
 sym0: handling phase mismatch from SCRIPTS.
 sym1: 896 port 0xb400-0xb4ff mem 
 0xf900-0xf9001fff,0xf980-0xf98003ff irq 25 at device 5.1 on pci1
 sym1: Symbios NVRAM, ID 7, Fast-40, LVD, parity checking
 sym1: open drain IRQ line driver, using on-chip SRAM
 sym1: using LOAD/STORE-based firmware.
 sym1: handling phase mismatch from SCRIPTS.
 atkbdc0: Keyboard controller (i8042) port 0x64,0x60 irq 1 on acpi0
 atkbd0: AT Keyboard irq 1 on atkbdc0
 kbd0 at atkbd0
 fdc0: floppy drive controller port 0x3f7,0x3f0-0x3f5 irq 6 drq 2 on acpi0
 fd0: 1440-KB 3.5 drive on fdc0 drive 0
 orm0: ISA Option ROMs at iomem 0xd-0xd3fff,0xc-0xca7ff on isa0
 pmtimer0 on isa0
 ppc0: parallel port not found.
 sc0: System console at flags 0x100 on isa0
 sc0: VGA 16 virtual consoles, flags=0x300
 sio0: configured irq 4 not in bitmap of probed irqs 0
 sio0: port may not be enabled
 sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
 sio0: type 8250 or not responding
 sio1: configured irq 3 not in bitmap of probed irqs 0
 sio1: port may not be enabled
 vga0: Generic ISA VGA at port 0x3c0-0x3df iomem 0xa-0xb on isa0
 Timecounter TSC frequency 800034408 Hz quality 800
 Timecounters tick every 10.000 msec
 acd0: CDROM QSI CD-ROM SCR-242/CXAC at ata0-master PIO4
 Waiting 15 seconds for SCSI devices to settle
 (noperiph:sym0:0:-1:-1): SCSI BUS reset delivered.
 (noperiph:sym1:0:-1:-1): SCSI BUS reset delivered.
 
 ** Hangs here *
 
 sa0 at sym1 bus 0 target 2 lun 0
 sa0: TANDBERG SLR100 0402 Removable Sequential Access SCSI-2 device 
 sa0: 40.000MB/s transfers (20.000MHz, offset 15, 16bit)
 da0 at sym0 bus 0 target 0 lun 0
 da0: SEAGATE ST318436LW 0010 Fixed Direct Access SCSI-3 device 
 da0: 80.000MB/s transfers 

Re: late filesystems and switching net configs

2007-07-04 Thread Tom Evans
On Wed, 2007-07-04 at 07:59 +0200, Peter Boosten wrote:
 Chad Perrin wrote:
  I have a couple of niggling little, er, quirks that I'd like to get
  sorted out on my FreeBSD Thinkpad.
  
2. For some reason, if I use DHCP at all then want to switch back to my
static IP setup, I have to restart the computer to get it to access the
Internet.  I haven't been able to figure out why.  If I recall
correctly, I can switch to static IP on bge0 and access other systems
on the network, but I can't do anything related to the Internet.  Yes,
by the way, I am checking to make sure the contents of resolv.conf are
correct.
  
 
 Check your default gateway when switching from DHCP to static. IIRC a
 /etc/rc.d/netif stop/start will recreate the default route.
 
 Peter

Not as I recall though. You will need to do a /etc/rc.d/routing restart
if your default router changes. The only time you might not need it is
when your routes are setup via DHCP.




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


Xorg 7.2/FreeBSD 7.0-CURRENT and OpenGL

2007-07-04 Thread O. Hartmann

Hello out there.

Days ago I migrated my lab's box from FreeBSD 6.2-STABLE to 
7.0-CURRENT/i386 due to my ZFS-desires.
Before the migration, I used successfully Xorg 7.2 and some very usefull 
tools for astronomers, like 'Stellarium'.


Today I tried to install Stellarium out of the ports, the compile 
process succeeded but I receive this error after trying to start the 
application:


-
hartmann: stellarium
 ---
[ This is Stellarium 0.8.2 - http://www.stellarium.org ]
[ Copyright (C) 2000-2006 Fabien Chereau et al ]
 ---
Warning: Couldn't set 1024x768 video mode (X11 driver not configured 
with OpenGL), retrying with stencil size 0
Error: Couldn't set 1024x768 video mode: X11 driver not configured with 
OpenGL!


LDD result is shown as follows, but very useless, I guess.

My video card is an older ELSA GLADIAC with an older nVidia FX4500 
chipset, I guess. But that doen't matter due to the fact prior to the 
switch to FreeBSD 7.0 I hadn't any problems with OpenGL.



ldd /usr/local/lib/xorg/modules/drivers/nv_drv.so
/usr/local/lib/xorg/modules/drivers/nv_drv.so:
libc.so.7 = /lib/libc.so.7 (0x2807d000)


Sorry, the list may be wrong, but I hope there will be someone out here 
also ran into that problem and has hopefully solutions or tips handy.


Thanks in advance,
Oliver

--
Oliver Hartmann
Freie Universitaet Berlin

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


Recursivity of -r and -R in portupgrade

2007-07-04 Thread Olivier Nicole
Hi,

I am wondering is the option -R and -r are mutually recursive in
portupgrade.

That is, if the option -R applies to every ports detected by -r and
respectively if -r applies to every ports detected by -R.

Lest take the example of:

portupgrade -fRr gd

gd depends on png, does it upgrade png with portupgrade -fRr png?

php4-gd is built from gd, does it upgrade php4-gd with 
portupgrade -Rrf php4-gd? (That will in turn upgrade php, maybe 
apache...)

Best regards,

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


Re: late filesystems and switching net configs

2007-07-04 Thread Peter Boosten


Tom Evans wrote:
 On Wed, 2007-07-04 at 07:59 +0200, Peter Boosten wrote:
 Chad Perrin wrote:
 I have a couple of niggling little, er, quirks that I'd like to get
 sorted out on my FreeBSD Thinkpad.

   2. For some reason, if I use DHCP at all then want to switch back to my
   static IP setup, I have to restart the computer to get it to access the
   Internet.  I haven't been able to figure out why.  If I recall
   correctly, I can switch to static IP on bge0 and access other systems
   on the network, but I can't do anything related to the Internet.  Yes,
   by the way, I am checking to make sure the contents of resolv.conf are
   correct.

 Check your default gateway when switching from DHCP to static. IIRC a
 /etc/rc.d/netif stop/start will recreate the default route.

 Peter
 
 Not as I recall though. You will need to do a /etc/rc.d/routing restart
 if your default router changes. The only time you might not need it is
 when your routes are setup via DHCP.
 

Correction: netif start/stop will _NOT_ recreate the default route... it
was a bit early for me :-)

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


Re: pam_ldap issues

2007-07-04 Thread Eric Masson
Eric Masson [EMAIL PROTECTED] writes:

Follow up to myself, sorry

 The command asks for an ldap password that I type but, the result is :
 ldap_bind: Invalid credentials (49).

 I've double checked the password and reinitialized the ldap database,
 but no change atm.

I've rebuilt all ports, with no success until I created the
/etc/pam.d/ldap file as stated in pam_ldap's pkg-message.

It works fine now, and pam_mkhomedir creates home directory on first
login.

Sorry for the noise.

-- 
 MW Tss... Un cybermaquereau. On aura tout vu !
 JdC Pourquoi pas ? Il doit bien exister des cybermorues.
 -+- in : http://www.le-gnu.net - Les joies du cybersexe -+-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: pam_ldap issues

2007-07-04 Thread Thierry Lacoste
On Wednesday 04 July 2007 09:35, Eric Masson wrote:
 Thierry Lacoste [EMAIL PROTECTED] writes:

 Hello,

  I have a very similar setting on 6.1
  Maybe you have an ACL problem (see below).
  What does the following command give?
  ldapsearch -x -D cn=testuser,ou=people,dc=interne,dc=example,dc=org -W

 The command asks for an ldap password that I type but, the result is :
 ldap_bind: Invalid credentials (49).

 I've double checked the password and reinitialized the ldap database,
 but no change atm.
Simplify your slapd.conf as much as possible.
When the above ldapsearch works throw in changes step by step.
In particular you should probably start with ACLs like these:

access to attrs=userPassword
   by anonymous auth
   by self write
   by * none

access to * by * read

Add loglevel 128 to your slapd.conf to log access control list processing.

BTW what does ldapsearch -x -D cn=Manager, dc=interne, dc=example, dc=org -W
give?

Regards,
Thierry

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


Re: The worst error message in history belongs to... BIND9!

2007-07-04 Thread RW
On Tue, 3 Jul 2007 22:05:50 -0600
Chad Perrin [EMAIL PROTECTED] wrote:

 On Tue, Jul 03, 2007 at 11:41:13PM -0400, Robert Huff wrote:
  
  Chad Perrin writes:
  
Isn't Perl part of the base system these days?
  
  Perl has not been part of the base system for several years
  and was deprecated for some time before that.
 
 Is it part of the default install without being part of the base
 system, then?  I don't recall needing to install it after system
 install on this laptop (using FreeBSD 6.2-RELEASE).

A huge number of ports and packages have it as a dependency.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: freebsd / gateway / parental control

2007-07-04 Thread Tom Evans
On Mon, 2007-07-02 at 12:44 -0400, Chuck Swiger wrote:
 Norberto Meijome wrote:
  On Fri, 29 Jun 2007 22:46:10 +0200
  Momchil Ivanov [EMAIL PROTECTED] wrote:
  4) Forget about the DSL router. Box with wireless NIC, 1 NIC for home net, 
  1 
  NIC for the DSL
 - same as above, just have to tell your box how to connect to your ISP
  
  ok, this is interesting. You mean, plug the phone line straight into, say,
  fxp1 ? and then using ppp to connect over PPoE to your ISP? 
  
  I had originally thought of getting a DSL card , but there doesn't seem to 
  be
  any ADSL2/2+ supported.
 
 A phone line is RJ11 and can be only a single pair; ethernet cables which go 
 into a fxp NIC are RJ45 and have four pairs.  :-)  If you wanted to connect 
 the phone line directly, you'd rightly need to get a DSL PCI card.
 
 However, you can connect a DSL modem into one side in bridge mode, and have 
 the output of the DSL modem connect to a FreeBSD machine via ethernet which 
 uses PPP to do the PPPoE/PPPoA negotiation, or you can use a broadband 
 router/switch to do that, instead.
 
 Regards,

In your part of the world, yes. I've encountered setups (iirc in
Denmark?) where the telco terminates their line as an RJ-11 and an
RJ-45. You can then plug into that either a router that talks PPPoE on
an ethernet port, or directly into NIC in your computer and talk PPPoE
there. This is where PPPoE clients like rp-pppoe and their ilk come into
play.

You can even do (rudimentary) sharing of the ADSL by plumbing it into a
hub. Any other client connected to the hub can kick off a PPPoE session.

Not many telcos do this these days I think..


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


Re: Recursivity of -r and -R in portupgrade

2007-07-04 Thread Randy Pratt
On Wed, 4 Jul 2007 15:56:13 +0700 (ICT)
Olivier Nicole [EMAIL PROTECTED] wrote:

 Hi,
 
 I am wondering is the option -R and -r are mutually recursive in
 portupgrade.
 
 That is, if the option -R applies to every ports detected by -r and
 respectively if -r applies to every ports detected by -R.
 
 Lest take the example of:
 
 portupgrade -fRr gd
 
 gd depends on png, does it upgrade png with portupgrade -fRr png?
 
 php4-gd is built from gd, does it upgrade php4-gd with 
 portupgrade -Rrf php4-gd? (That will in turn upgrade php, maybe 
 apache...)

Portupgrade has a no-execute option (-n) which will allow you
to see what would be done without actually performing the
operation; for example:

portupgrade -nfRr gd

will end with a list of ports that would be updated.  Another
port you may find useful is ports-mgmt/pkg_tree which will
show a dependency tree for a port.

HTH,

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


Re: only first PCMCIA card works

2007-07-04 Thread Zhang Weiwu
On Wed, 2007-07-04 at 14:13 +0800, Zhang Weiwu wrote:
 Dear list
 
 Running FreeBSD-6.1 RELEASE on Thinkpad 380XD, I have been using this
 notebook for many years (and used FreeBSD from 4.7 to 6.1). An ethernet
 card is plugged on the first PCMCIA slot and I inserted my FC card
 reader (PCMCIA card produced by Hitachi) and noticed it's not detected
 (no message about it in dmesg)

During researching for a solution I have discovered several interesting
thing: it seems there had been two PCMCIA related device drivers in
FreeBSD:

old system:
device pcic
device card

new system
device cbb
device pccard
device cardbus #(if cardbus is needed) 

And I discovered on FreeBSD 6.1 (perhaps many of them are already
corrected in the coming 7.x version:

 I. man pcic and man card shows two difference pages (check bottom
for the difference) and one of them is likely outdated, too
outdated even for OLDCARD system
II. FreeBSD official document still refer to pccard_enable=YES
which is no longer used thanks to the new card system. Link is
here:
http://www.freebsd.org/doc/en_US.ISO8859-1/articles/laptop/pcmcia.html
   III. No information about deprecation of pcic/card is mentioned in
manual, also the pccard manual is too short to provide useful
information. No information about pccardc's dependency on old
pcic/card device drive is mentioned in pccardc's manual (which
would lead people to ask why pccardc complain /dev/card0
doesn't exist) and I cannot find the new userland tool that
replaces pccardc for testing and adjusting pccard behavior.

Not just someone who try to complain here, but having this note might
help other people find useful information or serve as a note to
developers help FreeBSD improve in next version. Now I try to compile a
kernel using pcic/card device drive and see if my second card would
work.

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


Re: About FreeBSD installation

2007-07-04 Thread Vladimir Tsvetkov

It depends on what you really want. If you don't want 64-bit version OS, I
don't think you'll have problems at all. Recently, my PC got fucked up, I've
changed the mother board, switched from 32 bit AMD Athlon to a 64 bit AMD
Turion, and successfully booted from the previously installed FreeBSD
4.9Release on the hard drive.
If you want the 64 bit version of the OS, further investigation from you are
needed.
Check this out:
http://www.freebsd.org/platforms/amd64.html

Best Regards,
Vladimir

On 04/07/07, Yordan Yordanov [EMAIL PROTECTED] wrote:


Hello

I want to install the last stable release of FreeBSD Unix on my desktop
machine with AMD64 processor. Are there any differences in the FreeBSD ports
for these two platform: FreeBSD/i386 and amd64? In the FreeBSD handbook I
saw a workaround which should be applied to set up FreeBSD for  some
chipsets. If I have such a problem can I try to install i386 version
on my machine. There is no reason not to work, but I want to be sure that
this is possible.

Greetings from Bulgaria

Yordan



-
С бензин в кръвта!
http://auto-motor-und-sport.bg/
___
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: The worst error message in history belongs to... BIND9!

2007-07-04 Thread Ted Mittelstaedt


 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] Behalf Of Bill Campbell
 Sent: Tuesday, July 03, 2007 9:36 AM
 To: freebsd-questions@freebsd.org
 Subject: Re: The worst error message in history belongs to... BIND9!
 
 
 On Tue, Jul 03, 2007, Martin McCormick wrote:
 Paul Chvostek writes:
  This is actually just the difference between sh and bash.  You'll see
  the latter error if you type `a = 5` in bash in any OS.  It just so
  happens that most Linux distributions don't have a real sh:
 
  I kind of thought that was the real issue. While
 something like this is maybe slightly annoying at times, the
 differences in, say, arithmetic handling and loops can sometimes
 mean rewriting parts of shell scripts depending on whether it is
 going to run in BSD or Linux.
 
 That's a major argument for doing things in python or perl as
 they are consistent across all platforms.  While perl has a well
 deserved reputation for looking like modem noise, it's certainly
 no worse than shell scripts.

Actually perl has a lot of problems too.  One of the biggest is that
perl script writers always seem to think like you, in that perl is
consistent across all platforms.

The biggest problems I've seen with perl scripts are when people use
perl extensions that are not on the system.  You then have to go find
the extension they use and very few of the perl script writers seem
to be smart enough to put a section at the beginning of their scripts
that define the CPAN location of the particular extensions they are
using.  The second biggest problem is perl script writers using
constructs that are valid in Perl 5.6 and later but not valid in
Perl 5.0   I don't know how many times I've wanted to strangle
someone when trying to run a perl script under Perl 5.0 that had
ONE single friggin statement in the entire thousand line script that
isn't valid under 5.0 but is under 5.6  And I've also run across
a number of Perl extensions that won't run under 5.0 as well, even
though the authors are supposed to regression test under 5.0

 
 Pure /bin/sh is very limited in its constructs compared to other
 shells such as ksh, bash, etc.
 

ksh is consistent across platfroms, of course, you generally have to
compile it for the system your on.

If you cannot work within a limited construct set your not much of a
programmer.

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


About FreeBSD installation

2007-07-04 Thread Yordan Yordanov
Hello 

I want to install the last stable release of FreeBSD Unix on my desktop machine 
with AMD64 processor. Are there any differences in the FreeBSD ports for these 
two platform: FreeBSD/i386 and amd64? In the FreeBSD handbook I saw a 
workaround which should be applied to set up FreeBSD for  some chipsets. If I 
have such a problem can I try to install i386 version
on my machine. There is no reason not to work, but I want to be sure that this 
is possible.

Greetings from Bulgaria

Yordan



-
С бензин в кръвта!
http://auto-motor-und-sport.bg/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: The worst error message in history belongs to... BIND9!

2007-07-04 Thread Ted Mittelstaedt


 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] Behalf Of
 [EMAIL PROTECTED]
 Sent: Tuesday, July 03, 2007 7:34 PM
 To: [EMAIL PROTECTED]
 Cc: freebsd-questions@freebsd.org
 Subject: Re: The worst error message in history belongs to... BIND9!
 
 
   This is actually just the difference between sh and bash ...
  
  differences in, say, arithmetic handling and loops can sometimes
  mean rewriting parts of shell scripts depending on whether it is
  going to run in BSD or Linux.
 
  That's a major argument for doing things in python or perl as
  they are consistent across all platforms ...
 
 If one is going to require the installation of something that may
 not be part of a base system, that something might as well be bash :)

Except that bash requires all the icky GNU utilities to build so you
have to GNUify your system.  The second you put in gmake, gmake requires
iconv, readline and all the other nasty libraries, and from that point
on if you build something you never know if it's going to link in to
one of those libraries.

Lots of programs use configure and if they don't see the gnu libraries they
will use the more traditional bsd ones, but if they see the gnu stuff they
will silently use it.  For example, one I see a lot is programs using
gdbm if they see it, and if they don't they will use ndbm.

This can cause major problems for commercial users.

I'd love for someone to modify the gmake port to have a variable
you can set that would build all the GNUified dependency libraries,
build and install gmake and statically link in all it's GNUified
libraries, then remove all the GNUified libraries.

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


Re: Re: About FreeBSD installation

2007-07-04 Thread eculp

Quoting Vladimir Tsvetkov [EMAIL PROTECTED]:


It depends on what you really want. If you don't want 64-bit version OS, I
don't think you'll have problems at all. Recently, my PC got fucked up, I've
changed the mother board, switched from 32 bit AMD Athlon to a 64 bit AMD
Turion, and successfully booted from the previously installed FreeBSD
4.9Release on the hard drive.
If you want the 64 bit version of the OS, further investigation from you are
needed.
Check this out:
http://www.freebsd.org/platforms/amd64.html


About two weeks ago, I lost two amd-32 servers and replaced them with  
amd-64 and am running off the old disks beautifully, and much, much  
faster.  I have over 500 ports on both.  One was and is running up to  
date Stable and the other up to date Current.  I was planning on going  
to AMD64 but with the current results, I really doubt that I will make  
the change until well after the current 7.0 release.


I made this decision based on recommendations made on this list a few  
days ago.  You might want to search the mailing lists if you need more  
assurance and if no just enjoy the AMD64.  I'm happy with their  
performance and price.


enjoy,

ed


Best Regards,
Vladimir

On 04/07/07, Yordan Yordanov [EMAIL PROTECTED] wrote:


Hello

I want to install the last stable release of FreeBSD Unix on my desktop
machine with AMD64 processor. Are there any differences in the FreeBSD ports
for these two platform: FreeBSD/i386 and amd64? In the FreeBSD handbook I
saw a workaround which should be applied to set up FreeBSD for  some
chipsets. If I have such a problem can I try to install i386 version
on my machine. There is no reason not to work, but I want to be sure that
this is possible.

Greetings from Bulgaria

Yordan



-
С бензин в кръвта!
http://auto-motor-und-sport.bg/
___
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]


About FreeBSD installation

2007-07-04 Thread Yordan Yordanov
Thanks a lot for your help. The link you pointed is enough for me. Thanks again 
).

Regards 
Yordan 

-
С бензин в кръвта!
http://auto-motor-und-sport.bg/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Ports Dir

2007-07-04 Thread Grant Peel
Can one run 

'make clean'

in the /usr/ports directory in the hope of reducing disk space?

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


Sendmail problems on FBSD-6.1-R

2007-07-04 Thread luizbcampos

Hi...after I had nearly setup my localhost to enable sendmail on my
box, I got the message when I try to restart it:


restarting/var/run/sendmail.pid not found sendmail-clientmqueue
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: OpenOffice.org 2.2.1 quits on launch

2007-07-04 Thread Sergio Lenzi
Hello 


I had the same problem a week ago...
sometimes the OO opens, but when I try to choose any menu
option it quits... 

Installing only xorg 7.2 and openoffice it works... 

when I removed the glib or gtk  it works...
I have some problems with the glitz library too...

I am using FreeBSD 6.2 stable (32bits i386), running
on an AMD 3800 X2 with 2Gb of memory 40 diskless stations



track down the problem I found in gtk2... I upgraded to gtk-2.10.13
and the problem was gone

Now I have OO working on gnome 2.18.2 without problems at all
really fast...

The only issue is that I still cannot make the OO play audio still.

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


Sendmail problems on FBSD-6.1-R

2007-07-04 Thread luizbcampos

Dear Sirs


After I had nearly setup sendmail on my localhost I got the following
messages when I try to restart it:

#make restart

Starting: sendmail554 5.0.0 /etc/mail/sendmail.cf: line 66 unknown
configuration line 

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


Re: Ports Dir

2007-07-04 Thread Yuri Pankov
On Wed, Jul 04, 2007 at 11:02:02AM -0400, Grant Peel wrote:
 Can one run 
 
 'make clean'
 
 in the /usr/ports directory in the hope of reducing disk space?
 
 -Grant

Yes, you can, but it will take significant amount of time. Better
approach would be using portsclean (it's in portupgrade package) - you
can clean stale `work' dirs, unreferenced distfiles, etc. with it. And
to just clean stale `work' dirs you can use something like `rm -rf
/usr/ports/*/*/work'.


HTH,
Yuri


pgpAKwi3t7Uea.pgp
Description: PGP signature


RE: Sendmail problems on FBSD-6.1-R

2007-07-04 Thread Ted Mittelstaedt
Do the following:

cd /etc/mail
rm *.cf
make install
make start

Your sendmail.cf file is generated from a *.mc file in
that directory.  It sounds like you have been editing
the sendmail.cf file directly which is not what your
supposed to be doing.

Ted

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] Behalf Of
 [EMAIL PROTECTED]
 Sent: Wednesday, July 04, 2007 7:58 AM
 To: freebsd-questions@freebsd.org
 Subject: Sendmail problems on FBSD-6.1-R


  Dear Sirs


  After I had nearly setup sendmail on my localhost I got the following
 messages when I try to restart it:

 #make restart

 Starting: sendmail554 5.0.0 /etc/mail/sendmail.cf: line 66 unknown
 configuration line 
 
 sendmail-clientmqueue-
 ___
 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]


Questions about periodic.conf file

2007-07-04 Thread Olivier Regnier

Hi everyone,

I'm working on FreeBSD 6.2 and my question is, it is possible to use the 
periodic.conf file in /usr/local/etc/ directory ?


My second question, if i create a empty periodic.conf, it is possible to 
include the /etc/defaults/periodic.conf file with a command line by example


include /etc/defaults/periodic.conf ?

Thank you :)



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


Re[2]: The worst error message in history belongs to... BIND9!

2007-07-04 Thread Gerard
On July 04, 2007 at 09:53AM Ted Mittelstaedt wrote:

[snip]

 Actually perl has a lot of problems too.  One of the biggest is that
 perl script writers always seem to think like you, in that perl is
 consistent across all platforms.
 
 The biggest problems I've seen with perl scripts are when people use
 perl extensions that are not on the system.  You then have to go find
 the extension they use and very few of the perl script writers seem
 to be smart enough to put a section at the beginning of their scripts
 that define the CPAN location of the particular extensions they are
 using.  The second biggest problem is perl script writers using
 constructs that are valid in Perl 5.6 and later but not valid in
 Perl 5.0   I don't know how many times I've wanted to strangle
 someone when trying to run a perl script under Perl 5.0 that had
 ONE single friggin statement in the entire thousand line script that
 isn't valid under 5.0 but is under 5.6  And I've also run across
 a number of Perl extensions that won't run under 5.0 as well, even
 though the authors are supposed to regression test under 5.0

I was under the impression that Perl 5.6.0 was released on 2000-Mar-22,
while Perl 5.000 was issued on or about 1994-Oct-17. For the life of
me, I cannot comprehend why anyone would be using such an antiquated
version. I have a rather limited knowledge of Perl; however, I am not
going to be bothered regression testing it under a seven year old
obsoleted version. I believe that FreeBSD-3.4 was released around
12/21/1999 or there about. Should we also be testing against that
version also?


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


Re: Ports Dir

2007-07-04 Thread Pablo Mora

On 7/4/07, Grant Peel [EMAIL PROTECTED] wrote:

Can one run

'make clean'

in the /usr/ports directory in the hope of reducing disk space?



portsclean -CDD


--

PGP KeyID: 0xC730A079
Key fingerprint = F626 3C47 02F5 E43C 6620  8A1B E7A8 533B C730 A079
gpg --keyserver pgp.mit.edu --recv-keys C730A079


 ASCII Ribbon Campaign
 Against HTML e-mail  Microsoft Attachments
FreeBSD Since 4.x  unixbsd.blogspot.com maintainer

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


Re: Migration from 5.5 to 6.2 without single user access

2007-07-04 Thread Jonathan Horne
On Tuesday 03 July 2007 21:10:22 Olivier Nicole wrote:
 Hi,

 I am upgrading a remote server (very remote, 10,000 km) and I have no
 way to access the machine in single user mode.

 Is there a recommended way to do the upgrade from 5.5 to 6.2?

 Do everything in multi-user, but kill all services but sshd?

 Thanks,

 Olivier

your mileage may vary...

but i do it without killing any services (but i also know that i am the only 
one logged into the machine).  when you install world, *for the most part*, 
you are not tampering with things like apache, etc.  

as always, good backups of your data and configurations are a must before 
performing any such dangerous process as a multiuser-mode installworld.

when going from 5.x to 6.x, most people recommend first upgrading to the 
lastest possible 5.x release first, and then moving on to 6.x (so in your 
case, either 5.5-STABLE or 5.5-RELEASE-p13.

good luck,
-- 
Jonathan Horne
http://dfwlpiki.dfwlp.org
[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: Ports Dir

2007-07-04 Thread Robert Huff
Pablo Mora writes:

   Can one run
  
   'make clean'
  
   in the /usr/ports directory in the hope of reducing disk space?
  
  portsclean -CDD

portsclean is part of the portupgrade port, not the base
system.  Not everyone has it installed, or wants to.
To the original poster: yes, you can.  Mind you, I'm not sure
it's the most efficient way - since I have portupgrade installed,
I prefer portsclean.


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


Re: Questions about periodic.conf file

2007-07-04 Thread Paul Schmehl
--On July 4, 2007 6:14:48 PM +0200 Olivier Regnier [EMAIL PROTECTED] 
wrote:



Hi everyone,

I'm working on FreeBSD 6.2 and my question is, it is possible to use the
periodic.conf file in /usr/local/etc/ directory ?


Yes, of course.


My second question, if i create a empty periodic.conf, it is possible to
include the /etc/defaults/periodic.conf file with a command line by
example

include /etc/defaults/periodic.conf ?

It isn't needed.  The /etc/defaults conf files are always parsed.  They 
are overridden by any settings in the corresponding file in /etc.


Paul Schmehl ([EMAIL PROTECTED])
Senior Information Security Analyst
The University of Texas at Dallas
http://www.utdallas.edu/ir/security/


Fwd: Samba NetBios

2007-07-04 Thread Gabor Tjong A Hung

Dear all,

I was told that my questions was better served here than in ports@



I've recently put my samba server in a jail, but as you can see @
http://www.faughnan.com/netbios.html NetBIOS is a bit of a problem and can
cause alot of headache. I was unable to find a nat helper for pf, so I was
wondering if I could bridge my jail with it's host. the bridge
manualhttp://www.freebsd.org/cgi/man.cgi?query=bridgesektion=4however
requires me to have *two* network devices(or so it says), but my
jails are just aliases on the same network device.
Does anyone know another solution to make browsing possible? or have a

clue

on how to make the solutions I tried work.

ifconfig
rl0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
options=8VLAN_MTU
inet6 fe80::202:44ff:fe30:dd04%rl0 prefixlen 64 scopeid 0x1
inet 172.20.25.177 netmask 0xfc00 broadcast 172.20.27.255
inet 10.0.0.3 netmask 0x broadcast 10.0.0.3
inet 10.0.0.2 netmask 0x broadcast 10.0.0.2
inet 10.0.0.6 netmask 0x broadcast 10.0.0.6
inet 10.0.0.4 netmask 0x broadcast 10.0.0.4
inet 10.0.0.5 netmask 0x broadcast 10.0.0.5
ether 00:02:44:30:dd:04
media: Ethernet autoselect (100baseTX full-duplex)
status: active
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
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: The worst error message in history belongs to... BIND9!

2007-07-04 Thread Chad Perrin
On Wed, Jul 04, 2007 at 12:26:01PM +0100, RW wrote:
 On Tue, 3 Jul 2007 22:05:50 -0600
 Chad Perrin [EMAIL PROTECTED] wrote:
 
  On Tue, Jul 03, 2007 at 11:41:13PM -0400, Robert Huff wrote:
   
   Chad Perrin writes:
   
 Isn't Perl part of the base system these days?
   
 Perl has not been part of the base system for several years
   and was deprecated for some time before that.
  
  Is it part of the default install without being part of the base
  system, then?  I don't recall needing to install it after system
  install on this laptop (using FreeBSD 6.2-RELEASE).
 
 A huge number of ports and packages have it as a dependency.

Yes, of course -- there's a great deal of Perl-based software on various
unices that is written in Perl.  I seem to recall having Perl available
before I had most of my usual software installed on this system, however.
In retrospect, though, I think something associated with Portupgrade uses
Perl -- and I would have had that installed by the time I recall having
Perl available -- so that's probably the culprit in this case.

-- 
CCD CopyWrite Chad Perrin [ http://ccd.apotheon.org ]
print substr(Just another Perl hacker, 0, -2);
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


fetch hangs during Make, portupgrade -a, or portmanager -u..

2007-07-04 Thread Dinesh Pandian

Good day all!

Please help me out with a really annoying little problem that bugs me
everytime I try to install applications from ports.

When I try to run portupgrade -a  or  portmanager -u,
when Make fetches the files from the servers, fetch
normally hangs randomly sometime through the downloading
of the distfile. The only solution I've thought about is aborting
the upgrade procedure and issuing the same command again,
hoping that fetch resumes where it left off.

In bigger files,  5MB, I'd have to repeat this process several
times to download a single distfile.

I've tried setting the FTP_PASSIVE_MODE env ON and OFF
to no avail.

I can't seem to find a problem with the internet connection
as httpd and ftpd works perfectly fine!

Please help.

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


Re: late filesystems and switching net configs

2007-07-04 Thread Chad Perrin
On Wed, Jul 04, 2007 at 09:50:18AM +0100, Tom Evans wrote:
 On Wed, 2007-07-04 at 07:59 +0200, Peter Boosten wrote:
  Chad Perrin wrote:
   I have a couple of niggling little, er, quirks that I'd like to get
   sorted out on my FreeBSD Thinkpad.
   
 2. For some reason, if I use DHCP at all then want to switch back to my
 static IP setup, I have to restart the computer to get it to access the
 Internet.  I haven't been able to figure out why.  If I recall
 correctly, I can switch to static IP on bge0 and access other systems
 on the network, but I can't do anything related to the Internet.  Yes,
 by the way, I am checking to make sure the contents of resolv.conf are
 correct.
   
  
  Check your default gateway when switching from DHCP to static. IIRC a
  /etc/rc.d/netif stop/start will recreate the default route.
 
 Not as I recall though. You will need to do a /etc/rc.d/routing restart
 if your default router changes. The only time you might not need it is
 when your routes are setup via DHCP.

That sounds like it's probably what I need.  Thank you!

To clarify: I have several commonly-used network configs in my
/etc/rc.config file, and often change which one I have commented out
there, then restart with:

  # /etc/rc.d/netif restart

With the revelation that /etc/rc.d/routing needs a restart, I think that
probably solves the problem.

-- 
CCD CopyWrite Chad Perrin [ http://ccd.apotheon.org ]
print substr(Just another Perl hacker, 0, -2);
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


How to install a specific version of Python

2007-07-04 Thread Simon Gao
Hi,

How to install a specific version of Python which is not the latest version?

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


Re: Questions about periodic.conf file

2007-07-04 Thread Olivier Regnier

Paul Schmehl a écrit :
--On July 4, 2007 6:14:48 PM +0200 Olivier Regnier 
[EMAIL PROTECTED] wrote:



Hi everyone,

I'm working on FreeBSD 6.2 and my question is, it is possible to use the
periodic.conf file in /usr/local/etc/ directory ?


Yes, of course.


My second question, if i create a empty periodic.conf, it is possible to
include the /etc/defaults/periodic.conf file with a command line by
example

include /etc/defaults/periodic.conf ?

It isn't needed.  The /etc/defaults conf files are always parsed.  
They are overridden by any settings in the corresponding file in /etc.


Paul Schmehl ([EMAIL PROTECTED])
Senior Information Security Analyst
The University of Texas at Dallas
http://www.utdallas.edu/ir/security/

Ok thank you for your answer :)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: OT: Re: The worst error message in history belongs to... BIND9!

2007-07-04 Thread doug


 How far do we get to go back in time? From the first online fortran compiler: 
ugh1 and ugh2. In fairness these were conditions that were not supposed to 
happen, but somehow they always do. In more recent times I always liked, 
invalid page fault this perhaps as late as win98.

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


Re: Ports Dir

2007-07-04 Thread [EMAIL PROTECTED]

On 04/07/07, Robert Huff [EMAIL PROTECTED] wrote:

Pablo Mora writes:

   Can one run
  
   'make clean'
  
   in the /usr/ports directory in the hope of reducing disk space?

  portsclean -CDD

portsclean is part of the portupgrade port, not the base
system.  Not everyone has it installed, or wants to.
To the original poster: yes, you can.  Mind you, I'm not sure
it's the most efficient way - since I have portupgrade installed,
I prefer portsclean.



Indeed.  If you set WRKDIRPREFIX you can merely
rm -r $WRKDIRPREFIX/ports.  The distfiles can be
a bit more difficult to deal with in a sane manner
without some sort of add-on tool.

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


Re: Recursivity of -r and -R in portupgrade

2007-07-04 Thread [EMAIL PROTECTED]

On 04/07/07, Olivier Nicole [EMAIL PROTECTED] wrote:

Hi,

I am wondering is the option -R and -r are mutually recursive in
portupgrade.

That is, if the option -R applies to every ports detected by -r and
respectively if -r applies to every ports detected by -R.

Lest take the example of:

portupgrade -fRr gd

gd depends on png, does it upgrade png with portupgrade -fRr png?



If I am recalling correctly, it does not.


php4-gd is built from gd, does it upgrade php4-gd with
portupgrade -Rrf php4-gd? (That will in turn upgrade php, maybe
apache...)


Nor here, though if php and apache record gd
as a requirement they will be rebuilt.

Very good idea to use the -n flag.

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


Re: Ports Dir

2007-07-04 Thread Yuri Pankov
On Wed, Jul 04, 2007 at 02:19:51PM -0500, [EMAIL PROTECTED] wrote:
 On 04/07/07, Robert Huff [EMAIL PROTECTED] wrote:
 Pablo Mora writes:

Can one run
   
'make clean'
   
in the /usr/ports directory in the hope of reducing disk space?
 
   portsclean -CDD

 portsclean is part of the portupgrade port, not the base
 system.  Not everyone has it installed, or wants to.
 To the original poster: yes, you can.  Mind you, I'm not sure
 it's the most efficient way - since I have portupgrade installed,
 I prefer portsclean.


 Indeed.  If you set WRKDIRPREFIX you can merely
 rm -r $WRKDIRPREFIX/ports.  The distfiles can be
 a bit more difficult to deal with in a sane manner
 without some sort of add-on tool.

 -- 
 --

That tool lives in /usr/ports/Tools/scripts and is called distclean.sh,
I think :)


Yuri


pgphsnPzDWQ66.pgp
Description: PGP signature


Re: Migration from 5.5 to 6.2 without single user access

2007-07-04 Thread Abdullah Ibn Hamad Al-Marri

On 7/4/07, Jonathan Horne [EMAIL PROTECTED] wrote:

On Tuesday 03 July 2007 21:10:22 Olivier Nicole wrote:
 Hi,

 I am upgrading a remote server (very remote, 10,000 km) and I have no
 way to access the machine in single user mode.

 Is there a recommended way to do the upgrade from 5.5 to 6.2?

 Do everything in multi-user, but kill all services but sshd?

 Thanks,

 Olivier

your mileage may vary...

but i do it without killing any services (but i also know that i am the only
one logged into the machine).  when you install world, *for the most part*,
you are not tampering with things like apache, etc.

as always, good backups of your data and configurations are a must before
performing any such dangerous process as a multiuser-mode installworld.

when going from 5.x to 6.x, most people recommend first upgrading to the
lastest possible 5.x release first, and then moving on to 6.x (so in your
case, either 5.5-STABLE or 5.5-RELEASE-p13.

good luck,
--
Jonathan Horne
http://dfwlpiki.dfwlp.org
[EMAIL PROTECTED]


Here how I did it for many remote servers I own and help friends to run.

First install screen from the ports to make your life easier.

After csup to the branch you desire to upgrade to, like RELENG_6_2 or
RELENG_6 to get the latest changes in 6.x branch do these stuff.

#rm -r /usr/obj/*
#cd /usr/src
#make cleanworld
#mergemaster -p
#make buildworld
#make buildkernel
#make installkernel
#reboot
#cd /usr/src
#make installworld
#mergemaster -iU (-iU added to automatically install files that don't
exist and upgrade those that haven't changed.
#reboot


--
Regards,

-Abdullah Ibn Hamad Al-Marri
Arab Portal
http://www.WeArab.Net/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Migration from 5.5 to 6.2 without single user access

2007-07-04 Thread Nikola Lecic
On Wed, 4 Jul 2007 22:44:34 +0300
Abdullah Ibn Hamad Al-Marri [EMAIL PROTECTED] wrote:

 On 7/4/07, Jonathan Horne [EMAIL PROTECTED] wrote:
  On Tuesday 03 July 2007 21:10:22 Olivier Nicole wrote:
   Hi,
  
   I am upgrading a remote server (very remote, 10,000 km) and I
   have no way to access the machine in single user mode.
  
   Is there a recommended way to do the upgrade from 5.5 to 6.2?
  
   Do everything in multi-user, but kill all services but sshd?
  
   Thanks,
  
   Olivier
 
  your mileage may vary...
 
  but i do it without killing any services (but i also know that i am
  the only one logged into the machine).  when you install world,
  *for the most part*, you are not tampering with things like apache,
  etc.
 
  as always, good backups of your data and configurations are a must
  before performing any such dangerous process as a multiuser-mode
  installworld.
 
  when going from 5.x to 6.x, most people recommend first upgrading
  to the lastest possible 5.x release first, and then moving on to
  6.x (so in your case, either 5.5-STABLE or 5.5-RELEASE-p13.
 
  good luck,
  --
  Jonathan Horne
  http://dfwlpiki.dfwlp.org
  [EMAIL PROTECTED]
 
 Here how I did it for many remote servers I own and help friends to
 run.
 
 First install screen from the ports to make your life easier.
 
 After csup to the branch you desire to upgrade to, like RELENG_6_2 or
 RELENG_6 to get the latest changes in 6.x branch do these stuff.
 
 #rm -r /usr/obj/*
 #cd /usr/src
 #make cleanworld
 #mergemaster -p
 #make buildworld
 #make buildkernel
 #make installkernel
 #reboot
 #cd /usr/src
 #make installworld
 #mergemaster -iU (-iU added to automatically install files that don't
 exist and upgrade those that haven't changed.
 #reboot

This is rather a sub-question than an answer: can Colin Percival's
depenguinator (http://www.daemonology.net/depenguinator/) be used for
such porpose? I mean, can someone run (or tweak) this program to run
on an old remote FreeBSD installation in order to easily get a new fresh
FreeBSD system?

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


New FreeBSD installation

2007-07-04 Thread Lisa Casey

Hi,

First, thanks for the help I got from this list when I was having problems 
getting FreeBSD to install on a new system. Hard drive cabling was the 
problem - got that fixed.


I have FreeBSD up and running now. I have a couple of questions. When I 
installed FreeBSD, it automatically installed Sendmail 8.13. I installed 
cyrus-sasl2 and cyrus-sasl2-saslauthd from ports because I need SMTP auth. 
Sendmail is running on the box:


# ps waux | grep sendmail
smmsp 20613  0.0  0.1  3440 2800  ??  Is2:53PM   0:00.00 sendmail: Queue 
[EMAIL PROTECTED]:30:00 for /var/spool/clientmqueue (sendmail)
root  20615  0.0  0.2  4400 3692  ??  Ss2:54PM   0:00.03 sendmail: 
accepting connections (sendmail)


but I cannot send mail through this server using Outlook Express on the 
Windows computer on my desk (I get a generic error message about the 
connection to the server has failed nor can I telnet to port 25 on this 
server. I  have noticed that there isn't anything in /etc/rc.conf regarding 
sendmail (no SENDMAIL_ENABLE=YES  etc.) but since sendmail is starting 
from rc.d perhaps there shouldn't be anything in rc.conf? I'm not sure where 
to begin trying to figure out why I can't send mail or telnet to port 25. 
What am I overlooking here?


Also, when I installed FreeBSD, I installed SSH. Unfortunately, at first I 
put the wrong IP address on this machine (it conflicted with another server 
I currently have running). I fixed that. In /var/messages, however, I'm 
seeing this every 10 minutes or so:


Jul  4 16:12:14 mail inetd[423]: ssh/tcp: bind: Address already in use

I don't know if this is because I initially setup this server with the wrong 
IP address on the ethernet interface (and ssh is trying to bind to this 
wrong IP) or if I'm getting this message because ssh is being started from 
both rc.d (there is a script  in there for ssh) and from /etc/rc.conf 
(/etc/rc.conf contains sshd_enable=YES)


Thanks for the help,

Lisa CAsey



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


grep question

2007-07-04 Thread ann kok
Hi all

how can I use grep to have the output as 60.40.2.x

eg:
60.40.2.5 
60.40.2.3 
60.40.2.7 

except 60.40.2x.x

eg:
60.40.20.5 
60.40.23.6
60.40.25.7

Thank you 




  

Park yourself in front of a world of choices in alternative vehicles. Visit the 
Yahoo! Auto Green Center.
http://autos.yahoo.com/green_center/ 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: New FreeBSD installation

2007-07-04 Thread Yuri Pankov
On Wed, Jul 04, 2007 at 04:16:47PM -0400, Lisa Casey wrote:
 Hi,

 First, thanks for the help I got from this list when I was having problems 
 getting FreeBSD to install on a new system. Hard drive cabling was the 
 problem - got that fixed.

 I have FreeBSD up and running now. I have a couple of questions. When I 
 installed FreeBSD, it automatically installed Sendmail 8.13. I installed 
 cyrus-sasl2 and cyrus-sasl2-saslauthd from ports because I need SMTP auth. 
 Sendmail is running on the box:

 # ps waux | grep sendmail
 smmsp 20613  0.0  0.1  3440 2800  ??  Is2:53PM   0:00.00 sendmail: 
 Queue [EMAIL PROTECTED]:30:00 for /var/spool/clientmqueue (sendmail)
 root  20615  0.0  0.2  4400 3692  ??  Ss2:54PM   0:00.03 sendmail: 
 accepting connections (sendmail)

 but I cannot send mail through this server using Outlook Express on the 
 Windows computer on my desk (I get a generic error message about the 
 connection to the server has failed nor can I telnet to port 25 on this 
 server. I  have noticed that there isn't anything in /etc/rc.conf regarding 
 sendmail (no SENDMAIL_ENABLE=YES  etc.) but since sendmail is starting 
 from rc.d perhaps there shouldn't be anything in rc.conf? I'm not sure 
 where to begin trying to figure out why I can't send mail or telnet to port 
 25. What am I overlooking here?

Sendmail will run only local submission if you don't have
sendmail_enable=YES in /etc/rc.conf, so you need to add it to make
sendmail listen on interfaces other than 127.0.0.1. Regarding SMTP AUTH
- you need to recompile sendmail with SASL -
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/smtp-auth.html


 Also, when I installed FreeBSD, I installed SSH. Unfortunately, at first I 
 put the wrong IP address on this machine (it conflicted with another server 
 I currently have running). I fixed that. In /var/messages, however, I'm 
 seeing this every 10 minutes or so:

 Jul  4 16:12:14 mail inetd[423]: ssh/tcp: bind: Address already in use

 I don't know if this is because I initially setup this server with the 
 wrong IP address on the ethernet interface (and ssh is trying to bind to 
 this wrong IP) or if I'm getting this message because ssh is being started 
 from both rc.d (there is a script  in there for ssh) and from /etc/rc.conf 
 (/etc/rc.conf contains sshd_enable=YES)

You are starting sshd both as daemon and as inetd service. So either
comment out ssh lines in /etc/inetd.conf and restart it or remove
sshd_enable=YES from /etc/rc.conf (but be sure to check sshd(8)
manpage and search for 'inetd').


 Thanks for the help,

 Lisa CAsey


HTH,
Yuri


pgpjggvTOANim.pgp
Description: PGP signature


Re: New FreeBSD installation

2007-07-04 Thread Roland Smith
On Wed, Jul 04, 2007 at 04:16:47PM -0400, Lisa Casey wrote:
 First, thanks for the help I got from this list when I was having problems 
 getting FreeBSD to install on a new system. Hard drive cabling was the 
 problem - got that fixed.

Hardware problems can be a pain. :-)
 
 I have FreeBSD up and running now. I have a couple of questions. When I 
 installed FreeBSD, it automatically installed Sendmail 8.13. I installed 
 cyrus-sasl2 and cyrus-sasl2-saslauthd from ports because I need SMTP auth. 
 Sendmail is running on the box:
 
 # ps waux | grep sendmail
 smmsp 20613  0.0  0.1  3440 2800  ??  Is2:53PM   0:00.00 sendmail: 
 Queue [EMAIL PROTECTED]:30:00 for /var/spool/clientmqueue (sendmail)
 root  20615  0.0  0.2  4400 3692  ??  Ss2:54PM   0:00.03 sendmail: 
 accepting connections (sendmail)
 
 but I cannot send mail through this server using Outlook Express on the 
 Windows computer on my desk (I get a generic error message about the 
 connection to the server has failed nor can I telnet to port 25 on this 
 server. I  have noticed that there isn't anything in /etc/rc.conf regarding 
 sendmail (no SENDMAIL_ENABLE=YES  etc.) 

The defaults are set in /etc/defaults/rc.conf. And the inbound daemon is
disabled by default.

 Also, when I installed FreeBSD, I installed SSH. Unfortunately, at first I 
 put the wrong IP address on this machine (it conflicted with another server 
 I currently have running). I fixed that. In /var/messages, however, I'm 
 seeing this every 10 minutes or so:
 
 Jul  4 16:12:14 mail inetd[423]: ssh/tcp: bind: Address already in use

Could it be that inetd is trying to start sshd while one is already running?

 I don't know if this is because I initially setup this server with the 
 wrong IP address on the ethernet interface (and ssh is trying to bind to 
 this wrong IP) or if I'm getting this message because ssh is being started 
 from both rc.d (there is a script  in there for ssh) and from /etc/rc.conf 
 (/etc/rc.conf contains sshd_enable=YES)

The variable in /etc/rc.conf is used to activate the rc.d script.

Roland
-- 
R.F.Smith   http://www.xs4all.nl/~rsmith/
[plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
pgp: 1A2B 477F 9970 BA3C 2914  B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)


pgpqEaQefQg7m.pgp
Description: PGP signature


mod_perl port

2007-07-04 Thread Andrew Falanga

Hi,

I installed Apache 2.2 and the appropriate mod_perl port for this
version of apache.  However, it is not referenced in
/usr/local/etc/apache/httpd.conf.  How do I get it there?

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


Re: About FreeBSD installation

2007-07-04 Thread NetOpsCenter

Yordan Yordanov wrote:

Hello 


I want to install the last stable release of FreeBSD Unix on my desktop machine 
with AMD64 processor. Are there any differences in the FreeBSD ports for these 
two platform: FreeBSD/i386 and amd64? In the FreeBSD handbook I saw a 
workaround which should be applied to set up FreeBSD for  some chipsets. If I 
have such a problem can I try to install i386 version
on my machine. There is no reason not to work, but I want to be sure that this 
is possible.

Greetings from Bulgaria

Yordan



-
С бензин в кръвта!
http://auto-motor-und-sport.bg/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]

 


Yordan,

This FreeBSD box I am using to email you is a dual AMD 64 running on i386 7.0 
CURRENT.
It runs just finefast.   The AMD64  version of the os  gave me many errors and 
wouldn't run the  video card so I switched to the i386. top -S shows it is running

efficiently.

Aloha

~Al Plant - Honolulu, Hawaii -  Phone:  808-284-2740
 + http://hawaiidakine.com + http://freebsdinfo.org + [EMAIL PROTECTED] +
 + http://internetohana.org   - Supporting - FreeBSD 6.* - 7.* +
All that's really worth doing is what we do for others.- Lewis Carrol


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


Re: BIND to listen on all interfaces?

2007-07-04 Thread Christoph Schug
On Tue, Jul 03, 2007, Nejc Škoberne wrote:

 I also tried to specify the ADSL IP address in named.conf (it is static), 
 but it is
 still a no go. I don't have such problems with other daemons! Any ideas?

Is the interface already up when you are starting BIND? I guess it is
not. I haven't tested myself but you might try to add the very same IP
you use for your ADSL interface as an alias to the lo0 device. This way
the IP is available all the time, thus BIND should be able to listen
on it. While it might look strange to have to same IP on two different
interfaces (lo0 and ADSL in your case) IIRC it should work flawlessly.
Just give it a try and report back if it works or not.

-cs

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


Does anyone on this list use WebGUI on FreeBSD

2007-07-04 Thread Andrew Falanga

Hi,

I'm wondering, does anyone here use WebGUI on their FreeBSD installs
and if so, or even if not would know, what is this

LoadModule apreq_module modules/mod_apreq2.so

mentioned in the installation text file?  I can't seem to find it in
ports, this could simply mean that it's just not in ports, but I would
figuring that it most likely is and it's just not called that.

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


Re: fetch hangs during Make, portupgrade -a, or portmanager -u..

2007-07-04 Thread RW
On Thu, 5 Jul 2007 02:34:16 +0800
Dinesh Pandian [EMAIL PROTECTED] wrote:

 Good day all!
 
 Please help me out with a really annoying little problem that bugs me
 everytime I try to install applications from ports.
 
 When I try to run portupgrade -a  or  portmanager -u,
 when Make fetches the files from the servers, fetch
 normally hangs randomly sometime through the downloading
 of the distfile. The only solution I've thought about is aborting
 the upgrade procedure and issuing the same command again,
 hoping that fetch resumes where it left off.


This is a bit of a long-shot, but if you are using pf, and the relevant
rule has a modulate state, try changing it to keep state 

Otherwise, what is the output of 

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


How does one start mysql after installing from ports

2007-07-04 Thread Andrew Falanga

This is pretty pathetic but I'm batting a 1000 on this one.  I
installed mysql a few weeks ago on this web server I'm making for my
church and didn't do anything with it at that point (that was the
first mistake).  I've not used mysql (I usually use PostgreSQL) but
WebGUI wants mysql.  So, being completely unfamiliar with it, I cannot
figure out how to start this thing.

I eventually figured out that the mysqld process starts by using
mysqld_safe in /usr/local/bin.  However, I can't get it to start.  At
first it was because the directory /var/db/mysql didn't exist.  I
created that and now I get this:

whitbap# mysqld_safe
Starting mysqld daemon with databases from /var/db/mysql
STOPPING server from pid file /var/db/mysql/whitbap.pid
070704 16:09:42  mysqld ended

(And the contents of /var/db/mysql/whitbap.err:
whitbap# cat /var/db/mysql/whitbap.err
070704 16:02:41  mysqld started
070704 16:02:42  InnoDB: Operating system error number 13 in a file operation.
InnoDB: The error means mysqld does not have the access rights to
InnoDB: the directory.
InnoDB: File name ./ibdata1
InnoDB: File operation call: 'create'.
InnoDB: Cannot continue operation.
070704 16:02:42  mysqld ended

070704 16:09:42  mysqld started
070704 16:09:42  InnoDB: Operating system error number 13 in a file operation.
InnoDB: The error means mysqld does not have the access rights to
InnoDB: the directory.
InnoDB: File name ./ibdata1
InnoDB: File operation call: 'create'.
InnoDB: Cannot continue operation.
070704 16:09:42  mysqld ended


I'm assuming that a process, perhaps similar to PostgreSQL, is
applicable for MySQL too.  For example, in PostgreSQL, one must first
usr 'initdb' to initialize the data area.  Is this true for MySQL too?

Please tell me how to work MySQL (to anyone on this list that uses it).

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


Re: How to install a specific version of Python

2007-07-04 Thread Pieter de Goeje
On Wednesday 04 July 2007, Simon Gao wrote:
 Hi,

 How to install a specific version of Python which is not the latest
 version?

 Simon
You can find version 2.3, 2.4 and 2.5 of Python in the ports tree.
Or you could simply add the package of the required version:
pkg_add -r python23

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


Re: grep question

2007-07-04 Thread Pieter de Goeje
On Wednesday 04 July 2007, ann kok wrote:
 Hi all

 how can I use grep to have the output as 60.40.2.x

 eg:
 60.40.2.5
 60.40.2.3
 60.40.2.7

 except 60.40.2x.x

 eg:
 60.40.20.5
 60.40.23.6
 60.40.25.7

 Thank you
grep '60\.40\.2\.[0-9]*'

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


Re: mod_perl port

2007-07-04 Thread Pieter de Goeje
On Wednesday 04 July 2007, Andrew Falanga wrote:
 Hi,

 I installed Apache 2.2 and the appropriate mod_perl port for this
 version of apache.  However, it is not referenced in
 /usr/local/etc/apache/httpd.conf.  How do I get it there?

 Andy
[EMAIL PROTECTED]:/usr/ports/www/mod_perl2 cat pkg-message 
#

Simple config:

  LoadModule perl_module libexec/apache2/mod_perl.so
  #PerlModule Apache::compat
  # your config comes here

For a more detailed version (including more options) refer to:

  docs/user/intro/start_fast.pod

or online:

  http://perl.apache.org/docs/2.0/user/intro/start_fast.html

#

To be absolutely clear: you put the LoadModule blabla line in httpd.conf.

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


m4p conversion to mp4?

2007-07-04 Thread SMITH Dennis \(SPARQ\)
Warning to potential uses of the AllMusicConverter (
www.allmusicconverter.com http://www.allmusicconverter.com ).  If you
are a software developer beware of this application as it disables the
debug environment, probably to prevent reverse engineering.  This is
done with some other applications that I know of but most of them put
the system back the way they found it, this one doesn't, and you have to
re-boot in order to debug your apps.
 
The company go to extreme lengths to also prevent installing on more
than one PC.  There methods would likely cause the application to stop
working even if you upgrade your PC by replacing the motherboard or even
the processor as it checks the system ID.
 
Attempts at contacting the company about this have resulted in an total
absence of response.
 
Denny Smith - Senior Analyst/Programmer Sparq Solutions, Australia
 



*
This email message (including any file attachments transmitted with it)
is for the sole use of the intended recipient(s) and may contain
confidential and legally privileged information. Any unauthorised
review, use, alteration, disclosure or distribution of this email
(including any attachments) by an unintended recipient is prohibited.
If you have received this email in error, please notify the sender by
return email and destroy all copies of the original message.
Any confidential or legal professional privilege is not waived
or lost by any mistaken delivery of the email.
SPARQ Solutions accepts no responsibility for the content of any
email which is sent by an employee which is of a personal nature.
Sender Details:
  SPARQ Solutions
  PO Box 15760 City East, Brisbane QLD Australia 4002
  +61 7 4931 
SPARQ Solutions policy is to not send unsolicited electronic 
messages. Suspected breaches of this policy can be reported by replying 
to this message including the original message and the word UNSUBSCRIBE 
in the subject.
*

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

Re: grep question

2007-07-04 Thread Paul procacci
ann kok wrote:
 Hi all

 how can I use grep to have the output as 60.40.2.x

 eg:
 60.40.2.5 
 60.40.2.3 
 60.40.2.7 

 except 60.40.2x.x

 eg:
 60.40.20.5 
 60.40.23.6
 60.40.25.7

 Thank you 

 


   
 
 Park yourself in front of a world of choices in alternative vehicles. Visit 
 the Yahoo! Auto Green Center.
 http://autos.yahoo.com/green_center/ 
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]

   

egrep 60.40.2[0-9]?.  blah.txt

;P

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


Re: grep question

2007-07-04 Thread Steve Bertrand
 how can I use grep to have the output as 60.40.2.x
 
 eg:
 60.40.2.5 
 60.40.2.3 
 60.40.2.7 
 
 except 60.40.2x.x
 
 eg:
 60.40.20.5 
 60.40.23.6
 60.40.25.7

I don't know if you WANT to have 2x, or just 2., it would of been better
if you provided what you tried. Nonetheless, I've done both for you

This would include 60.40.any.any:
(eg: 60.40.171.199)

grep 60.40.[0-9]\{1,\}.[0-9]\{1,\}

This would include 60.40.2.any (but not 60.40.2x):
(eg: 60.40.2.199, not 60.40.20.199)

grep 60.40.2.[0-9]\{1,\}

This would include 60.40.2any.any:
(eg: 60.40.219.199 or 60.40.21.199)

grep 60.40.2[0-9]\{1,\}.[0-9]\{1,\}

...and this would include 60.40.2x.any
(eg: 60.40.22.199, but not 60.40.212.199)

grep 60.40.2[0-9]\{1\}.

HTH,

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


Re: How does one start mysql after installing from ports

2007-07-04 Thread Gerard
On July 04, 2007 at 06:00PM Andrew Falanga wrote:


 This is pretty pathetic but I'm batting a 1000 on this one.  I
 installed mysql a few weeks ago on this web server I'm making for my
 church and didn't do anything with it at that point (that was the
 first mistake).  I've not used mysql (I usually use PostgreSQL) but
 WebGUI wants mysql.  So, being completely unfamiliar with it, I cannot
 figure out how to start this thing.
 
 I eventually figured out that the mysqld process starts by using
 mysqld_safe in /usr/local/bin.  However, I can't get it to start.  At
 first it was because the directory /var/db/mysql didn't exist.  I
 created that and now I get this:
 
 whitbap# mysqld_safe
 Starting mysqld daemon with databases from /var/db/mysql
 STOPPING server from pid file /var/db/mysql/whitbap.pid
 070704 16:09:42  mysqld ended
 
 (And the contents of /var/db/mysql/whitbap.err:
 whitbap# cat /var/db/mysql/whitbap.err
 070704 16:02:41  mysqld started
 070704 16:02:42  InnoDB: Operating system error number 13 in a file operation.
 InnoDB: The error means mysqld does not have the access rights to
 InnoDB: the directory.
 InnoDB: File name ./ibdata1
 InnoDB: File operation call: 'create'.
 InnoDB: Cannot continue operation.
 070704 16:02:42  mysqld ended
 
 070704 16:09:42  mysqld started
 070704 16:09:42  InnoDB: Operating system error number 13 in a file operation.
 InnoDB: The error means mysqld does not have the access rights to
 InnoDB: the directory.
 InnoDB: File name ./ibdata1
 InnoDB: File operation call: 'create'.
 InnoDB: Cannot continue operation.
 070704 16:09:42  mysqld ended
 
 
 I'm assuming that a process, perhaps similar to PostgreSQL, is
 applicable for MySQL too.  For example, in PostgreSQL, one must first
 usr 'initdb' to initialize the data area.  Is this true for MySQL too?
 
 Please tell me how to work MySQL (to anyone on this list that uses it).
 
 Thanks,
 Andy

Unless I am misreading this, the correct method is by inserting the
following into the '/etc/rc.conf' file:

mysql_enable=YES

You can then either reboot the system to start the program, perhaps a
good idea to make sure it does get initialized correctly, or else as
root type:

/usr/local/etc/rc.d/mysql-server start

That should complete the process. If you receive error messages when
mysql starts up, shut it down using the 'stop' flag in place of 'start'
and then move the '/var/db/mysql' directory out of the way and restart
mysql.

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


Re: How does one start mysql after installing from ports

2007-07-04 Thread Paul Schmehl
--On July 4, 2007 4:00:48 PM -0600 Andrew Falanga [EMAIL PROTECTED] 
wrote:



This is pretty pathetic but I'm batting a 1000 on this one.  I
installed mysql a few weeks ago on this web server I'm making for my
church and didn't do anything with it at that point (that was the
first mistake).  I've not used mysql (I usually use PostgreSQL) but
WebGUI wants mysql.  So, being completely unfamiliar with it, I cannot
figure out how to start this thing.

I eventually figured out that the mysqld process starts by using
mysqld_safe in /usr/local/bin.  However, I can't get it to start.  At
first it was because the directory /var/db/mysql didn't exist.  I
created that and now I get this:

All ports that run daemons should put a startup script in 
/usr/local/etc/rc.d.  Mysqld does.  Look at that script and it will 
explain what you need to do to start mysql.  The port maintainer has 
written the script so that it should start mysqld properly.


Basically, you add mysqld_enable=YES to the /etc/rc.conf file, but look 
at the script and read the comments in it.


Paul Schmehl ([EMAIL PROTECTED])
Senior Information Security Analyst
The University of Texas at Dallas
http://www.utdallas.edu/ir/security/


Re: Does anyone on this list use WebGUI on FreeBSD

2007-07-04 Thread Pieter de Goeje
On Wednesday 04 July 2007, Andrew Falanga wrote:
 Hi,

 I'm wondering, does anyone here use WebGUI on their FreeBSD installs
 and if so, or even if not would know, what is this

 LoadModule apreq_module modules/mod_apreq2.so

 mentioned in the installation text file?  I can't seem to find it in
 ports, this could simply mean that it's just not in ports, but I would
 figuring that it most likely is and it's just not called that.

 Andy
[EMAIL PROTECTED]:/usr/ports make quicksearch name=apreq2
Port:   libapreq2-2.08
Path:   /usr/ports/www/libapreq2
Info:   Generic Apache2 Request Library

Port:   p5-libapreq2-2.08
Path:   /usr/ports/www/p5-libapreq2
Info:   Generic Apache2 Request Library

You need the 2nd result.

HTH,
Pieter de Goeje

PS.
I suggest you read up on man ports (especially the section on search).

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


Re: grep question

2007-07-04 Thread Paul procacci
ann kok wrote:
 Hi all

 how can I use grep to have the output as 60.40.2.x

 eg:
 60.40.2.5 
 60.40.2.3 
 60.40.2.7 

 except 60.40.2x.x

 eg:
 60.40.20.5 
 60.40.23.6
 60.40.25.7

 Thank you 

 


   
 
 Park yourself in front of a world of choices in alternative vehicles. Visit 
 the Yahoo! Auto Green Center.
 http://autos.yahoo.com/green_center/ 
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]

   
Sorry, after re-reading the question, I must admit I think I misunderstood.

Pieter de Goeje's response seems to be more along the lines of what you
were looking for.  ;P
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: OT: Re: The worst error message in history belongs to... BIND9!

2007-07-04 Thread CyberLeo Kitsana
Andrea Venturoli wrote:
 Robert Huff wrote:
 =?iso-8859-1?Q?Kyrre_Nyg=E5rd?= writes:

  It has to be the worst written error message in history.

 Not even close.  I commend to you the Amiga's BSOD:

   Software Guru
 Meditation Number
very long string of hex digits
 
 Well, there's always Windows' Insufficient Memory, which usually means
 anything but memory being full :-)


Unable to delete file: not enough free space available.


Fatal error: the operation completed successfully

--
Fuzzy love,
-CyberLeo
Technical Administrator
CyberLeo.Net Webhosting
http://www.CyberLeo.Net
[EMAIL PROTECTED]

Furry Peace! - http://www.fur.com/peace/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: OT: Re: The worst error message in history belongs to... BIND9!

2007-07-04 Thread Eduardo Viruena Silva






On Wed, 4 Jul 2007, CyberLeo Kitsana wrote:


Andrea Venturoli wrote:

Robert Huff wrote:

=?iso-8859-1?Q?Kyrre_Nyg=E5rd?= writes:


 It has to be the worst written error message in history.


Not even close.  I commend to you the Amiga's BSOD:

  Software Guru
Meditation Number
   very long string of hex digits


Well, there's always Windows' Insufficient Memory, which usually means
anything but memory being full :-)



Unable to delete file: not enough free space available.


Fatal error: the operation completed successfully

--


IBM:
 keyboard no present, press F1 to continue.

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


If cvsup's a no-go, will copying work?

2007-07-04 Thread Andrew Gould
I received permission to install a *nix at work.  I installed FreeBSD 6.2; but 
I am unable to cvsup successfully.  I've tried the various modes.  I've even 
tried nesting it in a Python script that tries to get authorization through a 
proxy -- it didn't help, but was worth a try.

I really, really, really want to get past the xorg 7* issue before I have a lot 
of applications installed.

If a computer at home is up-to-date, can I:

1.  Delete /usr/src/*,  /usr/ports/* and /usr/doc/* from the work computer; and

2.  copy the /usr/src/*,  /usr/ports/* and /usr/doc/* from the home computer?

Is it as simple as that?

Thanks,

Andrew


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


Re: If cvsup's a no-go, will copying work?

2007-07-04 Thread cpghost

Andrew Gould wrote:

I received permission to install a *nix at work.  I installed FreeBSD 6.2; but 
I am unable to cvsup successfully.  I've tried the various modes.  I've even 
tried nesting it in a Python script that tries to get authorization through a 
proxy -- it didn't help, but was worth a try.

I really, really, really want to get past the xorg 7* issue before I have a lot 
of applications installed.

If a computer at home is up-to-date, can I:

1.  Delete /usr/src/*,  /usr/ports/* and /usr/doc/* from the work computer; and

2.  copy the /usr/src/*,  /usr/ports/* and /usr/doc/* from the home computer?

Is it as simple as that?
  


Yes, it is! They are all just source files. It doesn't matter
whether you got them via csup, portsnap, or dropped them
there from a tar ball...

Remember to compile the sources, and install ports @work
though... ;-)


Andrew
  


-cpghost.

--
Cordula's Web. http://www.cordula.ws/

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


Re: If cvsup's a no-go, will copying work?

2007-07-04 Thread Federico Lorenzi

On 7/5/07, Andrew Gould [EMAIL PROTECTED] wrote:

I received permission to install a *nix at work.  I installed FreeBSD 6.2;
but I am unable to cvsup successfully.  I've tried the various modes.  I've
even tried nesting it in a Python script that tries to get authorization
through a proxy -- it didn't help, but was worth a try.

Have you tried portsnap? Since it runs over normal http you should have no
issues. As for the source tree...


I really, really, really want to get past the xorg 7* issue before I have a
lot of applications installed.

If a computer at home is up-to-date, can I:

1.  Delete /usr/src/*,  /usr/ports/* and /usr/doc/* from the work computer;
and

Shouldn't really be nessacery, but why not.


2.  copy the /usr/src/*,  /usr/ports/* and /usr/doc/* from the home
computer?

Yep, just cvsup, and then tar them up, and copy over.


Is it as simple as that?

It should be! Remember, try portsnap for the ports, it should work just fine.

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


Re: If cvsup's a no-go, will copying work?

2007-07-04 Thread cpghost

Andrew Gould wrote:

I received permission to install a *nix at work.  I installed FreeBSD 6.2; but 
I am unable to cvsup successfully.  I've tried the various modes.  I've even 
tried nesting it in a Python script that tries to get authorization through a 
proxy -- it didn't help, but was worth a try.

I really, really, really want to get past the xorg 7* issue before I have a lot 
of applications installed.

If a computer at home is up-to-date, can I:

1.  Delete /usr/src/*,  /usr/ports/* and /usr/doc/* from the work computer; and

2.  copy the /usr/src/*,  /usr/ports/* and /usr/doc/* from the home computer?

Is it as simple as that?
  


On more thing. I usually csup /usr/src, /usr/ports and /usr/doc on one
machine, and then rsync those directories to a lot of other machines
on an internal network. Works like a charm, and conserves bandwidth
too.


Thanks,

Andrew
  


cpghost.

--
Cordula's Web. http://www.cordula.ws/

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


Re: OT: Re: The worst error message in history belongs to... BIND9!

2007-07-04 Thread Tim Daneliuk

Eduardo Viruena Silva wrote:






On Wed, 4 Jul 2007, CyberLeo Kitsana wrote:


Andrea Venturoli wrote:

Robert Huff wrote:

=?iso-8859-1?Q?Kyrre_Nyg=E5rd?= writes:


 It has to be the worst written error message in history.


Not even close.  I commend to you the Amiga's BSOD:

  Software Guru
Meditation Number
   very long string of hex digits


Well, there's always Windows' Insufficient Memory, which usually means
anything but memory being full :-)



Unable to delete file: not enough free space available.


Fatal error: the operation completed successfully

--


IBM:
 keyboard no present, press F1 to continue.



Perhaps this has been mentioned before from Unix, I don't know:

   Bad Magic Number

--

Tim Daneliuk [EMAIL PROTECTED]
PGP Key: http://www.tundraware.com/PGP/

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


Re: The worst error message in history belongs to... BIND9!

2007-07-04 Thread perryh
  If one is going to require the installation of something that may
  not be part of a base system, that something might as well be bash :)

 Except that bash requires all the icky GNU utilities to build so you
 have to GNUify your system.

And perl doesn't?  It was GPL last I knew.

 The second you put in gmake, gmake requires
 iconv, readline and all the other nasty libraries, and from that point
 on if you build something you never know if it's going to link in to
 one of those libraries.
 ...
 This can cause major problems for commercial users.

How?  Last I heard, the *L*GPL only requires making the *library*
source available (and that only if the library has been modified).
It doesn't extend to the using application.

 I'd love for someone to modify the gmake port to have a variable
 you can set that would build all the GNUified dependency libraries,
 build and install gmake and statically link in all it's GNUified
 libraries, then remove all the GNUified libraries.

Or, change all the gnu ports to install into something like
/usr/local/gnu or /usr/local/gpl instead of straight into
/usr/local.  You'd still have the gnu libs when needed, but
without having them included in normal search paths.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


fsck on a read only partition?

2007-07-04 Thread Alfred Perlstein
Hello, how do I fsck my disk if it's mounted?

I have downgraded the mount to read-only, but still geom seems
to disallow fsck access to it. 

Is there a way to tell the system to allow fsck to open it
read/write?

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


Re: If cvsup's a no-go, will copying work?

2007-07-04 Thread Andrew Gould
- Original Message 
From: cpghost [EMAIL PROTECTED]
To: Andrew Gould [EMAIL PROTECTED]
Cc: FreeBSD Questions Mailing List freebsd-questions@freebsd.org
Sent: Wednesday, July 4, 2007 6:56:34 PM
Subject: Re: If cvsup's a no-go, will copying work?

Andrew Gould wrote:
 I received permission to install a *nix at work.  I installed FreeBSD 6.2; 
 but I am unable to cvsup successfully.  I've tried the various modes.  I've 
 even tried nesting it in a Python script that tries to get authorization 
 through a proxy -- it didn't help, but was worth a try.

 I really, really, really want to get past the xorg 7* issue before I have a 
 lot of applications installed.

 If a computer at home is up-to-date, can I:

 1.  Delete /usr/src/*,  /usr/ports/* and /usr/doc/* from the work computer; 
 and

 2.  copy the /usr/src/*,  /usr/ports/* and /usr/doc/* from the home computer?

 Is it as simple as that?
   

On more thing. I usually csup /usr/src, /usr/ports and /usr/doc on one
machine, and then rsync those directories to a lot of other machines
on an internal network. Works like a charm, and conserves bandwidth
too.

rsync!  (doh)  and rsync works through ssh!  Beautiful!

Thanks.


 Thanks,

 Andrew
   

cpghost.

-- 
Cordula's Web. http://www.cordula.ws/

Andrew Gould



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


Re: Fwd: Samba NetBios

2007-07-04 Thread Norberto Meijome
On Wed, 4 Jul 2007 19:22:13 +0200
Gabor Tjong A Hung [EMAIL PROTECTED] wrote:

 Dear all,
 
 I was told that my questions was better served here than in ports@
 
 
  I've recently put my samba server in a jail, but as you can see @
  http://www.faughnan.com/netbios.html NetBIOS is a bit of a problem and can
  cause alot of headache. I was unable to find a nat helper for pf, so I was
  wondering if I could bridge my jail with it's host. the bridge
  manualhttp://www.freebsd.org/cgi/man.cgi?query=bridgesektion=4however
  requires me to have *two* network devices(or so it says), but my
  jails are just aliases on the same network device.
  Does anyone know another solution to make browsing possible? or have a
 clue
  on how to make the solutions I tried work.
 
  ifconfig
  rl0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
  options=8VLAN_MTU
  inet6 fe80::202:44ff:fe30:dd04%rl0 prefixlen 64 scopeid 0x1
  inet 172.20.25.177 netmask 0xfc00 broadcast 172.20.27.255
  inet 10.0.0.3 netmask 0x broadcast 10.0.0.3
  inet 10.0.0.2 netmask 0x broadcast 10.0.0.2
  inet 10.0.0.6 netmask 0x broadcast 10.0.0.6
  inet 10.0.0.4 netmask 0x broadcast 10.0.0.4
  inet 10.0.0.5 netmask 0x broadcast 10.0.0.5
  ether 00:02:44:30:dd:04
  media: Ethernet autoselect (100baseTX full-duplex)
  status: active

hi Gabor,
are you trying to share over SMB between the jails? 
between the hosts and the jails? 
you may want to explain your plans... using NAT for netbios seems a bit
overkill to me, unless you plan to send SMB packets over the larger
internet...which in itself seems a bad idea.

If you only need SMB across different LAN segments, setup WINS server(s) (MS or
from the Samba project).

B
_
{Beto|Norberto|Numard} Meijome

It is a lesson which all history teaches wise men, to put trust in ideas, and
not in circumstances. Emerson

I speak for myself, not my employer. Contents may be hot. Slippery when wet.
Reading disclaimers makes you go blind. Writing them is worse. You have been
Warned.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: fsck on a read only partition?

2007-07-04 Thread Joe Holden
Alfred Perlstein wrote:
 Hello, how do I fsck my disk if it's mounted?
 
 I have downgraded the mount to read-only, but still geom seems
 to disallow fsck access to it. 
 
 Is there a way to tell the system to allow fsck to open it
 read/write?
 
 thanks,
If you unmount it first, you should be able to fsck it fine, /dev/blah
(ad0/1/2/whatever)

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


Error compiling gcc34 on 5.2.1

2007-07-04 Thread Sabastian Cooke

Hi, I am trying to update amavisd-new from amavisd-new-2.4.5,1 to 2.5.1 on
our FreeBSD mail server, and it seems to require an update to file utility
and that requires gcc34 and i only have gcc 3.3.3 installed, when either the
script or me tries to build gcc34 from the ports collection, i get this
errors which i dont know how to diagnose, is there an easier way to update
gcc or anyone can help on these errors?

/usr/ports/lang/gcc34/work/build/gcc/xgcc
-B/usr/ports/lang/gcc34/work/build/gcc/ -B/usr/local/i386-
portbld-freebsd5.2.1/bin/ -B/usr/local/i386-portbld-freebsd5.2.1/lib/
-isystem /usr/local/i386-portbld-freebsd5.2.1/include -isystem
/usr/local/i386-portbld-freebsd5.2.1/sys-include -c -DHAVE_CONFIG_H -O2 -O
-pipe -mcpu=pentiumpro -I. -I../.././..//gcc-3.4.6/libiberty/../include  -W
-Wall -Wtraditional -pedantic ../.././..//gcc-3.4.6/libiberty/fibheap.c -o
fibheap.o
`-mcpu=' is deprecated. Use `-mtune=' or '-march=' instead.
../.././..//gcc-3.4.6/libiberty/fibheap.c: In function `fibheap_union':
../.././..//gcc-3.4.6/libiberty/fibheap.c:166: warning: implicit declaration
of function `free'
../.././..//gcc-3.4.6/libiberty/fibheap.c: In function
`fibheap_delete_node':
../.././..//gcc-3.4.6/libiberty/fibheap.c:285: error: `LONG_MIN' undeclared
(first use in this function)
../.././..//gcc-3.4.6/libiberty/fibheap.c:285: error: (Each undeclared
identifier is reported only once
../.././..//gcc-3.4.6/libiberty/fibheap.c:285: error: for each function it
appears in.)
../.././..//gcc-3.4.6/libiberty/fibheap.c: In function
`fibheap_consolidate':
../.././..//gcc-3.4.6/libiberty/fibheap.c:395: warning: implicit declaration
of function `memset'
gmake[2]: *** [fibheap.o] Error 1
gmake[2]: Leaving directory `/usr/ports/lang/gcc34/work/build/i386-
portbld-freebsd5.2.1/libiberty'
gmake[1]: *** [all-target-libiberty] Error 2
gmake[1]: Leaving directory `/usr/ports/lang/gcc34/work/build'
gmake: *** [bootstrap-lean] Error 2
*** Error code 2

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

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

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

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

Stop in /usr/ports/security/amavisd-new.
*** Error code 1

Stop in /usr/ports/security/amavisd-new.
*** Error code 1

Stop in /usr/ports/security/amavisd-new.
** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portupgrade42713.0
make reinstall
egrep: /var/db/pkg/amavisd-new-2.4.5,1/+CONTENTS: No such file or directory
---  Restoring the old version
vscan:*:1005:clamav
You already have a group vscan, so I will use it.
vscan:*:1004:1005::0:0:Scanning Virus Account:/var/amavis:/bin/sh
You already have a user vscan, so I will use it.
Created /var/amavis directory.
Created /var/amavis/db directory.
Created /var/amavis/tmp directory.
Created /var/amavis/var directory.
Created /var/virusmails directory.
pkg_add: command '[ ! -f /usr/local/etc/amavisd.conf ]  cp
/usr/local/etc/amavisd.conf-dist /usr/local/etc/amavisd.conf' failed
** Fix the installation problem and try again.
[Updating the pkgdb format:bdb1_btree in /var/db/pkg ... - 393 packages
found (-0 +1) . done]
** Listing the failed packages (*:skipped / !:failed)
   ! security/amavisd-new (amavisd-new-2.4.5,1)(install error)
---  Packages processed: 0 done, 0 ignored, 0 skipped and 1 failed
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: How does one start mysql after installing from ports

2007-07-04 Thread Bob
To autostart mysql at boot add this to /etc/rc.conf
mysql_enable=YES

Add this to /etc/rc.conf to direct to use location where there is a large
enough free disk space
to hold your databases
mysql_dbdir=/usr/local/mysql

To start or stop mysql server do this
/usr/local/share/mysql/mysql.server start
/usr/local/share/mysql/mysql.server stop

You have to tell mysql to create its internel control db
by running this command one time first before trying to create databases.
mysql_install_db --user=mysql

To verify mysql is operational issue these commands
mysqladmin version
mysqladmin variables

To start command line session with mysql server to
create a DB enter
mysql -u root

The online mysql manual is at
http://dev.mysql.com/doc/refman/5.0/en/index.html



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


Re: fsck on a read only partition?

2007-07-04 Thread Christopher Cowart
On Thu, Jul 05, 2007 at 01:49:47AM +0100, Joe Holden wrote:
 Alfred Perlstein wrote:
  Hello, how do I fsck my disk if it's mounted?
  
  I have downgraded the mount to read-only, but still geom seems
  to disallow fsck access to it. 
  
  Is there a way to tell the system to allow fsck to open it
  read/write?
  
  thanks,
 If you unmount it first, you should be able to fsck it fine, /dev/blah
 (ad0/1/2/whatever)

I think that misses the point; what if it's the / filesystem? 

I have personally wanted to do this before myself. I had a situation
where a deleted file was still being written to by a backgrounded
tcpdump, resulting in a full filesystem but no file to rm. It would have
been great to quick remount ro, fsck, then remount rw. Instead, I had to
schedule downtime, reboot into single, and run fsck -- not fun.

-- 
Chris Cowart
Lead Systems Administrator
Network Infrastructure, RSSP-IT
UC Berkeley


signature.asc
Description: Digital signature


Allowing noschg in multi-user mode on Mac OS X

2007-07-04 Thread Kelly Jones

Most FreeBSD kernels let you set a flag(?) to decide whether chflags
noschg will work in multi-user mode.

How do I do this w/ Mac OS X? Here's what happens when I do chflags
noschg in multi-user mode:

# chflags noschg test.txt
chflags: test.txt: Operation not permitted

The opposite, chflags schg, works fine. I realize this is a security
feature (you can protect files in multi-user mode, but not vica
versa), but it's annoying.

I also realize I can boot into single-user mode
(http://docs.info.apple.com/article.html?artnum=106388) where chflags
noschg works just fine, but I'd like to use noschg more as advisory
protection from myself, not something that requires single-user mode
to undo.

--
We're just a Bunch Of Regular Guys, a collective group that's trying
to understand and assimilate technology. We feel that resistance to
new ideas and technology is unwise and ultimately futile.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: The worst error message in history belongs to... BIND9!

2007-07-04 Thread Garrett Cooper

[EMAIL PROTECTED] wrote:

If one is going to require the installation of something that may
not be part of a base system, that something might as well be bash :)
  

Except that bash requires all the icky GNU utilities to build so you
have to GNUify your system.



And perl doesn't?  It was GPL last I knew.
  


The entirety of Perl falls under the GPL and Artistic license at this 
time. Read the perl-porters archives for more debate on Perl licensing.



The second you put in gmake, gmake requires
iconv, readline and all the other nasty libraries, and from that point
on if you build something you never know if it's going to link in to
one of those libraries.
...
This can cause major problems for commercial users.



How?  Last I heard, the *L*GPL only requires making the *library*
source available (and that only if the library has been modified).
It doesn't extend to the using application.

  

I'd love for someone to modify the gmake port to have a variable
you can set that would build all the GNUified dependency libraries,
build and install gmake and statically link in all it's GNUified
libraries, then remove all the GNUified libraries.



Or, change all the gnu ports to install into something like
/usr/local/gnu or /usr/local/gpl instead of straight into
/usr/local.  You'd still have the gnu libs when needed, but
without having them included in normal search paths.


   That would seriously muck up a lot of people's assumptions on 
locations for programs, and would be incredibly necessary. Plus it would 
make searching for programs in $PATH a slight bit more time consuming 
(on the order of milliseconds I know, but those milliseconds are the 
exact reason why I have to manually profile pkg_install to determine 
bottlenecks).


   Also, please don't muck up email addresses. It's not cool, by any means.

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


Re: Allowing noschg in multi-user mode on Mac OS X

2007-07-04 Thread [EMAIL PROTECTED]

On 04/07/07, Kelly Jones [EMAIL PROTECTED] wrote:

Most FreeBSD kernels let you set a flag(?) to decide whether chflags
noschg will work in multi-user mode.

How do I do this w/ Mac OS X? Here's what happens when I do chflags
noschg in multi-user mode:

# chflags noschg test.txt
chflags: test.txt: Operation not permitted

The opposite, chflags schg, works fine. I realize this is a security
feature (you can protect files in multi-user mode, but not vica
versa), but it's annoying.

I also realize I can boot into single-user mode
(http://docs.info.apple.com/article.html?artnum=106388) where chflags
noschg works just fine, but I'd like to use noschg more as advisory
protection from myself, not something that requires single-user mode
to undo.


(serious crossposting removed)

Under FreeBSD this general behaviour is
controlled by the kern.securelevel sysctl.
On a running system this can be raised, but
not lowered, and it would seem that Apple et
al have chosen to do it correctly.  Pain in the
metaphorical arse, but This Isn't Windows(sm).

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


Re: Allowing noschg in multi-user mode on Mac OS X

2007-07-04 Thread Olivier Nicole
 I also realize I can boot into single-user mode
 (http://docs.info.apple.com/article.html?artnum=106388) where chflags
 noschg works just fine, but I'd like to use noschg more as advisory
 protection from myself, not something that requires single-user mode
 to undo.

Too bad but the schg flag is not an advisory protection, it is a
strong denial protection.

If you need only advisory protection, use what ever tool is made for
advisory protection, for example chmod a-w

Bests,

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