at job disappears?

2007-05-15 Thread Dieter
FreeBSD 6.2
AMD64 (single CPU)
/var is FFS with soft-updates, on SATA.

/var/cron/tabs/root  contains:

* *   *   *   *   /usr/libexec/atrun

I had three at jobs queued.  They all call the same shell
script with different arguments.  First one runs fine.
Second one gets:

atrun[3212]: cannot open input file: No such file or directory

And then the third one runs fine.

The machine is idle except for the at jobs.  No reboot, no fsck.
As far as I know, nothing should be mucking around in /var/at except
atrun.  Nothing to explain a file disappearing into thin air.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: what's the easiest way to de-html-ize files?

2007-05-15 Thread Bram Schoenmakers
Op zaterdag 12 mei 2007, schreef Gary Kline:
   This is for those of us who appreciate ASCII or straight
   ISO_8859-15 rather than marked up files.  I have slapped together
   a crude C program that does scotch (or *cleanse*) text of
   B/B and so on.   Still... is there some standalone converter
   that gets rids of markup more elegantly?   Something where i
   can say

   % cmd file_1.html ... file_N.html and output file_1.text ...
   file_N.text?

   thanks, gents,


   gary

textproc/html2text

Kind regards,

-- 
Bram Schoenmakers

What is mind? No matter. What is matter? Never mind.
(Punch, 1855)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: gnome-libtool issue [SEC=UNCLASSIFIED]

2007-05-15 Thread Sam Lawrance


On 15/05/2007, at 11:29 AM, Daniel Pottumati wrote:


Hello,

I've a 4.8 freebsd box, which I've update the ports tree with the  
current

tree from the freebsd website and I'm trying to install tetex from the
port directory:

/usr/ports/print/teTeX

 and I get the following error during: make install

/bin/sh /usr/ports/x11-fonts/fontconfig/work/gnome-libtool --tag=CC
--mode=compile cc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../src
-I/usr/local/include/freetype2 -I/usr/local/include  -I/usr/local/ 
include

-Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes
-Wmissing-declarations  -Wnested-externs -fno-strict-aliasing
-DFC_CACHEDIR='/var/db/fontconfig'
-DFONTCONFIG_PATH='/usr/X11R6/etc/fonts'-O -pipe  -c -o  
fcatomic.lo

fcatomic.c
gnome-libtool: unrecognized option `--tag=CC'

Try `gnome-libtool --help' for more information.

