Re: jail - beginner questions

2009-11-18 Thread Laszlo Nagy
The address 192.168.0.11 must be assigned to a interface in the host FreeBSD. You can do it before starting the jail, or when the jail is being started. To assign the address before starting the jail do somthing like this: # ifconfig lnc0 alias 192.168.0.11/24 where lnc0 is the name of nic in

8.0-RC3 USB lock up on mounting two partitions from one USB drive

2009-11-18 Thread Guojun Jin
When mounting two partitions from a USB dirve, it can cause the drive access lock up for a long time. Details: Terminal 1 -- term1# mount /dev/da0s3d /mnt term1# cd /mnt ; rm -fr * when rm starts, go to terminal 2 and do: term2# mount /dev/da0s3e /dist ### this will hanging for a long time

login accounts with no sendmail access

2009-11-18 Thread Ian Smith
Hi all, I hope you'll forgive a sendmail question that's not FreeBSD specific - immediate application is for a Debian Linux system running sendmail 8.13 - but I assume it's most likely applicable to a similar FreeBSD system. We need to (re)create a number of user accounts for Samba to service

Re: jail - beginner questions

2009-11-18 Thread Boris Samorodov
Laszlo Nagy gand...@shopzeus.com writes: I do not want to expose my jail's private IP address to the internet. Use loopback interface and 127.x.x.x address. -- WBR, bsam ___ freebsd-questions@freebsd.org mailing list

Wiki down?

2009-11-18 Thread Matias
Can any of you access http://wiki.freebsd.org ? Seems down from here I'm getting a 503 error. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to

Re: 8.0-RC3 USB lock up on mounting two partitions from one USB drive

2009-11-18 Thread Hans Petter Selasky
Hi, I'm not sure if this is an USB issue or not. If you get READ/WRITE errors and the drive simply dies then it might be the case. Else it is a system issue. There are quirks for mass storage which you can add to sys/dev/usb/storage/umass.c . --HPS On Wednesday 18 November 2009 08:33:07

Re: Wiki down?

2009-11-18 Thread Manolis Kiagias
Matias wrote: Can any of you access http://wiki.freebsd.org ? Seems down from here I'm getting a 503 error. Same here, I am sure it is probably something temporary though. ___ freebsd-questions@freebsd.org mailing list

Don't work RTL8102EL

2009-11-18 Thread cheshirski . eve
Hello. Has faced a problem. I can not start network card 8102EL re0: RealTek 8101E/8102E/8102EL PCIe 10/100baseTX port 0xd800-0xd8ff mem 0xfdfff000-0xfdff,0xfdfe-0xfdfe irq 17 at device 0.0 on pci1 re0: Using 1 MSI messages re0: Chip rev. 0x2480 re0: MAC rev. 0x0040 re0:

Re: Don't work RTL8102EL

2009-11-18 Thread $witch
On Wed, 18 Nov 2009 07:48:01 +0100, cheshirski@gmail.com wrote: Hello. Has faced a problem. I can not start network card 8102EL re0: RealTek 8101E/8102E/8102EL PCIe 10/100baseTX port 0xd800-0xd8ff hi, am not absolutely sure, but i faced a very similar problem; take a look in

RE: ELF library not found error

2009-11-18 Thread Peter Steele
This was not an upgrade but rather a fresh install. I included compat7x-amd64-7.2.702000.200906.1 in the install. I've found other packages that are giving the same error. Recompiling all of the ports is something I want to avoid. The install is done through an automated process that builds a

RE: ELF library not found error

2009-11-18 Thread Peter Steele
I just installed compat6x-amd64-6.4.604000.200810_3.tbz and that solved the error for Python 2.5 and 3.1, as well as several other applications that were giving that error. I'm still getting the error for a few other packages though, e.g. wireshark: # pkg_add /mnt/ports/wireshark-1.2.2.tbz

Re: jail - beginner questions

2009-11-18 Thread Brian A. Seklecki (CFI NOC)
I really think that it should be corrected to: cd /usr/src make distribution DESTDIR=$D That's almost certainly correct, but it notes: Notes [1] This step is not required on FreeBSD 6.0 and later. But then I get this error in syslog: bind: Can't assign requested address That's a

