Re: How stable is FreeBSD WiFi support?

2008-10-04 Thread Jeremy Chadwick
On Sat, Oct 04, 2008 at 03:53:20PM +1000, Da Rock wrote:
 
 On Fri, 2008-10-03 at 13:11 -0700, Yuri wrote:
  I have FreeBSD-70 machine and Linux Gentoo machines side by side (within 
  10 feet).
  Gentoo Linux (with old AirLink101) connects to a particular encrypted 
  WEP network without any problems all the time.
  FreeBSD (with ral0 device and native driver) connection is very 
  unstable, keeps disappearing, though network card shows signal level as 
  -90:-95.
  dhclient fails to set up the card, often dhclient succeeds but all name 
  lookups fails. When internet connection is established all TCP 
  connections get dropped after 10-20 minutes or less.
  
  I feel like I hit some bug in FreeBSD WiFi networking support.
  
  Anyone has similar experience?
  Yuri
 
 Yeah I had similar troubles on a laptop with an intel wifi (6.1 + 6.2).
 I posted something about a week or two back, but I didn't get any
 response here. Not sure where to go from here though, as I'm having
 similar troubles with the ral driver too (desktop- 6.3).

Have you tried the freebsd-stable and freebsd-hackers lists?  Supplicant
has been discussed there in the recent and late past.

-- 
| Jeremy Chadwickjdc at parodius.com |
| Parodius Networking   http://www.parodius.com/ |
| UNIX Systems Administrator  Mountain View, CA, USA |
| Making life hard for others since 1977.  PGP: 4BD6C0CB |

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


Re: Vista Dual Boot issues - Does not start on a track boundary

2008-10-04 Thread Leslie Jensen


Tom Stuart skrev:

Hi Guys,

I'm nowhere near new on the FreeBSD front but have Never done a dual
boot with vista. Vista came pre-installed on this machine and I
created another partition using the resize function of Vista. When I'm
setting up my slices its complaining about Chunk ad0S1 does not start
on a track boundary...

Does anyone know if this is a common problem and the easiest way to
resolve this issue? I've tried going on and setting up the labels but
upon installation of packages it seems as though its having problem
doing a chroot due to the partitions not being setup correctly. I know
I could delete all slices and start out with freebsd and then install
vista but it would involve backing up approx. 150Gigs of data. I've
also done approximately 5 hours of searching archives, etc to no
avail.

I've tried everything with no success on FreeBSD7.0 Release, 7.1 beta
and 8.0 current.

Thanks,

Tom


Hi Tom

I just made a dualboot machine out of my new Laptop. I used Gparted 
because the Vista resize wouldn't give me the space I wanted.


Then I read in BSD Magazine that the Vista bootloader is a little 
different from the earlier Windows versions. The article mentioned a 
bootloader utility, EasyBCD http://neosmart.net/dl.php?id=1

Which I use.

When your installation of FreeBSD is finished, (don't install the 
bootloader) the BSD partition will be  the active partition and you will 
need to set the Vista partition active again with Gparted. Then boot 
into Vista and install the bootloader.


/Leslie

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


Re: How stable is FreeBSD WiFi support?

2008-10-04 Thread Da Rock

On Fri, 2008-10-03 at 23:07 -0700, Jeremy Chadwick wrote:
 On Sat, Oct 04, 2008 at 03:53:20PM +1000, Da Rock wrote:
  
  On Fri, 2008-10-03 at 13:11 -0700, Yuri wrote:
   I have FreeBSD-70 machine and Linux Gentoo machines side by side (within 
   10 feet).
   Gentoo Linux (with old AirLink101) connects to a particular encrypted 
   WEP network without any problems all the time.
   FreeBSD (with ral0 device and native driver) connection is very 
   unstable, keeps disappearing, though network card shows signal level as 
   -90:-95.
   dhclient fails to set up the card, often dhclient succeeds but all name 
   lookups fails. When internet connection is established all TCP 
   connections get dropped after 10-20 minutes or less.
   
   I feel like I hit some bug in FreeBSD WiFi networking support.
   
   Anyone has similar experience?
   Yuri
  
  Yeah I had similar troubles on a laptop with an intel wifi (6.1 + 6.2).
  I posted something about a week or two back, but I didn't get any
  response here. Not sure where to go from here though, as I'm having
  similar troubles with the ral driver too (desktop- 6.3).
 
 Have you tried the freebsd-stable and freebsd-hackers lists?  Supplicant
 has been discussed there in the recent and late past.
 

Yeah I believe I checked stable at the time, but I'm not subscribed to
hackers so I wouldn't know about there. I'll check stable again now that
you mention it.

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


Re: portupgrade failure