gmake[3]: *** [fcatomic.lo] Error 1
gmake[3]: Leaving directory
`/usr/ports/x11-fonts/fontconfig/work/fontconfig-2.4.2/src'
gmake[2]: *** [all] Error 2
gmake[2]: Leaving directory
`/usr/ports/x11-fonts/fontconfig/work/fontconfig-2.4.2/src'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory
`/usr/ports/x11-fonts/fontconfig/work/fontconfig-2.4.2'
gmake: *** [all] Error 2
*** Error code 2

Stop in /usr/ports/x11-fonts/fontconfig.
*** Error code 1

Stop in /usr/ports/x11/XFree86-4-libraries.
*** Error code 1

Stop in /usr/ports/x11-fonts/p5-type1inst.
*** Error code 1

Stop in /usr/ports/print/cmpsfont.
*** Error code 1

Stop in /usr/ports/print/teTeX-texmf.
*** Error code 1

Stop in /usr/ports/print/teTeX.

Can someone help me please?


Are  you able to upgrade the machine?  FreeBSD 4.x is no longer  
supported, and 4.8 is very old.


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


about Geforce Go 7700

2007-05-15 Thread Runner on the Road

Hi

i  have an asus a8js with a 7700 Go gefroce in it

i ve tryed seveal times to confi my xorg.conf but still not working


can you help me getting my grahical environement working


thanks in advance from the other side of the World ( Reunion Island )


bye ::P
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Computer wakes, keyboard sleeps on

2007-05-15 Thread Never you mind
The keyboard stays asleep after everything else has woken up. How do I 
begin troubleshooting this problem?


I use a KVM switch to share the KVM between two machines. The other 
machine runs Windows, everything works as it should there.



Malcolm

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


Re: 3D acceleration within non-root account

2007-05-15 Thread Ladislav Jozsa
Thank you for your answer. I have checked write access to the device 
/dev/dri/card0, everything seems to be OK.


# ls -l /dev/dri/card0
crw-rw-rw-  1 root  wheel0, 131 May 15 09:02 /dev/dri/card0

Because I don't know which device can cause the problem I also tried to 
set write access to the following devices:


crwrw-  1 root  wheel0,  29 May 15 09:02 /dev/agpgart
crw-r--rw-  1 root  wheel0,  15 May 15 09:02 /dev/pci

However it is still not working. Please see the Xorg.log file attached.

Ladislav


nawcom wrote:
Well, it shows that it has to do with device permissions; your root 
can read and write to it, but your user account can't. be sure and 
give your user write access to the device. Also your X log should be 
able to describe in more detail on what the situation is that you are 
having. check that and let me know if you got it working and also what 
your X log says.

-Ben

Ladislav Jozsa wrote:

Hello there,

I'm trying to get 3D acceleration working on my ThinkPad R40 with ATI 
Radeon Mobility 7500 graphic card. I'm running FreeBSD 6.1 and I'm 
able to run 3D under root account, where glxinfo tells me the following:


# glxinfo | grep render
direct rendering: Yes
OpenGL renderer string: Mesa DRI Radeon 20050528 AGP 4x TCL

But when I try the same under non-root account the result is:

$ glxinfo | grep render
direct rendering: No
OpenGL renderer string: Mesa GLX Indirect

Thus 3D acceleration is not running. I've got loaded the following 
graphic drivers :


9 1 0xc4c21000 1c000radeon.ko
101 0xc4c47000 e000 drm.ko

dmesg | grep drm gives me:

drm0: ATI Radeon LW RV200 Mobility 7500 M7 port 0x3000-0x30ff mem 
0xe000-0xe7ff,0xc010-0xc010 irq 11 at device 0.0 on pci1

info: [drm] AGP at 0xd000 256MB
info: [drm] Initialized radeon 1.19.0 20050911

In Xorg configuration I  have also loaded following modules and DRI 
set properly:


Section Module
  Load  dbe
  Load  dri
  Load  extmod
  Load  glx
  Load  record
  Load  xie
  Load  pex5
  Load  freetype
  Load  type1
EndSection

Section DRI
  Mode 0666
EndSection

Does anyone know what else I need to run 3D under non-root account?

Many thanks,

Ladislav Jozsa







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





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





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

.login_conf ignored

2007-05-15 Thread Christopher Illies
The locale settings in my .login_conf are ignored:

; cat .login_conf
# $FreeBSD: src/share/skel/dot.login_conf,v 1.3 2001/06/10 17:08:53
# ache Exp $
#
# see login.conf(5)
#
me:\
:charset=UTF-8:\
:lang=en_US.UTF-8:

; env | egrep -i 'lang|charset'
LANG=en_US.ISO8859-1
MM_CHARSET=iso-8859-1
; ls -l .login_conf
-rw-r--r--  1 chris  chris  146 May 15 08:26 .login_conf
; uname -r
6.2-STABLE

My .login_conf file is not a symlink or world writable etc. Also, an
identical .login_conf for another user is applied without problems.
What am I missing?

Christopher

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


Re: 3D acceleration within non-root account

2007-05-15 Thread Ladislav Jozsa
Well, it seems that the attachment didn't arrived so I send it again as 
in line text. I apologize for a big email.


This is a pre-release version of the X server from The X.Org Foundation.
It is not supported in any way.
Bugs may be filed in the bugzilla at http://bugs.freedesktop.org/.
Select the xorg product for bugs you find in this release.
Before reporting bugs in pre-release versions please check the
latest version in the X.Org Foundation CVS repository.
See http://wiki.x.org/wiki/CvsPage for CVS access instructions.

X Window System Version 6.8.99.903 (6.9.0 RC 3)
Release Date: 03 December 2005 + cvs
X Protocol Version 11, Revision 0, Release 6.8.99.903
Build Operating System: FreeBSD 6.1 i386 [ELF]
Current Operating System: FreeBSD b04-807a.kn.vutbr.cz 6.1-RELEASE 
FreeBSD 6.1-RELEASE #6: Sun Feb  4 11:32:53 CET 2007 
[EMAIL PROTECTED]:/usr/src/sys/i386/compile/TEST i386

Build Date: 16 December 2006
   Before reporting problems, check http://wiki.X.Org
   to make sure that you have the latest version.
Module Loader present
Markers: (--) probed, (**) from config file, (==) default setting,
   (++) from command line, (!!) notice, (II) informational,
   (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: /var/log/Xorg.0.log, Time: Tue May 15 09:21:29 2007
(==) Using config file: /etc/X11/xorg.conf
(==) ServerLayout X.org Configured
(**) |--Screen Screen0 (0)
(**) |   |--Monitor Monitor0
(**) |   |--Device Card0
(**) |--Input Device Mouse0
(**) |--Input Device Keyboard0
(WW) The directory /usr/X11R6/lib/X11/fonts/Type1/ does not exist.
   Entry deleted from font path.
(WW) The directory /usr/X11R6/lib/X11/fonts/CID/ does not exist.
   Entry deleted from font path.
(**) FontPath set to 
/usr/X11R6/lib/X11/fonts/misc/,/usr/X11R6/lib/X11/fonts/TTF/,/usr/X11R6/lib/X11/fonts/75dpi/,/usr/X11R6/lib/X11/fonts/100dpi/

(**) RgbPath set to /usr/X11R6/lib/X11/rgb
(**) ModulePath set to /usr/X11R6/lib/modules
(**) Option AllowMouseOpenFail true
(II) Module ABI versions:
   X.Org ANSI C Emulation: 0.2
   X.Org Video Driver: 0.8
   X.Org XInput driver : 0.5
   X.Org Server Extension : 0.2
   X.Org Font Renderer : 0.4
(II) Loader running on freebsd
(II) LoadModule: bitmap
(II) Loading /usr/X11R6/lib/modules/fonts/libbitmap.so
(II) Module bitmap: vendor=X.Org Foundation
   compiled for 6.8.99.903, module version = 1.0.0
   Module class: X.Org Font Renderer
   ABI class: X.Org Font Renderer, version 0.4
(II) Loading font Bitmap
(II) LoadModule: pcidata
(II) Loading /usr/X11R6/lib/modules/libpcidata.so
(II) Module pcidata: vendor=X.Org Foundation
   compiled for 6.8.99.903, module version = 1.0.0
   ABI class: X.Org Video Driver, version 0.8
(--) Using syscons driver with X support (version 2.0)
(++) using VT number 9

(II) PCI: Probing config type using method 1
(II) PCI: Config type is 1
(II) PCI: stages = 0x03, oldVal1 = 0x, mode1Res1 = 0x8000
(II) PCI: PCI scan (all values are in hex)
(II) PCI: 00:00:0: chip 8086,3340 card 1014,0529 rev 03 class 06,00,00 
hdr 00
(II) PCI: 00:01:0: chip 8086,3341 card , rev 03 class 06,04,00 
hdr 01
(II) PCI: 00:1d:0: chip 8086,24c2 card 1014,052d rev 01 class 0c,03,00 
hdr 80
(II) PCI: 00:1d:1: chip 8086,24c4 card 1014,052d rev 01 class 0c,03,00 
hdr 00
(II) PCI: 00:1d:2: chip 8086,24c7 card 1014,052d rev 01 class 0c,03,00 
hdr 00
(II) PCI: 00:1d:7: chip 8086,24cd card 1014,052e rev 01 class 0c,03,20 
hdr 00
(II) PCI: 00:1e:0: chip 8086,2448 card , rev 81 class 06,04,00 
hdr 01
(II) PCI: 00:1f:0: chip 8086,24cc card , rev 01 class 06,01,00 
hdr 80
(II) PCI: 00:1f:1: chip 8086,24ca card 1014,052d rev 01 class 01,01,8a 
hdr 00
(II) PCI: 00:1f:3: chip 8086,24c3 card 1014,052d rev 01 class 0c,05,00 
hdr 00
(II) PCI: 00:1f:5: chip 8086,24c5 card 1014,0523 rev 01 class 04,01,00 
hdr 00
(II) PCI: 00:1f:6: chip 8086,24c6 card 1014,0524 rev 01 class 07,03,00 
hdr 00
(II) PCI: 01:00:0: chip 1002,4c57 card 1014,0527 rev 00 class 03,00,00 
hdr 00
(II) PCI: 02:00:0: chip 104c,ac56 card fffc, rev 00 class 06,07,00 
hdr 02
(II) PCI: 02:02:0: chip 8086,1043 card 8086,2551 rev 04 class 02,80,00 
hdr 00
(II) PCI: 02:07:0: chip 104c,8026 card 1014,0515 rev 00 class 0c,00,10 
hdr 00
(II) PCI: 02:08:0: chip 8086,103d card 1014,0522 rev 81 class 02,00,00 
hdr 00

(II) PCI: End of PCI scan
(II) Host-to-PCI bridge:
(II) Bus 0: bridge is at (0:0:0), (0,0,3), BCTRL: 0x0008 (VGA_EN is set)
(II) Bus 0 I/O range:
   [0] -100x - 0x (0x1) IX[B]
(II) Bus 0 non-prefetchable memory range:
   [0] -100x - 0x (0x0) MX[B]
(II) Bus 0 prefetchable memory range:
   [0] -100x - 0x (0x0) MX[B]
(II) PCI-to-PCI bridge:
(II) Bus 1: bridge is at (0:1:0), (0,1,1), BCTRL: 0x000c (VGA_EN is set)
(II) Bus 1 I/O range:
   [0] -100x3000 - 0x30ff (0x100) IX[B]
   [1] -100x3400 - 0x34ff (0x100) IX[B]
   [2] -100x3800 - 0x38ff (0x100) IX[B]
   

FreeBSD 7.0 ZFS boot freeze

2007-05-15 Thread pepe perez
I have an ASUS P4S800D motherboard with a Seagate 120GB Serial ATA disk. I 
want to install on it FreeBSD 7.0 ZFS, but I have probed all options in 
beastie screen and all freezed during boot process (usually when it reach 
the CD/DVD type detection).


I'm now using that motherboard with FreeBSD 6.2 and a 80GB IDE ATA without 
problems, but I want to change to my new disc (SATA should be faster than 
IDE) and I don't know how to do it.


¿any suggestion?

Thank you.

_
Acepta el reto MSN Premium: Protección para tus hijos en internet. 
Descárgalo y pruébalo 2 meses gratis. 
http://join.msn.com?XAPID=1697DI=1055HL=Footer_mailsenviados_proteccioninfantil


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


Installing OpenOffice Solver tar.bz2

2007-05-15 Thread Norberto Meijome
Hello list ,
I've installed the latest 2.2 Openoffice package from
ftp://ooopackages.good-day.net/pub/OpenOffice.org/FreeBSD/2.2/i386/ , so far so
good.

Now, I've also want the solver, which I believe is the file
OOo_2.2.0_FreeBSD62Intel_solver.tar.bz2 in that same URL. But once I have the
file... i can't figure out how to get OO to recognise it - it doesnt seem to be
an OO package, or a Freebsd package either. 

I imagine I'd have to extract it somewherebut I not sure where
inside /usr/local/openoffice-[VERSION] this should go... 

I've tried this same thing (moving 'solver' into the OO install dir) for a few
versions now (2.0, 2.1,2.2) with no luck... any hints would be greatly
appreciated.

thanks!!

_
{Beto|Norberto|Numard} Meijome

He has no enemies, but is intensely disliked by his friends.
  Oscar Wilde

I speak for myself, not my employer. Contents may be hot. Slippery when wet.
Reading disclaimers makes you go blind. Writing them is worse. You have been
Warned.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FreeBSD 7.0 ZFS boot freeze

2007-05-15 Thread Garrett Cooper

pepe perez wrote:
I have an ASUS P4S800D motherboard with a Seagate 120GB Serial ATA disk. 
I want to install on it FreeBSD 7.0 ZFS, but I have probed all options 
in beastie screen and all freezed during boot process (usually when it 
reach the CD/DVD type detection).


I'm now using that motherboard with FreeBSD 6.2 and a 80GB IDE ATA 
without problems, but I want to change to my new disc (SATA should be 
faster than IDE) and I don't know how to do it.


¿any suggestion?

Thank you.


Please ask this question on the current@ list if you had a problem with 
ZFS and current.


-Garrett
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FreeBSD 7.0 ZFS boot freeze

2007-05-15 Thread Kris Kennaway
On Tue, May 15, 2007 at 07:42:17AM +, pepe perez wrote:
 I have an ASUS P4S800D motherboard with a Seagate 120GB Serial ATA disk. I 
 want to install on it FreeBSD 7.0 ZFS, but I have probed all options in 
 beastie screen and all freezed during boot process (usually when it reach 
 the CD/DVD type detection).
 
 I'm now using that motherboard with FreeBSD 6.2 and a 80GB IDE ATA without 
 problems, but I want to change to my new disc (SATA should be faster than 
 IDE) and I don't know how to do it.
 
 ?any suggestion?

What does it have to do with ZFS?

Kris
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: ATI Radeon 9600xt (256MB DDR) on FreeBSD 6.2 ; SOLVED NOW

2007-05-15 Thread dharam paul
Sir,
Now I have used ATI Radeon driver but the screen was
still 'diagonally shifted' wherein at the bottom and
at the left of the screen there was blank space. 

I am using FreeBSD 6.2. I also added  
device  drm
device  radeondrm
in my Kernel. But it did not make any difference to
the display.

The solution was achieved accidentally when I changed
the settings during performing settings after passing
'xorgconf' command, I selected No. 6 when the program
asked for the Horizontal Refresh Rate of the monitor.
Earlier I was using 30-70 KHz. 

Now the screen in Video mode is OK.

I very sincerely thank all Gurus who helped me resolve
the issue. 

FreeBSD is a wonderful OS. When I logged as another
user and tried to enter into GUI mode, I realised that
for this user also I have to do the setting so that
xinitrc knows which GUI to use. I tried Gnome for this
user. It is a wonderful OS, I can assign different GUI
environments to different users!

Regards


--- Scott Bennett [EMAIL PROTECTED] wrote:

  On Mon, 14 May 2007 16:18:22 +0100 (BST) dharam
 paul
 [EMAIL PROTECTED] wrote:
 
 That is right sir, thugh kde package was installed,
 but 
 % echo exec startkde  ~/.xinitrc
 was still required to be passed to X server.
 
 The display is as if the screen is diagonally right
 shifted (i.e. there is empty space at the left and
 at
 the bottom)
 I am using VESA driver. Is further improvement
 possible so that display is stretched to whole
 screen.
 I have googled about this problem, but so far the
 solution seems to be a little away.
 
  The VESA driver is not optimal for that card. 
 The radeon driver will
 at least get you 2-D acceleration, though not 3-D. 
 The reason xorg -configure
 doesn't find your card is most likely the absence of
 a radeon kernel driver
 in your kernel.  FreeBSD 6.1 still needed the
 following two lines added to
 the kernel configuration, though 6.2 doesn't seem to
 need them.
 
 devicedrm
 deviceradeondrm
 
 I don't recall whether you stated which version of
 FreeBSD you were using.
 
 
   Scott Bennett,
 Comm. ASMELG, CFIAG

**
 * Internet:   bennett at cs.niu.edu 
 *

**
 * A well regulated and disciplined militia, is at
 all times a good  *
 * objection to the introduction of that bane of all
 free governments *
 * -- a standing army.  
 *
 *-- Gov. John Hancock, New York Journal, 28
 January 1790 *

**
 ___
 freebsd-questions@freebsd.org mailing list

http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
 [EMAIL PROTECTED]
 



Dharam Paul Balley


  Office firewalls, cyber cafes, college labs, don't allow you to download 
CHAT? Click here: http://in.messenger.yahoo.com/webmessengerpromo.php
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Can't upgrade ports collection

2007-05-15 Thread Victor Engmark

Hi,

I'm getting reports that some of the packages I've installed have
vulnerabilities when running
portaudit -Fda

I've tried to update the ports tree running
cd /usr/ports  portsnap update
, but it tells me the tree is already up to date. I've also tried removing
everything from /usr/ports (even the dot files), and then running
portsnap fetch  portsnap extract  portsnap update  portupgrade -a
(portsnap update should be redundant, but just to be sure), but nothing is
upgraded, and portaudit still complains.

What am I doing wrong?

--
Victor Engmark
Quidquid latine dictum sit, altum videtur - What is said in Latin, sounds
profound
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Can't upgrade ports collection

2007-05-15 Thread Karol Kwiatkowski
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

Victor Engmark wrote:
 Hi,
 
 I'm getting reports that some of the packages I've installed have
 vulnerabilities when running
 portaudit -Fda
 
 I've tried to update the ports tree running
 cd /usr/ports  portsnap update
 , but it tells me the tree is already up to date. I've also tried removing
 everything from /usr/ports (even the dot files), and then running
 portsnap fetch  portsnap extract  portsnap update  portupgrade -a
 (portsnap update should be redundant, but just to be sure), but nothing is
 upgraded, and portaudit still complains.
 
 What am I doing wrong?

Nothing, the ports tree is frozen right know - virtually nothing will be
updated until xorg 7.2 gets tested and imported[1].

HTH,

Karol

[1] you might be interested in this thread:
http://lists.freebsd.org/pipermail/freebsd-ports/2007-May/040680.html


- --
Karol Kwiatkowski   karol.kwiat at gmail dot com
OpenPGP 0x06E09309
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.7 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGSYPxezeoPAwGIYsRCH6oAJ9suCuSHzDiRE/20Jqj7d2KE90gXQCgncze
ErGjnSwJqV3geEHYg8sVGXs=
=2yNJ
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Skipping F1 FreeBSD prompt on boot

2007-05-15 Thread Sam Lawrance


On 14/05/2007, at 10:41 AM, Pieter de Goeje wrote:


On Sunday 13 May 2007, David Landgren wrote:

Sam Lawrance wrote:

On 13/05/2007, at 6:15 PM, Matthew Seaman wrote:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

Sam Lawrance wrote:

On 12/05/2007, at 8:59 PM, Matthew Seaman wrote:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

David Landgren wrote:
I have a disk that has only FreeBSD on it, and so I would  
like to

skip the initial F1/FreeBSD prompt. boot0cfg -v ad0 says:

options=nopacket,update,nosetdrv
default_selection=F1 (Slice 1)

... what do I have to do to say JFDI instead of prompting?  
This is
not the sort of thing I want to fiddle around experimenting,  
so a

little guidance would be most appreciated.


fdisk -B -b /boot/mbr /dev/ad0

You installed the FreeBSD boot sector stuff, which gives you the
'press F1'  business.  Replace that with the standard mbr,  
which just

boots straight up.


Rather than replacing it, you can use boot0cfg to set a really  
short
timeout instead; in case you might want that functionality one  
day.


Heh.  It's not like you only get one chance to rewrite the boot  
blocks
on any particular drive.  If anyone needs to (re-)install the  
FreeBSD

boot
blocks, then you can do very simply it by:

   boot0cfg -B -b /boot/boot0 /dev/ad0

or even

   fdisk -B -b /boot/boot0 /dev/ad0

Or if you need to boot from a serial console you can change / 
boot/boot0

to /boot/boot0sio


Sure, but why get rid of it, when leaving it in with a short timeout
costs you nothing.


A fair point, but in this particular case, FreeBSD is the only  
thing on

the drive, and likely to remain that way until the disk dies of
mechanical failure. I just don't need that prompt, especially the
annoying beep it makes.

The beep was removed since May 2006 (6.2-RELEASE, 6-STABLE, HEAD).
A simple
#boot0cfg -B /dev/adX
should get rid of it.


I thought I remembered that!  Wasn't it removed to reclaim a couple  
extra bytes? :-)


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


Gnome does not accept root password

2007-05-15 Thread dharam paul
While logged in as a user (simple normal user) in
FreeBSD 6.2, in Gnome GUI when I tried to do some
administrative tasks, it asked me for the root
password, I entered the root password, it gives me an
error that the password is wrong! I know that the
password is correct. 
Is it some bug in Gnome.
Regards

Dharam Paul Balley


  Office firewalls, cyber cafes, college labs, don't allow you to download 
CHAT? Click here: http://in.messenger.yahoo.com/webmessengerpromo.php
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Can't upgrade ports collection

2007-05-15 Thread Victor Engmark

On 5/15/07, Karol Kwiatkowski [EMAIL PROTECTED] wrote:


Victor Engmark wrote:
 I'm getting reports that some of the packages I've installed have
 vulnerabilities when running
 portaudit -Fda

 I've tried to update the ports tree running
 cd /usr/ports  portsnap update
 , but it tells me the tree is already up to date. I've also tried
removing
 everything from /usr/ports (even the dot files), and then running
 portsnap fetch  portsnap extract  portsnap update  portupgrade -a
 (portsnap update should be redundant, but just to be sure), but nothing
is
 upgraded, and portaudit still complains.

 What am I doing wrong?

Nothing, the ports tree is frozen right know - virtually nothing will be
updated until xorg 7.2 gets tested and imported[1].



Cool stuff, but do you recommend I uninstall the problematic packages? Also,
aren't security patches normally shipped quickly to the ports tree?

--
Victor Engmark
Quidquid latine dictum sit, altum videtur - What is said in Latin, sounds
profound
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Can't upgrade ports collection

2007-05-15 Thread Karol Kwiatkowski
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

Victor Engmark wrote:
 On 5/15/07, Karol Kwiatkowski [EMAIL PROTECTED] wrote:

 Victor Engmark wrote:
  I'm getting reports that some of the packages I've installed have
  vulnerabilities when running
  portaudit -Fda
 
  I've tried to update the ports tree running
  cd /usr/ports  portsnap update
  , but it tells me the tree is already up to date.
[...]
  What am I doing wrong?

 Nothing, the ports tree is frozen right know - virtually nothing will be
 updated until xorg 7.2 gets tested and imported[1].

 
 Cool stuff, but do you recommend I uninstall the problematic packages?

That depends on lot of factors and, unfortunately, you can only answer
yourself. I've got some vulnerable packages on _my desktop_ right now,
but that's not a problem for me. YMMV.

Another option is to patch ports manually - there's a waiting patch for
php5 port for example:

http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/112527

 Also,
 aren't security patches normally shipped quickly to the ports tree?

That depends on the maintainer but usually yes. It's just unfortunate
time right now :)

Cheers,

Karol


- --
Karol Kwiatkowski   karol.kwiat at gmail dot com
OpenPGP 0x06E09309
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.7 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGSYgDezeoPAwGIYsRCGS5AJ4rJ/xHNENU8YF7+YzMF/GvLTGu9ACgpuoV
6q7Ur7lVf7tpMSTQLdvFxE0=
=PeZY
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Spaces in SSID in /etc/rc.conf

2007-05-15 Thread Erik Norgaard

Gunther Mayer wrote:

Hi there,

I got a low key server who is wirelessly connected to the net using an 
SSID that contains a space. In rc.conf I define the ifconfig line for 
configuration of my wireless interface upon bootup, but the entire line 
reads something like


ifconfig_ath0=' inet 192.168.0.1 ssid my network '

No matter how I tweak the quotes (single then double, other way round, 
with lots of \\) I never get my interface to configure properly upon 
bootup and I need to get to the console to fix it up. I thought I knew 
shell syntax but this is beyond me or manpages...


What's the right way to do this?


I think the right way is to use wpa_supplicant.conf to define wireless 
networks. Then in your rc.conf you prefix the NIC configuration with WPA 
like this:


ifconfig_ath0==WPA DHCP

This method also allows you to define various wireless networks if needed.

Cheers, Erik

--
Ph: +34.666334818  web: http://www.locolomo.org


smime.p7s
Description: S/MIME Cryptographic Signature


Re: .login_conf ignored

2007-05-15 Thread Ernest Sales
On Tue, 15 May 2007 09:14:42 +0200, Christopher Illies wrote:

 The locale settings in my .login_conf are ignored:
 
 ; cat .login_conf
 # $FreeBSD: src/share/skel/dot.login_conf,v 1.3 2001/06/10 17:08:53
 # ache Exp $
 #
 # see login.conf(5)
 #
 me:\
 :charset=UTF-8:\
 :lang=en_US.UTF-8:
 
 ; env | egrep -i 'lang|charset'
 LANG=en_US.ISO8859-1
 MM_CHARSET=iso-8859-1
 ; ls -l .login_conf
 -rw-r--r--  1 chris  chris  146 May 15 08:26 .login_conf
 ; uname -r
 6.2-STABLE
 
 My .login_conf file is not a symlink or world writable etc. Also, an
 identical .login_conf for another user is applied without problems.
 What am I missing?
 
 Christopher


Did you run cap_mkdb?

From login.conf manpage:

 The default /etc/login.conf shipped with FreeBSD is an out of the box
 configuration.  Whenever changes to this, or the user's ~/.login_conf,
 file are made, the modifications will not be picked up until
cap_mkdb(1)
 is used to compile the file into a database.  This database file will
 have a .db extension and is accessed through cgetent(3).

Never had to deal with ~/.login_conf files, but what cap_mkdb manpage seems
to say
is that you have to concatenate all sources in one run, i.e.

cap_mkdb /etc/login.conf /home/user1/.login.conf /home/user2/.login.conf ...

HTH

Ernest

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


libmap.conf

2007-05-15 Thread Odhiambo Washington
Instead of:

ln -s /usr/local/lib/libfbclient.so.1.5.3 /usr/local/lib/libfbclient.so.2

Perhaps there is a way to map this using /etc/libmap.conf?



-Wash

http://www.netmeister.org/news/learn2quote.html

DISCLAIMER: See http://www.wananchi.com/bms/terms.php

--
+==+
|\  _,,,---,,_ | Odhiambo Washington[EMAIL PROTECTED]
Zzz /,`.-'`'-.  ;-;;,_ | Wananchi Online Ltd.   www.wananchi.com
   |,4-  ) )-,_. ,\ (  `'-'| Tel: +254 20 313985-9  +254 20 313922
  '---''(_/--'  `-'\_) | GSM: +254 722 743223   +254 733 744121
+==+

It's always a long day; 86400 doesn't fit into a short.


smime.p7s
Description: S/MIME cryptographic signature


Re: .login_conf ignored

2007-05-15 Thread Christopher Illies
On Tue, May 15, 2007 at 12:27:10PM +0200, Ernest Sales wrote:
 On Tue, 15 May 2007 09:14:42 +0200, Christopher Illies wrote:
 
  The locale settings in my .login_conf are ignored:
  
  ; cat .login_conf
  # $FreeBSD: src/share/skel/dot.login_conf,v 1.3 2001/06/10 17:08:53
  # ache Exp $
  #
  # see login.conf(5)
  #
  me:\
  :charset=UTF-8:\
  :lang=en_US.UTF-8:
  
  ; env | egrep -i 'lang|charset'
  LANG=en_US.ISO8859-1
  MM_CHARSET=iso-8859-1
  ; ls -l .login_conf
  -rw-r--r--  1 chris  chris  146 May 15 08:26 .login_conf
  ; uname -r
  6.2-STABLE
  
  My .login_conf file is not a symlink or world writable etc. Also, an
  identical .login_conf for another user is applied without problems.
  What am I missing?
  
  Christopher
 
 
 Did you run cap_mkdb?
 
 From login.conf manpage:
 
  The default /etc/login.conf shipped with FreeBSD is an out of the box
  configuration.  Whenever changes to this, or the user's ~/.login_conf,
  file are made, the modifications will not be picked up until
 cap_mkdb(1)
  is used to compile the file into a database.  This database file will
  have a .db extension and is accessed through cgetent(3).
 
 Never had to deal with ~/.login_conf files, but what cap_mkdb manpage seems
 to say
 is that you have to concatenate all sources in one run, i.e.
 
 cap_mkdb /etc/login.conf /home/user1/.login.conf /home/user2/.login.conf ...
 
 HTH
 
 Ernest

Thanks, unfortunately no success.

When I concatenate all ~/login_conf files with /etc/login.conf I get
the following warning message:
cap_mkdb: ignored duplicate: me

It did not help with my locale setting, though. Strangely, another
user account on the same computer works correctly in that respect.
Also, running cap_mkdb after changing the ~/login_conf of that user is
not neccessary for the changes to take effect.

This makes me think that there is something wrong with my user account. But 
what?

Christopher

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


Re: Skipping F1 FreeBSD prompt on boot

2007-05-15 Thread Pieter de Goeje
On Tuesday 15 May 2007, Sam Lawrance wrote:
 On 14/05/2007, at 10:41 AM, Pieter de Goeje wrote:
  On Sunday 13 May 2007, David Landgren wrote:
  Sam Lawrance wrote:
  On 13/05/2007, at 6:15 PM, Matthew Seaman wrote:
  -BEGIN PGP SIGNED MESSAGE-
  Hash: SHA256
 
  Sam Lawrance wrote:
  On 12/05/2007, at 8:59 PM, Matthew Seaman wrote:
  -BEGIN PGP SIGNED MESSAGE-
  Hash: SHA256
 
  David Landgren wrote:
  I have a disk that has only FreeBSD on it, and so I would
  like to
  skip the initial F1/FreeBSD prompt. boot0cfg -v ad0 says:
 
  options=nopacket,update,nosetdrv
  default_selection=F1 (Slice 1)
 
  ... what do I have to do to say JFDI instead of prompting?
  This is
  not the sort of thing I want to fiddle around experimenting,
  so a
  little guidance would be most appreciated.
 
  fdisk -B -b /boot/mbr /dev/ad0
 
  You installed the FreeBSD boot sector stuff, which gives you the
  'press F1'  business.  Replace that with the standard mbr,
  which just
  boots straight up.
 
  Rather than replacing it, you can use boot0cfg to set a really
  short
  timeout instead; in case you might want that functionality one
  day.
 
  Heh.  It's not like you only get one chance to rewrite the boot
  blocks
  on any particular drive.  If anyone needs to (re-)install the
  FreeBSD
  boot
  blocks, then you can do very simply it by:
 
 boot0cfg -B -b /boot/boot0 /dev/ad0
 
  or even
 
 fdisk -B -b /boot/boot0 /dev/ad0
 
  Or if you need to boot from a serial console you can change /
  boot/boot0
  to /boot/boot0sio
 
  Sure, but why get rid of it, when leaving it in with a short timeout
  costs you nothing.
 
  A fair point, but in this particular case, FreeBSD is the only
  thing on
  the drive, and likely to remain that way until the disk dies of
  mechanical failure. I just don't need that prompt, especially the
  annoying beep it makes.
 
  The beep was removed since May 2006 (6.2-RELEASE, 6-STABLE, HEAD).
  A simple
  #boot0cfg -B /dev/adX
  should get rid of it.

 I thought I remembered that!  Wasn't it removed to reclaim a couple
 extra bytes? :-)
