RE: Shell scripting: Absolute path name of a file given as parameter

2007-04-12 Thread Aitor San Juan
Thanks a lot to all who replied. Aitor. -Mensaje original- De: Pete Slagle [mailto:[EMAIL PROTECTED] Enviado el: jueves, 12 de abril de 2007 19:04 Para: [EMAIL PROTECTED] Asunto: Re: Shell scripting: Absolute path name of a file given as parameter Aitor San Juan wrote: > I have develop

Re: nspluginwrapper + native firefox 2 + flash9?

2007-04-12 Thread John Reynolds
[ On Friday, April 13, Ghirai wrote: ] > Hello John, > > I'm using konqueror with flash, and i followed this howto > (http://freebsd.kde.org/howtos/konqueror-flash.php). > > I know you were looking for a way to get FF to work, > but i gave up, and konqueror is working fine for me. > Well, I've

New kernel and jail

2007-04-12 Thread Vladimir
Hi all. I have FreeBSD 5.4 installed. There is a working jail. I am trying to rebuild a kernel to enable quota support. Therefore i’ve added "options QUOTA" to config file (all other options are from GENERIC). When booting with this new kernel jail does not start. When i issue at the command pr

Dell PowerEdge SC1435 and FreeBSD

2007-04-12 Thread Philip M. Gollucci
Hi, A company bought 3 of these and had issue installing FreeBSD on them (I'm currently off site) saying it hung very early in the boot process from CD for 6.2 amd64 and the monitor went blank. Can anyone here comment on their experiences with this ? I've included some links below too. http

Re: nspluginwrapper + native firefox 2 + flash9?

2007-04-12 Thread Ghirai
Hello John, Thursday, April 12, 2007, 9:48:34 AM, you wrote: > Hi everybody, I've been struggling with this all night and the archives + > google aren't coming up with much except for other people's success stories. > I recently ditched using the linux-firefox port in favor of the native version

Re: locking down scsi device id's in 6.2

2007-04-12 Thread Robert Marella
On Thu, 12 Apr 2007 21:15:22 -0400 "Dave" <[EMAIL PROTECTED]> wrote: > Hello, > My thanks to everyone who has helped thus far with this > situation. I've gone over scsi(4) and have added the below to > device.hints: > > hint.sa.0.at="scbus0" > hint.sa.0.target="5" > hint.sa.0.unit="0" > hint.

Complete loss of network on 6_STABLE

2007-04-12 Thread Drew
I have a 6 stable box that I cvsup'd at around 5:15am central US time this morning. I did a buildworld and buildkernel on it after checking the UPDATING file and finding nothing since 6.2 release, ran mergemaster and rebooted, so I was a little surprised when it never came back. Once I gained phys

Re: locking down scsi device id's in 6.2

2007-04-12 Thread Dave
Hello, My thanks to everyone who has helped thus far with this situation. I've gone over scsi(4) and have added the below to device.hints: hint.sa.0.at="scbus0" hint.sa.0.target="5" hint.sa.0.unit="0" hint.cd.0.at="scbus0" hint.cd.0.target="0" hint.cd.0.unit="0" hint.cd.1.at="scbus0" hint.cd

RE: route

2007-04-12 Thread Wood, Russell
> -Original Message- > From: [EMAIL PROTECTED] [mailto:owner-freebsd- > [EMAIL PROTECTED] On Behalf Of Miguel Alcántara > Sent: Friday, 13 April 2007 5:55 AM > To: faqfreebsd > Subject: route > > hello all the people, i want to configure a freebsd 6.2 as a router, in > rc.conf added this

Re[2]: looking for something like an embedded ftp server

2007-04-12 Thread Ghirai
Hello David, Wednesday, April 11, 2007, 9:12:17 PM, you wrote: > On Wednesday 11 April 2007 12:26:42 pm Derrill Guilbert wrote: >> I've been given an old machine, and asked to turn it into an ftp server. It >> will got on its own IP, separate from the one our LAN uses. It will have >> three read-

Re: Mysql Hogging all system resources

2007-04-12 Thread Chuck Swiger
On Apr 12, 2007, at 4:18 PM, Don O'Neil wrote: This isn't exactly what I want to do. According to the FreeBSD Handbook, by defining a CPU limit it will just kill any process that uses more than the limit. What I want to do is effectively throttle the process so it doesn't use up more than a

RE: Mysql Hogging all system resources

2007-04-12 Thread Don O'Neil
This isn't exactly what I want to do. According to the FreeBSD Handbook, by defining a CPU limit it will just kill any process that uses more than the limit. What I want to do is effectively throttle the process so it doesn't use up more than a certain % CPU, but still lives, esentially taking long

route

2007-04-12 Thread Miguel Alcántara
hello all the people, i want to configure a freebsd 6.2 as a router, in rc.conf added this line router_enable="YES" it's ip is 192.168.1.33 then i have two PCs, one with freebsd(10.0.0.15) and another with debian( 192.168.1.34), but i can't realize if I must configure something in the others tw

Re: Qemu audio with win2k3 guest.

2007-04-12 Thread Jan Henrik Sylvester
Hello! I run XP on QEMU 0.9.0 with sound (FreeBSD 6.2, KQEMU 1.3.0.p11). As it is mentioned in the QEMU FAQ, the driver for es1370 is automatically installed by Windows. Probably this applies to 2003, too. qemu -hda winxp.img -m 256 -soundhw es1370 -localtime -net nic -net user -cdrom /dev/a

Re: MailScanner broken

2007-04-12 Thread Tom Munro Glass
On Fri, 13 Apr 2007, Gerard wrote: > On Thursday April 12, 2007 at 04:17:25 (PM) Tom Munro Glass wrote: > > Yesterday I updated with portmaster and now MailScanner is broken. When I > > try to start it I get the following messages: > > > > Starting mailscanner. > > IO::Compress::Base::Common versio

Re: Shell PATH not being reread

2007-04-12 Thread RW
On Thu, 12 Apr 2007 10:29:29 -0700 Sean Murphy <[EMAIL PROTECTED]> wrote: > I have just installed FreeBSD 6.2 Release. I su to root and run > > pkg_add -r cvsup-without-gui > > It installed fine Just in case you are not aware, the base-system now comes with csup, which is a rewrite of cvsup-wi

Re: MailScanner broken

2007-04-12 Thread Gerard
On Thursday April 12, 2007 at 04:17:25 (PM) Tom Munro Glass wrote: > Yesterday I updated with portmaster and now MailScanner is broken. When I try > to start it I get the following messages: > > Starting mailscanner. > IO::Compress::Base::Common version 2.004 required--this is only version 2.00

Re: Mysql Hogging all system resources

2007-04-12 Thread Bill Moran
In response to "Don O'Neil" <[EMAIL PROTECTED]>: > I have a customer that loaded up a HUGE table and was doing all sorts of > fancy stuff in it, and not waiting for the process to finish before sending > the same query, and eventually loading up the server to the point where the > only thing I cou

MailScanner broken

2007-04-12 Thread Tom Munro Glass
Yesterday I updated with portmaster and now MailScanner is broken. When I try to start it I get the following messages: Starting mailscanner. IO::Compress::Base::Common version 2.004 required--this is only version 2.003 at /usr/local/lib/perl5/site_perl/5.8.8/Compress/Zlib.pm line 11. BEGIN fail

Re: Two firefoxes, 1.5 and 2.0, script keeps running 1.5 instead of 2.0

2007-04-12 Thread Chuck Swiger
On Apr 11, 2007, at 8:54 PM, Oliver Iberien wrote: bsd# cd /usr/ports/www/firefox15/ bsd# make deinstall ===> Deinstalling for www/firefox15 ===> firefox not installed, skipping Deinstalling any other way gets rid of 2.0 instead of 1.5. /usr/local/bin/firefox starts up 1.5 instead of 2.0 Do

Mysql Hogging all system resources

2007-04-12 Thread Don O'Neil
I have a customer that loaded up a HUGE table and was doing all sorts of fancy stuff in it, and not waiting for the process to finish before sending the same query, and eventually loading up the server to the point where the only thing I could do was unplug it. Is there a way to prioritize or set

Error with PAM-Authentification/X-Terminal

2007-04-12 Thread Stevan Tiefert
Hello list! I have two Hosts. Host notebook and host aixa. aixa is running FreeBSD 6.2 and XDM. notebook is running Cygwin/X (Windows XP). notebook is acting as a X-Terminal and he is displaying the login-screen of aixa. When I try to login on aixa via XDMP-Protocol I can read on aixa (XDM)

Re: Boot failure after installation

2007-04-12 Thread L Goodwin
I have BOTH "ad0" (IDE HDD) AND "da0" (SCSI device #0). I posted detailed BIOS settings and install steps in previous emails. I've attached the BIOS and SCSI BIOS settings (with footnotes). I have installed FreeBSD on da0 multiple times, each time creating a single slice/partition on da0, and s

Working xorg.conf for Dell Latitude D820 laptop (NVidia Quadro NVS 120M GeForce Go 7400 512MB)?

2007-04-12 Thread Matt Kosht
Does anyone have a working xorg.conf for this combo working with FreeBSD 6.2? Specifically I would like the onboard LCD on the laptop to display at 1920x1200 and an attached external LCD at 1280x1024 both at 32 bit color at the same time. I think this may be called twinview (?). This configuratio

send error with perl and unix domain sockets

2007-04-12 Thread Andy Greenwood
I'm working on getting a script to work (see below). It is a perl daemon associated with a bittorent client that I am helping develop. The daemon uses unix domain sockets to commincate with the php pages. However, anytime a message is sent via php, the script dies with send: Cannot determine peer

Re: Shell PATH not being reread

2007-04-12 Thread Sean Murphy
sac wrote: As Kevin Kinsey pointed out, if your shell is csh, ksh, zsh or tcsh, all you have to do is run $ hash -r or $ rehash On 4/12/07, Sean Murphy <[EMAIL PROTECTED]> wrote: I have just installed FreeBSD 6.2 Release. I su to root and run pkg_add -r cvsup-without-gui It installed fine

Re: Shell PATH not being reread

2007-04-12 Thread sac
As Kevin Kinsey pointed out, if your shell is csh, ksh, zsh or tcsh, all you have to do is run $ hash -r or $ rehash On 4/12/07, Sean Murphy <[EMAIL PROTECTED]> wrote: I have just installed FreeBSD 6.2 Release. I su to root and run pkg_add -r cvsup-without-gui It installed fine I edited th

Re: Shell PATH not being reread

2007-04-12 Thread Kevin Kinsey
Sean Murphy wrote: I have just installed FreeBSD 6.2 Release. I su to root and run pkg_add -r cvsup-without-gui It installed fine I edited the ports-supfile cd /usr/share/examples/cvsup vi ports-supfile but when I go to run cvsup -g -L 2 ports-supfile It tells me it cannot find the command

Shell PATH not being reread

2007-04-12 Thread Sean Murphy
I have just installed FreeBSD 6.2 Release. I su to root and run pkg_add -r cvsup-without-gui It installed fine I edited the ports-supfile cd /usr/share/examples/cvsup vi ports-supfile but when I go to run cvsup -g -L 2 ports-supfile It tells me it cannot find the command I logout completel

Re: Shell scripting: Absolute path name of a file given as parameter

2007-04-12 Thread Pete Slagle
Aitor San Juan wrote: > I have developed a shell script that, among other things, shows the filename > that was specified as a parameter. > > However, when I invoke the script and the file is located in the current > working > directory, it just shows: ./my_input_filename > > I'd like the scrip

Re: adding keyboard after reboot with no keyboard ...

2007-04-12 Thread MikeM
On 4/10/2007 at 11:55 AM Marc G. Fournier wrote: |-BEGIN PGP SIGNED MESSAGE- |Hash: SHA1 | | |I hate it when a subject doesn't easily present itself ... but ... | |Is there something that I'm missing, such that if I add a keyboard to a |server |*after* rebooting it with no keyboard, that

Re: looking for something like an embedded ftp server

2007-04-12 Thread Tom Ierna
On Apr 11, 2007, at 1:26 PM, Derrill Guilbert wrote: What I would really prefer is some sort of BSD based simple FTP server setup. I've found several BSD based router/firewall/whatever servers out there, such as m0n0wall and pfsense, among others, and I would like something that simple for an

Re: Cant boot fresh install of freebsd 6.2 or dell poweredge 6650

2007-04-12 Thread Craig Russell
Very newbie mistake, which I finally figured out. That will teach me to read the vendors instructions more carefully than the OS documentation. Basically the problem was that I followed the instructions of the software that I will be installing on this server for the partitioning scheme. They re

Re: Cant boot fresh install of freebsd 6.2 or dell poweredge 6650

2007-04-12 Thread Derek Ragona
At 09:21 AM 4/12/2007, Craig Russell wrote: I am a newbie using freebsd and have run into a problem on a new install on a dell poweredge 6650. I am installing to a hardeware raid 1 on an LSI Logic raid controller. The installation appears to go well but after a reboot the freebsd boot manager c

Re: looking for something like an embedded ftp server

2007-04-12 Thread Peter A. Giessel
On 2007/04/12 7:57, Derrill Guilbert seems to have typed: > I actually know how to set up a FreeBSD machine with FTP server, but was > hoping there was something simpler - and therefore quicker, and > theoretically more secure out of the box, with essentially nothing else > running? I suppose this

Re: correct lib version?

2007-04-12 Thread Robert Huff
Dan Nelson writes: > In the last episode (Apr 12), Robert Huff said: > > > >What is the correct version of libpthread for -CURRENT? > > That's from the compat5x port/package. > That's from the GNU "pth" port, > That's a libpthread.so.1 from when your system was running 5.*. 6.* > and

Re: looking for something like an embedded ftp server

2007-04-12 Thread Derrill Guilbert
On 4/11/07, Pieter de Goeje <[EMAIL PROTECTED]> wrote: On Wednesday 11 April 2007, David J Brooks wrote: > On Wednesday 11 April 2007 12:26:42 pm Derrill Guilbert wrote: > > I've been given an old machine, and asked to turn it into an ftp server. > > It will got on its own IP, separate from the

Re: correct lib version?

2007-04-12 Thread Dan Nelson
In the last episode (Apr 12), Robert Huff said: > > What is the correct version of libpthread for -CURRENT? > I ask because: > > huff@> find /usr/local/lib -name "libpthread.*" > /usr/local/lib/compat/libpthread.so.1 That's from the compat5x port/package. You can use the pkg_which c

Re: Two firefoxes, 1.5 and 2.0, script keeps running 1.5 instead of 2.0

2007-04-12 Thread Robert Huff
Oliver Iberien writes: > Thanks for this... However, I can't get the first command to work: > > bsd# pkg_delete -dfv firefox* > pkg_delete: No match. This sounds like the files are present, but the port is not registered in /var/db/pkg/pkgdb.db. If this is the case, to get ev

Re: Installing the CVS

2007-04-12 Thread sac
Maybe you can avoid posting these questions to freebsd-bugs. Just mail to freebsd-questions. Regards, sac. On 4/11/07, Dhananjaya hiremath <[EMAIL PROTECTED]> wrote: Hello sir, Please specifies how to get the CVS to FreeBSD.And some packages are not installing lile( samba,python etc) It

Re: Boot failure after installation

2007-04-12 Thread Jerry McAllister
> Will someone please explain in detail how to run the FreeBSD fdisk util > outside of the freebsd installer? Please provide detailed steps. You just type fdisk devname where devname is the disk device. There are a number of flags and parameters you may need to use. Have you read the fdisk

Re: Port removal

2007-04-12 Thread Tom Judge
[EMAIL PROTECTED] wrote: Steve, On 4/12/07, Steve Bertrand <[EMAIL PROTECTED]> wrote: Hi all, On RELENG_6_2, I'm going to be installing chillisoft from ports. However, when I first ran 'make', there was an initial configuration window came up before compile. I selected the wrong options (I re

correct lib version?

2007-04-12 Thread Robert Huff
What is the correct version of libpthread for -CURRENT? I ask because: huff@> find /usr/local/lib -name "libpthread.*" /usr/local/lib/compat/libpthread.so.1 /usr/local/lib/pth/libpthread.so /usr/local/lib/pth/libpthread.so.20 /usr/local/lib/pth/libpthread.a huff@> find /usr/lib -n

Re: Two firefoxes, 1.5 and 2.0, script keeps running 1.5 instead of 2.0

2007-04-12 Thread Dan Nelson
In the last episode (Apr 12), Oliver Iberien said: > Thanks for this... However, I can't get the first command to work: > > bsd# pkg_delete -dfv firefox* > pkg_delete: No match. > > Is there some other way to express this, or something to tweak in my > shell I have not done? You need to escape o

Re: Two firefoxes, 1.5 and 2.0, script keeps running 1.5 instead of 2.0

2007-04-12 Thread Oliver Iberien
On Thursday 12 April 2007 02:48, Gerard wrote: > On Wednesday April 11, 2007 at 11:54:53 (PM) Oliver Iberien wrote: > > I seem to have messed up with pkgdb -F when firefox 1.5 got deprecated, > > and now have 1.5 installed without any clear way to get rid of it. > > > > bsd# cd /usr/ports/www/firef

Re: Port removal

2007-04-12 Thread Gerard
On Thursday April 12, 2007 at 10:36:26 (AM) Steve Bertrand wrote: > > On RELENG_6_2, I'm going to be installing chillisoft from ports. > > However, when I first ran 'make', there was an initial configuration > window came up before compile. I selected the wrong options (I realized > this after

Cant boot fresh install of freebsd 6.2 or dell poweredge 6650

2007-04-12 Thread Craig Russell
I am a newbie using freebsd and have run into a problem on a new install on a dell poweredge 6650. I am installing to a hardeware raid 1 on an LSI Logic raid controller. The installation appears to go well but after a reboot the freebsd boot manager comes up with F1 to boot Freebsd (or default) a

Re: Port removal

2007-04-12 Thread Alex Zbyslaw
Steve Bertrand wrote: Hi all, On RELENG_6_2, I'm going to be installing chillisoft from ports. However, when I first ran 'make', there was an initial configuration window came up before compile. I selected the wrong options (I realized this after the make was complete). I did not do a 'make in

Re: Port removal

2007-04-12 Thread Duane Hill
On Thu, 12 Apr 2007, Steve Bertrand wrote: Hi all, On RELENG_6_2, I'm going to be installing chillisoft from ports. However, when I first ran 'make', there was an initial configuration window came up before compile. I selected the wrong options (I realized this after the make was complete). I

Re: Port removal

2007-04-12 Thread usleepless
Steve, On 4/12/07, Steve Bertrand <[EMAIL PROTECTED]> wrote: Hi all, On RELENG_6_2, I'm going to be installing chillisoft from ports. However, when I first ran 'make', there was an initial configuration window came up before compile. I selected the wrong options (I realized this after the make

Port removal

2007-04-12 Thread Steve Bertrand
Hi all, On RELENG_6_2, I'm going to be installing chillisoft from ports. However, when I first ran 'make', there was an initial configuration window came up before compile. I selected the wrong options (I realized this after the make was complete). I did not do a 'make install'. I tried to 'make

Re: FileSystem Fix

2007-04-12 Thread Alex Zbyslaw
[EMAIL PROTECTED] wrote: On 12/04/07, Chris Hesselrode <[EMAIL PROTECTED]> wrote: mount reload of '/' failed: No such file or directory Can't stat /dev/ad6s1e: No such file or directory (6 times ... with different ending letters) How can I fix this? In the /dev there are only: ad4 ad4s1 ad

Re: Port for Roller?

2007-04-12 Thread Alex Zbyslaw
Alex Zbyslaw wrote: make search name=roller | less Should add that this only looks in whatever version of the port tree you have downloaded. You would want to update your port tree to be sure you got an up-to--date answer. If, for any reason (*) you don't want to update your port tree, the

Re: Port for Roller?

2007-04-12 Thread Alex Zbyslaw
Murray Taylor wrote: cd /usr/ports make search key=roller | more If its there this will find it ... and often much more as well depending on the key string used. grepping for Port: cuts down on the gibbering a bit make search name=roller | less will only look in the name of the port.

issues adding a disk

2007-04-12 Thread Dave
Hello, I'm following the handbook section 18.3.2.1 to add a disk to a FreeBSD 6.2 system. I've got the disk plugged in and it shows up as /dev/ad6 so i did: dd if=/dev/zero of=/dev/ad6 bs=1k count=1 That worked fine. My problem came with fdisk. I used: fdisk -BI ad6 and i got the message

Qemu audio with win2k3 guest.

2007-04-12 Thread Chris Keladis
Hi all, Running QEMU 0.9.0 from the ports on a FreeBSD 6.1 host box running a win2k3 guest. Everything works great except audio, i was wondering if anyone has got audio working with a win2k3 guest? Windows sees the hardware but has trouble adding drivers. Would appreciate any help. Thanks,

Re: Shell scripting: Absolute path name of a file given as parameter

2007-04-12 Thread Garrett Cooper
Aitor San Juan wrote: Hi List, Just a simple question. I have developed a shell script that, among other things, shows the filename that was specified as a parameter. However, when I invoke the script and the file is located in the current working directory, it just shows: ./my_input_filename

Shell scripting: Absolute path name of a file given as parameter

2007-04-12 Thread Aitor San Juan
Hi List, Just a simple question. I have developed a shell script that, among other things, shows the filename that was specified as a parameter. However, when I invoke the script and the file is located in the current working directory, it just shows: ./my_input_filename I'd like the script to

Re: Two firefoxes, 1.5 and 2.0, script keeps running 1.5 instead of 2.0

2007-04-12 Thread Pietro Cerutti
On 4/12/07, Oliver Iberien <[EMAIL PROTECTED]> wrote: I seem to have messed up with pkgdb -F when firefox 1.5 got deprecated, and now have 1.5 installed without any clear way to get rid of it. bsd# cd /usr/ports/www/firefox15/ bsd# make deinstall ===> Deinstalling for www/firefox15 ===> firef

Re: gmirror device numbers

2007-04-12 Thread Toomas Aas
[EMAIL PROTECTED] wrote: On 11/04/07, Toomas Aas <[EMAIL PROTECTED]> wrote: It seems that gmirror devices get a different 'device number' on each boot (each time the gmirror is created). Since the device number is stored in GNU tar's snapshot file, it effectively means that after rebooting G

Re: FileSystem Fix

2007-04-12 Thread [EMAIL PROTECTED]
On 12/04/07, Chris Hesselrode <[EMAIL PROTECTED]> wrote: My friend took out a hard disk we had in a computer, that ran an internal web server, threw it in a new box, as a secondary drive. Now that I've smacked him around a bit, and put it back in the original box, it won't boot. When doing an fsc

Re: gmirror device numbers

2007-04-12 Thread [EMAIL PROTECTED]
On 11/04/07, Toomas Aas <[EMAIL PROTECTED]> wrote: Hello! I have a server with gmirror volumes. Backup of this server is being done with Amanda, which uses GNU tar and its --listed-incremental option (snapshot files) in order to do incremental backups. It seems that gmirror devices get a differ

FileSystem Fix

2007-04-12 Thread Chris Hesselrode
My friend took out a hard disk we had in a computer, that ran an internal web server, threw it in a new box, as a secondary drive. Now that I've smacked him around a bit, and put it back in the original box, it won't boot. When doing an fsck it comes back with: mount reload of '/' failed: No such

FileSystem Fix

2007-04-12 Thread Chris Hesselrode
My friend took out a hard disk we had in a computer, that ran an internal web server, threw it in a new box, as a secondary drive. Now that I've smacked him around a bit, and put it back in the original box, it won't boot. When doing an fsck it comes back with: mount reload of '/' failed: No such

nspluginwrapper + native firefox 2 + flash9?

2007-04-12 Thread John Reynolds
Hi everybody, I've been struggling with this all night and the archives + google aren't coming up with much except for other people's success stories. I recently ditched using the linux-firefox port in favor of the native version when I read a post about nspluginwrapper. I've spent the last 2 days