Re: Do permissions take time to take effect?

2009-11-18 Thread Dan Nelson
In the last episode (Nov 17), James Phillips said: I wanted to create a shared directory writable by all users. When it initially failed, I assumed there may be a blanket ban on writing to directories owned by root. Today, I was able to write to the root-owned Share directory. However, when

adding USB hard-disk

2009-11-18 Thread n dhert
I have an external USB hard disk, wich already has unix dirs and files on it. When plugging into a OpenSuse10.3, the dirs and files are immediatly available under /media/disk-1 as unix dirs and files. When plugging into a FreeBSD7.2 system: on console I do get the messages: umass0: Prolific

getting program.core, where and how?

2009-11-18 Thread Harald Schmalzbauer
Hello, I have a daemon (compiled with -g) which is dying frequently, but I can't get a core dump. The daemon drops privileges and runs as restricted user after startup. I gave the restricted user write permission to the directory where the binary lives, but that hasn't helped. The size

Re: getting program.core, where and how?

2009-11-18 Thread Adam Vande More
On Wed, Nov 18, 2009 at 9:34 AM, Harald Schmalzbauer h.schmalzba...@omnilan.de wrote: Hello, I have a daemon (compiled with -g) which is dying frequently, but I can't get a core dump. The daemon drops privileges and runs as restricted user after startup. I gave the restricted user write

getting program.core, where and how?

2009-11-18 Thread Robert Huff
How can I find out what the working directory of the binary is? I guess the problem is missing write permissions there. find directory -name filename See man find for details; look particularly at the 'x' option. Robert Huff

Re: getting program.core, where and how?

2009-11-18 Thread Matthias Apitz
El día Wednesday, November 18, 2009 a las 04:34:18PM +0100, Harald Schmalzbauer escribió: Hello, I have a daemon (compiled with -g) which is dying frequently, but I can't get a core dump. The daemon drops privileges and runs as restricted user after startup. I gave the restricted user

Re: Invitation to connect on LinkedIn

2009-11-18 Thread David Kelly
On Wed, Nov 18, 2009 at 01:07:46AM -0800, Andrei Antoukh wrote: LinkedIn Andrei Antoukh requested to add you as a connection on LinkedIn: -- Why isn't LinkedIn in FreeBSD.org's spam blocker? -- David Kelly N4HHE, dke...@hiwaay.net

Re: adding USB hard-disk

2009-11-18 Thread Robert
On Wed, 18 Nov 2009 16:16:32 +0100 n dhert ndh...@gmail.com wrote: I have an external USB hard disk, wich already has unix dirs and files on it. When plugging into a OpenSuse10.3, the dirs and files are immediatly available under /media/disk-1 as unix dirs and files. When plugging into a

Re: getting program.core, where and how?

2009-11-18 Thread Harald Schmalzbauer
Matthias Apitz schrieb am 18.11.2009 16:59 (localtime): El día Wednesday, November 18, 2009 a las 04:34:18PM +0100, Harald Schmalzbauer escribió: ... How can I find out what the working directory of the binary is? I guess the problem is missing write permissions there. Core will be written

Date/time formats in ps

2009-11-18 Thread Brett Glass
I'm looking at the man page for the ps command -- specifically at the part involving the date and time format for the start output field -- and am scratching my head. It says that the default format string for the date and time when a task was started, if it was started within the past 24

Re: ELF library not found error

2009-11-18 Thread Norbert Papke
On November 18, 2009, Peter Steele wrote: I just installed compat6x-amd64-6.4.604000.200810_3.tbz and that solved the error for Python 2.5 and 3.1, as well as several other applications that were giving that error. I'm still getting the error for a few other packages though, e.g. wireshark:

Re: getting program.core, where and how?

2009-11-18 Thread Harald Schmalzbauer
Adam Vande More schrieb am 18.11.2009 16:52 (localtime): On Wed, Nov 18, 2009 at 9:34 AM, Harald Schmalzbauer h.schmalzba...@omnilan.de wrote: ... How can I find out what the working directory of the binary is? I guess the problem is missing write permissions there. Thanks, -Harry

gmirror and geli/gshsec