Quote from the commit log:
Restore the pre-5.x behavior of only beeping if the user makes a bad
selection and not always beeping on startup.  The two bytes for the extra
'jmp' instruction were obtained by removing recognition of BSD/OS
partitions.

Cheers,
Pieter de Goeje
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: STABLE + KEXI 1.1.2 (koffice 1.6.2) + KDE 3.5.6 = no sql?

2007-05-15 Thread Jarosław Staniek

Laurence Sanford said the following, On 2007-05-15 00:41:

I see where this is going. Actually, in the original db that I created, 
there is no conflict with key rather it appears to be start. However, 
I can specify that and get (correct) output from the queries. It looks 
like the problem is related specifically to using * in the select 
statement. Kexi keeps dropping the *.


Found a solution, and published patch (agains KOffice 1.6.2):

http://kexi-project.org/wiki/wikiview/index.php?Kexi1.1.2_Patches

Please let me know if you're able to compile the code.

--
regards / pozdrawiam, Jaroslaw Staniek
 Sponsored by OpenOffice Polska (http://www.openoffice.com.pl/en) to work on
 Kexi  KOffice: http://www.kexi.pl/en, http://www.koffice.org
 KDE3  KDE4 Libraries for MS Windows: http://kdelibs.com, http://www.kde.org
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: .login_conf ignored

2007-05-15 Thread Ernest Sales
On Tuesday, May 15, 2007 1:18 PM, Christopher Illies wrote:

 On Tue, May 15, 2007 at 12:27:10PM +0200, Ernest Sales wrote:
  On Tue, 15 May 2007 09:14:42 +0200, Christopher Illies wrote:
 
   The locale settings in my .login_conf are ignored:
  
   ; cat .login_conf
   # $FreeBSD: src/share/skel/dot.login_conf,v 1.3
 2001/06/10 17:08:53
   # ache Exp $
   #
   # see login.conf(5)
   #
   me:\
   :charset=UTF-8:\
   :lang=en_US.UTF-8:
  
   ; env | egrep -i 'lang|charset'
   LANG=en_US.ISO8859-1
   MM_CHARSET=iso-8859-1
   ; ls -l .login_conf
   -rw-r--r--  1 chris  chris  146 May 15 08:26 .login_conf
   ; uname -r
   6.2-STABLE
  
   My .login_conf file is not a symlink or world writable
 etc. Also, an
   identical .login_conf for another user is applied without
 problems.
   What am I missing?
  
   Christopher
 
 
  Did you run cap_mkdb?
 
  From login.conf manpage:
 
   The default /etc/login.conf shipped with FreeBSD is an
 out of the box
   configuration.  Whenever changes to this, or the
 user's ~/.login_conf,
   file are made, the modifications will not be picked up until
  cap_mkdb(1)
   is used to compile the file into a database.  This
 database file will
   have a .db extension and is accessed through cgetent(3).
 
  Never had to deal with ~/.login_conf files, but what
 cap_mkdb manpage seems
  to say
  is that you have to concatenate all sources in one run, i.e.
 
  cap_mkdb /etc/login.conf /home/user1/.login.conf
 /home/user2/.login.conf ...
 
  HTH
 
  Ernest

 Thanks, unfortunately no success.

 When I concatenate all ~/login_conf files with /etc/login.conf I get
 the following warning message:
 cap_mkdb: ignored duplicate: me

So I was mistaken. Try compiling just your ~/login_conf, make sure a
~/login_conf.db file appears.

Ernest


 It did not help with my locale setting, though. Strangely, another
 user account on the same computer works correctly in that respect.
 Also, running cap_mkdb after changing the ~/login_conf of that user is
 not neccessary for the changes to take effect.

 This makes me think that there is something wrong with my
 user account. But what?

 Christopher



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


Re: about Geforce Go 7700

2007-05-15 Thread Roland Smith
On Tue, May 15, 2007 at 08:47:25AM +0200, Runner on the Road wrote:
  Hi
 
  i  have an asus a8js with a 7700 Go gefroce in it
 
  i ve tryed seveal times to confi my xorg.conf but still not working

Try the nv(4) driver in your device section:

Section Device
Identifier  Card0
Driver  nv
EndSection

If thqat doesn't work, look in /var/log/Xorg.0.log to see why it doesn't
work, and port some more details here.

Roland
-- 
R.F.Smith   http://www.xs4all.nl/~rsmith/
[plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
pgp: 1A2B 477F 9970 BA3C 2914  B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)


pgpar9Y456IIv.pgp
Description: PGP signature


Re: .login_conf ignored [solved]

2007-05-15 Thread Christopher Illies
On Tue, May 15, 2007 at 04:36:46PM +0200, Ernest Sales wrote:
 On Tuesday, May 15, 2007 1:18 PM, Christopher Illies wrote:
 
  On Tue, May 15, 2007 at 12:27:10PM +0200, Ernest Sales wrote:
   On Tue, 15 May 2007 09:14:42 +0200, Christopher Illies wrote:
  
The locale settings in my .login_conf are ignored:
   
; cat .login_conf
# $FreeBSD: src/share/skel/dot.login_conf,v 1.3
  2001/06/10 17:08:53
# ache Exp $
#
# see login.conf(5)
#
me:\
:charset=UTF-8:\
:lang=en_US.UTF-8:
   
; env | egrep -i 'lang|charset'
LANG=en_US.ISO8859-1
MM_CHARSET=iso-8859-1
; ls -l .login_conf
-rw-r--r--  1 chris  chris  146 May 15 08:26 .login_conf
; uname -r
6.2-STABLE
[...]
   Never had to deal with ~/.login_conf files, but what
  cap_mkdb manpage seems
   to say
   is that you have to concatenate all sources in one run, i.e.
  
   cap_mkdb /etc/login.conf /home/user1/.login.conf
  /home/user2/.login.conf ...
  
   HTH
  
   Ernest
 
  Thanks, unfortunately no success.
 
  When I concatenate all ~/login_conf files with /etc/login.conf I get
  the following warning message:
  cap_mkdb: ignored duplicate: me
 
 So I was mistaken. Try compiling just your ~/login_conf, make sure a
 ~/login_conf.db file appears.
 
 Ernest

Thanks, that has worked!

Before I always used cap_mkdb /etc/login.conf plus all the user's
$HOME/.login_conf, but just using it on my ~/.login_conf did the
trick. A ~/.login_conf.db file has appeared.

I feel a bit silly for not having come up with it myself. I guess what
confused me was that on another user's account the cap_mkdb compiling
wasn't neccessary, but I don't need to understand that now that it
works for me.

Thanks again.

Christopher

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


troubles with libxslt and libxml2 from ports.

2007-05-15 Thread Jeff MacDonald

Hi,

I'm trying to install textproc/libxslt on a 6.1 machine.

The issue is, is that it needs libxml2 - 2.6.27 . I've installed this
version but everytime I try to install libxslt it complains saying it
can only find libxml2 2.6.22

Here is a type script of my build process

http://www.suite2101.com/help

I'm taking suggestions  :)

Jeff.

--
Unless otherwise indicated, anything I write is either garnered from
experience or pulled out of my ass, depending on situational needs..

Jeff MacDonald
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: about Geforce Go 7700

2007-05-15 Thread Federico Lorenzi

On 5/15/07, Roland Smith [EMAIL PROTECTED] wrote:

On Tue, May 15, 2007 at 08:47:25AM +0200, Runner on the Road wrote:
  Hi

  i  have an asus a8js with a 7700 Go gefroce in it

  i ve tryed seveal times to confi my xorg.conf but still not working

Try the nv(4) driver in your device section:

Section Device
Identifier  Card0
Driver  nv
EndSection

Having experience with Nvidia graphics cards in laptops (I have a
7600GT go) The normal nv driver DOES NOT seem to work with them, try
install the binary driver from ports, and give that a shot, it works
great for me at native res!

Federico
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: troubles with libxslt and libxml2 from ports.

2007-05-15 Thread Roland Smith
On Tue, May 15, 2007 at 10:58:48AM -0400, Jeff MacDonald wrote:
  Hi,
 
  I'm trying to install textproc/libxslt on a 6.1 machine.
 
  The issue is, is that it needs libxml2 - 2.6.27 . I've installed this
  version but everytime I try to install libxslt it complains saying it
  can only find libxml2 2.6.22
 
  Here is a type script of my build process
 
  http://www.suite2101.com/help
 
  I'm taking suggestions  :)

Use the gnomelogalyzer as explained in the logfile?

Otherwise, there's the brute force approach;

- go to the port directory
- do 'make clean patch'
- cd work/libxslt-1.1.20
- hack the configure script to skip the test
- cd -; make install clean

Roland
-- 
R.F.Smith   http://www.xs4all.nl/~rsmith/
[plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
pgp: 1A2B 477F 9970 BA3C 2914  B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)


pgpW8bgkPnxsh.pgp
Description: PGP signature


RE: sendmail init error: Can't assign requested address

2007-05-15 Thread Ernest Sales
On Tuesday, May 15, 2007 12:24 AM, Chuck Swiger wrote:

 On May 14, 2007, at 2:25 PM, Ernest Sales wrote:
  Well, actually not so (sendmail_outbound_enable is supposed to be
  set to
  YES, as per defaults, but init says otherwise -- and I don't know
  what that
  means). But it starts without delays and can send/receive mail (even
  internet mail, wow!).

 Take a look at /etc/defaults/rc.conf for all of the gory details.
 You probably meant sendmail_enable=YES, but:

 # Settings for /etc/rc.sendmail and /etc/rc.d/sendmail:
 sendmail_enable=NO# Run the sendmail inbound daemon (YES/NO).
 sendmail_pidfile=/var/run/sendmail.pid# sendmail pid file
 sendmail_procname=/usr/sbin/sendmail  # sendmail
 process name
 sendmail_flags=-L sm-mta -bd -q30m # Flags to sendmail (as a server)
 sendmail_submit_enable=YES# Start a localhost-only MTA
 for mail
 submission
 sendmail_submit_flags=-L sm-mta -bd -q30m -
 ODaemonPortOptions=Addr=localhost
  # Flags for localhost-only MTA
 sendmail_outbound_enable=YES  # Dequeue stuck mail (YES/NO).
 sendmail_outbound_flags=-L sm-queue -q30m # Flags to sendmail
 (outbound only)
 sendmail_msp_queue_enable=YES # Dequeue stuck clientmqueue mail
 (YES/NO).
 sendmail_msp_queue_flags=-L sm-msp-queue -Ac -q30m
  # Flags for
 sendmail_msp_queue daemon.

Honestly, I don't understand what each of this four daemons is supposed
to do. I just want the minimal working sendmail config in a NATed host,
the /etc/defaults/rc.conf reads as your sample, and init says
sendmail_outbound_enable is set to NO, which seems odd but dunno the
consequences.


  I chose .localhost to qualify the hostname because the notion of
  public
  domain name is where I get lost. Can I pick any word as TLD/SLD to
  operate
  in a private LAN?

 Yes, but using a local domain which conflicts with existing domains
 is strongly not recommended.  Consider what happens if a
 local config
 issue bounces email or worse to somebody else, or consider what
 happens if you chose .net or .com instead of .localhost.

  Is there any standard, anything like the CIDR blocks reserved for
  private networks?

 The zeroconf/rendezvous stuff likes to use .local as the domain
 unless other info is available.

Cool. Tried .local and works too. Looks like sendmail is happy with
finding 'dot anything' after the hostname. So far, my problem is fixed.
But the init behavior for unqualified hostnames is less than optimal:
having to wait one minute until sendmail agrees --and it finally
agrees-- is annoying; and this happens for every sendmail daemon launch.
As more end-users using PCs without FQDN jump to FreeBSD this could be
more heard of. Wonder if filing a PR; comments welcome.


  Researchs led me to RFC 2606, alternative DNS
  roots, and the like, but I couldn't distill any practical advice.
  Which will
  be the interactions if I choose e.g. .somedomain.com? Now
 if I send
  a mail
  to the internet, it has a From field ([EMAIL PROTECTED]) unusable to
  reply to;
  if this was [EMAIL PROTECTED] it could fake some
 real mail
  address.

 Yes, absolutely, or to bounce email back to the example domain.
 Network admins get cross when you pretend to be in a domain that you
 have no affiliation with and they have to get your ISP to clean up
 after you  :-)

 --
 -Chuck


Thanks.

Ernest


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


Newbie Question: Mail from from cron jobs...

2007-05-15 Thread Ian Lord
Hi,

 

Everyday, cron is sending me status reports of jobs it ran.

 

In my /etc/mail/aliases I configured root: [EMAIL PROTECTED] and it works
fine.

 

The problem, is that the mail is coming from

 

[EMAIL PROTECTED]

 

We have a spamfirewall and it rejects the mail saying localhost.mydomain.com
is invalid.

 

Where can I change the address [EMAIL PROTECTED] to
[EMAIL PROTECTED] ?

 

Thanks a lot

 

 

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


Re: sendmail init error: Can't assign requested address

2007-05-15 Thread Chuck Swiger

On May 15, 2007, at 9:06 AM, Ernest Sales wrote:
[ ... ]
Honestly, I don't understand what each of this four daemons is  
supposed
to do. I just want the minimal working sendmail config in a NATed  
host,

the /etc/defaults/rc.conf reads as your sample, and init says
sendmail_outbound_enable is set to NO, which seems odd but dunno the
consequences.


There are only two daemons, actually: the MTA, and the client mqueue  
runner.


The separation was made because sendmail used to run as a single,  
setuid-root executable, and has had a rather infamous security  
history as a consequence.  If you want sendmail to be running and  
listening on port 25 as a MTA, you need to set the sendmail_enable/ 
sendmail_outbound_enable to YES.


[ ... ]

Is there any standard, anything like the CIDR blocks reserved for
private networks?


The zeroconf/rendezvous stuff likes to use .local as the domain
unless other info is available.


Cool. Tried .local and works too. Looks like sendmail is happy with
finding 'dot anything' after the hostname. So far, my problem is  
fixed.

But the init behavior for unqualified hostnames is less than optimal:
having to wait one minute until sendmail agrees --and it finally
agrees-- is annoying; and this happens for every sendmail daemon  
launch.

As more end-users using PCs without FQDN jump to FreeBSD this could be
more heard of. Wonder if filing a PR; comments welcome.


The standard period for a DNS timeout is anywhere up to about two  
minutes, depending on how many resolvers are configured in /etc/ 
resolv.conf.  It's possible to tell sendmail not to use DNS, and  
avoid this timeout, but normally people run mailservers only on  
machines with working DNS and a sensible hostname.  This isn't a bug,  
it's just an assumption that sendmail makes which is typically  
appropriate, but not for the case of a random client machine without  
working DNS


--
-Chuck

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


Re: Dell D610 touchpad configuration

2007-05-15 Thread Victor Engmark

On 4/27/07, Victor Engmark [EMAIL PROTECTED] wrote:


I'm attempting to configure my laptop properly for X.org, and the only
device which doesn't work properly now is the touchpad. The tutorials
I've seen so far seem to assume that all touchpads use the Synaptic
driver, but this is the information I get at boot time, and which I
assume is the touchpad:
$ dmesg | grep psm0
psm0: PS/2 Mouse irq 12 on atkbdc0
psm0: [GIANT-LOCKED]
psm0: model GlidePoint, device ID 0



Finally, I got a working setup with both mice working at the same time.
Turns out I had to ditch the synaptics driver. In case someone else needs
it, here goes...

