From jd_bronson at sbcglobal.net Mon Sep 1 00:14:42 2008
From: jd_bronson at sbcglobal.net (J.D. Bronson)
Date: Mon Sep 1 00:14:49 2008
Subject: dump/restore don't work, handbook lies
In-Reply-To: <48BB2359.4000208@xmission.com>
References: <48BB2359.4000208@xmission.com>
Message-ID: <200808312353.m7VNrbCI024287@cheyenne.hanadarko.com>
At 05:03 PM 8/31/2008 -0600, Lloyd M Caldwell wrote:
>Hello,
>
>this all on a 7.0 freebsd system.
>
>Dump/Restore do NOT work as indicated in the handbook (or man
>pages). It would be better to remove information from the handbook
>rather then have information that doesn't work.
Are you trying to resize the same disc or migrate to a NEW disk?
Migrating to a new (larger) disc is trivial, at least in my experience.
(I have never tried to resize any partitions though on a same disc,
since new hard drives are cheap enough)
Here is what I do to migrate to a totally new disc:
Shutdown and install 2nd DRIVE
boot machine...
run sysinstall on the 2nd DRIVE (slice/dice/and setup MBR)
then I run a small script like this:
(Some presumptions are made ahead of time here)
#!/bin/sh
newfs /dev/ad2s1a
newfs /dev/ad2s1d
newfs /dev/ad2s1e
newfs /dev/ad2s1f
newfs /dev/ad2s1g
newfs /dev/ad2s1h
sleep 4
tunefs -n enable /dev/ad2s1a
tunefs -n enable /dev/ad2s1d
tunefs -n enable /dev/ad2s1e
tunefs -n enable /dev/ad2s1f
tunefs -n enable /dev/ad2s1g
tunefs -n enable /dev/ad2s1h
sleep 4
mount /dev/ad2s1a /mnta
mount /dev/ad2s1d /mntd
mount /dev/ad2s1e /mnte
mount /dev/ad2s1f /mntf
mount /dev/ad2s1g /mntg
mount /dev/ad2s1h /mnth
dump -C 32 -0Lf - / | ( cd /mnta ; restore xf - )
dump -C 32 -0Lf - /usr | ( cd /mntd ; restore xf - )
dump -C 32 -0Lf - /var | ( cd /mnte ; restore xf - )
dump -C 32 -0Lf - /home | ( cd /mntf ; restore xf - )
dump -C 32 -0Lf - /staff | ( cd /mntg ; restore xf - )
dump -C 32 -0Lf - /users | ( cd /mnth ; restore xf - )
umount /mnt*
Then shut down.
Place the 2nd drive in the 1st slot and turn it back on.
Maybe there is a better or simpler way, but I have been doing this for years
and never had any issues.
YMMV
-JD
From wojtek at wojtek.tensor.gdynia.pl Mon Sep 1 00:39:41 2008
From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar)
Date: Mon Sep 1 00:39:48 2008
Subject: dump/restore don't work, handbook lies
In-Reply-To: <48BB2359.4000208@xmission.com>
References: <48BB2359.4000208@xmission.com>
Message-ID: <20080901023759.T20716@wojtek.tensor.gdynia.pl>
> man pages and have no clue how to rectify this. after re-reading the
> handbook on backup basics, I'm sure that anyone using them will loose
> everything. They are simply useless. take them offline.
i use restore regularly and it works.
anyway - i do test my backups at least full backups. but never got that.
From wojtek at wojtek.tensor.gdynia.pl Mon Sep 1 00:40:19 2008
From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar)
Date: Mon Sep 1 00:40:26 2008
Subject: dump/restore don't work, handbook lies
In-Reply-To: <871w04rbg5.fsf@kobe.laptop>
References: <48BB2359.4000208@xmission.com> <871w04rbg5.fsf@kobe.laptop>
Message-ID: <20080901023941.P20716@wojtek.tensor.gdynia.pl>
> Did you really run dump on a 'live' filesystem? The filesystem may be
> changing under the feet of dump, while it copies data. That is bound to
> cause trouble later on.
but shouldn't make NO files restored, maybe few files that was changed
while backing up.
From timothyk at wallnet.com Mon Sep 1 00:43:18 2008
From: timothyk at wallnet.com (Tim Kellers)
Date: Mon Sep 1 00:43:25 2008
Subject: bluefish question
In-Reply-To: <20080831224710.GA42854@thought.org>
References: <20080831224710.GA42854@thought.org>
Message-ID: <48BB3A9E.8080205@wallnet.com>
I used bluefish a few years ago, then went to quanta and finally settled
on (/usr/ports/www/kompozer) Kompozer. Kompozer is an udate to nvu
(which was the composer module in Mozilla) as a standalone application.
It still produces source code with some Netscapeisms, but it isn't
anything that isn't easily cleaned up (when necessary --like to produce
html e-mail) in an editor like kate, or kedit.
Tim
Gary Kline wrote:
> People,
>
> This ought to be On Topic ... for a change. Re the use of bluefish
> --and yes, I've finally gone soft to try to edit a large HTML/PHP file--
> when I swipe an area of text and stuff to be centered, and click on the
> center icon, bluefish prints:
>
>
> blah
> foo
> bar
>
>
> but I find the entire file centered then.
>
> If I click on the LEFT icon, it tries to print an
> bar, center, left, right. (Or, more correctly, it prints the markup
> that will yield a horizontal line.)
>
> Anybody know what's going on? and/or is there an easier markup editor
> in ports?
>
> tia.
>
> gary
>
> PS: Whatever happened to the good old days when Mozilla had an
> editor-mode builtin?
>
>
>
>
From prad at towardsfreedom.com Mon Sep 1 00:58:42 2008
From: prad at towardsfreedom.com (prad)
Date: Mon Sep 1 00:58:54 2008
Subject: bluefish question
In-Reply-To: <20080831224710.GA42854@thought.org>
References: <20080831224710.GA42854@thought.org>
Message-ID: <20080831175840.30c63637@gom.home>
On Sun, 31 Aug 2008 15:47:14 -0700
Gary Kline wrote:
> and/or is there an easier markup editor
> in ports?
>
hi gary!
i tried bluefish, but didn't like it personally.
kde's quanta is excellent and has lots of convenient features and uses
the very advanced kate as a basis - you don't have to run kde in order
to run kde programs. if you liked bluefish, i think you'll really like
quanta.
despite my fondness for quanta, i have ended up using emacs for the
past several years with the built-in html-mode (or you can splurge with
html-helper mode, though i found it a bit too elaborate). emacs
might take a bit more work to figure out in the beginning but it is a
really good all-purpose editor because it is as extensible as it is.
--
In friendship,
prad
... with you on your journey
Towards Freedom
http://www.towardsfreedom.com (website)
Information, Inspiration, Imagination - truly a site for soaring I's
From rambiusparkisanius at gmail.com Mon Sep 1 01:00:51 2008
From: rambiusparkisanius at gmail.com (Ivan "Rambius" Ivanov)
Date: Mon Sep 1 01:00:57 2008
Subject: Forwarding all mail to a local user
Message-ID: <89ce7f740808311800l15ed3df2k4b549cbf8f257f87@mail.gmail.com>
Hello list,
I have the following questions. How can I forward all mail sent to
@localhost to a rambius@localhost, where rambius is my own
user account in my FreeBSD system and can be anything
including a user name that does not exist on the local machine?
The reason I want this is the following: I am researching a CMS system
called e107. When users register in it with their email addresses they
are sent an activation email in which they have to click in order to
activate their accounts in e107. Right now I have e107 installed on my
laptop and I am registering some user accounts for testing purposes. I
do not want to create a local system account (with adduser) for each
different user - I just want the activation message sent to the email
address @localhost to be forwarded to rambius@localhost so
that I can rd iead from my mailbox and activate the test users.
I have default sendmail installation as provided by the base system
with no modifications of my own. This is my first time dealing with
sendmail and I will be grateful to any advice and hints. Thank you in
advance.
Regards
Rambius
P.S. I am using 7.0-RELEASE-p3 FreeBSD if this matters.
--
Tangra Mega Rock: http://www.radiotangra.com
From jeffrey at goldmark.org Mon Sep 1 01:24:11 2008
From: jeffrey at goldmark.org (Jeffrey Goldberg)
Date: Mon Sep 1 01:24:17 2008
Subject: Forwarding all mail to a local user
In-Reply-To: <89ce7f740808311800l15ed3df2k4b549cbf8f257f87@mail.gmail.com>
References: <89ce7f740808311800l15ed3df2k4b549cbf8f257f87@mail.gmail.com>
Message-ID:
[mailed and posted]
On Aug 31, 2008, at 8:00 PM, Ivan Rambius Ivanov wrote:
> I have the following questions. How can I forward all mail sent to
> @localhost to a rambius@localhost, where rambius is my own
> user account in my FreeBSD system and can be anything
> including a user name that does not exist on the local machine?
> I have default sendmail installation as provided by the base system
> with no modifications of my own.
You should edit
/etc/mail/virtusertable
to include a line like
@localhost rambius@localhost
There is a sample virtusertable you can look at.
After you have edited the virtusertable file, you should run
make maps
in that directory.
Cheers,
-j
--
Jeffrey Goldberg http://www.goldmark.org/jeff/
From fbsd06 at mlists.homeunix.com Mon Sep 1 02:00:55 2008
From: fbsd06 at mlists.homeunix.com (RW)
Date: Mon Sep 1 02:01:01 2008
Subject: dump/restore don't work, handbook lies
In-Reply-To: <200808312353.m7VNrbCI024287@cheyenne.hanadarko.com>
References: <48BB2359.4000208@xmission.com>
<200808312353.m7VNrbCI024287@cheyenne.hanadarko.com>
Message-ID: <20080901024910.16ca76ae@gumby.homeunix.com.>
On Sun, 31 Aug 2008 18:53:36 -0500
"J.D. Bronson" wrote:
>
> dump -C 32 -0Lf - / | ( cd /mnta ; restore xf - )
One minor caveat: dumping a live filesystem require dump to take a
snapshot, which in turn require soft-updates to be turned-on. The
default in sysinstall is to enable it for everything but the root
partition.
From wojtek at wojtek.tensor.gdynia.pl Mon Sep 1 02:29:54 2008
From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar)
Date: Mon Sep 1 02:30:00 2008
Subject: dump/restore don't work, handbook lies
In-Reply-To: <20080901024910.16ca76ae@gumby.homeunix.com.>
References: <48BB2359.4000208@xmission.com>
<200808312353.m7VNrbCI024287@cheyenne.hanadarko.com>
<20080901024910.16ca76ae@gumby.homeunix.com.>
Message-ID: <20080901042921.R21198@wojtek.tensor.gdynia.pl>
>
>>
>> dump -C 32 -0Lf - / | ( cd /mnta ; restore xf - )
>
> One minor caveat: dumping a live filesystem require dump to take a
> snapshot, which in turn require soft-updates to be turned-on. The
> default in sysinstall is to enable it for everything but the root
again - it will still dump file, maybe with few files missing but not the
whole dump
From nightrecon at verizon.net Mon Sep 1 02:39:51 2008
From: nightrecon at verizon.net (Michael Powell)
Date: Mon Sep 1 02:39:59 2008
Subject: FreeBSD 7.0-RELEASE getting terrible throughput using
sk0 adapter
References: <000001c90b7b$af814f60$0e83ee20$@com>
<20080831181932.Q19288@wojtek.tensor.gdynia.pl>
<000601c90b8f$c8a18ff0$59e4afd0$@com>
Message-ID:
David Polak wrote:
[snip]
>>
>> try setting up speed and duplex options manually
>
> I have set the duplex to full-duplex and it has increased the speed to
> about 200kb/s on the same file.
>
> As far as phy support, I guess I really don't know, but the drivers for
> the chipset have been around for a while.
>
Try disabling usb and firewire in BIOS. You may need to have a tech there do
it for you. Your box has the sk NIC and usb sharing an irq. The NIC driver
is MPSAFE but the usb stack is still under the GIANT lock. Disable usb and
the NIC driver should perform better.
-Mike
From kline at thought.org Mon Sep 1 03:38:56 2008
From: kline at thought.org (Gary Kline)
Date: Mon Sep 1 03:39:03 2008
Subject: bluefish question
In-Reply-To: <20080831175840.30c63637@gom.home>
References: <20080831224710.GA42854@thought.org>
<20080831175840.30c63637@gom.home>
Message-ID: <20080901033847.GB50745@thought.org>
On Sun, Aug 31, 2008 at 05:58:40PM -0700, prad wrote:
> On Sun, 31 Aug 2008 15:47:14 -0700
> Gary Kline wrote:
>
> > and/or is there an easier markup editor
> > in ports?
> >
> hi gary!
>
> i tried bluefish, but didn't like it personally.
>
> kde's quanta is excellent and has lots of convenient features and uses
> the very advanced kate as a basis - you don't have to run kde in order
> to run kde programs. if you liked bluefish, i think you'll really like
> quanta.
>
> despite my fondness for quanta, i have ended up using emacs for the
> past several years with the built-in html-mode (or you can splurge with
> html-helper mode, though i found it a bit too elaborate). emacs
> might take a bit more work to figure out in the beginning but it is a
> really good all-purpose editor because it is as extensible as it is.
>
AND::
I used bluefish a few years ago, then went to quanta and finally settled
on (/usr/ports/www/kompozer) Kompozer. Kompozer is an udate to nvu
(which was the composer module in Mozilla) as a standalone application.
It still produces source code with some Netscapeisms, but it isn't
anything that isn't easily cleaned up (when necessary --like to produce
html e-mail) in an editor like kate, or kedit.
Tim
Guys, thanks for your help. I already managed to put in by
vi (and ".") the 45 or so and
.
Still wonder what's wrong with bluefish, but glad there are
others.
There are a bunch of font things to add to my prototype HTML/PHP
file, so lots to play with.
gary
ps: to bore you with yet-another-FWIW: this is v2 of my jottings
stuff :-)
> --
> In friendship,
> prad
>
> ... with you on your journey
> Towards Freedom
> http://www.towardsfreedom.com (website)
> Information, Inspiration, Imagination - truly a site for soaring I's
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"
--
Gary Kline kline@thought.org http://www.thought.org Public Service Unix
http://jottings.thought.org http://transfinite.thought.org
From perryh at pluto.rain.com Mon Sep 1 03:48:47 2008
From: perryh at pluto.rain.com (perryh@pluto.rain.com)
Date: Mon Sep 1 03:48:56 2008
Subject: FreeBSD 7.0-RELEASE getting terrible throughput using
sk0 adapter
In-Reply-To:
References: <000001c90b7b$af814f60$0e83ee20$@com>
<20080831181932.Q19288@wojtek.tensor.gdynia.pl>
<000601c90b8f$c8a18ff0$59e4afd0$@com>
Message-ID: <48bb6510.Dn/Wb+UYRWREI0Bb%perryh@pluto.rain.com>
> Try disabling usb and firewire in BIOS. You may need to have
> a tech there do it for you. Your box has the sk NIC and usb
> sharing an irq. The NIC driver is MPSAFE but the usb stack is
> still under the GIANT lock. Disable usb and the NIC driver
> should perform better.
Alternatively, to avoid involving the provider's tech support,
could the OP get the same effect by building a kernel without USB?
From freebsd at meijome.net Mon Sep 1 04:11:55 2008
From: freebsd at meijome.net (Norberto Meijome)
Date: Mon Sep 1 04:12:02 2008
Subject: bluefish question
In-Reply-To: <20080831224710.GA42854@thought.org>
References: <20080831224710.GA42854@thought.org>
Message-ID: <20080901141150.7caab7f5@ayiin>
On Sun, 31 Aug 2008 15:47:14 -0700
Gary Kline wrote:
> PS: Whatever happened to the good old days when Mozilla had an
> editor-mode builtin?
Hey Gary,
it's now called nvu, though it's been stuck in 1.0 land for as long as I
remember.
$ pkg_info -o linux-nvu*
Information for linux-nvu-1.0:
Origin:
www/linux-nvu
I've been using it on and off, lately just using Eclipse since i spend quite a
bit of time in it anyway.
B
_________________________
{Beto|Norberto|Numard} Meijome
"It is not the strongest of the species that survive, nor the most intelligent,
but the one most responsive to change." Charles Darwin.
I speak for myself, not my employer. Contents may be hot. Slippery when wet.
Reading disclaimers makes you go blind. Writing them is worse. You have been
Warned.
From freebsd at meijome.net Mon Sep 1 04:15:30 2008
From: freebsd at meijome.net (Norberto Meijome)
Date: Mon Sep 1 04:15:38 2008
Subject: PPTP (VPN) FREEBSD 7-p3
In-Reply-To: <758349.507.qm@web65407.mail.ac4.yahoo.com>
References: <758349.507.qm@web65407.mail.ac4.yahoo.com>
Message-ID: <20080901141527.32d32325@ayiin>
On Sat, 30 Aug 2008 08:55:09 -0700 (PDT)
d c wrote:
> Has anyone ran across this? Is there an alternate instead of ip? Perhaps I
> can hack it into the source.
yup, i found it too when I recently reinstalled it to get back onto a PPTP vpn.
FWIW, it works just fine regardless of the messages , and I am routing specific
subnets through it via ppp.conf ( add xx.x.x.xx/yy HISADDR).
Running 7.0-STABLE when I installed it a few weeks ago, now on 7.1-PRERELEASE.
B
_________________________
{Beto|Norberto|Numard} Meijome
"He has the attention span of a lightning bolt."
Robert Redford
I speak for myself, not my employer. Contents may be hot. Slippery when wet.
Reading disclaimers makes you go blind. Writing them is worse. You have been
Warned.
From me at davidpolak.com Mon Sep 1 04:20:57 2008
From: me at davidpolak.com (David Polak)
Date: Mon Sep 1 04:21:05 2008
Subject: FreeBSD 7.0-RELEASE getting terrible throughput
using sk0 adapter
In-Reply-To: <48bb6510.Dn/Wb+UYRWREI0Bb%perryh@pluto.rain.com>
References: <000001c90b7b$af814f60$0e83ee20$@com> <20080831181932.Q19288@wojtek.tensor.gdynia.pl> <000601c90b8f$c8a18ff0$59e4afd0$@com>
<48bb6510.Dn/Wb+UYRWREI0Bb%perryh@pluto.rain.com>
Message-ID: <000d01c90bea$184afc30$48e0f490$@com>
> > Try disabling usb and firewire in BIOS. You may need to have
> > a tech there do it for you. Your box has the sk NIC and usb
> > sharing an irq. The NIC driver is MPSAFE but the usb stack is
> > still under the GIANT lock. Disable usb and the NIC driver
> > should perform better.
>
> Alternatively, to avoid involving the provider's tech support,
> could the OP get the same effect by building a kernel without USB?
>From server support live chat:
>Steven H. - Server Support: Submit a trouble ticket and we will
>look into it further. I'm pretty sure they will not disable usb
>since the DC technicians need to boot from USB in some cases.
So is there any other way to verify that this is indeed the problem? Perhaps
as Perry suggested, building a kernel without usb/firewire, or possibly
setting the irq manually so it's not shared?
From ejcerejo at optonline.net Mon Sep 1 04:36:19 2008
From: ejcerejo at optonline.net (Eduardo Cerejo)
Date: Mon Sep 1 04:36:26 2008
Subject: Kde4 packages
Message-ID: <20080901003617.761fcd7f.ejcerejo@optonline.net>
Building kde4 from ports will take forever on my computer, does anyone where I can get these packages?
--
E. J. Cerejo
From sonic2000gr at gmail.com Mon Sep 1 04:54:50 2008
From: sonic2000gr at gmail.com (Manolis Kiagias)
Date: Mon Sep 1 04:55:00 2008
Subject: Kde4 packages
In-Reply-To: <20080901003617.761fcd7f.ejcerejo@optonline.net>
References: <20080901003617.761fcd7f.ejcerejo@optonline.net>
Message-ID: <48BB7595.2010208@gmail.com>
Eduardo Cerejo wrote:
> Building kde4 from ports will take forever on my computer, does anyone where I can get these packages?
>
>
I have uploaded a torrent with kde4.1 packages (including xorg, bash,
samba and others). Get it here:
http://linuxtracker.org/index.php?page=torrent-details&id=c08d546327215f32f566f6d215ba30fff952692c
From rambiusparkisanius at gmail.com Mon Sep 1 05:35:33 2008
From: rambiusparkisanius at gmail.com (Ivan "Rambius" Ivanov)
Date: Mon Sep 1 05:35:41 2008
Subject: Forwarding all mail to a local user
In-Reply-To:
References: <89ce7f740808311800l15ed3df2k4b549cbf8f257f87@mail.gmail.com>
Message-ID: <89ce7f740808312235h4756260kaa5727e93a0d4abe@mail.gmail.com>
Hello Jeffrey,
On Mon, Sep 1, 2008 at 4:24 AM, Jeffrey Goldberg wrote:
>
> You should edit
>
> /etc/mail/virtusertable
>
> to include a line like
>
> @localhost rambius@localhost
>
> There is a sample virtusertable you can look at.
>
> After you have edited the virtusertable file, you should run
>
> make maps
>
> in that directory.
I followed your advice but I still cannot forward the local email to
my account. The full contents of my /etc/mail/virtusertable is:
# cat /etc/mail/virtusertable
# $FreeBSD: src/etc/mail/virtusertable.sample,v 1.3 2000/11/02
23:32:31 dirk Exp $
#
# Map one or all usernames at a source hostname to a specific (or the same)
# username at another target hostname. Remember to add the source hostname
# to /etc/mail/local-host-names so that sendmail will accept mail for the
# source hostname.
#
@localhost rambius@localhost
I run make maps and I tested if my account can receive email:
$ echo "Test email 1" | mail -s "Test Email 1" rambius@localhost
I successfully got this email in my mbox. Next I tried to send an
email to an non-existing user:
$ echo "Test email 1" | mail -s "Test Email 1" nonexisting@localhost
I got an error saying "/home/rambius/dead.letter... Saved message in
/home/rambius/dead.letter" and did not receive the email in my
mailbox. Maybe emails to nonexisting users cannot be forwarded at all?
Regards
Rambius
--
Tangra Mega Rock: http://www.radiotangra.com
From iwrtech at iwr.ru.ac.za Mon Sep 1 06:40:59 2008
From: iwrtech at iwr.ru.ac.za (DA Forsyth)
Date: Mon Sep 1 06:41:05 2008
Subject: apachectl graceful fails
Message-ID: <48BBAA95.30863.22945F56@iwrtech.iwr.ru.ac.za>
Hiya
Seems some or other code change in apache has caused it to fail to
restart gracefully when log rotating... (it used to work fine but
for the past 2 or 3 months has failed during the logrotate)
error.log shows
[Mon Sep 01 08:00:03 2008] [notice] Graceful restart requested, doing
restart
[Mon Sep 01 08:00:04 2008] [notice] seg fault or similar nasty error
detected in the parent process
and it never restarts. A manual 'apachectl start' gets it going
just fine, and a manual 'stop ... start' also is just fine, so it
seems to be an issue in the 'graceful' code.
ideas?
--
DA Fo rsyth Network Supervisor
Principal Technical Officer -- Institute for Water Research
http://www.ru.ac.za/institutes/iwr/
From sawerset at i.ua Mon Sep 1 07:24:43 2008
From: sawerset at i.ua (=?windows-1251?B?yOLg7SDC4PHo6/zl4g==?=)
Date: Mon Sep 1 07:24:56 2008
Subject: installing 3G modems on FreeBSD 6.3
Message-ID:
Hello.
I have Franklin CDU 550 3G modem.I need to install it on FreeBSD 6.3.
I tryed to use umodem driver. But during installation oft the modem the error number 6 is returned.
Then I tried to use uplcom driver. Modem is not identified.
Also I tried to use ugencom driver. No data bulk in with 6 error is returned.
Please recomend me How this modem can be installed.
-- ??????? -----------------------------------------------------------
?????????? ???????????????? ????? ???????? ???????? ????? @i.ua
http://mail.i.ua/reg - ? ?????? 1Gb ??? ???????? ?????
From payne at magidesign.com Mon Sep 1 08:37:38 2008
From: payne at magidesign.com (Payne)
Date: Mon Sep 1 08:37:45 2008
Subject: Why the extra shells?
In-Reply-To: <2E311D07-5DC9-43FF-9EEF-C56B620A632B@identry.com>
References: <2E311D07-5DC9-43FF-9EEF-C56B620A632B@identry.com>
Message-ID: <48B9FD43.1070508@magidesign.com>
John,
I have seen that when a script is running and it uses the bash shell. I
have see that too where you close a ssh session too soon like you stated.
Hope that helps.
Payne
John Almberg wrote:
> I just noticed something odd...
>
> When I type ps, I get the following:
>
> [on:~]> ps
> PID TT STAT TIME COMMAND
> 30350 p0 Ss 0:00.03 -bash (bash)
> 30761 p0 R+ 0:00.00 ps
> 99069 p1 Is+ 0:00.01 /usr/local/bin/bash
> 79966 p3 Is 0:00.01 /usr/local/bin/bash
> 27050 p4 Is+ 0:00.01 /usr/local/bin/bash
> 45342 p5 Is+ 0:00.01 /usr/local/bin/bash
> 20302 p6 Is 0:00.02 /usr/local/bin/bash
> 73354 p7 Is+ 0:00.01 /usr/local/bin/bash
> 94357 p8 Is+ 0:00.14 /usr/local/bin/bash
> 82034 p9 Is+ 0:00.02 /usr/local/bin/bash
> 82825 pa Is+ 0:00.02 /usr/local/bin/bash
> 63521 pb Is+ 0:00.07 /usr/local/bin/bash
> 75330 pc Is+ 0:00.06 /usr/local/bin/bash
> 81504 pd Is+ 0:00.01 /usr/local/bin/bash
> 95482 pe Is+ 0:00.01 /usr/local/bin/bash
> 21072 pf Is+ 0:00.12 /usr/local/bin/bash
> 96897 pg Is+ 0:00.07 /usr/local/bin/bash
> 50522 ph Is+ 0:00.02 /usr/local/bin/bash
> 98404 pi Is+ 0:00.03 /usr/local/bin/bash
>
> I'm wondering why I have all these shells running? Could it be because
> I close my SSH terminal without exiting, thus leaving bash in some
> sort of suspended state?
>
> This is a pure server box, with Apache, tinydns, and Qmail being the
> main processes.
>
> Can I just kill them off? There is no one logged into this server
> besides me, and never will be. A 'who' confirms that I am the only one
> logged in.
>
> Any hints, much appreciated.
>
> -- John
>
>
>
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "freebsd-questions-unsubscribe@freebsd.org"
>
From ohartman at zedat.fu-berlin.de Mon Sep 1 09:06:48 2008
From: ohartman at zedat.fu-berlin.de (O. Hartmann)
Date: Mon Sep 1 09:06:54 2008
Subject: Linux, LDAP and the impossibility of handling editable PDFs
Message-ID: <48BBB022.4030708@zedat.fu-berlin.de>
Several months ago I tried configuring the Linuxulator on several
FreeBSD 7.X boxes, most of them pure amd64 and pure 64 bit (as it is
possible with Intels pseudo 64 bit crap). The reason for that is simple.
Having FreeBSD (now 7.1-PRE) as my favorite OS on servers AND hybrid
boxes (acting as workstations AND small servers) makes life easy - I
thought and was touhgt wrong.
Our administration sends a lot of PDFs around and as it is very usual,
our applications, forms and so on for scientific congresses etc. are all
PDF and subject to be edited. And here it comes that FreeBSD seems to be
a definite deadend!
Using pdfedit is wrong, it can't show or edit any PDF we obtained so
far. Using 'pdftk' fails, it is not made to run in modern 64 bit
environments only when using FreeBSD (linux seems to have no problem,
especially Ubuntu does the thing). So, then I remembered myself about
Linuxulator and tried acrobatviewer - and failed. As in other
professional environments we were far away from using simple user
management and therefore there is a LDAP environment. And, funny,
Linuxulator does not contact LDAP even if I try to configure it to use
our LDAP environment. Digging around what flavor of Linux FreeBSD
installs (means: do al ot of work), reading about how to use PAM and
LDAP on Linux (means: doing again additional work in an environment I
try to avoid!) and at last no success, because something is missing or
the Linuxulator should use something for user authentication and
autorization it does not have and uses therefore the FreeBSD stuff and
then fails. Especially for the Acrobat weirdness (or call it software)
something like this occurs whenn attempting starting acrobat reader:
(acroread:18831): GLib-WARNING **: getpwuid_r(): failed due to unknown
user id (2001)
(acroread:18831): Gdk-WARNING **: shmget failed: error 12 (Cannot
allocate memory)
If there is someone here running a 64 bit environment within a LDAP
realm and already got successfully running the Linux add ons as expected
for LDAP users, you are really welcome to give me some hints how to turn
around my frustration and thoughts about definitely leaving the FreeBSD
path ...
Thanks in advance,
Oliver
From tethys.ocean at gmail.com Mon Sep 1 09:15:50 2008
From: tethys.ocean at gmail.com (tethys ocean)
Date: Mon Sep 1 09:16:03 2008
Subject: jail stop extracting iso file
In-Reply-To: <20080831201949.96800@gmx.net>
References: <235b80000808301408v49e91675se91a257e257537fc@mail.gmail.com>
<20080831111208.P17652@wojtek.tensor.gdynia.pl>
<20080831201949.96800@gmx.net>
Message-ID: <235b80000809010215o65579305m155f664fe4f1f145@mail.gmail.com>
the problem is already here "at the host system (not in the jail)" i wasnt
able to get rid of jail and can't access to device in jail
somehow i must access mdconfig and mount but i shouldnt stop jail.
On Sun, Aug 31, 2008 at 11:19 PM, Olli Hauer wrote:
> > In server jail and squid is running on it as lots of another packet. i
> > want
> > to extract iso image in this server. But i havent do it.
> >
> > #mdconfig -a -t vnode -f big_bcbcv.iso
> > #mdconfig: open(/dev/mdctl): No such file or directory
> >
> > you can't
> >
> > jail doesn't allow it.
>
> Yes, but why don't mount the ISO at the host system and do a nullfs mount
> into the jail?
>
> at the host system (not in the jail)
> # mdconfig -a -t vnode -u 10 -f ${path_to_iso_image}
> # mount_cd9660 -o ro /dev/md10 /mnt/
> # mount_nullfs /mnt ${path_to_jail}/mnt
>
> ssh into the jail
> # pkg_add /mnt/filename
>
>
> --
> GMX Kostenlose Spiele: Einfach online spielen und Spa? haben mit Pastry
> Passion!
>
> http://games.entertainment.gmx.net/de/entertainment/games/free/puzzle/6169196
>
--
Share now a pigeon's flight
Bluebound along the ancient skies,
Its women forever hair and mammal,
A Mediterranean town may arise
If you rip apart a pigeon's heart.
From artis.caune at gmail.com Mon Sep 1 09:19:53 2008
From: artis.caune at gmail.com (Artis Caune)
Date: Mon Sep 1 09:20:00 2008
Subject: make release, src.conf and WITHOUT_SENDMAIL on freebsd 7
In-Reply-To:
References:
Message-ID: <9e20d71e0809010156x546d0f90n8999cd23b1477ba8@mail.gmail.com>
On Sat, Aug 30, 2008 at 11:06 AM, Matias Surdi wrote:
> The problem arises when I do a "make release" as, as far as I can see,
> /etc/src.conf is completly ignored. I think it's an issue with the chroot
> environment that "make release" uses. Wich is the correct way to let "make
> release" know about src.conf?
you can play with release(7) LOCAL_PATCHES variable or
copy /etc/src.conf to /usr/src/etc and add it to /usr/src/etc/Makefile.
--
regards,
Artis Caune
<----. CCNA
<----|====================
<----' didii FreeBSD
From kheuer2 at gwdg.de Mon Sep 1 09:41:12 2008
From: kheuer2 at gwdg.de (Konrad Heuer)
Date: Mon Sep 1 09:41:19 2008
Subject: Linux, LDAP and the impossibility of handling editable PDFs
In-Reply-To: <48BBB022.4030708@zedat.fu-berlin.de>
References: <48BBB022.4030708@zedat.fu-berlin.de>
Message-ID: <20080901113702.U877@gwdu60.gwdg.de>
On Mon, 1 Sep 2008, O. Hartmann wrote:
> Several months ago I tried configuring the Linuxulator on several FreeBSD 7.X
> boxes, most of them pure amd64 and pure 64 bit (as it is possible with Intels
> pseudo 64 bit crap). The reason for that is simple. Having FreeBSD (now
> 7.1-PRE) as my favorite OS on servers AND hybrid boxes (acting as
> workstations AND small servers) makes life easy - I thought and was touhgt
> wrong.
> Our administration sends a lot of PDFs around and as it is very usual, our
> applications, forms and so on for scientific congresses etc. are all PDF and
> subject to be edited. And here it comes that FreeBSD seems to be a definite
> deadend!
> Using pdfedit is wrong, it can't show or edit any PDF we obtained so far.
> Using 'pdftk' fails, it is not made to run in modern 64 bit environments only
> when using FreeBSD (linux seems to have no problem, especially Ubuntu does
> the thing). So, then I remembered myself about Linuxulator and tried
> acrobatviewer - and failed. As in other professional environments we were far
> away from using simple user management and therefore there is a LDAP
> environment. And, funny, Linuxulator does not contact LDAP even if I try to
> configure it to use our LDAP environment. Digging around what flavor of Linux
> FreeBSD installs (means: do al ot of work), reading about how to use PAM and
> LDAP on Linux (means: doing again additional work in an environment I try to
> avoid!) and at last no success, because something is missing or the
> Linuxulator should use something for user authentication and autorization it
> does not have and uses therefore the FreeBSD stuff and then fails. Especially
> for the Acrobat weirdness (or call it software) something like this occurs
> whenn attempting starting acrobat reader:
>
> (acroread:18831): GLib-WARNING **: getpwuid_r(): failed due to unknown user
> id (2001)
>
> (acroread:18831): Gdk-WARNING **: shmget failed: error 12 (Cannot allocate
> memory)
>
>
> If there is someone here running a 64 bit environment within a LDAP realm and
> already got successfully running the Linux add ons as expected for LDAP
> users, you are really welcome to give me some hints how to turn around my
> frustration and thoughts about definitely leaving the FreeBSD path ...
I use a simple workaround to make the Adobe reader (and some other Linux
binaries) work - I simply added following entries to the crontab file of
root:
00 05 * * * /usr/bin/getent passwd | /usr/bin/sed '1,/nobody/d' > /usr/compat/linux/etc/passwd 2> /dev/null
15 05 * * * /usr/bin/getent group > /usr/compat/linux/etc/group 2> /dev/null
Hope that helps a little bit ...
Best regards
Konrad Heuer
GWDG, Am Fassberg, 37077 Goettingen, Germany, kheuer2@gwdg.de
From ensolounsegundo at hotmail.com Mon Sep 1 10:01:05 2008
From: ensolounsegundo at hotmail.com (unsegundo)
Date: Mon Sep 1 10:01:13 2008
Subject: Problem with alias ip's
Message-ID: <19251983.post@talk.nabble.com>
Hi, i'm having a problem with 2 aditional ip's, add by alias.
7.1-PRERELEASE FreeBSD
Main IP: A.B.111.219
Netmask: 255.255.255.192
Gateway: A.B.111.193
Aliases: A.B.222.226 and A.B.222.227. Netmask 255.255.255.255
(/sbin/ifconfig bge0 alias A.B.222.226 netmask 255.255.255.255)
device = 'BCM5721 NetXtreme Gigabit Ethernet PCI Express'
Main IP works fine, but alias ip's don't. When i try to connect, in netstat
-an shows:
Proto Recv-Q Send-Q Local Address Foreign Address (state)
tcp4 0 0 A.B.222.227.22 xx.xx.xx.xx.64585 SYN_RCVD
State not changes to ESTABLISHED, and ip don't send the information.
Perhaps a netmasks problem? A route problem? Or what else? What can i do?
Thank you
--
View this message in context: http://www.nabble.com/Problem-with-alias-ip%27s-tp19251983p19251983.html
Sent from the freebsd-questions mailing list archive at Nabble.com.
From ohartman at zedat.fu-berlin.de Mon Sep 1 10:09:35 2008
From: ohartman at zedat.fu-berlin.de (O. Hartmann)
Date: Mon Sep 1 10:09:42 2008
Subject: Linux, LDAP and the impossibility of handling editable PDFs
In-Reply-To: <20080901113702.U877@gwdu60.gwdg.de>
References: <48BBB022.4030708@zedat.fu-berlin.de>
<20080901113702.U877@gwdu60.gwdg.de>
Message-ID: <48BBBED9.9060901@zedat.fu-berlin.de>
Konrad Heuer wrote:
>
> On Mon, 1 Sep 2008, O. Hartmann wrote:
>
>> Several months ago I tried configuring the Linuxulator on several
>> FreeBSD 7.X boxes, most of them pure amd64 and pure 64 bit (as it is
>> possible with Intels pseudo 64 bit crap). The reason for that is
>> simple. Having FreeBSD (now 7.1-PRE) as my favorite OS on servers AND
>> hybrid boxes (acting as workstations AND small servers) makes life
>> easy - I thought and was touhgt wrong.
>> Our administration sends a lot of PDFs around and as it is very usual,
>> our applications, forms and so on for scientific congresses etc. are
>> all PDF and subject to be edited. And here it comes that FreeBSD seems
>> to be a definite deadend!
>> Using pdfedit is wrong, it can't show or edit any PDF we obtained so
>> far. Using 'pdftk' fails, it is not made to run in modern 64 bit
>> environments only when using FreeBSD (linux seems to have no problem,
>> especially Ubuntu does the thing). So, then I remembered myself about
>> Linuxulator and tried acrobatviewer - and failed. As in other
>> professional environments we were far away from using simple user
>> management and therefore there is a LDAP environment. And, funny,
>> Linuxulator does not contact LDAP even if I try to configure it to
>> use our LDAP environment. Digging around what flavor of Linux FreeBSD
>> installs (means: do al ot of work), reading about how to use PAM and
>> LDAP on Linux (means: doing again additional work in an environment I
>> try to avoid!) and at last no success, because something is missing or
>> the Linuxulator should use something for user authentication and
>> autorization it does not have and uses therefore the FreeBSD stuff and
>> then fails. Especially for the Acrobat weirdness (or call it software)
>> something like this occurs whenn attempting starting acrobat reader:
>>
>> (acroread:18831): GLib-WARNING **: getpwuid_r(): failed due to unknown
>> user id (2001)
>>
>> (acroread:18831): Gdk-WARNING **: shmget failed: error 12 (Cannot
>> allocate memory)
>>
>>
>> If there is someone here running a 64 bit environment within a LDAP
>> realm and already got successfully running the Linux add ons as
>> expected for LDAP users, you are really welcome to give me some hints
>> how to turn around my frustration and thoughts about definitely
>> leaving the FreeBSD path ...
>
> I use a simple workaround to make the Adobe reader (and some other Linux
> binaries) work - I simply added following entries to the crontab file of
> root:
>
> 00 05 * * * /usr/bin/getent passwd | /usr/bin/sed '1,/nobody/d' >
> /usr/compat/linux/etc/passwd 2> /dev/null
> 15 05 * * * /usr/bin/getent group > /usr/compat/linux/etc/group 2>
> /dev/null
>
> Hope that helps a little bit ...
>
> Best regards
>
> Konrad Heuer
> GWDG, Am Fassberg, 37077 Goettingen, Germany, kheuer2@gwdg.de
>
>
Thank you very much, this works.
But this seems to be a hack, unclean in my opinion. As I got responses
earlier of the year for a similar problem, Linuxulator should utilize
lacking facilities from FreeBSD host system - but obviously it doesn't,
especially if there are non-existent users. As I realized - and this
puzzles me - there was no passwd file in my configuration, so I guess
the Linuxulator has to contact the underlying FreeBSD infrastructure to
get UIDs like root and others - but this seems not to be the case.
Regards,
Oliver
From m.seaman at infracaninophile.co.uk Mon Sep 1 10:23:54 2008
From: m.seaman at infracaninophile.co.uk (Matthew Seaman)
Date: Mon Sep 1 10:24:01 2008
Subject: BIND DNS Patching on 6.1, 6.2
In-Reply-To: <9063D8A4068C46B4979BEA249CEDCA49@GRANT>
References: <20080829182700.M90624@thenetnow.com><20080829193718.M43174@thenetnow.com> <48B89671.6000809@adventuras.no>
<9063D8A4068C46B4979BEA249CEDCA49@GRANT>
Message-ID: <48BBC29B.6070008@infracaninophile.co.uk>
Grant Peel wrote:
> Hi all,
>
> Thanks to Lars I have come up with the following (to upgrade BIND for
> the DNS caching issue)...(short of updateing all source).
>
> Download the latest port BIND95.9.5.x (p2 I think),
9.5.0.2 -- correct.
> Extract it to the ports directory,
>
> make -DWITH_REPLACE_BASE
You should get an OPTIONS dialogue here which will allow you to achieve
the required result. Use 'make config' to force the issue if necessary.
> make install
> make clean
>
> Is the above correct?
Yes, that will work just fine.
> Also,
>
> Will the installation leave all my current (BIND) configs alone?
It will not trash /etc/namedb/named.conf -- actually, I think it won't
touch anything under /etc/namedb so it should 'just work' with your
existing configuration. Remember to remove any 'port 53' clauses from
'query source' statements in named.conf or this will all have been for
nothing.
If you're going to do the 'REPLACE_BASE' thing, then you should add
WITHOUT_BIND=yes
to /etc/make.conf (/etc/src.conf in 7.x and above) -- otherwise you'll
revert to the system version of BIND whenever you update. There are
half a dozen BIND related make flags that you can pick and choose from if
you want finer control.
Alternatively, you can leave the base system as-is, install the port
under /usr/local as usual, and just use variables like the following in
/etc/rc.conf:
named_enable="YES"
named_program="/usr/local/sbin/named"
named_flags="-c /etc/namedb/named.conf"
This means you'll run named-2.5.0.2 from the port (which is the important
bit) but unless you fiddle with your $PATH, you'll tend to get all the
adjunct programs like dig, host, rndc from the base system.
Either way, it should all be pretty seamless. Which way you choose is a matter of taste and convenience rather than necessity.
Cheers,
Matthew
--
Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard
Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
Kent, CT11 9PW
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 258 bytes
Desc: OpenPGP digital signature
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20080901/2995363a/signature-0001.pgp
From freebsd at edvax.de Mon Sep 1 10:44:47 2008
From: freebsd at edvax.de (Polytropon)
Date: Mon Sep 1 10:44:54 2008
Subject: bluefish question
In-Reply-To: <20080831224710.GA42854@thought.org>
References: <20080831224710.GA42854@thought.org>
Message-ID: <20080901124433.4b75e6db.freebsd@edvax.de>
On Sun, 31 Aug 2008 15:47:14 -0700, Gary Kline wrote:
> is there an easier markup editor
> in ports?
GNotepad+ (pkg_add -r gnotepad+) maybe?
> PS: Whatever happened to the good old days when Mozilla had an
> editor-mode builtin?
They're gone, as well as the days when web content was presented
using valid HTML.
--
Polytropon
>From Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
From kheuer2 at gwdg.de Mon Sep 1 10:55:28 2008
From: kheuer2 at gwdg.de (Konrad Heuer)
Date: Mon Sep 1 10:55:35 2008
Subject: Linux, LDAP and the impossibility of handling editable PDFs
In-Reply-To: <48BBBED9.9060901@zedat.fu-berlin.de>
References: <48BBB022.4030708@zedat.fu-berlin.de>
<20080901113702.U877@gwdu60.gwdg.de>
<48BBBED9.9060901@zedat.fu-berlin.de>
Message-ID: <20080901124900.F877@gwdu60.gwdg.de>
On Mon, 1 Sep 2008, O. Hartmann wrote:
> Konrad Heuer wrote:
>>
>> On Mon, 1 Sep 2008, O. Hartmann wrote:
>>
>>> Several months ago I tried configuring the Linuxulator on several FreeBSD
>>> 7.X boxes, most of them pure amd64 and pure 64 bit (as it is possible with
>>> Intels pseudo 64 bit crap). The reason for that is simple. Having FreeBSD
>>> (now 7.1-PRE) as my favorite OS on servers AND hybrid boxes (acting as
>>> workstations AND small servers) makes life easy - I thought and was touhgt
>>> wrong.
>>> Our administration sends a lot of PDFs around and as it is very usual, our
>>> applications, forms and so on for scientific congresses etc. are all PDF
>>> and subject to be edited. And here it comes that FreeBSD seems to be a
>>> definite deadend!
>>> Using pdfedit is wrong, it can't show or edit any PDF we obtained so far.
>>> Using 'pdftk' fails, it is not made to run in modern 64 bit environments
>>> only when using FreeBSD (linux seems to have no problem, especially Ubuntu
>>> does the thing). So, then I remembered myself about Linuxulator and tried
>>> acrobatviewer - and failed. As in other professional environments we were
>>> far away from using simple user management and therefore there is a LDAP
>>> environment. And, funny, Linuxulator does not contact LDAP even if I try
>>> to configure it to use our LDAP environment. Digging around what flavor of
>>> Linux FreeBSD installs (means: do al ot of work), reading about how to use
>>> PAM and LDAP on Linux (means: doing again additional work in an
>>> environment I try to avoid!) and at last no success, because something is
>>> missing or the Linuxulator should use something for user authentication
>>> and autorization it does not have and uses therefore the FreeBSD stuff and
>>> then fails. Especially for the Acrobat weirdness (or call it software)
>>> something like this occurs whenn attempting starting acrobat reader:
>>>
>>> (acroread:18831): GLib-WARNING **: getpwuid_r(): failed due to unknown
>>> user id (2001)
>>>
>>> (acroread:18831): Gdk-WARNING **: shmget failed: error 12 (Cannot allocate
>>> memory)
>>>
>>>
>>> If there is someone here running a 64 bit environment within a LDAP realm
>>> and already got successfully running the Linux add ons as expected for
>>> LDAP users, you are really welcome to give me some hints how to turn
>>> around my frustration and thoughts about definitely leaving the FreeBSD
>>> path ...
>>
>> I use a simple workaround to make the Adobe reader (and some other Linux
>> binaries) work - I simply added following entries to the crontab file of
>> root:
>>
>> 00 05 * * * /usr/bin/getent passwd | /usr/bin/sed '1,/nobody/d' >
>> /usr/compat/linux/etc/passwd 2> /dev/null
>> 15 05 * * * /usr/bin/getent group > /usr/compat/linux/etc/group 2>
>> /dev/null
>>
>> Hope that helps a little bit ...
>
> Thank you very much, this works.
> But this seems to be a hack, unclean in my opinion. As I got responses
> earlier of the year for a similar problem, Linuxulator should utilize lacking
> facilities from FreeBSD host system - but obviously it doesn't, especially if
> there are non-existent users. As I realized - and this puzzles me - there was
> no passwd file in my configuration, so I guess the Linuxulator has to contact
> the underlying FreeBSD infrastructure to get UIDs like root and others - but
> this seems not to be the case.
I agree a little bit. When we used YP years ago it was possible to edit
/usr/compat/linux/etc/yp.conf to make the Linux binaries contact the NIS
service.
Making use of LDAP should work in an similar way. Of course my "solution"
is a hack - but not the worst one. ;-)
Best regards
Konrad Heuer
GWDG, Am Fassberg, 37077 Goettingen, Germany, kheuer2@gwdg.de
From z.szalbot at lcwords.com Mon Sep 1 11:06:42 2008
From: z.szalbot at lcwords.com (Zbigniew Szalbot)
Date: Mon Sep 1 11:07:02 2008
Subject: newsyslog
Message-ID: <48BBCCBE.1060409@lcwords.com>
Hello,
Just one quick question: do changes to /etc/newsyslog.conf require
/usr/bin/killall -HUP syslogd?
I commented out one entry for log rotation, however at midnight the log
was still rotated by newsyslog as if it had not been commented out. Man
newsyslog.conf seems to suggest this is not necessary...
Thanks!
--
Zbigniew Szalbot
www.LCWords.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3253 bytes
Desc: S/MIME Cryptographic Signature
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20080901/10a27bb9/smime.bin
From jd_bronson at sbcglobal.net Mon Sep 1 11:25:46 2008
From: jd_bronson at sbcglobal.net (J.D. Bronson)
Date: Mon Sep 1 11:25:53 2008
Subject: dump/restore don't work, handbook lies
In-Reply-To: <20080901024910.16ca76ae@gumby.homeunix.com.>
References: <48BB2359.4000208@xmission.com>
<200808312353.m7VNrbCI024287@cheyenne.hanadarko.com>
<20080901024910.16ca76ae@gumby.homeunix.com.>
Message-ID: <200809011125.m81BPiuo026561@cheyenne.hanadarko.com>
At 02:49 AM 9/1/2008 +0100, RW wrote:
> > dump -C 32 -0Lf - / | ( cd /mnta ; restore xf - )
>
>One minor caveat: dumping a live filesystem require dump to take a
>snapshot, which in turn require soft-updates to be turned-on. The
>default in sysinstall is to enable it for everything but the root
>partition.
I always enable soft-updates on all partitions during install or
anytime a drive is replaced :-)
/dev/ad0s1a on / (ufs, local, soft-updates)
devfs on /dev (devfs, local)
/dev/ad0s1d on /usr (ufs, local, soft-updates)
/dev/ad0s1e on /var (ufs, local, soft-updates)
/dev/ad0s1f on /home (ufs, local, soft-updates)
/dev/ad0s1g on /staff (ufs, local, soft-updates)
/dev/ad0s1h on /users (ufs, local, soft-updates)
-JD
From keramida at ceid.upatras.gr Mon Sep 1 11:59:05 2008
From: keramida at ceid.upatras.gr (Giorgos Keramidas)
Date: Mon Sep 1 11:59:12 2008
Subject: dump/restore don't work, handbook lies
In-Reply-To: <20080901023941.P20716@wojtek.tensor.gdynia.pl> (Wojciech
Puchar's message of "Mon, 1 Sep 2008 02:40:10 +0200 (CEST)")
References: <48BB2359.4000208@xmission.com> <871w04rbg5.fsf@kobe.laptop>
<20080901023941.P20716@wojtek.tensor.gdynia.pl>
Message-ID: <8763pgnkli.fsf@kobe.laptop>
On Mon, 1 Sep 2008 02:40:10 +0200 (CEST), Wojciech Puchar wrote:
>> Did you really run dump on a 'live' filesystem? The filesystem may be
>> changing under the feet of dump, while it copies data. That is bound to
>> cause trouble later on.
>
> but shouldn't make NO files restored, maybe few files that was changed
> while backing up.
Yes that's true of course. I was merely replying to the obvious error.
Failing to restore *any* files is a different issue.
From jon at witchspace.com Mon Sep 1 12:04:41 2008
From: jon at witchspace.com (Jonathan Belson)
Date: Mon Sep 1 12:04:49 2008
Subject: Changing 'From:' address of periodic scripts
In-Reply-To: <48B6AE4F.3050903@witchspace.com>
References: <48A00C8C.4060105@witchspace.com> <48A05902.8060103@FreeBSD.org>
<48B66D15.5080104@witchspace.com>
<48B671B4.9070602@infracaninophile.co.uk>
<48B6AE4F.3050903@witchspace.com>
Message-ID: <48BBDA9B.7000102@witchspace.com>
Jonathan Belson wrote:
> Matthew Seaman wrote:
>> Yes. root is specifically exempted from all the masquerading stuff.
>> There's an EXPOSED_USER macro you can use in $(hostname).mc to control
>> that.
>
> Ah, that explains it. There doesn't seem to be a way to remove exposed
> users, but there is a web page explaining how to stop 'root' being added
> as a default exposed user:
>
> http://www.grok.org.uk/docs/smroot.html
>
> Instead of doing this, I've told periodic.conf to send its output to my
> local account on the server, and added a .forward file to pass the
> e-mail to my 'real' address. Hopefully this will play nicely with
> sendmail's masquerading.
Of course it didn't as the e-mail's sender was still 'root' :-S I ended up
following the instructions from the web page above, and after initially getting
caught out by the difference between 'dnl' and '#' I finally have a
configuration that works.
Thanks,
--Jon
From jalmberg at identry.com Mon Sep 1 12:43:56 2008
From: jalmberg at identry.com (John Almberg)
Date: Mon Sep 1 12:44:04 2008
Subject: Why the extra shells?
In-Reply-To: <48B9FD43.1070508@magidesign.com>
References: <2E311D07-5DC9-43FF-9EEF-C56B620A632B@identry.com>
<48B9FD43.1070508@magidesign.com>
Message-ID: <3761D93C-F42B-48AC-9295-DFE0E11527DE@identry.com>
> I have seen that when a script is running and it uses the bash shell.
This is my main concern at the moment... I am wondering if I killed
off an essential process when I killed off those shells...
It doesn't seem like it, because everything seems to be working.
I'd love to restart the server to see if they come back to life, but
that would ruin my uptime stat. As a newbie admin, I take great pride
in my 152 day, 100% uptime stat. (Hey, it's the little things in life
that make me happy... it obviously isn't the money :-)
> I have see that too where you close a ssh session too soon like you
> stated.
>
I'm guessing this is the real cause... I'll be more careful in the
future.
Thanks: John
From mcoyles at horbury.wakefield.sch.uk Mon Sep 1 12:49:33 2008
From: mcoyles at horbury.wakefield.sch.uk (Marc Coyles)
Date: Mon Sep 1 12:49:40 2008
Subject: Live FS Dump errors...
Message-ID: <009601c90c31$15d9b5d0$fd607e0a@Horbury.Internal>
Morning folks... I'm trying to use a script to run a dump of all
filesystems, but whenever I use the -L option, I receive an error as
follows for every mount:
DUMP: Date of this level 0 dump: Mon Sep 1 13:37:57 2008
DUMP: Date of last level 0 dump: the epoch
DUMP: Dumping snapshot of /dev/da0s1a (/) to standard output
DUMP: mapping (Pass I) [regular files]
DUMP: mapping (Pass II) [directories]
DUMP: estimated 329257 tape blocks.
DUMP: dumping (Pass III) [directories]
DUMP: dumping (Pass IV) [regular files]
DUMP: DUMP: 329274 tape blocks
DUMP: finished in 91 seconds, throughput 3618 KBytes/sec
DUMP: level 0 dump on Mon Sep 1 13:37:57 2008
DUMP: DUMP IS DONE
mksnap_ffs: Cannot create /home/.snap/dump_snapshot: Input/output error
dump: Cannot create /home/.snap/dump_snapshot: No such file or directory
DUMP: Date of this level 0 dump: Mon Sep 1 13:39:33 2008
DUMP: Date of last level 0 dump: the epoch
DUMP: Dumping snapshot of /dev/da0s1e (/usr) to standard output
DUMP: mapping (Pass I) [regular files]
DUMP: mapping (Pass II) [directories]
DUMP: estimated 4758000 tape blocks.
DUMP: dumping (Pass III) [directories]
mksnap_ffs: Cannot create /home/.snap/dump_snapshot: Input/output error
dump: Cannot create /home/.snap/dump_snapshot: No such file or directory
I've inspected the locations reported, and can confirm that
.snap/dump_snapshot exists in the required locations on every mount, and
shows as being created at the time the dump was run as follows:
bigsis# pwd
/home/.snap
bigsis# ls -ltra
total 4
drwx--x--x 11 root wheel 512 Mar 25 03:05 ..
-r-------- 1 root operator 0 Sep 1 13:32 fsck_snapshot
-r-------- 1 root operator 0 Sep 1 13:39 dump_snapshot
drwxrwx--- 2 root operator 512 Sep 1 13:39 .
The script I'm using is a perl script as follows, and is called by
root's crontab:
#!/usr/bin/perl
use strict;
use warnings;
use Getopt::Std;
use POSIX qw(strftime);
use vars qw($VERSION);
$Getopt::Std::STANDARD_HELP_VERSION = 1;
$VERSION = '1.2';
my @FS = ('/', '/home', '/usr', '/var');
my $day = lc(strftime "%A", localtime);
my $hostname = `/bin/hostname -s`;
my %opt = ('F' => 0, 'd' => 0, 'h' => 0);
my $type;
chomp $hostname;
getopts("Fdh",\%opt);
if ( $opt{h} == 1 ) {
print STDERR << "EOF";
usage: $0 [-hqd]
-h : this (help) message
-d : Dry run, only print what I am going to do
-F : Force full backup {type 0}
example: $0 -h -q -d
EOF
exit(0)
}
if ( $opt{F} == 1 ) {
$type = "0"
} else {
if ($day eq "sunday") {
$type = "0"
} else {
$type = "0"
}
}
foreach (@FS) {
my $name = $_;
if ($name eq '/') {
$name = '/root';
};
$name =~ s/^\///g;
# Unncomment for /backup/$day/$name.dump.gz
my $command = '/sbin/dump -' . $type . ' -aLuf - ' . $_ . ' |
gzip -q > /backup/' . $day . '/' .
$name . '.dump.gz';
# Put a "#" in front of the next line if you uncomment the last line
# my $command = '/sbin/dump -' . $type . ' -aLuf - ' . $_ . ' |
gzip -q > /backup/' . $hostname .
'/' . $day . '.' . $name . '.dump.gz';
if ($opt{d}) {
print($command . "\n");
} else {
system($command);
};
};
exit(0);
Any suggestions??? All works fine if I don't use -L, but this isn't
exactly ideal for a backup of a live file-system...
Marc A Coyles - Horbury School ICT Support Team
Mbl: 07850 518106
Land: 01924 282740 ext 730
Helpdesk: 01924 282740 ext 2000
From ohartman at zedat.fu-berlin.de Mon Sep 1 12:57:28 2008
From: ohartman at zedat.fu-berlin.de (O. Hartmann)
Date: Mon Sep 1 12:59:55 2008
Subject: Linux, LDAP and the impossibility of handling editable PDFs
In-Reply-To: <20080901124900.F877@gwdu60.gwdg.de>
References: <48BBB022.4030708@zedat.fu-berlin.de>
<20080901113702.U877@gwdu60.gwdg.de>
<48BBBED9.9060901@zedat.fu-berlin.de>
<20080901124900.F877@gwdu60.gwdg.de>
Message-ID: <48BBE633.8040108@zedat.fu-berlin.de>
Konrad Heuer wrote:
>
> On Mon, 1 Sep 2008, O. Hartmann wrote:
>
>> Konrad Heuer wrote:
>>>
>>> On Mon, 1 Sep 2008, O. Hartmann wrote:
>>>
>>>> Several months ago I tried configuring the Linuxulator on several
>>>> FreeBSD 7.X boxes, most of them pure amd64 and pure 64 bit (as it is
>>>> possible with Intels pseudo 64 bit crap). The reason for that is
>>>> simple. Having FreeBSD (now 7.1-PRE) as my favorite OS on servers
>>>> AND hybrid boxes (acting as workstations AND small servers) makes
>>>> life easy - I thought and was touhgt wrong.
>>>> Our administration sends a lot of PDFs around and as it is very
>>>> usual, our applications, forms and so on for scientific congresses
>>>> etc. are all PDF and subject to be edited. And here it comes that
>>>> FreeBSD seems to be a definite deadend!
>>>> Using pdfedit is wrong, it can't show or edit any PDF we obtained so
>>>> far. Using 'pdftk' fails, it is not made to run in modern 64 bit
>>>> environments only when using FreeBSD (linux seems to have no
>>>> problem, especially Ubuntu does the thing). So, then I remembered
>>>> myself about Linuxulator and tried acrobatviewer - and failed. As in
>>>> other professional environments we were far away from using simple
>>>> user management and therefore there is a LDAP environment. And,
>>>> funny, Linuxulator does not contact LDAP even if I try to configure
>>>> it to use our LDAP environment. Digging around what flavor of Linux
>>>> FreeBSD installs (means: do al ot of work), reading about how to use
>>>> PAM and LDAP on Linux (means: doing again additional work in an
>>>> environment I try to avoid!) and at last no success, because
>>>> something is missing or the Linuxulator should use something for
>>>> user authentication and autorization it does not have and uses
>>>> therefore the FreeBSD stuff and then fails. Especially for the
>>>> Acrobat weirdness (or call it software) something like this occurs
>>>> whenn attempting starting acrobat reader:
>>>>
>>>> (acroread:18831): GLib-WARNING **: getpwuid_r(): failed due to
>>>> unknown user id (2001)
>>>>
>>>> (acroread:18831): Gdk-WARNING **: shmget failed: error 12 (Cannot
>>>> allocate memory)
>>>>
>>>>
>>>> If there is someone here running a 64 bit environment within a LDAP
>>>> realm and already got successfully running the Linux add ons as
>>>> expected for LDAP users, you are really welcome to give me some
>>>> hints how to turn around my frustration and thoughts about
>>>> definitely leaving the FreeBSD path ...
>>>
>>> I use a simple workaround to make the Adobe reader (and some other
>>> Linux binaries) work - I simply added following entries to the
>>> crontab file of root:
>>>
>>> 00 05 * * * /usr/bin/getent passwd | /usr/bin/sed '1,/nobody/d' >
>>> /usr/compat/linux/etc/passwd 2> /dev/null
>>> 15 05 * * * /usr/bin/getent group > /usr/compat/linux/etc/group 2>
>>> /dev/null
>>>
>>> Hope that helps a little bit ...
>>
>> Thank you very much, this works.
>> But this seems to be a hack, unclean in my opinion. As I got responses
>> earlier of the year for a similar problem, Linuxulator should utilize
>> lacking facilities from FreeBSD host system - but obviously it
>> doesn't, especially if there are non-existent users. As I realized -
>> and this puzzles me - there was no passwd file in my configuration, so
>> I guess the Linuxulator has to contact the underlying FreeBSD
>> infrastructure to get UIDs like root and others - but this seems not
>> to be the case.
>
> I agree a little bit. When we used YP years ago it was possible to edit
> /usr/compat/linux/etc/yp.conf to make the Linux binaries contact the NIS
> service.
>
> Making use of LDAP should work in an similar way. Of course my
> "solution" is a hack - but not the worst one. ;-)
>
> Best regards
>
> Konrad Heuer
> GWDG, Am Fassberg, 37077 Goettingen, Germany, kheuer2@gwdg.de
>
In the days of NIS/YP the Linuxulator worked very well the way you
described, so I expecte LDAP working for me. But whatever I tried to
configure (also a complete Linux-based config!), I never had success,
especially when it comes to UIDs.
Your 'hack' works for me, thank you very much.Regards,
Oliver
From freebsd at meijome.net Mon Sep 1 14:05:35 2008
From: freebsd at meijome.net (Norberto Meijome)
Date: Mon Sep 1 14:05:41 2008
Subject: Problem with alias ip's
In-Reply-To: <19251983.post@talk.nabble.com>
References: <19251983.post@talk.nabble.com>
Message-ID: <20080902000524.6125a510@ayiin>
On Mon, 1 Sep 2008 03:01:04 -0700 (PDT)
unsegundo wrote:
> Perhaps a netmasks problem? A route problem? Or what else? What can i do?
Hola :)
do you have any firewall running on your host?
_________________________
{Beto|Norberto|Numard} Meijome
Unix is user friendly. However, it isn't idiot friendly.
I speak for myself, not my employer. Contents may be hot. Slippery when wet.
Reading disclaimers makes you go blind. Writing them is worse. You have been
Warned.
From freebsd-questions at slightlystrange.org Mon Sep 1 14:36:01 2008
From: freebsd-questions at slightlystrange.org (Daniel Bye)
Date: Mon Sep 1 14:36:09 2008
Subject: newsyslog
In-Reply-To: <48BBCCBE.1060409@lcwords.com>
References: <48BBCCBE.1060409@lcwords.com>
Message-ID: <20080901143555.GA42584@torus.slightlystrange.org>
On Mon, Sep 01, 2008 at 01:06:38PM +0200, Zbigniew Szalbot wrote:
> Hello,
>
> Just one quick question: do changes to /etc/newsyslog.conf require
> /usr/bin/killall -HUP syslogd?
No, newsyslog.conf is the config file for the newsyslog script, which
is called from cron every hour (IIRC). newsyslog handles sending signals
to syslogd and others depending on the values in the last three fields of
the newsyslog.conf file.
>
> I commented out one entry for log rotation, however at midnight the log
> was still rotated by newsyslog as if it had not been commented out. Man
> newsyslog.conf seems to suggest this is not necessary...
Odd. I've never encountered this problem. Are you sure you commented out
the right file? ;-)
Dan
--
Daniel Bye
_
ASCII ribbon campaign ( )
- against HTML, vCards and X
- proprietary attachments in e-mail / \
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20080901/1088618c/attachment.pgp
From ensolounsegundo at hotmail.com Mon Sep 1 15:28:13 2008
From: ensolounsegundo at hotmail.com (unsegundo)
Date: Mon Sep 1 15:28:19 2008
Subject: Problem with alias ip's
In-Reply-To: <19251983.post@talk.nabble.com>
References: <19251983.post@talk.nabble.com>
Message-ID: <19256570.post@talk.nabble.com>
Hola :)
I have PF running, but if i disable it (pfctl -d), the results are the same
Any idea? Thank you
--
View this message in context: http://www.nabble.com/Problem-with-alias-ip%27s-tp19251983p19256570.html
Sent from the freebsd-questions mailing list archive at Nabble.com.
From z.szalbot at lcwords.com Mon Sep 1 16:13:45 2008
From: z.szalbot at lcwords.com (Zbigniew Szalbot)
Date: Mon Sep 1 16:13:53 2008
Subject: newsyslog
In-Reply-To: <20080901143555.GA42584@torus.slightlystrange.org>
References: <48BBCCBE.1060409@lcwords.com>
<20080901143555.GA42584@torus.slightlystrange.org>
Message-ID: <48BC14B5.9000401@lcwords.com>
Hello,
Daniel Bye:
>> I commented out one entry for log rotation, however at midnight the log
>> was still rotated by newsyslog as if it had not been commented out. Man
>> newsyslog.conf seems to suggest this is not necessary...
>
> Odd. I've never encountered this problem. Are you sure you commented out
> the right file? ;-)
Well, I am going to try again tonight but this is what I have in
/etc/newsyslog.conf
# /var/log/maillog 644 60 * @T00 JC
I will report to the list if it still rotates the mail file.
Thanks!
--
Zbigniew Szalbot
www.LCWords.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3253 bytes
Desc: S/MIME Cryptographic Signature
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20080901/65598d35/smime.bin
From tedm at toybox.placo.com Mon Sep 1 17:12:04 2008
From: tedm at toybox.placo.com (Ted Mittelstaedt)
Date: Mon Sep 1 17:12:12 2008
Subject: Linux, LDAP and the impossibility of handling editable PDFs
In-Reply-To: <48BBBED9.9060901@zedat.fu-berlin.de>
Message-ID:
> -----Original Message-----
> From: owner-freebsd-questions@freebsd.org
> [mailto:owner-freebsd-questions@freebsd.org]On Behalf Of O. Hartmann
> Sent: Monday, September 01, 2008 3:07 AM
> To: Konrad Heuer
> Cc: freebsd-questions@freebsd.org
> Subject: Re: Linux, LDAP and the impossibility of handling editable PDFs
>
>
> Konrad Heuer wrote:
> >
> > On Mon, 1 Sep 2008, O. Hartmann wrote:
> >
> >> Several months ago I tried configuring the Linuxulator on several
> >> FreeBSD 7.X boxes, most of them pure amd64 and pure 64 bit (as it is
> >> possible with Intels pseudo 64 bit crap). The reason for that is
> >> simple. Having FreeBSD (now 7.1-PRE) as my favorite OS on servers AND
> >> hybrid boxes (acting as workstations AND small servers) makes life
> >> easy - I thought and was touhgt wrong.
> >> Our administration sends a lot of PDFs around and as it is very usual,
> >> our applications, forms and so on for scientific congresses etc. are
> >> all PDF and subject to be edited. And here it comes that FreeBSD seems
> >> to be a definite deadend!
> >> Using pdfedit is wrong, it can't show or edit any PDF we obtained so
> >> far. Using 'pdftk' fails, it is not made to run in modern 64 bit
> >> environments only when using FreeBSD (linux seems to have no problem,
> >> especially Ubuntu does the thing). So, then I remembered myself about
> >> Linuxulator and tried acrobatviewer - and failed. As in other
> >> professional environments we were far away from using simple user
> >> management and therefore there is a LDAP environment. And, funny,
> >> Linuxulator does not contact LDAP even if I try to configure it to
> >> use our LDAP environment. Digging around what flavor of Linux FreeBSD
> >> installs (means: do al ot of work), reading about how to use PAM and
> >> LDAP on Linux (means: doing again additional work in an environment I
> >> try to avoid!) and at last no success, because something is missing or
> >> the Linuxulator should use something for user authentication and
> >> autorization it does not have and uses therefore the FreeBSD stuff and
> >> then fails. Especially for the Acrobat weirdness (or call it software)
> >> something like this occurs whenn attempting starting acrobat reader:
> >>
> >> (acroread:18831): GLib-WARNING **: getpwuid_r(): failed due to unknown
> >> user id (2001)
> >>
> >> (acroread:18831): Gdk-WARNING **: shmget failed: error 12 (Cannot
> >> allocate memory)
> >>
> >>
> >> If there is someone here running a 64 bit environment within a LDAP
> >> realm and already got successfully running the Linux add ons as
> >> expected for LDAP users, you are really welcome to give me some hints
> >> how to turn around my frustration and thoughts about definitely
> >> leaving the FreeBSD path ...
> >
> > I use a simple workaround to make the Adobe reader (and some
> other Linux
> > binaries) work - I simply added following entries to the
> crontab file of
> > root:
> >
> > 00 05 * * * /usr/bin/getent passwd | /usr/bin/sed '1,/nobody/d' >
> > /usr/compat/linux/etc/passwd 2> /dev/null
> > 15 05 * * * /usr/bin/getent group > /usr/compat/linux/etc/group 2>
> > /dev/null
> >
> > Hope that helps a little bit ...
> >
> > Best regards
> >
> > Konrad Heuer
> > GWDG, Am Fassberg, 37077 Goettingen, Germany, kheuer2@gwdg.de
> >
> >
>
> Thank you very much, this works.
> But this seems to be a hack,
The REAL hack is running Adobre Reader on the Linuxlator
Contact Adobe and demand a native FreeBSD version.
You won't be alone. As soon as Adobe gets enough complaints
from FreeBSD users they will go forward with a native FreeBSD
port.
They did it with Linux. Years ago they refused to release a
Linux version of Reader. User complaints changed that.
Ted
From wojtek at wojtek.tensor.gdynia.pl Mon Sep 1 17:32:09 2008
From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar)
Date: Mon Sep 1 17:32:16 2008
Subject: newsyslog
In-Reply-To: <48BBCCBE.1060409@lcwords.com>
References: <48BBCCBE.1060409@lcwords.com>
Message-ID: <20080901193111.U8762@wojtek.tensor.gdynia.pl>
>
> Just one quick question: do changes to /etc/newsyslog.conf require
> /usr/bin/killall -HUP syslogd?
quick answer: NO.
for sure.
> I commented out one entry for log rotation, however at midnight the log was
> still rotated by newsyslog as if it had not been commented out. Man
> newsyslog.conf seems to suggest this is not necessary...
check things once again. you missed something.
From scrappy at hub.org Mon Sep 1 18:27:30 2008
From: scrappy at hub.org (Marc G. Fournier)
Date: Mon Sep 1 18:27:42 2008
Subject: cPanel or Plesk in jail ... ?
Message-ID:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Simple enough, has anyone been able to get either to run successfully in a jail?
- --
Marc G. Fournier Hub.Org Hosting Solutions S.A. (http://www.hub.org)
Email . scrappy@hub.org MSN . scrappy@hub.org
Yahoo . yscrappy Skype: hub.org ICQ . 7615664
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (FreeBSD)
iEYEARECAAYFAki8L/8ACgkQ4QvfyHIvDvO5lACg7UEk8CkUvD4DIu2LI/bVs+65
E5YAn0BmZHgRoqg76S5lzRa+nK2uZoIu
=sZXQ
-----END PGP SIGNATURE-----
From laszlo_danielisz at yahoo.com Mon Sep 1 20:59:23 2008
From: laszlo_danielisz at yahoo.com (=?iso-8859-1?Q?D=E1nielisz_L=E1szl=F3?=)
Date: Mon Sep 1 21:00:53 2008
Subject: nvidia 32bit driver
Message-ID: <427207.53148.qm@web30801.mail.mud.yahoo.com>
Hello!
I just install my new FreeBSD7.0 system, everything its up tu date, but when I try to install /usr/ports/x11/nvidia-driver I always got the following error message:
===> Building for nvidia-driver-173.14.12
===> src (all)
"/usr/share/mk/bsd.kmod.mk", line 12: "can't find kernel source tree"
*** Error code 1
Stop in /usr/ports/x11/nvidia-driver/work/NVIDIA-FreeBSD-x86-173.14.12.
*** Error code 1
Stop in /usr/ports/x11/nvidia-driver.
*** Error code 1
Stop in /usr/ports/x11/nvidia-driver.
Do you have any idea what the problem could be?
From derek at computinginnovations.com Mon Sep 1 21:06:06 2008
From: derek at computinginnovations.com (Derek Ragona)
Date: Mon Sep 1 21:06:13 2008
Subject: nvidia 32bit driver
In-Reply-To: <427207.53148.qm@web30801.mail.mud.yahoo.com>
References: <427207.53148.qm@web30801.mail.mud.yahoo.com>
Message-ID: <6.0.0.22.2.20080901160508.0258bd38@mail.computinginnovations.com>
At 03:59 PM 9/1/2008, D?nielisz L?szl? wrote:
>Hello!
>
>
>I just install my new FreeBSD7.0 system, everything its up tu date, but
>when I try to install /usr/ports/x11/nvidia-driver I always got the
>following error message:
>
>===> Building for nvidia-driver-173.14.12
>===> src (all)
>"/usr/share/mk/bsd.kmod.mk", line 12: "can't find kernel source tree"
>*** Error code 1
>
>Stop in /usr/ports/x11/nvidia-driver/work/NVIDIA-FreeBSD-x86-173.14.12.
>*** Error code 1
>
>Stop in /usr/ports/x11/nvidia-driver.
>*** Error code 1
>
>Stop in /usr/ports/x11/nvidia-driver.
>
>
>Do you have any idea what the problem could be?
>
>
Do you have the full source tree? Check that /usr/src is properly populated.
-Derek
--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
From freebsd-questions at slightlystrange.org Mon Sep 1 21:10:22 2008
From: freebsd-questions at slightlystrange.org (Daniel Bye)
Date: Mon Sep 1 21:10:29 2008
Subject: nvidia 32bit driver
In-Reply-To: <427207.53148.qm@web30801.mail.mud.yahoo.com>
References: <427207.53148.qm@web30801.mail.mud.yahoo.com>
Message-ID: <20080901211012.GG42584@torus.slightlystrange.org>
On Mon, Sep 01, 2008 at 01:59:22PM -0700, D?nielisz L?szl? wrote:
> Hello!
>
>
> I just install my new FreeBSD7.0 system, everything its up tu date, but when I try to install /usr/ports/x11/nvidia-driver I always got the following error message:
>
> ===> Building for nvidia-driver-173.14.12
> ===> src (all)
> "/usr/share/mk/bsd.kmod.mk", line 12: "can't find kernel source tree"
This error message is telling you what's wrong - you don't have the kernel
source tree installed, which you need for this port.
The easiest way to get it is to run sysinstall, go to "Configure",
"Distributions" and select "src". From the next menu, you must select at
least "sys".
Dan
--
Daniel Bye
_
ASCII ribbon campaign ( )
- against HTML, vCards and X
- proprietary attachments in e-mail / \
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20080901/97e2b73e/attachment.pgp
From laszlo_danielisz at yahoo.com Mon Sep 1 21:24:10 2008
From: laszlo_danielisz at yahoo.com (=?iso-8859-1?Q?D=E1nielisz_L=E1szl=F3?=)
Date: Mon Sep 1 21:24:17 2008
Subject: nvidia 32bit driver
Message-ID: <443425.35525.qm@web30807.mail.mud.yahoo.com>
Thank you guys very much!
----- Original Message ----
From: Daniel Bye
To: freebsd-questions@freebsd.org
Sent: Monday, September 1, 2008 11:10:12 PM
Subject: Re: nvidia 32bit driver
On Mon, Sep 01, 2008 at 01:59:22PM -0700, D?nielisz L?szl? wrote:
> Hello!
>
>
> I just install my new FreeBSD7.0 system, everything its up tu date, but when I try to install /usr/ports/x11/nvidia-driver I always got the following error message:
>
> ===> Building for nvidia-driver-173.14.12
> ===> src (all)
> "/usr/share/mk/bsd.kmod.mk", line 12: "can't find kernel source tree"
This error message is telling you what's wrong - you don't have the kernel
source tree installed, which you need for this port.
The easiest way to get it is to run sysinstall, go to "Configure",
"Distributions" and select "src". From the next menu, you must select at
least "sys".
Dan
--
Daniel Bye
_
ASCII ribbon campaign ( )
- against HTML, vCards and X
- proprietary attachments in e-mail / \
From christopher-ml at telting.org Mon Sep 1 21:33:15 2008
From: christopher-ml at telting.org (Chris)
Date: Mon Sep 1 21:33:23 2008
Subject: LDAP and Account Management
Message-ID: <48BC5F97.1000809@telting.org>
I've toyed with LDAP accounts before to get them to work. But now I'm
going to put it into production.
I'm wondering though about user and group management. When ports are
installed on individual servers, users and groups are sometimes added
for daemons. It would be nice to receive notification and possibly
block and or redirect actions to appropriate scripts and the LDAP server.
Are there any ports or mechanisms for hooking into the scripts and
programs that handle account modification (chpass, adduser and pw) or
does everyone typically do this sort of thing by hand?
From peo at intersonic.se Mon Sep 1 21:40:47 2008
From: peo at intersonic.se (Per olof Ljungmark)
Date: Mon Sep 1 21:41:01 2008
Subject: LDAP and Account Management
In-Reply-To: <48BC5F97.1000809@telting.org>
References: <48BC5F97.1000809@telting.org>
Message-ID: <48BC6159.7070508@intersonic.se>
Chris wrote:
> I've toyed with LDAP accounts before to get them to work. But now I'm
> going to put it into production.
>
> I'm wondering though about user and group management. When ports are
> installed on individual servers, users and groups are sometimes added
> for daemons. It would be nice to receive notification and possibly
> block and or redirect actions to appropriate scripts and the LDAP server.
>
> Are there any ports or mechanisms for hooking into the scripts and
> programs that handle account modification (chpass, adduser and pw) or
> does everyone typically do this sort of thing by hand?
smbldap-tools (in ports) is a collection of scripts that does this,
mainly developed with Samba in mind. I'm sure there are others too.
Best,
--per
From laszlo_danielisz at yahoo.com Mon Sep 1 22:21:31 2008
From: laszlo_danielisz at yahoo.com (=?iso-8859-1?Q?D=E1nielisz_L=E1szl=F3?=)
Date: Mon Sep 1 22:21:39 2008
Subject: no ask
Message-ID: <821688.23190.qm@web30803.mail.mud.yahoo.com>
Hello!
Do you have any idea how to set the /etc/make.conf to do not ask any question during the make procedure and do the make with the default settings?
Laci
From kline at thought.org Mon Sep 1 22:57:48 2008
From: kline at thought.org (Gary Kline)
Date: Mon Sep 1 22:57:55 2008
Subject: bluefish question
In-Reply-To: <20080901124433.4b75e6db.freebsd@edvax.de>
References: <20080831224710.GA42854@thought.org>
<20080901124433.4b75e6db.freebsd@edvax.de>
Message-ID: <20080901225726.GA20361@thought.org>
On Mon, Sep 01, 2008 at 12:44:33PM +0200, Polytropon wrote:
> On Sun, 31 Aug 2008 15:47:14 -0700, Gary Kline wrote:
> > is there an easier markup editor
> > in ports?
>
> GNotepad+ (pkg_add -r gnotepad+) maybe?
>
>
>
> > PS: Whatever happened to the good old days when Mozilla had an
> > editor-mode builtin?
>
> They're gone, as well as the days when web content was presented
> using valid HTML.
>
>
Yeah, well, what I wound up doing was learning about
and then creating 99% of the [test] page by-hand. ...Well, it's time
to get back into the CSS anyway.
gary
> --
> Polytropon
> From Magdeburg, Germany
> Happy FreeBSD user since 4.0
> Andra moi ennepe, Mousa, ...
--
Gary Kline kline@thought.org http://www.thought.org Public Service Unix
http://jottings.thought.org http://transfinite.thought.org
From sahil at tandon.net Mon Sep 1 23:00:03 2008
From: sahil at tandon.net (Sahil Tandon)
Date: Mon Sep 1 23:00:09 2008
Subject: no ask
In-Reply-To: <821688.23190.qm@web30803.mail.mud.yahoo.com>
References: <821688.23190.qm@web30803.mail.mud.yahoo.com>
Message-ID: <20080901230000.GA15009@shepherd>
D?nielisz L?szl? wrote:
> Do you have any idea how to set the /etc/make.conf to do not ask any
> question during the make procedure and do the make with the default
> settings?
Maybe you're looking for BATCH=yes?
--
Sahil Tandon
From kline at thought.org Mon Sep 1 23:28:40 2008
From: kline at thought.org (Gary Kline)
Date: Mon Sep 1 23:28:47 2008
Subject: aargggghh, Konq and "Times New Roman"
Message-ID: <20080901232832.GA21397@thought.org>
Anybody know why neither the left nor right double-quotes print in
Konqueror? Works fine in firefox3. Prob'ly in firefox[2], tho I haven't
tried.
gary
PS: Whatever the default font is, in black "#000000" does print
left/right double quotes... {FWIW}.
--
Gary Kline kline@thought.org http://www.thought.org Public Service Unix
http://jottings.thought.org http://transfinite.thought.org
From m0rchand at comcast.net Tue Sep 2 00:08:22 2008
From: m0rchand at comcast.net (Tom Marchand)
Date: Tue Sep 2 00:08:28 2008
Subject: /etc/hosts
Message-ID: <7A686BAC-2F03-4B18-8307-83DDAD949625@comcast.net>
Hi,
I've got an issue where hosts defined in my /etc/hosts are not being
resolved. I've looked at resolv.conf, host.conf and nsswitch.conf and
everything looks ok. It's my understanding that with the below
configurations, /etc/hosts should be used first then DNS. Correct?
This is a 6.1 system.
host# cat resolv.conf
local domain
nameserver x.x.x.x
cat host.conf
# Auto-generated from nsswitch.conf, do not edit
hosts
dns
host# cat nsswitch.conf
group: compat
group_compat: nis
hosts: files dns
networks: files
passwd: compat
passwd_compat: nis
shells: files
From ges+lists at wingfoot.org Tue Sep 2 00:10:36 2008
From: ges+lists at wingfoot.org (Glenn Sieb)
Date: Tue Sep 2 00:10:46 2008
Subject: /etc/hosts
In-Reply-To: <7A686BAC-2F03-4B18-8307-83DDAD949625@comcast.net>
References: <7A686BAC-2F03-4B18-8307-83DDAD949625@comcast.net>
Message-ID: <48BC8475.3040900@wingfoot.org>
Tom Marchand said the following on 9/1/08 7:52 PM:
> Hi,
>
> I've got an issue where hosts defined in my /etc/hosts are not being
> resolved. I've looked at resolv.conf, host.conf and nsswitch.conf and
> everything looks ok. It's my understanding that with the below
> configurations, /etc/hosts should be used first then DNS. Correct?
> This is a 6.1 system.
>
Can we see your /etc/hosts file?
Best,
--Glenn
From derek at computinginnovations.com Tue Sep 2 00:22:43 2008
From: derek at computinginnovations.com (Derek Ragona)
Date: Tue Sep 2 00:22:50 2008
Subject: /etc/hosts
In-Reply-To: <7A686BAC-2F03-4B18-8307-83DDAD949625@comcast.net>
References: <7A686BAC-2F03-4B18-8307-83DDAD949625@comcast.net>
Message-ID: <6.0.0.22.2.20080901192043.02547628@mail.computinginnovations.com>
At 06:52 PM 9/1/2008, Tom Marchand wrote:
>Hi,
>
>I've got an issue where hosts defined in my /etc/hosts are not being
>resolved. I've looked at resolv.conf, host.conf and nsswitch.conf and
>everything looks ok. It's my understanding that with the below
>configurations, /etc/hosts should be used first then DNS. Correct?
>This is a 6.1 system.
>
>host# cat resolv.conf
>local domain
>nameserver x.x.x.x
>
>cat host.conf
># Auto-generated from nsswitch.conf, do not edit
>hosts
>dns
>
>
>host# cat nsswitch.conf
>group: compat
>group_compat: nis
>hosts: files dns
>networks: files
>passwd: compat
>passwd_compat: nis
>shells: files
Check your /etc/rc.conf and look that the correct IP and hostname are set
in there. You may have a typo.
-Derek
--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
From david at vizion2000.net Tue Sep 2 00:53:48 2008
From: david at vizion2000.net (David Southwell)
Date: Tue Sep 2 00:53:55 2008
Subject: smtp authentication
Message-ID: <200808311116.28934.david@vizion2000.net>
Hi
I am really ignorant about this issue.
I am running postfix on freebsd 7.0 using a dynamic IP address and am getting
requests to turn on smtp authentication for outgoing mails to reach servers
such as yahoo.com but do not know how to do it.
I am using kmail as a client.
If anyone could point me in the right direction I would be most grateful.
Thank you
David
From m0rchand at comcast.net Tue Sep 2 02:03:33 2008
From: m0rchand at comcast.net (Tom Marchand)
Date: Tue Sep 2 02:03:42 2008
Subject: /etc/hosts
In-Reply-To: <48BC8475.3040900@wingfoot.org>
References: <7A686BAC-2F03-4B18-8307-83DDAD949625@comcast.net>
<48BC8475.3040900@wingfoot.org>
Message-ID: <15683805-927F-424A-ADD1-1E1E43D5754D@comcast.net>
I am trying to resolve the 192.168.2.3 address.
::1 localhost.local localhost
127.0.0.1 localhost.local localhost
72.15.233.132 host.local host
72.15.233.132 host.local.
192.168.2.3 test
On Sep 1, 2008, at 8:10 PM, Glenn Sieb wrote:
> Tom Marchand said the following on 9/1/08 7:52 PM:
>> Hi,
>>
>> I've got an issue where hosts defined in my /etc/hosts are not being
>> resolved. I've looked at resolv.conf, host.conf and nsswitch.conf
>> and
>> everything looks ok. It's my understanding that with the below
>> configurations, /etc/hosts should be used first then DNS. Correct?
>> This is a 6.1 system.
>>
>
> Can we see your /etc/hosts file?
>
> Best,
> --Glenn
>
From m0rchand at comcast.net Tue Sep 2 02:07:17 2008
From: m0rchand at comcast.net (Tom Marchand)
Date: Tue Sep 2 02:07:23 2008
Subject: /etc/hosts
In-Reply-To: <6.0.0.22.2.20080901192043.02547628@mail.computinginnovations.com>
References: <7A686BAC-2F03-4B18-8307-83DDAD949625@comcast.net>
<6.0.0.22.2.20080901192043.02547628@mail.computinginnovations.com>
Message-ID: <6E5D2FC9-A4A7-47B1-83D4-3B2ACA2F4139@comcast.net>
Everything is set correctly in rc.conf. What I have noticed is that
ping can resolve hosts from /etc/hosts. I should mention that this
machine has been running for 1.5 years and it wasn't until today that
I've needed to add machines to /etc/hosts.
On Sep 1, 2008, at 8:22 PM, Derek Ragona wrote:
>
> Check your /etc/rc.conf and look that the correct IP and hostname
> are set in there. You may have a typo.
>
> -Derek
>
> --
> This message has been scanned for viruses and
> dangerous content by MailScanner, and is
> believed to be clean.
>
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org
> "
From ejcerejo at optonline.net Tue Sep 2 02:26:41 2008
From: ejcerejo at optonline.net (E. J. Cerejo)
Date: Tue Sep 2 02:26:47 2008
Subject: Kde4 packages
In-Reply-To: <48BB7595.2010208@gmail.com>
References: <20080901003617.761fcd7f.ejcerejo@optonline.net>
<48BB7595.2010208@gmail.com>
Message-ID: <48BCA45E.9040904@optonline.net>
Manolis Kiagias wrote:
> Eduardo Cerejo wrote:
>> Building kde4 from ports will take forever on my computer, does anyone
>> where I can get these packages?
>>
>>
> I have uploaded a torrent with kde4.1 packages (including xorg, bash,
> samba and others). Get it here:
>
> http://linuxtracker.org/index.php?page=torrent-details&id=c08d546327215f32f566f6d215ba30fff952692c
Thanks for the torrent but unfortunately it's just too slow to download
(17kbs) or 28 hours to download. I was looking for something that could
be downloaded in a couple of hours or so.
From sahil at tandon.net Tue Sep 2 02:40:02 2008
From: sahil at tandon.net (Sahil Tandon)
Date: Tue Sep 2 02:40:09 2008
Subject: smtp authentication
In-Reply-To: <200808311116.28934.david@vizion2000.net>
References: <200808311116.28934.david@vizion2000.net>
Message-ID: <20080902023954.GA15296@shepherd>
David Southwell wrote:
> I am running postfix on freebsd 7.0 using a dynamic IP address and am
> getting requests to turn on smtp authentication for outgoing mails to
> reach servers such as yahoo.com but do not know how to do it.
This is a little unclear. Who is making these requests? And what do
your logs currently show when you try to send email destined for
yahoo.com? You might also want to take this discussion to the
postfix-users mailing list. But in general, for help with SASL in
Postfix, see:
http://www.postfix.org/SASL_README.html
--
Sahil Tandon
From kulkam50 at yahoo.com Mon Sep 1 11:02:06 2008
From: kulkam50 at yahoo.com (kakyama umar)
Date: Tue Sep 2 02:48:18 2008
Subject: (no subject)
Message-ID: <611304.63179.qm@web45104.mail.sp1.yahoo.com>
hi, their have just installed freebsd 6.2 but am having issues with configuring ssh so can you plz help me out.
Rgds.
umar
From chris27wjoyner at yahoo.com Mon Sep 1 21:45:22 2008
From: chris27wjoyner at yahoo.com (Christopher Joyner)
Date: Tue Sep 2 02:48:31 2008
Subject: timidity server, on FreeBSD, for wine.
Message-ID: <322440.50927.qm@web56706.mail.re3.yahoo.com>
I can't seem to get timidity to act like I want it to, can someone help me out?
Want I need is a /dev/sequencer, and I wanted to use timidity to emulate it.
It's so I can use it with wine, midi.
It's the midi support i am looking for.
---
In Love in Jesus Christ, Or Lord and Savior.
For God so loved the world, that he gave his only *begotten Son, that whosoever believeth in him should not perish, but have everlasting life.
--John 3:16
From sahil at tandon.net Tue Sep 2 02:51:21 2008
From: sahil at tandon.net (Sahil Tandon)
Date: Tue Sep 2 02:51:31 2008
Subject: /etc/hosts
In-Reply-To: <6E5D2FC9-A4A7-47B1-83D4-3B2ACA2F4139@comcast.net>
References: <7A686BAC-2F03-4B18-8307-83DDAD949625@comcast.net>
<6.0.0.22.2.20080901192043.02547628@mail.computinginnovations.com>
<6E5D2FC9-A4A7-47B1-83D4-3B2ACA2F4139@comcast.net>
Message-ID: <20080902025117.GB15296@shepherd>
Tom Marchand wrote:
> Everything is set correctly in rc.conf. What I have noticed is that
> ping can resolve hosts from /etc/hosts.
If ping works then everything is fine in /etc/hosts. You haven't told us
what program you're using to resolve the 'test' hostname. If you're
using something like dig or nslookup, then this is expected behavior;
those programs are *supposed* to query the name server and do not read
/etc/hosts.
--
Sahil Tandon
From sahil at tandon.net Tue Sep 2 02:54:19 2008
From: sahil at tandon.net (Sahil Tandon)
Date: Tue Sep 2 02:54:27 2008
Subject: (no subject)
In-Reply-To: <611304.63179.qm@web45104.mail.sp1.yahoo.com>
References: <611304.63179.qm@web45104.mail.sp1.yahoo.com>
Message-ID: <20080902025414.GC15296@shepherd>
kakyama umar wrote:
> hi, their have just installed freebsd 6.2 but am having issues with
> configuring ssh so can you plz help me out.
http://www.lemis.com/questions.html
--
Sahil Tandon
From adrian at gordinier.net Tue Sep 2 04:09:05 2008
From: adrian at gordinier.net (adrian)
Date: Tue Sep 2 04:09:11 2008
Subject: Locked myself out.
Message-ID: <083ff0361f20bc08a90dab9e293478da@gordinier.net>
Hi all this is my first question on the list.
I had been playing with securelevels and was in level 3 then I mistakenly
executed "chflags schg /etc/rc.*"
It wouldn't be such a problem but it as you guessed is on a remote server
and I could pay a local guy there to drop to single-user but I thought this
might be a good attempt at self hacking. But I am kind of a noob to FreeBSD
so I have been Googleing and pouring over Absolute FreeBSD (Good book
Thank-you Michael Lucas) looking for someway to execute a script to copy
over my rc.conf before it loads. I figured it should be possible maybe
though the /etc/rc file but I have had no luck with that.
Please HELP!
Adrian Gordinier
From adrian at gordinier.net Tue Sep 2 04:22:16 2008
From: adrian at gordinier.net (adrian)
Date: Tue Sep 2 04:22:22 2008
Subject: Locked myself out.
In-Reply-To: <083ff0361f20bc08a90dab9e293478da@gordinier.net>
References: <083ff0361f20bc08a90dab9e293478da@gordinier.net>
Message-ID: <04d8869a228b319332bee7de39268a57@gordinier.net>
On Tue, 2008-09-02 at 03:45 +0000, adrian wrote:
Hi all this is my first question on the list.
>
> I had been playing with securelevels and was in level 3 then I mistakenly
> executed "chflags schg /etc/rc.*"
> It wouldn't be such a problem but it as you guessed is on a remote server
> and I could pay a local guy there to drop to single-user but I thought
this
> might be a good attempt at self hacking. But I am kind of a noob to
FreeBSD
> so I have been Googleing and pouring over Absolute FreeBSD (Good book
> Thank-you Michael Lucas) looking for someway to execute a script to copy
> over my rc.conf before it loads. I figured it should be possible maybe
> though the /etc/rc file but I have had no luck with that.
> Please HELP!
>
>
Yeah, I did find a way myself. I was able to make a .sh file in
/usr/local/etc/rc.d/ that copied a new rc.conf over the old one.
Adrian
From sonic2000gr at gmail.com Tue Sep 2 04:59:22 2008
From: sonic2000gr at gmail.com (Manolis Kiagias)
Date: Tue Sep 2 04:59:30 2008
Subject: Kde4 packages
In-Reply-To: <48BCA45E.9040904@optonline.net>
References: <20080901003617.761fcd7f.ejcerejo@optonline.net>
<48BB7595.2010208@gmail.com> <48BCA45E.9040904@optonline.net>
Message-ID: <48BCC825.5020407@gmail.com>
E. J. Cerejo wrote:
> Manolis Kiagias wrote:
>> Eduardo Cerejo wrote:
>>> Building kde4 from ports will take forever on my computer, does
>>> anyone where I can get these packages?
>>>
>>>
>> I have uploaded a torrent with kde4.1 packages (including xorg, bash,
>> samba and others). Get it here:
>>
>> http://linuxtracker.org/index.php?page=torrent-details&id=c08d546327215f32f566f6d215ba30fff952692c
>
>
> Thanks for the torrent but unfortunately it's just too slow to
> download (17kbs) or 28 hours to download. I was looking for something
> that could be downloaded in a couple of hours or so.
>
Yes, unfortunately there are not enough seeders at the moment. Still
better than nothing ;)
Well, it seems there are now pre-built packages for kde 4 in FreeBSD
servers. Just set your PACKAGESITE to 7-stable, i.e:
setenv PACKAGESITE
ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-7-stable/All/
and install:
pkg_add -r kde4-4.1.0
From m.seaman at infracaninophile.co.uk Tue Sep 2 05:36:38 2008
From: m.seaman at infracaninophile.co.uk (Matthew Seaman)
Date: Tue Sep 2 05:36:45 2008
Subject: LDAP and Account Management
In-Reply-To: <48BC5F97.1000809@telting.org>
References: <48BC5F97.1000809@telting.org>
Message-ID: <48BCD0D8.7070309@infracaninophile.co.uk>
Chris wrote:
> I've toyed with LDAP accounts before to get them to work. But now I'm
> going to put it into production.
>
> I'm wondering though about user and group management. When ports are
> installed on individual servers, users and groups are sometimes added
> for daemons. It would be nice to receive notification and possibly
> block and or redirect actions to appropriate scripts and the LDAP server.
>
> Are there any ports or mechanisms for hooking into the scripts and
> programs that handle account modification (chpass, adduser and pw) or
> does everyone typically do this sort of thing by hand?
For the user and groups set up when installing from the ports --
unfortunately no. Each port that needs to set up a UID/GID will
have its own pkg-install script to do the work. These are all written
separately for each port that needs one -- no common code libraries etc.
other than cut'n'paste from some other port. These are generally
wrappers around pw(8) and have no facility for switching to some other
program to generate accounts.
I believe though that while pw(8) can only update text format files
such as /etc/master.passwd or /etc/group it will report all of the
UIDs or GIDs known to the system from whatever authentication databases
you are hooked up to. So if you create appropriate UIDs and GIDs in LDAP
before trying to install the port, you shouldn't end up with a second
local account withthe same credentials.
Also note that you will likely have boot-order problems: you'll need
to ensure that your system is up and on the network and resolving the
user information with whatever network based service you're using before
any of the daemons that run as those UIDs are started.
Cheers,
Matthew
--
Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard
Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
Kent, CT11 9PW
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 258 bytes
Desc: OpenPGP digital signature
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20080902/72636e1a/signature.pgp
From jonathan+freebsd-questions at hst.org.za Tue Sep 2 06:43:20 2008
From: jonathan+freebsd-questions at hst.org.za (Jonathan McKeown)
Date: Tue Sep 2 06:43:28 2008
Subject: LDAP and Account Management
In-Reply-To: <48BC5F97.1000809@telting.org>
References: <48BC5F97.1000809@telting.org>
Message-ID: <200809020846.31216.jonathan+freebsd-questions@hst.org.za>
On Monday 01 September 2008 23:33:11 Chris wrote:
> I've toyed with LDAP accounts before to get them to work. But now I'm
> going to put it into production.
>
> I'm wondering though about user and group management. When ports are
> installed on individual servers, users and groups are sometimes added
> for daemons. It would be nice to receive notification and possibly
> block and or redirect actions to appropriate scripts and the LDAP server.
>
> Are there any ports or mechanisms for hooking into the scripts and
> programs that handle account modification (chpass, adduser and pw) or
> does everyone typically do this sort of thing by hand?
I take a fairly relaxed approach to this, with the following basic rules:
uids/gids for real users must be in LDAP, and unique across the whole network;
uids/gids for users created by ports are in /etc/passwd and are only unique
per-server - I don't mind if two different servers have different uids/gids
for the same daemon user, or the same uid/gid for two different daemon users.
The problem is that some ports (isc-dhcp3-server springs to mind) simply add
their user as the next available uid - which by default is one more than the
highest uid currently in use.
I deal with this by having two blocks of uids: 1000-1099 for daemons, and 1100
and up for LDAP users. I also create /etc/pw.conf containing the two lines
reuseuids yes
reusegids yes
which means that pw(8) takes the lowest available uid, rather than the
default.
My biggest gripe with LDAP user management is that passwd(1) has the hooks to
allow it to use PAM (which with appropriate modules and configuration would
allow changing the LDAP password) but the code is diked out.
HTH
Jonathan
From kusanagiyang at gmail.com Tue Sep 2 06:45:24 2008
From: kusanagiyang at gmail.com (Richard Yang)
Date: Tue Sep 2 06:45:32 2008
Subject: Question on bind page
Message-ID:
Dear support,
I am trying to follow through
http://www.freebsd.org/doc/en/books/handbook/network-dns.html as to setup a
dns server
When I try
/etc/rc.d/named forcestart
it always said
Starting named
When I use ps to check whether it actually started, I can confirm it is not
started.
To start named is pretty much the first step before going to configure BIND.
I have to reinstall it and it still doesn't work.
Could you give me some hints?
Thank you.
--
Best Regards
Richard Yang
richardyang@richardyang.net
kusanagiyang@gmail.com
From peter.schuller at infidyne.com Tue Sep 2 08:00:54 2008
From: peter.schuller at infidyne.com (Peter Schuller)
Date: Tue Sep 2 08:01:15 2008
Subject: dump/restore don't work, handbook lies
In-Reply-To: <48BB2359.4000208@xmission.com>
References: <48BB2359.4000208@xmission.com>
Message-ID: <20080902080052.GA38984@hyperion.scode.org>
> dump -0af /mnt/d201gly-0.dump /
[snip]
> restore -rf /mnt/restore/d201gly-0.dump
>
> it complains about '/' issues
> it complains about 'expecting YYYYYY got ZZZZZZ'
I very rarely use dump/restore, but based on the man page I cannot see
what's wrong other than the live fs issue already mentioned.
Since no one has suggested the real problem, I would like to suggest
that all those 'expecting ...' are also related to whatever errors
were printed at the very beginning. So an actual dump of the exact
output there would be useful.
FWIW, for doing stuff like moving the root fs (which I have done more
often than I would like) I recommend using tar -cp or rsync -a. I
preserves everything I care about preserving, and it has well-known
and well-tested semantics that I feel comfortable with.
--
/ Peter Schuller
PGP userID: 0xE9758B7D or 'Peter Schuller '
Key retrieval: Send an E-Mail to getpgpkey@scode.org
E-Mail: peter.schuller@infidyne.com Web: http://www.scode.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20080902/a36ee439/attachment.pgp
From nightrecon at verizon.net Tue Sep 2 08:18:54 2008
From: nightrecon at verizon.net (Michael Powell)
Date: Tue Sep 2 08:19:02 2008
Subject: Question on bind page
References:
Message-ID:
Richard Yang wrote:
> Dear support,
>
> I am trying to follow through
> http://www.freebsd.org/doc/en/books/handbook/network-dns.html as to setup
> a dns server
> When I try
> /etc/rc.d/named forcestart
> it always said
> Starting named
>
> When I use ps to check whether it actually started, I can confirm it is
> not started.
> To start named is pretty much the first step before going to configure
> BIND. I have to reinstall it and it still doesn't work.
>
> Could you give me some hints?
> Thank you.
>
man rndc
-Mike
From jonathan+freebsd-questions at hst.org.za Tue Sep 2 08:32:04 2008
From: jonathan+freebsd-questions at hst.org.za (Jonathan McKeown)
Date: Tue Sep 2 08:32:15 2008
Subject: Question on bind page
In-Reply-To:
References:
Message-ID: <200809021035.14757.jonathan+freebsd-questions@hst.org.za>
On Tuesday 02 September 2008 08:12:13 Richard Yang wrote:
[snip]
> To start named is pretty much the first step before going to configure
> BIND. I have to reinstall it and it still doesn't work.
Personally, I would have said it's exactly the other way round: you shouldn't
start named until after you've configured it.
Are you seeing any messages in the log files (I'm fairly sure BIND logs
in /var/log/messages)?
Jonathan
From joel at levee-online.org Tue Sep 2 10:15:47 2008
From: joel at levee-online.org (joel@levee-online.org)
Date: Tue Sep 2 10:15:59 2008
Subject: starting sysinstall at boot time
Message-ID: <1220348951.48bd0c17315aa@imp.online.net>
Hi,
Something seems magic in freebsd: I am looking for what does start
sysinstall at boot time when I boot from the installation CD.
The only thing related to systinstall is the setting of the init_path variable
in the loader.rc file but it is in comment thus the loader should finish
by launchinig init as usual so what does make it launch sysinstall instead?
I also examined /etc/ttys which is used by init but this file is standard
and I do not find anything that could tell init to start sysinstall instead
of getty!
As you may guess, my goal is to create an customized installation CD in
order to install a network appliance wich embedds freebsd.
Sincerily,
Joel Levee
From derek at computinginnovations.com Tue Sep 2 10:33:53 2008
From: derek at computinginnovations.com (Derek Ragona)
Date: Tue Sep 2 10:34:02 2008
Subject: /etc/hosts
In-Reply-To: <15683805-927F-424A-ADD1-1E1E43D5754D@comcast.net>
References: <7A686BAC-2F03-4B18-8307-83DDAD949625@comcast.net>
<48BC8475.3040900@wingfoot.org>
<15683805-927F-424A-ADD1-1E1E43D5754D@comcast.net>
Message-ID: <6.0.0.22.2.20080902053128.025bf2d8@mail.computinginnovations.com>
At 08:53 PM 9/1/2008, Tom Marchand wrote:
>I am trying to resolve the 192.168.2.3 address.
>
>::1 localhost.local localhost
>127.0.0.1 localhost.local localhost
>72.15.233.132 host.local host
>72.15.233.132 host.local.
>192.168.2.3 test
>
>On Sep 1, 2008, at 8:10 PM, Glenn Sieb wrote:
>
>>Tom Marchand said the following on 9/1/08 7:52 PM:
>>>Hi,
>>>
>>>I've got an issue where hosts defined in my /etc/hosts are not being
>>>resolved. I've looked at resolv.conf, host.conf and nsswitch.conf
>>>and
>>>everything looks ok. It's my understanding that with the below
>>>configurations, /etc/hosts should be used first then DNS. Correct?
>>>This is a 6.1 system.
>>
>>Can we see your /etc/hosts file?
>>
>>Best,
>>--Glenn
What error are you getting from ping?
Is it not able to ping the ip 192.168.2.3?
Or is the ping unable to route to that network and host?
-Derek
--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
From sonic2000gr at gmail.com Tue Sep 2 10:51:27 2008
From: sonic2000gr at gmail.com (Manolis Kiagias)
Date: Tue Sep 2 10:51:34 2008
Subject: starting sysinstall at boot time
In-Reply-To: <1220348951.48bd0c17315aa@imp.online.net>
References: <1220348951.48bd0c17315aa@imp.online.net>
Message-ID: <48BD1AA9.8000307@gmail.com>
joel@levee-online.org wrote:
> Hi,
>
> Something seems magic in freebsd: I am looking for what does start
> sysinstall at boot time when I boot from the installation CD.
> The only thing related to systinstall is the setting of the init_path variable
> in the loader.rc file but it is in comment thus the loader should finish
> by launchinig init as usual so what does make it launch sysinstall instead?
>
> I also examined /etc/ttys which is used by init but this file is standard
> and I do not find anything that could tell init to start sysinstall instead
> of getty!
>
> As you may guess, my goal is to create an customized installation CD in
> order to install a network appliance wich embedds freebsd.
>
> Sincerily,
> Joel Levee
>
>
>
This is a tricky one, kind of black magic ;)
Seriously, it is quite simple:
You correctly located the init_path variable. This contains the
following (on a 6.3-RELEASE CD I have handy at the moment):
#init_path="/sbin/init:/sbin/oinit:/sbin/init.bak:/rescue/init:/stand/sysinstall"
This is commented out, but the values shown are the built-in defaults.
Now, if you take a look at the CD filesystem structure, *there is* an
/sbin/init and there is *no* /stand/sysinstall. So, you would assume
that init would run first.
However, here comes the caveat:
The root filesystem when you boot your installation media, is *not* the
CD-ROM itself. Look at /boot/loader.conf:
mfsroot_load="YES"
mfsroot_type="mfs_root"
mfsroot_name="/boot/mfsroot"
You will find /boot/mfsroot.gz as the file that acts as the root filesystem.
You can actually examine the contents of this if you mount it using
mdconfig (assuming you mounted your install CD on /cdrom):
cp /cdrom/boot/mfsroot.gz /tmp
cd /tmp
unzip mfsroot.gz (Can probably be mounted compressed(?), did not check)
mdconfig -f mfsroot md0
mount /dev/md0 /mnt
Check the contents of /mnt:
bin boot dev etc mnt sbin stand var
sbin is a symbolic link to stand. There is no '/stand/init' in , but
'/stand/sysinstall' exists. Therefore, sysinstall executes ;)
From sahil at tandon.net Tue Sep 2 11:00:52 2008
From: sahil at tandon.net (Sahil Tandon)
Date: Tue Sep 2 11:01:00 2008
Subject: /etc/hosts
In-Reply-To: <6.0.0.22.2.20080902053128.025bf2d8@mail.computinginnovations.com>
References: <7A686BAC-2F03-4B18-8307-83DDAD949625@comcast.net>
<48BC8475.3040900@wingfoot.org>
<15683805-927F-424A-ADD1-1E1E43D5754D@comcast.net>
<6.0.0.22.2.20080902053128.025bf2d8@mail.computinginnovations.com>
Message-ID: <20080902110040.GA15834@shepherd>
Derek Ragona wrote:
> What error are you getting from ping?
I think the OP said he did not have a problem with ping.
--
Sahil Tandon
From artis.caune at gmail.com Tue Sep 2 11:05:22 2008
From: artis.caune at gmail.com (Artis Caune)
Date: Tue Sep 2 11:05:29 2008
Subject: starting sysinstall at boot time
In-Reply-To: <1220348951.48bd0c17315aa@imp.online.net>
References: <1220348951.48bd0c17315aa@imp.online.net>
Message-ID: <9e20d71e0809020341x2627c8f0qa6fc8c58c052167@mail.gmail.com>
On Tue, Sep 2, 2008 at 12:49 PM, wrote:
>
> Hi,
>
> Something seems magic in freebsd: I am looking for what does start
> sysinstall at boot time when I boot from the installation CD.
> The only thing related to systinstall is the setting of the init_path variable
> in the loader.rc file but it is in comment thus the loader should finish
> by launchinig init as usual so what does make it launch sysinstall instead?
I think /sbin/init is replaced with sysinstall.
> As you may guess, my goal is to create an customized installation CD in
> order to install a network appliance wich embedds freebsd.
I also use custom install script, and I replace /etc/rc on mfs image.
--
regards,
Artis Caune
<----. CCNA
<----|====================
<----' didii FreeBSD
From kirk at strauser.com Tue Sep 2 14:01:06 2008
From: kirk at strauser.com (Kirk Strauser)
Date: Tue Sep 2 14:01:12 2008
Subject: dump/restore don't work, handbook lies
In-Reply-To: <48BB2359.4000208@xmission.com>
References: <48BB2359.4000208@xmission.com>
Message-ID: <200809020900.53118.kirk@strauser.com>
On Sunday 31 August 2008 18:03:53 Lloyd M Caldwell wrote:
> I needed to increase the size of my freebsd root (/). I booted, single
> user, attached a large usb freebsd formatted file system to receive the
> backup image.
And you're sure that the "large usb freebsd formatted file system" is intact
and that your dump is uncorrupted?
--
Kirk Strauser
From ohartman at zedat.fu-berlin.de Tue Sep 2 14:20:52 2008
From: ohartman at zedat.fu-berlin.de (O. Hartmann)
Date: Tue Sep 2 14:21:00 2008
Subject: Subversion 1.5.1 authentication with OpenLDAP 2.4.11 via SASL2:
trouble, svn never contacts LDAP :-(
Message-ID: <48BD4B3E.3000800@zedat.fu-berlin.de>
Hello,
I'm like floating helpless in the water. Scenario: I'd like to
authenticate some useres having write access to specific repositories on
the subversion server via OpenLDAP and already set up things, which
are decribed below in further detail. But trying to check out or import
or check in things never worked due to svnserve never contacts the LDAP.
I think I have already every prerequisite software installed. Here it is:
cyrus-sasl-2.1.22_1 RFC 2222 SASL (Simple Authentication and Security Layer)
cyrus-sasl-ldapdb-2.1.22 SASL LDAPDB auxprop plugin
openldap-sasl-client-2.4.11 Open source LDAP client implementation with
SASL2 support
openldap-sasl-server-2.4.11 Open source LDAP server implementation
Subversion 1.5.1
OpenLDAP is running fine, subversiona is also running fine.
Out of the most recent documentations I took several 'cook-book'
examples to perform successfully access to repositories by LDAP
authenticated users.
In LDAP I created
olcAuthzRegEx with uid
0}"uid=(^[^,].*),cn=realm.de,cn=external,cn=auth"
"cn=svnserve,dc=dc=realm,dc=de"
The DIT contains this entity:
dn: cn=svnproxy,dc=realm,dc=de
objcetClass: top
objectClass: organizationalPerson
cn: svnproxy
sn: svnproxy
authzTo: ldap:///dc=realm,dc=de??base?(objectClass=posixAccount)
I created a file in /usr/local/etc/sasl2/svn.conf which conatins
following things:
pwcheck_method: auxprop
auxprop_plugin: ldap
ldapdb_uri: ldap://ldap.realm.de/
#ldapdb_id: svnproxy
dapdb_mech: EXTERNAL
ldapdb_rc: /usr/local/etc/sasl2/svn_ldaprc
ldapdb_startls: yes
log_level: 7
The autheticating client machine is already part of an LDAP backed up
network and authenticates users successfully.
A server.pem and server.key SSL certificate and key-file are present and
have been approved working.
After installing cyrus-sasl2-ldap port I recompiled everything (LDAP,
subversion and fellows ...) making sure I did not forget anything.
Subversion's repository has been configured out of the handbook, very
simple and is already using SASL. But whatever I do, svn complains about
non-existent users in the database:
svn: Authentication error from server: SASL(-13): user not found: no
secret in database
svn: Your commit message was left in a temporary file:
On the LDAP-server side, I never see a contact-attempt (server runs with
logging ACL and stats), nor do I see any reasonable logging messages on
the client side although I configured loglevel 7, but this seems to be a
simple bogus fake option.
I can't tell how many different ways I tried (but with that crap of
documentation in SASL it is hard to come along with some clues).
I also tried the different ways of user mapping described in the
OpenLDAP 2.4 docu, but without success - I can't see any logging when
the attempt to access a mapped user is performed. Even worser, it is
impossible to make 'authzTo' visible in ldapvi or LUMA, so I fly blind
when creating/adding this attribute.
Well, I'm not capable of getting any LDAP contact so I guess there is
something special with the port or I'm to stupid reading the documentation.
If there is someone out here running a similar scenario, you are welcome
to give me some hints.
Thanks in advance,
Oliver
From maanjee at gmail.com Tue Sep 2 14:54:11 2008
From: maanjee at gmail.com (VeeJay)
Date: Tue Sep 2 14:54:19 2008
Subject: su: _secure_path: cannot stat /dev/null/.login_conf: Not a
directory, Any help?
Message-ID: <2cd0a0da0809020754t58fb8da6u6e719173e3687b2@mail.gmail.com>
Hi
On the screen it says....
su: _secure_path: cannot stat /dev/null/.login_conf: Not a directory
Any help to correct this problem?
--
Thanks!
BR / vj
From freebsd at optiksecurite.com Tue Sep 2 15:02:45 2008
From: freebsd at optiksecurite.com (FreeBSD)
Date: Tue Sep 2 15:02:52 2008
Subject: How to compare 2 images from command line
Message-ID: <48BD5574.7010107@optiksecurite.com>
Hi everyone,
I'm trying to determine if 2 jpeg images are identical. The images are
screenshots taken with scrot at different times. The point is to know if
the display is working correctly. I tried to use 'diff' but without
success, probably because of the metadata included in the image. I also
tried the 'compare' command from imagemagick, but it produce an image
containing the difference between the 2 images instead of telling me if
both images are identical.
So, my question is what are you using to determine if 2 images are
identical?
I'm using FreeBSD 7.0 and I need to be able to script this comparaison
for an integration in Nagios.
Thank you,
Martin
From gerard at seibercom.net Tue Sep 2 15:11:36 2008
From: gerard at seibercom.net (Gerard)
Date: Tue Sep 2 15:11:43 2008
Subject: "SYSCTL" error message upon bootup
Message-ID: <20080902111120.57e894a8@scorpio>
For no apparent reason, the following error message has suddenly
started showing up when I reboot the machine:
sysctl: unknown oid 'net.fibs'
I am running FBSD-6.3 presently. Is this error important and if so,
what can I do to correct it?
Thanks!
--
Gerard
gerard@seibercom.net
All extremists should be taken out and shot.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20080902/be435790/signature.pgp
From barry.byrne at wbtsystems.com Tue Sep 2 15:11:53 2008
From: barry.byrne at wbtsystems.com (Barry Byrne)
Date: Tue Sep 2 15:12:00 2008
Subject: _secure_path: cannot stat /dev/null/.login_conf: Not adirectory,
Any help?
In-Reply-To: <2cd0a0da0809020754t58fb8da6u6e719173e3687b2@mail.gmail.com>
References: <2cd0a0da0809020754t58fb8da6u6e719173e3687b2@mail.gmail.com>
Message-ID: <00fa01c90d0e$3bbee800$72010c0a@wbt.wbtsystems.com>
> -----Original Message-----
> From: owner-freebsd-questions@freebsd.org
> [mailto:owner-freebsd-questions@freebsd.org] On Behalf Of VeeJay
> Sent: 02 September 2008 15:54
> To: FreeBSD-Questions; VeeJay
> Subject: su: _secure_path: cannot stat /dev/null/.login_conf:
> Not adirectory, Any help?
>
> Hi
>
> On the screen it says....
>
> su: _secure_path: cannot stat /dev/null/.login_conf: Not a directory
>
> Any help to correct this problem?
>
>
> --
> Thanks!
You haven't said what you did, but it would look to me like you set the home
directory of a user to /dev/null and are now trying to su to that user. If
this is the case, fix the home directory to the correct path.
- Barry
From jcigar at ulb.ac.be Tue Sep 2 15:13:52 2008
From: jcigar at ulb.ac.be (Julien Cigar)
Date: Tue Sep 2 15:14:06 2008
Subject: How to compare 2 images from command line
In-Reply-To: <48BD5574.7010107@optiksecurite.com>
References: <48BD5574.7010107@optiksecurite.com>
Message-ID: <1220368396.3680.10.camel@frodon.be-bif.ulb.ac.be>
/sbin/md5 image1.ext image2.ext ?
On Tue, 2008-09-02 at 11:02 -0400, FreeBSD wrote:
> Hi everyone,
>
> I'm trying to determine if 2 jpeg images are identical. The images are
> screenshots taken with scrot at different times. The point is to know if
> the display is working correctly. I tried to use 'diff' but without
> success, probably because of the metadata included in the image. I also
> tried the 'compare' command from imagemagick, but it produce an image
> containing the difference between the 2 images instead of telling me if
> both images are identical.
>
> So, my question is what are you using to determine if 2 images are
> identical?
>
> I'm using FreeBSD 7.0 and I need to be able to script this comparaison
> for an integration in Nagios.
>
> Thank you,
>
> Martin
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"
--
Julien Cigar
Belgian Biodiversity Platform
http://www.biodiversity.be
Universit? Libre de Bruxelles (ULB)
Campus de la Plaine CP 257
B?timent NO, Bureau 4 N4 115C (Niveau 4)
Boulevard du Triomphe, entr?e ULB 2
B-1050 Bruxelles
Mail: jcigar@ulb.ac.be
@biobel: http://biobel.biodiversity.be/person/show/471
Tel : 02 650 57 52
From freebsd at optiksecurite.com Tue Sep 2 15:24:35 2008
From: freebsd at optiksecurite.com (FreeBSD)
Date: Tue Sep 2 15:24:42 2008
Subject: How to compare 2 images from command line
In-Reply-To: <090220081512.17537.48BD57E100051D800000448122068246930B020E080C9DCF03@comcast.net>
References: <090220081512.17537.48BD57E100051D800000448122068246930B020E080C9DCF03@comcast.net>
Message-ID: <48BD5A8A.5080400@optiksecurite.com>
Tom Marchand a ?crit :
> Hash the images and compare the hashes.
>
> -------------- Original message ----------------------
> From: FreeBSD
>> Hi everyone,
>>
>> I'm trying to determine if 2 jpeg images are identical. The images are
>> screenshots taken with scrot at different times. The point is to know if
>> the display is working correctly. I tried to use 'diff' but without
>> success, probably because of the metadata included in the image. I also
>> tried the 'compare' command from imagemagick, but it produce an image
>> containing the difference between the 2 images instead of telling me if
>> both images are identical.
>>
>> So, my question is what are you using to determine if 2 images are
>> identical?
>>
>> I'm using FreeBSD 7.0 and I need to be able to script this comparaison
>> for an integration in Nagios.
>>
>> Thank you,
>>
>> Martin
I just tried it and it doesn't work. The hashes are different. I can't
say that I'm surprised since 'diff' is "seeing" a difference between the
two identical images.
Thanks for the suggestion
From andrewlylegould at gmail.com Tue Sep 2 15:28:34 2008
From: andrewlylegould at gmail.com (Andrew Gould)
Date: Tue Sep 2 15:28:41 2008
Subject: How to compare 2 images from command line
In-Reply-To: <48BD5A8A.5080400@optiksecurite.com>
References: <090220081512.17537.48BD57E100051D800000448122068246930B020E080C9DCF03@comcast.net>
<48BD5A8A.5080400@optiksecurite.com>
Message-ID:
On Tue, Sep 2, 2008 at 10:23 AM, FreeBSD wrote:
> Tom Marchand a ?crit :
>
>> Hash the images and compare the hashes.
>>
>> -------------- Original message ----------------------
>> From: FreeBSD
>>
>>> Hi everyone,
>>>
>>> I'm trying to determine if 2 jpeg images are identical. The images are
>>> screenshots taken with scrot at different times. The point is to know if the
>>> display is working correctly. I tried to use 'diff' but without success,
>>> probably because of the metadata included in the image. I also tried the
>>> 'compare' command from imagemagick, but it produce an image containing the
>>> difference between the 2 images instead of telling me if both images are
>>> identical.
>>>
>>> So, my question is what are you using to determine if 2 images are
>>> identical?
>>>
>>> I'm using FreeBSD 7.0 and I need to be able to script this comparaison
>>> for an integration in Nagios.
>>>
>>> Thank you,
>>>
>>> Martin
>>>
>>
> I just tried it and it doesn't work. The hashes are different. I can't
> say that I'm surprised since 'diff' is "seeing" a difference between the
> two identical images.
>
>
> Thanks for the suggestion
>
Yes, there's a huge difference between testing differences in images and
testing differences in files. What do you mean by "...know if the display
is working correctly."?
Andrew
From james.johnson at emerald.fiserv.com Tue Sep 2 15:30:33 2008
From: james.johnson at emerald.fiserv.com (Johnson, James)
Date: Tue Sep 2 15:30:40 2008
Subject: Backup Exec v12
In-Reply-To: <20080821220422.1a612822@ayiin>
References: <8b49e35268de6a29fa7f0405610d9cbf@www.refriendz.com>
<20080821220422.1a612822@ayiin>
Message-ID:
Thanks, I'll try that today.
I'll let you know...
James Johnson
System Administrator
Desk 858-207-5591
Main 858-592-6262
Fiserv - Emerald Publications
-----Original Message-----
From: owner-freebsd-questions@freebsd.org
[mailto:owner-freebsd-questions@freebsd.org] On Behalf Of Norberto
Meijome
Sent: Thursday, August 21, 2008 5:04 AM
To: freebsd-questions@freebsd.org
Subject: Re: Backup Exec v12
On Wed, 20 Aug 2008 21:41:35 -0700
"Johnson, James" wrote:
> Does anyone have any experience installing the backup exec agent
(BEWS_12.1364_LINUX-UNIX-MAC_AGENTS.tar.gz) on Freebsd 7.
i don't recall if it's v12 that i've used,but it runs relatively well -
just make sure you have linux compatibility layer enabled.
>
> I've been trying for the past few days with no progress. I called for
support, but guess what Symantec does not support Freebsd.
i hope you really didn't expect something useful out of that call ... :)
> # ./installralus
> Not Supported Yet.
> ./installralus: ./perl//bin/perl: not found
>
[...]
>
>
> vmFreebsd# find / -name perl
> /usr/bin/perl
> /usr/local/bin/perl
[...]
>
> ./perl/$OS/bin/perl -I. -I$PATH -I$VXIF_HOME
-I./perl/$OS/lib/$PERL_VER installr
> alus.pl $*
have u tried changing that call to perl to the /usr/local/bin/perl ?
at least in some versions I tried, all you have to do is run the exec ,
forget the installer, it worked ok for me.. YMMV
B
_________________________
{Beto|Norberto|Numard} Meijome
If you were supposed to understand it, we wouldn't call it 'code'.
I speak for myself, not my employer. Contents may be hot. Slippery when
wet. Reading disclaimers makes you go blind. Writing them is worse. You
have been Warned.
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to
"freebsd-questions-unsubscribe@freebsd.org"
From freebsd at optiksecurite.com Tue Sep 2 15:32:39 2008
From: freebsd at optiksecurite.com (FreeBSD)
Date: Tue Sep 2 15:32:46 2008
Subject: How to compare 2 images from command line
In-Reply-To:
References: <090220081512.17537.48BD57E100051D800000448122068246930B020E080C9DCF03@comcast.net>
<48BD5A8A.5080400@optiksecurite.com>
Message-ID: <48BD5C65.9030502@optiksecurite.com>
Andrew Gould a ?crit :
>
>
> On Tue, Sep 2, 2008 at 10:23 AM, FreeBSD > wrote:
>
> Tom Marchand a ?crit :
>
> Hash the images and compare the hashes.
>
> -------------- Original message ----------------------
> From: FreeBSD >
>
> Hi everyone,
>
> I'm trying to determine if 2 jpeg images are identical. The
> images are screenshots taken with scrot at different times.
> The point is to know if the display is working correctly. I
> tried to use 'diff' but without success, probably because of
> the metadata included in the image. I also tried the
> 'compare' command from imagemagick, but it produce an image
> containing the difference between the 2 images instead of
> telling me if both images are identical.
>
> So, my question is what are you using to determine if 2
> images are identical?
>
> I'm using FreeBSD 7.0 and I need to be able to script this
> comparaison for an integration in Nagios.
>
> Thank you,
>
> Martin
>
>
> I just tried it and it doesn't work. The hashes are different. I can't
> say that I'm surprised since 'diff' is "seeing" a difference between the
> two identical images.
>
>
> Thanks for the suggestion
>
>
> Yes, there's a huge difference between testing differences in images and
> testing differences in files. What do you mean by "...know if the
> display is working correctly."?
>
> Andrew
I want to determine if Mplayer is working correctly. The best way to be
sure is to check if the display on the screen is changing. That's the
purpose of the screenshots. The screenshots are taken by Nagios every 5
minutes and the new screenshot is compared with the preceding one. But,
by now, it doesn't work because every tool we try is seeing a diffence
between 2 identical images.
Thank you for your interest
From wojtek at wojtek.tensor.gdynia.pl Tue Sep 2 15:34:12 2008
From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar)
Date: Tue Sep 2 15:34:19 2008
Subject: How to compare 2 images from command line
In-Reply-To: <48BD5574.7010107@optiksecurite.com>
References: <48BD5574.7010107@optiksecurite.com>
Message-ID: <20080902173310.E18363@wojtek.tensor.gdynia.pl>
> I'm trying to determine if 2 jpeg images are identical. The images are
> screenshots taken with scrot at different times. The point is to know if the
> display is working correctly. I tried to use 'diff' but without success,
> probably because of the metadata included in the image. I also tried the
cmp does byte-to byte comparision.
if you want to make sure uncompressed bitmaps are the same then uncompress
(cmp) and then compare
From freebsd at edvax.de Tue Sep 2 15:36:40 2008
From: freebsd at edvax.de (Polytropon)
Date: Tue Sep 2 15:36:47 2008
Subject: "SYSCTL" error message upon bootup
In-Reply-To: <20080902111120.57e894a8@scorpio>
References: <20080902111120.57e894a8@scorpio>
Message-ID: <20080902173636.c5f832d7.freebsd@edvax.de>
On Tue, 2 Sep 2008 11:11:20 -0400, Gerard wrote:
> For no apparent reason, the following error message has suddenly
> started showing up when I reboot the machine:
>
> sysctl: unknown oid 'net.fibs'
>
>
> I am running FBSD-6.3 presently. Is this error important and if so,
> what can I do to correct it?
On FreeBSD 7, net.fibs is a valid oid. Can you determine when
(in the booting process) this message is shown? Maybe you have
a setting of net.fibs in /etc/sysctl.conf, or maybe this is a
value set by some software package?
% sysctl net.fibs
net.fibs: 1
In /usr/include/net/route.h, something regarding FIBS is mentioned...
--
Polytropon
>From Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
From freebsd at edvax.de Tue Sep 2 15:40:48 2008
From: freebsd at edvax.de (Polytropon)
Date: Tue Sep 2 15:40:55 2008
Subject: How to compare 2 images from command line
In-Reply-To: <48BD5C65.9030502@optiksecurite.com>
References: <090220081512.17537.48BD57E100051D800000448122068246930B020E080C9DCF03@comcast.net>
<48BD5A8A.5080400@optiksecurite.com>
<48BD5C65.9030502@optiksecurite.com>
Message-ID: <20080902174044.520fbbb3.freebsd@edvax.de>
On Tue, 02 Sep 2008 11:31:49 -0400, FreeBSD wrote:
> I want to determine if Mplayer is working correctly. The best way to be
> sure is to check if the display on the screen is changing. That's the
> purpose of the screenshots.
And this works? I always thought mplayer would output the video
stream via DRI / DRM, so on the screenshot, nothing would be seen...
> The screenshots are taken by Nagios every 5
> minutes and the new screenshot is compared with the preceding one. But,
> by now, it doesn't work because every tool we try is seeing a diffence
> between 2 identical images.
The images may be identical in content, but it's completely possible
that other data (others than the pictural information) is coded into
the file, for example date and time of creation, so the files may be
different, while the pictures they show are identical.
It would be useful first to "decompile" the files - create a new file
that only contains pictural information, nothing more.
--
Polytropon
>From Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
From chinocubus at yahoo.com Tue Sep 2 15:45:54 2008
From: chinocubus at yahoo.com (ElihuJ)
Date: Tue Sep 2 15:46:00 2008
Subject: Cron Question
Message-ID: <19272656.post@talk.nabble.com>
Hi all. I have a question about cron jobs that seem to be running to long or
with multiple copies of itself. For example, I have a backup script that I
run that seems to make multiple copies of itself. If I view the running
processes I see numerous instances of the same cron job. Is there something
I can do to limit this from happening? When it does, it drains my CPU and
some of my other processes are non responsive. Any help would be
appreciated. Thank you.
--
View this message in context: http://www.nabble.com/Cron-Question-tp19272656p19272656.html
Sent from the freebsd-questions mailing list archive at Nabble.com.
From wmoran at potentialtech.com Tue Sep 2 15:47:07 2008
From: wmoran at potentialtech.com (Bill Moran)
Date: Tue Sep 2 15:47:14 2008
Subject: How to compare 2 images from command line
In-Reply-To: <48BD5C65.9030502@optiksecurite.com>
References: <090220081512.17537.48BD57E100051D800000448122068246930B020E080C9DCF03@comcast.net>
<48BD5A8A.5080400@optiksecurite.com>
<48BD5C65.9030502@optiksecurite.com>
Message-ID: <20080902114639.f06b082a.wmoran@potentialtech.com>
In response to FreeBSD :
> Andrew Gould a ?crit :
> >
> >
> > On Tue, Sep 2, 2008 at 10:23 AM, FreeBSD > > wrote:
> >
> > Tom Marchand a ?crit :
> >
> > Hash the images and compare the hashes.
> >
> > -------------- Original message ----------------------
> > From: FreeBSD > >
> >
> > Hi everyone,
> >
> > I'm trying to determine if 2 jpeg images are identical. The
> > images are screenshots taken with scrot at different times.
> > The point is to know if the display is working correctly. I
> > tried to use 'diff' but without success, probably because of
> > the metadata included in the image. I also tried the
> > 'compare' command from imagemagick, but it produce an image
> > containing the difference between the 2 images instead of
> > telling me if both images are identical.
> >
> > So, my question is what are you using to determine if 2
> > images are identical?
> >
> > I'm using FreeBSD 7.0 and I need to be able to script this
> > comparaison for an integration in Nagios.
> >
> > Thank you,
> >
> > Martin
> >
> >
> > I just tried it and it doesn't work. The hashes are different. I can't
> > say that I'm surprised since 'diff' is "seeing" a difference between the
> > two identical images.
> >
> >
> > Thanks for the suggestion
> >
> >
> > Yes, there's a huge difference between testing differences in images and
> > testing differences in files. What do you mean by "...know if the
> > display is working correctly."?
> >
> > Andrew
>
> I want to determine if Mplayer is working correctly. The best way to be
> sure is to check if the display on the screen is changing. That's the
> purpose of the screenshots. The screenshots are taken by Nagios every 5
> minutes and the new screenshot is compared with the preceding one. But,
> by now, it doesn't work because every tool we try is seeing a diffence
> between 2 identical images.
Can you put the screenshots into some other format? As you mentioned,
the jpeg format includes metadata, which might include the creation
time and would cause every image to be unique from a filesystem view.
For example, I don't believe bitmaps include metadata, which would cause
them to be identical if the display were identical.
--
Bill Moran
http://www.potentialtech.com
From freebsd at optiksecurite.com Tue Sep 2 15:58:22 2008
From: freebsd at optiksecurite.com (FreeBSD)
Date: Tue Sep 2 15:58:28 2008
Subject: How to compare 2 images from command line
In-Reply-To: <20080902114639.f06b082a.wmoran@potentialtech.com>
References: <090220081512.17537.48BD57E100051D800000448122068246930B020E080C9DCF03@comcast.net> <48BD5A8A.5080400@optiksecurite.com> <48BD5C65.9030502@optiksecurite.com>
<20080902114639.f06b082a.wmoran@potentialtech.com>
Message-ID: <48BD626F.6000401@optiksecurite.com>
Bill Moran a ?crit :
> In response to FreeBSD :
>
>> Andrew Gould a ?crit :
>>>
>>> On Tue, Sep 2, 2008 at 10:23 AM, FreeBSD >> > wrote:
>>>
>>> Tom Marchand a ?crit :
>>>
>>> Hash the images and compare the hashes.
>>>
>>> -------------- Original message ----------------------
>>> From: FreeBSD >> >
>>>
>>> Hi everyone,
>>>
>>> I'm trying to determine if 2 jpeg images are identical. The
>>> images are screenshots taken with scrot at different times.
>>> The point is to know if the display is working correctly. I
>>> tried to use 'diff' but without success, probably because of
>>> the metadata included in the image. I also tried the
>>> 'compare' command from imagemagick, but it produce an image
>>> containing the difference between the 2 images instead of
>>> telling me if both images are identical.
>>>
>>> So, my question is what are you using to determine if 2
>>> images are identical?
>>>
>>> I'm using FreeBSD 7.0 and I need to be able to script this
>>> comparaison for an integration in Nagios.
>>>
>>> Thank you,
>>>
>>> Martin
>>>
>>>
>>> I just tried it and it doesn't work. The hashes are different. I can't
>>> say that I'm surprised since 'diff' is "seeing" a difference between the
>>> two identical images.
>>>
>>>
>>> Thanks for the suggestion
>>>
>>>
>>> Yes, there's a huge difference between testing differences in images and
>>> testing differences in files. What do you mean by "...know if the
>>> display is working correctly."?
>>>
>>> Andrew
>> I want to determine if Mplayer is working correctly. The best way to be
>> sure is to check if the display on the screen is changing. That's the
>> purpose of the screenshots. The screenshots are taken by Nagios every 5
>> minutes and the new screenshot is compared with the preceding one. But,
>> by now, it doesn't work because every tool we try is seeing a diffence
>> between 2 identical images.
>
> Can you put the screenshots into some other format? As you mentioned,
> the jpeg format includes metadata, which might include the creation
> time and would cause every image to be unique from a filesystem view.
> For example, I don't believe bitmaps include metadata, which would cause
> them to be identical if the display were identical.
>
Thank you! It did the trick. I just converted the image from png (sorry
it wasn't jpeg...) to bmp and it works with cmp. Even diff now recognize
both images as identical.
Thanks everyone for your support.
Martin
From freebsd at optiksecurite.com Tue Sep 2 15:59:53 2008
From: freebsd at optiksecurite.com (FreeBSD)
Date: Tue Sep 2 16:00:00 2008
Subject: How to compare 2 images from command line
In-Reply-To: <20080902174044.520fbbb3.freebsd@edvax.de>
References: <090220081512.17537.48BD57E100051D800000448122068246930B020E080C9DCF03@comcast.net> <48BD5A8A.5080400@optiksecurite.com> <48BD5C65.9030502@optiksecurite.com>
<20080902174044.520fbbb3.freebsd@edvax.de>
Message-ID: <48BD62D0.4030809@optiksecurite.com>
Polytropon a ?crit :
> On Tue, 02 Sep 2008 11:31:49 -0400, FreeBSD wrote:
>> I want to determine if Mplayer is working correctly. The best way to be
>> sure is to check if the display on the screen is changing. That's the
>> purpose of the screenshots.
>
> And this works? I always thought mplayer would output the video
> stream via DRI / DRM, so on the screenshot, nothing would be seen...
>
Yes it works. I don't know how scrot takes it's screenshot but it does
it well ;)
>> The screenshots are taken by Nagios every 5
>> minutes and the new screenshot is compared with the preceding one. But,
>> by now, it doesn't work because every tool we try is seeing a diffence
>> between 2 identical images.
>
> The images may be identical in content, but it's completely possible
> that other data (others than the pictural information) is coded into
> the file, for example date and time of creation, so the files may be
> different, while the pictures they show are identical.
>
> It would be useful first to "decompile" the files - create a new file
> that only contains pictural information, nothing more.
>
>
>
From andrewlylegould at gmail.com Tue Sep 2 16:02:31 2008
From: andrewlylegould at gmail.com (Andrew Gould)
Date: Tue Sep 2 16:02:42 2008
Subject: How to compare 2 images from command line
In-Reply-To: <48BD5C65.9030502@optiksecurite.com>
References: <090220081512.17537.48BD57E100051D800000448122068246930B020E080C9DCF03@comcast.net>
<48BD5A8A.5080400@optiksecurite.com>
<48BD5C65.9030502@optiksecurite.com>
Message-ID:
On Tue, Sep 2, 2008 at 10:31 AM, FreeBSD wrote:
> Andrew Gould a ?crit :
>
>>
>>
>> On Tue, Sep 2, 2008 at 10:23 AM, FreeBSD > freebsd@optiksecurite.com>> wrote:
>>
>> Tom Marchand a ?crit :
>>
>> Hash the images and compare the hashes.
>>
>> -------------- Original message ----------------------
>> From: FreeBSD > >
>>
>> Hi everyone,
>>
>> I'm trying to determine if 2 jpeg images are identical. The
>> images are screenshots taken with scrot at different times.
>> The point is to know if the display is working correctly. I
>> tried to use 'diff' but without success, probably because of
>> the metadata included in the image. I also tried the
>> 'compare' command from imagemagick, but it produce an image
>> containing the difference between the 2 images instead of
>> telling me if both images are identical.
>>
>> So, my question is what are you using to determine if 2
>> images are identical?
>>
>> I'm using FreeBSD 7.0 and I need to be able to script this
>> comparaison for an integration in Nagios.
>>
>> Thank you,
>>
>> Martin
>>
>>
>> I just tried it and it doesn't work. The hashes are different. I can't
>> say that I'm surprised since 'diff' is "seeing" a difference between
>> the
>> two identical images.
>>
>>
>> Thanks for the suggestion
>>
>>
>> Yes, there's a huge difference between testing differences in images and
>> testing differences in files. What do you mean by "...know if the display
>> is working correctly."?
>>
>> Andrew
>>
>
> I want to determine if Mplayer is working correctly. The best way to be
> sure is to check if the display on the screen is changing. That's the
> purpose of the screenshots. The screenshots are taken by Nagios every 5
> minutes and the new screenshot is compared with the preceding one. But, by
> now, it doesn't work because every tool we try is seeing a diffence between
> 2 identical images.
>
> Thank you for your interest
>
Are you simply trying to determine whether the mplayer has finished playing
a movie (that you're not watching)? It seems to me that the fact that the
image changes is not a good indication that mplayer is "working correctly",
only that the movie isn't running.
From Albert.Shih at obspm.fr Tue Sep 2 16:03:54 2008
From: Albert.Shih at obspm.fr (Albert Shih)
Date: Tue Sep 2 16:04:08 2008
Subject: Cron Question
In-Reply-To: <19272656.post@talk.nabble.com>
References: <19272656.post@talk.nabble.com>
Message-ID: <20080902160351.GI79391@pcjas.obspm.fr>
Le 02/09/2008 ? 08:45:52-0700, ElihuJ a ?crit
>
> Hi all. I have a question about cron jobs that seem to be running to long or
> with multiple copies of itself. For example, I have a backup script that I
> run that seems to make multiple copies of itself. If I view the running
> processes I see numerous instances of the same cron job. Is there something
> I can do to limit this from happening? When it does, it drains my CPU and
> some of my other processes are non responsive. Any help would be
> appreciated. Thank you.
That's not the to cron to do that. You must put in your script some flags.
For example if you using
rsnapshot (in the ports)
he put a lock file in /var/run (or what's ever you want) and don't start if
the script find this file. When the script is end the file is erase.
Something like
if_the_lock_file_exit :
exit 1
else
touch lock_file
my_script
rm lock_file
fi.
Regards
--
Albert SHIH
SIO batiment 15
Observatoire de Paris Meudon
5 Place Jules Janssen
92195 Meudon Cedex
Heure local/Local time:
Mar 2 sep 2008 18:01:25 CEST
From mail at ozzmosis.com Tue Sep 2 16:17:59 2008
From: mail at ozzmosis.com (andrew clarke)
Date: Tue Sep 2 16:18:06 2008
Subject: How to compare 2 images from command line
In-Reply-To: <48BD626F.6000401@optiksecurite.com>
References: <090220081512.17537.48BD57E100051D800000448122068246930B020E080C9DCF03@comcast.net>
<48BD5A8A.5080400@optiksecurite.com>
<48BD5C65.9030502@optiksecurite.com>
<20080902114639.f06b082a.wmoran@potentialtech.com>
<48BD626F.6000401@optiksecurite.com>
Message-ID: <20080902161755.GA99236@ozzmosis.com>
On Tue 2008-09-02 11:57:35 UTC-0400, FreeBSD (freebsd@optiksecurite.com) wrote:
>> Can you put the screenshots into some other format? As you mentioned,
>> the jpeg format includes metadata, which might include the creation
>> time and would cause every image to be unique from a filesystem view.
>> For example, I don't believe bitmaps include metadata, which would cause
>> them to be identical if the display were identical.
>
> Thank you! It did the trick. I just converted the image from png (sorry
> it wasn't jpeg...) to bmp and it works with cmp. Even diff now recognize
> both images as identical.
Before I read this I was going to suggest you could try removing the
metadata using something like jhead. As it turns out, you say you're
using PNG format images, not JPEGs, but perhaps there's an equivalent
to jhead to work with metadata in PNG files - just as an
alternative to converting each PNG to BMP (which could be CPU intensive).
Regards
Andrew
From freebsd at optiksecurite.com Tue Sep 2 16:22:05 2008
From: freebsd at optiksecurite.com (FreeBSD)
Date: Tue Sep 2 16:22:11 2008
Subject: How to compare 2 images from command line
In-Reply-To: <20080902161755.GA99236@ozzmosis.com>
References: <090220081512.17537.48BD57E100051D800000448122068246930B020E080C9DCF03@comcast.net>
<48BD5A8A.5080400@optiksecurite.com>
<48BD5C65.9030502@optiksecurite.com>
<20080902114639.f06b082a.wmoran@potentialtech.com>
<48BD626F.6000401@optiksecurite.com>
<20080902161755.GA99236@ozzmosis.com>
Message-ID: <48BD680F.2020102@optiksecurite.com>
andrew clarke a ?crit :
> On Tue 2008-09-02 11:57:35 UTC-0400, FreeBSD (freebsd@optiksecurite.com) wrote:
>
>>> Can you put the screenshots into some other format? As you mentioned,
>>> the jpeg format includes metadata, which might include the creation
>>> time and would cause every image to be unique from a filesystem view.
>>> For example, I don't believe bitmaps include metadata, which would cause
>>> them to be identical if the display were identical.
>> Thank you! It did the trick. I just converted the image from png (sorry
>> it wasn't jpeg...) to bmp and it works with cmp. Even diff now recognize
>> both images as identical.
>
> Before I read this I was going to suggest you could try removing the
> metadata using something like jhead. As it turns out, you say you're
> using PNG format images, not JPEGs, but perhaps there's an equivalent
> to jhead to work with metadata in PNG files - just as an
> alternative to converting each PNG to BMP (which could be CPU intensive).
>
> Regards
> Andrew
Thank you for your "almost-suggestion" ;)
The screenshot are taken once every 5 minutes and the conversion was
pretty instant. I don't think it will be a problem in our case.
Martin
From pschmehl_lists at tx.rr.com Tue Sep 2 16:24:40 2008
From: pschmehl_lists at tx.rr.com (Paul Schmehl)
Date: Tue Sep 2 16:24:47 2008
Subject: Cron Question
In-Reply-To: <20080902160351.GI79391@pcjas.obspm.fr>
References: <19272656.post@talk.nabble.com>
<20080902160351.GI79391@pcjas.obspm.fr>
Message-ID:
--On September 2, 2008 6:03:51 PM +0200 Albert Shih
wrote:
> Le 02/09/2008 ? 08:45:52-0700, ElihuJ a ?crit
>>
>> Hi all. I have a question about cron jobs that seem to be running to
>> long or with multiple copies of itself. For example, I have a backup
>> script that I run that seems to make multiple copies of itself. If I
>> view the running processes I see numerous instances of the same cron
>> job. Is there something I can do to limit this from happening? When it
>> does, it drains my CPU and some of my other processes are non
>> responsive. Any help would be appreciated. Thank you.
>
> That's not the to cron to do that.
Actually, it could be. If the script is started by cron and is still
running when the next job is scheduled, cron will start another process.
If they're both still running when the next job is scheduled, you'll have
three processes running, etc., etc.
The first thing I would do is run the script manually and see how long it
takes to complete. Then set your cron jobs up to run with enough time
between them for the script to complete and exit before the next job
starts.
Paul Schmehl, If it isn't already
obvious, my opinions are my own
and not those of my employer.
******************************************
WARNING: Check the headers before replying
From fbsd06 at mlists.homeunix.com Tue Sep 2 16:30:56 2008
From: fbsd06 at mlists.homeunix.com (RW)
Date: Tue Sep 2 16:31:04 2008
Subject: "SYSCTL" error message upon bootup
In-Reply-To: <20080902111120.57e894a8@scorpio>
References: <20080902111120.57e894a8@scorpio>
Message-ID: <20080902171518.780da9de@gumby.homeunix.com.>
On Tue, 2 Sep 2008 11:11:20 -0400
Gerard wrote:
> For no apparent reason, the following error message has suddenly
> started showing up when I reboot the machine:
>
> sysctl: unknown oid 'net.fibs'
>
>
> I am running FBSD-6.3 presently. Is this error important and if so,
> what can I do to correct it?
>
> Thanks!
>
Do you have apache?
http://groups.google.com/group/mailing.freebsd.ports-bugs/browse_thread/thread/b8f17e78869e738f
From dnelson at allantgroup.com Tue Sep 2 16:40:41 2008
From: dnelson at allantgroup.com (Dan Nelson)
Date: Tue Sep 2 16:40:48 2008
Subject: Cron Question
In-Reply-To:
References: <19272656.post@talk.nabble.com>
<20080902160351.GI79391@pcjas.obspm.fr>
Message-ID: <20080902164037.GM26653@dan.emsphone.com>
In the last episode (Sep 02), Paul Schmehl said:
> --On September 2, 2008 6:03:51 PM +0200 Albert Shih wrote:
> > Le 02/09/2008 ? 08:45:52-0700, ElihuJ a ?crit
> >> Hi all. I have a question about cron jobs that seem to be running
> >> to long or with multiple copies of itself. For example, I have a
> >> backup script that I run that seems to make multiple copies of
> >> itself. If I view the running processes I see numerous instances
> >> of the same cron job. Is there something I can do to limit this
> >> from happening? When it does, it drains my CPU and some of my
> >> other processes are non responsive. Any help would be appreciated.
> >> Thank you.
> >
> > That's not the to cron to do that.
>
> Actually, it could be. If the script is started by cron and is still
> running when the next job is scheduled, cron will start another
> process. If they're both still running when the next job is
> scheduled, you'll have three processes running, etc., etc.
I use the lockfile command ( from the procmail port ) to ensure that
recurring cron jobs don't overlap if one run takes too long. For
example, to run mrtg on a 1-minute cycle but prevent multiple mrtgs
from running if one run takes longer than 1 minute:
* * * * * /usr/local/bin/lockfile -r 1 -l 3600 /tmp/mrtg.LCK && ( nice -19 /usr/local/bin/mrtg /usr/local/etc/mrtg/mrtg.cfg ; rm /tmp/mrtg.LCK )
The -l 3600 tells lockfile to remove any lockfiles over an hour old (
if the machine was rebooted during an mrtg run for example )
--
Dan Nelson
dnelson@allantgroup.com
From gerard at seibercom.net Tue Sep 2 16:51:21 2008
From: gerard at seibercom.net (Gerard)
Date: Tue Sep 2 16:51:28 2008
Subject: "SYSCTL" error message upon bootup
In-Reply-To: <20080902173636.c5f832d7.freebsd@edvax.de>
References: <20080902111120.57e894a8@scorpio>
<20080902173636.c5f832d7.freebsd@edvax.de>
Message-ID: <20080902125113.50e5cbea@scorpio>
On Tue, 2 Sep 2008 17:36:36 +0200
Polytropon wrote:
[snip]
> On FreeBSD 7, net.fibs is a valid oid. Can you determine when
> (in the booting process) this message is shown? Maybe you have
> a setting of net.fibs in /etc/sysctl.conf, or maybe this is a
> value set by some software package?
>
> % sysctl net.fibs
> net.fibs: 1
>
> In /usr/include/net/route.h, something regarding FIBS is mentioned...
I could not find any mention of it in the 'route.h' file, nor is there
anything in the 'sysctl.conf' file. The message is displayed just
before the 'login' prompt.
How can I determine what program is causing this to occur?
--
Gerard
gerard@seibercom.net
I am firm. You are obstinate. He is a pig-headed fool.
Katharine Whitehorn
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20080902/986d7b2b/signature.pgp
From jerrymc at msu.edu Tue Sep 2 17:04:06 2008
From: jerrymc at msu.edu (Jerry McAllister)
Date: Tue Sep 2 17:04:13 2008
Subject: dump/restore don't work, handbook lies
In-Reply-To: <48BB2359.4000208@xmission.com>
References: <48BB2359.4000208@xmission.com>
Message-ID: <20080902165831.GA63128@gizmo.acns.msu.edu>
On Sun, Aug 31, 2008 at 05:03:53PM -0600, Lloyd M Caldwell wrote:
> Hello,
>
> this all on a 7.0 freebsd system.
There are a couple of things missing here. You may have done them
and just not mentioned them, but...
> Dump/Restore do NOT work as indicated in the handbook (or man pages). It
> would be better to remove information from the handbook rather then have
> information that doesn't work.
I have used dump/restore hundreds or thousands of times, and
it works just as described although sometimes the media (tape
other disk, whatever) fails. But that is a separate issue.
Dump was still working.
> I needed to increase the size of my freebsd root (/). I booted, single
> user, attached a large usb freebsd formatted file system to receive the
> backup image. I ran:
>
> dump -0af /mnt/d201gly-0.dump /
Did you mount the large USB file system to /mnt?
mount /dev/-whatever_the_device_name /mnt
Otherwise it wrote the dump to /mnt on the old disk which you wiped.
> it ran with no complaints and an image was left on the large usb file
> system (d201gly-0.dump).
OK. Probably must have done the mount (maybe)
doing a df -k would have told you if /mnt had the USB mounted on it.
Did you really look at and verify that image?
Before rebooting and starting up the cdrom and fixit, do a
mkdir /junk
cd /junk
restore -ivf /mnt/d201gly-0.dump
and use it to look around and maybe even restore a file or two in
that scratch directory /junk (or any name you prefer) to make sure
it is really there. I always check dumps I must depend on because
tape media and occasionally others can be very unreliable - especially
DDS (DAT) and I have had to use a lot of that in the past. So, it
has become a regular habit. Checking it with one or two files is
no absolute guarantee that the whole dump is readable, but it sure
reveals the ones where I screwed up while making the dump and if the
whole media is bad.
>
> I then booted off the livefs cdrom, went to the "Fix-it" from livefs.
>
> I ran fdisk to setup a pc partition for freebsd owning the entire disk.
I presume you mean that you created a single FreeBSD slice on the disk.
Something like:
fdisk -BI da0
> I ran disklabel to setup and define the swap and 'a' root partition.
> I ran disklabel to install boot blocks.
That is backwards of what I usually do.
I usually do the bsdlabel that writes a new label and put
on a boot block first - as in:
bsdlabel -w -B da0s1
And then edit the label using bsdlabel to create the 'a' partition.
bsdlabel -e da0s1
And edit it (with vi or whatever editor you have specified, I use vi)) so
it has everything in an 'a' partition. That usually consists of
copying the 'c' line and changing the partition name ('c' to 'a') and
making it a '4.2BSD type instead of 'unused'
> I ran newfs on this new 'a' partition.
This should be straightforward. Just:
newfs /dev/da0s1a
Note, of course, if the disk is SATA or IDE, it is ad0 instead of da0.
> I ran fsck and mount on the new 'a' partition placing it at /mnt/root.
> I turned on the large usb drive, fsck'ed it and mounted it on /mnt/restore.
> I cd into /mnt/root and run:
>
> restore -rf /mnt/restore/d201gly-0.dump
>
This looks all right if you got the mounts right.
> it complains about '/' issues
> it complains about 'expecting YYYYYY got ZZZZZZ'
This is common and normally inconsequential on a dump of a live
file system - and a dump of root from a running system, even in
single user is a live filesystem. It just means that something
changed from the time the dump directory was created and the
actual files were written out.
> after an hour it completes and NO data file were restored. It did
> recreate the directory structure but NOT A SINGLE FILE came back. I've
> studied the man pages and have no clue how to rectify this. after
> re-reading the handbook on backup basics, I'm sure that anyone using
> them will loose everything. They are simply useless. take them offline.
>
> This is not something a user can "practice", as most (I) don't have
> duplicate hardware of everything to try dump/restore methods and find
> out they don't work.
>
> what went wrong? how do i get my system back?
The most likely thing is getting the mounts wrong somewhere along
the line.
Try looking at that dump file on the USB unit using 'restore -vf'
Use the fixit and see what is really on it. Go beyond the
directory index and try to restore a file or two.
eg, boot the fixit, make some space to write - maybe using /tmp
cd in to that space
mount that USB device/filesystem
do restore -vf USB_FILE_SYSTEM (whatever the dive name is)
cd all over and pick a couple of small files to restore.
If stuff is there, you should be able to restore -rf if the
mounts are right.
If not, then you will need to use another backup - you do
make regular backups, of course.
>
> lmc@xmission.com
>
> I've been running freebsd since 2.1 and am beginning to see that unix
> and freebsd are at the end of their life. they are just tooo arcane for
> day-to-day use, which was why i used them in the last place. all the
> gui glue won't fix the broken 'flag' ridden ancient (like me) beast.
Most people find the direct command line operation to be an
major advantage over the gui - can't do anything unless the gui
writer thought of it first trap.
Yup, I started with FreeBSD 2.1 as well and, as I mentioned above, I have
used dump/restore hundreds, maybe thousands of times to rebuild disks,
recover losses and build installs that were done for many machines and
the only problem I have ever had that could be called a failure was when
media went bad. I have made occasional mistakes such as mis-mounting
something, but that was always caught because I use a reasonable amount
of double checking of my work, knowing that I am capable of making mistakes.
>
> this is like the 5th thing that I've followed in the handbook that no
> longer works, takes weeks to figure out why and get done. things that
> should take minutes take hours, weeks, days, months, years. we have
> made NO progress in computing environments. it's so discouraging that
> there is zero innovation in an industry that had such high expectations
> and potential.
You have had a unique series of experiences and possibly are discovering
an area in which you might choose not to endeavor, but might want, instead
to concentrate on other activities and consign to a person or some persons
who are more in tune with the nature of the field, these activities, thus
maintaining the happy condition in which individuals are able to work
at tasks that are more closely in line with their own propensities
and talents.
////jerry
>
> lmc@xmission.com
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"
From jerrymc at msu.edu Tue Sep 2 17:06:10 2008
From: jerrymc at msu.edu (Jerry McAllister)
Date: Tue Sep 2 17:06:18 2008
Subject: dump/restore don't work, handbook lies
In-Reply-To: <200808312353.m7VNrbCI024287@cheyenne.hanadarko.com>
References: <48BB2359.4000208@xmission.com>
<200808312353.m7VNrbCI024287@cheyenne.hanadarko.com>
Message-ID: <20080902170035.GB63128@gizmo.acns.msu.edu>
On Sun, Aug 31, 2008 at 06:53:36PM -0500, J.D. Bronson wrote:
> At 05:03 PM 8/31/2008 -0600, Lloyd M Caldwell wrote:
> >Hello,
> >
> >this all on a 7.0 freebsd system.
> >
> >Dump/Restore do NOT work as indicated in the handbook (or man
> >pages). It would be better to remove information from the handbook
> >rather then have information that doesn't work.
>
> Are you trying to resize the same disc or migrate to a NEW disk?
>
> Migrating to a new (larger) disc is trivial, at least in my experience.
> (I have never tried to resize any partitions though on a same disc,
> since new hard drives are cheap enough)
>
> Here is what I do to migrate to a totally new disc:
>
> Shutdown and install 2nd DRIVE
> boot machine...
> run sysinstall on the 2nd DRIVE (slice/dice/and setup MBR)
>
> then I run a small script like this:
> (Some presumptions are made ahead of time here)
>
> #!/bin/sh
>
> newfs /dev/ad2s1a
> newfs /dev/ad2s1d
> newfs /dev/ad2s1e
> newfs /dev/ad2s1f
> newfs /dev/ad2s1g
> newfs /dev/ad2s1h
> sleep 4
> tunefs -n enable /dev/ad2s1a
> tunefs -n enable /dev/ad2s1d
> tunefs -n enable /dev/ad2s1e
> tunefs -n enable /dev/ad2s1f
> tunefs -n enable /dev/ad2s1g
> tunefs -n enable /dev/ad2s1h
> sleep 4
> mount /dev/ad2s1a /mnta
> mount /dev/ad2s1d /mntd
> mount /dev/ad2s1e /mnte
> mount /dev/ad2s1f /mntf
> mount /dev/ad2s1g /mntg
> mount /dev/ad2s1h /mnth
>
> dump -C 32 -0Lf - / | ( cd /mnta ; restore xf - )
> dump -C 32 -0Lf - /usr | ( cd /mntd ; restore xf - )
> dump -C 32 -0Lf - /var | ( cd /mnte ; restore xf - )
> dump -C 32 -0Lf - /home | ( cd /mntf ; restore xf - )
> dump -C 32 -0Lf - /staff | ( cd /mntg ; restore xf - )
> dump -C 32 -0Lf - /users | ( cd /mnth ; restore xf - )
>
> umount /mnt*
>
>
> Then shut down.
> Place the 2nd drive in the 1st slot and turn it back on.
This is the right way, except you left out creating the /mnta.../mnth
mount points - which you probably already have created, but are not
there on a base system.
////jerry
>
> Maybe there is a better or simpler way, but I have been doing this for years
> and never had any issues.
>
> YMMV
>
> -JD
>
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"
From jerrymc at msu.edu Tue Sep 2 17:09:05 2008
From: jerrymc at msu.edu (Jerry McAllister)
Date: Tue Sep 2 17:09:21 2008
Subject: dump/restore don't work, handbook lies
In-Reply-To: <20080901024910.16ca76ae@gumby.homeunix.com.>
References: <48BB2359.4000208@xmission.com>
<200808312353.m7VNrbCI024287@cheyenne.hanadarko.com>
<20080901024910.16ca76ae@gumby.homeunix.com.>
Message-ID: <20080902170330.GC63128@gizmo.acns.msu.edu>
On Mon, Sep 01, 2008 at 02:49:10AM +0100, RW wrote:
> On Sun, 31 Aug 2008 18:53:36 -0500
> "J.D. Bronson" wrote:
>
> >
> > dump -C 32 -0Lf - / | ( cd /mnta ; restore xf - )
>
> One minor caveat: dumping a live filesystem require dump to take a
> snapshot, which in turn require soft-updates to be turned-on. The
> default in sysinstall is to enable it for everything but the root
> partition.
It doesn't "rewuire" the snapshot. That is a feature that is
helpful in not missing changes and needs the '-L' flag. But, it
will dump just nicely without it and only be momentarily confused
on restore if files are missing that show up in the dump directory
and will not even know about files that are created after the
dump directory was created. If you can tolerate that, then it is
not a requirement.
////jerry
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"
From wahjava.ml at gmail.com Tue Sep 2 17:33:16 2008
From: wahjava.ml at gmail.com (=?utf-8?B?4KSG4KS24KWA4KS3IOCktuClgeCkleCljeCksg==?= Ashish Shukla)
Date: Tue Sep 2 17:33:24 2008
Subject: smtp authentication
In-Reply-To: <200808311116.28934.david@vizion2000.net>
References: <200808311116.28934.david@vizion2000.net>
Message-ID: <20080902173322.GA13714@chateau.d.lf>
In <200808311116.28934.david@vizion2000.net>, David Southwell wrote:
>Hi
>
> I am really ignorant about this issue.
>
>I am running postfix on freebsd 7.0 using a dynamic IP address and am getting
>requests to turn on smtp authentication for outgoing mails to reach servers
>such as yahoo.com but do not know how to do it.
I think that is probably due to your MTA running on a dynamic IP connection,
which are blacklisted for abuse by spammers most of the times. How about you
using a smarthost (probably your ISP's mail-server) to deliver your mails from
your postfix. I'm using the similar way with Postfix running on my local mail
server, relaying all outgoing mails via Google's SMTP servers.
HTH
Ashish
--
?-- ?- ???? ?--- ?- ???- ?- ?--?-? --? -- ?- ?? ?-?? ?-?-?- -?-? --- --
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20080902/1b523cbb/attachment-0001.pgp
From fbsd06 at mlists.homeunix.com Tue Sep 2 17:50:39 2008
From: fbsd06 at mlists.homeunix.com (RW)
Date: Tue Sep 2 17:50:47 2008
Subject: Cron Question
In-Reply-To: <20080902164037.GM26653@dan.emsphone.com>
References: <19272656.post@talk.nabble.com>
<20080902160351.GI79391@pcjas.obspm.fr>
<20080902164037.GM26653@dan.emsphone.com>
Message-ID: <20080902185033.523d001f@gumby.homeunix.com.>
On Tue, 2 Sep 2008 11:40:37 -0500
Dan Nelson wrote:
> I use the lockfile command ( from the procmail port ) to ensure that
> recurring cron jobs don't overlap if one run takes too long. For
> example, to run mrtg on a 1-minute cycle but prevent multiple mrtgs
> from running if one run takes longer than 1 minute:
>
> * * * * * /usr/local/bin/lockfile -r 1 -l 3600 /tmp/mrtg.LCK &&
> ( nice -19 /usr/local/bin/mrtg /usr/local/etc/mrtg/mrtg.cfg ;
> rm /tmp/mrtg.LCK )
>
> The -l 3600 tells lockfile to remove any lockfiles over an hour old (
> if the machine was rebooted during an mrtg run for example )
>
you could also handle stale lock-files, without installing procmail,
like this:
LCK=/tmp/foo.LCK
find $LCK -mtime +3600s -delete
if ![ -f "$LCK" ] ; then
touch "$LCK"
[ -f "$LCK" ] && foo
rm "$LCK"
fi
Presumably the lockfile command also eliminates the race between testing
for, and creating, the lock-file, but that's not really needed here.
From stapleton.41 at gmail.com Tue Sep 2 18:06:11 2008
From: stapleton.41 at gmail.com (Jim)
Date: Tue Sep 2 18:06:20 2008
Subject: cannot make/mount ext2 partition
Message-ID: <80f4f2b20809021106j16e334e5na10b5675d018f1e5@mail.gmail.com>
I'm trying to create an EXT2 partition so I can share files between
FreeBSD and any other operating system I put on the computer, without
the limitations of FAT32.
My kernel config is the generic kernel, with a bunch of SCSI, RAID and
network drivers, MD_ROOT and NFS_ROOT commented out.
However, once I'm done making the partition, I can't mount it. When I
try mounting it, I get the following error.
mount: /dev/ad8s1 : Operation not supported by device
Can anyone tell me what I'm doing wrong?
I sync'ed the ports tree within the last week, and built the e2fsprogs
port this morning.
Thanks,
-Jim Stapleton
The process I went through to create/mount the partition is as follows:
[sjss@elrond ~]$ uname -a
FreeBSD elrond.var-dev.net 7.0-STABLE FreeBSD 7.0-STABLE #1: Thu Jul
24 22:27:49 UTC 2008
root@elrond.var-dev.net:/usr/obj/usr/src/sys/JIM20080722 i386
[sjss@elrond ~]$ kldstat
Id Refs Address Size Name
1 13 0xc0400000 55c4d8 kernel
2 1 0xc095d000 6ed8 snd_ich.ko
3 2 0xc0964000 4a57c sound.ko
4 1 0xc09af000 75592c nvidia.ko
5 2 0xc1105000 285a8 linux.ko
6 1 0xc112e000 6a5d4 acpi.ko
7 1 0xc65fb000 10000 ext2fs.ko
[sjss@elrond ~]$ ls /dev | grep '^ad8'
ad8
ad8s1
[sjss@elrond ~]$ sudo mke2fs /dev/ad8s1
mke2fs 1.41.0 (10-Jul-2008)
Filesystem label=
OS type: FreeBSD
Block size=4096 (log=2)
Fragment size=4096 (log=2)
9773056 inodes, 39072080 blocks
1953604 blocks (5.00%) reserved for the super user
First data block=0
Maximum filesystem blocks=0
1193 block groups
32768 blocks per group, 32768 fragments per group
8192 inodes per group
Superblock backups stored on blocks:
32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208,
4096000, 7962624, 11239424, 20480000, 23887872
Writing inode tables: done
Writing superblocks and filesystem accounting information: done
This filesystem will be automatically checked every 29 mounts or
180 days, whichever comes first. Use tune2fs -c or -i to override.
[sjss@elrond ~]$ fdisk /dev/ad8
******* Working on device /dev/ad8 *******
parameters extracted from in-core disklabel are:
cylinders=310101 heads=16 sectors/track=63 (1008 blks/cyl)
Figures below won't work with BIOS for partitions not in cyl 1
parameters to be used for BIOS calculations are:
cylinders=310101 heads=16 sectors/track=63 (1008 blks/cyl)
Media sector size is 512
Warning: BIOS sector numbering starts with sector 1
Information from DOS bootblock is:
The data for partition 1 is:
sysid 131 (0x83),(Linux native)
start 63, size 312576642 (152625 Meg), flag 0
beg: cyl 0/ head 1/ sector 1;
end: cyl 1023/ head 254/ sector 63
The data for partition 2 is:
The data for partition 3 is:
The data for partition 4 is:
[sjss@elrond ~]$ sudo mount -t ext2 /dev/ad8s1 /mnt
mount: /dev/ad8s1 : Operation not supported by device
From gerard at seibercom.net Tue Sep 2 18:12:12 2008
From: gerard at seibercom.net (Gerard)
Date: Tue Sep 2 18:12:18 2008
Subject: "SYSCTL" error message upon bootup
In-Reply-To: <20080902171518.780da9de@gumby.homeunix.com.>
References: <20080902111120.57e894a8@scorpio>
<20080902171518.780da9de@gumby.homeunix.com.>
Message-ID: <20080902141203.736ad39b@scorpio>
On Tue, 2 Sep 2008 17:15:18 +0100
RW wrote:
> Do you have apache?
>
> http://groups.google.com/group/mailing.freebsd.ports-bugs/browse_thread/thread/b8f17e78869e738f
Yes, and come to think about it, this problem just started happening
after I updated it. I assume that the patch listed above will be
incorporated into the port shortly.
Thanks!
--
Gerard
gerard@seibercom.net
If Karl, instead of writing a lot about Capital,
had made a lot of Capital, it would have been much better.
Karl Marx's Mother
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20080902/e18e6429/signature.pgp
From freebsd at edvax.de Tue Sep 2 18:41:32 2008
From: freebsd at edvax.de (Polytropon)
Date: Tue Sep 2 18:41:39 2008
Subject: "SYSCTL" error message upon bootup
In-Reply-To: <20080902125113.50e5cbea@scorpio>
References: <20080902111120.57e894a8@scorpio>
<20080902173636.c5f832d7.freebsd@edvax.de>
<20080902125113.50e5cbea@scorpio>
Message-ID: <20080902204128.2c1e2a40.freebsd@edvax.de>
On Tue, 2 Sep 2008 12:51:13 -0400, Gerard wrote:
> I could not find any mention of it in the 'route.h' file, [...]
/usr/include/net/route.h, Version 1.65.2.3, line 85:
85:extern u_int rt_numfibs; /* number fo usable routing tables */
That's the only occurance I found. FIBS seems to have something
to do with multiple routing tables, a feature that needs to be
enabled via a kernel option; I'm not sure if this has been present
in FreeBSD 6 already.
> [...] nor is there
> anything in the 'sysctl.conf' file.
So the setting isn't requested via /etc/rc.d/sysctl at startup
(which reads from /etc/sysctl.conf), but from another service.
If it was,
# /etc/rc.d/sysctl restart
would lead to the same error message
> The message is displayed just
> before the 'login' prompt.
As RW mentioned, "Do you have apache?", is there something like
Starting additional deamons: apache
sysctl: unknown oid 'net.fibs'
> How can I determine what program is causing this to occur?
What's "near" the error message? Usually the startup notification
prior to this message should identify the program that causes this
message.
--
Polytropon
>From Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
From chris at smartt.com Tue Sep 2 20:30:34 2008
From: chris at smartt.com (Chris St Denis)
Date: Tue Sep 2 20:30:42 2008
Subject: Script To Execute command via mail
In-Reply-To: <029d01c909d8$272dd1f0$758975d0$@za.net>
References: <029801c909d6$67d76330$37862990$@za.net> <48B7F387.4060602@FreeBSD.org>
<029d01c909d8$272dd1f0$758975d0$@za.net>
Message-ID: <48BDA268.5070509@smartt.com>
Marcel Grandemange wrote:
> Yes the Server I want to do this on Is a FreeBSD 7.0 box, however cannot use
> procmail as all mboxes are virtual.
> Ie not real accounts all exist only on mysql, and since I changed from a
> normall stock setup to using mysql procmail no longer will work.
> All boxes are in form of user@domain.com
>
>
> I really miss procmail!
>
> -----Original Message-----
> From: owner-freebsd-questions@freebsd.org
> [mailto:owner-freebsd-questions@freebsd.org] On Behalf Of Greg Larkin
> Sent: Friday, August 29, 2008 3:03 PM
> To: Marcel Grandemange
> Cc: freebsd-questions@freebsd.org
> Subject: Re: Script To Execute command via mail
>
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Marcel Grandemange wrote:
>
>> I have an interesting situation.
>>
>> I have a windows based sms server, this machine works in the following
>>
> way.
>
>> It watches a shared directory for txt files that must be formatted in
>> certain way and periodically sends them off to mobile.
>>
>> What I want to do is create a SMTP to SMS gateway.
>>
>> Easy in theory!
>>
>> Rite a script to map shared drive, ensure it's connected and write the txt
>> files in dir.
>>
>> However the second part I have no idea, somehow I need to watch the mbox
>> file of say a e-mail account called "test"
>>
>> And IF a mail arrives parse it look for a security key if exists convert
>>
> to
>
>> txt file and copy to shared dir.
>>
>>
>
> Hi Marcel,
>
> Do you have a FreeBSD machine in the mix somewhere? If so, this sounds
> like a job for procmail: http://en.wikipedia.org/wiki/Procmail
>
> Using procmail, you can create a script to process incoming emails and
> process/reformat them as you see fit.
>
> Best regards,
> Greg
> - --
> Greg Larkin
>
> http://www.FreeBSD.org/ - The Power To Serve
> http://www.sourcehosting.net/ - Ready. Set. Code.
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.7 (MingW32)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
>
> iD8DBQFIt/OH0sRouByUApARAntMAJ43+cuEDrdEIZle4TTxa3orO+u05QCdHsOq
> c1yjtkE0i7CN4dM04WgcfrM=
> =0pjX
> -----END PGP SIGNATURE-----
>
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"
>
> __________ NOD32 3396 (20080828) Information __________
>
> This message was checked by NOD32 antivirus system.
> http://www.eset.com
>
>
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"
>
Courier maildrop should do what you need. it's in ports/mail/maildrop.
It can have a mysql backend if you compile it WITH_AUTHLIB=yes
--
Chris St Denis
Programmer
SmarttNet (www.smartt.com)
Ph: 604-473-9700 Ext. 200
-------------------------------------------
"Smart Internet Solutions For Businesses"
From gurdiga at gmail.com Tue Sep 2 20:59:35 2008
From: gurdiga at gmail.com (Vlad GURDIGA)
Date: Tue Sep 2 20:59:43 2008
Subject: Google Chrome
Message-ID:
Hello,
In Google Chrome System requirements
(http://www.google.com/support/chrome/bin/answer.py?answer=95411&topic=14660)
they say that a Linux version is going to appear. And in the "Download
and install" help article
(http://www.google.com/support/chrome/bin/answer.py?answer=95346&query=open-source&topic=&type=)
they say that it is open-source.
Does this mean that is hope we'll have a FreeBSD version?
From beech at freebsd.org Tue Sep 2 21:32:01 2008
From: beech at freebsd.org (Beech Rintoul)
Date: Tue Sep 2 21:32:14 2008
Subject: Google Chrome
In-Reply-To:
References:
Message-ID: <200809021314.39209.beech@freebsd.org>
On Tuesday 02 September 2008, Vlad GURDIGA said:
> Hello,
>
> In Google Chrome System requirements
> (http://www.google.com/support/chrome/bin/answer.py?answer=95411&to
>pic=14660) they say that a Linux version is going to appear. And in
> the "Download and install" help article
> (http://www.google.com/support/chrome/bin/answer.py?answer=95346&qu
>ery=open-source&topic=&type=) they say that it is open-source.
>
> Does this mean that is hope we'll have a FreeBSD version?
If someone steps up and rolls and submits the port. You're welcome to
volunteer :-)
Beech
--
---------------------------------------------------------------------------------------
Beech Rintoul - FreeBSD Developer - beech@FreeBSD.org
/"\ ASCII Ribbon Campaign | FreeBSD Since 4.x
\ / - NO HTML/RTF in e-mail | http://people.freebsd.org/~beech
X - NO Word docs in e-mail | Skype: akbeech
/ \ - http://www.FreeBSD.org/releases/7.0R/announce.html
---------------------------------------------------------------------------------------
From stevefranks at ieee.org Tue Sep 2 22:07:40 2008
From: stevefranks at ieee.org (Steve Franks)
Date: Tue Sep 2 22:07:48 2008
Subject: 32-bit fbsd binaries on amd64 (we can already run 32bit
linux/fc4 stuff, so this should work, right?)
In-Reply-To: <20080829021408.L68158@wojtek.tensor.gdynia.pl>
References: <539c60b90808281219y5b5f0208pca6ad5254cd998d4@mail.gmail.com>
<20080829021408.L68158@wojtek.tensor.gdynia.pl>
Message-ID: <539c60b90809021507s422a1bb5qab1e796a986d8970@mail.gmail.com>
On Thu, Aug 28, 2008 at 5:16 PM, Wojciech Puchar
wrote:
>> Now, I'm sure, as usual, I'm being naive, but:
>>
>> 1) We can run 32-bit linux on amd64, so do we have 32-bit freebsd libs
>> already?
>
> yes.
>
>>
>> 2) If we don't have the 32-bit libs, is it possible to steal them
>
> base system's 32-bit libs are installed by default, for older version
> through compat6x,5x,4x
>
>> directly from the corresponding i386 freebsd (as long as we haven't
>> rebuilt our kernel too many times), or should we in all cases be
>> building them (is there a wiki? I'm sure setting the CFLAGS for
>
> yes you can just copy any binaries.
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"
>
As you may have guessed, I'm not terribly expert. I managed to get
this far (which is to say embarrassingly not far):
ELF interpreter /libexec/ld-elf32.so.1 not found
Abort trap: 6
The only thing I see in libexec is ld-elf.so.1 - is it possible to do
a standard sysinstall without any of the 32-bit stuff, or am I just a
symlink short of a load? If so, is there a metaport of 32-bit stuff,
or do I have to take the leap and make buildworld?
Steve
From gurdiga at gmail.com Tue Sep 2 22:57:23 2008
From: gurdiga at gmail.com (Vlad GURDIGA)
Date: Tue Sep 2 22:57:33 2008
Subject: Google Chrome
In-Reply-To: <200809021314.39209.beech@freebsd.org>
References:
<200809021314.39209.beech@freebsd.org>
Message-ID:
On Wed, Sep 3, 2008 at 12:14 AM, Beech Rintoul wrote:
> On Tuesday 02 September 2008, Vlad GURDIGA said:
>> Hello,
>>
>> In Google Chrome System requirements
>> (http://www.google.com/support/chrome/bin/answer.py?answer=95411&to
>>pic=14660) they say that a Linux version is going to appear. And in
>> the "Download and install" help article
>> (http://www.google.com/support/chrome/bin/answer.py?answer=95346&qu
>>ery=open-source&topic=&type=) they say that it is open-source.
>>
>> Does this mean that is hope we'll have a FreeBSD version?
>
> If someone steps up and rolls and submits the port. You're welcome to
> volunteer :-)
I'd be glad to, but I'm afraid I do not have the skills for that... :-(
From info at cafedanvers.com Tue Sep 2 23:02:47 2008
From: info at cafedanvers.com (=?ISO-8859-1?Q?Caf=E9=20?=d'Anvers Weekly)
Date: Tue Sep 2 23:02:56 2008
Subject: This week in =?iso-8859-1?q?_Caf=E9_?= d'Anvers #36
Message-ID:
Uw e-mail programma ondersteund geen HTML berichten.
Gelieve de volgende URL aan te klikken om het bericht te bekijken:
%URL%
unsubscribe from this mailinglist:
https://mailman.firstserved.net/mailing/unsubscribe/?m=236&l=38&r=494667&c=df6e73ea37b917a6e9dbc8038d0b6b1f
From jaj at hcl-club.lu Tue Sep 2 23:37:51 2008
From: jaj at hcl-club.lu (Jona Joachim)
Date: Tue Sep 2 23:37:58 2008
Subject: Google Chrome
References:
<200809021314.39209.beech@freebsd.org>
Message-ID:
On 2008-09-02, Vlad GURDIGA wrote:
> On Wed, Sep 3, 2008 at 12:14 AM, Beech Rintoul wrote:
>> On Tuesday 02 September 2008, Vlad GURDIGA said:
>>> Hello,
>>>
>>> In Google Chrome System requirements
>>> (http://www.google.com/support/chrome/bin/answer.py?answer=95411&to
>>>pic=14660) they say that a Linux version is going to appear. And in
>>> the "Download and install" help article
>>> (http://www.google.com/support/chrome/bin/answer.py?answer=95346&qu
>>>ery=open-source&topic=&type=) they say that it is open-source.
>>>
>>> Does this mean that is hope we'll have a FreeBSD version?
>>
>> If someone steps up and rolls and submits the port. You're welcome to
>> volunteer :-)
>
> I'd be glad to, but I'm afraid I do not have the skills for that... :-(
Once it runs on Linux it shouldn't be too difficult to port it to FreeBSD.
However it doesn't run on Linux ATM according to what I've read.
From ljfong at sdf.lonestar.org Wed Sep 3 00:00:11 2008
From: ljfong at sdf.lonestar.org (Hong)
Date: Wed Sep 3 00:00:19 2008
Subject: Maildrop with MySQL look-up?
Message-ID: <20080902234833.GA19065@SDF.LONESTAR.ORG>
Hi,
How do I enable MySQL look-up when I install maildrop from the port system? I
looked at the Makefile:
# New ports collection makefile for: maildrop
# Date created: 16 November 1998
# Whom: Tom Hukins
#
# $FreeBSD: ports/mail/maildrop/Makefile,v 1.50 2008/08/21 06:17:37 rafan Exp $
#
# The following compile-time options are available:
# WITH_AUTHLIB=yes Enable optional support for Courier Auth Library
# WITH_FAM=yes Enable optional support for File Alteration Monitor
# WITH_GDBM=yes Enable database extensions using GDBM (default: off)
# MAILDROP_SUID=,
# MAILDROP_SGID= Maildrop will be installed with suid permissions for
# MAILDROP_SUID, and sgid permissions for MAILDROP_SGID.
# MAILDROP_TRUSTED_USERS= Specify users allowed to use the -d option
# NO_MAILWRAPPER=yes If defined, let configure guess which sendmail binary
# to use
There doesn't seem to be a way to enable mysql for the maildrop in the port system directly.
Thanks,
Hong
From pgiessel at mac.com Wed Sep 3 00:26:44 2008
From: pgiessel at mac.com (Peter Giessel)
Date: Wed Sep 3 00:26:51 2008
Subject: Google Chrome
In-Reply-To:
References:
Message-ID: <57057966651240527470195062000340979511-Webmail2@me.com>
On Tuesday, September 02, 2008, at 12:38PM, "Vlad GURDIGA" wrote:
>Hello,
>
>In Google Chrome System requirements
>(http://www.google.com/support/chrome/bin/answer.py?answer=95411&topic=14660)
>they say that a Linux version is going to appear. And in the "Download
>and install" help article
>(http://www.google.com/support/chrome/bin/answer.py?answer=95346&query=open-source&topic=&type=)
>they say that it is open-source.
>
>Does this mean that is hope we'll have a FreeBSD version?
That would be somewhat ironic, since according to Reuters:
*** QUOTE ***
"We have borrowed good ideas from others," Google Vice President of Product Management
Sindar Pichai said. "Our goal here was to bring our point of view, but do it in a very open way."
Because Chrome relies on Apple's open-source WebKit software for rendering Web pages, it
can run any application that runs on Apple's Safari Web browser, Pichai said.
"If you are a Webmaster, and your site works in Apple Safari then it will work very well in
Google Chrome," he said.
*** END QUOTE ***
And Safari is based on KDE's Konquerer (which already runs on FreeBSD), so with a FreeBSD
version of Chrome, you would essentially have Konquerer ported to Apple, ported to Microsoft,
ported to Linux, ported back to FreeBSD....
Granted, improvements are made along the way... (but losses probably occur as well).
From troy at i2bnetworks.com Wed Sep 3 00:35:21 2008
From: troy at i2bnetworks.com (Troy Beisigl)
Date: Wed Sep 3 00:35:28 2008
Subject: bind 9 caching only name server best practice.
Message-ID:
Hi,
I'm looking for some information on what the best way to run a bind 9
caching name server on FreeBSD 6.3 +. Basically, configurations and
kernel tweaks on the FreeBSD side of things for memory and performance
is what I am looking for. The actual Bind compile and configuration I
understand. Does anyone have any insight on this they would like to
share?
Thanks,
-Troy
From agus.262 at gmail.com Wed Sep 3 02:29:37 2008
From: agus.262 at gmail.com (Agus)
Date: Wed Sep 3 02:29:44 2008
Subject: Having issues whith limit.conf, limitsession capability...
Message-ID:
Hi guys....Just as the subject says....
I am testing this and when setting a new class, it doesnt seem to respond...
limit1 class added to user test1 using vipw...
added to login.conf
limit1|Limit for test1 account:\
:sessionlimit=2:\
:tc=default:
cap_mkdb login.conf
after this i login locally and from lan via ssh as many times as i want...:/
Am i missing something?
Thanks and cheers guys,
Agustin
From kusanagiyang at gmail.com Wed Sep 3 04:54:20 2008
From: kusanagiyang at gmail.com (Richard Yang)
Date: Wed Sep 3 04:54:27 2008
Subject: problem running named
Message-ID:
Hello,
When I tried "/etc/rc.d/named forcestart", i got
./named: WARNING: run_rc_command: cannot run /etc/namedb/named
what does it mean and how do i fix this?
thanx
--
Best Regards
Richard Yang
richardyang@richardyang.net
kusanagiyang@gmail.com
From jeremy at stormy.smart-serv.net Wed Sep 3 07:38:20 2008
From: jeremy at stormy.smart-serv.net (Jeremy Johnston)
Date: Wed Sep 3 07:38:27 2008
Subject: nss_ldap leaving sockets open
Message-ID: <48BE3AE9.4080709@stormy.smart-serv.net>
I seem to have encountered a rather annoying and puzzling problem, I am
running nss_ldap on 7.0-STABLE with openldap-server 2.4.11 on the same
server. I have nss_ldap configured to connect over a unix socket. This
works great except for the fact it seems the connections are never being
closed. When I checked earlier today with (netstat -n | grep -c
slapd.sock) it reported 441 instances.
I have bind_policy set to soft and nss_connect_policy set to oneshot and
this still seems to be occuring.
Any hints or clues on what may be causing this would be greatly appreciated.
From iwrtech at iwr.ru.ac.za Wed Sep 3 08:34:36 2008
From: iwrtech at iwr.ru.ac.za (DA Forsyth)
Date: Wed Sep 3 08:34:42 2008
Subject: How to compare 2 images from command line
In-Reply-To: <20080902173329.867AC106571B@hub.freebsd.org>
References: <20080902173329.867AC106571B@hub.freebsd.org>
Message-ID: <48BE683A.13293.2D4930EF@iwrtech.iwr.ru.ac.za>
On 2 Sep 2008 , freebsd-questions-request@freebsd.org entreated about
"freebsd-questions Digest, Vol 231, Issue 5":
> > Yes, there's a huge difference between testing differences in images and
> > testing differences in files. What do you mean by "...know if the
> > display is working correctly."?
> >
> > Andrew
>
> I want to determine if Mplayer is working correctly. The best way to be
> sure is to check if the display on the screen is changing. That's the
> purpose of the screenshots. The screenshots are taken by Nagios every 5
> minutes and the new screenshot is compared with the preceding one. But,
> by now, it doesn't work because every tool we try is seeing a diffence
> between 2 identical images.
JPG format will always be different because of the
encoding/compression. I think you need to save to an uncompressed
format like BMP. Maybe PNG has a mode that will work too. BMP has
no info headers, just the raw data, so that won't be affected by the
time of the save (at the least).
--
DA Fo rsyth Network Supervisor
Principal Technical Officer -- Institute for Water Research
http://www.ru.ac.za/institutes/iwr/
From sebastian.tymkow at gmail.com Wed Sep 3 08:35:24 2008
From: sebastian.tymkow at gmail.com (=?ISO-8859-1?Q?Sebastian_Tymk=F3w?=)
Date: Wed Sep 3 08:35:34 2008
Subject: problem running named
In-Reply-To:
References:
Message-ID: <692660060809030104x1b4ce584v5f98eeea53ff6cf2@mail.gmail.com>
Hello,
What is on logs ?
What do you have in your /etc/rc.conf for named ?
Best regards,
Shamrock
2008/9/3 Richard Yang
> Hello,
>
> When I tried "/etc/rc.d/named forcestart", i got
> ./named: WARNING: run_rc_command: cannot run /etc/namedb/named
>
> what does it mean and how do i fix this?
> thanx
>
> --
>
> Best Regards
>
> Richard Yang
> richardyang@richardyang.net
> kusanagiyang@gmail.com
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "
> freebsd-questions-unsubscribe@freebsd.org"
>
From thavinci at thavinci.za.net Wed Sep 3 08:42:31 2008
From: thavinci at thavinci.za.net (Marcel Grandemange)
Date: Wed Sep 3 08:42:38 2008
Subject: IPFW In FreeBSD
Message-ID: <02be01c90da0$e03555d0$a0a00170$@za.net>
Ok so I know this is a newbie question..
But ive for years now wanted to know how to only nat certain traffic or maby
only across a certain ip.
Ive tried many examples all not working.. Maby im just doing something
stupid..
But, below is a example of a machine that is natting everything on em0.
Id like to know how to change that to everything on say 196.212.65.186
instead of entire interface.
Or better yet..
Stop natting everything and say only nat web traffic.
Im having issues where certain traffic is being nated that MUSTN be!
Would be REALLY greatfull for input and working examples!
00013 6613581 1024484770 fwd 127.0.0.1,3128 tcp from not me to not me
dst-port 80 via em1
00015 3678 424024 fwd 127.0.0.1,3128 tcp from not me to not me
dst-port 8080 via em1
00025 24596697 12747712371 divert 8668 ip from any to any via em0
00600 0 0 deny ip from any to 196.212.65.186 dst-port 3306
via em0
00600 0 0 deny ip from any to 196.212.65.187 dst-port 3306
via em0
00600 7 408 deny ip from any to 196.212.65.187 dst-port 22
via em0
00600 0 0 deny ip from any to 196.212.65.187 dst-port 199
via em0
00600 0 0 deny ip from any to me dst-port 3401 via em0
00600 0 0 deny ip from any to 192.168.239.1 dst-port 3306
via em1
00600 883 49232 deny icmp from any to 196.212.65.187 via em0
00660 86202 39746084 deny udp from me to any dst-port 520 not via em1
00700 46353458 25934143975 allow ip from any to any
65535 0 0 deny ip from any to any
em0: flags=8843 metric 0 mtu 1500
options=19b
ether 00:30:48:90:c8:28
inet 196.212.65.186 netmask 0xfffffff8 broadcast 196.212.65.191
inet 196.212.65.187 netmask 0xfffffff8 broadcast 196.212.65.191
media: Ethernet autoselect (100baseTX )
status: active
#Nat
natd_enable="YES" # Enable NATD function
natd_flags="-dynamic"
natd_interface="em0" # interface name of public Internet NIC
From nicolas at nicoelro.net Wed Sep 3 09:08:06 2008
From: nicolas at nicoelro.net (Nicolas Letellier)
Date: Wed Sep 3 09:08:12 2008
Subject: Setting an environment var at boot
Message-ID: <20080903104925.3b1e9535@nogrod.nicoelro.net>
Hello,
I have an env var to set for mysqld (UMASK_DIR).
Today, I set it in /usr/local/etc/rc.d/mysql-server, but it's a bad
idea. When I want to upgrade my mysql5-server port, the file will be
overwritten.
I want to set it in a file loaded a machine boot. This var must be
exported and accessible for my services runned in /etc/rc.d
and /usr/local/etc/rc.d
What file do you advice?
Thanks.
Regards,
--
- Nicolas.
From anrays at gmail.com Wed Sep 3 09:08:38 2008
From: anrays at gmail.com (Andrey Slusar)
Date: Wed Sep 3 09:08:45 2008
Subject: FreeBSD7 and realtek 8111C
Message-ID: <47e01da70809030141r2cd45f54n4407fd8fde0860d9@mail.gmail.com>
Hello!
I have the motherboard with realtek 8111C LAN Card.
On FreeBSD6.3 it's card is work fine with driver from realtek wesite -
rtl_bsd_drv_v175.tgz archive.
Build this driver on 7.0-STABLE is not work. I'm hacked this and
driver is compile without problems, but LAN card works is very
unstable - system hang,
when i'm downoad file ~10 seconds. Maybe there are people who can
bring to mind my hack? I'm attached driver and patch.
--
Regards,
Andrey.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: rtl_bsd_drv_v176.diff
Type: application/octet-stream
Size: 4241 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20080903/09473b7e/rtl_bsd_drv_v176.obj
From freebsd at edvax.de Wed Sep 3 09:28:20 2008
From: freebsd at edvax.de (Polytropon)
Date: Wed Sep 3 09:28:27 2008
Subject: Setting an environment var at boot
In-Reply-To: <20080903104925.3b1e9535@nogrod.nicoelro.net>
References: <20080903104925.3b1e9535@nogrod.nicoelro.net>
Message-ID: <20080903112814.2e5965ae.freebsd@edvax.de>
On Wed, 3 Sep 2008 10:49:25 +0200, Nicolas Letellier wrote:
> What file do you advice?
Unclean, but maybe "early" enough in the boot process: /etc/rc.local.
This file won't be touched at port's or system's update.
Much more unclean, but certainly earlier: /etc/rc itself. Thile file
is examined during system update.
--
Polytropon
>From Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
From joel at levee-online.org Wed Sep 3 09:57:59 2008
From: joel at levee-online.org (joel@levee-online.org)
Date: Wed Sep 3 09:58:07 2008
Subject: starting sysinstall at boot time
In-Reply-To: <9e20d71e0809020341x2627c8f0qa6fc8c58c052167@mail.gmail.com>
References: <1220348951.48bd0c17315aa@imp.online.net>
<9e20d71e0809020341x2627c8f0qa6fc8c58c052167@mail.gmail.com>
Message-ID: <1220435884.48be5fac8b1d5@imp.online.net>
Quoting Artis Caune :
Hi Artis,
Thank you for your quick answer,
/sbin/init is actualy replaced by sysinstall because it is
not present on the mfsroot thus sysinstall is launched instead
of init.
Best regards,
Joel Levee.
> On Tue, Sep 2, 2008 at 12:49 PM, wrote:
> >
> > Hi,
> >
> > Something seems magic in freebsd: I am looking for what does start
> > sysinstall at boot time when I boot from the installation CD.
> > The only thing related to systinstall is the setting of the init_path
> variable
> > in the loader.rc file but it is in comment thus the loader should finish
> > by launchinig init as usual so what does make it launch sysinstall instead?
>
> I think /sbin/init is replaced with sysinstall.
>
>
> > As you may guess, my goal is to create an customized installation CD in
> > order to install a network appliance wich embedds freebsd.
>
> I also use custom install script, and I replace /etc/rc on mfs image.
>
>
>
>
> --
> regards,
> Artis Caune
>
> <----. CCNA
> <----|====================
> <----' didii FreeBSD
>
From sasa at stupar.homelinux.net Wed Sep 3 10:18:40 2008
From: sasa at stupar.homelinux.net (=?iso-8859-2?Q?Sa=B9a_Stupar?=)
Date: Wed Sep 3 10:18:47 2008
Subject: 32-bit fbsd binaries on amd64 (we can already run 32bit
linux/fc4 stuff, so this should work, right?)
In-Reply-To: <539c60b90809021507s422a1bb5qab1e796a986d8970@mail.gmail.com>
References: <539c60b90808281219y5b5f0208pca6ad5254cd998d4@mail.gmail.com>
<20080829021408.L68158@wojtek.tensor.gdynia.pl>
<539c60b90809021507s422a1bb5qab1e796a986d8970@mail.gmail.com>
Message-ID: <486604836098d3425ac81199f0c02567.squirrel@posta.homelinux.net>
> On Thu, Aug 28, 2008 at 5:16 PM, Wojciech Puchar
> wrote:
>>> Now, I'm sure, as usual, I'm being naive, but:
>>>
>>> 1) We can run 32-bit linux on amd64, so do we have 32-bit freebsd libs
>>> already?
>>
>> yes.
>>
>>>
>>> 2) If we don't have the 32-bit libs, is it possible to steal them
>>
>> base system's 32-bit libs are installed by default, for older version
>> through compat6x,5x,4x
>>
>>> directly from the corresponding i386 freebsd (as long as we haven't
>>> rebuilt our kernel too many times), or should we in all cases be
>>> building them (is there a wiki? I'm sure setting the CFLAGS for
>>
>> yes you can just copy any binaries.
>> _______________________________________________
>> freebsd-questions@freebsd.org mailing list
>> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
>> To unsubscribe, send any mail to
>> "freebsd-questions-unsubscribe@freebsd.org"
>>
>
> As you may have guessed, I'm not terribly expert. I managed to get
> this far (which is to say embarrassingly not far):
>
> ELF interpreter /libexec/ld-elf32.so.1 not found
> Abort trap: 6
>
> The only thing I see in libexec is ld-elf.so.1 - is it possible to do
> a standard sysinstall without any of the 32-bit stuff, or am I just a
> symlink short of a load? If so, is there a metaport of 32-bit stuff,
> or do I have to take the leap and make buildworld?
>
> Steve
> _______________________________________________
I had the same issue. Just use sysinstall and install lib32 from
Distribution. Mine 64bit install was also installed without 32bit
libraries because I use minimal installation and then everything else from
the ports.
Sasa
From joel at levee-online.org Wed Sep 3 10:27:44 2008
From: joel at levee-online.org (joel@levee-online.org)
Date: Wed Sep 3 10:27:53 2008
Subject: starting sysinstall at boot time
In-Reply-To: <48BD1AA9.8000307@gmail.com>
References: <1220348951.48bd0c17315aa@imp.online.net>
<48BD1AA9.8000307@gmail.com>
Message-ID: <1220435683.48be5ee3a88bd@imp.online.net>
Quoting Manolis Kiagias :
Hi Manolis
Thank you very much for you quick and accurate answer.
I had mounted the mfsroot but I did not notice that init was not
present. So now every thins is clear and not magic at all.
Best regards,
Joel Levee
> joel@levee-online.org wrote:
> > Hi,
> >
> > Something seems magic in freebsd: I am looking for what does start
> > sysinstall at boot time when I boot from the installation CD.
> > The only thing related to systinstall is the setting of the init_path
> variable
> > in the loader.rc file but it is in comment thus the loader should finish
> > by launchinig init as usual so what does make it launch sysinstall instead?
> >
> > I also examined /etc/ttys which is used by init but this file is standard
> > and I do not find anything that could tell init to start sysinstall instead
> > of getty!
> >
> > As you may guess, my goal is to create an customized installation CD in
> > order to install a network appliance wich embedds freebsd.
> >
> > Sincerily,
> > Joel Levee
> >
> >
> >
>
> This is a tricky one, kind of black magic ;)
>
> Seriously, it is quite simple:
>
> You correctly located the init_path variable. This contains the
> following (on a 6.3-RELEASE CD I have handy at the moment):
>
>
#init_path="/sbin/init:/sbin/oinit:/sbin/init.bak:/rescue/init:/stand/sysinstall"
>
> This is commented out, but the values shown are the built-in defaults.
>
> Now, if you take a look at the CD filesystem structure, *there is* an
> /sbin/init and there is *no* /stand/sysinstall. So, you would assume
> that init would run first.
>
> However, here comes the caveat:
>
> The root filesystem when you boot your installation media, is *not* the
> CD-ROM itself. Look at /boot/loader.conf:
>
> mfsroot_load="YES"
> mfsroot_type="mfs_root"
> mfsroot_name="/boot/mfsroot"
>
> You will find /boot/mfsroot.gz as the file that acts as the root filesystem.
> You can actually examine the contents of this if you mount it using
> mdconfig (assuming you mounted your install CD on /cdrom):
>
> cp /cdrom/boot/mfsroot.gz /tmp
> cd /tmp
> unzip mfsroot.gz (Can probably be mounted compressed(?), did not check)
> mdconfig -f mfsroot md0
> mount /dev/md0 /mnt
>
> Check the contents of /mnt:
>
> bin boot dev etc mnt sbin stand var
>
> sbin is a symbolic link to stand. There is no '/stand/init' in , but
> '/stand/sysinstall' exists. Therefore, sysinstall executes ;)
>
From matiassurdi at gmail.com Wed Sep 3 10:29:42 2008
From: matiassurdi at gmail.com (Matias Surdi)
Date: Wed Sep 3 10:29:50 2008
Subject: pkg_create
Message-ID:
I've a directory tree structure in /usr/local from wich I'd like to
create a package.
How are pkg_create arguments supposed to be?
Where can I find an example?
I've read the manpage, but an example would be really usefull.
Thanks for your help again.
From derek at computinginnovations.com Wed Sep 3 10:37:56 2008
From: derek at computinginnovations.com (Derek Ragona)
Date: Wed Sep 3 10:38:04 2008
Subject: Cron Question
In-Reply-To: <19272656.post@talk.nabble.com>
References: <19272656.post@talk.nabble.com>
Message-ID: <6.0.0.22.2.20080903053036.025d11d8@mail.computinginnovations.com>
At 10:45 AM 9/2/2008, ElihuJ wrote:
>Hi all. I have a question about cron jobs that seem to be running to long or
>with multiple copies of itself. For example, I have a backup script that I
>run that seems to make multiple copies of itself. If I view the running
>processes I see numerous instances of the same cron job. Is there something
>I can do to limit this from happening? When it does, it drains my CPU and
>some of my other processes are non responsive. Any help would be
>appreciated. Thank you.
>--
>View this message in context:
>http://www.nabble.com/Cron-Question-tp19272656p19272656.html
>Sent from the freebsd-questions mailing list archive at Nabble.com.
For longer running jobs I do a couple things. I use a file to be sure only
one instance is running, but I also add signal handling. The following is
written for ksh, but can be adapted to sh if needed:
=============================================================
#!/usr/local/bin/ksh
# uncomment the following line for debugging
#set -x
RUNNING_FILE=RUNNING_FILE=/tmp/my_cronjob_running
LOGFILE=LOGFILE=/tmp/my_cronjob.log
SENDTO=me@mydomain.com
MAIL=/usr/bin/mail
TOUCH=/usr/bin/touch
RM=/bin/rm
# Print an epilog string and clear the RUNNING_FILE
function epilog {
echo "We are all done scanning." >> $LOGFILE
$MAIL -s "MyCronjob Report" $SENDTO < $LOGFILE
if [ -f $RUNNING_FILE ]; then
$RM $RUNNING_FILE;
fi
}
function got_signal {
echo "Got a signal" >> $LOGFILE
epilog
exit
}
# Here pointers to signal handling subroutines are set
trap got_signal TERM HUP INT QUIT
if [ -f $RUNNING_FILE ]; then
echo "mycronjob is already running"
else
$TOUCH $RUNNING_FILE
$RM $LOGFILE
$TOUCH $LOGFILE
# add your job to be done here . . .
#
epilog
fi
=============================================================
>_______________________________________________
>freebsd-questions@freebsd.org mailing list
>http://lists.freebsd.org/mailman/listinfo/freebsd-questions
>To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"
>
>--
>This message has been scanned for viruses and
>dangerous content by MailScanner, and is
>believed to be clean.
--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
From sonic2000gr at gmail.com Wed Sep 3 10:49:02 2008
From: sonic2000gr at gmail.com (Manolis Kiagias)
Date: Wed Sep 3 10:49:09 2008
Subject: pkg_create
In-Reply-To:
References:
Message-ID: <48BE6B99.6090609@gmail.com>
Matias Surdi wrote:
> I've a directory tree structure in /usr/local from wich I'd like to
> create a package.
>
> How are pkg_create arguments supposed to be?
>
> Where can I find an example?
>
> I've read the manpage, but an example would be really usefull.
>
> Thanks for your help again.
>
pkg_create can create packages from your installed ports (or packages),
it will not create a mega-package of all your system, if thats is what
you are looking for. Of course, you can instruct pkg_create to create
packages for *all* your installed programs.
Typical use is something like:
pkg_create -Rb foo-1.2.3_4
(get the exact package version for foo by running pkg_info -Ix foo)
The -R flag will cause packages to be created for all dependencies of
foo as well. If you wish to create packages for everything you got
installed, you may try something like the following simple script (run
as root to avoid weird permission errors in some cases):
for i in `pkg_info -Ea`; do
pkg_create -b "$i"
done
(no need for -R here, since you are doing all packages anyway)
Bear in mind some ports can not be packaged due to licensing issues and
some others may behave erratically (i.e. sysutils/screen).
From matthias.apitz at oclc.org Wed Sep 3 11:01:17 2008
From: matthias.apitz at oclc.org (Matthias Apitz)
Date: Wed Sep 3 11:01:26 2008
Subject: pkg_create
In-Reply-To: <48BE6B99.6090609@gmail.com>
References: <48BE6B99.6090609@gmail.com>
Message-ID: <20080903110114.GA7293@rebelion.Sisis.de>
El d?a Wednesday, September 03, 2008 a las 01:48:57PM +0300, Manolis Kiagias escribi?:
> Matias Surdi wrote:
> >I've a directory tree structure in /usr/local from wich I'd like to
> >create a package.
> >
> >How are pkg_create arguments supposed to be?
> >
> >Where can I find an example?
> >
> >I've read the manpage, but an example would be really usefull.
> >
> >Thanks for your help again.
> >
>
> pkg_create can create packages from your installed ports (or packages),
> it will not create a mega-package of all your system, if thats is what
> you are looking for. Of course, you can instruct pkg_create to create
> packages for *all* your installed programs.
>
> Typical use is something like:
>
> pkg_create -Rb foo-1.2.3_4
...
I've until now only used the above mentioned form to create package
files from installed packages to installe them into another computer;
but, if I understand the man-page of pkg_create(1) correctly, one can
also create with this packages from the files in the file system;
create a package with 'pkg_create -Rb foo-1.2.3_4' and have a look into
the resulting tar file foo-1.2.3_4.tbz; this will give you an idea of
what you must provide on the command line for building a package from
certain files; this is what I would start with;
hih
matthias
--
Matthias Apitz
Manager Technical Support - OCLC GmbH
Gruenwalder Weg 28g - 82041 Oberhaching - Germany
t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211
e - w http://www.oclc.org/ http://www.UnixArea.de/
b http://gurucubano.blogspot.com/
We should all learn from the peoples of The Netherlands, France and Ireland.
Aprendamos todos de los pueblos de Holanda, Francia e Irlanda.
From shinjii at maydias.com Wed Sep 3 11:42:36 2008
From: shinjii at maydias.com (Warren Liddell)
Date: Wed Sep 3 11:42:42 2008
Subject: Dragon Player plays video but with no sound
Message-ID: <200809032142.56430.shinjii@maydias.com>
Ever since i installed FreeBSD 7.0 and KDE4 dragon player will play the video
files but with no sound, is there any switch or config that i may be missing
as to why this is occuring? atm im having to use VLC to be abel to watch any
moves in full screen with sound.
Sound works with many other apps and is loaded in the kernel.
From fbsd06 at mlists.homeunix.com Wed Sep 3 11:51:57 2008
From: fbsd06 at mlists.homeunix.com (RW)
Date: Wed Sep 3 11:52:05 2008
Subject: Google Chrome
In-Reply-To: <57057966651240527470195062000340979511-Webmail2@me.com>
References:
<57057966651240527470195062000340979511-Webmail2@me.com>
Message-ID: <20080903123953.47896b13@gumby.homeunix.com.>
On Tue, 02 Sep 2008 16:16:08 -0800
Peter Giessel wrote:
> And Safari is based on KDE's Konquerer (which already runs on
> FreeBSD), so with a FreeBSD version of Chrome, you would essentially
> have Konquerer ported to Apple, ported to Microsoft, ported to Linux,
> ported back to FreeBSD....
They've based their rendering on WebKit, but there's a lot more to
Chrome than that:
http://www.google.com/googlebooks/chrome/
I think it looks very interesting.
From ivoras at freebsd.org Wed Sep 3 11:55:48 2008
From: ivoras at freebsd.org (Ivan Voras)
Date: Wed Sep 3 11:55:57 2008
Subject: Google Chrome
In-Reply-To: <26682.8228872784$1220442858@news.gmane.org>
References: <57057966651240527470195062000340979511-Webmail2@me.com>
<26682.8228872784$1220442858@news.gmane.org>
Message-ID:
RW wrote:
> On Tue, 02 Sep 2008 16:16:08 -0800
> Peter Giessel wrote:
>
>
>> And Safari is based on KDE's Konquerer (which already runs on
>> FreeBSD), so with a FreeBSD version of Chrome, you would essentially
>> have Konquerer ported to Apple, ported to Microsoft, ported to Linux,
>> ported back to FreeBSD....
>
> They've based their rendering on WebKit, but there's a lot more to
> Chrome than that:
>
> http://www.google.com/googlebooks/chrome/
>
> I think it looks very interesting.
I think it would be in beta for decades :) There's just so much thing
they said they'll do that would be very complicated to implement - their
multiprocessing model instead of multithreading for example. To me it
looks like they will soon find out that there's a reason todays browsers
behave like they to - the platform (HTML, CSS, JS, Flash...) is very
complex.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 252 bytes
Desc: OpenPGP digital signature
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20080903/14274514/signature-0001.pgp
From wojtek at wojtek.tensor.gdynia.pl Wed Sep 3 11:59:35 2008
From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar)
Date: Wed Sep 3 11:59:45 2008
Subject: Google Chrome
In-Reply-To:
References:
<57057966651240527470195062000340979511-Webmail2@me.com>
<26682.8228872784$1220442858@news.gmane.org>
Message-ID: <20080903135750.F2188@wojtek.tensor.gdynia.pl>
> I think it would be in beta for decades :) There's just so much thing
> they said they'll do that would be very complicated to implement - their
> multiprocessing model instead of multithreading for example. To me it
> looks like they will soon find out that there's a reason todays browsers
> behave like they to - the platform (HTML, CSS, JS, Flash...) is very
> complex.
>
>
anyway what a point of using google software having other alternatives.
do you really like to everything be controlled by one company? google
mail, google news, google browser, even google documents.
within few years - google WWW (incompatible with normal).
From jlm at caamora.com.au Wed Sep 3 12:07:35 2008
From: jlm at caamora.com.au (jonathan michaels)
Date: Wed Sep 3 12:07:43 2008
Subject: gigabyte GA-71XE4 (single amd athlon cpu motherboard
Message-ID: <20080903213652.40147@caamora.com.au>
greetings all,
i just repaired my old machine by replacing the damaged motherboard
with these items
motherboard: Gigabyte GA-71XE4 (chipset AMD-75?, with single AMD Athlon cpu)
audio: Creative SB PCI 128 (CT-4815)
video: nVidia GeForce 4 MX440 SE
nic: D-Link DFE-530TX+ 10/100BaseTX (be replaced with intel 10/100)
freebsd v5.2 and 5.3 boots no problems works well but freebsd v7 locks
solid right when it get to teh load image to/from "md0" device this
happens when i use teh -release cdrom to install freebsd.
i looked on google and on marc tying for gigabyte/ga-71xe4 and various
combinations of teh whole chain of bits, also tried specific freebsd
lists (-hardware and -questions) and drew blanks .. guess this will
change that .. grin.
after a bit of thinking i tried booting in 'Safe mode" it booted
properly and went on to complete the installation and is now working as
well as i have seen freebsd work on my other machines.
after starting to use safe mode i had no further problems witht eh
boot/startup lockups.
another thing thats confused me is how freebsd can work out the ide
cable is teh wrong one, dose it really make that much difference ??
i have attached the /var/run/dmesg.run and cut down version of
/var/log/messages.
please reply to address in headers .. i'm not subscribed to questions-
some light would be appreciated on this whole acpi issue and if i need
nvidia drivers to make teh video card work in normal/text mode ??
much thanks and kind regards
jonathan
/var/run/dmesg.run
Copyright (c) 1992-2008 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
The Regents of the University of California. All rights reserved.
FreeBSD is a registered trademark of The FreeBSD Foundation.
FreeBSD 7.0-RELEASE #0: Sun Feb 24 19:59:52 UTC 2008
root@logan.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: AMD Athlon(tm) Processor (1009.95-MHz 686-class CPU)
Origin = "AuthenticAMD" Id = 0x642 Stepping = 2
Features=0x183f9ff
AMD Features=0xc0440800,MMX+,3DNow!+,3DNow!>
real memory = 805240832 (767 MB)
avail memory = 773992448 (738 MB)
kbd1 at kbdmux0
ath_hal: 0.9.20.3 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413)
hptrr: HPT RocketRAID controller driver v1.1 (Feb 24 2008 19:59:27)
cpu0 on motherboard
pcib0: pcibus 0 on motherboard
pir0: on motherboard
pci0: on pcib0
agp0: on hostb0
pcib1: at device 1.0 on pci0
pci1: on pcib1
vgapci0: mem 0xee000000-0xeeffffff,0xd8000000-0xdfffffff,0xe5c80000-0xe5cfffff irq 11 at device 5.0 on pci1
isab0: at device 7.0 on pci0
isa0: on isab0
atapci0: port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xf000-0xf00f at device 7.1 on pci0
ata0: on atapci0
ata0: [ITHREAD]
ata1: on atapci0
pci0: at device 7.3 (no driver attached)
ohci0: mem 0xefffe000-0xefffefff irq 9 at device 7.4 on pci0
ohci0: [GIANT-LOCKED]
ohci0: [ITHREAD]
usb0: OHCI version 1.0, legacy support
usb0: on ohci0
usb0: USB revision 1.0
uhub0: on usb0
uhub0: 4 ports with 4 removable, self powered
rl0: port 0xdc00-0xdcff mem 0xefffff00-0xefffffff irq 11 at device 9.0 on pci0
miibus0: on rl0
rlphy0: PHY 0 on miibus0
rlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
rl0: Ethernet address: 00:05:5d:d5:23:f3
rl0: [ITHREAD]
pcm0: port 0xde00-0xde3f irq 10 at device 10.0 on pci0
pcm0:
pcm0: [ITHREAD]
pcm0:
pmtimer0 on isa0
atkbdc0: at port 0x60,0x64 on isa0
atkbd0: irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
atkbd0: [ITHREAD]
psm0: irq 12 on atkbdc0
psm0: [GIANT-LOCKED]
psm0: [ITHREAD]
psm0: model Generic PS/2 mouse, device ID 0
fdc0: at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0
fdc0: [FILTER]
ppc0: at port 0x378-0x37f irq 7 on isa0
ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode
ppc0: FIFO with 16/16/9 bytes threshold
ppbus0: on ppc0
ppbus0: [ITHREAD]
plip0: on ppbus0
lpt0: on ppbus0
lpt0: Interrupt-driven port
ppi0: on ppbus0
ppc0: [GIANT-LOCKED]
ppc0: [ITHREAD]
sc0: at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 16550A
sio0: [FILTER]
sio1 at port 0x2f8-0x2ff irq 3 on isa0
sio1: type 16550A
sio1: [FILTER]
vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
unknown: can't assign resources (memory)
unknown: can't assign resources (port)
unknown: can't assign resources (port)
unknown: can't assign resources (port)
unknown: can't assign resources (port)
unknown: can't assign resources (port)
unknown: can't assign resources (irq)
Timecounter "TSC" frequency 1009950905 Hz quality 800
Timecounters tick every 1.000 msec
hptrr: no controller detected.
ad0: 8063MB at ata0-master UDMA33
acd0: DVDROM at ata0-slave UDMA33
ad2: DMA limited to UDMA33, device found non-ATA66 cable
ad2: 6187MB at ata1-master UDMA33
acd1: CDROM at ata1-slave PIO4
Trying to mount root from ufs:/dev/ad0s3a
rl0: link state changed to UP
/var/log/messages
Sep 3 10:28:30 fireice kernel: Copyright (c) 1992-2008 The FreeBSD Project.
Sep 3 10:28:30 fireice kernel: Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
Sep 3 10:28:30 fireice kernel: The Regents of the University of California. All rights reserved.
Sep 3 10:28:30 fireice kernel: FreeBSD is a registered trademark of The FreeBSD Foundation.
Sep 3 10:28:30 fireice kernel: FreeBSD 7.0-RELEASE #0: Sun Feb 24 19:59:52 UTC 2008
Sep 3 10:28:30 fireice kernel: root@logan.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC
Sep 3 10:28:30 fireice kernel: Timecounter "i8254" frequency 1193182 Hz quality 0
Sep 3 10:28:30 fireice kernel: CPU: AMD Athlon(tm) Processor (1009.95-MHz 686-class CPU)
Sep 3 10:28:30 fireice kernel: Origin = "AuthenticAMD" Id = 0x642 Stepping = 2
Sep 3 10:28:30 fireice kernel: Features=0x183f9ff
Sep 3 10:28:30 fireice kernel: AMD Features=0xc0440800,MMX+,3DNow!+,3DNow!>
Sep 3 10:28:30 fireice kernel: real memory = 805240832 (767 MB)
Sep 3 10:28:30 fireice kernel: avail memory = 773992448 (738 MB)
Sep 3 10:28:30 fireice kernel: kbd1 at kbdmux0
Sep 3 10:28:30 fireice kernel: ath_hal: 0.9.20.3 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413)
Sep 3 10:28:30 fireice kernel: hptrr: HPT RocketRAID controller driver v1.1 (Feb 24 2008 19:59:27)
Sep 3 10:28:30 fireice kernel: cpu0 on motherboard
Sep 3 10:28:30 fireice kernel: pcib0: pcibus 0 on motherboard
Sep 3 10:28:30 fireice kernel: pir0: on motherboard
Sep 3 10:28:30 fireice kernel: pci0: on pcib0
Sep 3 10:28:30 fireice kernel: agp0: on hostb0
Sep 3 10:28:30 fireice kernel: pcib1: at device 1.0 on pci0
Sep 3 10:28:30 fireice kernel: pci1: on pcib1
Sep 3 10:28:30 fireice kernel: vgapci0: mem 0xee000000-0xeeffffff,0xd8000000-0xdfffffff,0xe5c80000-0xe5cfffff irq 11 at device 5.0 on pci1
Sep 3 10:28:30 fireice kernel: isab0: at device 7.0 on pci0
Sep 3 10:28:30 fireice kernel: isa0: on isab0
Sep 3 10:28:30 fireice kernel: atapci0: port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xf000-0xf00f at device 7.1 on pci0
Sep 3 10:28:30 fireice kernel: ata0: on atapci0
Sep 3 10:28:30 fireice kernel: ata0: [ITHREAD]
Sep 3 10:28:30 fireice kernel: ata1: on atapci0
Sep 3 10:28:30 fireice kernel: ata1: [ITHREAD]
Sep 3 10:28:30 fireice kernel: pci0: at device 7.3 (no driver attached)
Sep 3 10:28:30 fireice kernel: ohci0: mem 0xefffe000-0xefffefff irq 9 at device 7.4 on pci0
Sep 3 10:28:30 fireice kernel: ohci0: [GIANT-LOCKED]
Sep 3 10:28:30 fireice kernel: ohci0: [ITHREAD]
Sep 3 10:28:30 fireice kernel: usb0: OHCI version 1.0, legacy support
Sep 3 10:28:30 fireice kernel: usb0: on ohci0
Sep 3 10:28:30 fireice kernel: usb0: USB revision 1.0
Sep 3 10:28:30 fireice kernel: uhub0: on usb0
Sep 3 10:28:30 fireice kernel: uhub0: 4 ports with 4 removable, self powered
Sep 3 10:28:30 fireice kernel: rl0: port 0xdc00-0xdcff mem 0xefffff00-0xefffffff irq 11 at device 9.0 on pci0
Sep 3 10:28:30 fireice kernel: miibus0: on rl0
Sep 3 10:28:30 fireice kernel: rlphy0: PHY 0 on miibus0
Sep 3 10:28:30 fireice kernel: rlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
Sep 3 10:28:30 fireice kernel: rl0: Ethernet address: 00:05:5d:d5:23:f3
Sep 3 10:28:30 fireice kernel: rl0: [ITHREAD]
Sep 3 10:28:30 fireice kernel: pcm0: port 0xde00-0xde3f irq 10 at device 10.0 on pci0
Sep 3 10:28:30 fireice kernel: pcm0:
Sep 3 10:28:30 fireice kernel: pcm0: [ITHREAD]
Sep 3 10:28:30 fireice kernel: pcm0:
Sep 3 10:28:30 fireice kernel: pmtimer0 on isa0
Sep 3 10:28:30 fireice kernel: atkbdc0: at port 0x60,0x64 on isa0
Sep 3 10:28:30 fireice kernel: atkbd0: irq 1 on atkbdc0
Sep 3 10:28:30 fireice kernel: kbd0 at atkbd0
Sep 3 10:28:30 fireice kernel: atkbd0: [GIANT-LOCKED]
Sep 3 10:28:30 fireice kernel: atkbd0: [ITHREAD]
Sep 3 10:28:30 fireice kernel: psm0: irq 12 on atkbdc0
Sep 3 10:28:30 fireice kernel: psm0: [GIANT-LOCKED]
Sep 3 10:28:30 fireice kernel: psm0: [ITHREAD]
Sep 3 10:28:30 fireice kernel: psm0: model Generic PS/2 mouse, device ID 0
Sep 3 10:28:30 fireice kernel: fdc0: at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0
Sep 3 10:28:30 fireice kernel: fdc0: [FILTER]
Sep 3 10:28:30 fireice kernel: ppc0: at port 0x378-0x37f irq 7 on isa0
Sep 3 10:28:30 fireice kernel: ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode
Sep 3 10:28:30 fireice kernel: ppc0: FIFO with 16/16/9 bytes threshold
Sep 3 10:28:30 fireice kernel: ppbus0: on ppc0
Sep 3 10:28:30 fireice kernel: ppbus0: [ITHREAD]
Sep 3 10:28:30 fireice kernel: plip0: on ppbus0
Sep 3 10:28:30 fireice kernel: lpt0: on ppbus0
Sep 3 10:28:30 fireice kernel: lpt0: Interrupt-driven port
Sep 3 10:28:30 fireice kernel: ppi0: on ppbus0
Sep 3 10:28:30 fireice kernel: ppc0: [GIANT-LOCKED]
Sep 3 10:28:30 fireice kernel: ppc0: [ITHREAD]
Sep 3 10:28:30 fireice kernel: sc0: at flags 0x100 on isa0
Sep 3 10:28:30 fireice kernel: sc0: VGA <16 virtual consoles, flags=0x300>
Sep 3 10:28:30 fireice kernel: sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
Sep 3 10:28:30 fireice kernel: sio0: type 16550A
Sep 3 10:28:30 fireice kernel: sio0: [FILTER]
Sep 3 10:28:30 fireice kernel: sio1 at port 0x2f8-0x2ff irq 3 on isa0
Sep 3 10:28:30 fireice kernel: sio1: type 16550A
Sep 3 10:28:30 fireice kernel: sio1: [FILTER]
Sep 3 10:28:30 fireice kernel: vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
Sep 3 10:28:30 fireice kernel: unknown: can't assign resources (memory)
Sep 3 10:28:30 fireice kernel: unknown: can't assign resources (port)
Sep 3 10:28:30 fireice kernel: unknown: can't assign resources (port)
Sep 3 10:28:30 fireice kernel: unknown: can't assign resources (port)
Sep 3 10:28:30 fireice kernel: unknown: can't assign resources (port)
Sep 3 10:28:30 fireice kernel: unknown: can't assign resources (port)
Sep 3 10:28:30 fireice kernel: unknown: can't assign resources (irq)
Sep 3 10:28:30 fireice kernel: Timecounter "TSC" frequency 1009950905 Hz quality 800
Sep 3 10:28:30 fireice kernel: Timecounters tick every 1.000 msec
Sep 3 10:28:30 fireice kernel: hptrr: no controller detected.
Sep 3 10:28:30 fireice kernel: ad0: 8063MB at ata0-master UDMA33
Sep 3 10:28:30 fireice kernel: acd0: DVDROM at ata0-slave UDMA33
Sep 3 10:28:30 fireice kernel: ad2: DMA limited to UDMA33, device found non-ATA66 cable
Sep 3 10:28:30 fireice kernel: ad2: 6187MB at ata1-master UDMA33
Sep 3 10:28:30 fireice kernel: acd1: CDROM at ata1-slave PIO4
Sep 3 10:28:30 fireice kernel: Trying to mount root from ufs:/dev/ad0s3a
Sep 3 10:28:30 fireice savecore: no dumps found
Sep 3 10:28:31 fireice kernel: rl0: link state changed to UP
--
================================================================
powered by ..
QNX, OS9 and freeBSD -- http://caamora com au/operating system
==== === appropriate solution in an inappropriate world === ====
From lenthe at comcast.net Wed Sep 3 12:08:11 2008
From: lenthe at comcast.net (Jason Lenthe)
Date: Wed Sep 3 12:08:18 2008
Subject: FreeBSD7 and realtek 8111C
In-Reply-To: <47e01da70809030141r2cd45f54n4407fd8fde0860d9@mail.gmail.com>
References: <47e01da70809030141r2cd45f54n4407fd8fde0860d9@mail.gmail.com>
Message-ID: <48BE7A26.1000102@comcast.net>
Andrey Slusar wrote:
> Hello!
> I have the motherboard with realtek 8111C LAN Card.
> On FreeBSD6.3 it's card is work fine with driver from realtek wesite -
> rtl_bsd_drv_v175.tgz archive.
> Build this driver on 7.0-STABLE is not work. I'm hacked this and
> driver is compile without problems, but LAN card works is very
> unstable - system hang,
> when i'm downoad file ~10 seconds. Maybe there are people who can
> bring to mind my hack? I'm attached driver and patch.
I have this board on an Intel D945GCNL motherboard and the driver that
comes with FreeBSD 7 works just fine for me. Why are you trying to use
the driver from the website?
From chinocubus at yahoo.com Wed Sep 3 12:11:09 2008
From: chinocubus at yahoo.com (ElihuJ)
Date: Wed Sep 3 12:11:16 2008
Subject: Cron Question
In-Reply-To:
References: <19272656.post@talk.nabble.com>
<20080902160351.GI79391@pcjas.obspm.fr>
Message-ID: <19287970.post@talk.nabble.com>
Thank you for the help. I changed the script to run Weekly instead of Daily.
If it was starting while it was still running, this should fix it. I'll post
my progress, and thank you again.
--
View this message in context: http://www.nabble.com/Cron-Question-tp19272656p19287970.html
Sent from the freebsd-questions mailing list archive at Nabble.com.
From popof.fpn at gmail.com Wed Sep 3 12:22:49 2008
From: popof.fpn at gmail.com (Popof Popof)
Date: Wed Sep 3 12:22:56 2008
Subject: FreeBSD7 and realtek 8111C
In-Reply-To: <48BE7A26.1000102@comcast.net>
References: <47e01da70809030141r2cd45f54n4407fd8fde0860d9@mail.gmail.com>
<48BE7A26.1000102@comcast.net>
Message-ID: <9196e72b0809030522j776afff9g80764477808d3a80@mail.gmail.com>
Hi,
I have a ASRock Wolfdale1333-GLAN/M2, and I use it in order to run FreeNAS.
FreeNAS is based on FreeBSD in order to simply provide a NAS solution.
With the version of FreeNAS based on FreeBSD 6.3 the NIC wasn't recognize, I
had to download those drivers and to compile them in order to make my NIC
working on FreeNAS.
When I tried the version based on FreeBSD 7 the system doesn't recognize my
NIC. I load the module that i made for my NIC, the system recognize my NIC
but when i tried to assign to it an ip address its stops to work.
Jason, what is the name of the device that you use? Maybe this card isn't
support with the realtek driver on FreeBSD 7 but its use another one. Mine
is rl.
2008/9/3 Jason Lenthe
> Andrey Slusar wrote:
> > Hello!
> > I have the motherboard with realtek 8111C LAN Card.
> > On FreeBSD6.3 it's card is work fine with driver from realtek wesite -
> > rtl_bsd_drv_v175.tgz archive.
> > Build this driver on 7.0-STABLE is not work. I'm hacked this and
> > driver is compile without problems, but LAN card works is very
> > unstable - system hang,
> > when i'm downoad file ~10 seconds. Maybe there are people who can
> > bring to mind my hack? I'm attached driver and patch.
>
> I have this board on an Intel D945GCNL motherboard and the driver that
> comes with FreeBSD 7 works just fine for me. Why are you trying to use the
> driver from the website?
>
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "
> freebsd-questions-unsubscribe@freebsd.org"
>
From c.kworr at gmail.com Wed Sep 3 12:29:06 2008
From: c.kworr at gmail.com (Volodymyr Kostyrko)
Date: Wed Sep 3 12:29:19 2008
Subject: gigabyte GA-71XE4 (single amd athlon cpu motherboard
In-Reply-To: <20080903213652.40147@caamora.com.au>
References: <20080903213652.40147@caamora.com.au>
Message-ID:
jonathan michaels wrote:
> greetings all,
> freebsd v5.2 and 5.3 boots no problems works well but freebsd v7 locks
> solid right when it get to teh load image to/from "md0" device this
> happens when i use teh -release cdrom to install freebsd.
How exactly do you load your image?
--
Sphinx of black quartz judge my vow.
From fbsd06 at mlists.homeunix.com Wed Sep 3 12:30:38 2008
From: fbsd06 at mlists.homeunix.com (RW)
Date: Wed Sep 3 12:30:53 2008
Subject: Setting an environment var at boot
In-Reply-To: <20080903112814.2e5965ae.freebsd@edvax.de>
References: <20080903104925.3b1e9535@nogrod.nicoelro.net>
<20080903112814.2e5965ae.freebsd@edvax.de>
Message-ID: <20080903133034.0b90ea2b@gumby.homeunix.com.>
On Wed, 3 Sep 2008 11:28:14 +0200
Polytropon wrote:
> On Wed, 3 Sep 2008 10:49:25 +0200, Nicolas Letellier
> wrote:
> > What file do you advice?
>
> Unclean, but maybe "early" enough in the boot process: /etc/rc.local.
> This file won't be touched at port's or system's update.
I don't think that would work, since rc.local is sourced from a
subshell.
> Much more unclean, but certainly earlier: /etc/rc itself. Thile file
> is examined during system update.
>
>
I've not tried it myself, but I think you could probably just export the
variable in rc.conf (provided that the value isn't required in the rc.d
script itself, for initialization, before run_rc_command is executed).
You can also put per script configuration in the file
/etc/rc.conf.d/
where is whatever the rc.d script sets as "name".
From bcook at poughkeepsieschools.org Wed Sep 3 12:31:48 2008
From: bcook at poughkeepsieschools.org (B. Cook)
Date: Wed Sep 3 12:31:56 2008
Subject: vmware tools for ESX Server 3.5
Message-ID: <6788E89C-5168-4077-8CC4-FAFE22C60E5F@poughkeepsieschools.org>
Hello,
I am setting up FreeBSD 7.0 and he is asking about the vmware-tools.
Ports has some things, but I am not sure what I need, and neither is he.
Can anyone tell me what it needs?
Thanks in advance.
From ivoras at freebsd.org Wed Sep 3 12:36:38 2008
From: ivoras at freebsd.org (Ivan Voras)
Date: Wed Sep 3 12:36:45 2008
Subject: pkg_create
In-Reply-To:
References:
Message-ID:
Matias Surdi wrote:
> I've a directory tree structure in /usr/local from wich I'd like to
> create a package.
>
> How are pkg_create arguments supposed to be?
>
> Where can I find an example?
>
> I've read the manpage, but an example would be really usefull.
>
> Thanks for your help again.
Though it's theoretically possible, don't use pkg_create on a bunch of
files you scattered on the file system to create a package. a) it's hard
to do right by hand and b) you'll probably create an incorrect package.
What you can do (and this is much easier) is write a port for your
application(s), see
http://www.freebsd.org/doc/en/books/porters-handbook/ and then create a
binary package from that port using "make package".
(You do not need to submit the port or your source to anyone but you
must have it on your computer to create the package).
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 252 bytes
Desc: OpenPGP digital signature
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20080903/b3fa8560/signature.pgp
From anrays at gmail.com Wed Sep 3 12:41:45 2008
From: anrays at gmail.com (Andrey Slusar)
Date: Wed Sep 3 12:41:52 2008
Subject: FreeBSD7 and realtek 8111C
In-Reply-To: <48BE7A26.1000102@comcast.net>
References: <47e01da70809030141r2cd45f54n4407fd8fde0860d9@mail.gmail.com>
<48BE7A26.1000102@comcast.net>
Message-ID: <47e01da70809030541k5abbad83x5660e67bc5e76a9f@mail.gmail.com>
2008/9/3 Jason Lenthe :
> Andrey Slusar wrote:
>> Hello!
>> I have the motherboard with realtek 8111C LAN Card.
>> On FreeBSD6.3 it's card is work fine with driver from realtek wesite -
>> rtl_bsd_drv_v175.tgz archive.
>> Build this driver on 7.0-STABLE is not work. I'm hacked this and
>> driver is compile without problems, but LAN card works is very
>> unstable - system hang,
>> when i'm downoad file ~10 seconds. Maybe there are people who can
>> bring to mind my hack? I'm attached driver and patch.
>
> I have this board on an Intel D945GCNL motherboard and the driver that comes
> with FreeBSD 7 works just fine for me. Why are you trying to use the driver
> from the website?
This NIC is unsupported. May bee on you motherboard the realtek 8111B
card, not C.
8111B is works fine.
See this PR: http://www.freebsd.org/cgi/query-pr.cgi?pr=123123
--
Regards,
Andrey.
From lenthe at comcast.net Wed Sep 3 12:50:21 2008
From: lenthe at comcast.net (Jason Lenthe)
Date: Wed Sep 3 12:50:32 2008
Subject: FreeBSD7 and realtek 8111C
In-Reply-To: <9196e72b0809030522j776afff9g80764477808d3a80@mail.gmail.com>
References: <47e01da70809030141r2cd45f54n4407fd8fde0860d9@mail.gmail.com> <48BE7A26.1000102@comcast.net>
<9196e72b0809030522j776afff9g80764477808d3a80@mail.gmail.com>
Message-ID: <48BE83E8.6040206@comcast.net>
Popof Popof wrote:
>
> Jason, what is the name of the device that you use? Maybe this card isn't
> support with the realtek driver on FreeBSD 7 but its use another one. Mine
> is rl.
>
My mistake. I'm using 8111B not 8111C. Sorry.
re0: port 0x1000-0x10ff mem
0x90000000-0x90000fff irq 17 at device 0.0 on pci2
From popof.fpn at gmail.com Wed Sep 3 12:58:31 2008
From: popof.fpn at gmail.com (Popof Popof)
Date: Wed Sep 3 13:02:08 2008
Subject: FreeBSD7 and realtek 8111C
In-Reply-To: <47e01da70809030541k5abbad83x5660e67bc5e76a9f@mail.gmail.com>
References: <47e01da70809030141r2cd45f54n4407fd8fde0860d9@mail.gmail.com>
<48BE7A26.1000102@comcast.net>
<47e01da70809030541k5abbad83x5660e67bc5e76a9f@mail.gmail.com>
Message-ID: <9196e72b0809030558n1ba78107j95c30863f0fc0c4b@mail.gmail.com>
Have you tried this patch instead of the Realtek driver ?
Did you get the same problems that described ?
2008/9/3 Andrey Slusar
> 2008/9/3 Jason Lenthe