2009-11-18 Thread Omer Faruk Sen
Is it possible to use geli/gshsec on a gmirrored disk partitions? Such as: Filesystem SizeUsed Avail Capacity Mounted on /dev/mirror/gm0a 29G260M 26G 1%/ devfs 1.0K1.0K 0B 100%/dev /dev/mirror/gm0e146G 31M134G 0%

Re: flashplugin

2009-11-18 Thread Steve Polyack
David Collins wrote: I have periodically tested with getting flash working, and everytime I try it fails and I go back to undoing everything I have done and re-installing gnash. Gnash works but it does have a few niggles. I tried the following: This is what I did for a 7.2 box. Note

get accounting info for running process

2009-11-18 Thread cronfy
Hello. Is it possible to find out how much a process have used CPU user time/system time/IO operations for now by it's pid? Like in sa, but for running process. Thanks in advance. ___ freebsd-questions@freebsd.org mailing list

RE: ELF library not found error

2009-11-18 Thread Peter Steele
Presumably (and I am speculating), the 8.0 packages are not yet finalized and therefore inconsistent. Perhaps you will have better luck after the official 8.0 Release? I was thinking the same thing--too much version mismatching going on. I'm going to take your suggestion though and compile

Re: [Solved] Do permissions take time to take effect?

2009-11-18 Thread James Phillips
--- On Wed, 11/18/09, Dan Nelson dnel...@allantgroup.com wrote: In the last episode (Nov 17), James Phillips said: I wanted to create a shared directory writable by all users. When it initially failed, I assumed there may be a blanket ban on writing to directories owned by root. 

Re: ELF library not found error

2009-11-18 Thread Jonathan Chen
On Wed, Nov 18, 2009 at 11:49:47AM -0600, Peter Steele wrote: Presumably (and I am speculating), the 8.0 packages are not yet finalized and therefore inconsistent. Perhaps you will have better luck after the official 8.0 Release? I was thinking the same thing--too much version mismatching

Re: get accounting info for running process

2009-11-18 Thread Dan Nelson
In the last episode (Nov 18), cronfy said: Is it possible to find out how much a process have used CPU user time/system time/IO operations for now by it's pid? Like in sa, but for running process. It's available to userland programs via the kern.proc.all syscall. it returns an array of

Re: NFS and crossmount

2009-11-18 Thread John Nielsen
On Monday 16 November 2009 06:10:23 Patrik Usher wrote: I'm chaning fileserver to a FreeBSD 7.2 from my old linux and can't find how to define the option crossmnt (crossmount) for NFS. Does anyone know if it's supported under FreeBSD 7 and if so, how to define it ? I don't believe a similar

RecvQ Size from fd?

2009-11-18 Thread Ryan Sommers
Is it possible to get the amount of data in the receive queue from a socket file descriptor (userland app)? I see that netstat gets a list of struct socket* and from there you can find the answer from the so_rcv sockbuf. But I can't find a way to match a socket fd up to the struct sock. Thanks,

RE: 8.0-RC3 USB lock up on mounting two partitions from one USB drive

2009-11-18 Thread Guojun Jin
It looks like a system issue since it also happens to the SATA drive. The USB drive seems having more difficulty. I will back up rest partitions, Then redo the slice and partition to see if problem goes away. If so, then 8.0-R has a backward compatibility issue on the partition table or format to

Measuring disk I/O

2009-11-18 Thread Nerius Landys
A friend and I are working on a small video-game related project as a hobby. We're running several scripts 24/7 that make lots of calls to a MySQL database. The mysql server process shows an average CPU use of 1% (reported by top) and it never goes above about 2% The tables it's hitting are

Re: Invitation to connect on LinkedIn

2009-11-18 Thread Peter Jeremy
On 2009-Nov-18 10:13:17 -0600, David Kelly dke...@hiwaay.net wrote: On Wed, Nov 18, 2009 at 01:07:46AM -0800, Andrei Antoukh wrote: LinkedIn Andrei Antoukh requested to add you as a connection on LinkedIn: -- Why isn't LinkedIn in

Re: no sshd on new server...

2009-11-18 Thread Polytropon
On Tue, 17 Nov 2009 14:38:45 -0800, Gary Kline kl...@thought.org wrote: On Tue, Nov 17, 2009 at 07:54:14PM +0200, Manolis Kiagias wrote: Gary Kline wrote: There is a question during sysinstall: Would you like to enable ssh login? Guess you answered no there? i didn't