xorg.conf relevant sections (with #comments):
Section ServerLayout
 Identifier Dell Latitude D610
 Screen  0  Dell Latitude D610 screen 0 0
 InputDeviceAlps GlidePoint Touchpad
 InputDeviceDell USB mouse
 InputDeviceDell Latitude D610 keyboard
EndSection

# Don't load synaptics in the Module section

Section InputDevice
 Identifier  Alps GlidePoint Touchpad
 Driver  mouse # Don'
 Option  CorePointer # This makes X.org startup fail if the
device can't be initialized
 Option  Device/dev/psm0 # This may be
different on other *nixes
 Option  Protocol  PS/2 # Using GlidePoint gave
some weird behavior
# The following options are not mandatory, as far as I can see
 Option  LeftEdge  1700
 Option  RightEdge 5300
 Option  TopEdge   1700
 Option  BottomEdge4200
 Option  FingerLow 25
 Option  FingerHigh30
 Option  MaxTapTime180
 Option  MaxTapMove220
 Option  VertScrollDelta   100
 Option  HorizScrollDelta  100
 Option  MinSpeed  0.06
 Option  MaxSpeed  0.06
 Option  AccelFactor   0.0010
 Option  ScrollButtonRepeat100
 Option  UpDownScrolling   on
 Option  UpDownRepeat  on
 Option  LeftRightScrollingon
 Option  LeftRightRepeat   on
 Option  SHMConfig on
 Option  Emulate3Buttons off
EndSection

Section InputDevice
 Identifier  Dell USB mouse
 Driver  mouse
 Option  AlwaysCore  on
 Option  Device  /dev/sysmouse
 Option  Protocolauto
 Option  Buttons 5
 Option  ZAxisMapping4 5 # Scroll wheel
 Option  Emulate3Buttons off
EndSection


--
Victor Engmark
Quidquid latine dictum sit, altum videtur - What is said in Latin, sounds
profound
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: .login_conf ignored [solved]

2007-05-15 Thread Ernest Sales
On Tuesday, May 15, 2007 5:00 PM, Christopher Illies wrote:

 On Tue, May 15, 2007 at 04:36:46PM +0200, Ernest Sales wrote:
  On Tuesday, May 15, 2007 1:18 PM, Christopher Illies wrote:
 
   On Tue, May 15, 2007 at 12:27:10PM +0200, Ernest Sales wrote:
On Tue, 15 May 2007 09:14:42 +0200, Christopher Illies wrote:
   
 The locale settings in my .login_conf are ignored:

 ; cat .login_conf
 # $FreeBSD: src/share/skel/dot.login_conf,v 1.3
   2001/06/10 17:08:53
 # ache Exp $
 #
 # see login.conf(5)
 #
 me:\
 :charset=UTF-8:\
 :lang=en_US.UTF-8:

 ; env | egrep -i 'lang|charset'
 LANG=en_US.ISO8859-1
 MM_CHARSET=iso-8859-1
 ; ls -l .login_conf
 -rw-r--r--  1 chris  chris  146 May 15 08:26 .login_conf
 ; uname -r
 6.2-STABLE
 [...]
Never had to deal with ~/.login_conf files, but what
   cap_mkdb manpage seems
to say
is that you have to concatenate all sources in one run, i.e.
   
cap_mkdb /etc/login.conf /home/user1/.login.conf
   /home/user2/.login.conf ...
   
HTH
   
Ernest
  
   Thanks, unfortunately no success.
  
   When I concatenate all ~/login_conf files with
 /etc/login.conf I get
   the following warning message:
   cap_mkdb: ignored duplicate: me
 
  So I was mistaken. Try compiling just your ~/login_conf, make sure a
  ~/login_conf.db file appears.
 
  Ernest

 Thanks, that has worked!

 Before I always used cap_mkdb /etc/login.conf plus all the user's
 $HOME/.login_conf, but just using it on my ~/.login_conf did the
 trick. A ~/.login_conf.db file has appeared.

 I feel a bit silly for not having come up with it myself. I guess what
 confused me was that on another user's account the cap_mkdb compiling
 wasn't neccessary, but I don't need to understand that now that it
 works for me.

 Thanks again.

 Christopher

But you are still curious, aren't you? AFAIK, there are two possible
explanations:

1) There _is_ a .login_conf.db file in the other user's homedir.

2) The other account pertains to a different login class than yours,
which already sets the desired locale and so masquerades the user's
settings being ignored. Dunno if a user can see his own login class. If
you have permissions, can use vipw to find out (if unfamiliar, take a
look to vipw(8) and passwd(5) manpages, notice the 'class' field).

Ernest


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


Re: Dell D610 touchpad configuration

2007-05-15 Thread Victor Engmark

On 5/15/07, Victor Engmark [EMAIL PROTECTED] wrote:


  Driver  mouse # Don'



Sorry, Gmail got hold of the email with a stray CTRL sequence. The comment
was just supposed to be:
Don't use synaptics, contrary to different tutorials / forum posts it
won't work.

Also, AlwaysCore is necessary for the secondary mouse to make sure events
from it (movement, clicks) are picked up by X. It is equivalent to
SendCoreEvents, according to
man xorg.conf

No moused settings are necessary with this setup.

--
Victor Engmark
Quidquid latine dictum sit, altum videtur - What is said in Latin, sounds
profound
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: cdrtools question