2008-10-04 Thread Patrick Lamaizière
Le Fri, 3 Oct 2008 13:26:33 -0400,
Michael P. Soulier [EMAIL PROTECTED] a écrit :

 So, I recently upgraded from 5.5 to 6.3, and as such, ran a
 portupgrade -fa to rebuild my ports against 6.3. 
 
 I just noticed this. 
 
 ===  Cleaning for ruby-1.8.6.287,1
 ---  Cleaning out obsolete shared libraries
 [Updating the pkgdb format:dbm_hash in /var/db/pkg ...

 Any idea what would cause this?

Portupgrade is often confused with his database on upgrade.
Delete /var/db/pkg/pkgdb.db and retry.

May be you have to delete /usr/ports/INDEX-6.db too.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


make buildkernel error

2008-10-04 Thread Unga
Hi all

I'm getting following compile error for /usr/src/sys/i386/i386/genassym.c :
cc1: error: unrecognized command line option -mno-align-long-strings
cc1: error: unrecognized command line option -fformat-extensions
*** Error code 1

I'm using gcc version 4.3.1.

Does this means above options are not compatible with gcc version 4.3.1?

Is it safe to remove above options from kernel sources and recompile or what am 
I suppose to do now?

This is RELENG_7, cvsup a month ago.

Appreciate your reply very much.

Kind regards
Unga



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


Re: make buildkernel error

2008-10-04 Thread Jeremy Chadwick
On Sat, Oct 04, 2008 at 02:17:50AM -0700, Unga wrote:
 I'm getting following compile error for /usr/src/sys/i386/i386/genassym.c :
 cc1: error: unrecognized command line option -mno-align-long-strings
 cc1: error: unrecognized command line option -fformat-extensions
 *** Error code 1
 
 I'm using gcc version 4.3.1.
 
 Does this means above options are not compatible with gcc version 4.3.1?
 
 Is it safe to remove above options from kernel sources and recompile or what 
 am I suppose to do now?
 
 This is RELENG_7, cvsup a month ago.
 
 Appreciate your reply very much.

I'm not sure about this, but doesn't building world require that you use
the base system's gcc (e.g. /usr/bin/gcc), and not the one from ports?

-- 
| Jeremy Chadwickjdc at parodius.com |
| Parodius Networking   http://www.parodius.com/ |
| UNIX Systems Administrator  Mountain View, CA, USA |
| Making life hard for others since 1977.  PGP: 4BD6C0CB |

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


Re: Jail, pf and ftpd: Connection refused

2008-10-04 Thread Redd Vinylene
On Fri, Oct 3, 2008 at 11:56 AM, Max Laier [EMAIL PROTECTED] wrote:

 See ftp-proxy(8).

 Note that active works with the ruleset you provided (due to the pass out
 keep state-rule), but there is obviously a firewall problem on the client
 preventing that.


Are you sure I need ftp-proxy? I opened the datarange 49152:65535 and
now I no longer get a connection refused. I seem to be able to list,
download, you know the usual stuff. I still get the
getpeername(control_sock): Transport endpoint is not connected
though.

If I do need ftp-proxy, I take it it's the FTP Server Protected by an
External PF Firewall Running NAT at
http://www.openbsd.org/faq/pf/ftp.html that applies to my setup? I
can't quite comprehend the nat/rdr rules in that example, as I ain't
really got an int_if. As I stated earlier, I have a FreeBSD server
running pf and two jails, and I'm trying to get ftpd running smoothly
inside one of those jails.

Thank you so much.

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


Can't add new 1TB disk in FreeBSD 6.1

2008-10-04 Thread Don O'Neil
I just swapped out an old 500G disk with a 1TB one and I'm trying to label
it and mount it...

If I run bsdlabel -w ad4, I get:

bsdlabel: Geom not found

If I run sysinstall, it tells me that it can't write to the disk.

I've tried an old 'bypass': sysctl kern.geom.debugflags=16, but that didn't
help.

Can anyone help me get this new disk installed without having to boot off a
recovery CD? The server is 500 miles away from me and I don't have direct
console access.

Thanks!!!

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


Re: Jail, pf and ftpd: Connection refused

2008-10-04 Thread Redd Vinylene
 On Fri, Oct 3, 2008 at 11:56 AM, Max Laier [EMAIL PROTECTED] wrote:

 See ftp-proxy(8).

 Note that active works with the ruleset you provided (due to the pass out
 keep state-rule), but there is obviously a firewall problem on the client
 preventing that.


Nevermind, I think the Transport endpoint is not connected is most
likely due to lftp. Nonetheless, much obliged for the assistance!

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


gmirror prerequisite question

2008-10-04 Thread Dino Vliet
Hey freebsd list,

I've bought a secondry HDD to attach to my server running freebsd 7.0. I want 
to enable gmirror on it (will reinstall everything from scratch), but I want to 
know if my hardware is setup correctly as a prerequisite for doing this 
operation.

The command 

dmesg | grep Seagate 

Yields:

ad4: 76319MB Seagate ST380815AS 3.AAC at ata2-master UDMA33
ad6: 76319MB Seagate ST380815AS 3.AAC at ata3-master UDMA33

Can I assume everything is ok now and can I start the reinstallation? Why I'm 
in doubt is because of the master/slave thing I was expecting but that seems 
something of the IDE world as I have bought two Sata hard drives and connected 
it with sata cables to my motherboard.

But just checking to be sure.

Brgds and thanks in advanced!
Dino



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


Re: Can't add new 1TB disk in FreeBSD 6.1

2008-10-04 Thread Michael Powell
Don O'Neil wrote:

 I just swapped out an old 500G disk with a 1TB one and I'm trying to label
 it and mount it...
 
 If I run bsdlabel -w ad4, I get:
 
 bsdlabel: Geom not found
 
 If I run sysinstall, it tells me that it can't write to the disk.
 
 I've tried an old 'bypass': sysctl kern.geom.debugflags=16, but that
 didn't help.
 
 Can anyone help me get this new disk installed without having to boot off
 a recovery CD? The server is 500 miles away from me and I don't have
 direct console access.
 

Uhmm... This may seem silly, but did you use fdisk to create a slice first
before you tried partitioning?

-Mike-



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


Re: gmirror prerequisite question

2008-10-04 Thread Manolis Kiagias

Dino Vliet wrote:

Hey freebsd list,

I've bought a secondry HDD to attach to my server running freebsd 7.0. I want 
to enable gmirror on it (will reinstall everything from scratch), but I want to 
know if my hardware is setup correctly as a prerequisite for doing this 
operation.

The command 

dmesg | grep Seagate 


Yields:

ad4: 76319MB Seagate ST380815AS 3.AAC at ata2-master UDMA33
ad6: 76319MB Seagate ST380815AS 3.AAC at ata3-master UDMA33

Can I assume everything is ok now and can I start the reinstallation? Why I'm 
in doubt is because of the master/slave thing I was expecting but that seems 
something of the IDE world as I have bought two Sata hard drives and connected 
it with sata cables to my motherboard.

But just checking to be sure.

Brgds and thanks in advanced!
Dino

  


The concept of master / slave only exists in the IDE (PATA) world. SATA 
disks do not have these troubles, as there is only one per cable.
Your setup is absolutely fine. If you haven't  already, I suggest you 
read this excellent article:


http://www.onlamp.com/pub/a/bsd/2005/11/10/FreeBSD_Basics.html?page=1

I've set up quite a few gmirrors with this info.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Can't add new 1TB disk in FreeBSD 6.1

2008-10-04 Thread Wojciech Puchar

I've tried an old 'bypass': sysctl kern.geom.debugflags=16, but that
didn't help.

Can anyone help me get this new disk installed without having to boot off
a recovery CD? The server is 500 miles away from me and I don't have
direct console access.



Uhmm... This may seem silly, but did you use fdisk to create a slice first
before you tried partitioning?


this is NOT needed. actually i don't do it anywhere.

it just may be sysinstall problem, anything else.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: gmirror prerequisite question

2008-10-04 Thread Wojciech Puchar

I've bought a secondry HDD to attach to my server running freebsd 7.0.
I want to enable gmirror on it (will reinstall everything from scratch),


you don't have to.


but I want to know if my hardware is setup correctly as a prerequisite for 
doing this operation.

The command

dmesg | grep Seagate

Yields:

ad4: 76319MB Seagate ST380815AS 3.AAC at ata2-master UDMA33
ad6: 76319MB Seagate ST380815AS 3.AAC at ata3-master UDMA33

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


RE: Can't add new 1TB disk in FreeBSD 6.1

2008-10-04 Thread Don O'Neil
 I've tried an old 'bypass': sysctl kern.geom.debugflags=16, but that 
 didn't help.

 Can anyone help me get this new disk installed without having to boot 
 off a recovery CD? The server is 500 miles away from me and I don't 
 have direct console access.


 Uhmm... This may seem silly, but did you use fdisk to create a slice 
 first before you tried partitioning?

this is NOT needed. actually i don't do it anywhere.

it just may be sysinstall problem, anything else.

I tried using fdisk first, same problem, won't let me write to the disk.

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


Kernel trouble

2008-10-04 Thread mandar satam

Hi ,
 
 
   I have a wierd problem.I am trying to make  changes to freebsd 5.2 scheduler 
to make it a user based fair share scheduler as a part of my project.I have 
created a data structure similar to runq datastructure.My problem is that when 
I compile my changes into the kernel, the kernel reboots again and again and 
gives me a fatal trap error befroe rebooting each time.
 
Could someone explain why this happens?Thanks  Regards, 
Mandar Satam
_
Want to do more with Windows Live? Learn “10 hidden secrets” from Jamie.
http://windowslive.com/connect/post/jamiethomson.spaces.live.com-Blog-cns!550F681DAD532637!5295.entry?ocid=TXT_TAGLM_WL_domore_092008___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Problems moving my jails (mv: Operation not permitted)

2008-10-04 Thread Redd Vinylene
Hello hello! I need to move my jails from /usr/jail to /home/jail. The
latter is where all my diskspace is. Not all files seem to want to
move though?

# mv /usr/jail /home
mv: /usr/jail/camel/var/spool/postfix/private/scache is a socket (not copied).
mv: /usr/jail/camel/var/spool/postfix/private/rewrite is a socket (not copied).
mv: /usr/jail/camel/var/spool/postfix/private/bounce is a socket (not copied).
mv: /usr/jail/camel/var/spool/postfix/private/defer is a socket (not copied).
mv: /usr/jail/camel/var/spool/postfix/private/trace is a socket (not copied).
mv: /usr/jail/camel/var/spool/postfix/private/verify is a socket (not copied).
mv: /usr/jail/camel/var/spool/postfix/private/proxymap is a socket (not copied).
mv: /usr/jail/camel/var/spool/postfix/private/proxywrite is a socket
(not copied).
mv: /usr/jail/camel/var/spool/postfix/private/smtp is a socket (not copied).
mv: /usr/jail/camel/var/spool/postfix/private/relay is a socket (not copied).
mv: /usr/jail/camel/var/spool/postfix/private/error is a socket (not copied).
mv: /usr/jail/camel/var/spool/postfix/private/retry is a socket (not copied).
mv: /usr/jail/camel/var/spool/postfix/private/discard is a socket (not copied).
mv: /usr/jail/camel/var/spool/postfix/private/local is a socket (not copied).
mv: /usr/jail/camel/var/spool/postfix/private/virtual is a socket (not copied).
mv: /usr/jail/camel/var/spool/postfix/private/lmtp is a socket (not copied).
mv: /usr/jail/camel/var/spool/postfix/private/anvil is a socket (not copied).
mv: /usr/jail/camel/var/spool/postfix/private/tlsmgr is a socket (not copied).
mv: /usr/jail/camel/var/spool/postfix/public/cleanup is a socket (not copied).
mv: /usr/jail/camel/var/spool/postfix/public/flush is a socket (not copied).
mv: /usr/jail/camel/var/spool/postfix/public/showq is a socket (not copied).
mv: /usr/jail/box/usr/bin/chpass: Operation not permitted
mv: /usr/jail/box/usr/bin/chfn: Operation not permitted
mv: /usr/jail/box/usr/bin/chsh: Operation not permitted
mv: /usr/jail/box/usr/bin/ypchpass: Operation not permitted
mv: /usr/jail/box/usr/bin/ypchfn: Operation not permitted
mv: /usr/jail/box/usr/bin/ypchsh: Operation not permitted
mv: /usr/jail/box/usr/bin/login: Operation not permitted
mv: /usr/jail/box/usr/bin/opieinfo: Operation not permitted
mv: /usr/jail/box/usr/bin/opiepasswd: Operation not permitted
mv: /usr/jail/box/usr/bin/passwd: Operation not permitted
mv: /usr/jail/box/usr/bin/yppasswd: Operation not permitted
mv: /usr/jail/box/usr/bin/rlogin: Operation not permitted
mv: /usr/jail/box/usr/bin/rsh: Operation not permitted
mv: /usr/jail/box/usr/bin/su: Operation not permitted
mv: /usr/jail/box/usr/bin/crontab: Operation not permitted
mv: /usr/jail/box/usr/bin: Directory not empty
mv: /usr/jail/box/usr/lib/libkse.so.3: Operation not permitted
mv: /usr/jail/box/usr/lib/librt.so.1: Operation not permitted
mv: /usr/jail/box/usr/lib: Directory not empty
mv: /usr/jail/box/usr/sbin/sliplogin: Operation not permitted
mv: /usr/jail/box/usr/sbin: Directory not empty
mv: /usr/jail/box/usr: Directory not empty
mv: /usr/jail/box/var/empty: Operation not permitted
mv: /usr/jail/box/var: Directory not empty
mv: /usr/jail/box/bin/rcp: Operation not permitted
mv: /usr/jail/box/bin: Directory not empty
mv: /usr/jail/box/dev/fd: Operation not supported
mv: /usr/jail/box/dev: Device busy
mv: /usr/jail/box/lib/libc.so.7: Operation not permitted
mv: /usr/jail/box/lib/libcrypt.so.4: Operation not permitted
mv: /usr/jail/box/lib/libthr.so.3: Operation not permitted
mv: /usr/jail/box/lib: Directory not empty
mv: /usr/jail/box/libexec/ld-elf.so.1: Operation not permitted
mv: /usr/jail/box/libexec: Directory not empty
mv: /usr/jail/box/sbin/init: Operation not permitted
mv: /usr/jail/box/sbin: Directory not empty
mv: /usr/jail/box: Directory not empty
mv: /usr/jail/camel/usr/bin/chpass: Operation not permitted
mv: /usr/jail/camel/usr/bin/chfn: Operation not permitted
mv: /usr/jail/camel/usr/bin/chsh: Operation not permitted
mv: /usr/jail/camel/usr/bin/ypchpass: Operation not permitted
mv: /usr/jail/camel/usr/bin/ypchfn: Operation not permitted
mv: /usr/jail/camel/usr/bin/ypchsh: Operation not permitted
mv: /usr/jail/camel/usr/bin/login: Operation not permitted
mv: /usr/jail/camel/usr/bin/opieinfo: Operation not permitted
mv: /usr/jail/camel/usr/bin/opiepasswd: Operation not permitted
mv: /usr/jail/camel/usr/bin/passwd: Operation not permitted
mv: /usr/jail/camel/usr/bin/yppasswd: Operation not permitted
mv: /usr/jail/camel/usr/bin/rlogin: Operation not permitted
mv: /usr/jail/camel/usr/bin/rsh: Operation not permitted
mv: /usr/jail/camel/usr/bin/su: Operation not permitted
mv: /usr/jail/camel/usr/bin/crontab: Operation not permitted
mv: /usr/jail/camel/usr/bin: Directory not empty
mv: /usr/jail/camel/usr/lib/libkse.so.3: Operation not permitted
mv: /usr/jail/camel/usr/lib/librt.so.1: Operation not permitted
mv: /usr/jail/camel/usr/lib: Directory not empty
mv: /usr/jail/camel/usr/sbin/sliplogin: Operation not permitted

Re: Problems moving my jails (mv: Operation not permitted)

2008-10-04 Thread Redd Vinylene
On Sat, Oct 4, 2008 at 8:38 PM, Rodrigo Gonzalez [EMAIL PROTECTED] wrote:

 Are the jails stopped?



Yes, they are. Sorry, I should have mentioned this.

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


Re: Problems moving my jails (mv: Operation not permitted)

2008-10-04 Thread Redd Vinylene
On Sat, Oct 4, 2008 at 8:40 PM, Redd Vinylene [EMAIL PROTECTED] wrote:
 On Sat, Oct 4, 2008 at 8:38 PM, Rodrigo Gonzalez [EMAIL PROTECTED] wrote:

 Are the jails stopped?



 Yes, they are. Sorry, I should have mentioned this.

 --
 http://www.home.no/reddvinylene


Should I just do like this?

cp /usr/jail/box/usr/bin/chpass /home/jail/box/usr/bin/chpass
cp /usr/jail/box/usr/bin/chfn /home/jail/box/usr/bin/chfn
cp /usr/jail/box/usr/bin/chsh /home/jail/box/usr/bin/chsh
cp /usr/jail/box/usr/bin/ypchpass /home/jail/box/usr/bin/ypchpass
cp /usr/jail/box/usr/bin/ypchfn /home/jail/box/usr/bin/ypchfn
cp /usr/jail/box/usr/bin/ypchsh /home/jail/box/usr/bin/ypchsh
cp /usr/jail/box/usr/bin/login /home/jail/box/usr/bin/login
cp /usr/jail/box/usr/bin/opieinfo /home/jail/box/usr/bin/opieinfo
cp /usr/jail/box/usr/bin/opiepasswd /home/jail/box/usr/bin/opiepasswd
cp /usr/jail/box/usr/bin/passwd /home/jail/box/usr/bin/passwd
cp /usr/jail/box/usr/bin/yppasswd /home/jail/box/usr/bin/yppasswd
cp /usr/jail/box/usr/bin/rlogin /home/jail/box/usr/bin/rlogin
cp /usr/jail/box/usr/bin/rsh /home/jail/box/usr/bin/rsh
cp /usr/jail/box/usr/bin/su /home/jail/box/usr/bin/su
cp /usr/jail/box/usr/bin/crontab /home/jail/box/usr/bin/crontab
cp /usr/jail/box/usr/lib/libkse.so.3 /home/jail/box/usr/lib/libkse.so.3
cp /usr/jail/box/usr/lib/librt.so.1 /home/jail/box/usr/lib/librt.so.1
cp /usr/jail/box/usr/sbin/sliplogin /home/jail/box/usr/sbin/sliplogin
cp /usr/jail/box/var/empty /home/jail/box/var/empty
cp /usr/jail/box/bin/rcp /home/jail/box/bin/rcp
cp /usr/jail/box/dev/fd /home/jail/box/dev/fd
cp /usr/jail/box/lib/libc.so.7 /home/jail/box/lib/libc.so.7
cp /usr/jail/box/lib/libcrypt.so.4 /home/jail/box/lib/libcrypt.so.4
cp /usr/jail/box/lib/libthr.so.3 /home/jail/box/lib/libthr.so.3
cp /usr/jail/box/libexec/ld-elf.so.1 /home/jail/box/libexec/ld-elf.so.1
cp /usr/jail/box/sbin/init /home/jail/box/sbin/init
cp /usr/jail/camel/usr/bin/chpass /home/jail/camel/usr/bin/chpass
cp /usr/jail/camel/usr/bin/chfn /home/jail/camel/usr/bin/chfn
cp /usr/jail/camel/usr/bin/chsh /home/jail/camel/usr/bin/chsh
cp /usr/jail/camel/usr/bin/ypchpass /home/jail/camel/usr/bin/ypchpass
cp /usr/jail/camel/usr/bin/ypchfn /home/jail/camel/usr/bin/ypchfn
cp /usr/jail/camel/usr/bin/ypchsh /home/jail/camel/usr/bin/ypchsh
cp /usr/jail/camel/usr/bin/login /home/jail/camel/usr/bin/login
cp /usr/jail/camel/usr/bin/opieinfo /home/jail/camel/usr/bin/opieinfo
cp /usr/jail/camel/usr/bin/opiepasswd /home/jail/camel/usr/bin/opiepasswd
cp /usr/jail/camel/usr/bin/passwd /home/jail/camel/usr/bin/passwd
cp /usr/jail/camel/usr/bin/yppasswd /home/jail/camel/usr/bin/yppasswd
cp /usr/jail/camel/usr/bin/rlogin /home/jail/camel/usr/bin/rlogin
cp /usr/jail/camel/usr/bin/rsh /home/jail/camel/usr/bin/rsh
cp /usr/jail/camel/usr/bin/su /home/jail/camel/usr/bin/su
cp /usr/jail/camel/usr/bin/crontab /home/jail/camel/usr/bin/crontab
cp /usr/jail/camel/usr/lib/libkse.so.3 /home/jail/camel/usr/lib/libkse.so.3
cp /usr/jail/camel/usr/lib/librt.so.1 /home/jail/camel/usr/lib/librt.so.1
cp /usr/jail/camel/usr/sbin/sliplogin /home/jail/camel/usr/sbin/sliplogin
cp /usr/jail/camel/bin/rcp /home/jail/camel/bin/rcp
cp /usr/jail/camel/dev/fd /home/jail/camel/dev/fd
cp /usr/jail/camel/lib/libc.so.7 /home/jail/camel/lib/libc.so.7
cp /usr/jail/camel/lib/libcrypt.so.4 /home/jail/camel/lib/libcrypt.so.4
cp /usr/jail/camel/lib/libthr.so.3 /home/jail/camel/lib/libthr.so.3
cp /usr/jail/camel/libexec/ld-elf.so.1 /home/jail/camel/libexec/ld-elf.so.1
cp /usr/jail/camel/sbin/init /home/jail/camel/sbin/init
cp /usr/jail/camel/var/empty /home/jail/camel/var/empty
rm -rf /usr/jail

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


Re: Problems moving my jails (mv: Operation not permitted)

2008-10-04 Thread Redd Vinylene
On Sat, Oct 4, 2008 at 8:53 PM, Redd Vinylene [EMAIL PROTECTED] wrote:
 On Sat, Oct 4, 2008 at 8:40 PM, Redd Vinylene [EMAIL PROTECTED] wrote:
 On Sat, Oct 4, 2008 at 8:38 PM, Rodrigo Gonzalez [EMAIL PROTECTED] wrote:

 Are the jails stopped?



 Yes, they are. Sorry, I should have mentioned this.

 --
 http://www.home.no/reddvinylene


 Should I just do like this?

 cp /usr/jail/box/usr/bin/chpass /home/jail/box/usr/bin/chpass
 cp /usr/jail/box/usr/bin/chfn /home/jail/box/usr/bin/chfn
 cp /usr/jail/box/usr/bin/chsh /home/jail/box/usr/bin/chsh
 [...]
 rm -rf /usr/jail

 --
 http://www.home.no/reddvinylene


My bad, that's not permitted either.

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


Re: Problems moving my jails (mv: Operation not permitted)

2008-10-04 Thread Redd Vinylene
On Sat, Oct 4, 2008 at 9:02 PM, George Hartzell [EMAIL PROTECTED] wrote:

 If you do an ls -lo /home/jail/box/usr/bin/chpass, you'll probably see
 the schg flag set.  Man chflags for more info and instructions on how
 to unset it

 g.


Yes:

-r-sr-xr-x  6 root  wheel  schg 18468 Aug  2 19:47 /usr/jail/box/usr/bin/chpass

So I'd simply have to chflags noschg /usr/jail/box/usr/bin/chpass
and then cp /usr/jail/box/usr/bin/chpass
/home/jail/box/usr/bin/chpass?

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


Re: Problems moving my jails (mv: Operation not permitted)

2008-10-04 Thread Rodrigo Gonzalez

Redd Vinylene wrote:

Hello hello! I need to move my jails from /usr/jail to /home/jail. The
latter is where all my diskspace is. Not all files seem to want to
move though?

# mv /usr/jail /home
mv: /usr/jail/camel/var/spool/postfix/private/scache is a socket (not copied).
mv: /usr/jail/camel/var/spool/postfix/private/rewrite is a socket (not copied).
mv: /usr/jail/camel/var/spool/postfix/private/bounce is a socket (not copied).
mv: /usr/jail/camel/var/spool/postfix/private/defer is a socket (not copied).
mv: /usr/jail/camel/var/spool/postfix/private/trace is a socket (not copied).
mv: /usr/jail/camel/var/spool/postfix/private/verify is a socket (not copied).
mv: /usr/jail/camel/var/spool/postfix/private/proxymap is a socket (not copied).
mv: /usr/jail/camel/var/spool/postfix/private/proxywrite is a socket
(not copied).
mv: /usr/jail/camel/var/spool/postfix/private/smtp is a socket (not copied).
mv: /usr/jail/camel/var/spool/postfix/private/relay is a socket (not copied).
mv: /usr/jail/camel/var/spool/postfix/private/error is a socket (not copied).
mv: /usr/jail/camel/var/spool/postfix/private/retry is a socket (not copied).
mv: /usr/jail/camel/var/spool/postfix/private/discard is a socket (not copied).
mv: /usr/jail/camel/var/spool/postfix/private/local is a socket (not copied).
mv: /usr/jail/camel/var/spool/postfix/private/virtual is a socket (not copied).
mv: /usr/jail/camel/var/spool/postfix/private/lmtp is a socket (not copied).
mv: /usr/jail/camel/var/spool/postfix/private/anvil is a socket (not copied).
mv: /usr/jail/camel/var/spool/postfix/private/tlsmgr is a socket (not copied).
mv: /usr/jail/camel/var/spool/postfix/public/cleanup is a socket (not copied).
mv: /usr/jail/camel/var/spool/postfix/public/flush is a socket (not copied).
mv: /usr/jail/camel/var/spool/postfix/public/showq is a socket (not copied).
mv: /usr/jail/box/usr/bin/chpass: Operation not permitted
mv: /usr/jail/box/usr/bin/chfn: Operation not permitted
mv: /usr/jail/box/usr/bin/chsh: Operation not permitted
mv: /usr/jail/box/usr/bin/ypchpass: Operation not permitted
mv: /usr/jail/box/usr/bin/ypchfn: Operation not permitted
mv: /usr/jail/box/usr/bin/ypchsh: Operation not permitted
mv: /usr/jail/box/usr/bin/login: Operation not permitted
mv: /usr/jail/box/usr/bin/opieinfo: Operation not permitted
mv: /usr/jail/box/usr/bin/opiepasswd: Operation not permitted
mv: /usr/jail/box/usr/bin/passwd: Operation not permitted
mv: /usr/jail/box/usr/bin/yppasswd: Operation not permitted
mv: /usr/jail/box/usr/bin/rlogin: Operation not permitted
mv: /usr/jail/box/usr/bin/rsh: Operation not permitted
mv: /usr/jail/box/usr/bin/su: Operation not permitted
mv: /usr/jail/box/usr/bin/crontab: Operation not permitted
mv: /usr/jail/box/usr/bin: Directory not empty
mv: /usr/jail/box/usr/lib/libkse.so.3: Operation not permitted
mv: /usr/jail/box/usr/lib/librt.so.1: Operation not permitted
mv: /usr/jail/box/usr/lib: Directory not empty
mv: /usr/jail/box/usr/sbin/sliplogin: Operation not permitted
mv: /usr/jail/box/usr/sbin: Directory not empty
mv: /usr/jail/box/usr: Directory not empty
mv: /usr/jail/box/var/empty: Operation not permitted
mv: /usr/jail/box/var: Directory not empty
mv: /usr/jail/box/bin/rcp: Operation not permitted
mv: /usr/jail/box/bin: Directory not empty
mv: /usr/jail/box/dev/fd: Operation not supported
mv: /usr/jail/box/dev: Device busy
mv: /usr/jail/box/lib/libc.so.7: Operation not permitted
mv: /usr/jail/box/lib/libcrypt.so.4: Operation not permitted
mv: /usr/jail/box/lib/libthr.so.3: Operation not permitted
mv: /usr/jail/box/lib: Directory not empty
mv: /usr/jail/box/libexec/ld-elf.so.1: Operation not permitted
mv: /usr/jail/box/libexec: Directory not empty
mv: /usr/jail/box/sbin/init: Operation not permitted
mv: /usr/jail/box/sbin: Directory not empty
mv: /usr/jail/box: Directory not empty
mv: /usr/jail/camel/usr/bin/chpass: Operation not permitted
mv: /usr/jail/camel/usr/bin/chfn: Operation not permitted
mv: /usr/jail/camel/usr/bin/chsh: Operation not permitted
mv: /usr/jail/camel/usr/bin/ypchpass: Operation not permitted
mv: /usr/jail/camel/usr/bin/ypchfn: Operation not permitted
mv: /usr/jail/camel/usr/bin/ypchsh: Operation not permitted
mv: /usr/jail/camel/usr/bin/login: Operation not permitted
mv: /usr/jail/camel/usr/bin/opieinfo: Operation not permitted
mv: /usr/jail/camel/usr/bin/opiepasswd: Operation not permitted
mv: /usr/jail/camel/usr/bin/passwd: Operation not permitted
mv: /usr/jail/camel/usr/bin/yppasswd: Operation not permitted
mv: /usr/jail/camel/usr/bin/rlogin: Operation not permitted
mv: /usr/jail/camel/usr/bin/rsh: Operation not permitted
mv: /usr/jail/camel/usr/bin/su: Operation not permitted
mv: /usr/jail/camel/usr/bin/crontab: Operation not permitted
mv: /usr/jail/camel/usr/bin: Directory not empty
mv: /usr/jail/camel/usr/lib/libkse.so.3: Operation not permitted
mv: /usr/jail/camel/usr/lib/librt.so.1: Operation not permitted
mv: /usr/jail/camel/usr/lib: Directory not empty
mv: /usr/jail/camel/usr/sbin/sliplogin: 

Re: Problems moving my jails (mv: Operation not permitted)

2008-10-04 Thread Wojciech Puchar

mv: /usr/jail/camel/sbin: Directory not empty
mv: /usr/jail/camel/var/empty: Operation not permitted
mv: /usr/jail/camel/var: Directory not empty
mv: /usr/jail/camel: Directory not empty
mv: /usr/jail: Directory not empty
mv: /bin/rm /usr/jail: terminated with 1 (non-zero) status

I guess I ain't gotta worry about the sockets but what about the rest?


you need

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


Re: Problems moving my jails (mv: Operation not permitted)

2008-10-04 Thread Redd Vinylene
On Sat, Oct 4, 2008 at 9:04 PM, Wojciech Puchar
[EMAIL PROTECTED] wrote:
 mv: /usr/jail/camel/sbin: Directory not empty
 mv: /usr/jail/camel/var/empty: Operation not permitted
 mv: /usr/jail/camel/var: Directory not empty
 mv: /usr/jail/camel: Directory not empty
 mv: /usr/jail: Directory not empty
 mv: /bin/rm /usr/jail: terminated with 1 (non-zero) status

 I guess I ain't gotta worry about the sockets but what about the rest?

 you need

 chflags -R noschg yourdir


So just chflags -R /usr/jail and then copy things the normal way?
Sure that won't mess up my jails?

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


Re: Problems moving my jails (mv: Operation not permitted)

2008-10-04 Thread Redd Vinylene
On Sat, Oct 4, 2008 at 9:10 PM, Redd Vinylene [EMAIL PROTECTED] wrote:
 On Sat, Oct 4, 2008 at 9:04 PM, Wojciech Puchar
 [EMAIL PROTECTED] wrote:
 mv: /usr/jail/camel/sbin: Directory not empty
 mv: /usr/jail/camel/var/empty: Operation not permitted
 mv: /usr/jail/camel/var: Directory not empty
 mv: /usr/jail/camel: Directory not empty
 mv: /usr/jail: Directory not empty
 mv: /bin/rm /usr/jail: terminated with 1 (non-zero) status

 I guess I ain't gotta worry about the sockets but what about the rest?

 you need

 chflags -R noschg yourdir


 So just chflags -R /usr/jail and then copy things the normal way?
 Sure that won't mess up my jails?

Sorry, what I meant to write was chflags -R noschg /usr/jail. I
apologize for the inconvenience.

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


Re: Problems moving my jails (mv: Operation not permitted)

2008-10-04 Thread George Hartzell
Redd Vinylene writes:
  On Sat, Oct 4, 2008 at 8:53 PM, Redd Vinylene [EMAIL PROTECTED] wrote:
   On Sat, Oct 4, 2008 at 8:40 PM, Redd Vinylene [EMAIL PROTECTED] wrote:
   On Sat, Oct 4, 2008 at 8:38 PM, Rodrigo Gonzalez [EMAIL PROTECTED] 
   wrote:
  
   Are the jails stopped?
  
  
  
   Yes, they are. Sorry, I should have mentioned this.
  
   --
   http://www.home.no/reddvinylene
  
  
   Should I just do like this?
  
   cp /usr/jail/box/usr/bin/chpass /home/jail/box/usr/bin/chpass
   cp /usr/jail/box/usr/bin/chfn /home/jail/box/usr/bin/chfn
   cp /usr/jail/box/usr/bin/chsh /home/jail/box/usr/bin/chsh
   [...]
   rm -rf /usr/jail
  
   --
   http://www.home.no/reddvinylene
  
  
  My bad, that's not permitted either.

If you do an ls -lo /home/jail/box/usr/bin/chpass, you'll probably see
the schg flag set.  Man chflags for more info and instructions on how
to unset it

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


Re: Problems moving my jails (mv: Operation not permitted)

2008-10-04 Thread Redd Vinylene
On Sat, Oct 4, 2008 at 9:22 PM, George Hartzell [EMAIL PROTECTED] wrote:
 Redd Vinylene writes:
   On Sat, Oct 4, 2008 at 9:02 PM, George Hartzell [EMAIL PROTECTED] wrote:
   
If you do an ls -lo /home/jail/box/usr/bin/chpass, you'll probably see
the schg flag set.  Man chflags for more info and instructions on how
to unset it
   
g.
   
  
   Yes:
  
   -r-sr-xr-x  6 root  wheel  schg 18468 Aug  2 19:47 
 /usr/jail/box/usr/bin/chpass
  
   So I'd simply have to chflags noschg /usr/jail/box/usr/bin/chpass
   and then cp /usr/jail/box/usr/bin/chpass
   /home/jail/box/usr/bin/chpass?

 I think that you ought to be able to cp it as is.  You're just not
 allowed to change the original (e.g. remove it), which is why your mv
 and rm failed.

 g.


I've been told that changing flags might seriously mess things up. Is
there any way to copy the remaining files from /usr/jail into
/home/jail, or do I have to rebuild everything from scratch?

Much obliged.

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


Re: Problems moving my jails (mv: Operation not permitted)

2008-10-04 Thread Redd Vinylene
On Sat, Oct 4, 2008 at 10:36 PM,  [EMAIL PROTECTED] wrote:

 1st of all, (re)design your system.
 2nd, create separate partition for your jail(s)
 3rd, if (I were you, and) the jail is not too complex, recreate from
 scratch. (You get a clean jail :)) )