Re: no sshd on new server...

2009-11-18 Thread Gary Kline
On Wed, Nov 18, 2009 at 10:19:16PM +0100, Polytropon wrote: On Tue, 17 Nov 2009 14:38:45 -0800, Gary Kline kl...@thought.org wrote: On Tue, Nov 17, 2009 at 07:54:14PM +0200, Manolis Kiagias wrote: Gary Kline wrote: There is a question during sysinstall: Would you like to enable

Re: no sshd on new server...

2009-11-18 Thread Manolis Kiagias
Polytropon wrote: On Tue, 17 Nov 2009 14:38:45 -0800, Gary Kline kl...@thought.org wrote: On Tue, Nov 17, 2009 at 07:54:14PM +0200, Manolis Kiagias wrote: Gary Kline wrote: There is a question during sysinstall: Would you like to enable ssh login? Guess you

Re: Measuring disk I/O

2009-11-18 Thread Steve Bertrand
Nerius Landys wrote: A friend and I are working on a small video-game related project as a hobby. We're running several scripts 24/7 that make lots of calls to a MySQL database. The mysql server process shows an average CPU use of 1% (reported by top) and it never goes above about 2% The

Re: Measuring disk I/O

2009-11-18 Thread Adam Vande More
On Wed, Nov 18, 2009 at 3:54 PM, Steve Bertrand st...@ibctech.ca wrote: Nerius Landys wrote: A friend and I are working on a small video-game related project as a hobby. We're running several scripts 24/7 that make lots of calls to a MySQL database. The mysql server process shows an

Re: Measuring disk I/O

2009-11-18 Thread Dan Nelson
In the last episode (Nov 18), Steve Bertrand said: Nerius Landys wrote: A friend and I are working on a small video-game related project as a hobby. We're running several scripts 24/7 that make lots of calls to a MySQL database. The mysql server process shows an average CPU use of 1%

Re: Re: [solved] Re: Re: Re: diskless - NFS root mount problem

2009-11-18 Thread Tim Judd
On 11/16/09, Mario Pavlov free...@abv.bg wrote: indeed you get bonus points if you firewall yourself :) and of course this is not the first time I do that so my score is pretty good however my favourite is to forget about net.inet.ip.forwarding when I upgrade routers with many clients :)

device hint - disable firewire or sbp driver

2009-11-18 Thread Tim Judd
Any way via tunables, environment, sysctl or device hints that one can disable firewire on the install medium of recent (7.2 and newer) Install CD/DVDs? more than one person is having problems with kernel panics on startup due to firewire, and I can't google my way out of this one. Any advice

Re: no sshd on new server...

2009-11-18 Thread Polytropon
On Wed, 18 Nov 2009 23:35:54 +0200, Manolis Kiagias son...@otenet.gr wrote: Polytropon wrote: Well, it't not SUCH a question. :-) Yes, there is: http://twitpic.com/q0wxq Hmmm... I've installed 8.0-RC1 from CD and can't remember to have seen this dialog... need more memory. :-) Anyway,

Re: no sshd on new server...

2009-11-18 Thread Gary Kline
On Wed, Nov 18, 2009 at 01:33:21PM -0800, Gary Kline wrote: On Wed, Nov 18, 2009 at 10:19:16PM +0100, Polytropon wrote: On Tue, 17 Nov 2009 14:38:45 -0800, Gary Kline kl...@thought.org wrote: On Tue, Nov 17, 2009 at 07:54:14PM +0200, Manolis Kiagias wrote: Gary Kline wrote:

Re: Bad Blocks... Should I RMA?

2009-11-18 Thread Ronald F. Guilmette
In message 44my2n45zd@be-well.ilk.org, Lowell Gilbert freebsd-questions-lo...@be-well.ilk.org wrote: Ronald F. Guilmette r...@tristatelogic.com writes: Nov 15 15:24:17 coredump kernel: ad4: FAILURE - READ_DMA status=51READY,DSC ,ERROR error=40UNCORRECTABLE LBA=256230591 This is *not*

Re: flashplugin