2007-05-15 Thread Herbert J. Skuhra
On Mon, 14 May 2007 14:36:45 +0200
Volker [EMAIL PROTECTED] wrote:

 I'm unable to help with your real problem but switching from cdrtools
 to cdrtools-devel goes like this:
 
 `portupgrade -o sysutils/cdrtools-devel cdrtools'

This breaks sysutils/hal.

- Herbert

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


Re: Fwd: troubles with libxslt and libxml2 from ports.

2007-05-15 Thread Jeff MacDonald

On 5/15/07, Pav Lucistnik [EMAIL PROTECTED] wrote:

Jeff MacDonald píše v út 15. 05. 2007 v 11:23 -0400:

 I'm trying to install textproc/libxslt on a 6.1 machine.

 The issue is, is that it needs libxml2 - 2.6.27 . I've installed this
 version but everytime I try to install libxslt it complains saying it
 can only find libxml2 2.6.22

 Here is a type script of my build process

 http://www.suite2101.com/help

And what is your installed libxml2 version, really?
What pkg_info output lists?


dns1# pkg_info | grep xml
libxml2-2.6.27  XML parser library for GNOME
py24-libxml2-2.6.27 Python interface for XML parser library for GNOME

For the record, I was able to reproduce this on another FreeBSD machine.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Fwd: troubles with libxslt and libxml2 from ports.

2007-05-15 Thread Jeff MacDonald

On 5/15/07, Jeff MacDonald [EMAIL PROTECTED] wrote:

On 5/15/07, Pav Lucistnik [EMAIL PROTECTED] wrote:
 Jeff MacDonald píše v út 15. 05. 2007 v 11:23 -0400:

  I'm trying to install textproc/libxslt on a 6.1 machine.
 
  The issue is, is that it needs libxml2 - 2.6.27 . I've installed this
  version but everytime I try to install libxslt it complains saying it
  can only find libxml2 2.6.22
 
  Here is a type script of my build process
 
  http://www.suite2101.com/help

 And what is your installed libxml2 version, really?
 What pkg_info output lists?

dns1# pkg_info | grep xml
libxml2-2.6.27  XML parser library for GNOME
py24-libxml2-2.6.27 Python interface for XML parser library for GNOME

For the record, I was able to reproduce this on another FreeBSD machine.



Well, I'm replying to all here, tho I'm not sure where to ofically report it

there is a file xml2-config that exists in both /usr/bin by default
and ports installs it in /usr/local/bin

/usr/bin is set in my path first. So for now I've just renamed
/usr/bin/xml2-config to /usr/bin/xml2-config.dist and things seem to
be working fine.

Thanks for the replies.

--
Unless otherwise indicated, anything I write is either garnered from
experience or pulled out of my ass, depending on situational needs..

Jeff MacDonald
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Looks like atrun has a race condition? (was: at job disappears?)

2007-05-15 Thread Dieter
 FreeBSD 6.2
 AMD64 (single CPU)
 /var is FFS with soft-updates, on SATA.
 
 /var/cron/tabs/root  contains:
 
   * *   *   *   *   /usr/libexec/atrun
 
 I had three at jobs queued.  They all call the same shell
 script with different arguments.  First one runs fine.
 Second one gets:
 
   atrun[3212]: cannot open input file: No such file or directory
 
 And then the third one runs fine.
 
 The machine is idle except for the at jobs.  No reboot, no fsck.
 As far as I know, nothing should be mucking around in /var/at except
 atrun.  Nothing to explain a file disappearing into thin air.

Looking at the atrun source, I think there is a race condition.

When atrun starts running a job, the first thing it does is
chmod the job file to 400.  But in main() we have

/*  Delete older files
 */
if ((run_time  now)  !(S_IXUSR  buf.st_mode)  (S_IRUSR  
buf.st_mode))
unlink(dirent-d_name);

Main() doesn't know that run_file() isn't finished with the file and
blindly unlinks it.

Since run_file() unlinks the file when it is finished, I assume the unlink
in main() is to clean up files after a crash?  Perhaps main() should only
unlink the file if it is really old, say a week.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Anyone could make Epson Stylus cx4700 work?

2007-05-15 Thread Anton Galitch

Hi
I tried to install my epson stylus cx4700 printer, I installed cups, then
gutenprint.
When configuring the printer in kde control center it detected the driver
for stylus cx4700 and a device was /dev/ulpt0  (its has a usb connection).
After doing that I wanted to test it, but it couldnt print anything. neither
it can give me information about ink level. It says Device is busy.
So could anyone install this printer?
Im installing it in my x86 Freebsd 6.2
Thanks.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Anyone could make Epson Stylus cx4700 work?

2007-05-15 Thread Roland Smith
On Tue, May 15, 2007 at 01:51:53PM -0300, Anton Galitch wrote:
  Hi
  I tried to install my epson stylus cx4700 printer, I installed cups, then
  gutenprint.
  When configuring the printer in kde control center it detected the driver
  for stylus cx4700 and a device was /dev/ulpt0  (its has a usb connection).
  After doing that I wanted to test it, but it couldnt print anything. neither
  it can give me information about ink level. It says Device is busy.

One thing to check for are the permissions of the device file
/dev/ulpt0. Cups needs to be able to read from and write to this device,
so you should add an entry for it to /etc/devfs.rules. It should _not_
be in /etc/devfs.conf, since usb devices can appear at runtime.

(The first line is only needed when you haven't already got a ruleset name.)

[foo=10]
add path 'ulpt*' mode 0660 group cups

And in /etc/rc.conf you should add:

devfs_system_ruleset=foo

Hope this helps.

Roland
-- 
R.F.Smith   http://www.xs4all.nl/~rsmith/
[plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
pgp: 1A2B 477F 9970 BA3C 2914  B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)


pgpZIzsH01MLj.pgp
Description: PGP signature


Re: Fwd: troubles with libxslt and libxml2 from ports.

2007-05-15 Thread Roland Smith
On Tue, May 15, 2007 at 01:03:42PM -0400, Jeff MacDonald wrote:
  Well, I'm replying to all here, tho I'm not sure where to ofically report it
 
  there is a file xml2-config that exists in both /usr/bin by default
  and ports installs it in /usr/local/bin
 
  /usr/bin is set in my path first. So for now I've just renamed
  /usr/bin/xml2-config to /usr/bin/xml2-config.dist and things seem to
  be working fine.

It's probably a leftover from an older port. It's not in the base system
AFAIK, at least it's not on my machine. I think you can safely delete it
from /usr/bin.

Roland
-- 
R.F.Smith   http://www.xs4all.nl/~rsmith/
[plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
pgp: 1A2B 477F 9970 BA3C 2914  B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)


pgpKcneMKZd6M.pgp
Description: PGP signature


/etc/devfs.conf not working properly

2007-05-15 Thread Jim Stapleton

I have my /etc/devfs.conf file set to make some of my files
mountable/readable directly for normal users (specifically CD/DVD
devices). However, the original permissions are being retained. Am I
doing something wrong in the setup? (I have rebooted the machine since
these entries were created)


devfs.conf:

linkacd0cdrom
linkacd0dvd

linkacd0dvd0
linkacd1dvd1

linkacd0cdrom0
linkacd1cdrom1

own acd0root:operator
own acd1root:operator
own dvd root:operator
own cdrom   root:operator
own dvd0root:operator
own dvd1root:operator
own cdrom0  root:operator
own cdrom1  root:operator

permacd00770
permacd10770
permdvd 0770
permcdrom   0770
permdvd00770
permdvd10770
permcdrom0  0770
permcdrom0  0770



#memory disks
own mdctl   root:operator
permmdctl   770


# Allow a user in the wheel group to query the smb0 device
#perm   smb00660

# Allow members of group operator to cat things to the speaker
#ownspeaker root:operator
#perm   speaker 0660



the majority of the relevant files look like this:

[EMAIL PROTECTED] 13:50:52 (0) /etc   ls -l /dev | grep dvd
lrwxr-xr-x  1 root  wheel4 May 10 05:32 dvd - acd0
lrwxr-xr-x  1 root  wheel4 May 10 05:32 dvd0 - acd0
lrwxr-xr-x  1 root  wheel4 May 10 05:32 dvd1 - acd1
[EMAIL PROTECTED] 13:51:03 (0) /etc   ls -l /dev | grep cd
crwxrwx---  1 root  operator0,  89 May 10 05:31 acd0
crwxrwx---  1 root  operator0,  90 May 10 05:31 acd1
lrwxr-xr-x  1 root  wheel4 May 10 05:32 cdrom - acd0
lrwxr-xr-x  1 root  wheel4 May 10 05:32 cdrom0 - acd0
lrwxr-xr-x  1 root  wheel4 May 10 05:32 cdrom1 - acd1
lrwxr-xr-x  1 root  wheel4 May 10 05:32 dvd - acd0
lrwxr-xr-x  1 root  wheel4 May 10 05:32 dvd0 - acd0
lrwxr-xr-x  1 root  wheel4 May 10 05:32 dvd1 - acd1



Their permssions are not correct at all, except for acd0/acd1. Any
suggestions on what would cause this one?

Thank you,
-Jim Stapleton
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Problem with Iomega Peerless...

2007-05-15 Thread Efren Bravo
Hi,

With my old freeBSD6.0 I had an usb iomega
peerless connected to my box. freeBSD recognized
it as da0 device.

Now I've updated to 6.1-RELEASE-p16 and the
device da0 isn't appear under /dev hence I cann't
mount it.

dmesg only shows:
-
umass0: Iomega USB Peerless, rev 1.10/1.00, addr
2

kernel has those devices enabled:

device  scbus   # SCSI bus
(required for SCSI)

device  da  # Direct Access
(disks)

device  umass   # Disks/Mass
storage - Requires scbus and da


Iomega Peerless is no longer supported by
freeBSD, if is supported what am I doing wrong?


Thanks




__ 
LLama Gratis a cualquier PC del Mundo. 
Llamadas a fijos y móviles desde 1 céntimo por minuto. 
http://es.voice.yahoo.com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: File System errors

2007-05-15 Thread Chuck Swiger

On May 15, 2007, at 11:15 AM, Ross Penner wrote:
[ ... about fsck... ]

It seems to my unexperienced eye that their are problems in some of
the filesystems, but they arn't being resolved. I tried running fsck
-y  and nothing changed. What am I doing wrong? How can I resolve
these issues? Thanks for any help you can offer.


You can only (usefully) run fsck on unmounted filesystems.  Normally,  
if a filesystem has problems and cannot be mounted, the system will  
not enter multi-user mode and will require the operator to run it  
from single-user mode.  You can also boot off of a CD and fsck the  
hard drive that way.


Note that you generally need to answer yes to the repair questions  
fsck asks of you


--
-Chuck

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


Re: /etc/devfs.conf not working properly

2007-05-15 Thread Roland Smith
On Tue, May 15, 2007 at 01:53:47PM -0400, Jim Stapleton wrote:
  I have my /etc/devfs.conf file set to make some of my files
  mountable/readable directly for normal users (specifically CD/DVD
  devices). However, the original permissions are being retained. Am I
  doing something wrong in the setup? (I have rebooted the machine since
  these entries were created)
  devfs.conf:
  
  linkacd0cdrom
  linkacd0dvd
 
  linkacd0dvd0
  linkacd1dvd1
 
  linkacd0cdrom0
  linkacd1cdrom1
 
  own acd0root:operator
  own acd1root:operator
  own dvd root:operator
  own cdrom   root:operator
  own dvd0root:operator
  own dvd1root:operator
  own cdrom0  root:operator
  own cdrom1  root:operator
 
  permacd00770
  permacd10770
  permdvd 0770
  permcdrom   0770
  permdvd00770
  permdvd10770
  permcdrom0  0770
  permcdrom0  0770
snip
  the majority of the relevant files look like this:
  
  [EMAIL PROTECTED] 13:51:03 (0) /etc   ls -l /dev | grep cd
  crwxrwx---  1 root  operator0,  89 May 10 05:31 acd0
  crwxrwx---  1 root  operator0,  90 May 10 05:31 acd1
  lrwxr-xr-x  1 root  wheel4 May 10 05:32 cdrom - acd0
  lrwxr-xr-x  1 root  wheel4 May 10 05:32 cdrom0 - acd0
  lrwxr-xr-x  1 root  wheel4 May 10 05:32 cdrom1 - acd1
  lrwxr-xr-x  1 root  wheel4 May 10 05:32 dvd - acd0
  lrwxr-xr-x  1 root  wheel4 May 10 05:32 dvd0 - acd0
  lrwxr-xr-x  1 root  wheel4 May 10 05:32 dvd1 - acd1
  
 
 
  Their permssions are not correct at all, except for acd0/acd1. Any
  suggestions on what would cause this one?

You cannot set permissions on symbolic links. Check out the relevant code in
/etc/rc.d/devfs: 

p*) for device in ${devicelist}; do
if [ -c ${device} ]; then
chmod ${parameter} ${device}
fi
done
;;

Without the '-h' argument to chmod, it changes the permissions
on the device, not on the link! Changing permissions on a symbolic link
doesn't seem to accomplish anything, btw. If I create a link to a
regular file and chmod it to 000, I can still read/write the linked file.

If you want all users to have access to the cdrom, use this:

own cd0 root:cdrom
permcd0 0666

A bit less open would be:

own cd0 root:cdrom
permcd0 0660

which restricts access to the cdrom to members of the cdrom group.
AFAIK, you don't need to set execute bits on devices.

Roland
-- 
R.F.Smith   http://www.xs4all.nl/~rsmith/
[plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
pgp: 1A2B 477F 9970 BA3C 2914  B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)


pgpsnRXZrdjDX.pgp
Description: PGP signature


Re: File System errors

2007-05-15 Thread Jerry McAllister
On Tue, May 15, 2007 at 12:15:06PM -0600, Ross Penner wrote:

 I recently had my system freeze so I had to manually restart it. I was
 worried that there would be some problems with the filesystem so I
 looked into the matter and discovered the utility fsck. I ran this as
 root and I got the following:
 
 rosbot# fsck
 ** /dev/ar0s1a (NO WRITE)
 ** Last Mounted on /
 ** Root file system
 ** Phase 1 - Check Blocks and Sizes
 ** Phase 2 - Check Pathnames
 ** Phase 3 - Check Connectivity
 ** Phase 4 - Check Reference Counts
 ** Phase 5 - Check Cyl groups
 1549 files, 27349 used, 226466 free (650 frags, 28227 blocks, 0.3%
 fragmentation)
 ** /dev/ar0s1e (NO WRITE)
 ** Last Mounted on /tmp
 ** Phase 1 - Check Blocks and Sizes
 ** Phase 2 - Check Pathnames
 ** Phase 3 - Check Connectivity
 ** Phase 4 - Check Reference Counts
 ** Phase 5 - Check Cyl groups
 39 files, 2445 used, 251370 free (50 frags, 31415 blocks, 0.0% 
 fragmentation)
 ** /dev/ar0s1f (NO WRITE)
 ** Last Mounted on /usr
 ** Phase 1 - Check Blocks and Sizes
 ** Phase 2 - Check Pathnames
 ** Phase 3 - Check Connectivity
 ** Phase 4 - Check Reference Counts
 ** Phase 5 - Check Cyl groups
 FREE BLK COUNT(S) WRONG IN SUPERBLK
 SALVAGE? no
 
 292882 files, 98192697 used, 135895442 free (39610 frags, 16981979
 blocks, 0.0% fragmentation)
 ** /dev/ar0s1d (NO WRITE)
 ** Last Mounted on /var
 ** Phase 1 - Check Blocks and Sizes
 ** Phase 2 - Check Pathnames
 ** Phase 3 - Check Connectivity
 ** Phase 4 - Check Reference Counts
 UNREF FILE I=117781  OWNER=root MODE=140666
 SIZE=0 MTIME=May 15 09:56 2007
 CLEAR? no
 
 UNREF FILE I=141337  OWNER=teamspeak MODE=100600
 SIZE=2048 MTIME=May 15 09:56 2007
 CLEAR? no
 
 ** Phase 5 - Check Cyl groups
 FREE BLK COUNT(S) WRONG IN SUPERBLK
 SALVAGE? no
 
 SUMMARY INFORMATION BAD
 SALVAGE? no
 
 18514 files, 70825 used, 905728 free (6688 frags, 112380 blocks, 0.7%
 fragmentation)
 
 
 It seems to my unexperienced eye that their are problems in some of
 the filesystems, but they arn't being resolved. I tried running fsck
 -y  and nothing changed. What am I doing wrong? How can I resolve
 these issues? Thanks for any help you can offer.

I may be mistaking something, but it kind of looks like it doesn't
have write access to the drive.Fsck has to be able to write to
fix anything.

Also, you need to answer 'y' when it asks to 'salvage'.  Of course, 
doing the fsck -y should take care of that issue, but it still must
have write permission.   I don't know why it wouldn't have write ability.

jerry

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


Re: Anyone could make Epson Stylus cx4700 work?

2007-05-15 Thread John Nielsen
On Tuesday 15 May 2007 01:44:17 pm Roland Smith wrote:
 On Tue, May 15, 2007 at 01:51:53PM -0300, Anton Galitch wrote:
   Hi
   I tried to install my epson stylus cx4700 printer, I installed cups,
  then gutenprint.
   When configuring the printer in kde control center it detected the
  driver for stylus cx4700 and a device was /dev/ulpt0  (its has a usb
  connection). After doing that I wanted to test it, but it couldnt print
  anything. neither it can give me information about ink level. It says
  Device is busy.

 One thing to check for are the permissions of the device file
 /dev/ulpt0. Cups needs to be able to read from and write to this device,
 so you should add an entry for it to /etc/devfs.rules. It should _not_
 be in /etc/devfs.conf, since usb devices can appear at runtime.

 (The first line is only needed when you haven't already got a ruleset
 name.)

 [foo=10]
 add path 'ulpt*' mode 0660 group cups

 And in /etc/rc.conf you should add:

 devfs_system_ruleset=foo

 Hope this helps.

 Roland

Alternatively, just put this in /etc/devfs.conf:

own ulpt0   root:cups
permulpt0   0664


That's all I had to do to get my cx4800 printing with ulpt and cups.

FYI, the cardreader on my cx4800 works when ulpt is NOT loaded or in the 
kernel but umass is. Similarly, the scanner only works when neither ulpt nor 
umass is loaded or in the kernel. It doesn't attach to uscanner but it works 
with libusb.

JN

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


Re: File System errors

2007-05-15 Thread Roland Smith
On Tue, May 15, 2007 at 12:15:06PM -0600, Ross Penner wrote:
  I recently had my system freeze so I had to manually restart it. I was
  worried that there would be some problems with the filesystem so I
  looked into the matter and discovered the utility fsck. I ran this as
  root and I got the following:

You normally don't have to do this manually. If a filesystem isn't
cleanly unmounted, it is automatically checked (in the background if
possible, so it might take a while) on the next boot. 

And in that case fsck won't bother you unless it runs into problems it
can't solve.

Roland
-- 
R.F.Smith   http://www.xs4all.nl/~rsmith/
[plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
pgp: 1A2B 477F 9970 BA3C 2914  B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)


pgp15Vco5ZzC4.pgp
Description: PGP signature


Re: Fwd: troubles with libxslt and libxml2 from ports.

2007-05-15 Thread Pav Lucistnik
Jeff MacDonald píše v út 15. 05. 2007 v 13:03 -0400:

 /usr/bin is set in my path first. So for now I've just renamed
 /usr/bin/xml2-config to /usr/bin/xml2-config.dist and things seem to
 be working fine.

There is no /usr/bin/xml2-config in FreeBSD, and never was.

Get rid of it.

-- 
Pav Lucistnik [EMAIL PROTECTED]
  [EMAIL PROTECTED]

Any Palm app requiring an 90+ page manual has lost its vision.
-- words about DateBk4 on Action Names list


signature.asc
Description: Toto je digitálně	 podepsaná část	 zprávy


Re: Anyone could make Epson Stylus cx4700 work?

2007-05-15 Thread Roland Smith
On Tue, May 15, 2007 at 02:56:25PM -0400, John Nielsen wrote:
 On Tuesday 15 May 2007 01:44:17 pm Roland Smith wrote:
  On Tue, May 15, 2007 at 01:51:53PM -0300, Anton Galitch wrote:
Hi
I tried to install my epson stylus cx4700 printer, I installed cups,
   then gutenprint.
When configuring the printer in kde control center it detected the
   driver for stylus cx4700 and a device was /dev/ulpt0  (its has a usb
   connection). After doing that I wanted to test it, but it couldnt print
   anything. neither it can give me information about ink level. It says
   Device is busy.
 
  One thing to check for are the permissions of the device file
  /dev/ulpt0. Cups needs to be able to read from and write to this device,
  so you should add an entry for it to /etc/devfs.rules. It should _not_
  be in /etc/devfs.conf, since usb devices can appear at runtime.
 
  (The first line is only needed when you haven't already got a ruleset
  name.)
 
  [foo=10]
  add path 'ulpt*' mode 0660 group cups
 
  And in /etc/rc.conf you should add:
 
  devfs_system_ruleset=foo
 
  Hope this helps.
 
  Roland
 
 Alternatively, just put this in /etc/devfs.conf:
 
 own   ulpt0   root:cups
 perm  ulpt0   0664
 

This will only work if the printer is connected and switched on at boot!

Generally it's better to put USB devices in /etc/devfs.rules.

Roland
-- 
R.F.Smith   http://www.xs4all.nl/~rsmith/
[plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
pgp: 1A2B 477F 9970 BA3C 2914  B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)


pgpyJXqnpYseJ.pgp
Description: PGP signature


Re: Anyone could make Epson Stylus cx4700 work?

2007-05-15 Thread Anton Galitch

Thanks Roland, I put what you have said to /etc/devfs.rules and it printed
the test page well =)
The only problem now is Epson Inkjet Tool that shows ink levels, cleans
heads, etc when I click on Show ink level it tells:
ERROR:
Cannot open /dev/ulpt0 read/write: Permission denied


pgpNc0BJFAaX5.pgp
Description: PGP signature
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]

postgresql7 server with 8 client, and XML

2007-05-15 Thread Jeff MacDonald

Hiya,

I'd like to build databases/postgresql74-server.

When I try to it say that it cannot install as long as i have
databases/postgresql8 installed.

The thing is, i don't want to install 7.4, i only want to build it,and
the reason i want to build it is because i want to build
work/postgresql/contrib/xml

8.x comes with contrib/xml2 which is not what i want.

---

I tried just downloading postgresql 7.4 from the pgsql site but when I
go try to make contrib/xml i get the following

http://www.suite2101.com/help/pgsql

contrib/xml is preferrable to me over contrib/xml2 as i need to
support a pile of legacy applications that use 2 specific functions in
contrib/xml that are not in contrib/xml2

Help please.

--
Unless otherwise indicated, anything I write is either garnered from
experience or pulled out of my ass, depending on situational needs..

Jeff MacDonald
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: mount problem after the kernel load: Manual root filesystem specification

2007-05-15 Thread Olivier Utkala

Olivier Utkala wrote:

Hi All,

After the kernel load, it's necessary for me to enter the folowing to 
continue the start process:

mountroot ufs:ad2s1a

I find on another machine, wich start correctly, with the same version 
of FreeBSD, that the last line of command kenv results:

   vfs.root.mountfrom=ufs:/dev/ad0s1a
On my start-problem machine, these last line don't exists.


I set the correct value for vfs.root.mountfrom in file 
/boot/loader.rc, and then the start process can continue without asking

manual root filesystem specification :

=8---
\ Set this to mount 
set vfs.root.mountfrom=ufs:/dev/ad2s1a

=8---

Hope this hint help other people.

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


Re: /etc/devfs.conf not working properly

2007-05-15 Thread Jim Stapleton

Thank you, I couldn't find the user mount flag. It's not in the files
comments, the sysctl (3)(8) man page or the sysctl.conf (8) man page.
Where can I find it listed?

Thanks,
-Jim Stapleton

On 5/15/07, Daniel Molina Wegener [EMAIL PROTECTED] wrote:


El Mar, 15 de Mayo de 2007, 13:53, Jim Stapleton escribió:
 I have my /etc/devfs.conf file set to make some of my files
 mountable/readable directly for normal users (specifically CD/DVD
 devices). However, the original permissions are being retained. Am I
 doing something wrong in the setup? (I have rebooted the machine since
 these entries were created)


 devfs.conf:
 
 linkacd0cdrom
 linkacd0dvd

 linkacd0dvd0
 linkacd1dvd1

 linkacd0cdrom0
 linkacd1cdrom1

 own acd0root:operator
 own acd1root:operator
 own dvd root:operator
 own cdrom   root:operator
 own dvd0root:operator
 own dvd1root:operator
 own cdrom0  root:operator
 own cdrom1  root:operator

 permacd00770
 permacd10770
 permdvd 0770
 permcdrom   0770
 permdvd00770
 permdvd10770
 permcdrom0  0770
 permcdrom0  0770



 #memory disks
 own mdctl   root:operator
 permmdctl   770


 # Allow a user in the wheel group to query the smb0 device
 #perm   smb00660

 # Allow members of group operator to cat things to the speaker
 #ownspeaker root:operator
 #perm   speaker 0660
 


 the majority of the relevant files look like this:
 
 [EMAIL PROTECTED] 13:50:52 (0) /etc   ls -l /dev | grep dvd
 lrwxr-xr-x  1 root  wheel4 May 10 05:32 dvd - acd0
 lrwxr-xr-x  1 root  wheel4 May 10 05:32 dvd0 - acd0
 lrwxr-xr-x  1 root  wheel4 May 10 05:32 dvd1 - acd1
 [EMAIL PROTECTED] 13:51:03 (0) /etc   ls -l /dev | grep cd
 crwxrwx---  1 root  operator0,  89 May 10 05:31 acd0
 crwxrwx---  1 root  operator0,  90 May 10 05:31 acd1
 lrwxr-xr-x  1 root  wheel4 May 10 05:32 cdrom - acd0
 lrwxr-xr-x  1 root  wheel4 May 10 05:32 cdrom0 - acd0
 lrwxr-xr-x  1 root  wheel4 May 10 05:32 cdrom1 - acd1
 lrwxr-xr-x  1 root  wheel4 May 10 05:32 dvd - acd0
 lrwxr-xr-x  1 root  wheel4 May 10 05:32 dvd0 - acd0
 lrwxr-xr-x  1 root  wheel4 May 10 05:32 dvd1 - acd1
 


 Their permssions are not correct at all, except for acd0/acd1. Any
 suggestions on what would cause this one?

 Thank you,
 -Jim Stapleton
 [SNIP]


Hello,

   Try the user mount flag with sysctl. You can set the flag on boot editing the
/etc/sysctl.conf file.

Regards,
--
 .O. | Daniel Molina Wegener   | C/C++ Developer
 ..O | dmw [at] unete [dot] cl | FOSS Coding Adict
 OOO | BSD  Linux User| Standards Rocks!




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


Re: /etc/devfs.conf not working properly

2007-05-15 Thread Daniel Molina Wegener

El Mar, 15 de Mayo de 2007, 13:53, Jim Stapleton escribió:
 I have my /etc/devfs.conf file set to make some of my files
 mountable/readable directly for normal users (specifically CD/DVD
 devices). However, the original permissions are being retained. Am I
 doing something wrong in the setup? (I have rebooted the machine since
 these entries were created)


 devfs.conf:
 
 linkacd0cdrom
 linkacd0dvd

 linkacd0dvd0
 linkacd1dvd1

 linkacd0cdrom0
 linkacd1cdrom1

 own acd0root:operator
 own acd1root:operator
 own dvd root:operator
 own cdrom   root:operator
 own dvd0root:operator
 own dvd1root:operator
 own cdrom0  root:operator
 own cdrom1  root:operator

 permacd00770
 permacd10770
 permdvd 0770
 permcdrom   0770
 permdvd00770
 permdvd10770
 permcdrom0  0770
 permcdrom0  0770



 #memory disks
 own mdctl   root:operator
 permmdctl   770


 # Allow a user in the wheel group to query the smb0 device
 #perm   smb00660

 # Allow members of group operator to cat things to the speaker
 #ownspeaker root:operator
 #perm   speaker 0660
 


 the majority of the relevant files look like this:
 
 [EMAIL PROTECTED] 13:50:52 (0) /etc   ls -l /dev | grep dvd
 lrwxr-xr-x  1 root  wheel4 May 10 05:32 dvd - acd0
 lrwxr-xr-x  1 root  wheel4 May 10 05:32 dvd0 - acd0
 lrwxr-xr-x  1 root  wheel4 May 10 05:32 dvd1 - acd1
 [EMAIL PROTECTED] 13:51:03 (0) /etc   ls -l /dev | grep cd
 crwxrwx---  1 root  operator0,  89 May 10 05:31 acd0
 crwxrwx---  1 root  operator0,  90 May 10 05:31 acd1
 lrwxr-xr-x  1 root  wheel4 May 10 05:32 cdrom - acd0
 lrwxr-xr-x  1 root  wheel4 May 10 05:32 cdrom0 - acd0
 lrwxr-xr-x  1 root  wheel4 May 10 05:32 cdrom1 - acd1
 lrwxr-xr-x  1 root  wheel4 May 10 05:32 dvd - acd0
 lrwxr-xr-x  1 root  wheel4 May 10 05:32 dvd0 - acd0
 lrwxr-xr-x  1 root  wheel4 May 10 05:32 dvd1 - acd1
 


 Their permssions are not correct at all, except for acd0/acd1. Any
 suggestions on what would cause this one?

 Thank you,
 -Jim Stapleton
 [SNIP]


Hello,

   Try the user mount flag with sysctl. You can set the flag on boot editing the
/etc/sysctl.conf file.

Regards,
-- 
 .O. | Daniel Molina Wegener   | C/C++ Developer
 ..O | dmw [at] unete [dot] cl | FOSS Coding Adict
 OOO | BSD  Linux User| Standards Rocks!


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


Re: File System errors

2007-05-15 Thread Ross Penner

On 5/15/07, Roland Smith [EMAIL PROTECTED] wrote:

On Tue, May 15, 2007 at 12:15:06PM -0600, Ross Penner wrote:
  I recently had my system freeze so I had to manually restart it. I was
  worried that there would be some problems with the filesystem so I
  looked into the matter and discovered the utility fsck. I ran this as
  root and I got the following:

You normally don't have to do this manually. If a filesystem isn't
cleanly unmounted, it is automatically checked (in the background if
possible, so it might take a while) on the next boot.

And in that case fsck won't bother you unless it runs into problems it
can't solve.

Roland
--
R.F.Smith   http://www.xs4all.nl/~rsmith/
[plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
pgp: 1A2B 477F 9970 BA3C 2914  B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)



Thanks for everybodies help. I restarted in single user mode which
allowed me to do the check manually. I'll probably just let the
background check go if it happens again.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: File System errors

2007-05-15 Thread Daniel Molina Wegener

El Mar, 15 de Mayo de 2007, 14:15, Ross Penner escribió:
 I recently had my system freeze so I had to manually restart it. I was
 worried that there would be some problems with the filesystem so I
 looked into the matter and discovered the utility fsck. I ran this as
 root and I got the following:

 rosbot# fsck
 ** /dev/ar0s1a (NO WRITE)
 ** Last Mounted on /
 ** Root file system
 ** Phase 1 - Check Blocks and Sizes
 ** Phase 2 - Check Pathnames
 ** Phase 3 - Check Connectivity
 ** Phase 4 - Check Reference Counts
 ** Phase 5 - Check Cyl groups
 1549 files, 27349 used, 226466 free (650 frags, 28227 blocks, 0.3%
 fragmentation)
 ** /dev/ar0s1e (NO WRITE)
 ** Last Mounted on /tmp
 ** Phase 1 - Check Blocks and Sizes
 ** Phase 2 - Check Pathnames
 ** Phase 3 - Check Connectivity
 ** Phase 4 - Check Reference Counts
 ** Phase 5 - Check Cyl groups
 39 files, 2445 used, 251370 free (50 frags, 31415 blocks, 0.0% fragmentation)
 ** /dev/ar0s1f (NO WRITE)
 ** Last Mounted on /usr
 ** Phase 1 - Check Blocks and Sizes
 ** Phase 2 - Check Pathnames
 ** Phase 3 - Check Connectivity
 ** Phase 4 - Check Reference Counts
 ** Phase 5 - Check Cyl groups
 FREE BLK COUNT(S) WRONG IN SUPERBLK
 SALVAGE? no

 292882 files, 98192697 used, 135895442 free (39610 frags, 16981979
 blocks, 0.0% fragmentation)
 ** /dev/ar0s1d (NO WRITE)
 ** Last Mounted on /var
 ** Phase 1 - Check Blocks and Sizes
 ** Phase 2 - Check Pathnames
 ** Phase 3 - Check Connectivity
 ** Phase 4 - Check Reference Counts
 UNREF FILE I=117781  OWNER=root MODE=140666
 SIZE=0 MTIME=May 15 09:56 2007
 CLEAR? no

 UNREF FILE I=141337  OWNER=teamspeak MODE=100600
 SIZE=2048 MTIME=May 15 09:56 2007
 CLEAR? no

 ** Phase 5 - Check Cyl groups
 FREE BLK COUNT(S) WRONG IN SUPERBLK
 SALVAGE? no

 SUMMARY INFORMATION BAD
 SALVAGE? no

 18514 files, 70825 used, 905728 free (6688 frags, 112380 blocks, 0.7%
 fragmentation)


 It seems to my unexperienced eye that their are problems in some of
 the filesystems, but they arn't being resolved. I tried running fsck
 -y  and nothing changed. What am I doing wrong? How can I resolve
 these issues? Thanks for any help you can offer.
 [SNIP]


Hello,

   Try booting in single user mode, then running fsck again with -y parameter --
seems to
need unmounted devices.

Regards,
-- 
 .O. | Daniel Molina Wegener   | C/C++ Developer
 ..O | dmw [at] unete [dot] cl | FOSS Coding Adict
 OOO | BSD  Linux User| Standards Rocks!


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


File System errors

2007-05-15 Thread Ross Penner

I recently had my system freeze so I had to manually restart it. I was
worried that there would be some problems with the filesystem so I
looked into the matter and discovered the utility fsck. I ran this as
root and I got the following:

rosbot# fsck
** /dev/ar0s1a (NO WRITE)
** Last Mounted on /
** Root file system
** Phase 1 - Check Blocks and Sizes
** Phase 2 - Check Pathnames
** Phase 3 - Check Connectivity
** Phase 4 - Check Reference Counts
** Phase 5 - Check Cyl groups
1549 files, 27349 used, 226466 free (650 frags, 28227 blocks, 0.3%
fragmentation)
** /dev/ar0s1e (NO WRITE)
** Last Mounted on /tmp
** Phase 1 - Check Blocks and Sizes
** Phase 2 - Check Pathnames
** Phase 3 - Check Connectivity
** Phase 4 - Check Reference Counts
** Phase 5 - Check Cyl groups
39 files, 2445 used, 251370 free (50 frags, 31415 blocks, 0.0% fragmentation)
** /dev/ar0s1f (NO WRITE)
** Last Mounted on /usr
** Phase 1 - Check Blocks and Sizes
** Phase 2 - Check Pathnames
** Phase 3 - Check Connectivity
** Phase 4 - Check Reference Counts
** Phase 5 - Check Cyl groups
FREE BLK COUNT(S) WRONG IN SUPERBLK
SALVAGE? no

292882 files, 98192697 used, 135895442 free (39610 frags, 16981979
blocks, 0.0% fragmentation)
** /dev/ar0s1d (NO WRITE)
** Last Mounted on /var
** Phase 1 - Check Blocks and Sizes
** Phase 2 - Check Pathnames
** Phase 3 - Check Connectivity
** Phase 4 - Check Reference Counts
UNREF FILE I=117781  OWNER=root MODE=140666
SIZE=0 MTIME=May 15 09:56 2007
CLEAR? no

UNREF FILE I=141337  OWNER=teamspeak MODE=100600
SIZE=2048 MTIME=May 15 09:56 2007
CLEAR? no

** Phase 5 - Check Cyl groups
FREE BLK COUNT(S) WRONG IN SUPERBLK
SALVAGE? no

SUMMARY INFORMATION BAD
SALVAGE? no

18514 files, 70825 used, 905728 free (6688 frags, 112380 blocks, 0.7%
fragmentation)


It seems to my unexperienced eye that their are problems in some of
the filesystems, but they arn't being resolved. I tried running fsck
-y  and nothing changed. What am I doing wrong? How can I resolve
these issues? Thanks for any help you can offer.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Anyone could make Epson Stylus cx4700 work?

2007-05-15 Thread Roland Smith
On Tue, May 15, 2007 at 04:06:07PM -0300, Anton Galitch wrote:
  Thanks Roland, I put what you have said to /etc/devfs.rules and it printed
  the test page well =)
  The only problem now is Epson Inkjet Tool that shows ink levels, cleans
  heads, etc when I click on Show ink level it tells:
  ERROR:
  Cannot open /dev/ulpt0 read/write: Permission denied

That tool needs to read and write to /dev/ulpt0, which it can't, because
you've set the permission for 'others' to 0.

Basically you have two choices here,

1) Change the mode for ulpt0 to 666. This means everybody can read/write
   to this device. This is unsafe on a multi-user system or on a
   publicly accessible server.
2) change the group of the program to 'cups', and set it's setgid bit
   (chmod g+s ...). This means that the program will assume the group
   'cups' when it starts, giving it access to the device.

IMHO (2) is the best solution, because it gives the program in question
enough rights to work, without exposing the rest of the system
much.

Roland
-- 
R.F.Smith   http://www.xs4all.nl/~rsmith/
[plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
pgp: 1A2B 477F 9970 BA3C 2914  B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)


pgpDs2N9rzhvw.pgp
Description: PGP signature


Re: libmap.conf

2007-05-15 Thread Norberto Meijome
On Tue, 15 May 2007 14:14:52 +0300
Odhiambo Washington [EMAIL PROTECTED] wrote:

 Perhaps there is a way to map this using /etc/libmap.conf?

man libmap.conf:

[]
EXAMPLES
 # /etc/libmap.conf
 #
 # candidate mapping
 #
 libc_r.so.6 libpthread.so.2 # Everything that uses 'libc_r'
 libc_r.so   libpthread.so   # now uses 'libpthread'

 [/tmp/mplayer]  # Test version of mplayer uses libc_r
 libpthread.so.2 libc_r.so.6
 libpthread.so   libc_r.so

[]
_
{Beto|Norberto|Numard} Meijome

He inherited some good instincts from his Quaker forebears, but by diligent 
hard work, he overcame them.
  James Reston (about Richard Nixon)

I speak for myself, not my employer. Contents may be hot. Slippery when wet. 
Reading disclaimers makes you go blind. Writing them is worse. You have been 
Warned.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: Problem with Iomega Peerless [Solved]...

2007-05-15 Thread Efren Bravo

Solved, thanks for your time

--- Efren Bravo [EMAIL PROTECTED] escribió:

 Hi,
 
 With my old freeBSD6.0 I had an usb iomega
 peerless connected to my box. freeBSD
 recognized
 it as da0 device.
 
 Now I've updated to 6.1-RELEASE-p16 and the
 device da0 isn't appear under /dev hence I
 cann't
 mount it.
 
 dmesg only shows:
 -
 umass0: Iomega USB Peerless, rev 1.10/1.00,
 addr
 2
 
 kernel has those devices enabled:
 
 device  scbus   # SCSI bus
 (required for SCSI)
 
 device  da  # Direct Access
 (disks)
 
 device  umass   # Disks/Mass
 storage - Requires scbus and da
 
 
 Iomega Peerless is no longer supported by
 freeBSD, if is supported what am I doing wrong?
 
 
 Thanks
 
 
 
   
 __ 
 LLama Gratis a cualquier PC del Mundo. 
 Llamadas a fijos y móviles desde 1 céntimo por
 minuto. 
 http://es.voice.yahoo.com
 ___
 freebsd-questions@freebsd.org mailing list

http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
 [EMAIL PROTECTED]
 




__ 
LLama Gratis a cualquier PC del Mundo. 
Llamadas a fijos y móviles desde 1 céntimo por minuto. 
http://es.voice.yahoo.com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: /etc/devfs.conf not working properly

2007-05-15 Thread Daniel Molina Wegener

El Mar, 15 de Mayo de 2007, 15:12, Jim Stapleton escribió:
 Thank you, I couldn't find the user mount flag. It's not in the files
 comments, the sysctl (3)(8) man page or the sysctl.conf (8) man page.
 Where can I find it listed?

   Hello, try:

   sysctl -a | grep user

   This (sysctl -a) gives you a complete list of available kernel options...
some of them
are readonly...


 Thanks,
 -Jim Stapleton

 On 5/15/07, Daniel Molina Wegener [EMAIL PROTECTED] wrote:

 El Mar, 15 de Mayo de 2007, 13:53, Jim Stapleton escribió:
  I have my /etc/devfs.conf file set to make some of my files
  mountable/readable directly for normal users (specifically CD/DVD
  devices). However, the original permissions are being retained. Am I
  doing something wrong in the setup? (I have rebooted the machine since
  these entries were created)
 
 
  devfs.conf:
  
  linkacd0cdrom
  linkacd0dvd
 
  linkacd0dvd0
  linkacd1dvd1
 
  linkacd0cdrom0
  linkacd1cdrom1
 
  own acd0root:operator
  own acd1root:operator
  own dvd root:operator
  own cdrom   root:operator
  own dvd0root:operator
  own dvd1root:operator
  own cdrom0  root:operator
  own cdrom1  root:operator
 
  permacd00770
  permacd10770
  permdvd 0770
  permcdrom   0770
  permdvd00770
  permdvd10770
  permcdrom0  0770
  permcdrom0  0770
 
 
 
  #memory disks
  own mdctl   root:operator
  permmdctl   770
 
 
  # Allow a user in the wheel group to query the smb0 device
  #perm   smb00660
 
  # Allow members of group operator to cat things to the speaker
  #ownspeaker root:operator
  #perm   speaker 0660
  
 
 
  the majority of the relevant files look like this:
  
  [EMAIL PROTECTED] 13:50:52 (0) /etc   ls -l /dev | grep dvd
  lrwxr-xr-x  1 root  wheel4 May 10 05:32 dvd - acd0
  lrwxr-xr-x  1 root  wheel4 May 10 05:32 dvd0 - acd0
  lrwxr-xr-x  1 root  wheel4 May 10 05:32 dvd1 - acd1
  [EMAIL PROTECTED] 13:51:03 (0) /etc   ls -l /dev | grep cd
  crwxrwx---  1 root  operator0,  89 May 10 05:31 acd0
  crwxrwx---  1 root  operator0,  90 May 10 05:31 acd1
  lrwxr-xr-x  1 root  wheel4 May 10 05:32 cdrom - acd0
  lrwxr-xr-x  1 root  wheel4 May 10 05:32 cdrom0 - acd0
  lrwxr-xr-x  1 root  wheel4 May 10 05:32 cdrom1 - acd1
  lrwxr-xr-x  1 root  wheel4 May 10 05:32 dvd - acd0
  lrwxr-xr-x  1 root  wheel4 May 10 05:32 dvd0 - acd0
  lrwxr-xr-x  1 root  wheel4 May 10 05:32 dvd1 - acd1
  
 
 
  Their permssions are not correct at all, except for acd0/acd1. Any
  suggestions on what would cause this one?
 
  Thank you,
  -Jim Stapleton
  [SNIP]
 

 Hello,

Try the user mount flag with sysctl. You can set the flag on boot editing
 the
 /etc/sysctl.conf file.

 Regards,
 --
  .O. | Daniel Molina Wegener   | C/C++ Developer
  ..O | dmw [at] unete [dot] cl | FOSS Coding Adict
  OOO | BSD  Linux User| Standards Rocks!



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



-- 
 .O. | Daniel Molina Wegener   | C/C++ Developer
 ..O | dmw [at] unete [dot] cl | FOSS Coding Adict
 OOO | BSD  Linux User| Standards Rocks!


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


Re: cannot email to the jail from the host

2007-05-15 Thread Oliver Peter
On Tue, May 08, 2007 at 08:20:24PM -0500, Jonathan Horne wrote:
 i have a host, that runs a jail that is my network's email server.  the host, 
 cannot send mails to the jail.  (host is canopus, jail is pollux)  example:
 
 [EMAIL PROTECTED] ~]$ mail
 No mail for jhorne
 [EMAIL PROTECTED] ~]$ ifconfig|mail [EMAIL PROTECTED]
 
 then, in my host's maillog, i see: 
 
 [EMAIL PROTECTED] ~]$ tail /var/log/maillog|grep sm-mta
 May  8 19:51:24 canopus sm-mta[4523]: l490pONL004523: 
 from=[EMAIL PROTECTED], size=1372, class=0, nrcpts=1, 
 msgid=[EMAIL PROTECTED], proto=ESMTP, 
 daemon=Daemon0, relay=localhost.dfwlp.com [127.0.0.1]
 
 May  8 19:51:24 canopus sm-mta[4524]: l490pONL004523: 
 to=[EMAIL PROTECTED], ctladdr=[EMAIL PROTECTED] (1001/1001), 
 delay=00:00:00, xdelay=00:00:00, mailer=local, pri=31654, relay=local, 
 dsn=2.0.0, stat=Sent
 
 May  8 19:53:46 canopus sm-mta[4554]: l490rjLf004554: 
 from=[EMAIL PROTECTED], size=1372, class=0, nrcpts=1, 
 msgid=[EMAIL PROTECTED], proto=ESMTP, 
 daemon=Daemon0, relay=localhost.dfwlp.com [127.0.0.1]
 
 May  8 19:53:46 canopus sm-mta[4555]: l490rjLf004554: 
 to=[EMAIL PROTECTED], ctladdr=[EMAIL PROTECTED] (1001/1001), 
 delay=00:00:01, xdelay=00:00:00, mailer=local, pri=31654, relay=local, 
 dsn=2.0.0, stat=Sent
 
 and of course, nothing at all in the maillog of pollux.  back on canopus, is 
 the where the email in question has been delivered:
 
 [EMAIL PROTECTED] ~]$ mail
 Mail version 8.1 6/6/93.  Type ? for help.
 /var/mail/jhorne: 1 message 1 unread
 U  1 [EMAIL PROTECTED]  Tue May  8 19:53  41/1723
 
 
 problem appears to be related to canopus using localhost as its relay, 
 possibly amplified by the fact that canopus and pollux share the same mac 
 address.  is there a way around this?  on my host (canopus) i have 
 sendmail_enable=NO in /etc/rc.conf.  also, local DNS is correctly 
 configured, and resolves the correct ip from canopus
 
 im totally stumped here, is there a way around this caveat?
 
 thanks,

I think this is more dns related that jail related - 
Could you please provide me some more details about your dns-, hosts
and ip-configuration?

Have a nice evening.

-- 
Oliver PETER, email: [EMAIL PROTECTED], ICQ# 113969174
Worker bees can leave. Even drones can fly away. The Queen is their slave.


pgpNpYSL0oAXb.pgp
Description: PGP signature


Re: 7 install

2007-05-15 Thread Oliver Peter
On Tue, May 08, 2007 at 06:31:40PM -0700, User Iam wrote:
 Hi
 
 I am doing a fresh install of 7.0
 
 When I get the part when it asks for install media.
 
 I select  cd/dvd disk
 
 And It claims it can't find it???
 
 
 This is the disk I booted off

Are you sure that you are not using the bootonly CD?

Check this out:
ftp://ftp.freebsd.org/pub/FreeBSD/snapshots/200705/7.0-CURRENT-200705-i386-disc1.iso

-- 
Oliver PETER, email: [EMAIL PROTECTED], ICQ# 113969174
Worker bees can leave. Even drones can fly away. The Queen is their slave.


pgpMkOcDQCOp6.pgp
Description: PGP signature


Re: Startup errors....su:/bin/csh Perm denied..

2007-05-15 Thread Oliver Peter
On Mon, May 14, 2007 at 08:50:13PM -0300, Agus wrote:
 Hi everybody...i was starting up my bsd when i noticed some errors..
 The first one is right after Starting mysql finishes.
 it says su: /bin/csh: Permission Denied
 Then it loads sshd and right after it finishes loading sshd it says
 can not chdir(/var/spool/clientmqueue/): Permission denied
 Program mode requires special privileges...
 then it finishes loading cron
 inetd...
 
 i didnt install anything,,,i dont know where to look to finde where or which
 program is causing this...
 thanks for your time..
Since mysql is not part of the default installation it seems that you
DID install some additional software and modified your /etc/rc.conf.

Please provide us your rc.conf for further help.

Bye.

-- 
Oliver PETER, email: [EMAIL PROTECTED], ICQ# 113969174
Worker bees can leave. Even drones can fly away. The Queen is their slave.


pgp45SjWjeSFI.pgp
Description: PGP signature


Re: Anyone could make Epson Stylus cx4700 work?

2007-05-15 Thread Anton Galitch

Well, I did this and now the permissions look like this:

-r-xr-sr-x  1 root  usb  72504 May 15 13:01 escputil

and if I execute the program being in my user it tells permission denied.

Another problem is that when I executed it in root, it showed

#escputil -iur /dev/ulpt0

Cannot open /dev/ulpt0 read/write: Device busy


There is no printing job, and in the control panel in kde I can see that
printers state is Idle (accepting jobs).
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Newbie Question: Mail from from cron jobs...

2007-05-15 Thread Oliver Peter
On Tue, May 15, 2007 at 12:26:36PM -0400, Ian Lord wrote:
  ...
 
 Where can I change the address [EMAIL PROTECTED] to
 [EMAIL PROTECTED] ?

Did you set up your hostname correctly in /etc/rc.conf ?
Furthermore you need to tell your MTA how your hostname is called.

-- 
Oliver PETER, email: [EMAIL PROTECTED], ICQ# 113969174
Worker bees can leave. Even drones can fly away. The Queen is their slave.


pgpxSWBHHr9XK.pgp
Description: PGP signature


Re: Does a pipe take a socket ... ?

2007-05-15 Thread Pietro Cerutti
Matthew Dillon wrote:
 Nuh uh.  pipe() is a direct implementation... no sockets anywhere.
 
 Using socketpair() will eat sockets up, but using pipe() will not.

Right.
Just for reference, I'd suggest to read the heading comments on:

/usr/src/sys/kern/sys_pipe.c

 
   -Matt



-- 
Pietro Cerutti

PGP Public Key ID:
http://gahr.ch/pgp



signature.asc
Description: OpenPGP digital signature


Re: Newbie Question: Mail from from cron jobs...

2007-05-15 Thread Jerry McAllister
On Tue, May 15, 2007 at 11:26:03PM +0200, Oliver Peter wrote:

 On Tue, May 15, 2007 at 12:26:36PM -0400, Ian Lord wrote:
   ...
  
  Where can I change the address [EMAIL PROTECTED] to
  [EMAIL PROTECTED] ?

Look in the file /etc/mail/aliases

You can alias root to go to your favorite address.
Don't forget to run   newaliases(1)   after editing the file.

Of course, doing this will mean that all mail to root will
go to you.   

jerry

 
 Did you set up your hostname correctly in /etc/rc.conf ?
 Furthermore you need to tell your MTA how your hostname is called.
 
 -- 
 Oliver PETER, email: [EMAIL PROTECTED], ICQ# 113969174
 Worker bees can leave. Even drones can fly away. The Queen is their slave.


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


Backing up large partitions

2007-05-15 Thread Phusion

I need some advice on how to backup a UNIX server. The server has
multiple large partitions ranging from 200 to 400 GB. Also, the server
doesn't have a tape drive. We recently got a large NAS device that has
2 TB of storage space. The UNIX server has Samba installed and can be
setup to mount a Windows network share. I would like the ability to
run full and incremental backups as well as restores. Let me know what
you think.

Phusion
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Backing up large partitions

2007-05-15 Thread Bill Moran
In response to Phusion [EMAIL PROTECTED]:

 I need some advice on how to backup a UNIX server. The server has
 multiple large partitions ranging from 200 to 400 GB. Also, the server
 doesn't have a tape drive. We recently got a large NAS device that has
 2 TB of storage space. The UNIX server has Samba installed and can be
 setup to mount a Windows network share. I would like the ability to
 run full and incremental backups as well as restores. Let me know what
 you think.

Have a look at Bacula.

-- 
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 [EMAIL PROTECTED]


Re: Startup errors....su:/bin/csh Perm denied..

2007-05-15 Thread Agus

2007/5/15, Oliver Peter [EMAIL PROTECTED]:


On Mon, May 14, 2007 at 08:50:13PM -0300, Agus wrote:
 Hi everybody...i was starting up my bsd when i noticed some errors..
 The first one is right after Starting mysql finishes.
 it says su: /bin/csh: Permission Denied
 Then it loads sshd and right after it finishes loading sshd it says
 can not chdir(/var/spool/clientmqueue/): Permission denied
 Program mode requires special privileges...
 then it finishes loading cron
 inetd...

 i didnt install anything,,,i dont know where to look to finde where or
which
 program is causing this...
 thanks for your time..
Since mysql is not part of the default installation it seems that you
DID install some additional software and modified your /etc/rc.conf.

Please provide us your rc.conf for further help.

Bye.

--
Oliver PETER, email: [EMAIL PROTECTED], ICQ# 113969174
Worker bees can leave. Even drones can fly away. The Queen is their
slave.

OK...what i ment was tha it was working fine for days after all the

installations i made, and suddenly the error appeared...

here it is my rc.conf


# -- sysinstall generated deltas -- # Wed Jan 10 12:29:02 2007
# Created: Wed Jan 10 12:29:02 2007
# Enable network daemons for user convenience.
# Please make all changes to this file, not to /etc/defaults/rc.conf.
# This file now contains just the overrides from /etc/defaults/rc.conf.
defaultrouter=192.168.1.1
hostname=everest.x.x.x
ifconfig_sis0=inet 192.168.1.11  netmask 255.255.255.0
keymap=spanish.iso.acc
linux_enable=YES
syslogd_flags=-ss
inetd_enable=YES
sshd_enable=YES
#usbd_enable=YES
mysql_enable=YES
apache22_enable=YES

# -- Agregamos Quotas -- # 16/01/07
#
enable_quotas=YES

# -- Agregamos Firewall y QoS -- # 16/01/07
pf_enable=YES
pf_rules=/etc/pf.conf
pf_flags=
pflog_enable=YES
pflog_logfile=/var/log/pflog
pflog_flags=

# -- Agregamos NFS Server -- # 06/05/07
#
rpcbind_enable=YES
nfs_server_enable=YES
mountd_flags=-r


i looked for logs in /var/log/messages and nothingI cant find where or
what program is causing this

Here is part of the boot..
Updating motd
Starting mysql.
su: /bin/csh: Permission denied
Configuring syscons: keymap blanktime.
Starting sshd.
can not chdir(/var/spool/clientmqueue/): Permission denied
Program mode requires special privileges...
Starting cron.
Local package initializations...
Starting inetd.


im running 6.1-RELEASE FreeBSD 6.1-RELEASE #0

Thanks. Hope this helps
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Anyone could make Epson Stylus cx4700 work?

2007-05-15 Thread Roland Smith
On Tue, May 15, 2007 at 06:25:40PM -0300, Anton Galitch wrote:
  Well, I did this and now the permissions look like this:
 
  -r-xr-sr-x  1 root  usb  72504 May 15 13:01 escputil
 
  and if I execute the program being in my user it tells permission denied.

Yes, because escputil belongs to the 'usb' group. It should belong to the
same group as /dev/ulpt0, which should be 'cups'. 

A 'chown :cups escputil' should fix that.
 
  Another problem is that when I executed it in root, it showed
 
  #escputil -iur /dev/ulpt0
 
  Cannot open /dev/ulpt0 read/write: Device busy
 
  There is no printing job, and in the control panel in kde I can see that
  printers state is Idle (accepting jobs).

I think you need to drop the -r option, (and -u as well). Cups is
probably already using the device.

Roland
-- 
R.F.Smith   http://www.xs4all.nl/~rsmith/
[plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
pgp: 1A2B 477F 9970 BA3C 2914  B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)


pgpvwU8KYQv96.pgp
Description: PGP signature


Re: Backing up large partitions

2007-05-15 Thread Roland Smith
On Tue, May 15, 2007 at 04:27:01PM -0500, Phusion wrote:
  I need some advice on how to backup a UNIX server. The server has
  multiple large partitions ranging from 200 to 400 GB. Also, the server
  doesn't have a tape drive. We recently got a large NAS device that has
  2 TB of storage space. The UNIX server has Samba installed and can be
  setup to mount a Windows network share. I would like the ability to
  run full and incremental backups as well as restores. Let me know what
  you think.

Use dump(8) (with the -L flag!) and bzip2(1) to write compressed dumps
to the NAS (which should be mounted, of course). If you do it in a cron
job at night, no one will be bothered by it. Don't bother with bzip2 if
most of your data is already compressed, like photos, videos, zip files 
or mp3.

I've written a small shell-script that does just that. Mail me if you
want it.

Roland
-- 
R.F.Smith   http://www.xs4all.nl/~rsmith/
[plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
pgp: 1A2B 477F 9970 BA3C 2914  B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)


pgpoyepi2B2oz.pgp
Description: PGP signature


Re: Computer wakes, keyboard sleeps on

2007-05-15 Thread Never you mind


On 15/05/2007, at 8:48 PM, Tom Judge wrote:


Never you mind wrote:
The keyboard stays asleep after everything else has woken up. How do 
I begin troubleshooting this problem?
I use a KVM switch to share the KVM between two machines. The other 
machine runs Windows, everything works as it should there.

Malcolm


Does the KVM you are using have keyboard and mouse emulation for when 
the system is not active on the KVM.


yes, I think it does but I'm not sure I can find the documentation for 
the device now to confirm its behaviour.


Most systems only enable the keyboard if the system detects it on 
boot,  it could be the same when waking from a sleep state.


Watching the boot process I see that there is a keyboard error but the 
keyboard then works once the system is running. That does seem odd. 
I'll try removing the KVM and see what happens.


malcolm

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


Re: Anyone could make Epson Stylus cx4700 work?

2007-05-15 Thread Anton Galitch

Yes, because escputil belongs to the 'usb' group. It should belong to the
same group as /dev/ulpt0, which should be 'cups'.



A 'chown :cups escputil' should fix that.


Thanks a lot it worked.

to check the ink level requires using a raw device so the -r option must be
there. I tried to do it without -u but it still saying Cannot open
/dev/ulpt0 read/write: Device busy
maybe there is another way to know the ink level? I checked the cups page
localhost:631 but found nothing there.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Security Patches using freebsd-update(8)

2007-05-15 Thread Colin Percival
Guido Demmenie wrote:
 I'm really glad the FreeBSD team brought freebsd-update(8) in the base
 system. Now I can do my security patches with much less hassle. But i
 have one question about this great tool.
 
 When do I have to reboot?

If in doubt, reboot.  While there are obvious cases (e.g., you should
reboot after applying a kernel security patch) it's almost impossible
to give advice which will be correct for every situation.

One item on my FreeBSD Update feature wishlist is to provide such
guidance; there's a Google Summer of Code student working on FreeBSD
Update who might have time to do this towards the end of the summer.

Colin Percival


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


Re: freebsd-update and locally modfied files

2007-05-15 Thread Colin Percival
Zbigniew Szalbot wrote:
 Can you help me by suggesting what I need to do when I want to use
 freebsd-update fetch (FBSD 6.2) but get the following message:
 
 The following files are affected by updates, but no changes have
 been downloaded because the files have been modified locally:
 /etc/rc.d/jail

Probably what happened is that you installed a patched FreeBSD (e.g.,
6.2-RELEASE-p2) in which /etc/rc.d/jail was already updated.  As a
result of CVS modifying $FreeBSD$ tags when commits happen, this makes
the /etc/rc.d/jail file which you get by installing from the source
code very slightly different from what you get by using FreeBSD Update
(since the FreeBSD Update patches are built before the CVS commits are
done, this is unavoidable); consequently, FreeBSD Update doesn't
recognize the file and thinks that you modified it locally.

 Now, I do not recall ever playing with jail. Anyway, how do I update the
 system (and keep changes to /etc/rc.d/jail (if any))?

The easiest solution is to remove /etc/ from the UpdateIfUnmodified line
in /etc/freebsd-update.conf and run freebsd-update again.  Make sure that
you add /etc/ back afterwards.

Colin Percival


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


Re: gnome-libtool issue [SEC=UNCLASSIFIED]

2007-05-15 Thread Daniel Pottumati
No, I wish I could upgrade. 

But for compatibility reasons with one piece of software here at work, I 
have to run 4.8...

Any other sugestions???

Thanks for your assistance anyway..




 
Sam Lawrance [EMAIL PROTECTED] 
15/05/2007 05:09 PM

To
Daniel Pottumati [EMAIL PROTECTED]
cc
freebsd-questions@freebsd.org
Fax to

Subject
Re: gnome-libtool issue  [SEC=UNCLASSIFIED]




Classification
 




***
This email message has been processed by MIMEsweeper
***

On 15/05/2007, at 11:29 AM, Daniel Pottumati wrote:

 Hello,

 I've a 4.8 freebsd box, which I've update the ports tree with the 
 current
 tree from the freebsd website and I'm trying to install tetex from the
 port directory:

 /usr/ports/print/teTeX

  and I get the following error during: make install

 /bin/sh /usr/ports/x11-fonts/fontconfig/work/gnome-libtool --tag=CC
 --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../src
 -I/usr/local/include/freetype2 -I/usr/local/include  -I/usr/local/ 
 include
 -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes
 -Wmissing-declarations  -Wnested-externs -fno-strict-aliasing
 -DFC_CACHEDIR='/var/db/fontconfig'
 -DFONTCONFIG_PATH='/usr/X11R6/etc/fonts'-O -pipe  -c -o 
 fcatomic.lo
 fcatomic.c
 gnome-libtool: unrecognized option `--tag=CC'

 Try `gnome-libtool --help' for more information.

 gmake[3]: *** [fcatomic.lo] Error 1
 gmake[3]: Leaving directory
 `/usr/ports/x11-fonts/fontconfig/work/fontconfig-2.4.2/src'
 gmake[2]: *** [all] Error 2
 gmake[2]: Leaving directory
 `/usr/ports/x11-fonts/fontconfig/work/fontconfig-2.4.2/src'
 gmake[1]: *** [all-recursive] Error 1
 gmake[1]: Leaving directory
 `/usr/ports/x11-fonts/fontconfig/work/fontconfig-2.4.2'
 gmake: *** [all] Error 2
 *** Error code 2

 Stop in /usr/ports/x11-fonts/fontconfig.
 *** Error code 1

 Stop in /usr/ports/x11/XFree86-4-libraries.
 *** Error code 1

 Stop in /usr/ports/x11-fonts/p5-type1inst.
 *** Error code 1

 Stop in /usr/ports/print/cmpsfont.
 *** Error code 1

 Stop in /usr/ports/print/teTeX-texmf.
 *** Error code 1

 Stop in /usr/ports/print/teTeX.

 Can someone help me please?

