Re[2]: IPFW DUMMYNET: Several pipes after each other

2009-01-28 Thread KES
Здравствуйте, Ian.

May be this will be usefull for you

#1. ping -D -S 10.10.16.16 -s 1472 -i 0.01 10.0.16.1
#2. ping -S 10.10.16.17 10.0.16.1


###   ---   ###   ---   ###   ---   ###   ---   ###   ---   ###   ---   
#   111
###   ---   ###   ---   ###   ---   ###   ---   ###   ---   ###   ---   


#Put each flow to different pipes
#1 do not affect 2. Each flow goes through its own pipe.
#c add 10 pipe 1 proto icmp out xmit nfe0
#c add 11 pipe 2 proto icmp in recv nfe0
#c pipe 1 config bw 64k mask src-ip 0x gred 0.002/10/30/0.1
#c pipe 2 config bw 64k mask dst-ip 0x gred 0.002/10/30/0.1

#1:  64.000 Kbit/s0 ms   50 sl. 2 queues (64 buckets)
#  GRED w_q 0.001999 min_th 10 max_th 30 max_p 0.01
#mask: 0x00 0x/0x - 0x/0x
#BKT Prot ___Source IP/port Dest. IP/port Tot_pkt/bytes Pkt/Byte Drp
# 40 ip   10.10.16.17/0 0.0.0.0/0   10  840  00   0
# 44 ip   10.10.16.19/0 0.0.0.0/0 1143  1714500 49 73500 
1030
0
#2:  64.000 Kbit/s0 ms   50 sl. 2 queues (64 buckets)
#  GRED w_q 0.001999 min_th 10 max_th 30 max_p 0.01
#mask: 0x00 0x/0x - 0x/0x
#BKT Prot ___Source IP/port Dest. IP/port Tot_pkt/bytes Pkt/Byte Drp
#  5 ip   0.0.0.0/0 10.10.16.17/0   10  840  00   0
#  7 ip   0.0.0.0/0 10.10.16.19/0   6496000  1 1500   0




###   ---   ###   ---   ###   ---   ###   ---   ###   ---   ###   ---   
#   222
###   ---   ###   ---   ###   ---   ###   ---   ###   ---   ###   ---   


#Put each flow to the same pipe.
#1 affect 2. There are packets drop as for 1 as for 2
#c add 10 pipe 1 proto icmp out xmit nfe0
#c add 11 pipe 2 proto icmp in recv nfe0
#c pipe 1 config bw 64k mask src-ip 0x gred 0.002/10/30/0.1
#c pipe 2 config bw 64k mask dst-ip 0x gred 0.002/10/30/0.1

#1:  64.000 Kbit/s0 ms   50 sl. 1 queues (1 buckets)
#  GRED w_q 0.001999 min_th 10 max_th 30 max_p 0.01
#mask: 0x00 0x/0x - 0x/0x
#BKT Prot ___Source IP/port Dest. IP/port Tot_pkt/bytes Pkt/Byte Drp
#  0 icmp 10.10.16.17/0   10.0.16.1/0  879  1159908 49 70668 293
#2:  64.000 Kbit/s0 ms   50 sl. 1 queues (1 buckets)
#  GRED w_q 0.001999 min_th 10 max_th 30 max_p 0.01
#mask: 0x00 0x/0x - 0x/0x
#BKT Prot ___Source IP/port Dest. IP/port Tot_pkt/bytes Pkt/Byte Drp
#  0 icmp   10.0.16.1/0 10.10.16.17/0  537   706380  1 1500   0





###   ---   ###   ---   ###   ---   ###   ---   ###   ---   ###   ---   
#   333
###   ---   ###   ---   ###   ---   ###   ---   ###   ---   ###   ---   


#Put each flow to same queue.
# 1 affect 2. There is drops for 1 and 99% drop for 2.
#c add 10 queue 1 proto icmp out xmit nfe0
#c add 11 queue 2 proto icmp in recv nfe0
#c pipe 1 config bw 64k mask src-ip 0x gred 0.002/10/30/0.1
#c pipe 2 config bw 64k mask dst-ip 0x gred 0.002/10/30/0.1
#c queue 1 config pipe 1 mask src-ip 0x gred 0.002/10/30/0.1
#c queue 2 config pipe 2 mask dst-ip 0x gred 0.002/10/30/0.1

#1:  64.000 Kbit/s0 ms   50 sl. 0 queues (1 buckets)
#  GRED w_q 0.001999 min_th 10 max_th 30 max_p 0.01
#2:  64.000 Kbit/s0 ms   50 sl. 0 queues (1 buckets)
#  GRED w_q 0.001999 min_th 10 max_th 30 max_p 0.01
#q1: weight 1 pipe 1   50 sl. 1 queues (1 buckets)
#  GRED w_q 0.001999 min_th 10 max_th 30 max_p 0.01
#mask: 0x00 0x/0x - 0x/0x
#BKT Prot ___Source IP/port Dest. IP/port Tot_pkt/bytes Pkt/Byte Drp
#  0 icmp 10.10.16.19/0   10.0.16.1/0 40854 61184712  00 
40241
#q2: weight 1 pipe 2   50 sl. 1 queues (1 buckets)
#  GRED w_q 0.001999 min_th 10 max_th 30 max_p 0.01
#mask: 0x00 0x/0x - 0x/0x
#BKT Prot ___Source IP/port Dest. IP/port Tot_pkt/bytes Pkt/Byte Drp
#  0 icmp   10.0.16.1/0 10.10.16.19/0  613   909588  00   0



###   ---   ###   ---   ###   ---   ###   ---   ###   ---   ###   ---   
#   444
###   ---   ###   ---   ###   ---   ###   ---   ###   ---   ###   ---   


#!Put each flow to different queue. These queues share same pipe
#1 affect 2. There are packets drop for 1 and no drops for 2. There is only 
dellay for 2.
#c add 10 queue 1 proto icmp out xmit nfe0
#c add 11 queue 2 proto icmp in recv nfe0
#c pipe 1 config bw 64k mask src-ip 0x gred 0.002/10/30/0.1
#c pipe 2 config bw 64k mask dst-ip 0x gred 0.002/10/30/0.1
#c queue 1 config pipe 1 mask src-ip 0x gred 0.002/10/30/0.1
#c queue 2 config pipe 2 mask dst-ip 0x gred 0.002/10/30/0.1

#1:  64.000 Kbit/s0 

FINAL NOTICE: free advertisement opportunity

2009-01-28 Thread Chamber of Commerce Member Marketing

   !DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.0
   Transitional//EN
= 






   D= ear 
Innovative Business Owner,
   


   nbsp;nbsp;nbsp;nb   sp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp; 
   You are receiving this e-mail because we are opening up a
   revolutionary 
= 
business marketing and networking website
   WorldsBusinessCards.co= m. 
To cut to t= he chase we need to
   get a few hundred accredited business and their 
= cards up on
   the site to start. This will be a FREE listing for your bus   iness. 
Please do one of the following:
   


   Check 
out our Site! [1]www.WorldsBusine= ssCards.com
   
= 


   1.nbsp;nbsp;nbsp;nbsp;nbsp; 
   [DEL: Scan 
a business card (both sides)= and e-mail to us (Pre   ferred) :DEL] 


   Send= 
to:nbsp;nbsp;nbsp; =sub...@worldsbusinesscards.comnbsp;nbs= 
p;nbsp;nbsp;
   
or
   


   2.nbsp;nbsp;nbsp;nbsp;nbsp; 
= Mail 
it to
   us
   

   Mail 
to:nbsp;nbsp; Worlds Business Cards 
Inc.
   


   nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;   
nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;
   
= 
P. O. Box 811962
   


   nbsp;nbsp;= nbsp;nbsp; nbsp;   
nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbs
   p;= nbsp;nbsp;Boca 
Raton, Fl 33481
   

   Along 
with your submission, please include the= following:
   


   + 
Skype email address   + Business contact email
   + Website
   + Short 
description of= services
   + Service area (i.e. city, county, state, 
country)   


   nbsp;
   = 


   Thank 
You for your time and interest.
   


   You 
can check for you= r cards to be up soon!
   


   P= lease 
refer a friend!
   


   For 
any questions or comments please contact us!
   


   [DEL: nbsp; :DEL]
   


   = Matthew 
S
   


   Sales 
Manager
   


   mat= t...@worldsbusinesscards.com
   


   www.W= orldsBusinessCards.com
   


   nbsp;
   


   nbsp;
   


   nbsp;
   


   nbsp;   


   nbsp;
   


   nbsp;


   = /o:pnbsp;
   


   nb= sp;
   


   nbsp;
   


   = SPAN 
style=FONT-SIZE: 12pt; FONT-FAMILY: 'Times New
   Roman'= ,'serif'Worlds 
Business= Cards, Inc. is a
   corporation who specializes in business to business 
= 
and peer
   to business marketing and networking solutions. Worlds Busi= ness
   Cards, 
Inc. is= nbsp;not 
affiliated 
in 
   
any waynbsp;with 
Craiglist.org, Craiglist,= LLC or any
   other company or persons. By opening this 
email you a= ccept
   this disclaimer and cannot hold Worlds Business Cards, Inc. 
   responsible.
   = /o:p
   


References

   1. 3Dhttp:___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Unable to Fetch ktorrent-3.1.6.tar.bz2

2009-01-28 Thread Warren Liddell
I updated my ports this afternoon and ktorrent has an upgrade, but alas 
the pkg for it isnt in the distfiles list on the website yet, was this 
in error or has something gona astray ?

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


Re: KDE: What a monster!

2009-01-28 Thread Wojciech Puchar


I didn't know links had agraphics mode... time to checkt this
out!


start with -g option, of course select X11 support on port config




well i have laserjet 4 and use ghostscript+lpr. can't help you.


I still have a Laserjet 4 (my first printer), I got it as a
present, never treated it kindly (printed VERY much), and it's
still working. It's more than 15 years old now, mind this, or


that's why i bought it for ca 50$ USED, already had 86000 pages printed, 
and i printed about 35000.


All you have to do is to lubricate with oil some parts every half a year 
or so, when it starts to have problem with paper jamming.


i once printed 2500 pages at once - all i had to do was to put paper.

You can even swap toner cardridge on the fly.
There are polish-produced replacement cardridges that costs 35$ for 1 
pages.


With this printer the highest cost is a paper ;)




better, try this with a consumer class ink-pee printer. :-)


it's crap don't use it.


The LJ4000d (duplex) does automatically rotate the paper for
every \newpage if setup this way (setup in the printer itself),
so gs + lpr should work there, too. It can understand PCL and PS.
Can you tell me how exactly you combine gs and lpr? Maybe I can


in /etc/printcap

lp|lokalna::sh:if=/etc/ifhp:lp=/dev/lpt0:df=/etc/hpdf:sd=/var/spool/output/lo:lf=/var/log/lpd-errs:

your /etc/ifhp script should be a filter converting input to 
whatever your printer handles - PCL5 in my case i use ghostscript.


mine looks like this (sligtly modified example):
#!/bin/sh
#
#  ifhp - Print Ghostscript-simulated PostScript on a DesJet 500
#  Installed in /usr/local/libexec/hpif

#
#  Treat LF as CR+LF:
#
printf \033k2G || exit 2

#
#  Read first two characters of the file
#
read first_line
first_two_chars=`expr $first_line : '\(..\)'`

if [ $first_two_chars = %! ]; then
#
#  It is PostScript; use Ghostscript to scan-convert and print it
#
/usr/local/bin/gs -dSAFER -dNOPAUSE -q -sPAPERSIZE=a4 -sDEVICE=ljet4 
-sOutputFile=- - \
 exit 0

else
#
#  Plain text or HP/PCL, so just print it directly; print a form
#  at the end to eject the last page.
#
echo $first_line  cat  printf \f  exit 0
fi

exit 2




simply use text mode irc clients like epic or BitchX.


I liked the last one, but then switched to X-Chat 1 (with Gtk 1)
which was very comfortable.


you have strange definition of comfort ;)


to incorporate new mail (from /var/mail, I fetch separately
via fetchmail) disables its whole GUI for several seconds,


which is funny as every normal mail clients reads mailbox files directly.

alpine reads maildir dirs directly, and i use maildir format (through
procmail).


I don't have a mail server running on my home desktop, so I get


you don't have to use alpine. it access maildir files directly.


messages through POP3 using fetchmail.


that's good.


look at port options. i installed mplayer recently, works fine.


Is the Makefile.local mechanism still supported? Allthough I'm a
big fan of pkg_add -r, mplayer has been one of the few things I
always to compile (due to the options).


no idea all i did was to do make configure then make install


Whenever I quit some programs (confirmed for: xmms, xzgv), the


mpg123 is your friend. best ever mp3 player.


I always thought madplay is better than mpg123. But I think it


i used mpg123 on 160Mhz 486 and it used ca 50% CPU at full quality.
i don't know any player that needs less CPU power.


(I prefer my system to be english-only, with this particular
piece of software as the only exception.)


use LyX.


Hm, I prefer to code LaTeX myself, but I found LyX to be a
good tool to suggest to students who wanted to write a thesis
that doesn't look like a piece of shit. :-)


so use latex :) personally i use both.



ports/misc/mc-light


Will try this, sounds promising. I tried to change the code in MC


definitely try this. it contains only those part of mc that are actually 
useful.



different programs to get your job done.

i really prefer unix philosophy.


Another part of this philosophy is that you can combine these tools,
such as by the means of piping of temporary files, so in a chain
of processing, if something goes wrong, you can inspect every piece
in between.


indeed


it's really worth spending these few $ on windoze that case.


Here in Germany, it's more convenient NOT to pay, but still to use.
And Why should I pay you to work on my computer? :-)


that's wrong. You should pay or not use it.

You should fight software piracy. Not because it's bad, but because it's 
the best microsoft friend.

Without piracy microsoft wouldn't exist today at all.


much more.

It's called AmigaOS.


Oh my poor Amiga collection (A500, A600, A1200) cries for reviving! :-)


You have fully-working windowing system, OS, disk system, filesystem, 
microkernel etc. etc. with 512KB ROM and 100kB RAM running damn fast on 
few mips.



The Amiga was the first usable PC bringing good graphics 

Re: OCR...

2009-01-28 Thread Michel Talon

Gary Kline wrote:

 well, i'm ashamed to admit that i've put at least a dozen hours in
 trying, then re-re-retrying to OCR a imaged pdf file with as many
 open source ocr packages as i can find.

I have seen good results with tesseract which is in the ports and free.
Otherwise with OmniPage for commercial software (it runs under wine).


-- 

Michel TALON

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


Re: KDE: What a monster!

2009-01-28 Thread Polytropon
On Wed, 28 Jan 2009 10:17:06 +0100 (CET), Wojciech Puchar 
woj...@wojtek.tensor.gdynia.pl wrote:
 that's why i bought it for ca 50$ USED, already had 86000 pages printed, 
 and i printed about 35000.

On my printer, the page counter has stuck / turned over and does show
that approx. 1500 pages have been printed. Hey, I could sell it with
the description of very few pages printed, just like new. :-)



 All you have to do is to lubricate with oil some parts every half a year 
 or so, when it starts to have problem with paper jamming.

And buy some replacement for 60 Euro. Yes, I invested that much to
get this old friend running again.



 You can even swap toner cardridge on the fly.
 There are polish-produced replacement cardridges that costs 35$ for 1 
 pages.

That's not much and a good deal. Original HP toner is approx. 100 Euro,
formerly it was 120 DM.



  better, try this with a consumer class ink-pee printer. :-)
 
 it's crap don't use it.

I know... my dad thought he was clever and bought the printer I told
him NOT to buy. Some months later, he asked me if I could repair a
printer... :-)



 i used mpg123 on 160Mhz 486 and it used ca 50% CPU at full quality.
 i don't know any player that needs less CPU power.

Apropos 160MHz...