2009-11-18 Thread David Collins
This is what I did for a 7.2 box. Note that there are compatibility # pkg_info -orx linux linux-stuff # pkg_delete -rx linux # cd /compat/linux # find . -type f -ls # rm -rf * # sysctl compat.linux.osrelease=2.6.16

Re: get accounting info for running process

2009-11-18 Thread Mel Flynn
On Wed, 18 Nov 2009 20:18:08 +0300, cronfy cro...@sprinthost.ru wrote: Is it possible to find out how much a process have used CPU user time/system time/IO operations for now by it's pid? Like in sa, but for running process. Thanks in advance. man procfs(5), specifically, the status

Loader does not load after reinstall with previous mirrored disk attached

2009-11-18 Thread Glen Barber
Hello, First off, this is not a real I need help post, though there are a few questions that I'd like to get insight on, if possible - it is more for informative purposes in the archives, should someone run into this very random problem in the future. Additionally, I believe this is far too

Re: Trivial questions about CNTL-ALT-DEL and CNTL-ALT-BACKSPACE

2009-11-18 Thread Ronald F. Guilmette
In message 20091116180102.61682...@gmx.de, you wrote: Am Sun, 15 Nov 2009 15:19:29 -0800 schrieb Ronald F. Guilmette r...@tristatelogic.com: I _did_ go and read the Handbook section that Manolis Kiagias kindly posted a link to, and I have now tried _both_ of the two ways described there to

Re: Loader does not load after reinstall with previous mirrored disk attached

2009-11-18 Thread Rolf Nielsen
Glen Barber wrote: Hello, First off, this is not a real I need help post, though there are a few questions that I'd like to get insight on, if possible - it is more for informative purposes in the archives, should someone run into this very random problem in the future. Additionally, I believe

Re: Loader does not load after reinstall with previous mirrored disk attached

2009-11-18 Thread Adam Vande More
On Wed, Nov 18, 2009 at 8:35 PM, Glen Barber glen.j.bar...@gmail.comwrote: Hello, First off, this is not a real I need help post, though there are a few questions that I'd like to get insight on, if possible - it is more for informative purposes in the archives, should someone run into this

Re: Loader does not load after reinstall with previous mirrored disk attached

2009-11-18 Thread Glen Barber
Hi Rolf and Adam, Since you both seemingly responded with the same solution, I'll respond including the more verbose response: On Wed, Nov 18, 2009 at 10:01 PM, Rolf Nielsen listrea...@lazlarlyricon.com wrote: I recently, successfully, broke a gmirror by simply issuing gmirror clear on all

Re: Bad Blocks... Should I RMA?

2009-11-18 Thread Ronald F. Guilmette
In message 20091116182358.ga95...@slackbox.xs4all.nl, Roland Smith rsm...@xs4all.nl wrote: On Sun, Nov 15, 2009 at 04:06:55PM -0800, Ronald F. Guilmette wrote: =20 In one of my systems, I've got a Seagate SATA 500GB drive (ST3500320AS) which is actually not very old... purchased 12/11/2008.

Re: jail - beginner questions

2009-11-18 Thread Michael Svobodin
On Wed, Nov 18, 2009 at 09:09:32AM +0100, Laszlo Nagy wrote: Great. Here is what I did: sorb# mkdir -p /usr/jails/vm1 sorb# cd /usr/src sorb# setenv D /usr/jails/vm1 sorb# make installworld DESTDIR=$D sorb# make distribution DESTDIR=$D sorb# cat /etc/rc.conf jail_enable=YES

Re: Re: Re: [solved] Re: Re: Re: diskless - NFS root mount problem

2009-11-18 Thread Mario Pavlov
oh yes, I got what you meant now true, I used /usr from the server because I wanted to have all my ports available to the client. Is there a nice way to install ports only in the diskless distribution ? thank you. Regards Mario On 11/16/09, Mario Pavlov wrote: indeed you get bonus

GUI for file permissions management

2009-11-18 Thread Chad Perrin
Someone asked me recently whether a GUI for file permissions management (front end for stuff like umask, chmod, and maybe even login.conf or adduser.conf configuration) exists. I know that some filesystem browser applications like Nautilus provide at least some of that kind of functionality, but