Are  you able to upgrade the machine?  FreeBSD 4.x is no longer 
supported, and 4.8 is very old.



NOTICE
This e-mail and any attachments are intended for the addressee(s) only and may 
be confidential.  They may contain legally privileged or copyright material.  
You should not read, copy, use or disclose them without authorisation.  If you 
are not the intended recipient please contact the sender as soon as possible by 
return e-mail and then please delete both messages.  This notice should not be 
removed.  
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


system boot taking more time, unable to mount vfat, linux partitions,

2007-05-15 Thread Anugunj Anuj Singh
Hi,
I am using FreeBSd6.2
My FreeBSD takes around 90 seconds after detecting my hard disks.
I use my second hard disk as a backup to store data, FIrst hard disk has
linux and FreeBSD installed. I can mount vfat partitions from second
hard disk but unable to mount it from FreeBSD. it shows me incorrect
super block. 

Timecounter TSC frequency 851937863 Hz quality 800
Timecounters tick every 1.000 msec
acd0: DMA limited to UDMA33, device found non-ATA66 cable
acd0: DVDROM DVD-ROM DDU1622/VER AS66 at ata0-master UDMA33
acd1: CDRW ASUS CRW-4012A/1.0 at ata0-slave UDMA33
ad2: 78533MB HDS728080PLAT20 PF2OA2AA at ata1-master UDMA66
ad3: 38204MB SAMSUNG SP0401N TJ100-23 at ata1-slave UDMA66
ad3: FAILURE - READ_DMA status=51READY,DSC,ERROR
error=84ICRC,ABORTED LBA=78242975