I'd like to tell a story that is completely true, and it makes me wonder
whenever I hear users of uber-powerful hardware, tons of Megs, huge
hard disks and two-fan GPUs start complaining that they have skipping
audio in their KDE / Gnome programs... I don't get this. With all the
power of today's computer, this cannot be.

When a P1 150MHz, 64 MB RAM, 3dFX GPU, 6,4 GB HDD was my first FreeBSD
system (4.x), I did ALL AT THE SAME TIME:
1. download some ISO via FTP
2. burn another ISO onto CD (Mitsumi 4x recorder)
3. compile something
4. browse the web with still responsive Opera
and finally
5. listen to NON-SKIPPING MP3s.

It's not a lie, I really DID THIS. And I have this machine here, it will
be turned into an experimental server soon.



  ports/misc/mc-light
 
  Will try this, sounds promising. I tried to change the code in MC
 
 definitely try this. it contains only those part of mc that are actually 
 useful.

I hope the mcedit with syntax highlighting belongs to that. I spent
some time getting the syntax color definitions acceptable as well as
creating new ones. In fact, I like the MC editor.



  it's really worth spending these few $ on windoze that case.
 
  Here in Germany, it's more convenient NOT to pay, but still to use.
  And Why should I pay you to work on my computer? :-)
 
 that's wrong. You should pay or not use it.

Many Windows users that I know do use a pirated copy of the good XP
or something else. No idea how they get it running without product key,
maybe cracked versions.

I never had any situation when to think: Well, I need 'Windows' now.,
and I don't think I have a system that is supported. So I'll keep clean. :-)



 You should fight software piracy. Not because it's bad, but because it's 
 the best microsoft friend.

I like this one:

http://razzor.files.wordpress.com/2007/08/open_source_communism.jpg

Software pirates of Windows get always punished because they have to
use what they pirated, that's punishment enough, as well as all the fine
viruses (virii), trojans, worms, the nice spyware, the malware, the bloat
and the time they spend re-installing everything. :-)

The downside is that everyone else gets punished, too, or what do you
think more than 90% of the e-mail transferred today is spam?



 Without piracy microsoft wouldn't exist today at all.

That's the reason for the big usage share (like market share) of
the many different Windows (and people keep complaining about many
different Linux distributions).

Funny picture on this:


http://beconfused.com/images/2007/01/the-joy-of-tech-the-many-editions-of-windows-vista.jpg

I'm always happy that Windows is NOT a topic to me.


  Democracy simulation. That's why less and less people go voting.
 
 i don't vote since 4 years.

I don't know how the voting system is in Poland, but I think not going to
vote is the wrong way.

The German voting system leaves you three choices:

1. You vote for a party, this party's votings increase by 1.

2. You don't go to vote. Your voting is associated to the party that
   already has the most votings (relatively). So not going to vote
   supports the big parties.

3. You go to vote, but give an invalid voting, either by not making
   any mark, or marking all parties, or striking them through (that's
   what I do to express that I don't want any on them).

I had the idea that the voting system should be inverted. Instead of
giving a voting to a party, parties are marked as denied. The more
a party is denied, the less good it is, because at a certain point, the
party will be disassembled or forbidden. So we would get rid of all those
self-claimed representatives very fast. :-)


-- 
Polytropon
From 

Re: OCR...

2009-01-28 Thread Reko Turja