Actually I can't do that. I use Bjoern A. Zeeb's multi-IP patch which
currently doesn't compile, so.

Besides my ISP charges way too much for a reinstall and I can't afford that.

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


Re: Problems moving my jails (mv: Operation not permitted)

2008-10-04 Thread Oliver Peter
On Sat, Oct 04, 2008 at 08:35:27PM +0200, Redd Vinylene wrote:
 Hello hello! I need to move my jails from /usr/jail to /home/jail. The
 latter is where all my diskspace is. Not all files seem to want to
 move though?

Maybe the whole case is worth it to give ezjail a try.
The newest release has some nice features to move/backup jails.

http://www.freshports.org/sysutils/ezjail/

-- 
Oliver PETER, email: [EMAIL PROTECTED], ICQ# 113969174
If it feels good, you're doing something wrong.
  -- Coach McTavish
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Can't add new 1TB disk in FreeBSD 6.1

2008-10-04 Thread Alexandre Biancalana
On 10/4/08, Don O'Neil [EMAIL PROTECTED] wrote:
  I've tried an old 'bypass': sysctl kern.geom.debugflags=16, but that
   didn't help.
  
   Can anyone help me get this new disk installed without having to boot
   off a recovery CD? The server is 500 miles away from me and I don't
   have direct console access.
  
  
   Uhmm... This may seem silly, but did you use fdisk to create a slice
   first before you tried partitioning?
  
  this is NOT needed. actually i don't do it anywhere.
  
  it just may be sysinstall problem, anything else.


 I tried using fdisk first, same problem, won't let me write to the disk.