How to change it's settings to skip 90seconds delay at booting time?

Output of fdisk command is

[EMAIL PROTECTED] /etc/mail]# fdisk 
*** Working on device /dev/ad2 ***
parameters extracted from in-core disklabel are:
cylinders=159560 heads=16 sectors/track=63 (1008 blks/cyl)

Figures below won't work with BIOS for partitions not in cyl 1
parameters to be used for BIOS calculations are:
cylinders=159560 heads=16 sectors/track=63 (1008 blks/cyl)

Media sector size is 512
Warning: BIOS sector numbering starts with sector 1
Information from DOS bootblock is:
The data for partition 1 is:
sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD)
start 63, size 20466747 (9993 Meg), flag 80 (active)
beg: cyl 0/ head 1/ sector 1;
end: cyl 1023/ head 254/ sector 63
The data for partition 2 is:
sysid 131 (0x83),(Linux native)
start 20466810, size 208845 (101 Meg), flag 0
beg: cyl 1023/ head 255/ sector 63;
end: cyl 1023/ head 254/ sector 63
The data for partition 3 is:
sysid 131 (0x83),(Linux native)
start 20675655, size 20482875 (10001 Meg), flag 0
beg: cyl 1023/ head 255/ sector 63;
end: cyl 1023/ head 254/ sector 63
The data for partition 4 is:
sysid 5 (0x05),(Extended DOS)
start 41158530, size 119668185 (58431 Meg), flag 0
beg: cyl 1023/ head 255/ sector 63;
end: cyl 1023/ head 254/ sector 63