so what is the best commercial/shareware that can read a 10pt-font
file?  (( also, when i have time to get back into actually hacking,
this [[turning imaged pdf into OCR'able ascii or 8859-1]] is giong 
to
be a first target.  any idea which team i should go with.  gOCR 
looks

best so far to me.


AABBYY Finereader - Omnipage haven't been able to catch it in several 
years either feature or qualitywise. No idea if Finereader runs under 
emulator though.  If the file is already a PDF and 72 DPI with text as 
graphics most of the damage has already been done, and it will be 
extremely hard to OCR.


-Reko 


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


Steps to upgrade from 7.0-RELEASE to 7.1-RELEASE

2009-01-28 Thread Zbigniew Szalbot
Hello,

I would like to confirm the steps required to upgrade a 7.0 system
with a custom kernel to 7.1 so many thanks for all suggestions!

1/ Back up /etc (of course backups are regularly done, but based on
what I saw on the list I think such a backup just prior to upgrade may
be quite beneficial)
# cp -pR /etc/ /etc-7.0

2/ Go for the upgrade and merge files (if any)
# freebsd-update -r 7.1-RELEASE upgrade

3/ Install the updates
# freebsd-update install

4/ Reboot with a GENERIC kernel (I do have it)
# nextboot -k GENERIC

5/ Reboot with a custom kernel
# shutdown -r now

6/ Finish the update process
# freebsd-update install

7/ Recompile the custom kernel
# cd /usr/src
# make buildkernel KERNCONF=MYKERNEL
# make installkernel KERNCONF=MYKERNEL

8/ Final reboot
# shutdown -r now

I was told earlier that 7.0 - 7.1 journey is a minor one and so I do
not need to rebuild all the ports. Is that correct?

Once again, many thanks for your advice!

-- 
Zbigniew Szalbot
www.slowo.pl
www.fairtrade.net.pl
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Steps to upgrade from 7.0-RELEASE to 7.1-RELEASE

2009-01-28 Thread Tim Judd

Zbigniew Szalbot wrote:

Hello,

I would like to confirm the steps required to upgrade a 7.0 system
with a custom kernel to 7.1 so many thanks for all suggestions!

1/ Back up /etc (of course backups are regularly done, but based on
what I saw on the list I think such a backup just prior to upgrade may
be quite beneficial)
# cp -pR /etc/ /etc-7.0

2/ Go for the upgrade and merge files (if any)
# freebsd-update -r 7.1-RELEASE upgrade

3/ Install the updates
# freebsd-update install

4/ Reboot with a GENERIC kernel (I do have it)
# nextboot -k GENERIC


Make sure freebsd-update downloads the GENERIC kernel.  it typically 
leaves it completely alone when asked to update/upgrade a system with a 
custom kernel.


Nothing really beats the CVS way.  And when I tried a 7.0 to a 7.1, it 
wanted like 30,000 updates and was taking forever.


So because of this, you might want to:
download CVS source
	make buildkernel; freebsd-update -r 7.1-RELEASE upgrade; freebsd-update 
install; make installkernel;



5/ Reboot with a custom kernel
# shutdown -r now

6/ Finish the update process
# freebsd-update install

7/ Recompile the custom kernel
# cd /usr/src
# make buildkernel KERNCONF=MYKERNEL
# make installkernel KERNCONF=MYKERNEL


And remake your custom kernel here.  Personally, I try to keep an 
updated GENERIC in /boot/kernel.GENERIC always.



8/ Final reboot
# shutdown -r now

I was told earlier that 7.0 - 7.1 journey is a minor one and so I do
not need to rebuild all the ports. Is that correct?

Once again, many thanks for your advice!



My 2 cents.

--Tim
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Looking for a Good FreeBSD and General Unix Backup System

2009-01-28 Thread Peter
Mamlookie wrote:
  I just stumbled upon BackupPC yesterday, so I amnot sure how good it can be
 because I haven't had time to test, but nothing stops you from looking at
 it, now that you are after a solution.
 Please see http://backuppc.sourceforge.net
 
 PS: If you do test it out, please come back and tell us what you feel about
 it. I personally will appreciate the feedback, even if to my personal
 address.
 


Backuppc is harder to configure, but allowed easier access to file
version, even via web interface - can be useful if you want to give
access to the backups to your customers.

I personally use rsnapshot. Simply rocks :)

Peter Zyumbilev
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Is there a trick to boot 7.1 install CD with USB keyboard?

2009-01-28 Thread Morgan Wesström
Dell OptiPlex 745 - no PS/2 connectors.

USB keyboard works on boot menu but during kernel initialization I see this:

usb1: host controller halted
uhub1: device problem (IOERROR), disabling port 2

Keyboard is non-working when SYSINSTALL starts. Upgraded to latest BIOS
and error disappears but keyboard is still non-working in SYSINSTALL.
I've tried both front and rear USB ports. I've googled extensively but
can't find any workaround or trick to make this work. Solution seems to
be 8.0-CURRENT or am I missing something vital here? I was hoping for
some command to issue at the boot prompt...

Regards
Morgan
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Steps to upgrade from 7.0-RELEASE to 7.1-RELEASE

2009-01-28 Thread RW
On Wed, 28 Jan 2009 05:07:46 -0700
Tim Judd taj...@gmail.com wrote:


 Nothing really beats the CVS way.  And when I tried a 7.0 to a 7.1,
 it wanted like 30,000 updates and was taking forever.

It seems to me that most people that come to this list with base-system
update problems are using  freebsd-update.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Unable to Fetch ktorrent-3.1.6.tar.bz2

2009-01-28 Thread RW
On Wed, 28 Jan 2009 18:53:39 +1000
Warren Liddell shin...@maydias.com wrote:

 I updated my ports this afternoon and ktorrent has an upgrade, but
 alas the pkg for it isnt in the distfiles list on the website yet,
 was this in error or has something gona astray ?

This question doesn't make much sense, are you looking for a package
for 7-stable or a distfile or what?.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Looking for a Good FreeBSD and General Unix Backup System

2009-01-28 Thread B. Cook

Mamlookie wrote, On 1/28/2009 1:29 AM:



 I just stumbled upon BackupPC yesterday, so I amnot sure how good it can be
because I haven't had time to test, but nothing stops you from looking at
it, now that you are after a solution.
Please see http://backuppc.sourceforge.net

PS: If you do test it out, please come back and tell us what you feel about
it. I personally will appreciate the feedback, even if to my personal
address.



I use BackupPC to backup many machines at our school and a few remote 
sites I admin during the 'off hours'...


All FreeBSD and a few Linux servers, all over sshd/rsync; it can also 
pull data from win32 machines as well, but I don't do that.


I have ours setup with a backuppc 'server' running from thttpd on port 2359.

Keeps all the apache non-sense from messing up the install.. (imho) and 
gives a platform independent answer if you run it on something else.. 
and doesn't mess up any current webserver you may have installed.


It needs perl and a few modules (all of which are in ports) and runs 
with very minimal intervention once its done.


Highly configurable, sends emails when there are problems, has many 
different ways to connect to remote machines.. etc..


if you are interested in hearing more about it let me know..

   General Server Information
 * The servers PID is 36529, on host storage.phs.pcsd, version 
3.1.0, started at 1/15 14:34.

 * This status was generated at 1/28 08:41.
 * The configuration was last loaded at 1/25 13:00.
 * PCs will be next queued at 1/28 09:00.
 * Other info:
  * 0 pending backup requests from last scheduled wakeup,
  * 0 pending user backup requests,
  * 0 pending command requests,
  * Pool is 102.00GB comprising 1152712 files and 4369 
directories (as of 1/28 01:33),

  * Pool hashing gives 385 repeated files with longest chain 34,
  * Nightly cleanup removed 4700 files of size 0.05GB (around 
1/28 01:33),
  * Pool file system was recently at 37% (1/28 08:32), today's 
max is 37% (1/28 01:00) and yesterday's max was 37%.



/dev/mirror/gm0s1h330G113G190G37%/exports


This is backing up about 9/10 servers atm.

does incrementals once a day, and fulls once a week.  Keeps the last 10 
fulls, and at least 6 incrementals..  (all my settings)


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


Re: Looking for a Good FreeBSD and General Unix Backup System

2009-01-28 Thread Julien Cigar
If you're looking for something serious (I mean with
incremental/differential/full backups, retension periods, pools, multi
platform, tape/file/dvd support, ...) I highly suggest Bacula
(http://www.bacula.org).

I use it successfully at work since two years (we used Amanda before) to
backup 10+ machines (FreeBSD and Linux mainly)

best regards,
Julien

On Tue, 2009-01-27 at 16:30 -0600, Martin McCormick wrote:
   Several months ago, I started using dar to backup a
 number of FreeBSD and Linux systems to one FreeBSD box. It
 worked fine once one got the syntax of the remote commands
 working, but then it all died when I moved it to a new
 FreeBSD6.3 system. 
 
   If I can't figure out what is wrong or whether it is
 worth fixing, I am going to have to find some other archiver so
 we can get good backups and trust them to be easily restored.
 
   What we plan to do is backup a bunch of Unix systems to
 one FreeBSD box and then use a commercial package to back that
 box up to an enterprise-wide system we use. The archiver we need
 must be able to make 1 full backup of each system like tar and
 then incrementals until we are ready for another full backup.
 
   Any suggestions as to what is best? Dar seemed to be
 okay until the incrementals would hang each time with some error
 messages about the format version being too high which is bogus
 because we are using the same version for all the effected
 systems.
 
   The archive files should use tar or some other common
 storage method so we could unpack an archive from a Linux system
 in to a FreeBSD directory or vice versa.
 
   Any backup packages using tar would be fine as long as
 they can do incremental backups and use ssh as the transport.
 
   Any ideas are appreciated.
 
   Thank you.
 
 Martin McCormick WB5AGZ  Stillwater, OK 
 Systems Engineer
 OSU Information Technology Department Telecommunications Services Group
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-unsubscr...@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: jci...@ulb.ac.be
@biobel: http://biobel.biodiversity.be/person/show/471
Tel : 02 650 57 52

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


Re: port openoffice.org-devl (3.1.20081224) installs fine but does not run

2009-01-28 Thread Matthias Apitz
El día Saturday, January 24, 2009 a las 03:25:25PM +0100, Matthias Apitz 
escribió:

 El día Saturday, January 24, 2009 a las 10:13:32AM -0200, Sergio de Almeida 
 Lenzi escribió:
 
  Hello...
  
  
  It is because the installation (the makefile is wrong, it install the
  binary /usr/local/openoffice.org/openoffice.org3/program/soffice
  as a copy of soffice.bin)
  it must install it as a shell script that fixes the loader path.
  here is the shell script (named soffice).
  copy over the binary soffice and make it executable
  here it runs fine...   FreeBSD amd64.
 
 Hola Sérgio,
 
 ¡Obrigado!
 
 I will give it a try. The e-mail transport has mangeled a bit with your
 shell script but I have seen two identicals ones in the port:
 
 work/DEV300_m38/desktop/scripts/soffice.sh
 work/DEV300_m38/desktop/unxfbsdi.pro/misc/soffice.sh
 
 and I will test it.

This really helped:

# mv /usr/local/openoffice.org-DEV300_m38/openoffice.org3/program/soffice 
/usr/local/openoffice.org-DEV300_m38/openoffice.org3/program/soffice.orig
# cp work/DEV300_m38/desktop/unxfbsdi.pro/misc/soffice.sh 
/usr/local/openoffice.org-DEV300_m38/openoffice.org3/program/soffice
# chmod 0755 
/usr/local/openoffice.org-DEV300_m38/openoffice.org3/program/soffice

Thx

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 matthias.ap...@oclc.org - w http://www.oclc.org/ http://www.UnixArea.de/
b http://gurucubano.blogspot.com/

SPAMer of the year: Subject: Alle Software ist Deutsche Sprachen
From: -40 % die Neujahrsaktion gabriellekel...@grungecafe.com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Apache Reverse Proxy with Memory Cache

2009-01-28 Thread Cagri Ersen
Hi all,

I installed an apache22 server (with mod_proxy, mod_cache and
mod_mem_cache) on FreeBSD 7.0 for reverse proxy that using static
contents of a web site.
Now it's seems work fine; but i didn't found a way to looking mem
cache status. Ofc i can get some information about that with using
native tools (like top, systat, vmstat). But what if i need to looking
for the cached objects in the memory ?

Is there any way to getting list of that cached objects ?

Best Regards.

-- 
Cagri Ersen
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: coretemp for AMD?

2009-01-28 Thread Mike Clarke
On Sunday 25 January 2009, Tore Lund wrote:

 Mike Clarke wrote:
  But I get sensible looking results for my Athlon 64 X2 4850e with
  the following command:
 
  sysctl hw.acpi.thermal.tz0.temperature

 For some reason it works on your 4850e.  But for some of us this
 command does not work.  It never reports anything but 40 C on my
 Athlon 64 X2 6000+.  sysutils/k8temp, however, reports 20 C /28 C.

And on Sunday 25 January 2009, Chris Whitehouse wrote:

 It works for me, I ran it and sysctl hw.acpi.thermal.tz0.temperature
 every 2 seconds in a while loop and cpu temperatures follow cpu
 activity closely and change in 1deg steps between about 25deg and
 42deg. When I rebooted and checked temperature in the BIOS it was
 pretty much the same as what k8temp was saying just previously.
 hw.acpi.thermal.tz0.temperature is fixed on 40deg even with high cpu
 activity.

 Maybe your processor is not supported?

Very odd. The processor is an Athlon 64 X2 4850e. Being one of the newer 
energy efficient 45 watt models I suppose there might be a difference 
in the temperature sensor. It might also be an issue with the 
motherboard (Foxconn FC-6150M2MA-KRS2H). After I got the motherboard I 
needed to upgrade the BIOS in an attempt to fix an unrelated problem. 
Prior to the update even the BIOS reported silly high temperatures and 
I remember FreeBSD reporting a constant 40C but I don't remember 
whether this was from sysctl, k8temp or mbmon.

I don't overclock the system so after satisfying myself that it doesn't 
have any tendency to overheat I no longer have much need to monitor the 
CPU temperature so I think the way my system reports temperatures will 
just remain as one of life's little mysteries.

-- 
Mike Clarke
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: x11/libXrandr, x11-toolkits/libXmu, graphics/jasper fails to build

2009-01-28 Thread Lowell Gilbert
Da Rock rock_on_the_...@comcen.com.au writes:

 On Tue, 2009-01-27 at 12:47 -0200, Sergio de Almeida Lenzi wrote:
 Em Ter, 2009-01-27 às 09:27 -0500, Tsu-Fan Cheng escreveu:
 
  Hi,
  have you solved the problem yet? I also have libXmu failed to
  upgrade due to libxcb-xlib.la. Thanks!!
 
 I removed every instance of libxb-xlib.la from /usr/local/lib/*.la
 than it all works again
 
 a shell script like:
 ==
 #!/bin/sh
 
 lista=`find /usr/local/lib  -type f -name *.la`
 
 if [ -n $lista ]
 then
  for i in $lista
  do
  if grep $1 $i  /dev/null
  then
  sed -i  s|/usr/local/lib/$1|| $lista
  fi
  done
 fi
 
 supose you name this shell -  XX
 than.
 sh XX libxcb-xlib.la 
 will do the trick
 
 after that, you will be able to build things again.

 I've been talking to the porters and that would not be the recommended
 way of fixing this. Running portupgrade -a -rf libxcb resolves the
 issue.

That probably isn't the exactly recommended form either. 
-a and -r don't make sense together; the -r will be ignored, and
you will end up rebuilding *everything*.

-- 
Lowell Gilbert, embedded/networking software engineer, Boston area
http://be-well.ilk.org/~lowell/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re[2]: IPFW DUMMYNET: Several pipes after each other

2009-01-28 Thread Ian Smith
On Wed, 28 Jan 2009, KES wrote:

  , Ian.
  
  May be this will be usefull for you

Yes, but I need to read it more times :)  Nicely answers the question 
about stats per flow/queue anyway, not too hard to parse for logging.

  #1. ping -D -S 10.10.16.16 -s 1472 -i 0.01 10.0.16.1
  #2. ping -S 10.10.16.17 10.0.16.1

Results suggest that #1 was -S 10.10.16.19 ?  A script running the same 
number of #2 before killing #1 (or such) would make comparisons between 
different runs easier to follow maybe?

Thanks, lots of useful info; hoping to try some weighted queueing soon.

cheers, Ian
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: x11/libXrandr, x11-toolkits/libXmu, graphics/jasper fails to build

2009-01-28 Thread Tsu-Fan Cheng
yah, i think that one thing i didn't do is portupgrade -rf libxcb,
before upgrading xorg-* stuff.

its a hell of a job. thats all i got to say...


TFC

On Wed, Jan 28, 2009 at 10:40 AM, Lowell Gilbert
freebsd-questions-lo...@be-well.ilk.org wrote:
 Da Rock rock_on_the_...@comcen.com.au writes:

 On Tue, 2009-01-27 at 12:47 -0200, Sergio de Almeida Lenzi wrote:
 Em Ter, 2009-01-27 às 09:27 -0500, Tsu-Fan Cheng escreveu:

  Hi,
  have you solved the problem yet? I also have libXmu failed to
  upgrade due to libxcb-xlib.la. Thanks!!

 I removed every instance of libxb-xlib.la from /usr/local/lib/*.la
 than it all works again

 a shell script like:
 ==
 #!/bin/sh

 lista=`find /usr/local/lib  -type f -name *.la`

 if [ -n $lista ]
 then
  for i in $lista
  do
  if grep $1 $i  /dev/null
  then
  sed -i  s|/usr/local/lib/$1|| $lista
  fi
  done
 fi
 
 supose you name this shell -  XX
 than.
 sh XX libxcb-xlib.la
 will do the trick

 after that, you will be able to build things again.

 I've been talking to the porters and that would not be the recommended
 way of fixing this. Running portupgrade -a -rf libxcb resolves the
 issue.

 That probably isn't the exactly recommended form either.
 -a and -r don't make sense together; the -r will be ignored, and
 you will end up rebuilding *everything*.

 --
 Lowell Gilbert, embedded/networking software engineer, Boston area
http://be-well.ilk.org/~lowell/
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org

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


7.1R port www/webkit-gtk2 installs fine but fails to pkg_create

2009-01-28 Thread Matthias Apitz

Hello,

the pkg_create of the port www/webkit-gtk2 (webkit-gtk2-1.0.1_4) fails
with:

# pkg_create -Rnb webkit-gtk2-1.0.1_4
tar: lib/libwebkit-1.0.a: Cannot stat: No such file or directory
tar: Error exit delayed from previous errors.
pkg_create: make_dist: tar command failed with code 256

Thx

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 matthias.ap...@oclc.org - w http://www.oclc.org/ http://www.UnixArea.de/
b http://gurucubano.blogspot.com/

SPAMer of the year: Subject: Alle Software ist Deutsche Sprachen
From: -40 % die Neujahrsaktion gabriellekel...@grungecafe.com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Cannot build dovecot with bdb support

2009-01-28 Thread Nicolas Letellier
Hello.

I use FreeBSD-6.3. I want to install dovecot port with dbd support. However, 
that's impossible. See my error:

hecking for pam/pam_appl.h... no
checking for pam_setcred in -lpam... yes
checking for auth_userokay... no
checking db_env_create in -ldb... no
configure: error: Can't build with db support: libdb not found
===  Script configure failed unexpectedly.
Please report the problem to y...@coolrat.org [maintainer] and attach the
/usr/ports/mail/dovecot/work/dovecot-1.1.8/config.log including the output
of the failure of your make command. Also, it might be a good idea to provide
an overview of all packages installed on your system (e.g. an `ls
/var/db/pkg`).
*** Error code 1

Stop in /usr/ports/mail/dovecot.
*** Error code 1

Stop in /usr/ports/mail/dovecot.
** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portinstall.60329.0 
env make
** Fix the problem and try again.
** Listing the failed packages (-:ignored / *:skipped / !:failed)
! mail/dovecot  (configure error)

At the top of the make, I see dovecot-1.1.8 depends on shared library: 
db41.1 - found. So, I have some db files installed...

When I remove dbd support, it works. I wrote to the maintainer. But, 
temporarly, I want to solve this problem and add bdb support to my dovecot. Do 
you have a solution? Why I havn't got libdb?

Thanks.

Best regards,

-- 
 -Nicolas.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


RE: Is there a trick to boot 7.1 install CD with USB keyboard?

2009-01-28 Thread Graeme Dargie


-Original Message-
From: Morgan Wesström [mailto:freebsd-questi...@pp.dyndns.biz] 
Sent: 28 January 2009 13:27
To: FreeBSD Questions
Subject: Is there a trick to boot 7.1 install CD with USB keyboard?

Dell OptiPlex 745 - no PS/2 connectors.

USB keyboard works on boot menu but during kernel initialization I see this:

usb1: host controller halted
uhub1: device problem (IOERROR), disabling port 2

Keyboard is non-working when SYSINSTALL starts. Upgraded to latest BIOS
and error disappears but keyboard is still non-working in SYSINSTALL.
I've tried both front and rear USB ports. I've googled extensively but
can't find any workaround or trick to make this work. Solution seems to
be 8.0-CURRENT or am I missing something vital here? I was hoping for
some command to issue at the boot prompt...

Regards
Morgan


Have you made sure you have USB keyboard support enabled in the bios and you 
may also need to enable USB legacy support.

Regards

Graeme
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org

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


Re: Cannot build dovecot with bdb support

2009-01-28 Thread Mel
On Wednesday 28 January 2009 07:47:53 Nicolas Letellier wrote:
 Hello.

 I use FreeBSD-6.3. I want to install dovecot port with dbd support.
 However, that's impossible. See my error:

 hecking for pam/pam_appl.h... no
 checking for pam_setcred in -lpam... yes
 checking for auth_userokay... no
 checking db_env_create in -ldb... no
 configure: error: Can't build with db support: libdb not found
 ===  Script configure failed unexpectedly.
 Please report the problem to y...@coolrat.org [maintainer] and attach the
 /usr/ports/mail/dovecot/work/dovecot-1.1.8/config.log including the

The answer is in there. Works for me with db46. Could you show the part of 
config.log where it says it fails?
Search for checking db_env_create in -ldb and anything below that will be 
helpful.

-- 
Mel

Problem with today's modular software: they start with the modules
and never get to the software part.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Looking for a Good FreeBSD and General Unix Backup System

2009-01-28 Thread Wojciech Puchar

If you're looking for something serious (I mean with
incremental/differential/full backups, retension periods, pools, multi
platform, tape/file/dvd support, ...) I highly suggest Bacula
(http://www.bacula.org).


how you define serious?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Unable to Fetch ktorrent-3.1.6.tar.bz2

2009-01-28 Thread Mel
On Wednesday 28 January 2009 04:49:11 RW wrote:
 On Wed, 28 Jan 2009 18:53:39 +1000

 Warren Liddell shin...@maydias.com wrote:
  I updated my ports this afternoon and ktorrent has an upgrade, but
  alas the pkg for it isnt in the distfiles list on the website yet,
  was this in error or has something gona astray ?

 This question doesn't make much sense, are you looking for a package
 for 7-stable or a distfile or what?.

Makes perfect sense, tar.bz2 != package:

# make -C net-p2p/ktorrent fetch
= ktorrent-3.1.6.tar.bz2 doesn't seem to exist in /var/distfiles/.
= Attempting to fetch from http://ktorrent.org/downloads/3.1.6/.
fetch: http://ktorrent.org/downloads/3.1.6/ktorrent-3.1.6.tar.bz2: Not Found
= Attempting to fetch from 
ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/.
fetch: 
ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/ktorrent-3.1.6.tar.bz2: 
File unavailable (e.g., file not found, no access)
= Couldn't fetch it - please try to retrieve this
= port manually into /var/distfiles/ and try again.
*** Error code 1

Either wait for portmaintainer to fix it, or apply patch below and type:
make -C /usr/ports/net-p2p/ktorrent makesum
Then build as usual.

Of course, only do that if you're in a hurry. Better to wait till maintainer 
has figured out why the tarball was rerolled and if it's safe.
-- 
Mel

Index: Makefile
===
RCS file: /home/ncvs/ports/net-p2p/ktorrent/Makefile,v
retrieving revision 1.32
diff -u -r1.32 Makefile
--- Makefile25 Jan 2009 09:12:25 -  1.32
+++ Makefile28 Jan 2009 18:32:37 -
@@ -7,6 +7,7 @@

 PORTNAME=  ktorrent
 PORTVERSION=   3.1.6
+DISTVERSION=   ${PORTVERSION}-4
 CATEGORIES=net-p2p kde
 MASTER_SITES=  http://ktorrent.org/downloads/${PORTVERSION}/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


exFAT File System Format

2009-01-28 Thread Mario Lobo

   Hi guys;
   News:
   http://bhandler.spaces.live.com/Blog/cns!70F64BC910C9F7F3!5216.entry?w
   a=wsignin1.0sa=911422520
   Any chance of this being supported on FBSD so we can dump ntfs for
   good?
   Thanks,
   Mario
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org

Re: FreeBSD 7.0 reboots on Dell 2950

2009-01-28 Thread Peter

  
 Well it is possible - but what information it can give me?
 Could you explain - just to know if this 2 hours is acceptable for this.

Check DELL website for more info - but generally tests the harwrare
componnents..

Peter
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Apache Reverse Proxy with Memory Cache

2009-01-28 Thread Peter
maybe Nginx and lighttpd are better option here ?
Peter

Cagri Ersen wrote:
 Hi all,
 
 I installed an apache22 server (with mod_proxy, mod_cache and
 mod_mem_cache) on FreeBSD 7.0 for reverse proxy that using static
 contents of a web site.
 Now it's seems work fine; but i didn't found a way to looking mem
 cache status. Ofc i can get some information about that with using
 native tools (like top, systat, vmstat). But what if i need to looking
 for the cached objects in the memory ?
 
 Is there any way to getting list of that cached objects ?
 
 Best Regards.
 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Question about install of Fortran compiler

2009-01-28 Thread Bruce Cran
On Tue, 27 Jan 2009 16:30:11 -0500
V. M. Tame-Reyes mt...@instec.cu wrote:

 
 Hello FreeBSD community,
 
 I had a friend download all the files in freeBSD ports site
 (the official one) so i have a large collection of .tbz files
 but i don't seem to be able to find a correct fortran 77
 compiler, i already installed c compiler, but calling g77
 wouldn't work.
 
 Any help anyone could provide ?

With the import of GCC 4.2 the Fortran compiler was removed from the
base system a few versions ago.  There are several in the ports system
you can install instead.

-- 
Bruce Cran
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: OCR...

2009-01-28 Thread Gary Kline
On Wed, Jan 28, 2009 at 12:08:55PM +0200, Reko Turja wrote:
 so what is the best commercial/shareware that can read a 10pt-font
 file?  (( also, when i have time to get back into actually hacking,
 this [[turning imaged pdf into OCR'able ascii or 8859-1]] is giong 
 to
 be a first target.  any idea which team i should go with.  gOCR 
 looks
 best so far to me.
 
 AABBYY Finereader - Omnipage haven't been able to catch it in several 
 years either feature or qualitywise. No idea if Finereader runs under 
 emulator though.  If the file is already a PDF and 72 DPI with text as 
 graphics most of the damage has already been done, and it will be 
 extremely hard to OCR.
 

well, damage is probably done.  how can i check the resolution?
i tried to increase it by creating huge ppm and tif files, but
then that's really absurd since there can only be just so much
data per image.  i _could_ try xv and jpeg and smoothing image to
refine, but too much hassle.  

(i used gocr -m 130 and saw the glyphs it (presumably) saw.
seemed pretty much okay to my eyes.  but then i'm not a computer
program.  [MAYBE :)]

gary



 -Reko 
 

-- 
 Gary Kline  kl...@thought.org  http://www.thought.org  Public Service Unix
http://jottings.thought.org   http://transfinite.thought.org
The 2.23a release of Jottings: http://jottings.thought.org/index.php

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


Re: OCR...

2009-01-28 Thread Andrew Gould
On Wed, Jan 28, 2009 at 1:22 PM, Gary Kline kl...@thought.org wrote:

 On Wed, Jan 28, 2009 at 12:08:55PM +0200, Reko Turja wrote:
  so what is the best commercial/shareware that can read a 10pt-font
  file?  (( also, when i have time to get back into actually hacking,
  this [[turning imaged pdf into OCR'able ascii or 8859-1]] is giong
  to
  be a first target.  any idea which team i should go with.  gOCR
  looks
  best so far to me.
 
  AABBYY Finereader - Omnipage haven't been able to catch it in several
  years either feature or qualitywise. No idea if Finereader runs under
  emulator though.  If the file is already a PDF and 72 DPI with text as
  graphics most of the damage has already been done, and it will be
  extremely hard to OCR.
 

well, damage is probably done.  how can i check the resolution?
i tried to increase it by creating huge ppm and tif files, but
then that's really absurd since there can only be just so much
data per image.  i _could_ try xv and jpeg and smoothing image to
refine, but too much hassle.

(i used gocr -m 130 and saw the glyphs it (presumably) saw.
seemed pretty much okay to my eyes.  but then i'm not a computer
program.  [MAYBE :)]

gary



  -Reko
 

 --
  Gary Kline  kl...@thought.org  http://www.thought.org  Public Service
 Unix
http://jottings.thought.org   http://transfinite.thought.org
The 2.23a release of Jottings: http://jottings.thought.org/index.php


At one point in time, the Abby folks were offering a back-end that ran on
FreeBSD.  I tried to get the free download; but it never happened.  (They
misplaced my signed, faxed license agreement and I finally got tired of the
back-and-forth prerequisite communication.)

Abby also no longer supports Mac OS X.  I use an old version and like it a
lot.

Andrew
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Quantum tape drive

2009-01-28 Thread Jaime
I am trying to replace an older DLT tape drive (which doesn't like to
eject tapes any more) with a new Quantum DLT-4 drive.  Its connected
by internal SCSI and seems to be set up right.  But after DAYS of
running a tar command, its still not done backing up 60GB.  The old
drive could backup 70-80GB in about 7 hours.

I changed my backup script to include a -v flag in the tar command,
and it now lists hundreds or possibly thousands of files.  But it
never even gets to /home before I killed the process (after 9 hours in
this case).

Any suggestions?

If it helps, the backup script and output from camcontrol follows.
However, this script is the same one that worked on the other drive.
A quick test with a Knoppix disk suggested that the backups ran faster
in Linux.  Not positive of this, but it might be true.

$ cat /etc/periodic/daily/910.backups
#!/bin/sh
#

echo
echo Tape archives:

dow=`/bin/date +%w`
if test $dow -gt 1;
then
echo  Beginning backup.
/usr/bin/uptime
/usr/bin/tar -cvpX /usr/local/etc/backups/skiplist-relative.txt -f
/dev/sa0 -C / .
/usr/bin/uptime
else
echo  Today is a weekend.  Skipping backups.
fi


$ camcontrol devlist
SEAGATE ST373207LW 0004  at scbus0 target 0 lun 0 (pass0)
SEAGATE ST373207LW 0004  at scbus0 target 1 lun 0 (pass1)
SEAGATE ST373207LW 0004  at scbus0 target 2 lun 0 (pass2)
LaCie BigDisk Extreme+ 3.AA  at scbus1 target 0 lun 0 (da0,pass3)
QUANTUM DLT-V4 0A00  at scbus2 target 4 lun 0 (sa0,pass4)

Any help is greatly appreciated.

Thanks in advance,
Jaime
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Quantum tape drive

2009-01-28 Thread Dan Nelson

In the last episode (Jan 28), Jaime said:
 I am trying to replace an older DLT tape drive (which doesn't like to
 eject tapes any more) with a new Quantum DLT-4 drive.  Its connected
 by internal SCSI and seems to be set up right.  But after DAYS of
 running a tar command, its still not done backing up 60GB.  The old
 drive could backup 70-80GB in about 7 hours.
 
 Any suggestions?
 
   /usr/bin/tar -cvpX /usr/local/etc/backups/skiplist-relative.txt -f 
 /dev/sa0 -C / .

If nothing else, I suggest bumping up your blocksize.  The default for tar
(10k) is pretty small for modern tape drives.  Try -b 128 (for a 64k block
size).  Another optimization would be to put a buffering program in between
tar and your tape drive to decouple disk reads from tape writes.  misc/team,
misc/buffer, and misc/cstream in ports are good for this.

-- 
Dan Nelson
dnel...@allantgroup.com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: FreeBSD 7.0 reboots on Dell 2950

2009-01-28 Thread Kirk Strauser
On Tuesday 27 January 2009 10:32:57 Mel wrote:

 Even though 7.1 has bugfixes, this kind of guesswork causes a lot of
 downtime for OP without any certainty that things will be any better.

If by lots you mean 2 minutes for a reboot, I'd be inclined to agree.
-- 
Kirk Strauser
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Is there a trick to boot 7.1 install CD with USB keyboard?

2009-01-28 Thread Morgan Wesström
 -Original Message-
 From: Morgan Wesström [mailto:freebsd-questi...@pp.dyndns.biz] 
 Sent: 28 January 2009 13:27
 To: FreeBSD Questions
 Subject: Is there a trick to boot 7.1 install CD with USB keyboard?
 
 Dell OptiPlex 745 - no PS/2 connectors.
 
 USB keyboard works on boot menu but during kernel initialization I see this:
 
 usb1: host controller halted
 uhub1: device problem (IOERROR), disabling port 2
 
snip
 
 Have you made sure you have USB keyboard support enabled in the bios and you 
 may also need to enable USB legacy support.
 
 Regards
 
 Graeme


Thanks Graeme. None of those options exist in the BIOS of this
particular machine. I assume it's always enabled due to its lack of PS/2
connectors.
At least one Google hit mentions Dell Optiplex 745 specifically not
working while model 755 boots FreeBSD without problems. Disabling atkbd
via hints (as suggested by other posts) doesn't change the behaviour
either unfortunately.
This isn't extremely important to me. I simply wondered if I had missed
some vital information regarding the use of USB keyboards.

/Morgan
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re[3]: IPFW DUMMYNET: Several pipes after each other

2009-01-28 Thread KES
Здравствуйте, Ian.

Вы писали 28 января 2009 г., 18:01:45:

IS On Wed, 28 Jan 2009, KES wrote:

  , Ian.
  
  May be this will be usefull for you

IS Yes, but I need to read it more times :)  Nicely answers the question 
IS about stats per flow/queue anyway, not too hard to parse for logging.

  #1. ping -D -S 10.10.16.16 -s 1472 -i 0.01 10.0.16.1
  #2. ping -S 10.10.16.17 10.0.16.1

IS Results suggest that #1 was -S 10.10.16.19 ?  A script running the same
IS number of #2 before killing #1 (or such) would make comparisons between
IS different runs easier to follow maybe?

IS Thanks, lots of useful info; hoping to try some weighted queueing soon.

Yes, you are right -S 10.10.16.19.
both ping are run simulteneously

I have experimented with pipes after pipes. With dummy it is possible
to do next: put two flows to pipe 512Kbit, pipe will be devided by
equal parts: 256. in case the only one flow is active it will be 320Kbit

pipe 1 bw 512kbit
queue 1 pipe 1
pipe 2 bw 320kbit

ipfw add 1 pipe 2 all from any to any
ipfw add 2 queue 1 all from any to any
First of all packets will be piped to 320Kbit/s then they will be
queued to 512Kbit. Because of flow of 320 is less then 512kbit packets
will leave queue with speed of 320. In case two flows both will be
piped to 320 kbit in sum this will be 640kbit, Because of queue bw is
512kbit some packets will be droped. This will down each flow speed to 256
NOTICE:
A) you must create its own pipe for each flow so you must use mask 0x.
I use:  pipe 1 config bw 512k mask src-ip 0x gred 0.002/10/30/0.1
pipe 2 config bw 320k mask src-ip 0x gred 0.002/10/30/0.1
B) you must put all flows to one queue so they share available bw so
you must use mask 0x
I use: queue 1 config pipe 1 mask src-ip 0x gred 0.002/10/30/0.1

keep in mind IPFW.man:
 In practice, pipes can be used to set hard limits to the bandwidth that a
 flow can use, whereas queues can be used to determine how different flow
 share the available bandwidth.

So when you give user some bandwidth to user you must put its flow to pipe
If users will share some bandwidth then put their flows to queue



Suggestion: What queue inherit from pipe?
It seems queue inherit only bandwidth parameter from pipe. If so then
it is boring to create useless pipe to inherit only bw parameter. It
will be handy directly write this parameter in queue and remove
DEPRECATED (I think so) 'pipe' opts from queue. In any case this is
black box how pipe is coupled with queue. This is unclear section in
man.



Also I notice next BUG:
 There are two modes of dummynet operation: normal and fast.  Normal mode
 tries to emulate real link: dummynet scheduler ensures packet will not
 leave pipe faster than it would be on real link with given bandwidth.
 Fast mode allows certain packets to bypass dummynet scheduler (if packet
 flow does not exceed pipe's bandwidth). Thus fast mode requires less cpu
 cycles per packet (in average) but packet latency can be significantly
 lower comparing to real link with same bandwidth. Default is normal mode,
 fast mode can be enabled by setting net.inet.ip.dummynet.io_fast
 sysctl(8) variable to non-zero value.


kes# ping 10.10.16.18
PING 10.10.16.18 (10.10.16.18): 56 data bytes
64 bytes from 10.10.16.18: icmp_seq=0 ttl=128 time=18.441 ms
64 bytes from 10.10.16.18: icmp_seq=1 ttl=128 time=11.501 ms
64 bytes from 10.10.16.18: icmp_seq=2 ttl=128 time=11.516 ms
64 bytes from 10.10.16.18: icmp_seq=3 ttl=128 time=11.557 ms
64 bytes from 10.10.16.18: icmp_seq=4 ttl=128 time=11.534 ms
^C
--- 10.10.16.18 ping statistics ---
5 packets transmitted, 5 packets received, 0.0% packet loss
round-trip min/avg/max/stddev = 11.501/12.910/18.441/2.766 ms
#ipfw pipe 1 show
1:  65.536 Kbit/s0 ms5 sl. 12 queues (64 buckets)
  GRED w_q 0.001999 min_th 10 max_th 30 max_p 0.01
mask: 0x00 0x/0x - 0x/0x
BKT Prot ___Source IP/port Dest. IP/port Tot_pkt/bytes Pkt/Byte Drp
kes# ipfw add 1 pipe 1 all from 10.10.16.1 to 10.10.16.18
1 pipe 1 ip from 10.10.16.1 to 10.10.16.18
kes# ping -s 1472 10.10.16.18
PING 10.10.16.18 (10.10.16.18): 1472 data bytes
1480 bytes from 10.10.16.18: icmp_seq=0 ttl=128 time=192.354 ms
1480 bytes from 10.10.16.18: icmp_seq=1 ttl=128 time=184.393 ms
1480 bytes from 10.10.16.18: icmp_seq=2 ttl=128 time=184.614 ms
1480 bytes from 10.10.16.18: icmp_seq=3 ttl=128 time=184.217 ms
1480 bytes from 10.10.16.18: icmp_seq=4 ttl=128 time=184.402 ms
^C
--- 10.10.16.18 ping statistics ---
5 packets transmitted, 5 packets received, 0.0% packet loss
round-trip min/avg/max/stddev = 184.217/185.996/192.354/3.181 ms

As I describe earlier:
bw capability of this pipe is 8Kbytes/sec. It means 8Kb will be
trasfered with timeout of 1sec.
1500bytes will be trasfered with timeout: 1500/8000 ~0.187sec
You can see time=184 in ping result. All is Ok.

Now when I:
kes# sysctl 

Re: Quantum tape drive

2009-01-28 Thread Jaime
On Wed, Jan 28, 2009 at 3:23 PM, Dan Nelson dnel...@allantgroup.com wrote:

 In the last episode (Jan 28), Jaime said:
   /usr/bin/tar -cvpX /usr/local/etc/backups/skiplist-relative.txt -f 
 /dev/sa0 -C / .

 If nothing else, I suggest bumping up your blocksize.  The default for tar
 (10k) is pretty small for modern tape drives.  Try -b 128 (for a 64k block
 size).  Another optimization would be to put a buffering program in between
 tar and your tape drive to decouple disk reads from tape writes.  misc/team,
 misc/buffer, and misc/cstream in ports are good for this.

Thanks.  Would this decrease the ability of other Unixes being able to
read the tape?  For example, using pax (which can read tar archives)
or GNU's tar?

Sadly, I forgot to mention something in my last message.  Sorry.

When reading from the tape using tar (bsdtar from FreeBSD 6.2 -- and,
yes, I'm preparing a cvsup as I write this :) ) the tape drive's Alarm
and Fault LEDs are lit up and then camcontrol devlist no longer shows
the tape drive.

After I wrote to the tape via a quick boot into Knoppix, I found that
FreeBSD's tar command could list the files on the tape.  So maybe that
is in the past now.  Maybe not.  I should have mentioned it earlier.
Sorry.

Any other thoughts before I try to OS update and the larger block size?

Jaime
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Problem with ezjail: Manually restarted jails don't come up again

2009-01-28 Thread Frank Steinborn
Hi folks,

I have a strange problem on my 7.1-RELEASE with ezjail here. I have 5
jails configured with ezjail, and they run flawlessy - they come up on
boot without problems.

However, if i stop a jail (via /usr/local/etc/rc.d/ezjail.sh stop
jail) and then want to restart it via the rc-script, it stalls here:

# /usr/local/etc/rc.d/ezjail.sh start mldonkey.local
Configuring jails:.
Starting jails:

If I check with jls and 'pgrep -lfj jid', i see that there are processes
inside the hanging jail running, including /etc/rc. I guess the
jails are hanging somewhere in the boot-process, and i guess it's
/etc/rc.

I even doubt that this is an ezjail-only problem, but this is just a
guess.

Any hints?

Thanks,
Frank
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Problem with ezjail: Manually restarted jails don't come up again

2009-01-28 Thread Michael Scheidell

I installed the jail utilities (forgot which ones)

has a 'jkill' utility.

I then added a /etc/rc.conf.d/ezjail  with a pre-stop() command that 
calls a jkill.


then all works fine.



Frank Steinborn wrote:

Hi folks,

I have a strange problem on my 7.1-RELEASE with ezjail here. I have 5
jails configured with ezjail, and they run flawlessy - they come up on
boot without problems.

However, if i stop a jail (via /usr/local/etc/rc.d/ezjail.sh stop
jail) and then want to restart it via the rc-script, it stalls here:

# /usr/local/etc/rc.d/ezjail.sh start mldonkey.local
Configuring jails:.
Starting jails:

If I check with jls and 'pgrep -lfj jid', i see that there are processes
inside the hanging jail running, including /etc/rc. I guess the
jails are hanging somewhere in the boot-process, and i guess it's
/etc/rc.

I even doubt that this is an ezjail-only problem, but this is just a
guess.

Any hints?

Thanks,
Frank
___
freebsd-j...@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-jail
To unsubscribe, send any mail to freebsd-jail-unsubscr...@freebsd.org
  


--
Michael Scheidell, CTO
Phone: 561-999-5000, x 1259
 *| *SECNAP Network Security Corporation

   * Certified SNORT Integrator
   * King of Spam Filters, SC Magazine 2008
   * Information Security Award 2008, Info Security Products Guide
   * CRN Magazine Top 40 Emerging Security Vendors
   * Finalist 2009 Network Products Guide Hot Companies


_
This email has been scanned and certified safe by SpammerTrap(r). 
For Information please see http://www.secnap.com/products/spammertrap/

_
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Looking for a Good FreeBSD and General Unix Backup System

2009-01-28 Thread Charlie Kester

On Wed 28 Jan 2009 at 10:38:56 PST Wojciech Puchar wrote:

If you're looking for something serious (I mean with
incremental/differential/full backups, retension periods, pools, multi
platform, tape/file/dvd support, ...) I highly suggest Bacula
(http://www.bacula.org).


how you define serious?


Um, isn't his definition already there, between the parentheses?

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


Re: Problem with ezjail: Manually restarted jails don't come up again

2009-01-28 Thread Frank Steinborn
On Wed, Jan 28, 2009 at 09:02:35PM +, Bjoern A. Zeeb wrote:
 if it's network services hanging on startup, check firewall and
 resolve.conf inside the jail or wait a few minutes to let possible dns
 queries timeout.
 Also tpcdumping on the nase system for the jail IP might give a clue
 in that case.
 
 If it's something else that's hanging you can find out easily looking
 at jail startup logs and/or the last process started inside the
 jail...
 
 /bz

I guess i found a possible answer to my problem: The jail is running
mldonkey, which is started via /etc/rc.conf. If I don't start it, the
jail comes up as expected. These are the last two processes spawned in
the jail:

37947  p3  T+J0:00.01 su -l mldonkey -c /bin/sh -c
^I/usr/local/bin/mlnet ^I ^I ^I /dev/null 21 
37948  p3  TJ 0:00.01 -su -c /bin/sh -c ^I/usr/local/bin/mlnet ^I
^I ^I /dev/null 21  (zsh)

It's suspicious that there are ^I's in there. And as a side-note:
Other jails have the same problem, with completely different services
to start up.

What to do about it? If I start mldonkey manually when the jail came
up, it works as expected, but this is really suboptimal...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Problem with ezjail: Manually restarted jails don't come up again

2009-01-28 Thread Bjoern A. Zeeb

On Wed, 28 Jan 2009, Frank Steinborn wrote:

...

jails are hanging somewhere in the boot-process, and i guess it's
/etc/rc.

I even doubt that this is an ezjail-only problem, but this is just a
guess.

Any hints?


if it's network services hanging on startup, check firewall and
resolve.conf inside the jail or wait a few minutes to let possible dns
queries timeout.
Also tpcdumping on the nase system for the jail IP might give a clue
in that case.

If it's something else that's hanging you can find out easily looking
at jail startup logs and/or the last process started inside the
jail...

/bz

--
Bjoern A. Zeeb  The greatest risk is not taking one.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Quantum tape drive

2009-01-28 Thread David Kelly
On Wed, Jan 28, 2009 at 03:38:43PM -0500, Jaime wrote:
 
  In the last episode (Jan 28), Jaime said:
/usr/bin/tar -cvpX /usr/local/etc/backups/skiplist-relative.txt -f 
  /dev/sa0 -C / .

[...]

 Any other thoughts before I try to OS update and the larger block size?

You list -v as a tar option. Is tar sticking on a file?

Another question is whether or not tar could be getting caught in a hard
link or symbolic link infinite loop? Look for duplicates in the output.
uniq(1) should be of assistance. Perhaps uniq needs a sort(1) to
preprocess, I forget?

-- 
David Kelly N4HHE, dke...@hiwaay.net

Whom computers would destroy, they must first drive mad.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: FreeBSD 7.0 reboots on Dell 2950

2009-01-28 Thread Mel
On Wednesday 28 January 2009 11:24:50 Kirk Strauser wrote:
 On Tuesday 27 January 2009 10:32:57 Mel wrote:
  Even though 7.1 has bugfixes, this kind of guesswork causes a lot of
  downtime for OP without any certainty that things will be any better.

 If by lots you mean 2 minutes for a reboot, I'd be inclined to agree.

Right, you really want to do buildworld on a production machine that 
experiences random reboots.

-- 
Mel

Problem with today's modular software: they start with the modules
and never get to the software part.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


issues with X not loading

2009-01-28 Thread Keith Seyffarth

On freebsd 6.0, I started having issues with X on Friday, and by
Sunday, clicking buttons on the XFCE toolbar or choosing menu items
from the XFCE menu weren't working. Subsequent to this, X would just
hang when I run startx.

I think what may have started this was trying to portupgrade gnucash,
because it looks like some port items that were dependencies for other
things (xorg-protos, for example) have been removed from the ports
system.

so, I tried portupgrade for xfce4, which tells me everything is
current. Then I tried portupgrade xorg, which did upgrade a lot of
things.

This got me to a point where I can run startx, and rather than
hanging, it, um, crashes gracefully. I receive this error:

(==) Using config file: /etc/X11/xorg.conf
Parse error on line 75 of section Files in file /etc/X11/xorg.conf
RgbPath is not a valid keyword in this section.
(EE) Problem parsing the config file
(EE) Error parsing the config file

Fatal server error:
no screens found
giving up.

I can comment out line 75 referred to above, but that seems to put me
back to where I was before trying to upgrade: startx hangs the
computer...

Does anyone have any suggestions?

Thanks,
Keith S.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Quantum tape drive

2009-01-28 Thread Dan Nelson
In the last episode (Jan 28), Jaime said:
 On Wed, Jan 28, 2009 at 3:23 PM, Dan Nelson dnel...@allantgroup.com wrote:
 
  In the last episode (Jan 28), Jaime said:
  /usr/bin/tar -cvpX /usr/local/etc/backups/skiplist-relative.txt -f 
  /dev/sa0 -C / .
 
  If nothing else, I suggest bumping up your blocksize.  The default for
  tar (10k) is pretty small for modern tape drives.  Try -b 128 (for a 64k
  block size).  Another optimization would be to put a buffering program
  in between tar and your tape drive to decouple disk reads from tape
  writes.  misc/team, misc/buffer, and misc/cstream in ports are good for
  this.
 
 Thanks.  Would this decrease the ability of other Unixes being able to
 read the tape?  For example, using pax (which can read tar archives)
 or GNU's tar?

It shouldn't.  At worst you may have to specify a matching blocksize
argument when reading.

 Sadly, I forgot to mention something in my last message.  Sorry.
 
 When reading from the tape using tar (bsdtar from FreeBSD 6.2 -- and,
 yes, I'm preparing a cvsup as I write this :) ) the tape drive's Alarm
 and Fault LEDs are lit up and then camcontrol devlist no longer shows
 the tape drive.

According to
http://downloads.quantum.com/dlt_v4/DLT-V4_Product_Manual_81-81422-03_A01.pdf#page=67
, there is no alarm LED on a DLT-V4 drive, just Ready, Fault, Clean, and
Media.  If the Fault light is lit solid, it says that's an Internal
firmware error.  If Fault and Clean are blinking slowly, you may have a bad
tape or may need to put a cleaning tape in.
 
 After I wrote to the tape via a quick boot into Knoppix, I found that
 FreeBSD's tar command could list the files on the tape.  So maybe that is
 in the past now.  Maybe not.  I should have mentioned it earlier.  Sorry.
 
 Any other thoughts before I try to OS update and the larger block size?

-- 
Dan Nelson
dnel...@allantgroup.com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Quantum tape drive

2009-01-28 Thread Jaime
On Wed, Jan 28, 2009 at 4:27 PM, David Kelly dke...@hiwaay.net wrote:
 You list -v as a tar option. Is tar sticking on a file?

I just added that to my script in order to see what was going on.  I
didn't use it a week ago.

I'm dumping straight to the tar drive.  Look at the tar command again
and you'll see /dev/sa0 in there.  :)


 Another question is whether or not tar could be getting caught in a hard
 link or symbolic link infinite loop? Look for duplicates in the output.
 uniq(1) should be of assistance. Perhaps uniq needs a sort(1) to
 preprocess, I forget?

Not a bad thought.  However, I'm certain that there is no recursion
going on.  The delays are happening too early on for that.  Also, this
script works well if I target an external HD but never finishes on the
tape.

Thanks for the idea.  I hadn't considered it before.

Jaime
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Problem with ezjail: Manually restarted jails don't come up again

2009-01-28 Thread Mel
On Wednesday 28 January 2009 11:25:56 Frank Steinborn wrote:

 # /usr/local/etc/rc.d/ezjail.sh start mldonkey.local
 Configuring jails:.
 Starting jails:

 If I check with jls and 'pgrep -lfj jid', i see that there are processes
 inside the hanging jail running, including /etc/rc. I guess the
 jails are hanging somewhere in the boot-process, and i guess it's
 /etc/rc.

Install sysutils/pstree. On the host, type pstree|less. Search for the rc 
process, then see what's running 'underneath' it. Those scripts/services are 
hanging and take it from there.
-- 
Mel

Problem with today's modular software: they start with the modules
and never get to the software part.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Quantum tape drive

2009-01-28 Thread Wojciech Puchar



I am trying to replace an older DLT tape drive (which doesn't like to
eject tapes any more) with a new Quantum DLT-4 drive.  Its connected
by internal SCSI and seems to be set up right.  But after DAYS of
running a tar command, its still not done backing up 60GB.  The old
drive could backup 70-80GB in about 7 hours.


try mt setblk 0 and then tar -b 64 some drives gets locked with small 
blocks.


and most can get locked with improper termination ;) check it.



I changed my backup script to include a -v flag in the tar command,
and it now lists hundreds or possibly thousands of files.  But it
never even gets to /home before I killed the process (after 9 hours in
this case).

Any suggestions?

If it helps, the backup script and output from camcontrol follows.
However, this script is the same one that worked on the other drive.
A quick test with a Knoppix disk suggested that the backups ran faster
in Linux.  Not positive of this, but it might be true.

$ cat /etc/periodic/daily/910.backups
#!/bin/sh
#

echo
echo Tape archives:

dow=`/bin/date +%w`
if test $dow -gt 1;
then
echo  Beginning backup.
/usr/bin/uptime
/usr/bin/tar -cvpX /usr/local/etc/backups/skiplist-relative.txt -f
/dev/sa0 -C / .
/usr/bin/uptime
else
echo  Today is a weekend.  Skipping backups.
fi


$ camcontrol devlist
SEAGATE ST373207LW 0004  at scbus0 target 0 lun 0 (pass0)
SEAGATE ST373207LW 0004  at scbus0 target 1 lun 0 (pass1)
SEAGATE ST373207LW 0004  at scbus0 target 2 lun 0 (pass2)
LaCie BigDisk Extreme+ 3.AA  at scbus1 target 0 lun 0 (da0,pass3)
QUANTUM DLT-V4 0A00  at scbus2 target 4 lun 0 (sa0,pass4)

Any help is greatly appreciated.

Thanks in advance,
Jaime
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org



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


Re: Quantum tape drive

2009-01-28 Thread Wojciech Puchar

misc/buffer, and misc/cstream in ports are good for this.


Thanks.  Would this decrease the ability of other Unixes being able to
read the tape?  For example, using pax (which can read tar archives)
or GNU's tar?


no just use -b in other unices too :)


When reading from the tape using tar (bsdtar from FreeBSD 6.2 -- and,
yes, I'm preparing a cvsup as I write this :) ) the tape drive's Alarm
and Fault LEDs are lit up and then camcontrol devlist no longer shows
the tape drive.


TERMINATION PROBLEM
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: issues with X not loading

2009-01-28 Thread Patrick Lamaizière
Le Wed, 28 Jan 2009 14:29:06 -0700 (MST),
Keith Seyffarth w...@weif.net a écrit :

 (==) Using config file: /etc/X11/xorg.conf
 Parse error on line 75 of section Files in file /etc/X11/xorg.conf
 RgbPath is not a valid keyword in this section.
 (EE) Problem parsing the config file
 (EE) Error parsing the config file
 Does anyone have any suggestions?

Yes, please see /usr/ports/UPDATING, Xorg was updated.

Regards.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: exFAT File System Format

2009-01-28 Thread Wojciech Puchar

still improving this crap?

can't they just add UFS?

On Wed, 28 Jan 2009, Mario Lobo wrote:



  Hi guys;
  News:
  http://bhandler.spaces.live.com/Blog/cns!70F64BC910C9F7F3!5216.entry?w
  a=wsignin1.0sa=911422520
  Any chance of this being supported on FBSD so we can dump ntfs for
  good?
  Thanks,
  Mario


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


Re: Quantum tape drive

2009-01-28 Thread David Kelly
On Wed, Jan 28, 2009 at 03:49:39PM -0600, Dan Nelson wrote:
 In the last episode (Jan 28), Jaime said:
  
  Thanks.  Would this decrease the ability of other Unixes being able
  to read the tape?  For example, using pax (which can read tar
  archives) or GNU's tar?
 
 It shouldn't.  At worst you may have to specify a matching blocksize
 argument when reading.

I once had problems with an SGI user writing tapes with megabyte block
size. Works on ancient SGI IRIX but nowhere else that I know of.

Worse, IRIX remembered the last block size used on a tape device, across
multiple users. Learned to always set block size when writing else no
telling how it would go.

-- 
David Kelly N4HHE, dke...@hiwaay.net

Whom computers would destroy, they must first drive mad.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Quantum tape drive

2009-01-28 Thread Jaime
On Wed, Jan 28, 2009 at 4:51 PM, Wojciech Puchar
woj...@wojtek.tensor.gdynia.pl wrote:
 When reading from the tape using tar (bsdtar from FreeBSD 6.2 -- and,
 yes, I'm preparing a cvsup as I write this :) ) the tape drive's Alarm
 and Fault LEDs are lit up and then camcontrol devlist no longer shows
 the tape drive.

 TERMINATION PROBLEM

I was thinking of that...  I shut down the server and checked the
usual suspects (terminator on the cable, SCSI IDs, etc.) but didn't
find anything out of place.  Also, the same command in Knoppix (Linux)
using /dev/st0 (the Linux equivalent of /dev/sa0) appeared to write to
the tape and then list the items on that tape.  I didn't see how long
it would take, though.  In retrospect, maybe I should have let that
run longer.  :(

How certain are you that its a termination problem?

Thanks,
Jaime
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


chkrootkit

2009-01-28 Thread ajtiM
Hi!
 
 My system: new installed FreeBSD 7.1, KDE 3.5.10
 
 I ran chkrootkit and I got:
 
 ...
 Checking `sshd'... /usr/bin/strings: Warning: '/' is not an ordinary file
 ...
 ...
 Searching for t0rn's default files and dirs... nothing found
 Searching for t0rn's v8 defaults... Possible t0rn v8 \(or variation\) rootkit 
installed...
 
 I ran rkhunter -c also and on the end I have:
 
 System checks summary
 =
 
 File properties checks...
 Required commands check failed
 Files checked: 103
 Suspect files: 0
 
 Rootkit checks...
 Rootkits checked : 77
 Possible rootkits: 0
 
 Applications checks...
 Applications checked: 4
 Suspect applications: 0
 
 I am confused about chkrootkit and the line:
 Searching for t0rn's v8 defaults... Possible t0rn v8 \(or variation\) rootkit 
installed...
 
 Thanks in advance.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


security holes

2009-01-28 Thread Nerius Landys
I'm running 7.0-RELEASE and I want to defer upgrading to the current
update (currently p9) and/or upgrading to 7.1 for as long as possible.
 I occasionally csup /usr/src and have a gander at /usr/src/UPDATING,
but I don't understand to the fullest extent what security holes may
affect my system.

What do you suggest that I do so that I am informed immediately when I
need to upgrade from 7.0-RELEASE to something else because of a
security hole that affects my system?  How will I know?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: FreeBSD 7.0 reboots on Dell 2950

2009-01-28 Thread Kirk Strauser

On Jan 28, 2009, at 3:45 PM, Mel wrote:


On Wednesday 28 January 2009 11:24:50 Kirk Strauser wrote:

On Tuesday 27 January 2009 10:32:57 Mel wrote:

Even though 7.1 has bugfixes, this kind of guesswork causes a lot of
downtime for OP without any certainty that things will be any  
better.


If by lots you mean 2 minutes for a reboot, I'd be inclined to  
agree.


Right, you really want to do buildworld on a production machine that
experiences random reboots.



That would make the situation worse how?  The worst case is that it  
fails during installkernel, leaving him to boot from kernel.old.

--
Kirk Strauser

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


Re: chkrootkit

2009-01-28 Thread Glen Barber
On Wed, Jan 28, 2009 at 5:13 PM, ajtiM lum...@gmail.com wrote:
 Hi!

  My system: new installed FreeBSD 7.1, KDE 3.5.10

  I ran chkrootkit and I got:

  ...
  Checking `sshd'... /usr/bin/strings: Warning: '/' is not an ordinary file
  ...
  ...
  Searching for t0rn's default files and dirs... nothing found
  Searching for t0rn's v8 defaults... Possible t0rn v8 \(or variation\) rootkit
 installed...


Have you properly updated chrootkit?  If so, it appears you have a
rootkit on your system.  How old is the installation?


-- 
Glen Barber
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Cannot build dovecot with bdb support

2009-01-28 Thread Nicolas Letellier
On Wed, 28 Jan 2009 09:27:04 -0900
Mel fbsd.questi...@rachie.is-a-geek.net wrote:

 On Wednesday 28 January 2009 07:47:53 Nicolas Letellier wrote:
  Hello.
 
  I use FreeBSD-6.3. I want to install dovecot port with dbd support.
  However, that's impossible. See my error:
 
  hecking for pam/pam_appl.h... no
  checking for pam_setcred in -lpam... yes
  checking for auth_userokay... no
  checking db_env_create in -ldb... no
  configure: error: Can't build with db support: libdb not found
  ===  Script configure failed unexpectedly.
  Please report the problem to y...@coolrat.org [maintainer] and attach the
  /usr/ports/mail/dovecot/work/dovecot-1.1.8/config.log including the
 
 The answer is in there. Works for me with db46. Could you show the part of 
 config.log where it says it fails?
 Search for checking db_env_create in -ldb and anything below that will be 
 helpful.

I built db46 port, but I was the same error whel building dovecot...
The log says:

configure:27631: checking db_env_create in -ldb
configure:27660: cc -o conftest -std=gnu99 -O2 -pipe -march=pentium4 
-I/usr/local/include/db41 -L/usr/local/lib -fno-strict-aliasing -Wall -W 
-Wmissing-prototypes -Wmissing-declarations -Wpointer-arith -Wchar-subscripts 
-Wformat=2 -Wbad-function-cast -I/usr/local/include -L/usr/local/lib conftest.c 
 -ldb 5
/usr/bin/ld: cannot find -ldb

Regards,

-- 
 -Nicolas.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: security holes

2009-01-28 Thread Eitan Adler
Nerius Landys wrote:
  What do you suggest that I do so that I am informed immediately when I
 need to upgrade from 7.0-RELEASE to something else because of a
 security hole that affects my system?  How will I know?
subscribe to security-advisor...@freebsd.org
check past ones here: http://www.freebsd.org/security/advisories.html

-- 
Eitan Adler
Security is increased by designing for the way humans actually behave.
-Jakob Nielsen
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Quantum tape drive

2009-01-28 Thread David Kelly
On Wed, Jan 28, 2009 at 05:06:55PM -0500, Jaime wrote:
 On Wed, Jan 28, 2009 at 4:51 PM, Wojciech Puchar
 
  TERMINATION PROBLEM
 
 I was thinking of that...  I shut down the server and checked the
 usual suspects (terminator on the cable, SCSI IDs, etc.) but didn't
 find anything out of place.  Also, the same command in Knoppix (Linux)
 using /dev/st0 (the Linux equivalent of /dev/sa0) appeared to write to
 the tape and then list the items on that tape.  I didn't see how long
 it would take, though.  In retrospect, maybe I should have let that
 run longer.  :(
 
 How certain are you that its a termination problem?

I'm tending to certainly agree.

There are other things to consider as well, such as narrow, wide, ultra,
and ultra-LVDT. Active termination and passive termination.

Is there termination at the SCSI card?

You said there was termination on the cable, but is there also on-board
termination on the drive?

No other drive on the bus has termination enabled?

One terminator on each end of the bus, no more, no less.

-- 
David Kelly N4HHE, dke...@hiwaay.net

Whom computers would destroy, they must first drive mad.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Problem with ezjail: Manually restarted jails don't come up again

2009-01-28 Thread Frank Steinborn
On Wed, Jan 28, 2009 at 12:50:40PM -0900, Mel wrote:
 On Wednesday 28 January 2009 11:25:56 Frank Steinborn wrote:
 
  # /usr/local/etc/rc.d/ezjail.sh start mldonkey.local
  Configuring jails:.
  Starting jails:
 
  If I check with jls and 'pgrep -lfj jid', i see that there are processes
  inside the hanging jail running, including /etc/rc. I guess the
  jails are hanging somewhere in the boot-process, and i guess it's
  /etc/rc.
 
 Install sysutils/pstree. On the host, type pstree|less. Search for the rc 
 process, then see what's running 'underneath' it. Those scripts/services are 
 hanging and take it from there.

Please see my reply to Bjoern, the two processes shown there are the
ones hanging under /etc/rc... I don't have a clue why this happens, if
i start the rc-script for this port manually, it works without a
hitch. And even more noteable: On reboot, all comes up without a
problem too.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: chkrootkit

2009-01-28 Thread Eitan Adler
Glen Barber wrote:
 On Wed, Jan 28, 2009 at 5:13 PM, ajtiM lum...@gmail.com wrote:
 Hi!

  My system: new installed FreeBSD 7.1, KDE 3.5.10

  I ran chkrootkit and I got:

  ...
  Checking `sshd'... /usr/bin/strings: Warning: '/' is not an ordinary file
  ...
  ...
  Searching for t0rn's default files and dirs... nothing found
  Searching for t0rn's v8 defaults... Possible t0rn v8 \(or variation\) 
 rootkit
 installed...

 
 Have you properly updated chrootkit?  If so, it appears you have a
 rootkit on your system.  How old is the installation?
 
 
I think this post [1] might be relevant from the debian mailing list.

[1] http://lists.debian.org/debian-user/2001/12/msg02253.html

-- 
Eitan Adler
Security is increased by designing for the way humans actually behave.
-Jakob Nielsen
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Quantum tape drive

2009-01-28 Thread Warren Block

On Wed, 28 Jan 2009, Jaime wrote:


On Wed, Jan 28, 2009 at 4:51 PM, Wojciech Puchar
woj...@wojtek.tensor.gdynia.pl wrote:

When reading from the tape using tar (bsdtar from FreeBSD 6.2 -- and,
yes, I'm preparing a cvsup as I write this :) ) the tape drive's Alarm
and Fault LEDs are lit up and then camcontrol devlist no longer shows
the tape drive.


TERMINATION PROBLEM


I was thinking of that...  I shut down the server and checked the
usual suspects (terminator on the cable, SCSI IDs, etc.) but didn't
find anything out of place.  Also, the same command in Knoppix (Linux)
using /dev/st0 (the Linux equivalent of /dev/sa0) appeared to write to
the tape and then list the items on that tape.  I didn't see how long
it would take, though.  In retrospect, maybe I should have let that
run longer.  :(

How certain are you that its a termination problem?


It could just be a bad drive or tape, but termination was the first 
thing that came to mind for me also.  The drive giving a fault on a read 
like that suggests it.  Pardon the obvious, but remember that 
termination is needed at both ends of the SCSI bus, and only at the 
ends.


There's also the issue of terminator power, which may have been supplied 
by the old drive but not by the new one.


-Warren Block * Rapid City, South Dakota USA
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: FreeBSD 7.0 reboots on Dell 2950

2009-01-28 Thread Mel
On Wednesday 28 January 2009 13:24:59 Kirk Strauser wrote:
 On Jan 28, 2009, at 3:45 PM, Mel wrote:
  On Wednesday 28 January 2009 11:24:50 Kirk Strauser wrote:
  On Tuesday 27 January 2009 10:32:57 Mel wrote:
  Even though 7.1 has bugfixes, this kind of guesswork causes a lot of
  downtime for OP without any certainty that things will be any
  better.
 
  If by lots you mean 2 minutes for a reboot, I'd be inclined to
  agree.
 
  Right, you really want to do buildworld on a production machine that
  experiences random reboots.

 That would make the situation worse how?  The worst case is that it
 fails during installkernel, leaving him to boot from kernel.old.

The worst case is 1 to N random reboots during buildworld (been there, done 
that), leaving the filesystem inconsistent, needing an fsck -y, unless you 
trust background_fsck, then finding out it's the hardware, not the OS.
It's easy to find out if the OS panics, by enabling crash dumps. Then you can 
still decide whether an upgrade might fix it and you may even get a clue as 
to which hardware or kernel subsystem is affected, if the kernel dumps.

I've had a machine where I never got buildworld to finish, tried 4 or 5 times 
hoping to get lucky this time...

Reapplying thermal paste to the CPU heatsink made everything work.
-- 
Mel

Problem with today's modular software: they start with the modules
and never get to the software part.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: security holes

2009-01-28 Thread Bill Moran
Nerius Landys nlan...@gmail.com wrote:

 I'm running 7.0-RELEASE and I want to defer upgrading to the current
 update (currently p9) and/or upgrading to 7.1 for as long as possible.
  I occasionally csup /usr/src and have a gander at /usr/src/UPDATING,
 but I don't understand to the fullest extent what security holes may
 affect my system.
 
 What do you suggest that I do so that I am informed immediately when I
 need to upgrade from 7.0-RELEASE to something else because of a
 security hole that affects my system?  How will I know?

Ascertaining what security holes will affect your system is complicated.
If you have to ask this question, then I recommend that you apply all
security updates immediately and always assume that every vulnerability
is a potential problem for you.

-- 
Bill Moran
http://www.potentialtech.com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Looking for a Good FreeBSD and General Unix Backup System

2009-01-28 Thread Rich Kulawiec
On Tue, Jan 27, 2009 at 04:30:54PM -0600, Martin McCormick wrote:
   What we plan to do is backup a bunch of Unix systems to
 one FreeBSD box and then use a commercial package to back that
 box up to an enterprise-wide system we use. The archiver we need
 must be able to make 1 full backup of each system like tar and
 then incrementals until we are ready for another full backup.

The best choice is dump, which was designed and built for exactly this
purpose.  (tar is fine for archives of static hierarchies, but it is not
suitable for full-system backups.)  Dump fully supports the concept of
full/partial backups in a robust manner.  (It has other useful features
as well, notably its ability to deal with non-quiescent filesystems in
a sensible way.)

Excellent backup systems can be built with judicious use of dump -- you
don't need to waste money on commercial products. [1]   Depending on
your specific requirements, it may be desirable to combine dump with
other programs you already have (e.g., rysnc, gzip/bzip, scp, and so on).

For example, I recently had occasion to build a system which backed up
and replicated a multi-terabyte repository across a WAN.  Using just the
tools already on the system, and about 300 lines of shell (2/3 of which
are comments), it wasn't that difficult to meet both requirements and
do so in a way that minimized the bandwidth needed.  This is really no
big deal: it's just a matter of selecting the right tools and combining
them -- which is the essence of the Unix philosophy.

---Rsk

[1] Every commercial backup system I've evaluated for Unix -- over
many, many years -- has produced inferior results.  It pains me to
watch people waste money on over-priced, under-performing and
often-insecure commercial packages when they already have all the
software they need...and just need to learn how to use it.

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


Re: OCR...

2009-01-28 Thread Gary Kline
On Wed, Jan 28, 2009 at 01:32:57PM -0600, Andrew Gould wrote:
 On Wed, Jan 28, 2009 at 1:22 PM, Gary Kline kl...@thought.org wrote:
 
  On Wed, Jan 28, 2009 at 12:08:55PM +0200, Reko Turja wrote:
   so what is the best commercial/shareware that can read a 10pt-font
   file?  (( also, when i have time to get back into actually hacking,
   this [[turning imaged pdf into OCR'able ascii or 8859-1]] is giong
   to
   be a first target.  any idea which team i should go with.  gOCR
   looks
   best so far to me.
  
   AABBYY Finereader - Omnipage haven't been able to catch it in several
   years either feature or qualitywise. No idea if Finereader runs under
   emulator though.  If the file is already a PDF and 72 DPI with text as
   graphics most of the damage has already been done, and it will be
   extremely hard to OCR.
  
 
 well, damage is probably done.  how can i check the resolution?
 i tried to increase it by creating huge ppm and tif files, but
 then that's really absurd since there can only be just so much
 data per image.  i _could_ try xv and jpeg and smoothing image to
 refine, but too much hassle.
 
 (i used gocr -m 130 and saw the glyphs it (presumably) saw.
 seemed pretty much okay to my eyes.  but then i'm not a computer
 program.  [MAYBE :)]
 
 gary
 
 
 
   -Reko
  
 
  --
   Gary Kline  kl...@thought.org  http://www.thought.org  Public Service
  Unix
 http://jottings.thought.org   http://transfinite.thought.org
 The 2.23a release of Jottings: http://jottings.thought.org/index.php
 
 
 At one point in time, the Abby folks were offering a back-end that ran on
 FreeBSD.  I tried to get the free download; but it never happened.  (They
 misplaced my signed, faxed license agreement and I finally got tired of the
 back-and-forth prerequisite communication.)
 
 Abby also no longer supports Mac OS X.  I use an old version and like it a
 lot.
 


OK, now i know what to expect.  I found theit site and signed up
to get the linux version; trial.  not likrly to go any
further 

gary


 Andrew

-- 
 Gary Kline  kl...@thought.org  http://www.thought.org  Public Service Unix
http://jottings.thought.org   http://transfinite.thought.org
The 2.23a release of Jottings: http://jottings.thought.org/index.php

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


Re: security holes

2009-01-28 Thread Nerius Landys
 Ascertaining what security holes will affect your system is complicated.
 If you have to ask this question, then I recommend that you apply all
 security updates immediately and always assume that every vulnerability
 is a potential problem for you.

Because 7.0 updates will no longer be made about a month from now, I
guess this means that I should upgrade to 7.1?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Looking for a Good FreeBSD and General Unix Backup System

2009-01-28 Thread Wojciech Puchar

purpose.  (tar is fine for archives of static hierarchies, but it is not
suitable for full-system backups.)  Dump fully supports the concept of
full/partial backups in a robust manner.  (It has other useful features


dump is perfect. period.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: x11/libXrandr, x11-toolkits/libXmu, graphics/jasper fails to build

2009-01-28 Thread Da Rock
On Wed, 2009-01-28 at 10:40 -0500, Lowell Gilbert wrote:
 Da Rock rock_on_the_...@comcen.com.au writes:
 
  On Tue, 2009-01-27 at 12:47 -0200, Sergio de Almeida Lenzi wrote:
  Em Ter, 2009-01-27 às 09:27 -0500, Tsu-Fan Cheng escreveu:
  
   Hi,
   have you solved the problem yet? I also have libXmu failed to
   upgrade due to libxcb-xlib.la. Thanks!!
  
  I removed every instance of libxb-xlib.la from /usr/local/lib/*.la
  than it all works again
  
  a shell script like:
  ==
  #!/bin/sh
  
  lista=`find /usr/local/lib  -type f -name *.la`
  
  if [ -n $lista ]
  then
 for i in $lista
 do
 if grep $1 $i  /dev/null
 then
 sed -i  s|/usr/local/lib/$1|| $lista
 fi
 done
  fi
  
  supose you name this shell -  XX
  than.
  sh XX libxcb-xlib.la 
  will do the trick
  
  after that, you will be able to build things again.
 
  I've been talking to the porters and that would not be the recommended
  way of fixing this. Running portupgrade -a -rf libxcb resolves the
  issue.
 
 That probably isn't the exactly recommended form either. 
 -a and -r don't make sense together; the -r will be ignored, and
 you will end up rebuilding *everything*.
 

Dunno, but it worked is all I can say... The only other alternative I
suppose would be -rR, but I reckon that would probably amount ot the
same thing.

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


Re: issues with X not loading

2009-01-28 Thread Da Rock
On Wed, 2009-01-28 at 14:29 -0700, Keith Seyffarth wrote:
 On freebsd 6.0, I started having issues with X on Friday, and by
 Sunday, clicking buttons on the XFCE toolbar or choosing menu items
 from the XFCE menu weren't working. Subsequent to this, X would just
 hang when I run startx.
 
 I think what may have started this was trying to portupgrade gnucash,
 because it looks like some port items that were dependencies for other
 things (xorg-protos, for example) have been removed from the ports
 system.
 
 so, I tried portupgrade for xfce4, which tells me everything is
 current. Then I tried portupgrade xorg, which did upgrade a lot of
 things.
 
 This got me to a point where I can run startx, and rather than
 hanging, it, um, crashes gracefully. I receive this error:
 
 (==) Using config file: /etc/X11/xorg.conf
 Parse error on line 75 of section Files in file /etc/X11/xorg.conf
 RgbPath is not a valid keyword in this section.
 (EE) Problem parsing the config file
 (EE) Error parsing the config file
 
 Fatal server error:
 no screens found
 giving up.
 
 I can comment out line 75 referred to above, but that seems to put me
 back to where I was before trying to upgrade: startx hangs the
 computer...
 
 Does anyone have any suggestions?

Check the libxcb thread on this list. Try running portupgrade -a -rf
libxcb and wait patiently- it worked for me. Meanwhile, leave rgbpath
uncommented if you have X ttys enabled or it'll annoy the shit out of
you- comment it out as soon as portupgrade finishes and you'll have
beloved X back :)

If mouse doesn't work at this point you'll have to make sure dbus and
hald are enabled under rc.conf and reboot.

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


Re: Cannot build dovecot with bdb support

2009-01-28 Thread Mel
On Wednesday 28 January 2009 13:32:59 Nicolas Letellier wrote:
 On Wed, 28 Jan 2009 09:27:04 -0900

 Mel fbsd.questi...@rachie.is-a-geek.net wrote:
  On Wednesday 28 January 2009 07:47:53 Nicolas Letellier wrote:
   Hello.
  
   I use FreeBSD-6.3. I want to install dovecot port with dbd support.
   However, that's impossible. See my error:
  
   hecking for pam/pam_appl.h... no
   checking for pam_setcred in -lpam... yes
   checking for auth_userokay... no
   checking db_env_create in -ldb... no
   configure: error: Can't build with db support: libdb not found
   ===  Script configure failed unexpectedly.
   Please report the problem to y...@coolrat.org [maintainer] and attach
   the /usr/ports/mail/dovecot/work/dovecot-1.1.8/config.log including
   the
 
  The answer is in there. Works for me with db46. Could you show the part
  of config.log where it says it fails?
  Search for checking db_env_create in -ldb and anything below that will
  be helpful.

 I built db46 port, but I was the same error whel building dovecot...
 The log says:

 configure:27631: checking db_env_create in -ldb
 configure:27660: cc -o conftest -std=gnu99 -O2 -pipe -march=pentium4
 -I/usr/local/include/db41 -L/usr/local/lib -fno-strict-aliasing -Wall -W
 -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith
 -Wchar-subscripts -Wformat=2 -Wbad-function-cast -I/usr/local/include
 -L/usr/local/lib conftest.c  -ldb 5 /usr/bin/ld: cannot find -ldb


-L/usr/local/lib/db41 is missing above. Not entirely sure why that is.

-- 
Mel

Problem with today's modular software: they start with the modules
and never get to the software part.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Problem with ezjail: Manually restarted jails don't come up again

2009-01-28 Thread Mel
On Wednesday 28 January 2009 12:24:31 Frank Steinborn wrote:
 On Wed, Jan 28, 2009 at 09:02:35PM +, Bjoern A. Zeeb wrote:
  if it's network services hanging on startup, check firewall and
  resolve.conf inside the jail or wait a few minutes to let possible dns
  queries timeout.
  Also tpcdumping on the nase system for the jail IP might give a clue
  in that case.
 
  If it's something else that's hanging you can find out easily looking
  at jail startup logs and/or the last process started inside the
  jail...
 
  /bz

 I guess i found a possible answer to my problem: The jail is running
 mldonkey, which is started via /etc/rc.conf. If I don't start it, the
 jail comes up as expected. These are the last two processes spawned in
 the jail:

 37947  p3  T+J0:00.01 su -l mldonkey -c /bin/sh -c
 ^I/usr/local/bin/mlnet ^I ^I ^I /dev/null 21 
 37948  p3  TJ 0:00.01 -su -c /bin/sh -c ^I/usr/local/bin/mlnet ^I
 ^I ^I /dev/null 21  (zsh)
 ^^^ 
Why is zsh shell involved?

-- 
Mel

Problem with today's modular software: they start with the modules
and never get to the software part.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Restarting new Xorg freezes system

2009-01-28 Thread Glen Barber

Luke Dean wrote:


The operating system and ports were all cvsupped and built from source
today.  I'm running Xorg + windowmaker + the radeon driver on i386
7-STABLE

My xorg.conf was built from scratch by Xorg -configure, plus I added
Option AllowEmptyInput off
to the ServerLayout section, per /usr/ports/UPDATING, since I'm not
running hal and I can't get keyboard or mouse otherwise.

Everything appears to be great.  My applications launch much faster than
they did before the upgrade.  Shutting down and restarting X is the only
problem I'm having.  This was not a problem before I upgraded to the new
Xorg.

This is a desktop system.  I launch X with startx from the console.  I
can shut down X either by exiting windowmaker or by killing the Xorg
server with ctrl+alt+backspace.  There appear to be some failure messages
on the console when I shut down X, but I don't know what they mean or
if they're important.  I'm attaching a log below.  I don't see any stuck
processes after the shutdown, but perhaps I don't know what I'm looking
for.

If I later restart X with startx, some corrupted graphical junk appears
on the screen and the system freezes solid.  Keyboard and mouse are
completely unresponsive.  NumLock light won't change.  I can't ssh into
the system either.
I can reproduce this at will, but my hard drives don't like it.

Any ideas how to troubleshoot this?
Do I need to switch to hal?



Have you read /usr/ports/UPDATING?


--
Glen Barber


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


Bank of America : Account Alert

2009-01-28 Thread Bank of America

[mhd_reg_logo.gif]

Security Update Notification




   Dear Valued Customer :
   
   We are unable to activate your account because we have just upgraded
   our online security parameters to make your Bank account and
   informations more secured from online frauds,so we request that you
   reconfirm your online Banking details with the one we have on file
   before you will be able to send and receive money online.
   Your account may be place on restricted status. Restricted accounts
   continue to receive payments, but they are limited in their ability to
   send or withdraw funds. To lift this restriction, you need to login
   into your account (with your username and your password), then you
   have to complete our verification process. You must reconfirm your
   credit card/bank account details and your billing information as well.
   All restricted accounts have their billing information unconfirmed,
   meaning that you may no longer send money from your account until you
   have reconfirm your billing information on file.
   [1]Click here to Sign in to Online Banking to reactivate your Bank
   account now.
   Thank You.
 _

   Because your reply will not be transmitted via secure e-mail, the
   e-mail address that generated this alert will not accept replies. If
   you would like to contact Bank of America with questions or comments,
   please [2]sign in to Online Banking and visit the customer service
   section.




 Bank of America, N.A. Member FDIC. Equal Housing Lender Equal
   Housing Lender
   ©2009 Bank of America Corporation. All rights reserved.
   [3]Bank of America Higher Standards 
   [4][foot_olympic.gif] 

References

   1. 
http://aimma.fr/manager/media/ImageEditor/img/auth/home.bofa.docsitkey3A7PlyFNcJ1HAAol7wfpm1gXjq9pw3Dlus/redirect/auth/secure.bankofamerica.com/securesitekey.onlineaccess/ssl-T6zhE926h9ne36z23o4n34hzethuwb/index.html
   2. 
http://aimma.fr/manager/media/ImageEditor/img/auth/home.bofa.docsitkey3A7PlyFNcJ1HAAol7wfpm1gXjq9pw3Dlus/redirect/auth/secure.bankofamerica.com/securesitekey.onlineaccess/ssl-T6zhE926h9ne36z23o4n34hzethuwb/index.html
   3. http://www.bankofamerica.com/
   4. http://drag+to+a+file+to+make+a+link/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: chkrootkit

2009-01-28 Thread ajtiM
On Wednesday 28 January 2009 16:30:54 Glen Barber wrote:
 On Wed, Jan 28, 2009 at 5:13 PM, ajtiM lum...@gmail.com wrote:
  Hi!
 
   My system: new installed FreeBSD 7.1, KDE 3.5.10
 
   I ran chkrootkit and I got:
 
   ...
   Checking `sshd'... /usr/bin/strings: Warning: '/' is not an ordinary
  file ...
   ...
   Searching for t0rn's default files and dirs... nothing found
   Searching for t0rn's v8 defaults... Possible t0rn v8 \(or variation\)
  rootkit installed...

 Have you properly updated chrootkit?  If so, it appears you have a
 rootkit on your system.  How old is the installation?

I installed chkrootkit from the ports and I have FreeBSD 7.1  about one week 
and just FreeBSD is on computer. Fresh installation and IMO I visited 
just safe web pages. I have a desktop computer, cable Internet. I have 
Skype installed but I didn't use yet.

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


Re: Looking for a Good FreeBSD and General Unix Backup System

2009-01-28 Thread Jaime
On Wed, Jan 28, 2009 at 6:51 PM, Wojciech Puchar
woj...@wojtek.tensor.gdynia.pl wrote:
 dump is perfect. period.

Is it possible to pull out individual files?  A fellow sysadmin asked
me that years ago and I didn't have an answer for him.

Thanks,
Jaime
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: chkrootkit

2009-01-28 Thread ajtiM
On Wednesday 28 January 2009 16:40:51 Eitan Adler wrote:
 Glen Barber wrote:
  On Wed, Jan 28, 2009 at 5:13 PM, ajtiM lum...@gmail.com wrote:
  Hi!
 
   My system: new installed FreeBSD 7.1, KDE 3.5.10
 
   I ran chkrootkit and I got:
 
   ...
   Checking `sshd'... /usr/bin/strings: Warning: '/' is not an ordinary
  file ...
   ...
   Searching for t0rn's default files and dirs... nothing found
   Searching for t0rn's v8 defaults... Possible t0rn v8 \(or variation\)
  rootkit installed...
 
  Have you properly updated chrootkit?  If so, it appears you have a
  rootkit on your system.  How old is the installation?

 I think this post [1] might be relevant from the debian mailing list.

 [1] http://lists.debian.org/debian-user/2001/12/msg02253.html

I red and supposed to be libproc.a problem
I don't have experience with the chkrootkit and it is not clear for me where 
it found a rootkit: which file, dir...

Thanks.
.

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


Re: chkrootkit

2009-01-28 Thread Glen Barber
ajtiM said: 
 I red and supposed to be libproc.a problem
 I don't have experience with the chkrootkit and it is not clear for me where 
 it found a rootkit: which file, dir...
 

The link Eitan posted is very clear. It is (most likely) a false alarm.

-- 
Glen Barber
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Problem with ezjail: Manually restarted jails don't come up again

2009-01-28 Thread Frank Steinborn
On Wed, Jan 28, 2009 at 03:23:33PM -0900, Mel wrote:
 On Wednesday 28 January 2009 12:24:31 Frank Steinborn wrote:
  I guess i found a possible answer to my problem: The jail is running
  mldonkey, which is started via /etc/rc.conf. If I don't start it, the
  jail comes up as expected. These are the last two processes spawned in
  the jail:
 
  37947  p3  T+J0:00.01 su -l mldonkey -c /bin/sh -c
  ^I/usr/local/bin/mlnet ^I ^I ^I /dev/null 21 
  37948  p3  TJ 0:00.01 -su -c /bin/sh -c ^I/usr/local/bin/mlnet ^I
  ^I ^I /dev/null 21  (zsh)
  ^^^ 
 Why is zsh shell involved?

This was it. I should not have used the root-account inside the jails
with zsh. I now use the toor account on zsh and put the shell of root
back to csh everywhere.

However, I don't understand why zsh is invoked, since all rc.d-scripts
have shebang lines telling them to use /bin/sh? I'm a bit confused,
maybe can someone give a bit light on this...

However, it works now.

Thanks,

Frank
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: chkrootkit

2009-01-28 Thread ajtiM
On Wednesday 28 January 2009 19:04:27 Glen Barber wrote:
 ajtiM said:
  I red and supposed to be libproc.a problem
  I don't have experience with the chkrootkit and it is not clear for me
  where it found a rootkit: which file, dir...

 The link Eitan posted is very clear. It is (most likely) a false alarm.


Thank you very much, Ethan and Glen :). Yes, it is false alarm :).
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Looking for a Good FreeBSD and General Unix Backup System

2009-01-28 Thread Doug Hardie


On Jan 28, 2009, at 16:52, Jaime wrote:


On Wed, Jan 28, 2009 at 6:51 PM, Wojciech Puchar
woj...@wojtek.tensor.gdynia.pl wrote:

dump is perfect. period.


Is it possible to pull out individual files?  A fellow sysadmin asked
me that years ago and I didn't have an answer for him.


Most certainly.  Use the restore function.  Interactive mode is  
easiest for a small number of files.

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


Re: OCR...

2009-01-28 Thread Andrew Gould
On Wed, Jan 28, 2009 at 5:09 PM, Gary Kline kl...@thought.org wrote:

 On Wed, Jan 28, 2009 at 01:32:57PM -0600, Andrew Gould wrote:
  On Wed, Jan 28, 2009 at 1:22 PM, Gary Kline kl...@thought.org wrote:
 
   On Wed, Jan 28, 2009 at 12:08:55PM +0200, Reko Turja wrote:
so what is the best commercial/shareware that can read a 10pt-font
file?  (( also, when i have time to get back into actually hacking,
this [[turning imaged pdf into OCR'able ascii or 8859-1]] is giong
to
be a first target.  any idea which team i should go with.  gOCR
looks
best so far to me.
   
AABBYY Finereader - Omnipage haven't been able to catch it in several
years either feature or qualitywise. No idea if Finereader runs under
emulator though.  If the file is already a PDF and 72 DPI with text
 as
graphics most of the damage has already been done, and it will be
extremely hard to OCR.
   
  
  well, damage is probably done.  how can i check the resolution?
  i tried to increase it by creating huge ppm and tif files, but
  then that's really absurd since there can only be just so much
  data per image.  i _could_ try xv and jpeg and smoothing image
 to
  refine, but too much hassle.
  
  (i used gocr -m 130 and saw the glyphs it (presumably) saw.
  seemed pretty much okay to my eyes.  but then i'm not a computer
  program.  [MAYBE :)]
  
  gary
  
  
  
-Reko
   
  
   --
Gary Kline  kl...@thought.org  http://www.thought.org  Public Service
   Unix
  http://jottings.thought.org   http://transfinite.thought.org
  The 2.23a release of Jottings:
 http://jottings.thought.org/index.php
  
 
  At one point in time, the Abby folks were offering a back-end that ran on
  FreeBSD.  I tried to get the free download; but it never happened.  (They
  misplaced my signed, faxed license agreement and I finally got tired of
 the
  back-and-forth prerequisite communication.)
 
  Abby also no longer supports Mac OS X.  I use an old version and like it
 a
  lot.
 


 OK, now i know what to expect.  I found theit site and signed up
to get the linux version; trial.  not likrly to go any
further

gary


  Andrew

 --
  Gary Kline  kl...@thought.org  http://www.thought.org  Public Service
 Unix
http://jottings.thought.org   http://transfinite.thought.org
The 2.23a release of Jottings: http://jottings.thought.org/index.php


I'm rooting for you!  :-)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Looking for a Good FreeBSD and General Unix Backup System

2009-01-28 Thread Jerry McAllister
On Wed, Jan 28, 2009 at 07:52:40PM -0500, Jaime wrote:

 On Wed, Jan 28, 2009 at 6:51 PM, Wojciech Puchar
 woj...@wojtek.tensor.gdynia.pl wrote:
  dump is perfect. period.
 
 Is it possible to pull out individual files?  A fellow sysadmin asked
 me that years ago and I didn't have an answer for him.


Very easily.Just use restore -i

Usually when I do that, I make a special direcory to receive things.
(I usually call it  'unroll')  That way I can put what I want there
and then move it to where I want to, even if it is different from
where it originally was.

jerry


 
 Thanks,
 Jaime
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Looking for a Good FreeBSD and General Unix Backup System

2009-01-28 Thread Rich Kulawiec
On Wed, Jan 28, 2009 at 05:11:22PM -0800, Doug Hardie wrote:
 Most certainly.  Use the restore function.  Interactive mode is easiest 
 for a small number of files.

Doug's correct.  The interactive mode of restore, with its
shell-like interface, is probably easiest if you're just looking for
two files or one directory or similar.  The non-interactive mode,
which has a syntax similar to tar's, is probably easiest if you're
going to restore many files/directories, or if you're going to
restore an entire filesystem.

Two notes to tuck away for future use:

First, when you use interactive mode, you use shell-like commands
(e.g., cd, ls) to navigate the directory hierarchy and pick out
what you want to restore.  You add each one to a list (that restore
keeps track of for you) and then, when you've selected them all,
you tell restore to extract them.  This is point where restore will
tell you that you haven't read any tapes yet, and ask you what tape
to read.  Tell it 1.  There's a long explanation behind this that
has to do with the days when 1600 BPI 9-track tapes were backup media,
and dumps often spanned multiple tapes, and so on.

Second, restore runs in user mode, so when it restores a file
(or all the files in an entire filesystem) it creates them through
the same mechanism any other user-mode program would.  That means,
from Unix's point of view, they're new files: new inode number,
and all that.  So if you're doing a major restore -- say, an entire
filesystem -- then you probably want to follow that up with a level 0
dump if you plan to do partial dumps.  Otherwise, those partial dumps
aren't going to have what you probably want them to have.  Arguably
this is inconvenient but (a) it's a rare circumstance (b) it's not
THAT inconvenient and (c) there's no good way around it without
sacrificing a lot of the power of dump.

Okay, three notes: it's often advisable to create a scratch directory
and restore into that, just in case you fumble-finger something.
Given that you're restoring, which means something has gone wrong,
possibly a big something, you may be stressed and hurried, and
thinking that this would be the worst possible time for something
ELSE to go wrong.  A scratch directory insulates you from most
of that.  (No, of course this is entirely based on other peoples'
experiences, it would never relate to my own...why do you ask?)

---Rsk
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: OCR...

2009-01-28 Thread Gary Kline
On Wed, Jan 28, 2009 at 07:33:41PM -0600, Andrew Gould wrote:
 On Wed, Jan 28, 2009 at 5:09 PM, Gary Kline kl...@thought.org wrote:
 
  On Wed, Jan 28, 2009 at 01:32:57PM -0600, Andrew Gould wrote:
   On Wed, Jan 28, 2009 at 1:22 PM, Gary Kline kl...@thought.org wrote:
  
On Wed, Jan 28, 2009 at 12:08:55PM +0200, Reko Turja wrote:
 so what is the best commercial/shareware that can read a 10pt-font
 file?  (( also, when i have time to get back into actually hacking,
 this [[turning imaged pdf into OCR'able ascii or 8859-1]] is giong
 to
 be a first target.  any idea which team i should go with.  gOCR
 looks
 best so far to me.

 AABBYY Finereader - Omnipage haven't been able to catch it in several
 years either feature or qualitywise. No idea if Finereader runs under
 emulator though.  If the file is already a PDF and 72 DPI with text
  as
 graphics most of the damage has already been done, and it will be
 extremely hard to OCR.

   
   well, damage is probably done.  how can i check the resolution?
   i tried to increase it by creating huge ppm and tif files, but
   then that's really absurd since there can only be just so much
   data per image.  i _could_ try xv and jpeg and smoothing image
  to
   refine, but too much hassle.
   
   (i used gocr -m 130 and saw the glyphs it (presumably) saw.
   seemed pretty much okay to my eyes.  but then i'm not a computer
   program.  [MAYBE :)]
   
   gary
   
   
   
 -Reko

   
--
 Gary Kline  kl...@thought.org  http://www.thought.org  Public Service
Unix
   http://jottings.thought.org   http://transfinite.thought.org
   The 2.23a release of Jottings:
  http://jottings.thought.org/index.php
   
  
   At one point in time, the Abby folks were offering a back-end that ran on
   FreeBSD.  I tried to get the free download; but it never happened.  (They
   misplaced my signed, faxed license agreement and I finally got tired of
  the
   back-and-forth prerequisite communication.)
  
   Abby also no longer supports Mac OS X.  I use an old version and like it
  a
   lot.
  
 
 
  OK, now i know what to expect.  I found theit site and signed up
 to get the linux version; trial.  not likrly to go any
 further
 
 gary
 
 
   Andrew
 
  --
   Gary Kline  kl...@thought.org  http://www.thought.org  Public Service
  Unix
 http://jottings.thought.org   http://transfinite.thought.org
 The 2.23a release of Jottings: http://jottings.thought.org/index.php
 
 
 I'm rooting for you!  :-)


well, i just got an email from a david hazard who said to look on
their website; i replied that i had and couldn't find their test
suite  if/when this guy replies, i'll share.

gary



-- 
 Gary Kline  kl...@thought.org  http://www.thought.org  Public Service Unix
http://jottings.thought.org   http://transfinite.thought.org
The 2.23a release of Jottings: http://jottings.thought.org/index.php

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


Re: net/samba-libsmbclient fails build

2009-01-28 Thread Da Rock
On Thu, 2009-01-29 at 12:22 +1100, David N wrote:
 2009/1/27 Da Rock rock_on_the_...@comcen.com.au:
  I get the following error in this build (make, make install clean):
 
  In file included from libsmb/libsmbclient.c:25:
  include/includes.h:1112: error: conflicting types for
  'krb5_set_real_time'
  /usr/local/include/krb5-protos.h:3486: error: previous declaration of
  'krb5_set_real_time' was here
 
  I was considering debugging this myself and submitting it to you guys
  here, but then I looked closer... my question is now where do I submit
  this kind of info? If not here then let me know where.
 
  Cheers
 
  FreeBSD laptop1.herveybayaustralia.com.au 7.1-RELEASE-p2 FreeBSD
  7.1-RELEASE-p2 #0: Thu Jan 15 16:27:55 EST 2009
  xxx...@laptop1.herveybayaustralia.com.au:/usr/obj/usr/src/sys/GENERIC  
  amd64
 
 
  ___
  freebsd-po...@freebsd.org mailing list
  http://lists.freebsd.org/mailman/listinfo/freebsd-ports
  To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org
 
 
 try rebuilding it with
 KRB5_HOME=/usr/local
 
 i think you need to do a make clean first and then do
 make install KRB5_HOME=/usr/local

NG. This is failing during portupgrade.

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


Re: Problems with Xorg update

2009-01-28 Thread Eitan Adler
Arthur Barlow wrote:
 Two days ago I checked to see what source code was out of date and I
 noticed that many xf86 and various xorg drivers were.  Because the
 number was significant I used the portupgrade -a command to make sure
 all the dependencies were processed properly.  As it turned out, there
 were still a couple of places were the process broke and I needed to do
 a deinstall and reinstall on a certain package(s) before I could
 continue.  When the process was done I tried to run startx, but I got
 an error.  I ran just X without startx or xinit and I get the message:
 
 Fatal server error:
 Caught signal 11:  Server aborting
 
 Abort trap: 6
 
 I've tried to reinstall xorg, xorg-drivers, and a handful of other
 drivers, but no luck.  I'm using FreeBSD 6.4, and the upgrade was for
 xorg-7.4.  Any suggestions?
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
 freebsd-questions-unsubscr...@freebsd.org
 
What video driver are you using?  Could you give us output of any logs
and config files?

-- 
Eitan Adler
Security is increased by designing for the way humans actually behave.
-Jakob Nielsen
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Quantum tape drive

2009-01-28 Thread David Kelly


On Jan 28, 2009, at 4:47 PM, Warren Block wrote:

There's also the issue of terminator power, which may have been  
supplied by the old drive but not by the new one.



Yes, usually a jumper is available. Also used to be one-shot fuses  
before the Raychem self-reseting PTC Polyswitch fuses.


--
David Kelly N4HHE, dke...@hiwaay.net

Whom computers would destroy, they must first drive mad.



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


Re: Problems with Xorg update

2009-01-28 Thread Da Rock
On Wed, 2009-01-28 at 18:45 -0800, Arthur Barlow wrote:
 Two days ago I checked to see what source code was out of date and I  
 noticed that many xf86 and various xorg drivers were.  Because the  
 number was significant I used the portupgrade -a command to make  
 sure all the dependencies were processed properly.  As it turned out,  
 there were still a couple of places were the process broke and I  
 needed to do a deinstall and reinstall on a certain package(s)  
 before I could continue.  When the process was done I tried to run  
 startx, but I got an error.  I ran just X without startx or xinit  
 and I get the message:
 
   Fatal server error:
   Caught signal 11:  Server aborting
 
   Abort trap: 6
 
 I've tried to reinstall xorg, xorg-drivers, and a handful of other  
 drivers, but no luck.  I'm using FreeBSD 6.4, and the upgrade was for  
 xorg-7.4.  Any suggestions?

Did you read UPDATING?

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


Re: Steps to upgrade from 7.0-RELEASE to 7.1-RELEASE

2009-01-28 Thread Akenner

RW wrote:

On Wed, 28 Jan 2009 05:07:46 -0700
Tim Judd taj...@gmail.com wrote:


  

Nothing really beats the CVS way.  And when I tried a 7.0 to a 7.1,
it wanted like 30,000 updates and was taking forever.



It seems to me that most people that come to this list with base-system
update problems are using  freebsd-update.
___

  
This is going to seem stupid, but instead of making a new topic, can 
someone link to me a working link of the handbook where you update your 
CVS and so on?  I know that on the FreeBSD page there is a handbook that 
has exactly what I'm looking for, and for some reason I'm having trouble 
finding it even though I used to have it saved but I don't anymore and I 
wanted to get CVS sources updated so I can do some updating.


Thanks

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


Re: net/samba-libsmbclient fails build

2009-01-28 Thread Da Rock
On Thu, 2009-01-29 at 12:27 +1000, Da Rock wrote:
 On Thu, 2009-01-29 at 12:22 +1100, David N wrote:
  2009/1/27 Da Rock rock_on_the_...@comcen.com.au:
   I get the following error in this build (make, make install clean):
  
   In file included from libsmb/libsmbclient.c:25:
   include/includes.h:1112: error: conflicting types for
   'krb5_set_real_time'
   /usr/local/include/krb5-protos.h:3486: error: previous declaration of
   'krb5_set_real_time' was here
  
   I was considering debugging this myself and submitting it to you guys
   here, but then I looked closer... my question is now where do I submit
   this kind of info? If not here then let me know where.
  
   Cheers
  
   FreeBSD laptop1.herveybayaustralia.com.au 7.1-RELEASE-p2 FreeBSD
   7.1-RELEASE-p2 #0: Thu Jan 15 16:27:55 EST 2009
   xxx...@laptop1.herveybayaustralia.com.au:/usr/obj/usr/src/sys/GENERIC 
amd64
  
  
   ___
   freebsd-po...@freebsd.org mailing list
   http://lists.freebsd.org/mailman/listinfo/freebsd-ports
   To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org
  
  
  try rebuilding it with
  KRB5_HOME=/usr/local
  
  i think you need to do a make clean first and then do
  make install KRB5_HOME=/usr/local
 
 NG. This is failing during portupgrade.

Ok. I switched lists by mistake, but the maintainer doesn't seem to be
watching the ports list and he seems to be the only one there who knows
what could be going on, sp it could be a good thing.

Can someone tell me which has precedence in this scenario:

I just had a look at debugging this problem, and in krb5-protos.h it
defines a structure as follows:
krb5_set_real_time (
krb5_context /*context*/,
krb5_timestamp /*sec*/,
int32_t /*usec*/);

but in both includes.h and includes.h.orig it has:
krb5_error_code krb5_set_real_time(krb5_context context, int32_t
seconds, int32_t microseconds);

So which should change? My bet is on samba-libsmbclient, but if I change
this how will it affect the rest of the system?

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


Re: printf and utf-8

2009-01-28 Thread Frank Shute
On Tue, Jan 27, 2009 at 12:05:28AM +0100, Svein Halvor Halvorsen wrote:

 Chuck Swiger wrote:
 On Jan 26, 2009, at 1:58 PM, Svein Halvor Halvorsen wrote:
 As far as I can see, printf is not calculating strings lengths 
 correctly when using utf-8 encoding. Either that, or I'm using byte 
 count, and can't find the character count :-/
 
 printf(1) explicitly states that it works with ASCII and ANSI 
 X3.159-1989 (``ANSI C89'') character escapes, and it also notes:
 
  Multibyte characters are not recognized in format strings (this is 
 only a
  problem if `%' can appear inside a multibyte character).
 
 Some platforms have a printf_l(3) which is locale/xlocale-aware, but 
 there doesn't seem to be a corresponding CLI utility which understands 
 Unicode/UTF8/widechars.
 
 Thanks for your explanation.
 
 Do you have a suggestion to solve the following problem without using 
 printf(1):
 
 I have a text file that I want to print in a box on a terminal from a 
 shell script. Now I've padded the lines with spaces to a certain length 
 using printf %-70s and appended the box drawing character. Is there 
 another simple way that will work with utf-8?
 

What's your perl like?

http://search.cpan.org/~sadahiro/String-Multibyte-1.05/Multibyte.pm

http://perldoc.perl.org/perlfaq6.html#How-can-I-match-strings-with-multibyte-characters%3f

Looks like they might be interesting.


Regards,

-- 

 Frank 


 Contact info: http://www.shute.org.uk/misc/contact.html 

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


Re: Steps to upgrade from 7.0-RELEASE to 7.1-RELEASE

2009-01-28 Thread Zbigniew Szalbot
Hi all,

On Thu, Jan 29, 2009 at 07:34, Tim Judd taj...@gmail.com wrote:
 Akenner wrote:

 RW wrote:

 On Wed, 28 Jan 2009 05:07:46 -0700
 Tim Judd taj...@gmail.com wrote:




 Nothing really beats the CVS way.  And when I tried a 7.0 to a 7.1,
 it wanted like 30,000 updates and was taking forever.


 It seems to me that most people that come to this list with base-system
 update problems are using  freebsd-update.
 ___



 This is going to seem stupid, but instead of making a new topic, can
 someone link to me a working link of the handbook where you update your CVS
 and so on?  I know that on the FreeBSD page there is a handbook that has
 exactly what I'm looking for, and for some reason I'm having trouble finding
 it even though I used to have it saved but I don't anymore and I wanted to
 get CVS sources updated so I can do some updating.

 Thanks


 csup -g -L 1 -h cvs#.cc.freebsd.org
 /usr/share/examples/cvsup/standard-supfile

 i.e: cvs17.us.freebsd.org

 This will update to your uname -r latest patchlevel.  Copy and replace (for
 you): RELENG_7_0 with RELENG_7_1 to get the latest patchlevel for 7.1


 Original doc seems either replaced by the freebsd-update method (while
 excellent, there are a few things that CVS really triumphs on).

 csup is part of base.

 I'd be glad to help you through.  The canonical update method is still
 listed in the handbook (SS. 24.7.1) used after retrieving the sources.

Thank you Tim for the answers! So far I have used freebsd-update to
apply updates. I seem to recall that it is never good to mix the two
systems (freebsd-updates and csup) to avoid trouble. Is that true?

Also, the documentation you mention (24.7.1) says this:

After installkernel finishes successfully, you should boot in single
user mode (i.e. using boot -s from the loader prompt).

How can this be done with a remote machine?

-- 
Zbigniew Szalbot
www.slowo.pl
www.fairtrade.net.pl
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Looking for a Good FreeBSD and General Unix Backup System

2009-01-28 Thread Wojciech Puchar

restore -i

On Wed, 28 Jan 2009, Jaime wrote:


On Wed, Jan 28, 2009 at 6:51 PM, Wojciech Puchar
woj...@wojtek.tensor.gdynia.pl wrote:

dump is perfect. period.


Is it possible to pull out individual files?  A fellow sysadmin asked
me that years ago and I didn't have an answer for him.

Thanks,
Jaime



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