Do you will use the entire disk in one partition ? If so, just do:
newfs /dev/ad4

Maybe you should to use gjournal for this large filesystem
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: Can't add new 1TB disk in FreeBSD 6.1

2008-10-04 Thread Don O'Neil

  I've tried an old 'bypass': sysctl kern.geom.debugflags=16, but 
  that
   didn't help.
  
   Can anyone help me get this new disk installed without having to 
 boot   off a recovery CD? The server is 500 miles away from me and 
 I don't   have direct console access.
  
  
   Uhmm... This may seem silly, but did you use fdisk to create a 
 slice   first before you tried partitioning?
  
  this is NOT needed. actually i don't do it anywhere.
  
  it just may be sysinstall problem, anything else.


 I tried using fdisk first, same problem, won't let me write to the disk.

Do you will use the entire disk in one partition ? If so, just do:
newfs /dev/ad4

Maybe you should to use gjournal for this large filesystem



I tried newfs before, same issue:

# newfs /dev/ad4
newfs: /dev/ad4: failed to open disk for writing

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


The FreeBSD Diary: 2008-09-14 - 2008-10-04

2008-10-04 Thread Dan Langille
The FreeBSD Diary contains a large number of practical 
examples and how-to guides.  This message is posted weekly
to freebsd-questions@freebsd.org with the aim of letting people
know what's available on the website.  Before you post a question
here it might be a good idea to first search the mailing list 
archives http://www.freebsd.org/search/search.html#mailinglists 
and/or The FreeBSD Diary http://www.freebsddiary.org/. 


