Sendmail Compile-Time Configuration

2006-04-28 Thread Duane Whitty

Hi,

I'm adding LDAP support to my Sendmail configuration.
I couldn't seem to find the appropriate m4 file in which
to declare my APPENDDEF statements.  My course of
action was to include SENDMAIL_CFLAGS+=-DLDAPMAP
in make.conf.  Does this seem like the correct way to do this
for FreeBSD 6-STABLE?

TIA,

Duane Whitty
--
[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: Sendmail Compile-Time Configuration

2006-04-28 Thread Duane Whitty

Duane Whitty wrote:

Hi,

I'm adding LDAP support to my Sendmail configuration.
I couldn't seem to find the appropriate m4 file in which
to declare my APPENDDEF statements.  My course of
action was to include SENDMAIL_CFLAGS+=-DLDAPMAP
in make.conf.  Does this seem like the correct way to do this
for FreeBSD 6-STABLE?

TIA,

Duane Whitty

Answering myself:

I gues this isn't correct:

/usr/src/lib/libmilter/../../contrib/sendmail/include/sm/config.h:148:20: 
lber.h: No such file or directory


/usr/src/lib/libmilter/../../contrib/sendmail/include/sm/config.h:149:20: 
ldap.h: No such file or directory


mkdep: compile failed
   *** Error code 1

I'll be continuing to work on this but hopefully someone
here will have dealt with this previously

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


Problem compiling helios-qmail

2006-04-28 Thread Petr Murmak
Hi!

I'm trying install helios-qmail (http://helios-qmail.sourceforge.net/) which
is based on qmail-sql (http://qmail-sql.digibel.be/) and I know for sure,
that on FreeBSD 4.x it was possible to install it, but on FreeBSD 6.0 I
receive during installation only this:

./compile qmail-getpw.c `cat sql.headers`
In file included from sql.h:6,
 from qmail-getpw.c:17:
/usr/include/unistd.h:356: error: conflicting types for 'read'
readwrite.h:4: error: previous declaration of 'read' was here
/usr/include/unistd.h:356: error: conflicting types for 'read'
readwrite.h:4: error: previous declaration of 'read' was here
/usr/include/unistd.h:370: error: conflicting types for 'write'
readwrite.h:5: error: previous declaration of 'write' was here
/usr/include/unistd.h:370: error: conflicting types for 'write'
readwrite.h:5: error: previous declaration of 'write' was here
qmail-getpw.c: In function `main':
qmail-getpw.c:84: warning: return type of 'main' is not `int'
*** Error code 1

and 'compile' is script containing this:

#!/bin/sh
# WARNING: This file was auto-generated. Do not edit!
exec cc -O2 -c ${1+$@}

'sql.headers' only contains:

-I/usr/local/include/mysql



Any suggestions what to change for compiling this application?

Thanks

Petr

PS: Helios-qmail is very promising and if I will be able to compile it on
FreeBSD 6.0 I will try to make regular port...

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


Re: Problem compiling helios-qmail

2006-04-28 Thread Kris Kennaway
On Fri, Apr 28, 2006 at 09:57:25AM +0200, Petr Murmak wrote:
 Hi!
 
 I'm trying install helios-qmail (http://helios-qmail.sourceforge.net/) which
 is based on qmail-sql (http://qmail-sql.digibel.be/) and I know for sure,
 that on FreeBSD 4.x it was possible to install it, but on FreeBSD 6.0 I
 receive during installation only this:
 
 ./compile qmail-getpw.c `cat sql.headers`
 In file included from sql.h:6,
  from qmail-getpw.c:17:
 /usr/include/unistd.h:356: error: conflicting types for 'read'
 readwrite.h:4: error: previous declaration of 'read' was here
 /usr/include/unistd.h:356: error: conflicting types for 'read'
 readwrite.h:4: error: previous declaration of 'read' was here
 /usr/include/unistd.h:370: error: conflicting types for 'write'
 readwrite.h:5: error: previous declaration of 'write' was here
 /usr/include/unistd.h:370: error: conflicting types for 'write'
 readwrite.h:5: error: previous declaration of 'write' was here
 qmail-getpw.c: In function `main':
 qmail-getpw.c:84: warning: return type of 'main' is not `int'
 *** Error code 1

One of two things:

1) Report the problem to the authors

2) Patch the software yourself to not use its own (false) prototype
for those functions but to include the relevant system header.

Kris


pgpnyLKfYm2i8.pgp
Description: PGP signature


Re: Sendmail Compile-Time Configuration

2006-04-28 Thread Duane Whitty

Duane Whitty wrote:

Duane Whitty wrote:

Hi,

I'm adding LDAP support to my Sendmail configuration.
I couldn't seem to find the appropriate m4 file in which
to declare my APPENDDEF statements.  My course of
action was to include SENDMAIL_CFLAGS+=-DLDAPMAP
in make.conf.  Does this seem like the correct way to do this
for FreeBSD 6-STABLE?

TIA,

Duane Whitty

Answering myself:

I gues this isn't correct:

/usr/src/lib/libmilter/../../contrib/sendmail/include/sm/config.h:148:20: 
lber.h: No such file or directory


/usr/src/lib/libmilter/../../contrib/sendmail/include/sm/config.h:149:20: 
ldap.h: No such file or directory


mkdep: compile failed
   *** Error code 1

I'll be continuing to work on this but hopefully someone
here will have dealt with this previously

Duane Whitty

Maybe SENDMAIL_ADDITIONAL_MC in make.conf will work
with the needed APPENDDEF statements in my ldap.mc file?

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


gcc problem, I can't get the 'ctime((statbuf.st_atime)' value in line20.

2006-04-28 Thread jiangyong jon7808

 1 #include sys/stat.h
 2 #include errno.h
 3 char *filename = /etc/passwd ;
 4
 5 int main()
 6 {
 7 struct stat statbuf;
 8
 9 if(stat(filename,statbuf)==-1)
10 {
11 printf(Get stat on %s Error:%s\n,
filename,strerror(errno));
12 return(-1);
13 }
14
15 printf(Filename: %s\n, filename);
16 printf(Size: %ld\n, statbuf.st_size);
17 printf(Access Date: %s, ctime((statbuf.st_atime)));
18
19 printf(%s size: bytes\taccessed at %s,
filename,ctime(statbuf.st_atime));
20 printf(%s size:%ld bytes\taccesed at %s, filename,
statbuf.st_size,ctime((statbuf.st_atime)));
21 printf(\n**The
end!*\n) ;
22 }





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

generating a FeeBSD system

2006-04-28 Thread claude mandine

Hello,
I read a lot of stuff on your site, but I still don't understand what I have
to download and where and how I can start a system generation WITHOUT a CD,
just being under Window and having a free partition on my Hard disk.

could you help me?

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: video players broken

2006-04-28 Thread Gerard Seibert
Kris Kennaway wrote:

 On Thu, Apr 27, 2006 at 09:22:45PM -0500, Brian John wrote:
  Kris Kennaway wrote:
  On Thu, Apr 27, 2006 at 08:59:42PM -0500, Brian John wrote:

  Hi, I just upgraded my ports and now all of my video players either 
  won't install, or they won't start up.  I've tried 4 different ones, 
  here is what happens with each:
  
  vlc: won't install
  /usr/local/lib/libmatroska.so: undefined reference to 
  `libebml::CodedSizeLength(unsigned long long, unsigned int)'
  gmake[2]: *** [vlc] Error 1
  gmake[2]: Leaving directory `/usr/ports/multimedia/vlc/work/vlc-0.8.4a'
  gmake[1]: *** [all-recursive] Error 1
  gmake[1]: Leaving directory `/usr/ports/multimedia/vlc/work/vlc-0.8.4a'
  gmake: *** [all] Error 2
  *** Error code 2
  
  totem: won't start up
  [EMAIL PROTECTED] /usr/ports/multimedia/totem]$ totem 
  [1] 8150
  [EMAIL PROTECTED] /usr/ports/multimedia/totem]$ /libexec/ld-elf.so.1: 
  Shared object libglib-2.0.so.600 not found, required by 
  libgnome-keyring.so.0
  
  xine: this one starts up, but then closes right away, with no error
  
  mplayer: won't install, get several errors similar to this
  /usr/X11R6/lib/libxmms.so: undefined reference to `gtk_widget_get_type'
  /usr/X11R6/lib/libxmms.so: undefined reference to `gtk_vbox_new'
  gmake: *** [mencoder] Error 1
  *** Error code 2
  
  Can someone please help me out?
  
  
  You didn't upgrade your ports completely; you have an inconsistent mix
  of old and new libraries on your system.  portupgrade -a, or if that
  fails, portupgrade -fa.
  
  Kris

  I was using portmanager to upgrade.  I've always used this before and 
  it's worked fine.  I just type portmanager -u.  Does that not work anymore?
 
 No idea, I don't use portmanager.
 
 Kris

Assuming you have an updated ports collection, it should work fine It
does on my system.

I would recommend that you update your ports again and then run
'portmanager -u -f -y -l' and see if that fixes the problem. At the very
least, a log file will  be created '/var/log/portmanager.log' that might
help track down the problem.

HTH

-- 
Gerard Seibert
[EMAIL PROTECTED]


 You know that look women get when they want sex? Me neither.

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


Re: generating a FeeBSD system

2006-04-28 Thread Olivier Nicole
 to download and where and how I can start a system generation WITHOUT a CD,
 just being under Window and having a free partition on my Hard disk.

Hummm, unless you are using a virtual machine in Windows (like vmware)
you will need to boot your machine in FreeBSD, not in Windows.

So you will need to boot from floppy or from CD.

best regards,

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


Re: xhost does not work as expected

2006-04-28 Thread Frank Bonnet

Mike Jeays wrote:

On Thu, 2006-04-27 at 17:02 +0200, Frank Bonnet wrote:





To enable remote X displays, use either startx -listen_tcp or,
in /usr/local/share/config/kdm/kdmrc comment out
ServerArgsLocal=-nolisten tcp





yes ! this does what I needed , thank you very much.

Regards
--
Frank Bonnet

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


Re: Domain Name

2006-04-28 Thread Peter N. M. Hansteen
JP [EMAIL PROTECTED] writes:

 When running the command:
 host -t mx domain.tld

 It returns:
 domaint.tld.domain.tld

You forgot the trailing dot.

Your zone file probably has something like

domain.tld.IN MX mail.domain.tld

which should be 

domain.tld.IN MX mail.domain.tld.

-- 
Peter N. M. Hansteen, member of the first RFC 1149 implementation team
http://www.blug.linux.no/rfc1149/ http://www.datadok.no/ http://www.nuug.no/
First, we kill all the spammers The Usenet Bard, Twice-forwarded tales
20:11:56 delilah spamd[26905]: 146.151.48.74: disconnected after 36099 seconds.

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


Re: scripting languages...

2006-04-28 Thread Andrea Venturoli

Gary Kline wrote:


Somebody in the UK turned the perl regex stuff into a ch
	library.  IMHO, nobody can touch perl's regex ... so it 
	would be nice to have in the C world.


AFAIK regex is going to be in the upcoming C++ standard; for now you can 
get it with add-on libraries.

I guess you can in C too.

 bye
av.

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


Re: scripting languages...

2006-04-28 Thread Arne Skjaerholt
On Thu, 2006-04-27 at 15:34 -0700, Gary Kline wrote:

   Somebody in the UK turned the perl regex stuff into a ch
   library.  IMHO, nobody can touch perl's regex ... so it 
   would be nice to have in the C world.  There are other  
   perl features that would serve if they were backported,
   too.  
The perl regex library for ch was probably implemented using libpcre
(from www.pcre.org) which is a C implementation of perl compatible
regexes. I've fiddled around a bit with it, and the API is pretty nice
to work with.

Arne
:wq

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


RE: FreeBSD 6.0 compat with DL320 G4

2006-04-28 Thread [EMAIL PROTECTED]@mgEDV.net
 
 RAID support on the DL320 G4 is broken.  HP uses Adaptec
 firmware and Adaptec has not provided Soren programming info
 on their metadata format, as he requested.

hi,
we're using 6.1-RC1 on a DL320 G4 with raidctl, which perfectly
fit's our needs. the metadata being written by the bios-fw of the
onboard-controller (adaptec) is really not readable by the os, but
this doesn't prevent us from having our os being installed on raid1.
you only have to boot freebsd, go to the shell, use raidctl to create
an ar0 using ad4 and ad6 and then install the os directly onto ar0.
even booting is not an issue.
[-thx 2 soren, he pointed us in the right direction upon this :-)]

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


Re: Horrible: Apache corrupting files?

2006-04-28 Thread Ben Paley
On Wednesday 26 April 2006 13:22, Bill Moran wrote:

 memtest86 is also available as a bootable CD.

So it is

 How long did you run it for?  I don't trust the results unless I let
 it run for at least 8 hours.  _Any_ errors are bad, especially on a
 server.  The bootable versions (CD or floppy) are better because they
 can test more of the machine's memory.

7:44 last night with no errors. Mem-map was set to 'auto' - when I set it 
to 'all' the screen immediately filled with errors and 'probe' froze the 
machine instantly. I think (hope?) these failures represent something odd, 
but not broken, in my laptop's bios rather than a real memory error, so I'm 
provisionally eliminating memory failure as the cause of my file corruption.

Any idea where I go from here? That file really does change. Could it be a 
hard disk problem on the exact spot where this file is? is fsck my friend in 
this instance? I'll go and rtfm right now...

Thanks,
Ben

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


Re: FreeBSD 6.0 compat with DL320 G4

2006-04-28 Thread William
Will this stop me using the drives without RAID?

Regards,

William

On 28/04/06, Ted Mittelstaedt [EMAIL PROTECTED] wrote:
 RAID support on the DL320 G4 is broken.  HP uses Adaptec
 firmware and Adaptec has not provided Soren programming info
 on their metadata format, as he requested.

 Ted

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] Behalf Of
 [EMAIL PROTECTED]@mgEDV.net
 Sent: Thursday, April 27, 2006 5:38 AM
 To: freebsd-questions@freebsd.org
 Cc: [EMAIL PROTECTED]
 Subject: RE: FreeBSD 6.0 compat with DL320 G4
 
 
 
  Our vendor preference is HP, if anyone could share their experience
  with the following products (in regards of network/sata support and
  anything else mentioning):
 
  HP DL140 G2
  HP DL145 G2
  HP DL320 G4
  HP DL360 G4
 
 we tried dl320 g2, g3, g4, dl380 g3 with sata/ciss drives,
 1-4gb ram, P4/XEON, DUAL-XEON with freebsd 5 and 6.
 as of the *bsd's, freebsd has the best support for the
 hp DL*s. sata support is not given for all embedded raid-
 controllers but you can still use raid 1 functionality
 using raidctl. hdd failures can render the system hang for
 3-5sec's on sata devices but after this timeout, everything's
 fine. rebuild is sometimes only possible by os-command, pluggin'
 in the new drive is sometimes not enough ;-)
 
 nw/chipset support is working (at least on all machines we use).
 no performance issues, except you configure as router and you use
 many different irq's for all interfaces (only occurred on a machine
 with 8 interfaces).
 
 thermal zone / ipmi support is not really
 close to the vendors ideas and sometimes produces wrong
 numbers, but if you don't want to set fan-speed or check
 temp. on all mentioned devices, it's fine.
 
 also, system management like (red-power fail, red-fan fail, etc...)
 is not really talking to the os and vice versa, therefore you'll
 have to check for errors like this on your own.
 
 furthermore, bios/fw upgrades can sometimes be really annoying,
 if you don't have usb-boot-support you'd run into troubles because
 hp only delivers them for some specific os's and freebsd is not on
 the list.
 
 btw. if somebody reads this and thinks: hey, bullshit i know a way
 of doing this better and it works fine with my DL, please let me
 know!
 
 best regards and good luck w. the hw :-)
 
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
 [EMAIL PROTECTED]
 
 --
 No virus found in this incoming message.
 Checked by AVG Free Edition.
 Version: 7.1.385 / Virus Database: 268.5.0/325 - Release Date: 4/26/2006
 


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


Re: Problem install 6.0 (release) on Sony Vaio TX610P

2006-04-28 Thread Mark Myatt

   Lowell Gilbert wrote:
 The fxp(4) driver supports at least some i82562 based Ethernet
 devices.  Does FreeBSD 6.1 recognize it on boot?

   I installed 6.0-RELEASE from CD (do you think I might have more luck
   with 6.1-RC1?)
   The only recognition on boot is the message:
pci6: network, ethernet at device 8.0 (no driver attached)

   I get similar no driver attached messages for other system
   components (pci0 - display, VGA, multimedia; pci6 - mass media (I
   think this is the memory stick), pci6 - this card and the wireless
   network card, pci8 - serial bus, SMbus).
   Mark

I am trying to install FreeBSD 6.0 on a Sony Vaio TX610P laptop. This
laptop previously ran a Debian-based Linux distribution with little
trouble. I wanted to switch to FreeBSD and did some practice
installations, kernel recompiles, c. on an old desktop machine. All
went well.

Today I decided to try an install on the TX610P. Installation of the
base-system went well enough but the system does not recognise the NIC.

The boot message given is:

pci6: network, ethernet at device 8.0 (no driver attached)

pciconf -l -v gives:

[EMAIL PROTECTED]:8:0: class=0x02 card = 0x81e2104d chip=0x10698086
rev=-0x03 hdr =0x00
vendor   = 'Intel Corporation'
device   = '82562Em/EX/GX PRO/100 VM (LOM) Ethernet Controller
Mobile'
class= network
subclass = ethernet

ifconfig reports only the the loopback (lo0) and Ethernet over
Firewire (fwe0) devices.

My kernel configuration has the lines:

device miibus
device fxp

Any suggestions?


  

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


Re: Horrible: Apache corrupting files?

2006-04-28 Thread Alex Zbyslaw

Ben Paley wrote:

so I'm provisionally eliminating memory failure as the cause of my 
file corruption.


Any idea where I go from here? That file really does change. Could it be a 
hard disk problem on the exact spot where this file is? is fsck my friend in 
this instance? I'll go and rtfm right now...
 

fsck is not the answer.  It just checks your filesystem for consistency 
not your hard disk for errors.


Try sysutils/smartmontools or a disk checker from the disk 
manufacturer.  Most provide one.


--Alex


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


Re: scripting languages...

2006-04-28 Thread Igor Robul
On Fri, Apr 28, 2006 at 03:35:03AM +0200, Arne Skjaerholt wrote:
 Getting at argv/argc is actually pretty simple in Perl. The global array
 @ARGV contains the arguments given on the command-line, but not the name
 of the file (this datum is contained in $0). Therefore your argv[1] in C
 is $ARGV[0] in Perl. The number of command-line arguments can be
 obtained in two ways, either you interpret the array in a scalar context
Except there is one big drawback for me (I'm not Perl-guru :-) ):
 If there are some file names on command line of perl-script, then perl
 redirects stdout to read from these files, which makes impossible to
 read from real stdout. At least for me :-)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: How is this List Connected with the usenet?

2006-04-28 Thread Igor Robul
On Thu, Apr 27, 2006 at 08:35:37AM -0400, JD Arnold wrote:
 they have various web interfaces, as well as nntp and rss feeds. 
 read-only though.  to post you have to subscribe and send mail to the list.
 
 That's not true. I'm posting via GMane.org right now.
freebsd-questions is special list. You dont need to be subscribed to
post to it.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: scripting languages...

2006-04-28 Thread Arne Skjaerholt
On Fri, 2006-04-28 at 14:54 +0400, Igor Robul wrote:
 Except there is one big drawback for me (I'm not Perl-guru :-) ):
  If there are some file names on command line of perl-script, then perl
  redirects stdout to read from these files, which makes impossible to
  read from real stdout. At least for me :-)
Not quite. If you use the special ``$line = ;'' construct Perl will
indeed interpret the args on the command line as file names and read
from those. However if you explicitly say that you want to read from
STDIN like so: ``my $line = STDIN;'' you will not read from a file,
but from whatever your STDIN is connected to.

Arne
:wq

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


Re: Problem install 6.0 (release) on Sony Vaio TX610P

2006-04-28 Thread Mark Myatt
Just a note to let you know that I have fixed the problem with the 
detection / driver allocation of the onboard NIC in the Sony Vaio TX610P 
(might be useful for others so I write for the archive) ...


I am new to FreeBSD so apologies if I get the exact details / 
terminology of the fix wrong (it worked for me though).


The source for the fxp driver is in:

/usr/src/sys/dev/fxp/if_fxp.c

The NICs that this driver knows about seems to be hard coded in a table 
in the source.


I inserted this line (at line 180 in the 6.0-RELEASE code):

{ 0x1069, -1, Intel 82562EM/EX/GX Pro/100 Ethernet },

And re-built and re-installed the kernel. All worked fine after that. I 
think that this NIC is common to the Sony Vaio TX series (to date at 
least) so the same fix should work for other TX series machines.


Now to fix the problem with the wireless card...

Best wishes,

Mark

--
Mark Myatt

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


Re: scripting languages...

2006-04-28 Thread cpghost
On Fri, Apr 28, 2006 at 10:51:37AM +0200, Andrea Venturoli wrote:
 Gary Kline wrote:
 
  Somebody in the UK turned the perl regex stuff into a ch
  library.  IMHO, nobody can touch perl's regex ... so it 
  would be nice to have in the C world.
 
 AFAIK regex is going to be in the upcoming C++ standard; for now you can 
 get it with add-on libraries.

Yep! Look at Boost.Regex:

http://www.boost.org/libs/regex/doc/index.html

Regards,
-cpghost.

-- 
Cordula's Web. http://www.cordula.ws/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: scripting languages...

2006-04-28 Thread Peter Clutton
On 4/28/06, Gary Kline [EMAIL PROTECTED] wrote:



 The only thing I recall reading about C# is that it was
 a DOS/Win C++ ish language.



There's more to it than that, and not really DOS, it's a fairly new fully
object oriented alternative to languages like Java. Not that it's much good.

ch is a C/C++ scripting language
 that is like /bin/sh only with C syntax.Some C wizards
 created a perl regex library for ch; thus my question.


That would csh or tcsh not ch.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Getting DHCP to use resolv.conf?

2006-04-28 Thread Lowell Gilbert
Don't top-post, please.

fbsd [EMAIL PROTECTED] writes:

 Does anyone have a script that does this, that they can share?

It will be pretty similar to the script I posted recently for updating
your local named's forwarders list automatically.  [Which is another
approach to the same problem, and will generally perform better.]

 
 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] Behalf Of Bill Moran
 Sent: Wednesday, April 26, 2006 5:06 PM
 To: Telting
 Cc: freebsd-questions@freebsd.org
 Subject: Re: Getting DHCP to use resolv.conf?
 
 
 On Wed, 26 Apr 2006 13:56:57 -0700
 Telting [EMAIL PROTECTED] wrote:
 
  I would like to know how I can propagate the dns servers which the
 dhcp
  client puts in resolv.conf to dhcpd.  I only see how I can only
  explicitly list a domain server with option domain-name-servers.
 How
  do I propogate non static dns servers?
 
 Write a script to updated the dhcpd.conf file when resolv.conf
 changes.  dhclient allows you to create hooks that automagically
 run a script of your choosing when a new lease is obtained.
 
 Or you could search the list archives for when this exact question
 was asked a few weeks ago.
 
 --
 Bill Moran
 Collaborative Fusion Inc.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


asr-utils broken on 6.0?

2006-04-28 Thread Frank Laszlo
Has anyone had success using asr-utils on 6.0? I have an Adaptec 2000S
card, and I am simply trying to query the array with no success. It
keeps returning the following error when I run raidutil -L all:

Engine connect failed: COMPATILITY number

I have googled for this error message and have found a couple threads
from about a year ago that suggest symlinking /dev/asr0 to a couple
other devices, /dev/rdptr17 and rdpti0. This does not fix the problem.
Any ideas? Thanks

-- 
__
Frank Laszlo
System Administrator
The VonOstin Group
Email:  [EMAIL PROTECTED]
WWW:http://www.vonostingroup.com
Mobile: 248-863-7584

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


Re: bsnmpd help

2006-04-28 Thread Lowell Gilbert
Sean Murphy [EMAIL PROTECTED] writes:

 I am running FreeBSD 5.4 and would like to monitor it using the
 included bsnmpd.  However the handbook did not have any information
 about it, the man page was pretty lean and the list archive is very
 scarce on the topic.
 
 I checked the /etc/defaults/rc.conf and noticed there is not an
 enable_bsnmpd that I can add so it starts up.
 
 Could someone point me to a good guide to bsnmpd I would really like
 to start using it.

It's still pretty new, so it's not in heavy use yet.  rc support is
present in 6.x, but nobody seems to have written up cookbook examples
so far.  
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: gcc problem, I can't get the 'ctime((statbuf.st_atime)' value in line20.

2006-04-28 Thread Conrad J. Sabatier
On Fri, 28 Apr 2006 16:22:10 +0800, jiangyong jon7808
[EMAIL PROTECTED] wrote:

   1 #include sys/stat.h
   2 #include errno.h
   3 char *filename = /etc/passwd ;
   4
   5 int main()
   6 {
   7 struct stat statbuf;
   8
   9 if(stat(filename,statbuf)==-1)
  10 {
  11 printf(Get stat on %s Error:%s\n,
 filename,strerror(errno));
  12 return(-1);
  13 }
  14
  15 printf(Filename: %s\n, filename);
  16 printf(Size: %ld\n, statbuf.st_size);
  17 printf(Access Date: %s, ctime((statbuf.st_atime)));
  18
  19 printf(%s size: bytes\taccessed at %s,
 filename,ctime(statbuf.st_atime));
  20 printf(%s size:%ld bytes\taccesed at %s, filename,
 statbuf.st_size,ctime((statbuf.st_atime)));
  21 printf(\n**The
 end!*\n) ;
  22 }
 
 
 
 
 
 OS :FreeBSD 6.1-RC #36

Works fine here:

$ ./foo
Filename: /etc/passwd
Size: 6073
Access Date: Wed Apr 26 04:07:15 2006
/etc/passwd size: bytes accessed at Wed Apr 26 04:07:15 2006
/etc/passwd size:6073 bytes accessed at Wed Apr 26 04:07:15 2006

**The end!*

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


Re: generating a FeeBSD system

2006-04-28 Thread Bill Moran
On Fri, 28 Apr 2006 10:29:59 +0200
claude mandine [EMAIL PROTECTED] wrote:

 Hello,
 I read a lot of stuff on your site, but I still don't understand what I have
 to download and where and how I can start a system generation WITHOUT a CD,
 just being under Window and having a free partition on my Hard disk.
 
 could you help me?

First, read the install section of the handbook.
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/install.html
Read the _entire_ thing.
Second, backup your Windows data.
Third, test your Windows backup to be sure it's good.
Then, download a boot floppy image and get started:
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/install-pre.html#INSTALL-FLOPPIES

If you are not 100% sure that you've backed up your data, don't
start the install process.  It's very common for folks to destroy
their Windows partition if they're not familiar with the process.

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


Re: Wanted: Flash player for browser_of_choice....

2006-04-28 Thread ballona

Hi,

I've found this topic another day and today I've subscribed to this list 
in order to post this message that I hope could be helpful to someone.


I've recentely managed to make linux-firefox ports to install 
flashplayer automatically (i.e. without relying on www/flashplugin 
ports) on freebsd (which I've never managed to do before).  Even better, 
it's installed version 7 or flashplayer which I've almost never managed 
to run with firefox ports.


I'm not a lawyer too but as flashplayer was not installed via ports and 
as it was firefox itself that fetch, downloaded and installed it, I 
think it's  technically running under firefox regardless wherever 
firefox is running on.  But that's only my guess...


I'll described what happened so that anyone that want, can try and make 
it work to.  I don't know exactely what make it work as I've tried it 
before without success.  That's why I will explain the steps I took but 
I don't know which ones are relevant to the result I've achieved.


1) I run fredbsd current 7.

2) I always have firefox and flashplugin ports installed on my system 
and by adjusting /etc/libmap.conf I had success on displaying pages with 
flash contents, although I've always have problems when I installed 
newer versions of firefox or flashplugin.  After such updates it was 
common that firefox crash when it find flash content and sometimes I 
wasn't able to fix it.  The last time it happened I've only managed to 
avoid it to crash when it find flash content, but it didn't show any 
flash content in the page but only a frame where flash contend should be.


3)  Tired of fixing these problems I tried to install linux-firefox that 
I've heard that would have better results.  It really has, because after 
install, it played flash contents without any other adjustments.  I 
think linux-firefox continue to rely on www/flashplayer ports to play 
flash contents but it seems to do it better.  I noticed that it used 
flashplayer version 6, the same that I used to use with firefox ports.  
Now I had firefox and linux-firefox installed at the same time in my 
system and the nice thing was that bookmarks, extensions and etc were 
shared by both.


4) Recentelly during a ports update, portupgrade advise that flashplugin 
would be deinstallled as a license problem was identified. I've accepted 
it and it was automatically deinstalled.


5) After that when I use firefox, it started to crash again when it 
finds any flash content in a page and I realized it was because 
flashplugin have been deinstalled (at that time I wasn't aware of the 
HOLD_PKGS =['linuxpluginwrapper*' option to prevent it of being 
deinstalled and after deinstalled it didn't help to have it and try to 
install flashplugin again).


6) Then I tried to run linux-firefox.  It hasn't crashed when it finds 
flash contents but couldn't play it too.  But instead of crashing it 
showed an upper bar saying that a plugin is missing and ask if it can 
try to fetch and install it for me.  I've said yes but unfortunately 
it's said it couldn't find an appropriate plugin and that I had to do it 
manually.


7) After that I've gave up and try to find anyone with the same problem 
in any forum.  Then I've found this thread Re: Wanted: Flash player for 
browser_of_choice with interesting information about the subject 
but aparentely without any real solution, apart from asking adobe for a 
native version or a change in license.


8) Then I found someone saying that have tried gnash (GNU Flash movie 
player) without success either but that it could be a viable alternative.


9) So I tried to install gnash with the following command: sudo 
portupgrade -R -r -N -i gnash


10) Then I realized that it was better to gave it the WITH_FIREFOX=yes 
option and  so I did: sudo vi /usr/ports/graphics/gnash/Makefile and 
included that option there (I don't know it there is a better way to ddo 
that) running the installation again with the command: sudo portupgrade 
-R -r -N -i -f gnash.  This time it asked me where was the firefox 
binary and I pointed it to the linux-firefox binary that had installed 
in my system.


11) After that I tried to run linux-firefox again in a page with flash 
contents.  And again it doesn't show any flash content but only the 
upper bar saying a plugin is missing.


12) I then tried to find any evidence that linux-firefox was aware of 
gnash in any way by inspecting about, tools menu, extensions etc, but 
without success.


13) Finally I clicked in the upper bar so that linux-firefox could try 
again to fetch and install flashplugin by itself.  I was surprised when 
the progress bar start to move saying it has been found and was being 
installed.  It finished successfully and after that linux-firefox 
started to show flash contents correctely and and when I right click in 
any flash contents I realized that it was flashplayer 7 that was running.


I don't know what has changed to make it be able to install flashplugin 

Re: asr-utils broken on 6.0?

2006-04-28 Thread Frank Laszlo
Martin Hudec wrote:
 Hello,

 Frank Laszlo wrote:
 Has anyone had success using asr-utils on 6.0? I have an Adaptec 2000S
 card, and I am simply trying to query the array with no success. It
 keeps returning the following error when I run raidutil -L all:

 Engine connect failed: COMPATILITY number

 I have googled for this error message and have found a couple threads
 from about a year ago that suggest symlinking /dev/asr0 to a couple
 other devices, /dev/rdptr17 and rdpti0. This does not fix the problem.
 Any ideas? Thanks

 I am.

 If I remember correct then this one needs to have:

 options ASR_COMPAT

 enabled in kernel.


 Cheers,
 Martin

Thanks for the quick response Martin, I am having some issues with a
remote server, and was trying to figure out if one of the disks have
failed. I will recompile my kernel with this option and give it a show.
Nice of someone to mention this in the docs somewhere, huh? (I'll send a
patch over to the maintainer for the manpage if this works out)

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


rsnapshot: /bin/cp failed

2006-04-28 Thread Jim Stapleton

Anyone know what would cause this? I am on a 6.0 system, an installed
rsnapshot via ports.

It looks like it wants to use the -a option, and cp doesn't like
that, what's the fix?

Thanks,
-Jim Stapleton



[EMAIL PROTECTED] 09:19:03 (0) ~  sudo /usr/local/bin/rsnapshot hourly
cp: illegal option -- a
usage: cp [-R [-H | -L | -P]] [-f | -i | -n] [-pv] source_file target_file
  cp [-R [-H | -L | -P]] [-f | -i | -n] [-pv] source_file ...
target_directory

rsnapshot encountered an error! The program was invoked with these options:
/usr/local/bin/rsnapshot hourly

ERROR: /bin/cp failed. Perhaps this is not GNU cp?
ERROR: Error! cp_al(/media/backup/hourly.0/, /media/backup/hourly.1/)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


pkg_create: directory-permissions: bug or feature?

2006-04-28 Thread [EMAIL PROTECTED]@mgEDV.net

hi,

the packaging-system (pkg_create, pkg_add) uses the tar
file format for creating/installing packages and some
special files inside the tar.
everything is really fine for me, except the handling
of directories, especially if they're empty! these dir's
never get installed!
if they're not empty, their modes/owners are not being
taken care of and they get installed with the values from
the current user (mostly root) and the current umask.

because of any packaging getting really weird, it does not
make sense to issue hundreds of @mode or @exec chown commands
inside the packing-list. also, i know it's possible to write
install-scripts for everything which also changes the
permissions after installing, but if the stage is setup
correctly, why take care for this twice?

can someone explain, why file-owners/modes, which are set
inside the tarballs are being extracted correctly, and the
directories not?

br  cu...

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


Intel Macs, FreeBSD, and drivers

2006-04-28 Thread Gayn Winters
The consensus of the group is that FreeBSD should run fine on an Intel
Mac.  I'm interested in the time lag between the availability of drivers
on an Intel Mac and on FreeBSD.

Question1:  If there is a driver for a device that works on an Intel Mac
(under OS X), will that driver work under FreeBSD?  For example, suppose
a very new Intel Mac has a new disk controller, is there some process by
which we can get its driver into FreeBSD?  E.g. via a download from
either Apple or the chip set vendor?

Question2:  Can we expect the volume of Intel Macs to improve (shorten)
the time delay between the existence of new hardware and the
availability of supporting drivers on FreeBSD?

Thanks,

-gayn

Bristol Systems Inc.
714/532-6776
www.bristolsystems.com 


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


Re: How do I swap tape drives (sa0) without rebooting?

2006-04-28 Thread Alex Zbyslaw

[EMAIL PROTECTED] wrote:


Hello list.

I have a freebsd 6.1-RC1 machine that I am using to test bacula and
various tape drives.  If the machine boots up while the tape drive is
attached and powered up, the tape drive is recognized.  If I turn off the
tape drive and attach a different drive, I cannot seem to convince the OS
that a tape drive is present.  What am I doing wrong?
 

All I can say is that under 5.4 (and many versions before) the following 
works for me.  I don't have 6-anything as yet.


3 {root @ cartman} #  /sbin/camcontrol rescan 0
Re-scan of bus 0 was successful
3 {root @ cartman} # /sbin/camcontrol devlist
COMBO GO-B5232D G96A at scbus2 target 0 lun 0 (pass0,cd0)
ATAPI DVD-ROM 16X 422I   at scbus2 target 1 lun 0 (pass1,cd1)

Turn on SCSI tape drive (an HP DAT fwiw).

4 {root @ cartman} # /sbin/camcontrol rescan 0
Re-scan of bus 0 was successful
5 {root @ cartman} # /sbin/camcontrol devlist
HP C1533A AN04   at scbus0 target 3 lun 0 (pass2,sa0)
COMBO GO-B5232D G96A at scbus2 target 0 lun 0 (pass0,cd0)
ATAPI DVD-ROM 16X 422I   at scbus2 target 1 lun 0 (pass1,cd1)

And message in my console as well.

Then turn it back off

7 {root @ cartman} # /sbin/camcontrol rescan 0
Re-scan of bus 0 was successful
8 {root @ cartman} # /sbin/camcontrol devlist
COMBO GO-B5232D G96A at scbus2 target 0 lun 0 (pass0,cd0)
ATAPI DVD-ROM 16X 422I   at scbus2 target 1 lun 0 (pass1,cd1)

And message in console about it going away.


You mentioned termination.  The documentation for your tape drive will 
tell you if you need it (I though modern stuff was self terminating, but 
I don't have any modern stuff to confirm that :-)).  If not, then maybe 
you do need a terminator.  Or maybe the tape drive is knackered ;-(


--Alex

PS You should use all instead of 0 in the above; I just know where 
my tape drive is.  Also, it takes about 10 seconds from power on for the 
drive to show up.  A rescan inside 10 secs and nothing shows up.




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


Re: gcc problem, I can't get the 'ctime((statbuf.st_atime)' value in line20.

2006-04-28 Thread Conrad J. Sabatier
On Fri, 28 Apr 2006 08:17:34 -0500, Conrad J. Sabatier
[EMAIL PROTECTED] wrote:

 On Fri, 28 Apr 2006 16:22:10 +0800, jiangyong jon7808
 [EMAIL PROTECTED] wrote:
 
1 #include sys/stat.h
2 #include errno.h
3 char *filename = /etc/passwd ;
4
5 int main()
6 {
7 struct stat statbuf;
8
9 if(stat(filename,statbuf)==-1)
   10 {
   11 printf(Get stat on %s Error:%s\n,
  filename,strerror(errno));
   12 return(-1);
   13 }
   14
   15 printf(Filename: %s\n, filename);
   16 printf(Size: %ld\n, statbuf.st_size);
   17 printf(Access Date: %s, ctime((statbuf.st_atime)));
   18
   19 printf(%s size: bytes\taccessed at %s,
  filename,ctime(statbuf.st_atime));
   20 printf(%s size:%ld bytes\taccesed at %s, filename,
  statbuf.st_size,ctime((statbuf.st_atime)));
   21 printf(\n**The
  end!*\n) ;
   22 }
  
  
  
  
  
  OS :FreeBSD 6.1-RC #36
 
 Works fine here:
 
 $ ./foo
 Filename: /etc/passwd
 Size: 6073
 Access Date: Wed Apr 26 04:07:15 2006
 /etc/passwd size: bytes accessed at Wed Apr 26 04:07:15 2006
 /etc/passwd size:6073 bytes accessed at Wed Apr 26 04:07:15 2006
 
 **The end!*

Hmm, I just noticed the missing data above.  My bad.  :-)


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


Re: rsnapshot: /bin/cp failed

2006-04-28 Thread Greg Barniskis

Jim Stapleton wrote:

Anyone know what would cause this? I am on a 6.0 system, an installed
rsnapshot via ports.

It looks like it wants to use the -a option, and cp doesn't like
that, what's the fix?

[snip]

ERROR: /bin/cp failed. Perhaps this is not GNU cp?

^^^

Install GNU cp, available as part of the sysutils/coreutils port.


--
Greg Barniskis, Computer Systems Integrator
South Central Library System (SCLS)
Library Interchange Network (LINK)
gregb at scls.lib.wi.us, (608) 266-6348
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: ASUS WL-167G config (was ural driver, Belkin F5D7050 USB not working)...

2006-04-28 Thread Harrison Peter CSA BIRKENHEAD
Thanks for the reply.

I bought the same Asus WL-167G recently looking at other posts on the internet 
but I am unable to get it work.

It shows up in ifconfig and then when I try to connect to the router it simply 
does not work.
I run the following command

ifconfig ural0 inet 192.168.0.20 netmask 0xff00 ssid DRAGON (my 
ssid)ifconfig -a shows as NO CARRIER but once it showed as associated 
buteven then it did not work (i tried accessesing the net).My router is not 
configured for Encryption or anything. I control securityby the Mac Address 
of the wireless device.IF you have a step by step instructions on how to make 
it work that will be great.I havent spent a whole lot of time trying to make 
it work either, so if you have theinstructions handy then its good or else I 
will keep trying, shouldnt be
 thatdifficult.Thanks,Rakesh


snip

Rakesh,

You may have this sorted by now, but just in case...

The good news is that you have the ural0 device, so now it's just a matter of 
configuration.

Without encryption the only other thing I needed to specify to ifconfig was the 
channel (check the settings on your router for the channel number):

eg. ifconfig ural0 inet 192.168.0.20 netmask 255.255.255.0 ssid DRAGON channel 1

and I was on the network.

If that doesn't work, check the settings on your router - have you added the 
MAC address to the filter list, and are you sure WEP/WPA is turned off, are you 
in range of the router?

Take a look at this article for info on wireless setup:

http://www.freebsdmall.com/~loader/en_US.ISO8859-1/articles/wireless/article.html

Let me know how you get on.

By the way, most people would probably prefer you not to email in HTML - you're 
likely to get a quicker (or any) response if you don't - and copy the list into 
your replies.



Peter Harrison.

**
This document is strictly confidential and is intended only for use by the 
addressee. 
If you are not the intended recipient, any disclosure, copying, distribution or 
other 
action taken in reliance of the information contained in this e-mail is 
strictly prohibited.
Any views expressed by the sender of this message are not necessarily those of 
the Department 
for Work and Pensions.
If you have received this transmission in error, please use the reply function 
to tell us 
and then permanently delete what you have received.
Please note: Incoming and outgoing e-mail messages are routinely monitored for 
compliance 
with our policy on the use of electronic communications.
**


The original of this email was scanned for viruses by the Government Secure 
Intranet (GSi) virus scanning service supplied exclusively by Cable  Wireless 
in partnership with MessageLabs.

On leaving the GSi this email was certified virus-free.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: rsnapshot: /bin/cp failed

2006-04-28 Thread Jim Stapleton

Now I'm getting a nother problem: gcp is trying to follow symlinks,
even though it's being called with -al, and -a implies
no-dereference, which means it shouldn't follow symllinks

anyway, I tried the two commands listed at the end of this, with the
listed results. Anyone know of this issue with gcp?



Thanks, -Jim

gcp version check:

[EMAIL PROTECTED] 10:48:53 (0) /music/backup  gcp --version
cp (coreutils) 5.2.1
Written by Torbjorn Granlund, David MacKenzie, and Jim Meyering.

Copyright (C) 2004 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.


Getting file information of some of the problematic files (they are
symlinks to sockets):

[EMAIL PROTECTED] 11:28:42 (0) /music/local_music  ls -l
/music/backup/hourly.0/localhost/home/sjss/.kde
total 4
drwx--  2 sjss 512 Apr 24 18:46 Autostart/
lrwxr-xr-x  1 sjss  22 Apr 23 21:59 cache-aragorn.ameritech.net -
/var/tmp/kdecache-sjss/
drwx--  9 sjss 512 Apr 25 17:18 share/
lrwxr-xr-x  1 sjss  17 Apr 23 21:59 socket-aragorn.ameritech.net -
/tmp/ksocket-sjss/
lrwxr-xr-x  1 sjss  13 Apr 23 21:59 tmp-aragorn.ameritech.net - /tmp/kde-sjss/


manual copy attempt 1:

[EMAIL PROTECTED] 10:48:53 (0) /music/backup  /usr/local/bin/gcp -al
--no-dereference /music/backup/hourly.0/ /music/backup/hourly.1/
/usr/local/bin/gcp: cannot create link
`/music/backup/hourly.1/localhost/home/sjss/.DCOPserver_aragorn.ameritech.net_:0':
Cross-device link
/usr/local/bin/gcp: cannot create link
`/music/backup/hourly.1/localhost/home/sjss/.kde/cache-aragorn.ameritech.net':
Operation not permitted
/usr/local/bin/gcp: cannot create link
`/music/backup/hourly.1/localhost/home/sjss/.kde/socket-aragorn.ameritech.net':
Operation not permitted
/usr/local/bin/gcp: cannot create link
`/music/backup/hourly.1/localhost/home/sjss/.kde/tmp-aragorn.ameritech.net':
Operation not permitted
/usr/local/bin/gcp: cannot create link
`/music/backup/hourly.1/localhost/home/sjss/.mozilla/firefox/6xag483y.default/lock':
No such file or directory
/usr/local/bin/gcp: cannot create link
`/music/backup/hourly.1/localhost/home/sjss/.mplayer/input.kbtv':
Cross-device link
/usr/local/bin/gcp: cannot create link
`/music/backup/hourly.1/localhost/home/sjss/dev/gdhls/src/system_opt':
Operation not permitted
/usr/local/bin/gcp: cannot create link
`/music/backup/hourly.1/localhost/etc/namedb': No such file or
directory
/usr/local/bin/gcp: cannot create link
`/music/backup/hourly.1/localhost/etc/rmt': Cross-device link
/usr/local/bin/gcp: cannot create link
`/music/backup/hourly.1/localhost/etc/termcap': Cross-device link


manual copy attempt 2:

[EMAIL PROTECTED] 10:48:53 (0) /music/backup  /usr/local/bin/gcp -al
--no-dereference /music/backup/hourly.0/ /music/backup/hourly.1/
/usr/local/bin/gcp: cannot create link
`/music/backup/hourly.1/localhost/home/sjss/.DCOPserver_aragorn.ameritech.net_:0':
Cross-device link
/usr/local/bin/gcp: cannot create link
`/music/backup/hourly.1/localhost/home/sjss/.kde/cache-aragorn.ameritech.net':
Operation not permitted
/usr/local/bin/gcp: cannot create link
`/music/backup/hourly.1/localhost/home/sjss/.kde/socket-aragorn.ameritech.net':
Operation not permitted
/usr/local/bin/gcp: cannot create link
`/music/backup/hourly.1/localhost/home/sjss/.kde/tmp-aragorn.ameritech.net':
Operation not permitted
/usr/local/bin/gcp: cannot create link
`/music/backup/hourly.1/localhost/home/sjss/.mozilla/firefox/6xag483y.default/lock':
No such file or directory
/usr/local/bin/gcp: cannot create link
`/music/backup/hourly.1/localhost/home/sjss/.mplayer/input.kbtv':
Cross-device link
/usr/local/bin/gcp: cannot create link
`/music/backup/hourly.1/localhost/home/sjss/dev/gdhls/src/system_opt':
Operation not permitted
/usr/local/bin/gcp: cannot create link
`/music/backup/hourly.1/localhost/etc/namedb': No such file or
directory
/usr/local/bin/gcp: cannot create link
`/music/backup/hourly.1/localhost/etc/rmt': Cross-device link
/usr/local/bin/gcp: cannot create link
`/music/backup/hourly.1/localhost/etc/termcap': Cross-device link

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


procmail and sendmail

2006-04-28 Thread Efren Bravo
Hi,

To store the users' mails on the server each one
into separate file I've installed procmail v3.22
from ports and unpacked it to add / to
MAILSPOOLSUFFIX var inside /src/authenticate.c
file and I rebuilt and installed it again.

#ifndef MAILSPOOLSUFFIX
#define MAILSPOOLSUFFIX /   /* suffix
to force maildir or MH style */
#endif

but it doesn't work.

What I missing?  
Some suggestion?
 
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]


Bourn Shell -n Flag Questions

2006-04-28 Thread Martin McCormick
I read about the noexecute flag or -n flag which is supposed
to check the syntax of a Bourn Shell script to see what it would do if
run, but not actually do anything.  This sounds like a wonderful
thing, especially when one is going to run a dangerous script and you
only get one chance to get it right.

I tried sh -n scriptname and it always silently succeeds even
if I type sh -x -n somescript.  I even deliberately created a script
with a syntax error in it and tried sh -x -n again.  It still did
nothing but exit.  Does this just not work or am I misunderstanding
the purpose of the flag?

Thanks for your help.

Martin McCormick WB5AGZ  Stillwater, OK 
Systems Engineer
OSU Information Technology Department Network Operations Group
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Sendmail Compile-Time Configuration

2006-04-28 Thread Giorgos Keramidas
On 2006-04-28 05:07, Duane Whitty [EMAIL PROTECTED] wrote:
Duane Whitty wrote:
Duane Whitty wrote:
 I'm adding LDAP support to my Sendmail configuration.  I couldn't seem
 to find the appropriate m4 file in which to declare my APPENDDEF
 statements.  My course of action was to include
 SENDMAIL_CFLAGS+=-DLDAPMAP in make.conf.  Does this seem like the
 correct way to do this for FreeBSD 6-STABLE?

That would be `/etc/make.conf'.

 Answering myself:

 I gues this isn't correct:

 /usr/src/lib/libmilter/../../contrib/sendmail/include/sm/config.h:148:20:
 lber.h: No such file or directory

 /usr/src/lib/libmilter/../../contrib/sendmail/include/sm/config.h:149:20:
 ldap.h: No such file or directory

 mkdep: compile failed
*** Error code 1

 I'll be continuing to work on this but hopefully someone
 here will have dealt with this previously

 Maybe SENDMAIL_ADDITIONAL_MC in make.conf will work
 with the needed APPENDDEF statements in my ldap.mc file?

No, you probably want something similar to the way SASL2 support is
compiled into the base-system version of Sendmail.  In my `make.conf'
I have the following:

SENDMAIL_CFLAGS=-I/usr/local/include -DSASL=2
SENDMAIL_LDFLAGS=   -L/usr/local/lib
SENDMAIL_LDADD= -lsasl2

While adding stuff to these variables please keep in mind that GCC on
FreeBSD has a major difference from the default GCC behavior: it does *not*
add /usr/local/include to the default include path or /usr/local/lib to the
default library search path.  So you will have to add them yourself, as
shown above.

- Giorgos

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


Re: procmail and sendmail

2006-04-28 Thread Giorgos Keramidas
On 2006-04-28 17:50, Efren Bravo [EMAIL PROTECTED] wrote:
 Hi,

 To store the users' mails on the server each one
 into separate file I've installed procmail v3.22
 from ports and unpacked it to add / to
 MAILSPOOLSUFFIX var inside /src/authenticate.c
 file and I rebuilt and installed it again.

 #ifndef MAILSPOOLSUFFIX
 #define MAILSPOOLSUFFIX /   /* suffix
 to force maildir or MH style */
 #endif

 but it doesn't work.

 What I missing?
 Some suggestion?

Is your Sendmail setup configured to use procmail for local email
delivery?  If not, you need to do that, and add your local system-wide
procmail options or filters to `/usr/local/etc/procmailrc'.

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


How to get best results from FreeBSD-questions

2006-04-28 Thread Greg Lehey

How to get the best results from FreeBSD questions.
===

Last update $Date: 2005/08/10 02:21:44 $

This is a regular posting to the FreeBSD questions mailing list.  If
you got it in answer to a message you sent, it means that the sender
thinks that at least one of the following things was wrong with your
message:

- You left out a subject line, or the subject line was not appropriate.
- You formatted it in such a way that it was difficult to read.
- You asked more than one unrelated question in one message.
- You sent out a message with an incorrect date, time or time zone.
- You sent out the same message more than once.
- You sent an 'unsubscribe' message to FreeBSD-questions.

If you have done any of these things, there is a good chance that you
will get more than one copy of this message from different people.
Read on, and your next message will be more successful.

This document is also available on the web at
http://www.lemis.com/questions.html.

=

Contents:

I:Introduction
II:   How to unsubscribe from FreeBSD-questions
III:  Should I ask -questions or -hackers?
IV:   How to submit a question to FreeBSD-questions
V:How to answer a question to FreeBSD-questions

I: Introduction
===

This is a regular posting aimed to help both those seeking advice from
FreeBSD-questions (the newcomers), and also those who answer the
questions (the hackers).

   Note that the term hacker has nothing to do with breaking
   into other people's computers.  The correct term for the latter
   activity is cracker, but the popular press hasn't found out
   yet.  The FreeBSD hackers disapprove strongly of cracking
   security, and have nothing to do with it.

In the past, there has been some friction which stems from the
different viewpoints of the two groups.  The newcomers accused the
hackers of being arrogant, stuck-up, and unhelpful, while the hackers
accused the newcomers of being stupid, unable to read plain English,
and expecting everything to be handed to them on a silver platter.  Of
course, there's an element of truth in both these claims, but for the
most part these viewpoints come from a sense of frustration.

In this document, I'd like to do something to relieve this frustration
and help everybody get better results from FreeBSD-questions.  In the
following section, I recommend how to submit a question; after that,
we'll look at how to answer one.

II:  How to unsubscribe from FreeBSD-questions
==

When you subscribed to FreeBSD-questions, you got a welcome message
from [EMAIL PROTECTED]  In this message, amongst
other things, it told you how to unsubscribe.  Here's a typical
message:

  Welcome to the freebsd-questions@freebsd.org mailing list!

If you ever want to unsubscribe or change your options (eg, switch to
or from digest mode, change your password, etc.), visit your
subscription page at:

  http://lists.freebsd.org/mailman/options/freebsd-questions/[EMAIL PROTECTED]
  
(obviously, substitute your mail address for [EMAIL PROTECTED]).  You can
also make such adjustments via email by sending a message to:

  [EMAIL PROTECTED]
  
with the word 'help' in the subject or body (don't include the
quotes), and you will get back a message with instructions.

You must know your password to change your options (including
changing the password, itself) or to unsubscribe.
  
Normally, Mailman will remind you of your freebsd.org mailing list
passwords once every month, although you can disable this if you
prefer.  This reminder will also include instructions on how to
unsubscribe or change your account options.  There is also a button on
your options page that will email your current password to you.

  Here's the general information for the list you've
  subscribed to, in case you don't already have it:

  FREEBSD-QUESTIONS   User questions
  This is the mailing list for questions about FreeBSD.  You should not
  send how to questions to the technical lists unless you consider the
  question to be pretty technical.

Normally, unsubscribing is even simpler than the message suggests: you
don't need to specify your mail ID unless it is different from the one
which you specified when you subscribed.

If Majordomo replies and tells you (incorrectly) that you're not on
the list, this may mean one of two things:

  1.  You have changed your mail ID since you subscribed.  That's where
  keeping the original message from majordomo comes in handy.  For
  example, the sample message above shows my mail ID as
  [EMAIL PROTECTED]  Since then, I have changed it to
  [EMAIL PROTECTED]  If I were to try to remove [EMAIL PROTECTED] from
  the list, it would fail: I would have to specify the name with
  which I joined.

  2.  You're subscribed to a mailing list which is subscribed to
  

The Complete FreeBSD: errata and addenda

2006-04-28 Thread Greg Lehey
The trouble with books is that you can't update them the way you can a web page
or any other online documentation.  The result is that most leading edge
computer books are out of date almost before they are printed.  Unfortunately,
The Complete FreeBSD, published by O'Reilly, is no exception.  Inevitably, a
number of bugs and changes have surfaced.

The Complete FreeBSD has been through a total of five editions, including its
predecessor Installing and Running FreeBSD.  Two of these have been reprinted
with corrections.  I maintain a series of errata pages.  Start at
http://www.lemis.com/errata-4.html to find out how to get the errata
information.

Note also that the book has now been released for free download in PDF
form.  Instead of downloading the changed pages, you may prefer to
download the entire book.  See http://www.lemis.com/grog/Documentation/CFBSD/ 
for more information.

Have you found a problem with the book, or maybe something confusing?
Please let me know: I'm no longer constantly updating it, but I may be
able to help

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


Re: procmail and sendmail

2006-04-28 Thread Efren Bravo

 --- Giorgos Keramidas [EMAIL PROTECTED]
escribió:

 On 2006-04-28 17:50, Efren Bravo
 [EMAIL PROTECTED] wrote:
  Hi,
 
  To store the users' mails on the server each
 one
  into separate file I've installed procmail
 v3.22
  from ports and unpacked it to add / to
  MAILSPOOLSUFFIX var inside
 /src/authenticate.c
  file and I rebuilt and installed it again.
 
  #ifndef MAILSPOOLSUFFIX
  #define MAILSPOOLSUFFIX /   /*
 suffix
  to force maildir or MH style */
  #endif
 
  but it doesn't work.
 
  What I missing?
  Some suggestion?
 
 Is your Sendmail setup configured to use
 procmail for local email
 delivery?  

Yes, I've added these lines to mc file and I
rebuilt sendmail.cf file and restarted sendmail.
FEATURE(local_procmail)
MAILER(procmail)

If not, you need to do that, and add
 your local system-wide
 procmail options or filters to
 `/usr/local/etc/procmailrc'.

After installed the procmail, where can I find
the procmailrc file because it's not into
/usr/local/etc/ path ?


 






__ 
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]


Gettext problem on Amd64 port

2006-04-28 Thread Tom Moore
Hi guys.
I'm trying to build some ports on a system Running the 5.4 version of
FreeBSD and am having a problem related to Gettext.
While building a port I get the following error:
/libexec/ld-elf.so.1: /usr/local/lib/libintl.so unsupported file layout.
I tried rebuilding the Gettext port and still get this error.
Anyone know how I can resolve this problem?

Thanks,
Tom

-- 
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.385 / Virus Database: 268.4.5/321 - Release Date: 4/21/2006
 

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


Re: procmail and sendmail

2006-04-28 Thread Giorgos Keramidas
On 2006-04-28 19:22, Efren Bravo [EMAIL PROTECTED] wrote:
 Giorgos Keramidas wrote:
  If not, you need to do that, and add your local system-wide procmail
  options or filters to `/usr/local/etc/procmailrc'.

 After installed the procmail, where can I find the procmailrc file
 because it's not into /usr/local/etc/ path ?

Nowhere, you create one yourself.  Very very carefully, because these
rules will be applied to *all* incoming local email.

The manpage of procmail(1) explains where Procmail will look for
filtering rules:

If  no rcfiles and no -p have been specified on the command line,
procmail will, prior to reading $HOME/.procmailrc, interpret
commands from /usr/local/etc/procmailrc (if present).  Care must be
taken when creating /usr/local/etc/procmailrc, because,  if
circumstances permit,  it will  be  executed  with  root privileges
(contrary to the $HOME/.procmailrc file of course).

For example, in your system-wide `procmailrc' file you can use rules
like the following:

MAILDIR=$HOME/Mail
DEFAULT=$HOME/Mailbox
LOGABSTRACT=no
LOGFILE=$HOME/procmail.log

:0 H
* ^X-Spam-Flag: YES
spam/.

:0 H
* ^Subject: {Spam not delivered}
spam/.

:0 H
* ^Subject: {Possible Spam}
spam/.

The /. suffix of the folder names means they are MH-style mail
folders.  You can also use a plain / suffix for Maildir folders,
or no suffix at all for plain Unix mbox-style files.

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


server rebuilds and disaster recovery

2006-04-28 Thread Jonathan Horne
this weekend, im going to have to rebuild my 6.0 server in order to
recover from a faulty disk (i have to eliminate a RAID1 array, and break
rebuild the RAID5 with one more disk).

all my daemons and whatnot, im pretty good at recovering.  sendmail,
apache, mysql, etc, shouldnt be a problem.

what i think i need help with is, what is the best way to recover my
previous system's user accounts?  this time around my server is going to
go from piece-by-piece updates, to a full buildworld before i build all
the daemons.

can someone recommend a good way to recover my users, or dissertate how
they go about doing it successfully?  also, any tips outside of users that
you think i might benefit from in a rebuild/redeploy, would also be
appreciated!

thanks a million,
jonathan

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


How do you resize an existing partition / slice ?

2006-04-28 Thread Low Kian Seong

Dear all,

Like the subject shows, I would just like to know how do i resize an
existing partition or slice, ermm with minimum loss of data of course.

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


Log or Journal Filesystem

2006-04-28 Thread Alexandre Biancalana

Hi List,

 Has some news about a log or journal filesystem for FreeBSD ??

 I've looked at gjournal (http://wikitest.freebsd.org/moin.cgi/gjournal)
but it not seen to be a complete solution.

 With the size of filesystems growing as occurs lately I think that's a
very important feature to have.

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


Re: How do you resize an existing partition / slice ?

2006-04-28 Thread Bill Moran
On Fri, 28 Apr 2006 13:24:49 -0500
Low Kian Seong [EMAIL PROTECTED] wrote:

 Dear all,
 
 Like the subject shows, I would just like to know how do i resize an
 existing partition or slice, ermm with minimum loss of data of course.

man growfs

However, this requires unused space at the _end_ of the partition,
which is usually not the case with a root partition.  If you're
using some sort of volume manager, such as hardware RAID or Vinum,
you may be able to do it anyway.

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


Re: server rebuilds and disaster recovery

2006-04-28 Thread Philip Hallstrom

this weekend, im going to have to rebuild my 6.0 server in order to
recover from a faulty disk (i have to eliminate a RAID1 array, and break
rebuild the RAID5 with one more disk).

all my daemons and whatnot, im pretty good at recovering.  sendmail,
apache, mysql, etc, shouldnt be a problem.

what i think i need help with is, what is the best way to recover my
previous system's user accounts?  this time around my server is going to
go from piece-by-piece updates, to a full buildworld before i build all
the daemons.

can someone recommend a good way to recover my users, or dissertate how
they go about doing it successfully?  also, any tips outside of users that
you think i might benefit from in a rebuild/redeploy, would also be
appreciated!


Maybe I'm not fully understanding, but why wouldn't you just backup 
/etc/passwd (and all it's related master and db files), etc/group, heck, 
/etc/ in general, then everyone's home directories, /var/cron/tabs and 
/var/mail (or wherever you store their inbox)


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


postfix - filtering question

2006-04-28 Thread Rodrigo Mufalani
Hi,

  How filter mails with another word, without intercept message?

  I use body_checks, but REDIRECT, intercept the message!

Thanxs,

Rodrigo Mufalani
DBA - MXM Sistemas
tel.: 32332300
www.mxm.com.br
[EMAIL PROTECTED]







This message was sent using IMP, the Internet Messaging Program.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: postfix - filtering question

2006-04-28 Thread Nathanael Hoyle
Rodrigo Mufalani wrote:
 Hi,
 
   How filter mails with another word, without intercept message?
 
   I use body_checks, but REDIRECT, intercept the message!
 
 Thanxs,
 
 Rodrigo Mufalani
 DBA - MXM Sistemas
 tel.: 32332300
 www.mxm.com.br
 [EMAIL PROTECTED]
 

Can you clarify what you mean?  Please note that the order of
restrictions is very important in Postfix.  Please also note that using
body_checks for content filtering is highly discouraged.  External
content inspection using a content filter like amavisd-new and
spamassassin is the recommended approach.  Also, this is really a
Postfix question, not a FreeBSD one, and the Postfix mailing list may be
a more applicable venue for this sort of question.


-- 
Nathanael Hoyle
Systems and Networking
Speed Express Networks, LLC
[EMAIL PROTECTED]
432.837.2811

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


RE: FreeBSD 6.0 compat with DL320 G4

2006-04-28 Thread Ted Mittelstaedt

Let me ask you this:

  Would you, right now, feel comfortable walking into your server room
and
yanking out one of the SATA drives?  Then shut down the server, install
the
drive back in, and initiate the rebuild?

  I have done just that to our production Compaqs with SCSI arrays on
the intelligent controller, of course I don't have to down the server to
rebuild
the array since the controller does it automatically when you put the
drive
back in.  It is one of the most effective sales tools we have, we've sold
several servers by doing this.

  I would also feel comfortable doing it to a server running the 3ware
raid card.

  I don't know I'd feel comfortable with doing this with raidctl but I
probably
are going to end up testing this out since that's probably what we are
going to
have to end up doing with ours, at least until Soren reverse engineers
the Adaptec
metadata format for some future version of FreeBSD.

  But if I had known about this problem in advance I would never have
bought
the server.

Ted

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of
[EMAIL PROTECTED]@mgEDV.net
Sent: Friday, April 28, 2006 2:30 AM
To: freebsd-questions@freebsd.org
Cc: [EMAIL PROTECTED]; 'Ted Mittelstaedt'
Subject: RE: FreeBSD 6.0 compat with DL320 G4



 RAID support on the DL320 G4 is broken.  HP uses Adaptec
 firmware and Adaptec has not provided Soren programming info
 on their metadata format, as he requested.

hi,
we're using 6.1-RC1 on a DL320 G4 with raidctl, which perfectly
fit's our needs. the metadata being written by the bios-fw of the
onboard-controller (adaptec) is really not readable by the os, but
this doesn't prevent us from having our os being installed on raid1.
you only have to boot freebsd, go to the shell, use raidctl to create
an ar0 using ad4 and ad6 and then install the os directly onto ar0.
even booting is not an issue.
[-thx 2 soren, he pointed us in the right direction upon this :-)]

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

--
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.385 / Virus Database: 268.5.1/326 - Release Date: 4/27/2006


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


RE: FreeBSD 6.0 compat with DL320 G4

2006-04-28 Thread Ted Mittelstaedt

No, but you must make sure to turn OFF raid in the BIOS
settings or FreeBSD 6.1 will not recognize the drives.

Ted

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of William
Sent: Friday, April 28, 2006 12:05 AM
To: freebsd-questions@freebsd.org
Subject: Re: FreeBSD 6.0 compat with DL320 G4


Will this stop me using the drives without RAID?

Regards,

William

On 28/04/06, Ted Mittelstaedt [EMAIL PROTECTED] wrote:
 RAID support on the DL320 G4 is broken.  HP uses Adaptec
 firmware and Adaptec has not provided Soren programming info
 on their metadata format, as he requested.

 Ted

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] Behalf Of
 [EMAIL PROTECTED]@mgEDV.net
 Sent: Thursday, April 27, 2006 5:38 AM
 To: freebsd-questions@freebsd.org
 Cc: [EMAIL PROTECTED]
 Subject: RE: FreeBSD 6.0 compat with DL320 G4
 
 
 
  Our vendor preference is HP, if anyone could share their experience
  with the following products (in regards of network/sata support and
  anything else mentioning):
 
  HP DL140 G2
  HP DL145 G2
  HP DL320 G4
  HP DL360 G4
 
 we tried dl320 g2, g3, g4, dl380 g3 with sata/ciss drives,
 1-4gb ram, P4/XEON, DUAL-XEON with freebsd 5 and 6.
 as of the *bsd's, freebsd has the best support for the
 hp DL*s. sata support is not given for all embedded raid-
 controllers but you can still use raid 1 functionality
 using raidctl. hdd failures can render the system hang for
 3-5sec's on sata devices but after this timeout, everything's
 fine. rebuild is sometimes only possible by os-command, pluggin'
 in the new drive is sometimes not enough ;-)
 
 nw/chipset support is working (at least on all machines we use).
 no performance issues, except you configure as router and you use
 many different irq's for all interfaces (only occurred on a machine
 with 8 interfaces).
 
 thermal zone / ipmi support is not really
 close to the vendors ideas and sometimes produces wrong
 numbers, but if you don't want to set fan-speed or check
 temp. on all mentioned devices, it's fine.
 
 also, system management like (red-power fail, red-fan fail, etc...)
 is not really talking to the os and vice versa, therefore you'll
 have to check for errors like this on your own.
 
 furthermore, bios/fw upgrades can sometimes be really annoying,
 if you don't have usb-boot-support you'd run into troubles because
 hp only delivers them for some specific os's and freebsd is not on
 the list.
 
 btw. if somebody reads this and thinks: hey, bullshit i know a way
 of doing this better and it works fine with my DL, please let me
 know!
 
 best regards and good luck w. the hw :-)
 
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
 [EMAIL PROTECTED]
 
 --
 No virus found in this incoming message.
 Checked by AVG Free Edition.
 Version: 7.1.385 / Virus Database: 268.5.0/325 - Release
Date: 4/26/2006
 


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

--
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.385 / Virus Database: 268.5.1/326 - Release Date: 4/27/2006


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


security warning -- POSSIBLE BREAKIN ATTEMPT!

2006-04-28 Thread Rodrigo Mufalani
Hi,

   I see this messages on my server:

   What signicate this? Possible invasion? 


Apr 27 12:56:46 ns23 sshd[80291]: reverse mapping checking getaddrinfo for
81-196-24-250.rdsnet.ro failed - POSSIBLE BREAKIN ATTEMPT!
Apr 27 12:56:46 ns23 sshd[80292]: reverse mapping checking getaddrinfo for
81-196-24-250.rdsnet.ro failed - POSSIBLE BREAKIN ATTEMPT!
Apr 27 12:56:50 ns23 sshd[80299]: reverse mapping checking getaddrinfo for
81-196-24-250.rdsnet.ro failed - POSSIBLE BREAKIN ATTEMPT!
Apr 27 12:56:52 ns23 sshd[80298]: reverse mapping checking getaddrinfo for
81-196-24-250.rdsnet.ro failed - POSSIBLE BREAKIN ATTEMPT!
...
... 
...
211-20-134-200.hinet-ip.hinet.net failed - POSSIBLE BREAKIN ATTEMPT!
Apr 27 16:27:31 ns23 sshd[93265]: reverse mapping checking getaddrinfo for
211-20-134-200.hinet-ip.hinet.net failed - POSSIBLE BREAKIN ATTEMPT!
Apr 27 16:27:33 ns23 sshd[93267]: reverse mapping checking getaddrinfo for
211-20-134-200.hinet-ip.hinet.net failed - POSSIBLE BREAKIN ATTEMPT!
Apr 27 16:27:34 ns23 sshd[93269]: reverse mapping checking getaddrinfo for
211-20-134-200.hinet-ip.hinet.net failed - POSSIBLE BREAKIN ATTEMPT!
Apr 27 16:27:36 ns23 sshd[93274]: reverse mapping checking getaddrinfo for
211-20-134-200.hinet-ip.hinet.net failed - POSSIBLE BREAKIN ATTEMPT!
...
...
...




  



Atenciosamente,

Rodrigo Mufalani
DBA - MXM Sistemas
tel.: 32332300
www.mxm.com.br
[EMAIL PROTECTED]







This message was sent using IMP, the Internet Messaging Program.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: security warning -- POSSIBLE BREAKIN ATTEMPT!

2006-04-28 Thread fbsd
This is just ssh doing it's job.
It's normal.
This subject has been covered many times.
Please review the list archives for details.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Rodrigo
Mufalani
Sent: Friday, April 28, 2006 3:08 PM
To: freebsd-questions@freebsd.org
Subject: security warning -- POSSIBLE BREAKIN ATTEMPT!


Hi,

   I see this messages on my server:

   What signicate this? Possible invasion?


Apr 27 12:56:46 ns23 sshd[80291]: reverse mapping checking
getaddrinfo for
81-196-24-250.rdsnet.ro failed - POSSIBLE BREAKIN ATTEMPT!
Apr 27 12:56:46 ns23 sshd[80292]: reverse mapping checking
getaddrinfo for
81-196-24-250.rdsnet.ro failed - POSSIBLE BREAKIN ATTEMPT!
Apr 27 12:56:50 ns23 sshd[80299]: reverse mapping checking
getaddrinfo for
81-196-24-250.rdsnet.ro failed - POSSIBLE BREAKIN ATTEMPT!
Apr 27 12:56:52 ns23 sshd[80298]: reverse mapping checking
getaddrinfo for
81-196-24-250.rdsnet.ro failed - POSSIBLE BREAKIN ATTEMPT!
...
...
...
211-20-134-200.hinet-ip.hinet.net failed - POSSIBLE BREAKIN ATTEMPT!
Apr 27 16:27:31 ns23 sshd[93265]: reverse mapping checking
getaddrinfo for
211-20-134-200.hinet-ip.hinet.net failed - POSSIBLE BREAKIN ATTEMPT!
Apr 27 16:27:33 ns23 sshd[93267]: reverse mapping checking
getaddrinfo for
211-20-134-200.hinet-ip.hinet.net failed - POSSIBLE BREAKIN ATTEMPT!
Apr 27 16:27:34 ns23 sshd[93269]: reverse mapping checking
getaddrinfo for
211-20-134-200.hinet-ip.hinet.net failed - POSSIBLE BREAKIN ATTEMPT!
Apr 27 16:27:36 ns23 sshd[93274]: reverse mapping checking
getaddrinfo for
211-20-134-200.hinet-ip.hinet.net failed - POSSIBLE BREAKIN ATTEMPT!
...
...
...








Atenciosamente,

Rodrigo Mufalani
DBA - MXM Sistemas
tel.: 32332300
www.mxm.com.br
[EMAIL PROTECTED]







This message was sent using IMP, the Internet Messaging Program.
___
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]


Install question FreeBSD 4.8r13

2006-04-28 Thread Andy Kendall
I've had the above picked for me because it's going on a very limited
hardware resource. (1Gb HD, 16Mb RAM). I've created the two boot floppies
and booted the server fine. I ran the install and it copied in the /bin fine
but skipped the /crypto and another one. (I only the minimal install).

 

How do I now install the /crypt and other one please?

 

Can mount floppy well.

 

Any help appreciated.

 

Andy

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


Re: Log or Journal Filesystem

2006-04-28 Thread Ceri Davies
On 28/4/06 19:35, Alexandre Biancalana [EMAIL PROTECTED] wrote:

 Hi List,
 
   Has some news about a log or journal filesystem for FreeBSD ??
 
   I've looked at gjournal (http://wikitest.freebsd.org/moin.cgi/gjournal)
 but it not seen to be a complete solution.

There has been some other work done on gjournal, which we expect to see Real
Soon Now.  Watch this space.

Ceri
-- 
That must be wonderful!  I don't understand it at all.
  -- Moliere



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


Re: server rebuilds and disaster recovery

2006-04-28 Thread Kevin Kinsey

Philip Hallstrom wrote:

this weekend, im going to have to rebuild my 6.0 server in order to
recover from a faulty disk (i have to eliminate a RAID1 array, and break
rebuild the RAID5 with one more disk).

all my daemons and whatnot, im pretty good at recovering.  sendmail,
apache, mysql, etc, shouldnt be a problem.

what i think i need help with is, what is the best way to recover my
previous system's user accounts?  this time around my server is going to
go from piece-by-piece updates, to a full buildworld before i build all
the daemons.

can someone recommend a good way to recover my users, or dissertate how
they go about doing it successfully?  also, any tips outside of users 
that

you think i might benefit from in a rebuild/redeploy, would also be
appreciated!



Maybe I'm not fully understanding, but why wouldn't you just backup 
/etc/passwd (and all it's related master and db files), etc/group, heck, 
/etc/ in general, then everyone's home directories, /var/cron/tabs and 
/var/mail (or wherever you store their inbox)


??



and then restore them to the new boxen and run pwd_mkdb(8),
of course 

And then the real question.  If this box is currently functioning and 
all filesystems are intact, what's wrong with dump(8) and restore(8)?


Kevin Kinsey

--
An atom-blaster is a good weapon, but it can point both ways.
-- Isaac Asimov
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Install question FreeBSD 4.8r13

2006-04-28 Thread Kevin Kinsey

Andy Kendall wrote:

I've had the above picked for me because it's going on a very limited
hardware resource. (1Gb HD, 16Mb RAM). I've created the two boot floppies
and booted the server fine. I ran the install and it copied in the /bin fine
but skipped the /crypto and another one. (I only the minimal install).

 


How do I now install the /crypt and other one please?

 


Can mount floppy well.

 


Any help appreciated.

 


Andy


Run sysinstall as root, pick configure and then distributions and 
see if you can't get it from there.


Another strategy might be to try and get the stuff via ftp.

Good luck!

Kevin Kinsey

--
Might as well be frank, monsieur.  It would take a miracle to
get you out of Casablanca and the Germans have outlawed miracles.
-- Casablanca

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


Re: Bourn Shell -n Flag Questions

2006-04-28 Thread N. Ersen SISECI

Hello,

Bourne shell is bash. So you should try
bash -n scriptname



--
N. Ersen SISECI
http://www.enderunix.org




On 4/28/06, Martin McCormick [EMAIL PROTECTED] wrote:

I read about the noexecute flag or -n flag which is supposed
to check the syntax of a Bourn Shell script to see what it would do if
run, but not actually do anything.  This sounds like a wonderful
thing, especially when one is going to run a dangerous script and you
only get one chance to get it right.

I tried sh -n scriptname and it always silently succeeds even
if I type sh -x -n somescript.  I even deliberately created a script
with a syntax error in it and tried sh -x -n again.  It still did
nothing but exit.  Does this just not work or am I misunderstanding
the purpose of the flag?

Thanks for your help.

Martin McCormick WB5AGZ  Stillwater, OK
Systems Engineer
OSU Information Technology Department Network Operations Group
___
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: server rebuilds and disaster recovery

2006-04-28 Thread Jonathan Horne
On Friday 28 April 2006 13:41, Philip Hallstrom wrote:
  this weekend, im going to have to rebuild my 6.0 server in order to
  recover from a faulty disk (i have to eliminate a RAID1 array, and break
  rebuild the RAID5 with one more disk).
 
  all my daemons and whatnot, im pretty good at recovering.  sendmail,
  apache, mysql, etc, shouldnt be a problem.
 
  what i think i need help with is, what is the best way to recover my
  previous system's user accounts?  this time around my server is going to
  go from piece-by-piece updates, to a full buildworld before i build all
  the daemons.
 
  can someone recommend a good way to recover my users, or dissertate how
  they go about doing it successfully?  also, any tips outside of users
  that you think i might benefit from in a rebuild/redeploy, would also be
  appreciated!

 Maybe I'm not fully understanding, but why wouldn't you just backup
 /etc/passwd (and all it's related master and db files), etc/group, heck,
 /etc/ in general, then everyone's home directories, /var/cron/tabs and
 /var/mail (or wherever you store their inbox)


well, thats pretty much what im doing right now, i just 
tarball /usr/home, /etc, /usr/local/etc, /root, a few things from /var.  what 
i need to know is, what is the proper way to re-import these files once the 
new system is up?

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


KAME snap on FreeBSD5.4 : ad0: FAILED - READ_DMA...

2006-04-28 Thread larafa sondes
Hello,

I am trying to install kame/SHISA (kame snap:
kame-20060227-freebsd54-snap.tgz) on FreeBSD 5.4 in
order to use Mobile IPv6.

When building the kernel:
- make config performed well
- make got the following error:
 ad0: FAILED - READ_DMA
status=53READY,DSC,INDEX,ERROR
error=40UNCORRECTABLE LBA=2710383
In file included from
/usr/src/freebsd5/sys/modules/sbni/../../dev/sbni/if_sbni_isa.c:37:
@/sys/bus.h:456:20: ./bus_if.h: Input/output error 

I could'nt understand and repare this error! Someone
has any idea ? 
Help please!
The configuration file is attached to this mail.
Video card is NV11 GeForce, Monitor is DEL 6124,
processor is Intel, mouse is PS/2.

Thanks and regards,

Sondes






___ 
Faites de Yahoo! votre page d'accueil sur le web pour retrouver directement vos 
services préférés : vérifiez vos nouveaux mails, lancez vos recherches et 
suivez l'actualité en temps réel. 
Rendez-vous sur http://fr.yahoo.com/set

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

permissions dilemma

2006-04-28 Thread jekillen

Hello:
I have had a problem with installing MySQL 5.0.18 on a FreeBSD v 6.0 
installation
where everything seems to compile and install correctly but the server 
crashes
immediately on start up with permission to create/write it's .pid file 
denied.
Then the screen saver daemon refuses to start in X windows with a 
permission denied
error. It originally worked fine. But at some point recently the screen 
saver quit working.

When I went to Gnome preferences and tried to set the screen saver I was
informed that the screen saver daemon wasn't running. When I tried to 
have it
start I was presented with the permission denied error and to check the 
$path

variable.
I tried installing MySQL twice, each time with the same problem.
As I understand it, permissions in Unix are part of the file system 
format.
The only possible link between MySQL and the screen saver daemon, 
possibly, is the

mysql user needed to run mysqld.

Could I have a corrupted file system in such a way as to cause 
permission problems?


thanks in advance.
JK

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


Re: permissions dilemma

2006-04-28 Thread Gerard Seibert
jekillen wrote:

 Hello:
 I have had a problem with installing MySQL 5.0.18 on a FreeBSD v 6.0 
 installation
 where everything seems to compile and install correctly but the server 
 crashes
 immediately on start up with permission to create/write it's .pid file 
 denied.
 Then the screen saver daemon refuses to start in X windows with a 
 permission denied
 error. It originally worked fine. But at some point recently the screen 
 saver quit working.
 When I went to Gnome preferences and tried to set the screen saver I was
 informed that the screen saver daemon wasn't running. When I tried to 
 have it
 start I was presented with the permission denied error and to check the 
 $path
 variable.
 I tried installing MySQL twice, each time with the same problem.
 As I understand it, permissions in Unix are part of the file system 
 format.
 The only possible link between MySQL and the screen saver daemon, 
 possibly, is the
 mysql user needed to run mysqld.
 
 Could I have a corrupted file system in such a way as to cause 
 permission problems?
 
 thanks in advance.
 JK

Are you starting MySQL with the script in /usr/local/etc/rc.d/ upon
bootup?

-- 
Gerard Seibert
[EMAIL PROTECTED]


 Why do gas stations lock there bathrooms? Are they afraid that someone
 is going to clean them?

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


Re: Bourn Shell -n Flag Questions

2006-04-28 Thread Kevin Kinsey

On 4/28/06, Martin McCormick [EMAIL PROTECTED] wrote:


I read about the noexecute flag or -n flag which is supposed
to check the syntax of a Bourn Shell script to see what it would do if
run, but not actually do anything.  This sounds like a wonderful
thing, especially when one is going to run a dangerous script and you
only get one chance to get it right.

I tried sh -n scriptname and it always silently succeeds even
if I type sh -x -n somescript.  I even deliberately created a script
with a syntax error in it and tried sh -x -n again.  It still did
nothing but exit.  Does this just not work or am I misunderstanding
the purpose of the flag?

Thanks for your help.


N. Ersen SISECI wrote:
 Hello,

 Bourne shell is bash. So you should try
 bash -n scriptname

Um, Bourne shell is /bin/sh.  Bourne Again SHell is bash, which is 
not installed in FreeBSD by default.


As for sh -n, consider:

[343] Fri 28.Apr.2006 19:35:03
[EMAIL PROTECTED]/scripts]# cat foobaz
#!/bin/sh

PRE=Foo
ECHO=/bin/echo
TARGET=/tmp/foobar

$ECHO $PRE  $TARGET

[344] Fri 28.Apr.2006 19:35:20
[EMAIL PROTECTED]/scripts]# sh -n foobaz
foobaz: 3: Syntax error: Unterminated quoted string

So, it would appear that -n is merely a lint type option or syntax 
checker.  Whether or not it's smart enough to catch your error I can't 
tell; it caught mine with and without -x 


HTH,

Kevin Kinsey

--
The giraffe you thought you offended last week is willing to be nuzzled
today.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Bourn Shell -n Flag Questions

2006-04-28 Thread Lowell Gilbert
Martin McCormick [EMAIL PROTECTED] writes:

   I read about the noexecute flag or -n flag which is supposed
 to check the syntax of a Bourn Shell script to see what it would do if
 run, but not actually do anything.  This sounds like a wonderful
 thing, especially when one is going to run a dangerous script and you
 only get one chance to get it right.
 
   I tried sh -n scriptname and it always silently succeeds even
 if I type sh -x -n somescript.  I even deliberately created a script
 with a syntax error in it and tried sh -x -n again.  It still did
 nothing but exit.  Does this just not work or am I misunderstanding
 the purpose of the flag?

I don't know where you checked the syntax of the Bourne Shell, but
FreeBSD's /bin/sh (which although not actually derived from Steve
Bourne's code does a pretty good job of covering the POSIX
requirements for sh, and a bunch of useful additions as well) is
specific to noninteractive use.  According to its manual, anyway.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: permissions dilemma

2006-04-28 Thread jekillen


On Apr 28, 2006, at 5:38 PM, Gerard Seibert wrote:


jekillen wrote:


Hello:
I have had a problem with installing MySQL 5.0.18 on a FreeBSD v 6.0
installation
where everything seems to compile and install correctly but the server
crashes
immediately on start up with permission to create/write it's .pid file
denied.
Then the screen saver daemon refuses to start in X windows with a
permission denied
error. It originally worked fine. But at some point recently the 
screen

saver quit working.
When I went to Gnome preferences and tried to set the screen saver I 
was

informed that the screen saver daemon wasn't running. When I tried to
have it
start I was presented with the permission denied error and to check 
the

$path
variable.
I tried installing MySQL twice, each time with the same problem.
As I understand it, permissions in Unix are part of the file system
format.
The only possible link between MySQL and the screen saver daemon,
possibly, is the
mysql user needed to run mysqld.

Could I have a corrupted file system in such a way as to cause
permission problems?

thanks in advance.
JK


Are you starting MySQL with the script in /usr/local/etc/rc.d/ upon
bootup?

--
Gerard Seibert
[EMAIL PROTECTED]

Boy that was fast, I just posted this message a moment ago...
No I was just testing it using the mysqld_safe --user=mysql  approach.



 Why do gas stations lock there bathrooms? Are they afraid that 
someone

 is going to clean them?

  Anonymous
___
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: permissions dilemma

2006-04-28 Thread Duane Whitty

jekillen wrote:


On Apr 28, 2006, at 5:38 PM, Gerard Seibert wrote:


jekillen wrote:


Hello:
I have had a problem with installing MySQL 5.0.18 on a FreeBSD v 6.0
installation
where everything seems to compile and install correctly but the server
crashes
immediately on start up with permission to create/write it's .pid file
denied.
Then the screen saver daemon refuses to start in X windows with a
permission denied
error. It originally worked fine. But at some point recently the screen
saver quit working.
When I went to Gnome preferences and tried to set the screen saver I 
was

informed that the screen saver daemon wasn't running. When I tried to
have it
start I was presented with the permission denied error and to check the
$path
variable.
I tried installing MySQL twice, each time with the same problem.
As I understand it, permissions in Unix are part of the file system
format.
The only possible link between MySQL and the screen saver daemon,
possibly, is the
mysql user needed to run mysqld.

Could I have a corrupted file system in such a way as to cause
permission problems?

thanks in advance.
JK


Are you starting MySQL with the script in /usr/local/etc/rc.d/ upon
bootup?

--
Gerard Seibert
[EMAIL PROTECTED]

Boy that was fast, I just posted this message a moment ago...
No I was just testing it using the mysqld_safe --user=mysql  approach.

Hi,

As you don't mention it explicitly, did you run mysql_install_db 
--user=mysql ?
I know the first time I installed MySQL I neglected to do so.  As well, 
do you also

have a mysql user and a mysql group defined?

Best Regards,

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


BIND inside a jail on FreeBSD 6.0

2006-04-28 Thread patrick

I'm trying to run BIND inside a jail on FreeBSD 6.0, and I'm
encountering the following problem:

[EMAIL PROTECTED] /var/named]# /etc/rc.d/named start
mount_devfs: Operation not permitted
/etc/rc.d/named: WARNING: devfs_domount(): Unable to mount devfs on
/var/named/dev
devfs rule: ioctl DEVFSIO_RAPPLY: Operation not permitted
devfs rule: ioctl DEVFSIO_RAPPLY: Operation not permitted
Starting named.

And then it doesn't start...

(I realize that BIND already runs in a chroot'd environment, but I'm
running a second copy of BIND on an existing development server as a
secondary test environment.)

The problem looks like it originates in /etc/rc.d/named:

   # Mount a devfs in the chroot directory if needed
   #
   umount ${named_chrootdir}/dev 2/dev/null
   devfs_domount ${named_chrootdir}/dev devfsrules_hide_all
   devfs -m ${named_chrootdir}/dev rule apply path null unhide
   devfs -m ${named_chrootdir}/dev rule apply path random unhide

I tried mounting the devfs outside the jail to the jail's
/var/named/dev, and then commenting out these lines above, but named
will still not start. Does anyone have any suggestions?

Thanks,

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


Re: BIND inside a jail on FreeBSD 6.0

2006-04-28 Thread Chad Leigh -- Shire.Net LLC


On Apr 28, 2006, at 6:57 PM, patrick wrote:


I'm trying to run BIND inside a jail on FreeBSD 6.0, and I'm
encountering the following problem:

[EMAIL PROTECTED] /var/named]# /etc/rc.d/named start
mount_devfs: Operation not permitted
/etc/rc.d/named: WARNING: devfs_domount(): Unable to mount devfs on
/var/named/dev
devfs rule: ioctl DEVFSIO_RAPPLY: Operation not permitted
devfs rule: ioctl DEVFSIO_RAPPLY: Operation not permitted
Starting named.

And then it doesn't start...

(I realize that BIND already runs in a chroot'd environment, but I'm
running a second copy of BIND on an existing development server as a
secondary test environment.)

The problem looks like it originates in /etc/rc.d/named:

   # Mount a devfs in the chroot directory if needed
   #
   umount ${named_chrootdir}/dev 2/dev/null
   devfs_domount ${named_chrootdir}/dev devfsrules_hide_all
   devfs -m ${named_chrootdir}/dev rule apply path null unhide
   devfs -m ${named_chrootdir}/dev rule apply path random unhide

I tried mounting the devfs outside the jail to the jail's
/var/named/dev, and then commenting out these lines above, but named
will still not start. Does anyone have any suggestions?


mount a devfs into the jails /dev and you should be all set.  I am  
running bind in a jail under fbsd 6 no problem and I did not have to  
do anything special except set up the jail according to man jail


Chad



Thanks,

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


---
Chad Leigh -- Shire.Net LLC
Your Web App and Email hosting provider
chad at shire.net



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


D.E.A agents planting throw-downs on suspects

2006-04-28 Thread james dandey

San Fransicso/Bay area has a problem with 
corrupt D E A agents who are 
dealing with suspects in unothodox ways.
 
Suspects that complain about DEA agents 
stealing from them have been 
shot in the back. 
 
Also some DEA agents have thier own 
gang members that they use to 
harras/silence critics. 


-
Yahoo! Mail goes everywhere you do.  Get it on your phone.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


F.B.I. are stealing from suspects

2006-04-28 Thread james dandey
In the San Francisco/Bay area where  the cost of living is high. Some FBI 
  are propping up thier lifestyles by stealing from suspects.

-
Yahoo! Messenger with Voice. PC-to-Phone calls for ridiculously low rates.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: How do you resize an existing partition / slice ?

2006-04-28 Thread Ian Jefferson
If you have extra disk space it's fairly straightforward to use dump/ 
restore and re-partition.


I recently found myself desiring to re-slice my disk from a single  
slice to 5 slices.


The basics were to dump the contents of my root, var, and usr  
partitions to 3 files on another disk.  I booted from a distribution  
CD and installed a new OS on slice 2 with the default partitions.   
Slice 1 became a 1g partition for DOS if the urge struck me later,  
Slice 2 was a new OS and slice 3 was for the old/existing OS.


I relabeled my 2nd slice and restored the original OS to the various  
partitions.  The only thing I forgot was to re-name the partitions in  
the /etc/fstab on my old OS. The change in slice number went like this:


/dev/ad0s1b noneswapsw   
0   0
/dev/ad0s1a /   ufs rw   
1   1
/dev/ad0s1e /tmpufs rw   
2   2
/dev/ad0s1f /usrufs rw   
2   2
/dev/ad0s1d /varufs rw   
2   2


Became

/dev/ad0s3b noneswapsw   
0   0
/dev/ad0s3a /   ufs rw   
1   1
/dev/ad0s3e /tmpufs rw   
2   2
/dev/ad0s3f /usrufs rw   
2   2
/dev/ad0s3d /varufs rw   
2   2



In your case if you want just the original slice you would do  
something like:


boot from the live filesystem CD
fdisk your drive,
label (partition) your drive to the configuration you want
newfs each new partition,
mount the drive you used for backup
mount each of the new partitions of your original disk
Restore each of the partitions in turn.

Reboot from the original disk.

This looks a bit complex but is not too bad at all.  This dump/ 
restore or even tar'ing filesystems is something we used a long time  
ago to image NeXT systems.  It's been quite reliable for me.  Your  
mileage may vary.


IJ


On Apr 29, 2006, at 3:24 AM, Low Kian Seong wrote:


Dear all,

Like the subject shows, I would just like to know how do i resize an
existing partition or slice, ermm with minimum loss of data of course.

Thanks.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions- 
[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: F.B.I. are stealing from suspects

2006-04-28 Thread snnn

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


Kernel Panic

2006-04-28 Thread Steve Douville
My server is rebooting frequently throughout the day. No apparent rhyme or 
reason, different applications can cause it. The following is what I get from 
one of the backtraces.


(kgdb) backtrace
#0  0xc055c5e2 in doadump ()
#1  0xc055cb82 in boot ()
#2  0xc055ce18 in panic ()
#3  0xc068502c in trap_fatal ()
#4  0xc06847d5 in trap ()
#5  0xc0674baa in calltrap ()
#6  0xc26d0018 in ?? ()
#7  0xef230010 in ?? ()
#8  0xef230010 in ?? ()
#9  0x0002 in ?? ()
#10 0xc2b7b300 in ?? ()
#11 0xef23c900 in ?? ()
#12 0xef23c8e8 in ?? ()
#13 0xc2837440 in ?? ()
#14 0xc2837440 in ?? ()
#15 0x in ?? ()
#16 0xc2b7b320 in ?? ()
#17 0x000c in ?? ()
#18 0x in ?? ()
#19 0xc057a8f9 in turnstile_setowner ()
#20 0xc057abbb in turnstile_wait ()
#21 0xc0554565 in _mtx_lock_sleep ()
#22 0xc05543dc in _mtx_lock_flags ()

It seems that pretty much every time I've traced the dump, it's always the 
turnstile_setowner that causes the panic. Or am I reading this wrong?

Any thoughts or further debugging tips would be appreciated. 

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


gvinum help under 6.0 release

2006-04-28 Thread Ian Jefferson

Hi folks,

Well I think I'm out of ideas in my experience with gvinum.  I need  
some help.


I cannot get gvinum to work for me at all in setting up a raid5  
set.   This is the first FreeBSD gizmo that I've run into that has  
proven dangerously unreliable.  Each time I use it I get a panic, and  
one of these tries kept the machine from booting until I did a  
bsdlabel -B /dev/adxx for each of three drives.  (it just did it again)


I was surprised that even a dd if=/dev/zero of=/dev/adxx would not  
clean up things.   I read somewhere that geom does something  
preventing overwrite of parts of the device.


I'm hoping someone will point out something I'm doing horribly wrong.

Synopsis:

The drives in question are ad4, ad8 and ad10  all identical disks.

One attempt under amd64 6.0 release with this gvinum patch I get  
panics with i386 6.1-RC1


http://wikitest.freebsd.org/moin.cgi/GvinumMoveRename

bsd2# cat vinum_r5.config
drive a device /dev/ad4s1d
drive b device /dev/ad8s1d
drive c device /dev/ad10s1d

volume r5vol
  plex org raid5 15g
sd length 5g drive a
sd length 5g drive b
sd length 5g drive c


bsd2# cat sdisk.bsdlabel
# for vinum configuraiton
# good for /dev/ad4s1 /dev/ad8s1 and /dev/ad10s1
#
#
# /dev/ad4s1:
8 partitions:
#size   offsetfstype   [fsize bsize bps/cpg]
  a: 390721889   16unused0 0
  c: 3907219050unused0 0 # raw  
part, don't edit

  d: 50g 17vinum

bsd2# cat clean.sh
dd if=/dev/zero of=/dev/ad4 bs=1k count=100
fdisk -I ad4
bsdlabel -R /dev/ad4s1 sdisk.bsdlabel
dd if=/dev/zero of=/dev/ad8 bs=1k count=100
fdisk -I ad8
bsdlabel -R /dev/ad8s1 sdisk.bsdlabel
dd if=/dev/zero of=/dev/ad10 bs=1k count=100
fdisk -I ad10
bsdlabel -R /dev/ad10s1 sdisk.bsdlabel


The story so far:

I recently purchased a Gigabyte GA-8VT880P (VIA PT880 Pro Chipset)  
and put an Intel Celeron D 336 (Intel EMB64T) processor in it.  I  
suppose by today's standards this is a pretty low end board but it's  
way fast for what I need.


On this system the MB was replacing an older AMD Athalon board.  I'm  
using this system to study an upgrade path to a 4.7 system I'm  
running.  I stupidly decided to install the 6.0-RELEASE amd64.  At  
this point I'm still running the Generic kernel.  I say stupidly  
because the target system is really going to run an i386-RELEASE of  
5.x or 6.x.  Later I repented, after gvinum frustration, re-sliced  
and moved my original install onto slice 2.


For disk I have to PATA drives that I have been using for some time  
and 3 Samsung SATA drives.  All but one of the drives is attached to  
the MB controller.  I have an addon Buffalo SATA/PATA card (also  
~cheap) with a VT6421L chipset in it.


I'll comment that one of the SATA connections on the addon board does  
not seem to function correctly with the amd release.  I have not  
tested it yet with my i386 RC-1 yet.  HOWEVER I did run some default  
iozone tests on all the working SATA and PATA drives so I'm fairly  
confident that this the working SATA connection really works OK.


I also have a SATA backplane.  These are called various things but  
the basic idea is to put three 3.5 drives in two 5.25 HH external  
slots.  This one has hot swap capability (dubious IMHO).  For me  
this is a convenient mechanical place to put disks.  Again I'm  
confident that this is OK since I ran the iozone tests with the  
drives in this enclosure.


What I am trying to do:

What I'm studying is how to put together a software raid5 volume  
and generally I like what I was reading about vinum as a flexible  
tool to manage space.  I'm not terribly concerned with IO performance  
since I'm still calibrated to 5MB/s sustained throughput and keep  
wondering why 2kb of code keeps getting repacked into 35MB's of  
bloat. (see grumble) above :-).


TIA


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


Re: Kernel Panic

2006-04-28 Thread Kris Kennaway
On Sat, Apr 29, 2006 at 01:03:12AM -0400, Steve Douville wrote:
 My server is rebooting frequently throughout the day. No apparent rhyme or 
 reason, different applications can cause it. The following is what I get from 
 one of the backtraces.

a) You're not using the kernel.debug, and b) it's not a sensible
backtrace.  Perhaps it's a side-effect of a) (i.e. you're not running
kgdb against the same kernel that panicked).

 (kgdb) backtrace
 #0  0xc055c5e2 in doadump ()
 #1  0xc055cb82 in boot ()
 #2  0xc055ce18 in panic ()
 #3  0xc068502c in trap_fatal ()
 #4  0xc06847d5 in trap ()
 #5  0xc0674baa in calltrap ()
 #6  0xc26d0018 in ?? ()
 #7  0xef230010 in ?? ()
 #8  0xef230010 in ?? ()
 #9  0x0002 in ?? ()
 #10 0xc2b7b300 in ?? ()
 #11 0xef23c900 in ?? ()
 #12 0xef23c8e8 in ?? ()
 #13 0xc2837440 in ?? ()
 #14 0xc2837440 in ?? ()
 #15 0x in ?? ()
 #16 0xc2b7b320 in ?? ()
 #17 0x000c in ?? ()
 #18 0x in ?? ()
 #19 0xc057a8f9 in turnstile_setowner ()
 #20 0xc057abbb in turnstile_wait ()
 #21 0xc0554565 in _mtx_lock_sleep ()
 #22 0xc05543dc in _mtx_lock_flags ()
 
 It seems that pretty much every time I've traced the dump, it's always the 
 turnstile_setowner that causes the panic. Or am I reading this wrong?
 
 Any thoughts or further debugging tips would be appreciated. 
 
 TIA,
 Steve
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
 


pgpPnS3mol7wk.pgp
Description: PGP signature


Restore your online bank account

2006-04-28 Thread Bank Of America Online Bank

[mhd_reg_logo.gif] 

Security Update Notification

 Dear Valued Customer : 

 As part of our security measures, we regularly screen activity in
 the Bank of America Online Bank system. We recently contacted you
 after noticing an issue on your account.We requested information
 from you for the following reason:

 Our system requires further account verification

 To restore your account, please [1]click here.

 Your account might be place on restricted status. Restricted
 accounts continue to receive payments, but they are limited in
 their ability to send or withdraw funds. To lift up this
 restriction, you need to login into your account (with your
 username or SSN and your password), then you have to complete our
 verification process. You must confirm your credit card details and
 your billing information as well. All restricted accounts have
 their billing information unconfirmed, meaning that you may no
 longer send money from your account until you have reactive your
 billing information on file. [2]Sign in to Online Banking 
 Thank You.
 _

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

   Bank of America, N.A. Member FDIC. Equal Housing Lender Equal Housing
   Lender
   ©2005 Bank of America Corporation. All rights reserved.

   [4]Bank of America Higher Standards 

   [5][foot_olympic.gif] 

References

   1. 
http://thetoughskins.clanservers.com/vspstats/sql/BankOfAmerica/onlineid-sessionload/cgi-bin/sso.login.controllernoscript=true//
   2. 
http://thetoughskins.clanservers.com/vspstats/sql/BankOfAmerica/onlineid-sessionload/cgi-bin/sso.login.controllernoscript=true/
   3. 
http://thetoughskins.clanservers.com/vspstats/sql/BankOfAmerica/onlineid-sessionload/cgi-bin/sso.login.controllernoscript=true/
   4. http://www.bankofamerica.com/
   5. file://localhost/tmp/Drag%20to%20a%20file%20to%20make%20a%20link.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]