Re: Nagios Client on FreeBSD 5.4

2005-10-20 Thread Igor Robul
Deepak Naidu wrote: Right Mike, this is what exactly I want. More details are I have LVS server in Linux, installed with Nagios. I have 5 spam servers and 5 IMAP and POP servers, from which 2 spam servers are

Re: libdl.so.2 not found for java plugin

2005-10-20 Thread N Deepak
On Thu, Oct 20, 2005 at 09:55:45AM -0400, Lowell Gilbert wrote: > > When I symlink libjavaplugin_oji.so from > > /usr/X11R6/lib/browser_plugins/ to the plugin path in jdk directory, I > > get this error message on starting Mozilla: > > > > LoadPlugin: failed to initialize shared library >

About SCSI devices on freebsd 5.4...?

2005-10-20 Thread perikillo
Hi people, i have this tape: Seagate STD224000N, is plug into one scsi pci card, freebsd is using this drives: *ahc *pass *sa My questions is, i need to setup first the pci-card on my BIOS or there is no problem if the BIOS dont have the driver? This all my doubt, thanks all for your tim

non-English character support

2005-10-20 Thread Alex Teslik
Hello, I have several files on my system that I have received from various sources - French, German, and Italian. They have all flavors of accents and umlauts. When I list these files in my Konsole, the filenames are all messed up - but only on the non-English characters (I'm assuming the char

Re: natd redirect help

2005-10-20 Thread guru
El día Thursday, October 20, 2005 a las 02:19:55PM -0500, Efren Bravo escribió: > Hi, > > I've a freebsd5.4 with ipfw and natd. I need that external users can enter > to my internal network services (http, ftp, etc). > > freebsd box: > out interface: 200.x.x.x > in interface: 10.x.x.x > > /etc

mbr and boot disks?

2005-10-20 Thread Mark
Hi I am currently dual booting between windows and freebsd but I need to reinstall windows on the other partition. How do I create a freebsd boot disk so that after windows rewrites my mbr I can still get back to bsd? Then how would I re-install freebsd's boot manager so I can continue to dual bo

Re: Epson Stylus C65

2005-10-20 Thread Mike Jeays
On Thu, 2005-10-20 at 20:36, Alejandro Pulver wrote: > On Wed, 19 Oct 2005 22:14:59 -0400 > Mike Jeays <[EMAIL PROTECTED]> wrote: > > > I had a good bit of trouble with the very similar C86. Google for the > > DeviceModel parameter values if these don't work with a C65. You need > > to install ij

Learning to write FreeBSD Device Drivers

2005-10-20 Thread Peter Clutton
Hi everyone, hope this isn't too off topic. I'm a sysadmin who taught myself programming (and have worked as a PHP ad MYSQL developer) and really want to develop my FreeBSD skills, and hopefully one day be able to give something back to FreeBSD. I want to start writing device drivers, and would lo

Re: compile error

2005-10-20 Thread Kris Kennaway
On Thu, Oct 20, 2005 at 04:33:57PM -0700, vijay singh wrote: > Hello, I see the following error on a (kernel) make, after a recent cvsup. > 11# make > cc -c -O2 -pipe -fno-strict-aliasing -Wall -Wredundant-decls > -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith > -Winline

Re: Epson Stylus C65

2005-10-20 Thread Alejandro Pulver
On Wed, 19 Oct 2005 22:14:59 -0400 Mike Jeays <[EMAIL PROTECTED]> wrote: > I had a good bit of trouble with the very similar C86. Google for the > DeviceModel parameter values if these don't work with a C65. You need > to install ijsgimpprint, of course. At present, my etc/printcap file > says: >

Re: bzegrep behaviour not consistent with egrep?

2005-10-20 Thread Parv
in message <[EMAIL PROTECTED]>, wrote Jung-uk Kim thusly... > > On Thursday 20 October 2005 04:57 pm, Parv wrote: > > in message <[EMAIL PROTECTED]>, > > wrote James Long thusly... ... > > > $ bzegrep "38436|41640" /var/log/maillog.0.bz2 | wc -l > > >0 > > > $ bzcat /var/log/maillog.0.bz2 |

Re: xeon or Opteron

2005-10-20 Thread Sean
Miguel wrote: Hi, im my office we'll replace several DL380 Xeons at the end of the year, i have been playing with serveral desktop using gentoo on amd 64, great performance, several time faster than the pentiums, although we prefer to use freebsd for the servers. i was wondering what is the c

Re: removable usb media don't present devices to mount

2005-10-20 Thread Ryan Zeigler
On Thursday 20 October 2005 04:29 pm, you wrote: > Ryan Zeigler wrote: > >I'm using FreeBSD 6.0-rc1, and I'm having trouble with removable usb > > memory drives. I plug the device in, and get this from dmesg: > > > >umass0: LEXAR MEDIA JUMPDRIVE2, rev 2.00/1.25, addr 2 > > > >There is no mention a

compile error

2005-10-20 Thread vijay singh
Hello, I see the following error on a (kernel) make, after a recent cvsup. 11# make cc -c -O2 -pipe -fno-strict-aliasing -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -std=c99 -nostdinc -I- -I. -I../../..

Java + Linux

2005-10-20 Thread Charles Smyth
Hi there, When I have downloaded the patches and parts from sun.com into the distfiles directory and run ‘make install’ in /usr/ports/java/jdk14 for FreeBSD 5.4/6.0 all goes okay apart from a prompt about also running make install again, with the Linux parts. Not doing this seems to work okay, as

xeon or Opteron

2005-10-20 Thread Miguel
Hi, im my office we'll replace several DL380 Xeons at the end of the year, i have been playing with serveral desktop using gentoo on amd 64, great performance, several time faster than the pentiums, although we prefer to use freebsd for the servers. i was wondering what is the current state of

Re: FreeBSD UFS2 snapshots, and math ...

2005-10-20 Thread Andrew P.
On 10/21/05, Gayn Winters <[EMAIL PROTECTED]> wrote: > > -Original Message- > > From: [EMAIL PROTECTED] > > [mailto:[EMAIL PROTECTED] On Behalf Of Andrew P. > > Sent: Thursday, October 20, 2005 12:35 PM > > To: user > > Cc: freebsd-questions@freebsd.org > > Subject: Re: FreeBSD UFS2 snapsho

Re: Printing quota ?

2005-10-20 Thread Erik Norgaard
On Thu, 20 Oct 2005, Frank Bonnet wrote: LPRng calls the script with user information as command line options and the document on STDIN. The script determines the user from the command line option and counts pages in postscript documents by parsing STDIN. If the document doesn't look enough l

RE: FreeBSD UFS2 snapshots, and math ... - resolved, but two more Qs

2005-10-20 Thread Gayn Winters
> -Original Message- > From: user [mailto:[EMAIL PROTECTED] > Sent: Thursday, October 20, 2005 1:51 PM > To: Gayn Winters > Cc: 'Andrew P.'; freebsd-questions@freebsd.org > Subject: RE: FreeBSD UFS2 snapshots, and math ... - resolved, > but two more Qs > > > > Folks, > > On Thu, 20

Re: bzegrep behaviour not consistent with egrep?

2005-10-20 Thread Jung-uk Kim
On Thursday 20 October 2005 04:57 pm, Parv wrote: > in message <[EMAIL PROTECTED]>, > wrote James Long thusly... > > > Should these two commands produce identical output? > > > > $ bzegrep "38436|41640" /var/log/maillog.0.bz2 | wc -l > >0 > > $ bzcat /var/log/maillog.0.bz2 | egrep "38436|41

RE: FreeBSD UFS2 snapshots, and math ... - resolved, but two more Qs

2005-10-20 Thread user
Folks, On Thu, 20 Oct 2005, Gayn Winters wrote: > > Imagine that each data block is marked with labels > > on change. It doesn't matter how many labels there > > are, there will be only one data block saved. > > In trying to follow this thread, I started looking around for a precise > definitio

Re: removable usb media don't present devices to mount

2005-10-20 Thread Rem P Roberti
Ryan Zeigler wrote: I'm using FreeBSD 6.0-rc1, and I'm having trouble with removable usb memory drives. I plug the device in, and get this from dmesg: umass0: LEXAR MEDIA JUMPDRIVE2, rev 2.00/1.25, addr 2 There is no mention at all of /dev/da0, which is, as I understand it, the device that

RE: FreeBSD UFS2 snapshots, and math ...

2005-10-20 Thread Gayn Winters
> -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Andrew P. > Sent: Thursday, October 20, 2005 12:35 PM > To: user > Cc: freebsd-questions@freebsd.org > Subject: Re: FreeBSD UFS2 snapshots, and math ... > Imagine that each data block is marked with la

Having Some Trouble with Java on FreeBSD

2005-10-20 Thread Franklin E. Powers, Jr.
I've been having a small amount of trouble with running Java on FreeBSD (version 5.4 for amd64) and I was hoping that someone would be kind enough to help me out. I manually installed the linux version of Java. Which seemed to work alright and then I was trying to build the native version usi

removable usb media don't present devices to mount

2005-10-20 Thread Ryan Zeigler
I'm using FreeBSD 6.0-rc1, and I'm having trouble with removable usb memory drives. I plug the device in, and get this from dmesg: umass0: LEXAR MEDIA JUMPDRIVE2, rev 2.00/1.25, addr 2 There is no mention at all of /dev/da0, which is, as I understand it, the device that is traditionally presen

Re: panicking newbie with dj-plans

2005-10-20 Thread albi
albi wrote: > http://www.freshports.org/audio/mixxx/ says that the port for mixxx is > temp. not usable ouch, excuse my ignorance.. the freshports.org info is perhaps outdated ? /usr/ports/audio/mixxx ] # make install => mixxx-1.4.2.tar.gz doesn't seem to exist in /usr/ports/distfiles/. => Attem

Re: FreeBSD UFS2 snapshots, and math ...

2005-10-20 Thread Andrew P.
On 10/20/05, user <[EMAIL PROTECTED]> wrote: > > Hello, > > On 20 Oct 2005, Lowell Gilbert wrote: > > > user <[EMAIL PROTECTED]> writes: > > > > > Let's say I have a filesystem, and on that filesystem I create a snapshot > > > every single night, and every night I delete the snapshot from 5 nights

Re: panicking newbie with dj-plans

2005-10-20 Thread albi
On Thu, 20 Oct 2005 21:00:21 +0200 Linnea Forslund <[EMAIL PROTECTED]> wrote: > And now I need to use it for amateur dj-ing on thursday. Panic! I dont > even know how to move files really and wouldn't know how to work with > an external harddrive with other people's music files on. And most > defi

Re: panicking newbie with dj-plans

2005-10-20 Thread Michael C. Shultz
On Thursday 20 October 2005 12:00, Linnea Forslund wrote: > Hello boys and girls! > > I was introduced to freeBSD some time ago by a friend who then became > less of a friend since an argument we had shortly after he installed > the os on my computer and got me started with it. Since then I've only

panicking newbie with dj-plans

2005-10-20 Thread Linnea Forslund
Hello boys and girls! I was introduced to freeBSD some time ago by a friend who then became less of a friend since an argument we had shortly after he installed the os on my computer and got me started with it. Since then I've only used the computer for basic things like downloading music, downloa

Re: FreeBSD UFS2 snapshots, and math ...

2005-10-20 Thread user
Hello, On 20 Oct 2005, Lowell Gilbert wrote: > user <[EMAIL PROTECTED]> writes: > > > Let's say I have a filesystem, and on that filesystem I create a snapshot > > every single night, and every night I delete the snapshot from 5 nights > > ago. This means that at all times, I have four snapsho

Re: FreeBSD UFS2 snapshots, and math ...

2005-10-20 Thread Lowell Gilbert
user <[EMAIL PROTECTED]> writes: > I am trying to budget some disk space for filesystems with snapshots > enabled on them. > > The following is simplified - I am just trying to get my concepts in > order: > > Let's say I have a filesystem, and on that filesystem I create a snapshot > every singl

Re: freeBSD 6 server motherboard recommendation ??

2005-10-20 Thread Andrew P.
On 10/20/05, ke.han <[EMAIL PROTECTED]> wrote: > Dear List, > Yes I know this is an often asked question and there is lots of info on > the web. But I have been reading for 6 hours and my head is swimming > and I'm still am not closer to an answer. I need to get a freeBSD 6 > server in production

Re: FreeBSD UFS2 snapshots, and math ...

2005-10-20 Thread user
Doug, On Thu, 20 Oct 2005, Doug Poland wrote: > On Thu, Oct 20, 2005 at 11:01:42AM -0400, user wrote: > > > > Finally, are there any snapshot diag tools at all ? Like, something that > > reports snapshot sizes, percent of disk used for snapshots, and maybe even > > a way for me to actually cal

natd redirect help

2005-10-20 Thread Efren Bravo
Hi, I've a freebsd5.4 with ipfw and natd. I need that external users can enter to my internal network services (http, ftp, etc). freebsd box: out interface: 200.x.x.x in interface: 10.x.x.x /etc/rc.conf file: -- gateway_enable="YES" firewall_enable="YES" firewall_script="/etc/i

Re: freeBSD 6 server motherboard recommendation ??

2005-10-20 Thread Peter A. Giessel
On 10/20/2005 09:29, ke.han seems to have typed: > 1 - 2 x CPU (Pentium or Opteron is ok with me) If you are going to use AMD64, try here: http://www.freebsd.org/platforms/amd64/motherboards.html otherwise try here: http://www.freebsd.org/releases/5.4R/hardware-i386.html

Re: Nagios Client on FreeBSD 5.4

2005-10-20 Thread Mike Woods
pete wright wrote: You can also monitor disk load and activity via net-snmp. I use net-snmp to monitor large networks of heterogenous hardware and OS's (*BSD/Linux/IRIX/Solaris/etc..) along side nagios. Granted SNMP may not be a viable protocol to use on the public internet... Indeed, with

freeBSD 6 server motherboard recommendation ??

2005-10-20 Thread ke.han
Dear List, Yes I know this is an often asked question and there is lots of info on the web. But I have been reading for 6 hours and my head is swimming and I'm still am not closer to an answer. I need to get a freeBSD 6 server in production in less than a week and don't have the skills to tw

Re: sftp and escape characters

2005-10-20 Thread Will Maier
On Thu, Oct 20, 2005 at 10:01:45AM -0700, ross wrote: > my prompt copy and pasted. > sftp> put "/mnt/pammy/music/Nadasurf-\ Popular.mp3" /files/upload > Bad escaped character ' ' > sftp> put '/mnt/pammy/music/Nadasurf-\ Popular.mp3' /files/upload > Bad escaped character ' ' If you're putting the

Re: sftp and escape characters

2005-10-20 Thread ross
On Thu, 20 Oct 2005 05:22:14 -0700, Daniel <[EMAIL PROTECTED]> wrote: On 10/20/05, ross <[EMAIL PROTECTED]> wrote: I tried that already and got the error Bad escaped character ' ' Can you past everything you entered, exactly as it appears? my prompt copy and pasted. sftp> put "/mnt/pa

Installing PHP5 in parallel with PHP4

2005-10-20 Thread Toomas Aas
Hello! We have a webserver where www/php4-cgi port is currently installed. Now we want to add PHP5, but we have some web applications which are not compatible with PHP5, so initially we want to have a server with both PHP4 and PHP5 installed. So far I did the following: mkdir /usr/local/php

Re: creating snapshot capable ufs2 filesystems _after the fact_

2005-10-20 Thread Dan Nelson
In the last episode (Oct 20), user said: > I was just looking at the man page for newfs, and the new "-n" option > ... basically if you newfs with -n, a .snap directory is not created > in the new filesystem, and thus that new filesystem will not support > snapshots. > > Does this mean that if I

Re: A simple ports question...

2005-10-20 Thread RW
On Thursday 20 October 2005 16:35, makisupa wrote: > Thanks for the reply... > > My ports tree is up to date -- i believe the "problem" (if you want to > call it that) is that I installed gnome 2.12 from package at marcuscom > (on a 6.0 RC1 system -- i needed 6.0 for some HW issues). I therefore >

creating snapshot capable ufs2 filesystems _after the fact_

2005-10-20 Thread user
I was just looking at the man page for newfs, and the new "-n" option ... basically if you newfs with -n, a .snap directory is not created in the new filesystem, and thus that new filesystem will not support snapshots. Does this mean that if I simply `mkdir .snap` in the root of a filesystem that

RE: Portversion question

2005-10-20 Thread Brian E. Conklin
> -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Rem > P Roberti > Sent: Thursday, October 20, 2005 9:12 AM > To: FreeBSD > Subject: Portversion question > > > This continues to vex me. Portversion is indicating as out > of date that > which is

Re: Portversion question

2005-10-20 Thread Andrew P.
On 10/20/05, Rem P Roberti <[EMAIL PROTECTED]> wrote: > This continues to vex me. Portversion is indicating as out of date that > which is apparently not out of date. For example, my current tree (done > this morning) indicates that apsfilter 7.2.6 should be current. > Pkg_info indicates that ver

Portversion question

2005-10-20 Thread Rem P Roberti
This continues to vex me. Portversion is indicating as out of date that which is apparently not out of date. For example, my current tree (done this morning) indicates that apsfilter 7.2.6 should be current. Pkg_info indicates that version as installed. Portversion indicates out of date. W

Re: Imap-uw and openssl certificate

2005-10-20 Thread Sean Murphy
Dick Hoogendijk wrote: On 19 Oct Frank Staals wrote: Don't be so certain about that. "fstaals.net" *is* a valid hostname, and its IP-address can easily be found via DNS, and it can be connected to. The MX-configuration of my domain is pointing to fstaals.net , to add an subdomain for my sma

Re: MiniDV over firewire howto

2005-10-20 Thread Mark Kane
Igor Robul wrote: Erik Norgaard wrote: Hi, I have just discovered that Canon MiniDV series have different names in US which may explain why I haven't got much response on my previous posts on this. I want to buy a camcorder and like the specs of Canon MiniDV's, I failed when trying MVX200

Re: FreeBSD UFS2 snapshots, and math ...

2005-10-20 Thread Doug Poland
On Thu, Oct 20, 2005 at 11:01:42AM -0400, user wrote: > > Finally, are there any snapshot diag tools at all ? Like, something that > reports snapshot sizes, percent of disk used for snapshots, and maybe even > a way for me to actually calculate what the percent change for time period > X is for a

Re: A simple ports question...

2005-10-20 Thread makisupa
Thanks for the reply... My ports tree is up to date -- i believe the "problem" (if you want to call it that) is that I installed gnome 2.12 from package at marcuscom (on a 6.0 RC1 system -- i needed 6.0 for some HW issues). I therefore have newer versions of certain files than many of the ports i

lnc0: Start of packet found before end of previous in transmit ring -- Resetting

2005-10-20 Thread Can Berk Guder
Hi everyone, I have an IBM PC Server 325 running FreeBSD 5.4-RELEASE. I set this system up last year, and since the kernel didn't support the Ethernet card, I had to rebuild the kernel and include the lnc driver. Since then, everything seemed to be fine. Anyway, a few weeks ago I had to b

Re: Portupgrade problem

2005-10-20 Thread Lowell Gilbert
"Craig Deal" <[EMAIL PROTECTED]> writes: > What is the best way to keep the system up-to-date if you use packages? The > manual is fairly clear if you use ports, but things get kinda vague (for me > anyway) when it comes to packages. I have successfully installed (from > packages) a working system

Re: Nagios Client on FreeBSD 5.4

2005-10-20 Thread pete wright
On 10/20/05, Mike Woods <[EMAIL PROTECTED]> wrote: > > Deepak Naidu wrote: > > > > If I want to monitor load, disk space, http etc service I have > > install entire nagios package or nagios-statsd, or plugins ? > > SMTP, http imap etc can all be monitored over the internet by the nagios > box since

How to remove a "Hotplug" Laptop CD/DVD Drive

2005-10-20 Thread Thomas Linton
What is the correct and safe way to remove a "Hotplug" CD/DVD Drive from a Laptop? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Re: Printing quota ?

2005-10-20 Thread Frank Bonnet
Erik Norgaard wrote: LPRng calls the script with user information as command line options and the document on STDIN. The script determines the user from the command line option and counts pages in postscript documents by parsing STDIN. If the document doesn't look enough like postscript it

Re: Changing the region code of DVD-Drive

2005-10-20 Thread Thomas Linton
I could not compile regionset out of the box. I had to change line 37 in dvd_udf.c to FreeBSD instead of OpenBSD. zap... #if defined(__FreeBSD__) zap... The bad thing: regionset is not working; I get following output: kingkong# ./regionset ERROR: Could not open disc "(null)"! Please plac

Pam auth

2005-10-20 Thread Steve Bertrand
Hello all, My brother-in-law runs his own business, and his IT guy has recently left, leaving no passwords or anything. The entire network is a complete mickey mouse setup which I'm revamping properly for him. There is a single FBSD 5.2.1 box that I have been working on and the problem is this:

Re: A simple ports question...

2005-10-20 Thread RW
On Thursday 20 October 2005 15:25, makisupa wrote: > How would you install a port that had dependencies that were older than > identical items on your system? > > For example, you install portx that requires depend1.1 -- you have > depend1.2 on your system. This will happen if you have an out-of

Re: Multiple CPUs without SMP

2005-10-20 Thread Greg 'groggy' Lehey
On Thursday, 20 October 2005 at 18:06:29 +0400, Andrew P. wrote: > On 10/20/05, Greg 'groggy' Lehey <[EMAIL PROTECTED]> wrote: >> On Thursday, 20 October 2005 at 15:15:39 +0400, Andrew P. wrote: >>> I don't need SMP, I would settle on manually assigning CPU affinity >>> to each processor, but I gat

FreeBSD UFS2 snapshots, and math ...

2005-10-20 Thread user
I am trying to budget some disk space for filesystems with snapshots enabled on them. The following is simplified - I am just trying to get my concepts in order: Let's say I have a filesystem, and on that filesystem I create a snapshot every single night, and every night I delete the snapshot fr

Re: [Fwd: Re: port config questions]

2005-10-20 Thread RW
On Thursday 20 October 2005 03:52, Parv wrote: > in message <[EMAIL PROTECTED]>, > wrote RW thusly... > > > The blue menu screens are a useful way of spotting new port > > options, and you lose that if you set BATCH. > > OPTIONS are right there in the Makefile. I have 470 ports installed, that'

RE: Portupgrade problem

2005-10-20 Thread Craig Deal
> -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > On Behalf Of Lowell Gilbert > Sent: Thursday, October 20, 2005 9:02 AM > To: Craig Deal > Cc: freebsd-questions@freebsd.org > Subject: Re: Portupgrade problem > > "Craig Deal" <[EMAIL PROTECTED]> writes: > > > >

Re: Weird SSH problem... Any ideas?!?

2005-10-20 Thread David Kirchner
On 10/20/05, Olaf Greve <[EMAIL PROTECTED]> wrote: > Hi, > > > Well, it all seems to be a question of granting users access to the > > right file. Have you checked permissions on /etc/passwd and /etc/pwd.db ? > > These are both 644, owned by root:wheel. > > > These should be world readable while /e

A simple ports question...

2005-10-20 Thread makisupa
How would you install a port that had dependencies that were older than identical items on your system? For example, you install portx that requires depend1.1 -- you have depend1.2 on your system. Running 'make install clean' will generate an error code stating that you have an OLDER version --

Re: FreeBSD 5.4 on a Sun Fire v40z

2005-10-20 Thread Matteo Quintiliani
On 20 Oct 2005, at 10:30, Matteo Quintiliani wrote: Hi, yesterday I tried to install FreeBSD 5.4-amd64 on a Sun Fire v40z. Installation works fine, it finds any hardware and I'm able to configure any setting. The problem occurs when server is booting. I get a black screen and the server re

Re: Multiple CPUs without SMP

2005-10-20 Thread Andrew P.
On 10/20/05, Greg 'groggy' Lehey <[EMAIL PROTECTED]> wrote: > On Thursday, 20 October 2005 at 15:15:39 +0400, Andrew P. wrote: > > I'm kinda confused. > > Yes, that's possible. > > > Can I use both processors with a non-SMP kernel? > > No. > > > I don't need SMP, I would settle on manually assignin

Re: (bourne)shell variable names containing a variable?

2005-10-20 Thread Malcolm Kay
On Thu, 20 Oct 2005 10:47 pm, Emanuel Strobl wrote: > #!/bin/sh > list="one two three four" > > for item in $list; do >   ${item}_present=yes eval ${item}_present=yes > done echo $one_present echo $two_present echo $three_present echo $four_present ==> yes yes yes yes Malcolm Kay _

Re: Portupgrade problem

2005-10-20 Thread Lowell Gilbert
"Craig Deal" <[EMAIL PROTECTED]> writes: > > -Original Message- > > From: [EMAIL PROTECTED] > > [mailto:[EMAIL PROTECTED] On Behalf Of > > Lowell Gilbert > > How did you install ruby? > > That's the program (as opposed to portupgrade) that's trying > > to link to the wrong library, a

Re: dovecot can not find mailbox

2005-10-20 Thread Peter A. Giessel
As Greg Lehey always writes: [Format recovered--see http://www.lemis.com/email/email-format.html] Also, please CC the list, I'm not an expert by any means, so others may be able to help when I can't and others may benefit from the discussion. Dave wrote: - Original Message - From: "Peter

Re: libdl.so.2 not found for java plugin

2005-10-20 Thread Lowell Gilbert
N Deepak <[EMAIL PROTECTED]> writes: > Hi, > > I am trying to get Java plug-in for Mozilla working. I have read the > handbook and compiled/installed ports/java/linux-sun-jdk14/ > > I can execute /usr/local/linux-sun-jdk1.4.2/bin/java. > > When I symlink libjavaplugin_oji.so from > /

Re: PPP setup through OS X

2005-10-20 Thread Lowell Gilbert
Live-Wire <[EMAIL PROTECTED]> writes: > I'm going to be connecting my 5.4 box w/ no monitor to my network, but > before I move it to the router area I want to make sure > I'll be able to change the network configuration without lugging the > box back to where I can plug it into a monitor. Is there

Re: switching from layer 2 to layer 3 in C programming

2005-10-20 Thread Chuck Swiger
Bsderss wrote: I m in developing a network application (from layer 2 to 3). Can anyone tell me how to switch from layer 2 to layer 3 in C programming? I'm not sure what you mean by this, but a literal answer can be found in: /usr/include/net/if_arp.h ...and "man 4 arp". -- -Chuck ___

Re: Weird SSH problem... Any ideas?!?

2005-10-20 Thread Erik Norgaard
On Thu, 20 Oct 2005, Olaf Greve wrote: Well, it all seems to be a question of granting users access to the right file. Have you checked permissions on /etc/passwd and /etc/pwd.db ? These are both 644, owned by root:wheel. These should be world readable while /etc/master.passwd and /etc/spwd.d

Re: Helix plugin with Firefox

2005-10-20 Thread Malcolm Kay
On Thu, 20 Oct 2005 06:43 pm, Beecher Rintoul wrote: > I would like to get realplayer working in firefox, but it > keeps crashing firefox on load. Launching realplay from the > command line works fine. I have the latest firefox and > linuxpluginwrapper installed and about:plugins in firefox > corre

Re: Weird SSH problem... Any ideas?!?

2005-10-20 Thread Olaf Greve
Hi, Well, it all seems to be a question of granting users access to the right file. Have you checked permissions on /etc/passwd and /etc/pwd.db ? These are both 644, owned by root:wheel. These should be world readable while /etc/master.passwd and /etc/spwd.db should not. These are both 600

(bourne)shell variable names containing a variable?

2005-10-20 Thread Emanuel Strobl
Hello, I try to assign a value to a variable, but the variable should consist of another variable. Is this possible (in bourne shell)? Example: #!/bin/sh list="one two three four" for item in $list; do ${item}_present=yes done This doesn't work since the shell tries to execute "one_present=

Re: Stopping the logging to console from pf ?

2005-10-20 Thread kilim
On Thu, Oct 20, 2005 at 05:08:22AM -0700, Glenn Dawson wrote: > You could set kern.consmute=1 using sysctl and see if that does the > trick. Keep in mind that will also silence quite a few other > things. Although my original problem was solved (see my reply to Andrew P. in the thread), thanks

Re: Weird SSH problem... Any ideas?!?

2005-10-20 Thread Erik Norgaard
On Thu, 20 Oct 2005, Olaf Greve wrote: I do notice something weird though, which I also noticed from a warning Amavisd-new has given me: for some reason unpriviliged users do not seem to "see" their login name, but rather only their UID, when performing a "whoami" call?!? Seems to be related

Re: Multiple CPUs without SMP

2005-10-20 Thread Greg 'groggy' Lehey
On Thursday, 20 October 2005 at 15:15:39 +0400, Andrew P. wrote: > I'm kinda confused. Yes, that's possible. > Can I use both processors with a non-SMP kernel? No. > I don't need SMP, I would settle on manually assigning CPU affinity > to each processor, but I gather FreeBSD can only handle 2+

Re: Stopping the logging to console from pf ?

2005-10-20 Thread kilim
On Thu, Oct 20, 2005 at 03:57:14PM +0400, Andrew P. wrote: > Could you try stopping syslogd for a while - just to see if the > messages are coming through it. "/etc/rc.d/syslogd stop" Thank you very much Andrew P. ! Once I stopped it, the messages kept on pouring to the console. So I had a look

Re: possible breakin attempt?

2005-10-20 Thread Francisco Reyes
dawnshade wrote: On Tuesday 18 October 2005 21:19, Anthony Philipp wrote: see man ssd_config for directive UseDNS or just block tcp/22 from not trusted hosts. Another helpfull thing to do is to limit what users can connect through SSH using the AllowUsers directive. In your /etc/sshd_co

Re: Weird SSH problem... Any ideas?!?

2005-10-20 Thread Olaf Greve
Hi, > Some things to try, in sshd_config set: > > PrintLastLog=no > LogLevel=DEBUG Tnx a lot, this did the trick!!! I first tried it without the "PrintLastLog no" command, and with a proper AllowUsers line and that still didn't allow the login over SSH. Then, adding that "PrintLastLog no" li

Re: sftp and escape characters

2005-10-20 Thread Daniel
On 10/20/05, ross <[EMAIL PROTECTED]> wrote: > > I tried that already and got the error > > Bad escaped character ' ' Can you past everything you entered, exactly as it appears? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/m

Re: Basic FreeBSD firewall and patching questions.

2005-10-20 Thread Francisco Reyes
Daniel Pittman wrote: It looks to me like either ipf or ipfilter are equally good, and have about the same capabilities, While you are getting started and to test rules you could use /etc/hosts.allow also. You may already be familiar with it from other OSs.. We use to keep a list of what IP

Re: Printing quota ?

2005-10-20 Thread Lee Capps
At 09:46 Thu 20 Oct 2005, Frank Bonnet wrote: > Hello > > I'm searching for a free software that perform print accounting > interface with CUPS welcome. > PyKota: http://www.librelogiciel.com/software/PyKota/action_Presentation -- Lee Capps Technology Specialist CTE Resource Center

Re: Stopping the logging to console from pf ?

2005-10-20 Thread Glenn Dawson
At 04:18 AM 10/20/2005, kilim wrote: Hello Erik, and thanks for the fast reply ! On Thu, Oct 20, 2005 at 12:53:53PM +0200, Erik Norgaard wrote: > On Thu, 20 Oct 2005, kilim wrote: > > >I'd like to stop pf logging to the console. > have you tried to set this in rc.conf? > > pflog_enable="YES

Re: Stopping the logging to console from pf ?

2005-10-20 Thread Andrew P.
On 10/20/05, kilim <[EMAIL PROTECTED]> wrote: > > Hello Erik, > > and thanks for the fast reply ! > > On Thu, Oct 20, 2005 at 12:53:53PM +0200, Erik Norgaard wrote: > > On Thu, 20 Oct 2005, kilim wrote: > > > > >I'd like to stop pf logging to the console. > > > > > have you tried to set this in rc

Re: Stopping the logging to console from pf ?

2005-10-20 Thread kilim
Hello Erik, and thanks for the fast reply ! On Thu, Oct 20, 2005 at 12:53:53PM +0200, Erik Norgaard wrote: > On Thu, 20 Oct 2005, kilim wrote: > > >I'd like to stop pf logging to the console. > have you tried to set this in rc.conf? > > pflog_enable="YES" I've set this in /etc/rc.conf at

Multiple CPUs without SMP

2005-10-20 Thread Andrew P.
I'm kinda confused. Can I use both processors with a non-SMP kernel? I don't need SMP, I would settle on manually assigning CPU affinity to each processor, but I gather FreeBSD can only handle 2+ CPUs with SMP enabled. On a 5.4 box without SMP mptables show both CPUs though: <...> MP Config Base

Re: Nagios Client on FreeBSD 5.4

2005-10-20 Thread Deepak Naidu
Thanx again Mike for detail explanation. Cheers, Deepak Naidu. Mike Woods <[EMAIL PROTECTED]> wrote: Deepak Naidu wrote: > If I want to monitor load, disk space, http etc service I have > install entire nagios package or nagios-statsd, or plugins ? SMTP, http imap etc can all be monitored ove

Re: Stopping the logging to console from pf ?

2005-10-20 Thread Erik Norgaard
On Thu, 20 Oct 2005, kilim wrote: Hello, I'd like to stop pf logging to the console. So I've read syslog.conf(5) & syslogd(8) and then I tried my best with /etc/syslog.conf. By deleting one service after another: *.err;kern.warning;auth.notice;mail.crit /dev/console where I've jus

Re: FreeBSD 5.4 on a Sun Fire v40z

2005-10-20 Thread Deepak Naidu
I have a running FreeBSD 5.4 installation on SunFire amd 64 v20 dual cpu I know its not same, but the scsi disk detected and is performing fine. Regarding the partition, I have noticed that if you partition /boot on seperate partition then the boot fails(this is comman for any intel or am

Stopping the logging to console from pf ?

2005-10-20 Thread kilim
Hello, I'd like to stop pf logging to the console. So I've read syslog.conf(5) & syslogd(8) and then I tried my best with /etc/syslog.conf. By deleting one service after another: *.err;kern.warning;auth.notice;mail.crit /dev/console where I've just completely commented out any loggin

Re: Nagios Client on FreeBSD 5.4

2005-10-20 Thread Mike Woods
Deepak Naidu wrote: If I want to monitor load, disk space, http etc service I have install entire nagios package or nagios-statsd, or plugins ? SMTP, http imap etc can all be monitored over the internet by the nagios box since the check plugins for those are tcp/ip based, things like disk

Re: Nagios Client on FreeBSD 5.4

2005-10-20 Thread Deepak Naidu
Right Mike, this is what exactly I want. More details are I have LVS server in Linux, installed with Nagios. I have 5 spam servers and 5 IMAP and POP servers, from which 2 spam servers are FreeBSD 5.4. I have been monitoring them through Linux nagios, and running nrpe on clients. But now f

Need your help: Bad file descriptor and too many files open

2005-10-20 Thread Axel . Gruner
Hi, I get the following messages sometimes if i try to restart sshd: #etc/rc.d/sshd restart eval: Pipe call failed: Bad file descriptor eval: Pipe call failed: Bad file descriptor [...] #/etc/rc.d/sshd restart /etc/rc.subr: Pipe call failed: Too many open files in system I am running 5.4-RELEAS

Re: Weird SSH problem... Any ideas?!?

2005-10-20 Thread Erik Norgaard
On Thu, 20 Oct 2005, Olaf Greve wrote: Oct 20 11:39:40 milx sshd[48147]: Accepted keyboard-interactive/pam for abcdef from 123.45.67.89 port 35335 ssh2 Oct 20 11:39:40 milx sshd[48150]: fatal: login_get_lastlog: Cannot find account for uid 1234 Some things to try, in sshd_config set: PrintLa

Re: Weird SSH problem... Any ideas?!?

2005-10-20 Thread Alex Zbyslaw
Olaf Greve wrote: Hi, Yesterday it has been brought to my attention that SSH access is not working well on my new server. The background: I have set-up a new server (FreeBSD 5.4-Release AMD/64) and I migrated the user accounts from my old server (FreeBSD 5.2.1-Release i386). Now, I was u

Re: Nagios Client on FreeBSD 5.4

2005-10-20 Thread Mike Woods
Deepak Naidu wrote: Hi, I wanted to install nagios client on FreeBSD 5.4. I want to monitor my SMTP (25) and disk usage etc to be monitored from Nagios server installed on Linux box. How do I do... In linux there is Nagios-Client.rpm. What is the alternative on FreeBSD I dont want the se

  1   2   >