-- 
Dan Langille
BSDCan - http://www.BSDCan.org/ - BSD Conference

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


Re: Problems moving my jails (mv: Operation not permitted)

2008-10-04 Thread Gary Newcombe
On Sat, 4 Oct 2008 22:27:09 +0200, Redd Vinylene
[EMAIL PROTECTED] wrote:

 On Sat, Oct 4, 2008 at 9:22 PM, George Hartzell [EMAIL PROTECTED] wrote:
  Redd Vinylene writes:
On Sat, Oct 4, 2008 at 9:02 PM, George Hartzell [EMAIL PROTECTED] 
  wrote:

 If you do an ls -lo /home/jail/box/usr/bin/chpass, you'll probably see
 the schg flag set.  Man chflags for more info and instructions on how
 to unset it

 g.

   
Yes:
   
-r-sr-xr-x  6 root  wheel  schg 18468 Aug  2 19:47 
  /usr/jail/box/usr/bin/chpass
   
So I'd simply have to chflags noschg /usr/jail/box/usr/bin/chpass
and then cp /usr/jail/box/usr/bin/chpass
/home/jail/box/usr/bin/chpass?
 
  I think that you ought to be able to cp it as is.  You're just not
  allowed to change the original (e.g. remove it), which is why your mv
  and rm failed.
 
  g.
 
 
 I've been told that changing flags might seriously mess things up. Is
 there any way to copy the remaining files from /usr/jail into
 /home/jail, or do I have to rebuild everything from scratch?