regards
anugunj Anuj Singh 


signature.asc
Description: This is a digitally signed message part


Re: Backing up large partitions

2007-05-15 Thread Jerry McAllister
On Tue, May 15, 2007 at 04:27:01PM -0500, Phusion wrote:

 I need some advice on how to backup a UNIX server. The server has
 multiple large partitions ranging from 200 to 400 GB. Also, the server
 doesn't have a tape drive. We recently got a large NAS device that has
 2 TB of storage space. The UNIX server has Samba installed and can be
 setup to mount a Windows network share. I would like the ability to
 run full and incremental backups as well as restores. Let me know what
 you think.

Depends a little on what you will do, but generally
you can run dump(8) to a file and that file can be located
anywhere you can read/write.

Dump is the UNIX backup soution.Now, if you want to create
an alternate server, then consider rsync.   Its in the ports.

jerry

 
 Phusion
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Newbie Question: Mail from from cron jobs...

2007-05-15 Thread Norberto Meijome
On Tue, 15 May 2007 12:26:36 -0400
Ian Lord [EMAIL PROTECTED] wrote:

[]
 The problem, is that the mail is coming from
 
 [EMAIL PROTECTED]
 
 We have a spamfirewall and it rejects the mail saying localhost.mydomain.com
 is invalid.
 
 Where can I change the address [EMAIL PROTECTED] to
 [EMAIL PROTECTED] ?

Hi Ian,
set your hostname in /etc/rc.conf:

it probably wouldn't hurt either to have name resolution properly setup (either 
via DNS or hosts file)

B
_
{Beto|Norberto|Numard} Meijome

He has Van Gogh's ear for music.
  Billy Wilder

I speak for myself, not my employer. Contents may be hot. Slippery when wet. 
Reading disclaimers makes you go blind. Writing them is worse. You have been 
Warned.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: what's the easiest way to de-html-ize files?

2007-05-15 Thread Gary Kline
On Tue, May 15, 2007 at 03:34:14PM +1000, Ian Smith wrote:
 On Sat, 12 May 2007 14:34:52 -0700 Gary Kline [EMAIL PROTECTED] wrote:
   On Mon, May 14, 2007 at 12:09:07PM -0700, Chuck Swiger wrote:
On May 12, 2007, at 12:54 PM, Gary Kline wrote:
This is for those of us who appreciate ASCII or straight
ISO_8859-15 rather than marked up files.  I have slapped 
 together
a crude C program that does scotch (or *cleanse*) text of
B/B and so on.   Still... is there some standalone converter
that gets rids of markup more elegantly?   Something where i
can say

% cmd file_1.html ... file_N.html and output file_1.text ...
file_N.text?

Perhaps:

  lynx -dump file1.html ...  file.text

...?
   
  Hm, maybe Ineed Bill Campbell's -force_html switch.  
   
  Yes, seems that way.  USing just -dump got most of them, but
  using the -force_html caught all.  Need to script something to
  reformat, but the worst of it's done!
 
 Also, if using Mozilla (so, I would assume, Firefox) the 'Save Page As'
 dialog offers a picklist for 'Files of Type' that includes 'Text Files'.
 
 This does a pretty decent job of producing text from HTML files, and is
 quicker than firing up lynx (or links) if you're already viewing a page.


Oh sure; I've been saving html in text, ascii/8859-1 for years.
But what I've got, and there are more saved **somewhere**, are
files that are saved by default in markup.  I have a slew of
these on different boxen and have been moving then to one place.  
Problem is: how to de-html the bunch.  

I'm too lazy to write something that would automate what Can be
automated--markup like foo; are problematic.  So probably the 
easiest way would be to create a dehtml.sh script that is just a 
wrapper around lynx.  

I don't think I'm the only hacker who wants just-plain-ascii, so
this might mak a good project for somebody who's new to C or
perl.   That's my two pennies' worth!

gary

 
 Cheers, Ian
 

-- 
  Gary Kline  [EMAIL PROTECTED]   www.thought.org  Public Service Unix

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


Re: what's the easiest way to de-html-ize files?

2007-05-15 Thread Garrett Cooper

Gary Kline wrote:

On Tue, May 15, 2007 at 03:34:14PM +1000, Ian Smith wrote:

On Sat, 12 May 2007 14:34:52 -0700 Gary Kline [EMAIL PROTECTED] wrote:
  On Mon, May 14, 2007 at 12:09:07PM -0700, Chuck Swiger wrote:
   On May 12, 2007, at 12:54 PM, Gary Kline wrote:
   This is for those of us who appreciate ASCII or straight
ISO_8859-15 rather than marked up files.  I have slapped together
a crude C program that does scotch (or *cleanse*) text of
B/B and so on.   Still... is there some standalone converter
that gets rids of markup more elegantly?   Something where i
can say
   
% cmd file_1.html ... file_N.html and output file_1.text ...
file_N.text?
   
   Perhaps:
   
 lynx -dump file1.html ...  file.text
   
   ...?
  
  	Hm, maybe Ineed Bill Campbell's -force_html switch.  
  
  	Yes, seems that way.  USing just -dump got most of them, but

using the -force_html caught all.  Need to script something to
reformat, but the worst of it's done!

Also, if using Mozilla (so, I would assume, Firefox) the 'Save Page As'
dialog offers a picklist for 'Files of Type' that includes 'Text Files'.

This does a pretty decent job of producing text from HTML files, and is
quicker than firing up lynx (or links) if you're already viewing a page.



Oh sure; I've been saving html in text, ascii/8859-1 for years.
But what I've got, and there are more saved **somewhere**, are
files that are saved by default in markup.  I have a slew of
	these on different boxen and have been moving then to one place.  
	Problem is: how to de-html the bunch.  


I'm too lazy to write something that would automate what Can be
	automated--markup like foo; are problematic.  So probably the 
	easiest way would be to create a dehtml.sh script that is just a 
	wrapper around lynx.  


I don't think I'm the only hacker who wants just-plain-ascii, so
this might mak a good project for somebody who's new to C or
perl.   That's my two pennies' worth!

gary


Cheers, Ian





If you don't want formatting and the number of tags is trivial, the 
solution is fairly simple in Perl (less than 150 lines, if even that).


-Garrett

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


Re: Default interface font size in Firefox Thunderbird 2.0

2007-05-15 Thread Erin Conn
Okay, I think what I'm seeing is that since upgrading to the 2.0 
versions of these applications, they're taking a font size that looks a 
few points higher than what's set in gtkrc-2.0. If I set the font down 
to Arial 10 in gtkrc-2.0 it looks about right in Firefox and 
Thunderbird, but then my other gtk2 apps have a font that's too small. 
If I set it to Arial 12 like I had it I get the ugly big fonts in FF and 
Thunderbird. I don't think it's my user settings; I tried a completely 
clean config in my guest account (all GTK, firefox, thunderbird, and KDE 
configs wiped) and still saw the same behavior.

--
===
 Erin E Conn
 [EMAIL PROTECTED]
===
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: what's the easiest way to de-html-ize files?

2007-05-15 Thread Gary Kline
On Tue, May 15, 2007 at 09:08:32AM +0200, Bram Schoenmakers wrote:
 Op zaterdag 12 mei 2007, schreef Gary Kline:
  This is for those of us who appreciate ASCII or straight
  ISO_8859-15 rather than marked up files.  I have slapped together
  a crude C program that does scotch (or *cleanse*) text of
  B/B and so on.   Still... is there some standalone converter
  that gets rids of markup more elegantly?   Something where i
  can say
 
  % cmd file_1.html ... file_N.html and output file_1.text ...
  file_N.text?
 
  thanks, gents,
 
 
  gary
 
 textproc/html2text


So!  this I'll check out.  bedankt:-)

gary

PS: Ask and thou shall receice. If you're lucky.


 
 Kind regards,
 
 -- 
 Bram Schoenmakers
 
 What is mind? No matter. What is matter? Never mind.
 (Punch, 1855)
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]

-- 
  Gary Kline  [EMAIL PROTECTED]   www.thought.org  Public Service Unix

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


PF Weirdness

2007-05-15 Thread Ansar Mohammed
Hello All,

See the following pf.conf file; weirdness is abound since I cannot connect
to the internal host antares from only some remote networks behind
firewalls. Funny enough I thought it was an MTU issue so I dropped max-mss
all the way down to 700 but still to no avail. 
Any ideas?


ext_if=tun0   
int_if=rl0  
internal_net=192.168.2.0/24
external_addr=10.248.190.95
internal_addr=192.168.2.1

#IP Address Assignments
ip121_addr=10.248.188.121

#Internal Host Assignments
antares=192.168.2.10
www=192.168.2.3
mail=192.168.2.13

scrub in all max-mss 1400

rdr on $ext_if proto tcp from any to ($ext_if) port 80 - 192.168.2.3 port
80
rdr on $ext_if proto tcp from any to ($ext_if) port 25 - 192.168.2.13 port
25
binat on $ext_if from $antares to any - $ip121_addr
nat on $ext_if from $internal_net to any - $external_addr

block in log all
pass in on $int_if from $internal_net to any  keep state
pass out on $ext_if from $external_addr  to any keep state
pass in on $ext_if inet proto tcp from any to $external_addr port 22 keep
state
pass in on $ext_if inet proto tcp from any to $www port 80 keep state
pass in on $ext_if inet proto tcp from any to $mail port 25 keep state
pass in on $ext_if inet proto tcp from any to $antares  port 22 keep state




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


Re: Default interface font size in Firefox Thunderbird 2.0

2007-05-15 Thread Garrett Cooper

Erin Conn wrote:
Okay, I think what I'm seeing is that since upgrading to the 2.0 
versions of these applications, they're taking a font size that looks a 
few points higher than what's set in gtkrc-2.0. If I set the font down 
to Arial 10 in gtkrc-2.0 it looks about right in Firefox and 
Thunderbird, but then my other gtk2 apps have a font that's too small. 
If I set it to Arial 12 like I had it I get the ugly big fonts in FF and 
Thunderbird. I don't think it's my user settings; I tried a completely 
clean config in my guest account (all GTK, firefox, thunderbird, and KDE 
configs wiped) and still saw the same behavior.


Are you using xorg-6.9 or xorg-7.2? If you're using xorg-7.2 then it's 
sort of known behavior.


-Garrett
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Computer wakes, keyboard sleeps on

2007-05-15 Thread Malcolm Fitzgerald

On 15/05/2007, at 8:48 PM, Tom Judge wrote:


Never you mind wrote:
The keyboard stays asleep after everything else has woken up. How do 
I begin troubleshooting this problem?
I use a KVM switch to share the KVM between two machines. The other 
machine runs Windows, everything works as it should there.

Malcolm


Does the KVM you are using have keyboard and mouse emulation for when 
the system is not active on the KVM.


It works as it should after reconnecting the keyboard. I had checked 
the connections before posting because that seemed the most likely 
cause but it seems that I did the job properly this time.


thanks 


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


Re: File System errors

2007-05-15 Thread Gary Kline
On Tue, May 15, 2007 at 02:49:59PM -0400, Daniel Molina Wegener wrote:
 
 El Mar, 15 de Mayo de 2007, 14:15, Ross Penner escribió:
  I recently had my system freeze so I had to manually restart it. I was
  worried that there would be some problems with the filesystem so I
  looked into the matter and discovered the utility fsck. I ran this as
  root and I got the following:
 
[[ ...  ]]

 
  ** Phase 5 - Check Cyl groups
  FREE BLK COUNT(S) WRONG IN SUPERBLK
  SALVAGE? no
 
  SUMMARY INFORMATION BAD
  SALVAGE? no
 
  18514 files, 70825 used, 905728 free (6688 frags, 112380 blocks, 0.7%
  fragmentation)
 
 
  It seems to my unexperienced eye that their are problems in some of
  the filesystems, but they arn't being resolved. I tried running fsck
  -y  and nothing changed. What am I doing wrong? How can I resolve
  these issues? Thanks for any help you can offer.
  [SNIP]
 

I ran in to similar snafus with mmy DNS server, very recently.  
I booted into single-user (press 4) and got rid of tons of junk
left in /var/tmp.  Then I did a mount -a and and fsck -y.

If fsck were any more useful, it would be able to cure death!
..Or at least hangovers:-)

goood luck,


gary



-- 
  Gary Kline  [EMAIL PROTECTED]   www.thought.org  Public Service Unix

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


Find out startup programs execution order..

2007-05-15 Thread Agus

Hi...
i am trying to solve a problem with an error message during startup..
su: /bin/csh : Permission Denied

so i am trying to find the way the programs start during boot

thats it

Thanxsss
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


DNS Cache - Bind

2007-05-15 Thread Jack Barnett

I'm running Bind 9.3.4 on FreeBSD 6.2 for my local network.

It doesn't have any zones, it's just a local DNS that has a bunch of forwarders.

The first request is slow (between 150 and 300 ms) - but after that
(the next query on same domain) is fast (less then 10 ms usually).
This is nice and working the way I like it. :)

What I'm wondering though is:

a) How do I flush the cache if I need to (ie. need to get a new update
from the forwards) - just restart named?

b) Are there any settings I can tweak that determine how long the
cache is kept?  (ie. Say I want to keep all queries for 7 days before
they are queried from the upstream DNS servers).  [This will probably
screw up dynamic DNS sites, but want to see what settings are
available]

c) Is there a easy way to 'blacklist' sites?  Say I want
'SpammerNetwork.com' to resolve to 127.0.0.1.

Basically I want to take this host file:
http://www.mvps.org/winhelp2002/hosts.htm
and then pump it into my DNS server, that way all the LAN clients are
protected from these sites.
Is there a way to do that?


-J
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Find out startup programs execution order..

2007-05-15 Thread Jack Barnett

Look before and after the error messages
What other messages you see?  That'll give you a general idea on where
it's at in the startup process when you get that error.

On 5/15/07, Agus [EMAIL PROTECTED] wrote:

Hi...
i am trying to solve a problem with an error message during startup..
su: /bin/csh : Permission Denied

so i am trying to find the way the programs start during boot

thats it

Thanxsss
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


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


Disk going bad?

2007-05-15 Thread Jack Barnett

I think I have a disk going bad.  Is there any tools for freebsd
that'll check the disk and let me know if there is a hardware problem
or not?

(I'm getting ECC errors from my controller and trying to firgure out
if it's a bad controller or a bad drive [already checked the cables
and all that, so just have it down to these 2 peices of hardawre])

k, thanks!
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


IP Firewall disconnecting me after firewall changes

2007-05-15 Thread Brett Davidson
I keep firewall rules in a file that I then run via a sh command. You
know, like /etc/rc.firewall. :-)
 
Essentially the file does 
ipfw -q -f flush
$cmd 0015 check-state
$cmd set 31 rule# allow tcp from address/subnet to me 22 in via
$pif setup keep-state
 
where $cmd = ipfw -q add  and $pif = em0.
 
I understand that this set 31 rule should remain even after the flush
action on the first line.
 
This does not appear to be the case. If I run this script from an ssh
session I get disconnected which is not what I expected. 
 
What am I doing wrong?
 
Cheers,
Brett.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


NIC of DELL PowerEdge Blade 1955 Server is not detected by FreeBSD 6.2

2007-05-15 Thread Sachin Sharma

Hi All,

NIC (Network Card) of PowerEdge Blade 1955 Server is not detected by 
FreeBSD 6.2. I need FreeBSD in these server . Please help me.


Thanks



--
Sachin Sharma
Sr. Engineer Systems (Linux)
Net4India Ltd.

D-25
Sector 3
Noida-201301
INDIA

Tel:   0120-5323500
Fax:  0120-5323520
URL: http://www.net4.in

This message may contain confidential and/or privileged information. If 
you are not the addressee or authorized to receive this for the 
addressee, you must not use, copy, disclose or take any action based on 
this message or any information herein. If you have received this 
message in error, please advise the sender immediately by reply e-mail 
and delete this message. Thank you for your cooperation.




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


Re: File System errors

2007-05-15 Thread Matthew Seaman
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

Gary Kline wrote:

   I booted into single-user (press 4) and got rid of tons of junk
   left in /var/tmp.  Then I did a mount -a and and fsck -y.

But not in that order.  fsck -y *first*, then mount -a, then start
removing files from /var/tmp.

Matthew

- -- 
Dr Matthew J Seaman MA, D.Phil.   7 Priory Courtyard
  Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
  Kent, CT11 9PW
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.3 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGSpfy8Mjk52CukIwRCPsuAJsFQwT+G5APT3a4XccFcmODfYXMlQCfYCQR
BI5cpzCkfYKOkFfSCGo9HvQ=
=VlWP
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


  1   2   >