Try copying the jail first as follows to retain permissions:

stop the jail
mkdir /usr/jail/newjail
cd /usr/jail/origjail
tar -cpf - . | tar -C /usr/jails/newjail -xpf -
(don't worry about sockets not copying)

If you want to copy the jail, change hostname, delete ssh public keys
and change any other info pertinent to the jail. I just grep the
hostname and ip in /etc and /usr/local/etc. Test the jail. It should
work fine.

If you want to remove the original jail,

chflags -R noschg origjail
rm -rf /usr/jail/origjail

Ezjail really is very good too. You can convert your existing jails
into the ezjail framework easily.

Gary

 
 Much obliged.
 
 -- 
 http://www.home.no/reddvinylene
 ___
 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]


processes hanging in _umtx_op

2008-10-04 Thread Dale Hagglund
While experimenting with gnuradio and latest packages for
openoffice.org-3, I've run across a situation where a process hangs in
the _umtx_op system call.  The process can't be interrupted with SIGINT,
but SIGQUIT kills it and generates a core dump.

I can reproduce this reliably with

$ python -c import wx

I'm running 7.0-RELEASE-p2 with uname -a giving the following output,
suitably wrapped.

FreeBSD ponoka.ab.hsia.telus.net
7.0-RELEASE-p2 FreeBSD 7.0-RELEASE-p2
#0: Wed Jun 18 07:33:20 UTC 2008
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC
i386

I won't be at all surprised if this is some strange library
compatibility problem I've introduced over time, but I'm at a loss as to
how to track the problem further.  I've attached the final few lines of
the kdump output from the command above, and I can provide my current
list of packages if necessary.

Any advice or suggestions would be appreciated.

Dale Hagglund

- start: kdump output -
 34453 python   1223164746.661828 CALL  munmap(0x2aa0,0xc1000)
 34453 python   1223164746.661840 RET   munmap 0
 34453 python   1223164746.662541 CALL  _umtx_op(0x283071e0,0x8,0x1,0x283071c0,0
)
 34453 python   1223164752.019372 RET   _umtx_op -1 errno 4 Interrupted system c
all
 34453 python   1223164752.019433 PSIG  SIGINT caught handler=0x80d8020 mask=0x0
 code=0x0
 34453 python   1223164752.019454 CALL  getpid
 34453 python   1223164752.019460 RET   getpid 34453/0x8695
 34453 python   1223164752.019471 CALL  sigaction(SIGINT,0xbfbfaf3c,0xbfbfaf24)
 34453 python   1223164752.019480 RET   sigaction 0
 34453 python   1223164752.019487 CALL  sigreturn(0xbfbfafa0)
 34453 python   1223164752.019497 RET   sigreturn JUSTRETURN
 34453 python   1223164752.019511 CALL  _umtx_op(0x283071e0,0x8,0x1,0x283071c0,0
)
 34453 python   1223164752.856485 RET   _umtx_op -1 errno 4 Interrupted system c
all
 34453 python   1223164752.856550 PSIG  SIGINT caught handler=0x80d8020 mask=0x0
 code=0x0
 34453 python   1223164752.856571 CALL  getpid
 34453 python   1223164752.856577 RET   getpid 34453/0x8695
 34453 python   1223164752.856587 CALL  sigaction(SIGINT,0xbfbfaf3c,0xbfbfaf24)
 34453 python   1223164752.856597 RET   sigaction 0
 34453 python   1223164752.856604 CALL  sigreturn(0xbfbfafa0)
 34453 python   1223164752.856613 RET   sigreturn JUSTRETURN
 34453 python   1223164752.856628 CALL  _umtx_op(0x283071e0,0x8,0x1,0x283071c0,0
)
 34453 python   1223164753.425922 RET   _umtx_op -1 errno 4 Interrupted system c
all
 34453 python   1223164753.425984 PSIG  SIGQUIT SIG_DFL
 34453 python   1223164753.425997 NAMI  python.core
- end: kdump output -
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Can't add new 1TB disk in FreeBSD 6.1

2008-10-04 Thread Jerry McAllister
On Sat, Oct 04, 2008 at 04:43:14AM -0700, Don O'Neil wrote:

 I just swapped out an old 500G disk with a 1TB one and I'm trying to label
 it and mount it...
 
 If I run bsdlabel -w ad4, I get:
 
 bsdlabel: Geom not found
 
 If I run sysinstall, it tells me that it can't write to the disk.
 
 I've tried an old 'bypass': sysctl kern.geom.debugflags=16, but that didn't
 help.
 
 Can anyone help me get this new disk installed without having to boot off a
 recovery CD? The server is 500 miles away from me and I don't have direct
 console access.


did you try doing a dd to the disk?   Sometimes a new unwritten disk
seems to need it.  I don't know why.   It is mentioned in the man
page for bsdlabel  - near the bottom in an example.

  dd f=/dev/zero of=/dev/ad4 bs=512 count=1000

or something like that.

I have run in to this a couple of times in the past where the dd
seemed to fix it.

Anyway, it is getting near Halloween, so these mystery fixes may
be appropriate...

jerry


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


Re: Can't add new 1TB disk in FreeBSD 6.1

2008-10-04 Thread Jeremy Chadwick
On Sat, Oct 04, 2008 at 04:43:14AM -0700, Don O'Neil wrote:
 I just swapped out an old 500G disk with a 1TB one and I'm trying to label
 it and mount it...
 
 If I run bsdlabel -w ad4, I get:
 
 bsdlabel: Geom not found
 
 If I run sysinstall, it tells me that it can't write to the disk.
 
 I've tried an old 'bypass': sysctl kern.geom.debugflags=16, but that didn't
 help.
 
 Can anyone help me get this new disk installed without having to boot off a
 recovery CD? The server is 500 miles away from me and I don't have direct
 console access.

Can you provide output from dmesg, as well as geom disk list?

-- 
| Jeremy Chadwickjdc at parodius.com |
| Parodius Networking   http://www.parodius.com/ |
| UNIX Systems Administrator  Mountain View, CA, USA |
| Making life hard for others since 1977.  PGP: 4BD6C0CB |

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


Error Compiling qt4-designer

2008-10-04 Thread shinjii
Im running AMD64 FreeBSD7.1-PreRelease on KDE4.1.2, so far everything in
upgrading was successful apart from the below issue .. any ideas/thoughts
?
+++


../../../shared/qtgradienteditor/qtgradientstopsmodel.cpp:482: error:
expected constructor, destructor, or type conversion at end of input
*** Error code 1
2 errors
*** Error code 2
1 error
*** Error code 2
1 error
*** Error code 2
pkg_create: pkg_perform: unable to open contents file
'/usr/ports/devel/qt4-designer/work/.PLIST.mktmp' for input
*** Error code 2
1 error
*** Error code 2
1 error
*** Error code 2
1 error
*** Error code 2
3 errors


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


Websphere, Technology, HR, Oracle, Exchange, Dynamics, SQl, Technology, AJAX, AS400 , .NET, IBM customer lists

2008-10-04 Thread mike gordon
This email is to introduce our company Repharm and the services we offer.
An international leader of sales and marketing database products for high 
technology businesses. Repharm provides installed customer lists for companies 
such as Oracle, PeopleSoft, Siebel, etc. Our lists are continuously maintained 
to ensure the highest level of accuracy and completeness. We have hundreds of 
industry leaders as customers today - many whose names you would recognize.
If you are interested, we could send you a sample of one of our lists complete 
with summary information, so that you could evaluate our content. To find out 
about the various lists we have available, in preparation for any sales or 
marketing campaigns that your organization may be considering in future, we'd 
love to hear from you. Or, perhaps you'd be interested in acquiring your 
competitors' customer lists? 
If you would like more information, please contact us at (905) 721-8456 or 
email us at [EMAIL PROTECTED]
Below are just some of the lists available:
ERP (ENTERPRISE RESOURCE PLANNING):
Baan
JD Edwards
Lawson
Made2Manage
Mapics
Marcam
Oracle
Peoplesoft
SAP
SSA
 
E-BUSINESS APPLICATIONS:
Ariba
BMC
BroadVision
Commerce One
Webtrends
 
MIDDLEWARE/CONNECTIVITY/APP SERVERS/WEB SERVERS:
Bea Systems
Iona
Unisys
 
OPERATING SYSTEMS/HARDWARE/SOFTWARE:
COMPAQ
HP 3000
HP 9000
HP-UX
IBM AS/400
IBM OS/390
Lotus Notes
Microsoft
Sun Microsystems
DATABASE:
DB2
FileMaker
Informix
Oracle
SQL
SybaseCRM (CUSTOMER RELATIONSHIP MANAGEMENT):
Clarify
E.piphany
HNC
Onyx
Pivotal
Siebel
Vantive
Xchange
 
SUPPLY CHAIN:
Agile
i2 Technologies
Manugistics
QAD
Webplan
COMMUNICATIONS:
Nortel
Cisco
3com
Siemens
Alcatel
Telecom Vars
ASP's
CLECS
ISP's
 
E-COMMERCE:
Dot Com Directory
Consultant Directory
Software Directory
 
EXECUTIVE DIRECTORIES:
Chief Executive Officer
Chief Financial Officer
Chief Information Officer
Engineering
Human Resources
Purchasing
Sales/Marketing
 
INDUSTRY SPECIFIC LISTS:
Agriculture, Forestry and Fishing, Communications, Construction,
Finance, Insurance and Real Estate, Manufacturing, Mining, Public 
Administration,
Retail Trade, Services, Transportation,
Utilities, Wholesale Trade
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


linux kernel question

2008-10-04 Thread Desmond Chapman

What linux kernel is the debian bsd emulating? Is it a 2.6.x or still a 2.4.x? 
And, since this crosses mailing lists, has anyone tried a virtualbox build on 
the debian kFreeBSD project?
Will the FreeBSD project bring back linux emulation with Debian or is it going 
to remain unsupported?

_
Want to do more with Windows Live? Learn “10 hidden secrets” from Jamie.
http://windowslive.com/connect/post/jamiethomson.spaces.live.com-Blog-cns!550F681DAD532637!5295.entry?ocid=TXT_TAGLM_WL_domore_092008___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]