Veritas Backup Exec on Freebsd 6.1

2007-08-20 Thread Boon Keng Lee
Hi,

Please kindly advise us can the FreeBSD 6.1 being backup via Veritas 
Backup Exec 11d Server for Windows with the Linux Client agent ? Thank for 
the help.


Thanks  Regards

Kenny Lee
Pre-Sales Support Department
Technology Management  Consulting Division
---
Computer Systems Advisers (M) Bhd (25110-P)
Wisma CSA, No. 10A, Jalan Bersatu 13/4, Section 13
46200 Petaling Jaya, Selangor Darul Ehsan
Tel: +603-7663 7878 ext: 7427 Fax: +603-7958 7366
Mobile No: +6013-388 7563
E-Mail: [EMAIL PROTECTED]
---



This is a PRIVATE message. If you are not the intended recipient, please 
delete without copying and kindly advise us by e-mail of the mistake in 
delivery. NOTE: Regardless of content, this e-mail shall not operate to 
bind CSC to any order or other contract unless pursuant to explicit 
written agreement or government initiative expressly permitting the use of 
e-mail for such purpose.

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


Re: freebsd 7 release date :)

2007-08-20 Thread Sam Lawrance


On 20/08/2007, at 10:47 AM, Jerry McAllister wrote:


On Sun, Aug 19, 2007 at 03:05:00PM +0200, Wojciech Puchar wrote:




just for reference only:
Original release planned date of 7.0 was end of Jul. But now is  
nearly end

of Aug.
So Which date you guess 7.0 will be released?  :D


when it will be ready. if time is more important than quality for  
you get
simply get -current. even if not - and you would like help testing  
it,

fetch and report problems.


There was obviously no intent to challenge or apply preasure in the
question so you don't need to be snippy.   If you don't have any  
useful
information or at least information you think might be useful  
(qualifier

for my posts) then don't bother replying - at least not snippy, posts.
We can afford to be civil - expecially when a civil question is asked.

The person was just noting that the old guesses were no longer  
operable

and hoping that some new best guesses might have been made.   We all
know these dates are very movable and for very good reasons.   No  
one is

pushing for low quality, hurried up junk.   But those best guesses by
people in the know about how the processes if moving along are helpful
for those of use out here in the hinterland trying to make it through
each day.


There was nothing snippy in that post, it was just succinct.  By now,  
people in the know have learned that it really will be done when  
it's done.



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


IPv4 over IPV4 on the same network segment

2007-08-20 Thread Benjamin Close


Hi Folks,
  I've got to route a network over an ipv4 tunnel between to machines 
which have their parent link on the same network segment.
Everything works well except for people trying to access the external 
address of one of the link machines: ie:



 Physical   120.1.1.2 (xl0)--- 120.1.1.3 (sk0)
  Tunnel
  192.168.3.1(gif0) -- 192.168.0.1 (gif0)
  ||
   NET1 (xl1)  NET 2 (sk1)
192.168.3.0/24 192.168.0/24

Now anyone on net NET1 can talk to NET2 fine via a default route to 
gif0. However anyone on NET1 can't talk to 120.1.1.3 as routing tries to 
send via xl0 as it's on the same net and firewall rules prevent it.The 
default route for xl0 is gif0 with a link level route to the ip of sk0.


Anyone got an idea how to fully route xl1 via gif0? Including the parent 
physical address?



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


GEOM, Vinum difference

2007-08-20 Thread Rakhesh Sasidharan


Hi,

I see that if I want to do disk striping/ concating/ mirroring, FreeBSD 
offers the GEOM utilities and the Vinum LVM (which fits into the GEOM 
architecture). Why do we have two different ways of doing the same tasks 
-- any advantages/ disadvantages to either approach?


I did check the archives before posting this question. Got a couple of 
hits, but they seem to be old info. Hence this question.


The GEOM utilities seem to be newer, fancier, and probably the future. 
Vinum seems to be how things used to happen earlier. After GEOM was 
introduced, if Vinum had been discarded, I would have understood. But it 
wasn't. Instead, it was rewritten for GEOM and is probably still 
actively maintained. So I wonder why we have two ways of doing the same 
tasks ...


What I understand from the archives is that Vinum was _probably_ rewritten 
for GEOM coz the GEOM utilities were still new and not as time tested as 
Vinum. Is that the case? So will Vinum continue to be around for a while 
or it be discarded?



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


Re: IPv4 over IPV4 on the same network segment

2007-08-20 Thread Eric Crist

On Aug 20, 2007, at 2:26 AMAug 20, 2007, Benjamin Close wrote:



Hi Folks,
  I've got to route a network over an ipv4 tunnel between to  
machines which have their parent link on the same network segment.
Everything works well except for people trying to access the  
external address of one of the link machines: ie:



 Physical   120.1.1.2 (xl0)--- 120.1.1.3  
(sk0)

  Tunnel
  192.168.3.1(gif0) -- 192.168.0.1 (gif0)
  ||
   NET1 (xl1)  NET 2 (sk1)
192.168.3.0/24 192.168.0/24

Now anyone on net NET1 can talk to NET2 fine via a default route to  
gif0. However anyone on NET1 can't talk to 120.1.1.3 as routing  
tries to send via xl0 as it's on the same net and firewall rules  
prevent it.The default route for xl0 is gif0 with a link level  
route to the ip of sk0.


Anyone got an idea how to fully route xl1 via gif0? Including the  
parent physical address?




Benjamin,

I wouldn't use gif0 as the default route, but rather the physical  
interface.  Your system should automatically become aware of the new / 
24 networks when you create the gif tunnel.


I'm assuming, 120.1.1.2 can ping 120.1.1.3?  If so, can either  
machine ping 192.168.0.1 and 192.168.3.1?  If that's the case, simply  
setting gateway_enable=YES in /etc/rc.conf should allow all the  
necessary packets to go to the correct destination.  FWIW, if you do  
want to set the default across the gif tunnel, the other end will  
have to be able to handle all the internet-bound traffic.


HTH
-
Eric F Crist
Secure Computing Networks


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


ath -- Atheros IEEE 802.11 wireless network driver

2007-08-20 Thread Arend P. van der Veen

Hi,

I have been having some interupt issues with this driver.  If I hook to 
a wireless access point that is week, I get tons of interrupts and kills 
the performance of my laptop.  However, when I us it at home with the 
access point in the same room as my laptop everything works great.  I a 
connect to the same access point using a Windows box (different wireless 
card unfortunetly) I do not have a problem.  I am running


FreeBSD 6.2-RELEASE-p7 FreeBSD 6.2-RELEASE-p7 #2: Sat Aug  4 23:06:38 
EDT 2007


I am not sure where to start to debug this or if there is a better 
mailing list to send this.


Any suggestions would be great.

Thanks,
Arend
___
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.2-RELEASE-p7 box crashing

2007-08-20 Thread Eric Crist
On Aug 20, 2007, at 7:10 AMAug 20, 2007, आशीष शुक्ल  
Ashish Shukla wrote:



Hi,

I'm running FreeBSD 6.2-RELEASE-p7 custom compiled kernel running on
Intel Pentium 4 630 (AMD64 architecture). FreeBSD 6.2-RELEASE is the
most stable release I've ever seen in my 3 years of BSD life.

But for the first time, it crashed today, that's too severe. It  
suddenly

freezed, and then heard a long beep, after that rebooted within 2
seconds.

Now, since then it either gets rebooted during filesystem check, or
either during starting /usr/local/etc/rc.d/avahi-daemon.sh .

Right now, I'm mailing from Linux, and attaching a copy of /var/ 
log/messages
with output of FreeBSD booted with verbose logging chosen at boot  
menu.


I've tested my memory using memtest86+ executing all tests (including
Bit fade test), and it passed all tests.

Please suggest what should I do ?



My recommendation would be to run mbmon or something similar to  
monitor system temperature, etc.  I've not got a lot of experience  
yet with the AMD64 architecture, but the little I do seems to be  
prone to over heating.  Often, when I've had similar problems to  
those you describe, I can later attribute those reboots and crashes  
to system temperature.


HTH
-
Eric F Crist
Secure Computing Networks


___
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.2-RELEASE-p7 box crashing

2007-08-20 Thread Eric Crist
Sorry to reply again so soon, but I failed to read through your  
attachment before sending my previous message.  I notice that your  
system seems to have crashed at least a few times during the loading  
of PowerDNS.  Immediately before, there's a warning about the  
variables in /etc/rc.conf:


Aug 20 15:50:43 chatteau root: /etc/rc: WARNING: $pdnsd_enable is not  
set properly - see rc.conf(5).


Also,  have you tried booting with ACPI disabled?  I know there are  
still some systems out there that don't quite work the way they ought  
to.


-
Eric F Crist
Secure Computing Networks


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


IPFW Questions.

2007-08-20 Thread Grant Peel
Hi all,

I was wondering what the concensus is on using dynamic rules in IPFW. Every 
once in a while, I suppose there is a DoS attaclk that causes me to see 
hundreds of:

+ipfw: install_state: Too many dynamic rules

in my security log.

I am sure i read somewhere that many people are skipping the dynamic rules and 
just relying on the line by line rules.

You thoughts please.

Any while your up, does anyone really know what this means?

ipfw: pullup failed

I dont see that often maybe 1 or 2 times a month.

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


RE: IPFW Questions.

2007-08-20 Thread Narek Gharibyan
I have same problem related to ipfw pullup. I couldn't find any
documentation or solution on it.
Narek

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Grant Peel
Sent: Monday, August 20, 2007 6:07 PM
To: freebsd-questions@freebsd.org
Subject: IPFW Questions.

Hi all,

I was wondering what the concensus is on using dynamic rules in IPFW. Every
once in a while, I suppose there is a DoS attaclk that causes me to see
hundreds of:

+ipfw: install_state: Too many dynamic rules

in my security log.

I am sure i read somewhere that many people are skipping the dynamic rules
and just relying on the line by line rules.

You thoughts please.

Any while your up, does anyone really know what this means?

ipfw: pullup failed

I dont see that often maybe 1 or 2 times a month.

-Grant
___
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: Gnome FreeBSD

2007-08-20 Thread Michael S
Thank you all for the suggestions. I am going to take
into consideration everything everyone wrote.

Michael

--- P.U.Kruppa [EMAIL PROTECTED] wrote:

 On Sun, 19 Aug 2007, Michael S wrote:
 
  Good day all,
 
  I decided to add GUI to my GUI-less FreeBSD
 machine. I
  am  considering installing Gnome, which I haven't
 used
  for long while and the last time was on Linux
 anyway.
  The reason is that most of my favorite
 applications
  use gtk libraries, like Firefox, GAIM (can't get
 used
  to the new name),wxPython and others. In short I
  wanted to avoid 2 huge sets of libraries (gtk and
 qt)
  by not installing KDE.
  I wanted to know how Gnome feels on FreeBSD, is it
  polished enough? Are there crashes? Any caveats at
  all?
 There is a minimal gnome installation in
   /usr/ports/x11/gnome2-lite
 you can start with that and - if you like it - add
 all the the 
 other stuff. 
 One caveat:
 First install /usr/ports/x11/xorg (i.e. xorg-7.2)
 and check if 
 your monitor and graphics card are set up correctly.
 
 Greetings,
 
 Uli.
 
 
  Thanks in advance,
  Michael
  ___
  freebsd-questions@freebsd.org mailing list
 

http://lists.freebsd.org/mailman/listinfo/freebsd-questions
  To unsubscribe, send any mail to
 [EMAIL PROTECTED]
 
 
 
 
 Peter Ulrich Kruppa
 Wuppertal
 Germany
 
 ___
 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: freebsd 7 release date :)

2007-08-20 Thread Jerry McAllister
On Mon, Aug 20, 2007 at 05:15:10PM +1000, Sam Lawrance wrote:

 
 On 20/08/2007, at 10:47 AM, Jerry McAllister wrote:
 
 On Sun, Aug 19, 2007 at 03:05:00PM +0200, Wojciech Puchar wrote:
 
 
 just for reference only:
 Original release planned date of 7.0 was end of Jul. But now is  
 nearly end
 of Aug.
 So Which date you guess 7.0 will be released?  :D
 
 when it will be ready. if time is more important than quality for  
 you get
 simply get -current. even if not - and you would like help testing  
 it,
 fetch and report problems.
 
 There was obviously no intent to challenge or apply preasure in the
 question so you don't need to be snippy.   If you don't have any  
 useful
 information or at least information you think might be useful  
 (qualifier
 for my posts) then don't bother replying - at least not snippy, posts.
 We can afford to be civil - expecially when a civil question is asked.
 
 The person was just noting that the old guesses were no longer  
 operable
 and hoping that some new best guesses might have been made.   We all
 know these dates are very movable and for very good reasons.   No  
 one is
 pushing for low quality, hurried up junk.   But those best guesses by
 people in the know about how the processes if moving along are helpful
 for those of use out here in the hinterland trying to make it through
 each day.
 
 There was nothing snippy in that post, it was just succinct.  By now,  
 people in the know have learned that it really will be done when  
 it's done.
 

Read it from the point of view of a person who is not an insider and
is seeking a little help in keeping their FreeBSD life together.
When someone asks for a guess and the response sounds more like
'get out of my face' than anything with useful content, it is snippy.
I could have used a stronger term.

As I said, we know and even newbies can learn, with considerate
explanitory responses, that no absolute date can realistically
be named - that there is justifiably more concern about quality
than making a particular 'release date'.   But some running info
on how it is going is helpful - actually reassuring, to those of
us out of the loop.  It needn't be anything elaborate.  

Anyway, the important issue here is refusing to consider the effects
of the response when replying to a posted question, even when it is
a somewhat unenlightened question.  

jerry

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


Trying to move /usr

2007-08-20 Thread Michael S
Good morning everyone,

I am trying to migrate my /usr to a newly installed
SCSI drive. Up until yesterday I had /, /var, /usr on
a 5 Gig drive and my /home was on another 60 Gig
drive, which was fine because it had no GUI and
functioned mostly as a server.

Last night I added a third drive, with a capacity
around 18G; since my other two drives are hard-wired
in /boot/device.hints, there were no problems with
device numbering. I wrote down the device name
(/dev/da2) and proceeded to sysinstall to first create
a FreeBSD partition and then the only slice within
that partition. I named it /user.

I then tarred up /usr
Tar –cf  /user/usr.tar /usr

Extracted the tar file and moved everything one
directory up, because otherwise everything were under
/user/usr.

I made the necessary adjustnments in /etc/fstab, that
is I switched /usr and /user around.

After reboot, I wasn’t getting the prompt, since the
binaries for displaying the prompt are located under
/usr/bin (or /usr/sbin?) and my guess was that /usr
wasn’t mounting properly. I restarted the machine,
this time going into single user mode. Trying to mount
–a gave me an error message: Error mounting /usr/home.
I then created home directory under the new /usr, I
tried mount –a, this time it worked, but when I
rebooted, I wasn’t getting my home directory. When I
login as an unprivileged user – michael, the message
is something like: “User has no home directory”.

For now I reverted to using the old /usr.

Anyone attempted to migrate /usr and fell for similar
kind of problems? Any suggestions will be appreciated.

P.S. I am not next to that machine right now, so I
can’t provide the exact fstab or dmesg output.

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


Re: freebsd 7 release date :)

2007-08-20 Thread Erik Norgaard

Dan Nelson wrote:

In the last episode (Aug 19), Erik Norgaard said:

No so fast now, after reading this I thought I'd give it a try,
updated the source, buildworld then buildkernel. at installkernel i
got a lot of error lines like this

kldxref: file isn't dynamically-linked
kldxref: file isn't dynamically-linked
kldxref: file isn't dynamically-linked
kldxref: file isn't dynamically-linked

no idea which file it was. And booting I booted straight into gdb.


(ddb I assume, not gdb?)

Those are warnings, not errors, due to the installkernel running a 6.x
kldxref on a 7.x kernel.  Your boot problem is unrelated, and could be
due to missing drivers for whatever your boot device is. 


OK thanks, I have previously tried booting a (older) 7-CURRENT kernel 
without problems, and never seen the above error, so my first conclusion 
was that the two were linked.


Cheers, Erik
--
Ph: +34.666334818  web: http://www.locolomo.org
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: freebsd 7 release date :)

2007-08-20 Thread Eric Crist

On Aug 20, 2007, at 9:52 AMAug 20, 2007, Jerry McAllister wrote:

[snip]


As I said, we know and even newbies can learn, with considerate
explanitory responses, that no absolute date can realistically
be named - that there is justifiably more concern about quality
than making a particular 'release date'.   But some running info
on how it is going is helpful - actually reassuring, to those of
us out of the loop.  It needn't be anything elaborate.

Anyway, the important issue here is refusing to consider the effects
of the response when replying to a posted question, even when it is
a somewhat unenlightened question.


IMHO, I think it would be a benefit to the community if there were a  
page up on the FreeBSD website that explained the release process and  
at least some sort of clue as to what people can expect regarding the  
next coming release.  As many long-time FreeBSDers know, there are  
these pages up there, but I don't feel their new-user friendly, and  
they certainly are a PITA to find at times.


I'm not suggesting we lay out a strict timeline, as I'd much prefer  
the releases when they're ready, but simply a page saying, 'Hey,  
FreeBSD x.y release is coming soon, we're currently working on 'blah.''


I'd even be willing to help out if needed.

-
Eric F Crist
Secure Computing Networks


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


Re: Trying to move /usr

2007-08-20 Thread Derek Ragona

At 10:10 AM 8/20/2007, Michael S wrote:

Good morning everyone,

I am trying to migrate my /usr to a newly installed
SCSI drive. Up until yesterday I had /, /var, /usr on
a 5 Gig drive and my /home was on another 60 Gig
drive, which was fine because it had no GUI and
functioned mostly as a server.

Last night I added a third drive, with a capacity
around 18G; since my other two drives are hard-wired
in /boot/device.hints, there were no problems with
device numbering. I wrote down the device name
(/dev/da2) and proceeded to sysinstall to first create
a FreeBSD partition and then the only slice within
that partition. I named it /user.

I then tarred up /usr
Tar ­cf  /user/usr.tar /usr

Extracted the tar file and moved everything one
directory up, because otherwise everything were under
/user/usr.

I made the necessary adjustnments in /etc/fstab, that
is I switched /usr and /user around.

After reboot, I wasn’t getting the prompt, since the
binaries for displaying the prompt are located under
/usr/bin (or /usr/sbin?) and my guess was that /usr
wasn’t mounting properly. I restarted the machine,
this time going into single user mode. Trying to mount
­a gave me an error message: Error mounting /usr/home.
I then created home directory under the new /usr, I
tried mount ­a, this time it worked, but when I
rebooted, I wasn’t getting my home directory. When I
login as an unprivileged user ­ michael, the message
is something like: “User has no home directory”.

For now I reverted to using the old /usr.

Anyone attempted to migrate /usr and fell for similar
kind of problems? Any suggestions will be appreciated.

P.S. I am not next to that machine right now, so I
can’t provide the exact fstab or dmesg output.

Thanks in advance,
Michael


When you un-tarred did you use -p to be sure the perms were all correct?

-Derek

--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
MailScanner thanks transtec Computers for their support.

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


Re: Trying to move /usr

2007-08-20 Thread Jerry McAllister
On Mon, Aug 20, 2007 at 11:10:12AM -0400, Michael S wrote:

 Good morning everyone,
 
 I am trying to migrate my /usr to a newly installed
 SCSI drive. Up until yesterday I had /, /var, /usr on
 a 5 Gig drive and my /home was on another 60 Gig
 drive, which was fine because it had no GUI and
 functioned mostly as a server.
 
 Last night I added a third drive, with a capacity
 around 18G; since my other two drives are hard-wired
 in /boot/device.hints, there were no problems with
 device numbering. I wrote down the device name
 (/dev/da2) and proceeded to sysinstall to first create
 a FreeBSD partition and then the only slice within
 that partition. I named it /user.

You have that backwards.  You created one slice on the disk
and one partition within that slice.   Minor thing, but can
confuse communication.

 I then tarred up /usr
 Tar –cf  /user/usr.tar /usr
 
 Extracted the tar file and moved everything one
 directory up, because otherwise everything were under
 /user/usr.
 
 I made the necessary adjustnments in /etc/fstab, that
 is I switched /usr and /user around.

I am not completely sure just what you mean by 'moved one directory up' 
and 'switched /usr and /user around'.
It sounds an awful lot like you are saying you modified /etc/fstab to mount 
this new partition (probably  /dev/da2s1a, though the 'a' might be
something else) as /user instead of /user/usr.

But, the new partition needs to be mounted as /usr


 After reboot, I wasn’t getting the prompt, since the
 binaries for displaying the prompt are located under
 /usr/bin (or /usr/sbin?) and my guess was that /usr
 wasn’t mounting properly. I restarted the machine,
 this time going into single user mode. Trying to mount
 –a gave me an error message: Error mounting /usr/home.
 I then created home directory under the new /usr, I
 tried mount –a, this time it worked, but when I
 rebooted, I wasn’t getting my home directory. When I
 login as an unprivileged user – michael, the message
 is something like: “User has no home directory”.
 
 For now I reverted to using the old /usr.
 
 Anyone attempted to migrate /usr and fell for similar
 kind of problems? Any suggestions will be appreciated.
 
 P.S. I am not next to that machine right now, so I
 can’t provide the exact fstab or dmesg output.

I guess we need the actual /etc/fstab to be sure just what
has been done.   Maybe also some dmesg output that shows the
disk devices could be useful too.

jerry

 
 Thanks in advance,
 Michael
 ___
 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]


Configuring OpenLDAP on FreeBSD 6.2 Release, Problems.

2007-08-20 Thread Lisandro Grullon
Hi All,
I am a newcomer to the FreeBSD world. I am trying to implement a openLDAP 
installation. It all went ok with the SASL and SERVER install in conjunction 
with BDB, yet when I try starting the service using /usr/local/libexec/slapd  
or  /usr/local/etc/rc.d/slapd start, the service does not start. I checked 
ps -axww | grep slapd and nothing is showing. After checking cat 
/var/log/debug.log I can see the following output in stdout.
 
Aug 20 10:16:10 sce2 slapd[71803]: @(#) $OpenLDAP: slapd 2.4.3alpha (Oct 18 
2006 03:27:53) $[EMAIL 
PROTECTED]:/work/a/ports/net/openldap24-server/work/openldap-2.4.3alpha/servers/slapdAug
 20 10:16:10 sce2 slapd[71803]: connections_destroy: nothing to destroy.Aug 20 
10:16:10 sce2 slapd[71803]: slapd stopped.
 
 
Can some one provide me a way to troubleshoot this issue of the service. Thanks 
in advance.
 
FreeBSD sce2.USA.com 6.2-RELEASE FreeBSD 6.2-RELEASE #0: Wed Aug 15 12:07:32 
EDT 2007 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/AMD64KERNEL  amd64
_
See what you’re getting into…before you go there
http://newlivehotmail.com/?ocid=TXT_TAGHM_migration_HM_viral_preview_0507___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


The problem of connection between Windows and FreeBSD when using IPSec transport.

2007-08-20 Thread Alesha
Hi,

On one side there's FreeBSD 6.2, ipsec-tools-0.6.7; on the other Windows
2003 Server.

If I start pinging under Windows everything works ok,

C:\Documents and Settingsping 111.111.111.2

Pinging 111.111.111.2 with 32 bytes of data:

Negotiating IP Security.
Reply from 111.111.111.2: bytes=32 time1ms TTL=63 Reply from
111.111.111.2: bytes=32 time1ms TTL=63

/var/log/racoon.log

2007-08-17 12:10:18: INFO: @(#)ipsec-tools 0.6.7
(http://ipsec-tools.sourceforge.net)
2007-08-17 12:10:18: INFO: @(#)This product linked OpenSSL 0.9.7e-p1 25
Oct 2004 (http://www.openssl.org/)
2007-08-17 12:10:18: INFO: 111.111.111.2[500] used as isakmp port
(fd=5)

2007-08-17 12:29:16: INFO: respond new phase 1 negotiation:
111.111.111.2[500]=111.111.111.1[500]
2007-08-17 12:29:16: INFO: begin Identity Protection mode.
2007-08-17 12:29:16: INFO: received broken Microsoft ID: MS NT5
ISAKMPOAKLEY
2007-08-17 12:29:16: INFO: received Vendor ID: FRAGMENTATION
2007-08-17 12:29:16: INFO: received Vendor ID:
draft-ietf-ipsec-nat-t-ike-02
2007-08-17 12:29:16: INFO: ISAKMP-SA established
111.111.111.2[500]-111.111.111.1[500]
spi:ceb3ba2040683da6:f80fc5ab1e3d931e
2007-08-17 12:29:16: INFO: respond new phase 2 negotiation:
111.111.111.2[0]=111.111.111.1[0]
2007-08-17 12:29:16: INFO: IPsec-SA established: ESP/Transport
111.111.111.1[0]-111.111.111.2[0] spi=36304726(0x229f756)
2007-08-17 12:29:16: INFO: IPsec-SA established: ESP/Transport
111.111.111.2[0]-111.111.111.1[0] spi=3194585143(0xbe698037)

From FreeBSD:

# ping 111.111.111.1
PING 111.111.111.1 (111.111.111.1): 56 data bytes
64 bytes from 111.111.111.1: icmp_seq=6 ttl=127 time=0.526 ms
64 bytes from 111.111.111.1: icmp_seq=7 ttl=127 time=6.382 ms

and ping works for 2 sides.


But if I initiate ping under FreeBSD (after restart racoon daemon),

# ping 111.111.111.1
PING 111.111.111.1 (111.111.111.1): 56 data bytes ^C
--- 111.111.111.1 ping statistics ---
5 packets transmitted, 0 packets received, 100% packet loss

I see in the log the following:
2007-08-17 12:44:16: INFO: @(#)ipsec-tools 0.6.7
(http://ipsec-tools.sourceforge.net)
2007-08-17 12:44:16: INFO: @(#)This product linked OpenSSL 0.9.7e-p1 25
Oct 2004 (http://www.openssl.org/)
2007-08-17 12:44:16: INFO: 111.111.111.2[500] used as isakmp port
(fd=5)
2007-08-17 12:44:21: INFO: IPsec-SA request for 111.111.111.1 queued due
to no phase1 found.
2007-08-17 12:44:21: INFO: initiate new phase 1 negotiation:
111.111.111.2[500]=111.111.111.1[500]
2007-08-17 12:44:21: INFO: begin Identity Protection mode.
2007-08-17 12:44:21: INFO: received broken Microsoft ID: MS NT5
ISAKMPOAKLEY
2007-08-17 12:44:21: INFO: received Vendor ID: FRAGMENTATION
2007-08-17 12:44:21: INFO: received Vendor ID:
draft-ietf-ipsec-nat-t-ike-02

2007-08-17 12:44:21: INFO: ISAKMP-SA established
111.111.111.2[500]-111.111.111.1[500]
spi:94372eb384516aef:bccacea73409cfc6
2007-08-17 12:44:22: INFO: initiate new phase 2 negotiation:
111.111.111.2[0]=111.111.111.1[0]
2007-08-17 12:44:22: ERROR: unknown notify message, no phase2 handle
found.
2007-08-17 12:44:38: ERROR: 111.111.111.1 give up to get IPsec-SA due to
time up to wait.
2007-08-17 12:45:21: INFO: ISAKMP-SA expired
111.111.111.2[500]-111.111.111.1[500]
spi:94372eb384516aef:bccacea73409cfc6
2007-08-17 12:45:21: ERROR: unknown Informational exchange received.
2007-08-17 12:45:22: INFO: ISAKMP-SA deleted
111.111.111.2[500]-111.111.111.1[500]
spi:94372eb384516aef:bccacea73409cfc6

My configs:

# cat /etc/ipsec.conf
spdadd 111.111.111.2 111.111.111.1 any -P out ipsec
esp/transport//require;

spdadd 111.111.111.1 111.111.111.2 any -P in ipsec
esp/transport//require;

path pre_shared_key /usr/local/etc/racoon/psk.txt ; log notify;

padding
{
maximum_length 20;
randomize off;
strict_check off;
exclusive_tail off;
}

timer
{
counter 5; # maximum trying count to send.
interval 20 sec; # maximum interval to resend.
persend 1; # the number of packets per a send.
phase1 30 sec;
phase2 15 sec;
}

remote anonymous
{
# exchange_mode aggressive,main;
exchange_mode main, base;
doi ipsec_doi;
situation identity_only;
nonce_size 16;
lifetime time 1 min; # sec, min, hour
initial_contact on;
support_proxy on;
proposal_check obey; # obey, strict or claim

proposal {
encryption_algorithm 3des;
hash_algorithm sha1;
authentication_method pre_shared_key ;
dh_group 2 ;
}
}

sainfo anonymous
{
pfs_group 1;
lifetime time 36000 sec;
encryption_algorithm 3des,des,cast128,blowfish ;
authentication_algorithm hmac_sha1,hmac_md5;
compression_algorithm deflate ;
}

What do I have to change in conf files, to make IPSec properly work no
matter from which server I initiate the connection?
Thank you for any answers.

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

Re: Trying to move /usr

2007-08-20 Thread Michael S
Jerry,

*** When I untarred the file I had everything under
/user/usr. I was under /user/usr and then I did mv *
..

I then edited fstab and changed 
/dev/da2s1d to be /usr, instead of /user

And of course the old /usr I switched to /user

Thanks in advance
--- Jerry McAllister [EMAIL PROTECTED] wrote:

 On Mon, Aug 20, 2007 at 11:10:12AM -0400, Michael S
 wrote:
 
  Good morning everyone,
  
  I am trying to migrate my /usr to a newly
 installed
  SCSI drive. Up until yesterday I had /, /var, /usr
 on
  a 5 Gig drive and my /home was on another 60 Gig
  drive, which was fine because it had no GUI and
  functioned mostly as a server.
  
  Last night I added a third drive, with a capacity
  around 18G; since my other two drives are
 hard-wired
  in /boot/device.hints, there were no problems with
  device numbering. I wrote down the device name
  (/dev/da2) and proceeded to sysinstall to first
 create
  a FreeBSD partition and then the only slice within
  that partition. I named it /user.
 
 You have that backwards.  You created one slice on
 the disk
 and one partition within that slice.   Minor thing,
 but can
 confuse communication.
 
  I then tarred up /usr
  Tar –cf  /user/usr.tar /usr
  
  Extracted the tar file and moved everything one
  directory up, because otherwise everything were
 under
  /user/usr.
  
  I made the necessary adjustnments in /etc/fstab,
 that
  is I switched /usr and /user around.
 


 I am not completely sure just what you mean by
 'moved one directory up' 
 and 'switched /usr and /user around'.
 It sounds an awful lot like you are saying you
 modified /etc/fstab to mount 
 this new partition (probably  /dev/da2s1a, though
 the 'a' might be
 something else) as /user instead of /user/usr.
 
 But, the new partition needs to be mounted as /usr
 
 
  After reboot, I wasn’t getting the prompt, since
 the
  binaries for displaying the prompt are located
 under
  /usr/bin (or /usr/sbin?) and my guess was that
 /usr
  wasn’t mounting properly. I restarted the machine,
  this time going into single user mode. Trying to
 mount
  –a gave me an error message: Error mounting
 /usr/home.
  I then created home directory under the new /usr,
 I
  tried mount –a, this time it worked, but when I
  rebooted, I wasn’t getting my home directory. When
 I
  login as an unprivileged user – michael, the
 message
  is something like: “User has no home directory”.
  
  For now I reverted to using the old /usr.
  
  Anyone attempted to migrate /usr and fell for
 similar
  kind of problems? Any suggestions will be
 appreciated.
  
  P.S. I am not next to that machine right now, so I
  can’t provide the exact fstab or dmesg output.
 
 I guess we need the actual /etc/fstab to be sure
 just what
 has been done.   Maybe also some dmesg output that
 shows the
 disk devices could be useful too.
 
 jerry
 
  
  Thanks in advance,
  Michael
  ___
  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: Regular expressions

2007-08-20 Thread Reid Linnemann

Written by Christer Hermansson on 08/18/07 18:08

Derek Ragona wrote:

At 12:04 PM 8/18/2007, Christer Hermansson wrote:
I also found some basic example at 
http://www.grymoire.com/Unix/Sh.html#uh-88 :


88888

#!/bin/sh

echo Type in a number
read ans
number=`expr $ans : ([0-9]*)`
if [ $number != $ans ]; then
echo Not a number
elif [ $number -eq 0 ]; then
echo Nothing was typed
else
echo $number is a fine number
fi

88888

The above example doesn't work on my freebsd box. Maybe I need to 
update my system, sitting with 6.0R which never been updated.




You have a syntax error using expr.  Do a man on expr for more details 
but if you change that line from:

number=`expr $ans : ([0-9]*)`
to:
number=`expr $ans : \([0-9]*\)`

You will get the desired results.

Also when debugging scripts remember to add:
set -x
to your script on the second line, and see what the script lines are 
actually doing.


-Derek

Thanks Derek ! Now both the example and my own code works for me. I 
changed my code from ^[A-Za-z0-9_-]+$ to \([A-Za-z0-9_-]*\) It seems 
that FreeBSD's expr want some different syntax than the webbased test 
tool at http://regexlib.com/RETester.aspx




No, your expression is double quoted, which means the shell will expand 
it before passing it to expr. Parens are expanded by shells, they 
manipulate the order of operations (i.e. 'echo 1 || echo 2  echo 3' 
vs. '(echo 1 || echo 2)  echo 3'). As a result, you must escape the 
parens or the shell will gobble them up.

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


Re: Hello!

2007-08-20 Thread Old Ranger

[EMAIL PROTECTED] wrote:

On 17/08/07, Adam J Richardson [EMAIL PROTECTED] wrote:
  

Branko Vukelic wrote:


Hi,

My name is Branko (a.k.a. FoxBunny in some circles). Until recently I was a
Arch Linux
user, and decided to give FreeBSD a try, for a better desktop experience.
Thanks to the DesktopBSD project (BIG THANKS!) I'm now running FreeBSD on my
box (or is it proper to call DesktopBSD a FreeBSD?).

I must say I am most impressed by how all this works, from development to
final touches, to actually running and using it. I'm looking forward to
getting involved in the whole BSD scene.

Nice meeting (sort of) you all!

Best regards,

Branko
  

Hi Branko!

I guess it's like comparing an Alsatian [FreeBSD] to a Spaniel
[DesktopBSD]: they're very different, but both are still dogs. However
NetBSD is a cat and Windows is a fish.

Feel free to play with my sophisticated model of operating system
development, anyone.

Maybe I shouldn't have compared FreeBSD to a dog. Whoops. Sorry all.



If netbsd is a cat, and oh!ess!ten is variously a panther, tiger,
puma, (pard?  olestra?), openbsd is a fish (and some damned
anthropomorphic lips), probably freebsd is really a 1938
pontiac, and windows is a cow-duck hybrid with post-it notes
stapled to its spine (or maybe that transporter accident from
Star Trek: Der Movin' Picture!).

  

From a pilot's point of view:
FreeBSD is an F-4 Phantom.
Mac is a P-38 Trainer.
Windows is a DC-10.

Grins,

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


Re: Regular expressions

2007-08-20 Thread Reid Linnemann

Written by Reid Linnemann on 08/20/07 11:58

Written by Christer Hermansson on 08/18/07 18:08

Derek Ragona wrote:

At 12:04 PM 8/18/2007, Christer Hermansson wrote:
I also found some basic example at 
http://www.grymoire.com/Unix/Sh.html#uh-88 :


88888

#!/bin/sh

echo Type in a number
read ans
number=`expr $ans : ([0-9]*)`
if [ $number != $ans ]; then
echo Not a number
elif [ $number -eq 0 ]; then
echo Nothing was typed
else
echo $number is a fine number
fi

88888

The above example doesn't work on my freebsd box. Maybe I need to 
update my system, sitting with 6.0R which never been updated.




You have a syntax error using expr.  Do a man on expr for more 
details but if you change that line from:

number=`expr $ans : ([0-9]*)`
to:
number=`expr $ans : \([0-9]*\)`

You will get the desired results.

Also when debugging scripts remember to add:
set -x
to your script on the second line, and see what the script lines are 
actually doing.


-Derek

Thanks Derek ! Now both the example and my own code works for me. I 
changed my code from ^[A-Za-z0-9_-]+$ to \([A-Za-z0-9_-]*\) It 
seems that FreeBSD's expr want some different syntax than the webbased 
test tool at http://regexlib.com/RETester.aspx




No, your expression is double quoted, which means the shell will expand 
it before passing it to expr. Parens are expanded by shells, they 
manipulate the order of operations (i.e. 'echo 1 || echo 2  echo 3' 
vs. '(echo 1 || echo 2)  echo 3'). As a result, you must escape the 
parens or the shell will gobble them up.


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


Re: Trying to move /usr

2007-08-20 Thread [EMAIL PROTECTED]
On 20/08/07, Michael S [EMAIL PROTECTED] wrote:
 Jerry,

 *** When I untarred the file I had everything under
 /user/usr. I was under /user/usr and then I did mv *
 ..

 I then edited fstab and changed
 /dev/da2s1d to be /usr, instead of /user

 And of course the old /usr I switched to /user

So is your /usr now under /usr/usr?

What I have done is:
# mkdir /mnt/usr
# mount /dev/whatever /mnt/usr
# cd /mnt/usr
# dump -L -f - /usr | restore -r -f -
And then edit your /etc/fstab to reflect the changes
and reboot.

-- 
--
___
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.2-RELEASE-p7 box crashing

2007-08-20 Thread आशीष शुक्ल Ashish Shukla
,--[ On Mon, Aug 20, 2007 at 07:33:05AM -0500, Eric Crist wrote:
| Sorry to reply again so soon, but I failed to read through your  
| attachment before sending my previous message.  I notice that your  
| system seems to have crashed at least a few times during the loading  
| of PowerDNS.  Immediately before, there's a warning about the  
| variables in /etc/rc.conf:

Sometimes, it also crashed when I restarted 'avahi-daemon'.

| 
| Aug 20 15:50:43 chatteau root: /etc/rc: WARNING: $pdnsd_enable is not  
| set properly - see rc.conf(5).

I've installed pdns and pdns-recursor, but I'm using pdns-recursor
only, and $pdnsd_enable is set to no. And I'm running this setup since
June, 2007.

| 
| Also,  have you tried booting with ACPI disabled?  I know there are  
| still some systems out there that don't quite work the way they ought  
| to.

No, I've not tried that. But, to me, it looks like filesystem is bad,
and some of the files in use by services like avahi, pdns are corrupt,
so thats why it is crashing. Is there any possiblity like such ?
Anyways, I'll boot with ACPI disabled, or even boot in single-user mode,
and repair my filesystem first.

| 
| -
| Eric F Crist
| Secure Computing Networks
| 
| 

Thanks
Ashish Shukla
-- 
Ashish Shukla Wah Java !!
आशीष शुक्ल

weblog: http://wahjava.wordpress.com/

  ,= ,-_-. =.  | The  desire  to  be  rewarded  for one's  creativity  does |
 ((_/)o o(\_)) | not  justify depriving  the world  in  general of  all  or |
  `-'(. .)`-'  | part  of that  creativity. |
  \_/  |- Richard M. Stallman   |



pgpi1NZ0ui2aX.pgp
Description: PGP signature


Re: Trying to move /usr

2007-08-20 Thread Michael S
I reverted to the old /usr.
What I had done:
Initially I set up the newly installed drive (da2)
to have only one partition (da2s1d) which I chose to
be /user (note the e).
I tarred /usr to a file in /user
tar -cf /user/usr.tar /tar

and extracted the file
tar -xf usr.tar
I had the whole structure of /usr underneath /user/usr

And then
cd usr
mv * ..

to have everything under /user

Then I edited fstab. Whatever was /user became /usr
and /usr became /user.

I will definitely try dump. Never used it before.

Thanks a lot,
Michael

--- [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:

 On 20/08/07, Michael S [EMAIL PROTECTED] wrote:
  Jerry,
 
  *** When I untarred the file I had everything
 under
  /user/usr. I was under /user/usr and then I did mv
 *
  ..
 
  I then edited fstab and changed
  /dev/da2s1d to be /usr, instead of /user
 
  And of course the old /usr I switched to /user
 
 So is your /usr now under /usr/usr?
 
 What I have done is:
 # mkdir /mnt/usr
 # mount /dev/whatever /mnt/usr
 # cd /mnt/usr
 # dump -L -f - /usr | restore -r -f -
 And then edit your /etc/fstab to reflect the changes
 and reboot.
 
 -- 
 --
 

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


Re: Veritas Backup Exec on Freebsd 6.1 (Boon Keng Lee)

2007-08-20 Thread Ian Lord
Hi,

 

Please kindly advise us can the FreeBSD 6.1 being backup via Veritas 

Backup Exec 11d Server for Windows with the Linux Client agent ? Thank for 

the help.

 

~~

Hi,

 

On our side, we didn't manage to make this happen using the regular linux
agent that veritas (now Symantec) provides, but we were able to install the
legacy unix agent which works like a charm. We take full and incremental
backups without problem.

 

Regards

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


/compat/linux/usr/bin/ld

2007-08-20 Thread Nikola Lecic
Hello,

What is the recommended way for obtaining linux ld binary
(/compat/linux/usr/bin/ld)?

I found in the archives that devel/linux_devel port used to provide it,
but it seems that there is no such port now, except
emulators/linux*-gentoo*.

Thank you,

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


RE: Trying to move /usr

2007-08-20 Thread Lisandro Grullon
This makes perfect sense, are you still having issues with your restore?

 Date: Mon, 20 Aug 2007 13:37:56 -0400 From: [EMAIL PROTECTED] To: [EMAIL 
 PROTECTED]; freebsd-questions@freebsd.org CC:  Subject: Re: Trying to move 
 /usr  I reverted to the old /usr. What I had done: Initially I set up the 
 newly installed drive (da2) to have only one partition (da2s1d) which I 
 chose to be /user (note the e). I tarred /usr to a file in /user tar -cf 
 /user/usr.tar /tar  and extracted the file tar -xf usr.tar I had the 
 whole structure of /usr underneath /user/usr  And then cd usr mv * ..  
 to have everything under /user  Then I edited fstab. Whatever was /user 
 became /usr and /usr became /user.  I will definitely try dump. Never used 
 it before.  Thanks a lot, Michael  --- [EMAIL PROTECTED] [EMAIL 
 PROTECTED] wrote:   On 20/08/07, Michael S [EMAIL PROTECTED] wrote:  
  Jerry, *** When I untarred the file I had everything  under  
  /user/usr. I was under /user/usr and then I did mv  *   .. I 
 then edited fstab and changed   /dev/da2s1d to be /usr, instead of /user 
 And of course the old /usr I switched to /userSo is your 
 /usr now under /usr/usr?What I have done is:  # mkdir /mnt/usr  # 
 mount /dev/whatever /mnt/usr  # cd /mnt/usr  # dump -L -f - /usr | 
 restore -r -f -  And then edit your /etc/fstab to reflect the changes  
 and reboot.--   --
 ___ 
 freebsd-questions@freebsd.org mailing list 
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, 
 send any mail to [EMAIL PROTECTED]
_
Learn. Laugh. Share. Reallivemoms is right place!
http://www.reallivemoms.com?ocid=TXT_TAGHMloc=us___
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.2-RELEASE-p7 box crashing

2007-08-20 Thread Lisandro Grullon




 Date: Mon, 20 Aug 2007 22:49:47 +0530 From: [EMAIL PROTECTED] To: 
 FreeBSD-Questions@FreeBSD.ORG CC:  Subject: Re: FreeBSD 6.2-RELEASE-p7 box 
 crashing  ,--[ On Mon, Aug 20, 2007 at 07:33:05AM -0500, Eric Crist wrote: 
 | Sorry to reply again so soon, but I failed to read through your  | 
 attachment before sending my previous message. I notice that your  | system 
 seems to have crashed at least a few times during the loading  | of 
 PowerDNS. Immediately before, there's a warning about the  | variables in 
 /etc/rc.conf: 
 
It would be interesting to see your logs and the content of rc.conf, it would 
provide us a better idea on what is happening.
 Sometimes, it also crashed when I restarted 'avahi-daemon'.  |  | Aug 20 
 15:50:43 chatteau root: /etc/rc: WARNING: $pdnsd_enable is not  | set 
 properly - see rc.conf(5).  I've installed pdns and pdns-recursor, but I'm 
 using pdns-recursor only, and $pdnsd_enable is set to no. And I'm running 
 this setup since June, 2007. 
 
Has the package been running stable since then, what changes have you done to 
it. Upgrade, patching or have you had any file system corruption. Let us know.
 |  | Also, have you tried booting with ACPI disabled? I know there are  | 
 still some systems out there that don't quite work the way they ought  | 
 to.  No, I've not tried that. But, to me, it looks like filesystem is bad, 
 and some of the files in use by services like avahi, pdns are corrupt, so 
 thats why it is crashing. Is there any possiblity like such ? Anyways, I'll 
 boot with ACPI disabled, or even boot in single-user mode, and repair my 
 filesystem first. 
 
It makes sence to drop into single user and check your file system to see if 
there is anything wrong with them, specially the one that is holding the 
package/port and the data of such. Come back and let us know, don't forget to 
check the loggin section of that package, that could provide you with some good 
hints,
 |  | - | Eric F Crist | Secure Computing Networks |  |   Thanks 
 Ashish Shukla --  Ashish Shukla Wah Java !! आशीष शुक्ल  weblog: 
 http://wahjava.wordpress.com/  ,= ,-_-. =. | The desire to be rewarded for 
 one's creativity does | ((_/)o o(\_)) | not justify depriving the world in 
 general of all or | `-'(. .)`-' | part of that creativity. | \_/ | - 
 Richard M. Stallman | 
_
Messenger Café — open for fun 24/7. Hot games, cool activities served daily. 
Visit now.
http://cafemessenger.com?ocid=TXT_TAGLM_AugWLtagline___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]

Re: cheap (supported) wifi card

2007-08-20 Thread Steve Franks
Don,

I notice a earlier poster mentionedwork very well with ndisgen.

I think you've been misled.  That means you have to go thru several
manual steps to smash the windows drivers into something freebsd can
use.  Ugly, in my opinion.  If you want it to work 'out of the box',
go back and buy a card with a prisim/orinoco or atheros chipset.  If
you want to make your existing dongle work, look for ndisgen in the
handbook in the 'wireless networking' section.

Steve

On 8/16/07, Don Hinton [EMAIL PROTECTED] wrote:
 Hi Adam:

 Adam J Richardson writes:
   Don Hinton wrote:
Could someone recommend a good (and
cheap) one that's includes a/b/g*/n and is supported, either natively
or via ndis?
  
   Hi Don,
  
   I can heartily recommend any card based on the TNET1130 chipset. They
   work very well with ndisgen. Examples include the Add-on Tech GWP-100
   and the Belkin F5D7 series, such as the F5D7051 USB key or the F5D7000
   cardbus card. They're all cheap. They do a, b and g. I'm not sure
   about n, though.

 I picked up a Belkin F5D7050, but can seem to figure out how to get it
 to work.  I'm obviously missing something.

 $ dmesg
 snip
 ugen0: Belkin USB2.0 WLAN, class 255/255, rev 2.00/48.10, addr 2 on uhub6

 $ uname -a
 FreeBSD localhost 7.0-CURRENT FreeBSD 7.0-CURRENT #5: Mon Aug 13 16:23:35 UTC 
 2007 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/HP_SMP  i386

 I've compiled the following in my kernel, per man ural:

 device  wlan# 802.11 support
 device  wlan_amrr   # AMRR transmit rate control algorithm
 device  uhci# UHCI PCI-USB interface
 device  ohci# OHCI PCI-USB interface
 device  ehci# EHCI PCI-USB interface (USB 2.0)
 device  usb # USB Bus (required)
 device  ural# Ralink Technology RT2500USB wireless NICs

 But don't see a ural device getting created.  It's hard to tell from
 the package, but I suspect it's a version problem.  There's a small
 sticker on the bottom of the box that has 00173FAFD030 ver. 4000
 printed on it.  But the part number just says FD7050.

 Any help would be appreciated.

 thanks...
 don
 --
 Don Hinton hintonda at gmail dot com
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]



-- 
Steve Franks, KE7BTE
Staff Engineer
La Palma Devices, LLC
http://www.lapalmadevices.com
(520) 312-0089
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: freebsd 7 release date :)

2007-08-20 Thread Eric Crist

On Aug 20, 2007, at 2:18 PMAug 20, 2007, Josh Carroll wrote:


I'm not suggesting we lay out a strict timeline, as I'd much prefer
the releases when they're ready, but simply a page saying, 'Hey,
FreeBSD x.y release is coming soon, we're currently working on  
'blah.''


Something more than what's here then?

http://www.freebsd.org/releng/


Yes.  Especially for people who aren't savvy to the mailing lists,  
that page contains virtually NO useful information.  TBA is only  
useful if, at some point, it actually is announced.  In addition,  
please point out to me if I'm wrong, there's no easy/readily- 
identifiable way to get to that page.  RELENG isn't what I'd consider  
a user-friendly word.


Really, I think my little rant here is more of a customer-service and  
marketing issue.  So many people get upset when someone posts the  
when's the next release question, but there's really no end-user  
digestible information anywhere for those individuals to help  
themselves.


Again, just my $.02.
-
Eric F Crist
Secure Computing Networks


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


Re: Trying to move /usr

2007-08-20 Thread Jerry McAllister
On Mon, Aug 20, 2007 at 12:08:06PM -0400, Michael S wrote:

 Jerry,
 
 *** When I untarred the file I had everything under
 /user/usr. I was under /user/usr and then I did mv *
 ..
 
 I then edited fstab and changed 
 /dev/da2s1d to be /usr, instead of /user
 
 And of course the old /usr I switched to /user

Well, that sounds like the right way.
except that I would have done 
   cd /
   mv /usr/usr /usr
That has worked for me in the past similar situations.

Since you say you have switched back - I presume by editing /etc/fstab - 
have you checked the contents of /user which should be the new copy
of /usr to make sure it looks right - matches the old one pretty well?

jerry

 
 Thanks in advance
 --- Jerry McAllister [EMAIL PROTECTED] wrote:
 
  On Mon, Aug 20, 2007 at 11:10:12AM -0400, Michael S
  wrote:
  
   Good morning everyone,
   
   I am trying to migrate my /usr to a newly
  installed
   SCSI drive. Up until yesterday I had /, /var, /usr
  on
   a 5 Gig drive and my /home was on another 60 Gig
   drive, which was fine because it had no GUI and
   functioned mostly as a server.
   
   Last night I added a third drive, with a capacity
   around 18G; since my other two drives are
  hard-wired
   in /boot/device.hints, there were no problems with
   device numbering. I wrote down the device name
   (/dev/da2) and proceeded to sysinstall to first
  create
   a FreeBSD partition and then the only slice within
   that partition. I named it /user.
  
  You have that backwards.  You created one slice on
  the disk
  and one partition within that slice.   Minor thing,
  but can
  confuse communication.
  
   I then tarred up /usr
   Tar –cf  /user/usr.tar /usr
   
   Extracted the tar file and moved everything one
   directory up, because otherwise everything were
  under
   /user/usr.
   
   I made the necessary adjustnments in /etc/fstab,
  that
   is I switched /usr and /user around.
  
 
 
  I am not completely sure just what you mean by
  'moved one directory up' 
  and 'switched /usr and /user around'.
  It sounds an awful lot like you are saying you
  modified /etc/fstab to mount 
  this new partition (probably  /dev/da2s1a, though
  the 'a' might be
  something else) as /user instead of /user/usr.
  
  But, the new partition needs to be mounted as /usr
  
  
   After reboot, I wasn’t getting the prompt, since
  the
   binaries for displaying the prompt are located
  under
   /usr/bin (or /usr/sbin?) and my guess was that
  /usr
   wasn’t mounting properly. I restarted the machine,
   this time going into single user mode. Trying to
  mount
   –a gave me an error message: Error mounting
  /usr/home.
   I then created home directory under the new /usr,
  I
   tried mount –a, this time it worked, but when I
   rebooted, I wasn’t getting my home directory. When
  I
   login as an unprivileged user – michael, the
  message
   is something like: “User has no home directory”.
   
   For now I reverted to using the old /usr.
   
   Anyone attempted to migrate /usr and fell for
  similar
   kind of problems? Any suggestions will be
  appreciated.
   
   P.S. I am not next to that machine right now, so I
   can’t provide the exact fstab or dmesg output.
  
  I guess we need the actual /etc/fstab to be sure
  just what
  has been done.   Maybe also some dmesg output that
  shows the
  disk devices could be useful too.
  
  jerry
  
   
   Thanks in advance,
   Michael
   ___
   freebsd-questions@freebsd.org mailing list
  
 
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
   To unsubscribe, send any mail to
  [EMAIL PROTECTED]
   
  
 
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Hello!

2007-08-20 Thread Jerry McAllister
On Mon, Aug 20, 2007 at 10:36:03AM -0600, Old Ranger wrote:

 [EMAIL PROTECTED] wrote:
 On 17/08/07, Adam J Richardson [EMAIL PROTECTED] wrote:
   
 Branko Vukelic wrote:
 
 Hi,
 
 My name is Branko (a.k.a. FoxBunny in some circles). Until recently I 
 was a
 Arch Linux
 user, and decided to give FreeBSD a try, for a better desktop experience.
 Thanks to the DesktopBSD project (BIG THANKS!) I'm now running FreeBSD 
 on my
 box (or is it proper to call DesktopBSD a FreeBSD?).
 
 I must say I am most impressed by how all this works, from development to
 final touches, to actually running and using it. I'm looking forward to
 getting involved in the whole BSD scene.
 
 Nice meeting (sort of) you all!
 
 Best regards,
 
 Branko
   
 Hi Branko!
 
 I guess it's like comparing an Alsatian [FreeBSD] to a Spaniel
 [DesktopBSD]: they're very different, but both are still dogs. However
 NetBSD is a cat and Windows is a fish.
 
 Feel free to play with my sophisticated model of operating system
 development, anyone.
 
 Maybe I shouldn't have compared FreeBSD to a dog. Whoops. Sorry all.
 
 
 If netbsd is a cat, and oh!ess!ten is variously a panther, tiger,
 puma, (pard?  olestra?), openbsd is a fish (and some damned
 anthropomorphic lips), probably freebsd is really a 1938
 pontiac, and windows is a cow-duck hybrid with post-it notes
 stapled to its spine (or maybe that transporter accident from
 Star Trek: Der Movin' Picture!).
 
   
 From a pilot's point of view:
 FreeBSD is an F-4 Phantom.
 Mac is a P-38 Trainer.
 Windows is a DC-10.
   (with a hydraulic leak)

jerry

 
 Grins,
 
 ZWH
 ___
 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: freebsd 7 release date :)

2007-08-20 Thread Josh Carroll
 I'm not suggesting we lay out a strict timeline, as I'd much prefer
 the releases when they're ready, but simply a page saying, 'Hey,
 FreeBSD x.y release is coming soon, we're currently working on 'blah.''

Something more than what's here then?

http://www.freebsd.org/releng/


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


Re: freebsd 7 release date :)

2007-08-20 Thread Eric Crist

On Aug 20, 2007, at 2:18 PMAug 20, 2007, Josh Carroll wrote:


I'm not suggesting we lay out a strict timeline, as I'd much prefer
the releases when they're ready, but simply a page saying, 'Hey,
FreeBSD x.y release is coming soon, we're currently working on  
'blah.''


Something more than what's here then?

http://www.freebsd.org/releng/


Yes.  Especially for people who aren't savvy to the mailing lists,  
that page contains virtually NO useful information.  TBA is only  
useful if, at some point, it actually is announced.  In addition,  
please point out to me if I'm wrong, there's no easy/readily- 
identifiable way to get to that page.  RELENG isn't what I'd consider  
a user-friendly word.


Really, I think my little rant here is more of a customer-service and  
marketing issue.  So many people get upset when someone posts the  
when's the next release question, but there's really no end-user  
digestible information anywhere for those individuals to help  
themselves.


Again, just my $.02.
-
Eric F Crist
Secure Computing Networks


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


Re: freebsd 7 release date :)

2007-08-20 Thread Jerry McAllister
On Mon, Aug 20, 2007 at 03:18:55PM -0400, Josh Carroll wrote:

  I'm not suggesting we lay out a strict timeline, as I'd much prefer
  the releases when they're ready, but simply a page saying, 'Hey,
  FreeBSD x.y release is coming soon, we're currently working on 'blah.''
 
 Something more than what's here then?
 
 http://www.freebsd.org/releng/
 

That is helpful, especially the line that says 
  'June 2007Start FreeBSD 7.0 Release Process'

But another line or two that indicate hoped for release window
that can be updated as that changes would be helpful.   The 
next couple of lines relating to 6.x would be enough if they
had a date even as loosely approximate as '2007-3Q' or 'November 2007'
or some such instead of plain 'TBA' would be helpful.   If if becomes
apparent that November is going to slip, plug in 'January 2008' or
whatever.   

The caveat above is clear and could even be stated more strongly
if that made people taking a stab at a date feel more comfortable.

jerry

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


Re: Hello!

2007-08-20 Thread Adam J Richardson

Date: Mon, 20 Aug 2007 11:24:01 +0200
From: Branko Vukelic [EMAIL PROTECTED]
To: Adam J Richardson [EMAIL PROTECTED]



If you allow me, a BSD noob, to take part... ;)

I'd say FreeBSD is a wolf, and DesktopBSD is definitely a dog (as in
domesticated wolf). By taming the wolf for desktop use (I'm not going
into HOW that's possible) you get a system that is quite different
(like an Alaskan Malaute), but still a dog, whereas DesktopBSD is
still like a German Shepherd. I hope my approximation is about close?

http://en.wikipedia.org/wiki/Alaskan_malamute
http://en.wikipedia.org/wiki/German_shepherd

As for other systems, yeah Windows is definitely a fish (if we're
talking pets), and I don't find it prudent to mention Linux here. It's
alien life form. :D


You forgot to CC the list, Branko. :)

[I wouldn't worry about noobishness. We're mostly noobs on this list 
anyway. There are a few gurus lurking in the shadows. As long as you 
show willingness to learn and don't expect others to do hold your hand 
while you cross the road, no one minds.]


Regarding the pets analogy, I was sort of thinking we could stay on 
Earth for now and leave aliens for weird future operating systems like 
LCARS. Perhaps Linux could be a venus fly trap, or possibly a ferret? A 
ferret would be good, since it's more like BSD than it is like Windows. 
And it's also very curious.


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


RE: Configuring OpenLDAP on FreeBSD 6.2 Release, Problems.

2007-08-20 Thread Lisandro Grullon



 From: [EMAIL PROTECTED] To: freebsd-questions@freebsd.org Subject: Re: 
 Configuring OpenLDAP on FreeBSD 6.2 Release, Problems. Date: Mon, 20 Aug 
 2007 22:26:26 +0200 CC: [EMAIL PROTECTED]  On Monday 20 August 2007 17:21, 
 Lisandro Grullon wrote:  Hi All,  I am a newcomer to the FreeBSD world. I 
 am trying to implement a openLDAP  installation. It all went ok with the 
 SASL and SERVER install in  conjunction with BDB, yet when I try starting 
 the service using  /usr/local/libexec/slapd or /usr/local/etc/rc.d/slapd 
 start, the  service does not start.  This may be a very silly question, 
 but have you enabled slapd in /etc/rc.conf?  The startup scripts in 
 /etc/rc.d and /usr/local/etc/rc.d won't run unless the  associated control 
 variable is set to YES in /etc/rc.conf. To find the  right variable and 
 its current setting,
 
This is what I have added in my current rc.conf. I think it goes according to 
the guidelines of the Manual at openLDAP.
 
# The following line will enable slapd and all its 
dependeciesslapd_enable=YESslapd_flags='-h 
ldapi://%2fvar%2frun%2fopenldap%2fldapi/ 
ldap://0.0.0.0/;'slapd_sockets=/var/run/openldap/ldapi
I am not 100% sure where my mistake is hence the log is not showing me 
anything, this is the first time for me playing with openLDAP.
I am starting to worder if it has something to do with the LDIF file or 
configuration of the database. Throw me a bone if you have one.
  /usr/local/etc/rc.d/slapd rcvar  which in this case tells us the control 
  variable is $slapd_enable,  so /etc/rc.conf needs to contain  
  slapd_enable=YES  As a bonus, if this isn't set but you want to do a 
  one-off start or stop (for  example during testing), you can use onestart 
  and onestop:  /usr/local/etc/rc.d/slapd onestart 
 
I tried following these guidelines and still getting that silly error by syslog 
which doesn't give a clue of where the mistake is located. 
This is the output of debug.log
 
Aug 20 16:24:21 sce2 slapd[72618]: @(#) $OpenLDAP: slapd 2.4.3alpha (Oct 18 
2006 03:27:53) $[EMAIL 
PROTECTED]:/work/a/ports/net/openldap24-server/work/openldap-2.4.3alpha/servers/slapdAug
 20 16:24:21 sce2 slapd[72618]: connections_destroy: nothing to destroy.Aug 20 
16:24:21 sce2 slapd[72618]: slapd stopped.
I am even more confuse by this whole thing. Thanks in advance for any help you 
can provide me with.
 which ignores the control variable.  Jonathan
_
Find a local pizza place, movie theater, and more….then map the best route!
http://maps.live.com/default.aspx?v=2ss=yp.bars~yp.pizza~yp.movie%20theatercp=42.358996~-71.056691style=rlvl=13tilt=-90dir=0alt=-1000scene=950607encType=1FORM=MGAC01___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Error in pkg_version.. package is corrupt

2007-08-20 Thread Lowell Gilbert
Johan Andersson [EMAIL PROTECTED] writes:

 Hello..
 I was running portupgrade -a . in the middle of compile i did lose power..
 now when im running pkg_version -vL=  i got this:

 pkg_version: the package info for package 'GeoIP-1.4.2' is corrupt
 pkg_version: the package info for package 'aide-0.11' is corrupt
 pkg_version: the package info for package 'arc-5.21o_1' is corrupt
 pkg_version: the package info for package 'arj-3.10.22' is corrupt
 pkg_version: the package info for package 'autoconf-2.13.000227_6' is
 corrupt
 pkg_version: the package info for package 'autoconf-2.59_3' is corrupt
 pkg_version: the package info for package 'autoconf-2.61_2' is corrupt
 pkg_version: the package info for package 'autoconf-wrapper-20070404' is
 corrupt
 pkg_version: the package info for package 'automake-1.4.6_4' is corrupt
 pkg_version: the package info for package 'automake-1.9.6_2' is corrupt
 pkg_version: the package info for package 'automake-wrapper-20070404' is
 corrupt
 and more...

 How do i fix this without reinstall the system?

You can restore the package descriptions (/var/db/pkg/*, unless you
put them somewhere else) from backups.  Alternatively, you could 
forcibly reinstall the ports.


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


Re: freebsd 7 release date :)

2007-08-20 Thread Abdullah Ibn Hamad Al-Marri
On 8/20/07, Jerry McAllister [EMAIL PROTECTED] wrote:
 On Mon, Aug 20, 2007 at 03:18:55PM -0400, Josh Carroll wrote:

   I'm not suggesting we lay out a strict timeline, as I'd much prefer
   the releases when they're ready, but simply a page saying, 'Hey,
   FreeBSD x.y release is coming soon, we're currently working on 'blah.''
 
  Something more than what's here then?
 
  http://www.freebsd.org/releng/
 

 That is helpful, especially the line that says
   'June 2007Start FreeBSD 7.0 Release Process'

 But another line or two that indicate hoped for release window
 that can be updated as that changes would be helpful.   The
 next couple of lines relating to 6.x would be enough if they
 had a date even as loosely approximate as '2007-3Q' or 'November 2007'
 or some such instead of plain 'TBA' would be helpful.   If if becomes
 apparent that November is going to slip, plug in 'January 2008' or
 whatever.

 The caveat above is clear and could even be stated more strongly
 if that made people taking a stab at a date feel more comfortable.

 jerry

I'm all for this useful opinion. :)


-- 
Regards,

-Abdullah Ibn Hamad Al-Marri
Arab Portal
http://www.WeArab.Net/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


SAS (serial attached SCSI)

2007-08-20 Thread Jonathan Horne
anyone running any SAS with FreeBSD?

i have a client who is needing a new server, and everything in their 
pricerange is comming with SAS now, instead of standard SCSI.  the company 
president is an old timer, and only knows the word SCSI  :)

other than telling him well this is the new SCSI, i am wondering if anyone 
else is successfully using this technology thus far.

thanks,
-- 
Jonathan Horne
http://dfwlpiki.dfwlp.org
[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: Trying to move /usr

2007-08-20 Thread Derek Ragona

At 12:37 PM 8/20/2007, Michael S wrote:

I reverted to the old /usr.
What I had done:
Initially I set up the newly installed drive (da2)
to have only one partition (da2s1d) which I chose to
be /user (note the e).
I tarred /usr to a file in /user
tar -cf /user/usr.tar /tar

and extracted the file
tar -xf usr.tar
I had the whole structure of /usr underneath /user/usr

And then
cd usr
mv * ..

to have everything under /user

Then I edited fstab. Whatever was /user became /usr
and /usr became /user.

I will definitely try dump. Never used it before.

Thanks a lot,
Michael


Michael,

To use tar properly for this operation:
cd /usr
tar -cvf /user/usr.tar .
cd /user
tar -xvpf ./usr.tar

Then you can switch the mount points and all should work.

-Derek


--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
MailScanner thanks transtec Computers for their support.

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


Re: Configuring OpenLDAP on FreeBSD 6.2 Release, Problems.

2007-08-20 Thread Jonathan and Jeannie
On Monday 20 August 2007 17:21, Lisandro Grullon wrote:
 Hi All,
 I am a newcomer to the FreeBSD world. I am trying to implement a openLDAP
 installation. It all went ok with the SASL and SERVER install in
 conjunction with BDB, yet when I try starting the service using
 /usr/local/libexec/slapd  or  /usr/local/etc/rc.d/slapd start, the
 service does not start.

This may be a very silly question, but have you enabled slapd in /etc/rc.conf?

The startup scripts in /etc/rc.d and /usr/local/etc/rc.d won't run unless the 
associated control variable is set to YES in /etc/rc.conf. To find the 
right variable and its current setting,

/usr/local/etc/rc.d/slapd rcvar

which in this case tells us the control variable is $slapd_enable, 
so /etc/rc.conf needs to contain

slapd_enable=YES

As a bonus, if this isn't set but you want to do a one-off start or stop (for 
example during testing), you can use onestart and onestop:

/usr/local/etc/rc.d/slapd onestart

which ignores the control variable.

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


Re: New to Subversion - Access denied issue

2007-08-20 Thread Glen Barber
Quoting gimp_user: 
 
 I have made all repository paths owner:group www:www

Permissions for subversion have always gotten to me, too.  The way I
usually get around my headaches is to chmod -R 777 the subversion root
directory.  I have not found any fallbacks to a 777 setting, because you
are using either a AuthFile or AuthzSVNAccessFile, which designates
proper permissions.  (Please, anyone correct me if I am wrong on this.)

 2. My AuthzSVNAccessFile
 AuthzSVNAccessFile /usr/local/etc/apache22/Authz_svnhome
 [/]
 * = r
 [/usr2/svnhome]
 * =r
 [project_meth: /usr2/svnhome/project_meth]
 david = rw
 test = r

I am going to assume `/usr/svnhome` is the directory where you have the
root SVN directory.  If I am right, your Authz file is wrong.  Here's
how it works:

Say my SVN root is in /usr/home/svn.  When I create the Authz file, and
I use [/], the Authz file sees /usr/home/svn as /.  Meaning, it doesn't
see anything above it.  (Think jail).

That said, the second directory entry in you Authz file
[/usr2/svnhome], unless it is a project inside your SVN, has to
change.

Better explained?:  if you have this:  http://your.host.com/svn/usr2/svnhome , 
your
file is NOT wrong... If /usr2/svnhome is where your SVN root is, it IS
wrong. 

If I have completely misunderstood your file, and what you were aiming
to accomplish, I appologize -- but I remember this is how I
misunderstood it when I started using SVN.  


I hope this helps.

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


Re: Trying to move /usr

2007-08-20 Thread Michael S
I tried the earlier suggested dump/restore:
%cd /user
%dump -L -f - /usr | restore -r -f -

When I log-in over ssh I get:
Could not chdir to home directory /home/michael: No
such file or directory.

Here's my fstab:
# DeviceMountpoint  FStype 
Options DumpPass#
/dev/da0s1b noneswapsw
 0   0
/dev/da1s1b noneswapsw
 0   0
/dev/da0s1a /   ufs rw
 1   1
/dev/da0s1e /tmpufs rw
 2   2
/dev/da0s1f /user   ufs rw
 2   2
/dev/da0s1d /varufs rw
 2   2
/dev/da1s1d /home   ufs rw
 2   2
/dev/da2s1d /usrufs rw
 2   2
/dev/acd0   /cdrom  cd9660 
ro,noauto   0   0

This reflects the new /usr.

Here's my dmesg.boot

Copyright (c) 1992-2007 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989,
1991, 1992, 1993, 1994
   The Regents of the University of California.
All rights reserved.
FreeBSD is a registered trademark of The FreeBSD
Foundation.
FreeBSD 6.2-RELEASE-p7 #2: Mon Aug 20 07:20:53 EDT
2007
   [EMAIL PROTECTED]:/usr/obj/usr/src/sys/MARIMIKE
ACPI APIC Table: VIAK8M AWRDACPI
Timecounter i8254 frequency 1193182 Hz quality 0
CPU: AMD Sempron(tm) Processor 3400+ (2009.68-MHz
686-class CPU)
 Origin = AuthenticAMD  Id = 0x20fc2  Stepping = 2

Features=0x78bfbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,MMX,FXSR,SSE,SSE2
 Features2=0x1SSE3
 AMD
Features=0xe2500800SYSCALL,NX,MMX+,FFXSR,LM,3DNow+,3DNow
 AMD Features2=0x1LAHF
real memory  = 469696512 (447 MB)
avail memory = 450179072 (429 MB)
ioapic0 Version 0.3 irqs 0-23 on motherboard
acpi0: VIAK8M AWRDACPI on motherboard
acpi0: Power Button (fixed)
Timecounter ACPI-fast frequency 3579545 Hz quality
1000
acpi_timer0: 24-bit timer at 3.579545MHz port
0x4008-0x400b on acpi0
cpu0: ACPI CPU on acpi0
acpi_button0: Power Button on acpi0
pcib0: ACPI Host-PCI bridge port 0xcf8-0xcff on
acpi0
pci0: ACPI PCI bus on pcib0
agp0: VIA 8380 host to PCI bridge mem
0xe800-0xefff at device 0.0 on pci0
pcib1: PCI-PCI bridge at device 1.0 on pci0
pci1: PCI bus on pcib1
pci1: display, VGA at device 0.0 (no driver
attached)
ahc0: Adaptec 29160N Ultra160 SCSI adapter port
0xe000-0xe0ff mem 0xf6022000-0xf6022fff irq 16 at
device 8.0 on pci0
ahc0: [GIANT-LOCKED]
aic7892: Ultra160 Wide Channel A, SCSI Id=7, 32/253
SCBs
xl0: 3Com 3c905-TX Fast Etherlink XL port
0xe200-0xe23f irq 17 at device 9.0 on pci0
miibus0: MII bus on xl0
nsphy0: DP83840 10/100 media interface on miibus0
nsphy0:  10baseT, 10baseT-FDX, 100baseTX,
100baseTX-FDX, auto
xl0: Ethernet address: 00:10:4b:31:54:cd
atapci0: VIA 6420 SATA150 controller port
0xe300-0xe307,0xe400-0xe403,0xe500-0xe507,0xe600-0xe603,0xe700-0xe70f,0xe800-0xe8ff
irq 20 at device 15.0 on pci0
ata2: ATA channel 0 on atapci0
ata3: ATA channel 1 on atapci0
atapci1: VIA 8237 UDMA133 controller port
0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xe900-0xe90f at
device 15.1 on pci0
ata0: ATA channel 0 on atapci1
ata1: ATA channel 1 on atapci1
uhci0: VIA 83C572 USB controller port 0xea00-0xea1f
irq 21 at device 16.0 on pci0
uhci0: [GIANT-LOCKED]
usb0: VIA 83C572 USB controller on uhci0
usb0: USB revision 1.0
uhub0: VIA UHCI root hub, class 9/0, rev 1.00/1.00,
addr 1
uhub0: 2 ports with 2 removable, self powered
uhci1: VIA 83C572 USB controller port 0xeb00-0xeb1f
irq 21 at device 16.1 on pci0
uhci1: [GIANT-LOCKED]
usb1: VIA 83C572 USB controller on uhci1
usb1: USB revision 1.0
uhub1: VIA UHCI root hub, class 9/0, rev 1.00/1.00,
addr 1
uhub1: 2 ports with 2 removable, self powered
uhci2: VIA 83C572 USB controller port 0xec00-0xec1f
irq 21 at device 16.2 on pci0
uhci2: [GIANT-LOCKED]
usb2: VIA 83C572 USB controller on uhci2
usb2: USB revision 1.0
uhub2: VIA UHCI root hub, class 9/0, rev 1.00/1.00,
addr 1
uhub2: 2 ports with 2 removable, self powered
uhci3: VIA 83C572 USB controller port 0xed00-0xed1f
irq 21 at device 16.3 on pci0
uhci3: [GIANT-LOCKED]
usb3: VIA 83C572 USB controller on uhci3
usb3: USB revision 1.0
uhub3: VIA UHCI root hub, class 9/0, rev 1.00/1.00,
addr 1
uhub3: 2 ports with 2 removable, self powered
ehci0: VIA VT6202 USB 2.0 controller mem
0xf602-0xf60200ff irq 21 at device 16.4 on pci0
ehci0: [GIANT-LOCKED]
usb4: EHCI version 1.0
usb4: companion controllers, 2 ports each: usb0 usb1
usb2 usb3
usb4: VIA VT6202 USB 2.0 controller on ehci0
usb4: USB revision 2.0
uhub4: VIA EHCI root hub, class 9/0, rev 2.00/1.00,
addr 1
uhub4: 8 ports with 8 removable, self powered
isab0: PCI-ISA bridge at device 17.0 on pci0
isa0: ISA bus on isab0
pci0: multimedia, audio at device 17.5 (no driver
attached)
vr0: VIA VT6102 Rhine II 10/100BaseTX port
0xef00-0xefff mem 0xf6021000-0xf60210ff irq 23 at
device 18.0 on pci0

uncorrectable disk error

2007-08-20 Thread Wojciech Puchar
ad4: FAILURE - READ_DMA48 status=51READY,DSC,ERROR 
error=40UNCORRECTABLE LBA=465628608

g_vfs_done():ad4a[READ(offset=238401650688, length=638976)]error = 5



how can i find (UFS2) what file uses that block?

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


Re: Trying to move /usr

2007-08-20 Thread Jerry McAllister
On Mon, Aug 20, 2007 at 06:52:12PM -0400, Michael S wrote:

 I tried the earlier suggested dump/restore:
 %cd /user
 %dump -L -f - /usr | restore -r -f -
 
 When I log-in over ssh I get:
 Could not chdir to home directory /home/michael: No
 such file or directory.

Well, is there a directory named/home/michael

It looks like there is a file system mounted as /home.
I am guessing that has not changed.   But, it is telling you
that it cannot find that directory.   Are there some links
messing you up?

What does  'df -k'   show?

jerry

 
 Here's my fstab:
 # DeviceMountpoint  FStype 
 Options DumpPass#
 /dev/da0s1b noneswapsw
  0   0
 /dev/da1s1b noneswapsw
  0   0
 /dev/da0s1a /   ufs rw
  1   1
 /dev/da0s1e /tmpufs rw
  2   2
 /dev/da0s1f /user   ufs rw
  2   2
 /dev/da0s1d /varufs rw
  2   2
 /dev/da1s1d /home   ufs rw
  2   2
 /dev/da2s1d /usrufs rw
  2   2
 /dev/acd0   /cdrom  cd9660 
 ro,noauto   0   0
 
 This reflects the new /usr.
 
 Here's my dmesg.boot
 
 Copyright (c) 1992-2007 The FreeBSD Project.
 Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989,
 1991, 1992, 1993, 1994
The Regents of the University of California.
 All rights reserved.
 FreeBSD is a registered trademark of The FreeBSD
 Foundation.
 FreeBSD 6.2-RELEASE-p7 #2: Mon Aug 20 07:20:53 EDT
 2007
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/MARIMIKE
 ACPI APIC Table: VIAK8M AWRDACPI
 Timecounter i8254 frequency 1193182 Hz quality 0
 CPU: AMD Sempron(tm) Processor 3400+ (2009.68-MHz
 686-class CPU)
  Origin = AuthenticAMD  Id = 0x20fc2  Stepping = 2
 
 Features=0x78bfbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,MMX,FXSR,SSE,SSE2
  Features2=0x1SSE3
  AMD
 Features=0xe2500800SYSCALL,NX,MMX+,FFXSR,LM,3DNow+,3DNow
  AMD Features2=0x1LAHF
 real memory  = 469696512 (447 MB)
 avail memory = 450179072 (429 MB)
 ioapic0 Version 0.3 irqs 0-23 on motherboard
 acpi0: VIAK8M AWRDACPI on motherboard
 acpi0: Power Button (fixed)
 Timecounter ACPI-fast frequency 3579545 Hz quality
 1000
 acpi_timer0: 24-bit timer at 3.579545MHz port
 0x4008-0x400b on acpi0
 cpu0: ACPI CPU on acpi0
 acpi_button0: Power Button on acpi0
 pcib0: ACPI Host-PCI bridge port 0xcf8-0xcff on
 acpi0
 pci0: ACPI PCI bus on pcib0
 agp0: VIA 8380 host to PCI bridge mem
 0xe800-0xefff at device 0.0 on pci0
 pcib1: PCI-PCI bridge at device 1.0 on pci0
 pci1: PCI bus on pcib1
 pci1: display, VGA at device 0.0 (no driver
 attached)
 ahc0: Adaptec 29160N Ultra160 SCSI adapter port
 0xe000-0xe0ff mem 0xf6022000-0xf6022fff irq 16 at
 device 8.0 on pci0
 ahc0: [GIANT-LOCKED]
 aic7892: Ultra160 Wide Channel A, SCSI Id=7, 32/253
 SCBs
 xl0: 3Com 3c905-TX Fast Etherlink XL port
 0xe200-0xe23f irq 17 at device 9.0 on pci0
 miibus0: MII bus on xl0
 nsphy0: DP83840 10/100 media interface on miibus0
 nsphy0:  10baseT, 10baseT-FDX, 100baseTX,
 100baseTX-FDX, auto
 xl0: Ethernet address: 00:10:4b:31:54:cd
 atapci0: VIA 6420 SATA150 controller port
 0xe300-0xe307,0xe400-0xe403,0xe500-0xe507,0xe600-0xe603,0xe700-0xe70f,0xe800-0xe8ff
 irq 20 at device 15.0 on pci0
 ata2: ATA channel 0 on atapci0
 ata3: ATA channel 1 on atapci0
 atapci1: VIA 8237 UDMA133 controller port
 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xe900-0xe90f at
 device 15.1 on pci0
 ata0: ATA channel 0 on atapci1
 ata1: ATA channel 1 on atapci1
 uhci0: VIA 83C572 USB controller port 0xea00-0xea1f
 irq 21 at device 16.0 on pci0
 uhci0: [GIANT-LOCKED]
 usb0: VIA 83C572 USB controller on uhci0
 usb0: USB revision 1.0
 uhub0: VIA UHCI root hub, class 9/0, rev 1.00/1.00,
 addr 1
 uhub0: 2 ports with 2 removable, self powered
 uhci1: VIA 83C572 USB controller port 0xeb00-0xeb1f
 irq 21 at device 16.1 on pci0
 uhci1: [GIANT-LOCKED]
 usb1: VIA 83C572 USB controller on uhci1
 usb1: USB revision 1.0
 uhub1: VIA UHCI root hub, class 9/0, rev 1.00/1.00,
 addr 1
 uhub1: 2 ports with 2 removable, self powered
 uhci2: VIA 83C572 USB controller port 0xec00-0xec1f
 irq 21 at device 16.2 on pci0
 uhci2: [GIANT-LOCKED]
 usb2: VIA 83C572 USB controller on uhci2
 usb2: USB revision 1.0
 uhub2: VIA UHCI root hub, class 9/0, rev 1.00/1.00,
 addr 1
 uhub2: 2 ports with 2 removable, self powered
 uhci3: VIA 83C572 USB controller port 0xed00-0xed1f
 irq 21 at device 16.3 on pci0
 uhci3: [GIANT-LOCKED]
 usb3: VIA 83C572 USB controller on uhci3
 usb3: USB revision 1.0
 uhub3: VIA UHCI root hub, class 9/0, rev 1.00/1.00,
 addr 1
 uhub3: 2 ports with 2 removable, self powered
 ehci0: VIA VT6202 USB 2.0 controller mem
 0xf602-0xf60200ff irq 21 at device 16.4 on pci0
 ehci0: [GIANT-LOCKED]
 usb4: EHCI version 1.0
 

Re: Trying to move /usr

2007-08-20 Thread Michael S
Here's df -k output:

Filesystem  1K-blocks UsedAvail Capacity 
Mounted on
/dev/da0s1a50763085046   38197418%/
devfs   110   100%/dev
/dev/da0s1e495726   10   456058 0%/tmp
/dev/da0s1f   3733038  2869704   56469284%   
/user
/dev/da0s1d495726   110700   34536824%/var
/dev/da1s1d  68431992 27948332 3500910244%   
/usr/home
/dev/da2s1d  17213408  2882922 1295341418%/usr

When I go back to the old /usr by editing fstab:
/dev/da0s1b noneswapsw
 0   0
/dev/da1s1b noneswapsw
 0   0
/dev/da0s1a /   ufs rw
 1   1
/dev/da0s1e /tmpufs rw
 2   2
/dev/da0s1f /usrufs rw
 2   2
/dev/da0s1d /varufs rw
 2   2
/dev/da1s1d /home   ufs rw
 2   2
/dev/da2s1d /user   ufs rw
 2   2
/dev/acd0   /cdrom  cd9660 
ro,noauto   0   

I get into my home directory with no problem.


--- Jerry McAllister [EMAIL PROTECTED] wrote:

 On Mon, Aug 20, 2007 at 06:52:12PM -0400, Michael S
 wrote:
 
  I tried the earlier suggested dump/restore:
  %cd /user
  %dump -L -f - /usr | restore -r -f -
  
  When I log-in over ssh I get:
  Could not chdir to home directory /home/michael:
 No
  such file or directory.
 
 Well, is there a directory named/home/michael
 
 It looks like there is a file system mounted as
 /home.
 I am guessing that has not changed.   But, it is
 telling you
 that it cannot find that directory.   Are there some
 links
 messing you up?
 
 What does  'df -k'   show?
 
 jerry
 
  
  Here's my fstab:
  # DeviceMountpoint  FStype 
  Options DumpPass#
  /dev/da0s1b noneswapsw

   0   0
  /dev/da1s1b noneswapsw

   0   0
  /dev/da0s1a /   ufs rw

   1   1
  /dev/da0s1e /tmpufs rw

   2   2
  /dev/da0s1f /user   ufs rw

   2   2
  /dev/da0s1d /varufs rw

   2   2
  /dev/da1s1d /home   ufs rw

   2   2
  /dev/da2s1d /usrufs rw

   2   2
  /dev/acd0   /cdrom  cd9660 
  ro,noauto   0   0
  
  This reflects the new /usr.
  
  Here's my dmesg.boot
  
  Copyright (c) 1992-2007 The FreeBSD Project.
  Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989,
  1991, 1992, 1993, 1994
 The Regents of the University of
 California.
  All rights reserved.
  FreeBSD is a registered trademark of The FreeBSD
  Foundation.
  FreeBSD 6.2-RELEASE-p7 #2: Mon Aug 20 07:20:53 EDT
  2007
 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/MARIMIKE
  ACPI APIC Table: VIAK8M AWRDACPI
  Timecounter i8254 frequency 1193182 Hz quality 0
  CPU: AMD Sempron(tm) Processor 3400+ (2009.68-MHz
  686-class CPU)
   Origin = AuthenticAMD  Id = 0x20fc2  Stepping =
 2
  
 

Features=0x78bfbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,MMX,FXSR,SSE,SSE2
   Features2=0x1SSE3
   AMD
 

Features=0xe2500800SYSCALL,NX,MMX+,FFXSR,LM,3DNow+,3DNow
   AMD Features2=0x1LAHF
  real memory  = 469696512 (447 MB)
  avail memory = 450179072 (429 MB)
  ioapic0 Version 0.3 irqs 0-23 on motherboard
  acpi0: VIAK8M AWRDACPI on motherboard
  acpi0: Power Button (fixed)
  Timecounter ACPI-fast frequency 3579545 Hz
 quality
  1000
  acpi_timer0: 24-bit timer at 3.579545MHz port
  0x4008-0x400b on acpi0
  cpu0: ACPI CPU on acpi0
  acpi_button0: Power Button on acpi0
  pcib0: ACPI Host-PCI bridge port 0xcf8-0xcff on
  acpi0
  pci0: ACPI PCI bus on pcib0
  agp0: VIA 8380 host to PCI bridge mem
  0xe800-0xefff at device 0.0 on pci0
  pcib1: PCI-PCI bridge at device 1.0 on pci0
  pci1: PCI bus on pcib1
  pci1: display, VGA at device 0.0 (no driver
  attached)
  ahc0: Adaptec 29160N Ultra160 SCSI adapter port
  0xe000-0xe0ff mem 0xf6022000-0xf6022fff irq 16 at
  device 8.0 on pci0
  ahc0: [GIANT-LOCKED]
  aic7892: Ultra160 Wide Channel A, SCSI Id=7,
 32/253
  SCBs
  xl0: 3Com 3c905-TX Fast Etherlink XL port
  0xe200-0xe23f irq 17 at device 9.0 on pci0
  miibus0: MII bus on xl0
  nsphy0: DP83840 10/100 media interface on
 miibus0
  nsphy0:  10baseT, 10baseT-FDX, 100baseTX,
  100baseTX-FDX, auto
  xl0: Ethernet address: 00:10:4b:31:54:cd
  atapci0: VIA 6420 SATA150 controller port
 

0xe300-0xe307,0xe400-0xe403,0xe500-0xe507,0xe600-0xe603,0xe700-0xe70f,0xe800-0xe8ff
  irq 20 at device 15.0 on pci0
  ata2: ATA channel 0 on atapci0
  ata3: ATA channel 1 on atapci0
  atapci1: VIA 8237 UDMA133 controller 

Re: Hello!

2007-08-20 Thread Branko Vukelic
On 8/20/07, Adam J Richardson [EMAIL PROTECTED] wrote:
  Date: Mon, 20 Aug 2007 11:24:01 +0200
  From: Branko Vukelic [EMAIL PROTECTED]
  To: Adam J Richardson [EMAIL PROTECTED]
  
  If you allow me, a BSD noob, to take part... ;)
 
  I'd say FreeBSD is a wolf, and DesktopBSD is definitely a dog (as in
  domesticated wolf). By taming the wolf for desktop use (I'm not going
  into HOW that's possible) you get a system that is quite different
  (like an Alaskan Malaute), but still a dog, whereas DesktopBSD is
  still like a German Shepherd. I hope my approximation is about close?
 
  http://en.wikipedia.org/wiki/Alaskan_malamute
  http://en.wikipedia.org/wiki/German_shepherd
 
  As for other systems, yeah Windows is definitely a fish (if we're
  talking pets), and I don't find it prudent to mention Linux here. It's
  alien life form. :D

 You forgot to CC the list, Branko. :)

Oh, sorry. I'm using the GMail's webmail atm, until I get something
more decent. I keep forgetting the Reply All thingie. :p

 [I wouldn't worry about noobishness. We're mostly noobs on this list
 anyway. There are a few gurus lurking in the shadows. As long as you
 show willingness to learn and don't expect others to do hold your hand
 while you cross the road, no one minds.]

 Regarding the pets analogy, I was sort of thinking we could stay on
 Earth for now and leave aliens for weird future operating systems like
 LCARS. Perhaps Linux could be a venus fly trap, or possibly a ferret? A
 ferret would be good, since it's more like BSD than it is like Windows.
 And it's also very curious.

A ferret? :D Nice one!

A Windows is a dodo, then. :)

http://en.wikipedia.org/wiki/Dodo

 Adam J Richardson



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


Shared-mime-info won't compile

2007-08-20 Thread David LeCount
I've been having a problem for a long time trying to
compile the shared-mime-info port. Below is the error
I'm getting. I have tried recompiling libxml2 and
everything shared-mime-info depends on.

gmake[1]: Entering directory
`/usr/ports/misc/shared-mime-info/work/shared-mime-info-0.22'
cc -DHAVE_CONFIG_H -I. -I/usr/local/include/libxml2
-I/usr/local/include -I/usr/local/include/glib-2.0
-I/usr/local/lib/glib-2.0/include   
-I/usr/local/include -I/usr/local/include/libxml2
-I/usr/local/include -I/usr/local/include/glib-2.0
-I/usr/local/lib/glib-2.0/include   -g -O2 -pipe 
-Wall -Wstrict-prototypes -Wmissing-prototypes
-Wwrite-strings -MT
update_mime_database-update-mime-database.o -MD -MP
-MF
.deps/update_mime_database-update-mime-database.Tpo -c
-o update_mime_database-update-mime-database.o `test
-f 'update-mime-database.c' || echo
'./'`update-mime-database.c
mv -f
.deps/update_mime_database-update-mime-database.Tpo
.deps/update_mime_database-update-mime-database.Po
cc -I/usr/local/include/libxml2 -I/usr/local/include
-I/usr/local/include/glib-2.0
-I/usr/local/lib/glib-2.0/include   -g -O2 -pipe 
-Wall -Wstrict-prototypes -Wmissing-prototypes
-Wwrite-strings  -L/usr/local/lib -o
update-mime-database
update_mime_database-update-mime-database.o
-L/usr/local/lib -lxml2 -lglib-2.0 -liconv   
/usr/local/lib/libxml2.so: undefined reference to
`pthread_equal'
gmake[1]: *** [update-mime-database] Error 1
gmake[1]: Leaving directory
`/usr/ports/misc/shared-mime-info/work/shared-mime-info-0.22'
gmake: *** [check-recursive] Error 1
*** Error code 2



   

Looking for a deal? Find great prices on flights and hotels with Yahoo! 
FareChase.
http://farechase.yahoo.com/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Trying to move /usr

2007-08-20 Thread Derek Ragona

At 06:28 PM 8/20/2007, Michael S wrote:

Here's df -k output:

Filesystem  1K-blocks UsedAvail Capacity
Mounted on
/dev/da0s1a50763085046   38197418%/
devfs   110   100%/dev
/dev/da0s1e495726   10   456058 0%/tmp
/dev/da0s1f   3733038  2869704   56469284%
/user
/dev/da0s1d495726   110700   34536824%/var
/dev/da1s1d  68431992 27948332 3500910244%
/usr/home
/dev/da2s1d  17213408  2882922 1295341418%/usr

When I go back to the old /usr by editing fstab:
/dev/da0s1b noneswapsw
 0   0
/dev/da1s1b noneswapsw
 0   0
/dev/da0s1a /   ufs rw
 1   1
/dev/da0s1e /tmpufs rw
 2   2
/dev/da0s1f /usrufs rw
 2   2
/dev/da0s1d /varufs rw
 2   2
/dev/da1s1d /home   ufs rw
 2   2
/dev/da2s1d /user   ufs rw
 2   2
/dev/acd0   /cdrom  cd9660
ro,noauto   0

I get into my home directory with no problem.


You need to adjust not just the /usr and /user but also /usr/home entries 
in fstab.  Before you make any changes, do just a mount command and see 
where things are mounted.


-Derek

--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
MailScanner thanks transtec Computers for their support.

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


Re: freebsd 7 release date :)

2007-08-20 Thread vuthecuong



Jerry McAllister wrote:

On Mon, Aug 20, 2007 at 05:15:10PM +1000, Sam Lawrance wrote:

  

On 20/08/2007, at 10:47 AM, Jerry McAllister wrote:



On Sun, Aug 19, 2007 at 03:05:00PM +0200, Wojciech Puchar wrote:

  

just for reference only:
Original release planned date of 7.0 was end of Jul. But now is  
nearly end

of Aug.
So Which date you guess 7.0 will be released?  :D
  
when it will be ready. if time is more important than quality for  
you get
simply get -current. even if not - and you would like help testing  
it,

fetch and report problems.


There was obviously no intent to challenge or apply preasure in the
question so you don't need to be snippy.   If you don't have any  
useful
information or at least information you think might be useful  
(qualifier

for my posts) then don't bother replying - at least not snippy, posts.
We can afford to be civil - expecially when a civil question is asked.

The person was just noting that the old guesses were no longer  
operable

and hoping that some new best guesses might have been made.   We all
know these dates are very movable and for very good reasons.   No  
one is

pushing for low quality, hurried up junk.   But those best guesses by
people in the know about how the processes if moving along are helpful
for those of use out here in the hinterland trying to make it through
each day.
  
There was nothing snippy in that post, it was just succinct.  By now,  
people in the know have learned that it really will be done when  
it's done.





Read it from the point of view of a person who is not an insider and
is seeking a little help in keeping their FreeBSD life together.
When someone asks for a guess and the response sounds more like
'get out of my face' than anything with useful content, it is snippy.
I could have used a stronger term.

As I said, we know and even newbies can learn, with considerate
explanitory responses, that no absolute date can realistically
be named - that there is justifiably more concern about quality
than making a particular 'release date'.   But some running info
on how it is going is helpful - actually reassuring, to those of
us out of the loop.  It needn't be anything elaborate.  


Anyway, the important issue here is refusing to consider the effects
of the response when replying to a posted question, even when it is
a somewhat unenlightened question.  


jerry

  

Dear all
In my question, I not meaned Freebsd release is slow or something like 
that :D
Just want to know it release date for reference and tell it's release 
date to my friends who

are using it also :)

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


Re: Trying to move /usr

2007-08-20 Thread Michael S
Right now things are set up the old way and here's
what the mount command says:

/dev/da0s1a on / (ufs, local)
devfs on /dev (devfs, local)
/dev/da0s1e on /tmp (ufs, local, soft-updates)
/dev/da0s1f on /usr (ufs, local, soft-updates)
/dev/da0s1d on /var (ufs, local, soft-updates)
/dev/da1s1d on /usr/home (ufs, local, soft-updates)
/dev/da2s1d on /user (ufs, local, soft-updates)


Should I change my entry for /home, and make it
/usr/home ?


--- Derek Ragona [EMAIL PROTECTED]
wrote:

 At 06:28 PM 8/20/2007, Michael S wrote:
 Here's df -k output:
 
 Filesystem  1K-blocks UsedAvail Capacity
 Mounted on
 /dev/da0s1a50763085046   38197418%/
 devfs   110   100%   
 /dev
 /dev/da0s1e495726   10   456058 0%   
 /tmp
 /dev/da0s1f   3733038  2869704   56469284%
 /user
 /dev/da0s1d495726   110700   34536824%   
 /var
 /dev/da1s1d  68431992 27948332 3500910244%
 /usr/home
 /dev/da2s1d  17213408  2882922 1295341418%   
 /usr
 
 When I go back to the old /usr by editing fstab:
 /dev/da0s1b noneswapsw
   0   0
 /dev/da1s1b noneswapsw
   0   0
 /dev/da0s1a /   ufs rw
   1   1
 /dev/da0s1e /tmpufs rw
   2   2
 /dev/da0s1f /usrufs rw
   2   2
 /dev/da0s1d /varufs rw
   2   2
 /dev/da1s1d /home   ufs rw
   2   2
 /dev/da2s1d /user   ufs rw
   2   2
 /dev/acd0   /cdrom  cd9660
 ro,noauto   0
 
 I get into my home directory with no problem.
 
 You need to adjust not just the /usr and /user but
 also /usr/home entries 
 in fstab.  Before you make any changes, do just a
 mount command and see 
 where things are mounted.
 
  -Derek
 
 -- 
 This message has been scanned for viruses and
 dangerous content by MailScanner, and is
 believed to be clean.
 MailScanner thanks transtec Computers for their
 support.
 
 ___
 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: Trying to move /usr

2007-08-20 Thread Jerry McAllister
On Mon, Aug 20, 2007 at 07:28:51PM -0400, Michael S wrote:

 Here's df -k output:
 
 Filesystem  1K-blocks UsedAvail Capacity 
 Mounted on
 /dev/da0s1a50763085046   38197418%/
 devfs   110   100%/dev
 /dev/da0s1e495726   10   456058 0%/tmp
 /dev/da0s1f   3733038  2869704   56469284%   
 /user
 /dev/da0s1d495726   110700   34536824%/var
 /dev/da1s1d  68431992 27948332 3500910244%   
 /usr/home
 /dev/da2s1d  17213408  2882922 1295341418%/usr
 
 When I go back to the old /usr by editing fstab:
 /dev/da0s1b noneswapsw
  0   0
 /dev/da1s1b noneswapsw
  0   0
 /dev/da0s1a /   ufs rw
  1   1
 /dev/da0s1e /tmpufs rw
  2   2
 /dev/da0s1f /usrufs rw
  2   2
 /dev/da0s1d /varufs rw
  2   2
 /dev/da1s1d /home   ufs rw
  2   2
 /dev/da2s1d /user   ufs rw
  2   2
 /dev/acd0   /cdrom  cd9660 
 ro,noauto   0   
 
 I get into my home directory with no problem.

Well, it looks like you are getting that partition  /dev/da1s1d  mounted
as /usr/home, not as /home.(I am presuming that /usr/home belongs
with the line above).

I don't know exactly why, based on the fstab you show here.
One thought is that there is some link from /home to something 
like /usr/home that works in the old one, but that you are 
mangling with the mount in the new fstab.   

jerry

 
 
 --- Jerry McAllister [EMAIL PROTECTED] wrote:
 
  On Mon, Aug 20, 2007 at 06:52:12PM -0400, Michael S
  wrote:
  
   I tried the earlier suggested dump/restore:
   %cd /user
   %dump -L -f - /usr | restore -r -f -
   
   When I log-in over ssh I get:
   Could not chdir to home directory /home/michael:
  No
   such file or directory.
  
  Well, is there a directory named/home/michael
  
  It looks like there is a file system mounted as
  /home.
  I am guessing that has not changed.   But, it is
  telling you
  that it cannot find that directory.   Are there some
  links
  messing you up?
  
  What does  'df -k'   show?
  
  jerry
  
   
   Here's my fstab:
   # DeviceMountpoint  FStype 
   Options DumpPass#
   /dev/da0s1b noneswapsw
 
0   0
   /dev/da1s1b noneswapsw
 
0   0
   /dev/da0s1a /   ufs rw
 
1   1
   /dev/da0s1e /tmpufs rw
 
2   2
   /dev/da0s1f /user   ufs rw
 
2   2
   /dev/da0s1d /varufs rw
 
2   2
   /dev/da1s1d /home   ufs rw
 
2   2
   /dev/da2s1d /usrufs rw
 
2   2
   /dev/acd0   /cdrom  cd9660 
   ro,noauto   0   0
   
   This reflects the new /usr.
   
   Here's my dmesg.boot
   
   Copyright (c) 1992-2007 The FreeBSD Project.
   Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989,
   1991, 1992, 1993, 1994
  The Regents of the University of
  California.
   All rights reserved.
   FreeBSD is a registered trademark of The FreeBSD
   Foundation.
   FreeBSD 6.2-RELEASE-p7 #2: Mon Aug 20 07:20:53 EDT
   2007
  [EMAIL PROTECTED]:/usr/obj/usr/src/sys/MARIMIKE
   ACPI APIC Table: VIAK8M AWRDACPI
   Timecounter i8254 frequency 1193182 Hz quality 0
   CPU: AMD Sempron(tm) Processor 3400+ (2009.68-MHz
   686-class CPU)
Origin = AuthenticAMD  Id = 0x20fc2  Stepping =
  2
   
  
 
 Features=0x78bfbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,MMX,FXSR,SSE,SSE2
Features2=0x1SSE3
AMD
  
 
 Features=0xe2500800SYSCALL,NX,MMX+,FFXSR,LM,3DNow+,3DNow
AMD Features2=0x1LAHF
   real memory  = 469696512 (447 MB)
   avail memory = 450179072 (429 MB)
   ioapic0 Version 0.3 irqs 0-23 on motherboard
   acpi0: VIAK8M AWRDACPI on motherboard
   acpi0: Power Button (fixed)
   Timecounter ACPI-fast frequency 3579545 Hz
  quality
   1000
   acpi_timer0: 24-bit timer at 3.579545MHz port
   0x4008-0x400b on acpi0
   cpu0: ACPI CPU on acpi0
   acpi_button0: Power Button on acpi0
   pcib0: ACPI Host-PCI bridge port 0xcf8-0xcff on
   acpi0
   pci0: ACPI PCI bus on pcib0
   agp0: VIA 8380 host to PCI bridge mem
   0xe800-0xefff at device 0.0 on pci0
   pcib1: PCI-PCI bridge at device 1.0 on pci0
   pci1: PCI bus on pcib1
   pci1: display, VGA at device 0.0 (no driver
   attached)
   ahc0: Adaptec 29160N Ultra160 SCSI adapter port
   0xe000-0xe0ff mem 0xf6022000-0xf6022fff irq 16 at
   device 8.0 on pci0
   ahc0: 

Re: Trying to move /usr

2007-08-20 Thread Jerry McAllister
On Mon, Aug 20, 2007 at 07:47:29PM -0400, Michael S wrote:

 Right now things are set up the old way and here's
 what the mount command says:
 
 /dev/da0s1a on / (ufs, local)
 devfs on /dev (devfs, local)
 /dev/da0s1e on /tmp (ufs, local, soft-updates)
 /dev/da0s1f on /usr (ufs, local, soft-updates)
 /dev/da0s1d on /var (ufs, local, soft-updates)
 /dev/da1s1d on /usr/home (ufs, local, soft-updates)
 /dev/da2s1d on /user (ufs, local, soft-updates)
 
 
 Should I change my entry for /home, and make it
 /usr/home ?

Well, since login was looking for your (michael) home directory
in /home/michael, than that is probably the way you had it and
want it to be.   But, maybe I am remembering what you posted before
wrong.

Anyway, that is certainly mounting that partition as /usr/home.
Are you sure you didn't edit that or get your fstab-s swapped 
around?

jerry

 
 
 --- Derek Ragona [EMAIL PROTECTED]
 wrote:
 
  At 06:28 PM 8/20/2007, Michael S wrote:
  Here's df -k output:
  
  Filesystem  1K-blocks UsedAvail Capacity
  Mounted on
  /dev/da0s1a50763085046   38197418%/
  devfs   110   100%   
  /dev
  /dev/da0s1e495726   10   456058 0%   
  /tmp
  /dev/da0s1f   3733038  2869704   56469284%
  /user
  /dev/da0s1d495726   110700   34536824%   
  /var
  /dev/da1s1d  68431992 27948332 3500910244%
  /usr/home
  /dev/da2s1d  17213408  2882922 1295341418%   
  /usr
  
  When I go back to the old /usr by editing fstab:
  /dev/da0s1b noneswapsw
0   0
  /dev/da1s1b noneswapsw
0   0
  /dev/da0s1a /   ufs rw
1   1
  /dev/da0s1e /tmpufs rw
2   2
  /dev/da0s1f /usrufs rw
2   2
  /dev/da0s1d /varufs rw
2   2
  /dev/da1s1d /home   ufs rw
2   2
  /dev/da2s1d /user   ufs rw
2   2
  /dev/acd0   /cdrom  cd9660
  ro,noauto   0
  
  I get into my home directory with no problem.
  
  You need to adjust not just the /usr and /user but
  also /usr/home entries 
  in fstab.  Before you make any changes, do just a
  mount command and see 
  where things are mounted.
  
   -Derek
  
  -- 
  This message has been scanned for viruses and
  dangerous content by MailScanner, and is
  believed to be clean.
  MailScanner thanks transtec Computers for their
  support.
  
  ___
  freebsd-questions@freebsd.org mailing list
 
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
  To unsubscribe, send any mail to
  [EMAIL PROTECTED]
  
 
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Trying to move /usr

2007-08-20 Thread Derek Ragona

At 06:47 PM 8/20/2007, Michael S wrote:

Right now things are set up the old way and here's
what the mount command says:

/dev/da0s1a on / (ufs, local)
devfs on /dev (devfs, local)
/dev/da0s1e on /tmp (ufs, local, soft-updates)
/dev/da0s1f on /usr (ufs, local, soft-updates)
/dev/da0s1d on /var (ufs, local, soft-updates)
/dev/da1s1d on /usr/home (ufs, local, soft-updates)
/dev/da2s1d on /user (ufs, local, soft-updates)


Should I change my entry for /home, and make it
/usr/home ?


From your last note, it looked like home is /usr/home.  That is why I 
suggested you do:

# mount
and check how home is really mounted.  If it is /usr/home that would 
explain the trouble you had using your new /usr.


-Derek




--- Derek Ragona [EMAIL PROTECTED]
wrote:

 At 06:28 PM 8/20/2007, Michael S wrote:
 Here's df -k output:
 
 Filesystem  1K-blocks UsedAvail Capacity
 Mounted on
 /dev/da0s1a50763085046   38197418%/
 devfs   110   100%
 /dev
 /dev/da0s1e495726   10   456058 0%
 /tmp
 /dev/da0s1f   3733038  2869704   56469284%
 /user
 /dev/da0s1d495726   110700   34536824%
 /var
 /dev/da1s1d  68431992 27948332 3500910244%
 /usr/home
 /dev/da2s1d  17213408  2882922 1295341418%
 /usr
 
 When I go back to the old /usr by editing fstab:
 /dev/da0s1b noneswapsw
   0   0
 /dev/da1s1b noneswapsw
   0   0
 /dev/da0s1a /   ufs rw
   1   1
 /dev/da0s1e /tmpufs rw
   2   2
 /dev/da0s1f /usrufs rw
   2   2
 /dev/da0s1d /varufs rw
   2   2
 /dev/da1s1d /home   ufs rw
   2   2
 /dev/da2s1d /user   ufs rw
   2   2
 /dev/acd0   /cdrom  cd9660
 ro,noauto   0
 
 I get into my home directory with no problem.

 You need to adjust not just the /usr and /user but
 also /usr/home entries
 in fstab.  Before you make any changes, do just a
 mount command and see
 where things are mounted.

  -Derek

 --
 This message has been scanned for viruses and
 dangerous content by MailScanner, and is
 believed to be clean.
 MailScanner thanks transtec Computers for their
 support.

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

--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
MailScanner thanks transtec Computers for their support.


--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
MailScanner thanks transtec Computers for their support.

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


Re: Trying to move /usr

2007-08-20 Thread Michael S
I tried changing the /home entry in the fstab to
/usr/home, but the result is the same.
And when I go to /home or /usr/home, issuing ls,
simply gives me the prompt.

Michael
--- Derek Ragona [EMAIL PROTECTED]
wrote:

 At 06:47 PM 8/20/2007, Michael S wrote:
 Right now things are set up the old way and here's
 what the mount command says:
 
 /dev/da0s1a on / (ufs, local)
 devfs on /dev (devfs, local)
 /dev/da0s1e on /tmp (ufs, local, soft-updates)
 /dev/da0s1f on /usr (ufs, local, soft-updates)
 /dev/da0s1d on /var (ufs, local, soft-updates)
 /dev/da1s1d on /usr/home (ufs, local, soft-updates)
 /dev/da2s1d on /user (ufs, local, soft-updates)
 
 
 Should I change my entry for /home, and make it
 /usr/home ?
 
  From your last note, it looked like home is
 /usr/home.  That is why I 
 suggested you do:
 # mount
 and check how home is really mounted.  If it is
 /usr/home that would 
 explain the trouble you had using your new /usr.
 
  -Derek
 
 
 
 --- Derek Ragona [EMAIL PROTECTED]
 wrote:
 
   At 06:28 PM 8/20/2007, Michael S wrote:
   Here's df -k output:
   
   Filesystem  1K-blocks UsedAvail
 Capacity
   Mounted on
   /dev/da0s1a50763085046   38197418% 
   /
   devfs   110   100%
   /dev
   /dev/da0s1e495726   10   456058 0%
   /tmp
   /dev/da0s1f   3733038  2869704   56469284%
   /user
   /dev/da0s1d495726   110700   34536824%
   /var
   /dev/da1s1d  68431992 27948332 3500910244%
   /usr/home
   /dev/da2s1d  17213408  2882922 1295341418%
   /usr
   
   When I go back to the old /usr by editing
 fstab:
   /dev/da0s1b noneswap   
 sw
 0   0
   /dev/da1s1b noneswap   
 sw
 0   0
   /dev/da0s1a /   ufs
 rw
 1   1
   /dev/da0s1e /tmpufs
 rw
 2   2
   /dev/da0s1f /usrufs
 rw
 2   2
   /dev/da0s1d /varufs
 rw
 2   2
   /dev/da1s1d /home   ufs
 rw
 2   2
   /dev/da2s1d /user   ufs
 rw
 2   2
   /dev/acd0   /cdrom  cd9660
   ro,noauto   0
   
   I get into my home directory with no problem.
  
   You need to adjust not just the /usr and /user
 but
   also /usr/home entries
   in fstab.  Before you make any changes, do just
 a
   mount command and see
   where things are mounted.
  
-Derek
  
   --
   This message has been scanned for viruses and
   dangerous content by MailScanner, and is
   believed to be clean.
   MailScanner thanks transtec Computers for their
   support.
  
   ___
   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]
 
 --
 This message has been scanned for viruses and
 dangerous content by MailScanner, and is
 believed to be clean.
 MailScanner thanks transtec Computers for their
 support.
 
 -- 
 This message has been scanned for viruses and
 dangerous content by MailScanner, and is
 believed to be clean.
 MailScanner thanks transtec Computers for their
 support.
 
 ___
 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: Trying to move /usr

2007-08-20 Thread Michael S
Jerry,

I am sure, because I did it multiple times.
As soon as I mount the old /usr (the one on the
smaller drive) I log on into my home directory no
problem.

Michael

--- Jerry McAllister [EMAIL PROTECTED] wrote:

 On Mon, Aug 20, 2007 at 07:47:29PM -0400, Michael S
 wrote:
 
  Right now things are set up the old way and here's
  what the mount command says:
  
  /dev/da0s1a on / (ufs, local)
  devfs on /dev (devfs, local)
  /dev/da0s1e on /tmp (ufs, local, soft-updates)
  /dev/da0s1f on /usr (ufs, local, soft-updates)
  /dev/da0s1d on /var (ufs, local, soft-updates)
  /dev/da1s1d on /usr/home (ufs, local,
 soft-updates)
  /dev/da2s1d on /user (ufs, local, soft-updates)
  
  
  Should I change my entry for /home, and make it
  /usr/home ?
 
 Well, since login was looking for your (michael)
 home directory
 in /home/michael, than that is probably the way you
 had it and
 want it to be.   But, maybe I am remembering what
 you posted before
 wrong.
 
 Anyway, that is certainly mounting that partition as
 /usr/home.
 Are you sure you didn't edit that or get your
 fstab-s swapped 
 around?
 
 jerry
 
  
  
  --- Derek Ragona [EMAIL PROTECTED]
  wrote:
  
   At 06:28 PM 8/20/2007, Michael S wrote:
   Here's df -k output:
   
   Filesystem  1K-blocks UsedAvail
 Capacity
   Mounted on
   /dev/da0s1a50763085046   38197418% 
   /
   devfs   110   100% 
  
   /dev
   /dev/da0s1e495726   10   456058 0% 
  
   /tmp
   /dev/da0s1f   3733038  2869704   56469284%
   /user
   /dev/da0s1d495726   110700   34536824% 
  
   /var
   /dev/da1s1d  68431992 27948332 3500910244%
   /usr/home
   /dev/da2s1d  17213408  2882922 1295341418% 
  
   /usr
   
   When I go back to the old /usr by editing
 fstab:
   /dev/da0s1b noneswap   
 sw
 0   0
   /dev/da1s1b noneswap   
 sw
 0   0
   /dev/da0s1a /   ufs
 rw
 1   1
   /dev/da0s1e /tmpufs
 rw
 2   2
   /dev/da0s1f /usrufs
 rw
 2   2
   /dev/da0s1d /varufs
 rw
 2   2
   /dev/da1s1d /home   ufs
 rw
 2   2
   /dev/da2s1d /user   ufs
 rw
 2   2
   /dev/acd0   /cdrom  cd9660
   ro,noauto   0
   
   I get into my home directory with no problem.
   
   You need to adjust not just the /usr and /user
 but
   also /usr/home entries 
   in fstab.  Before you make any changes, do just
 a
   mount command and see 
   where things are mounted.
   
-Derek
   
   -- 
   This message has been scanned for viruses and
   dangerous content by MailScanner, and is
   believed to be clean.
   MailScanner thanks transtec Computers for their
   support.
   
   ___
   freebsd-questions@freebsd.org mailing list
  
 

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

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

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

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


Re: Shared-mime-info won't compile

2007-08-20 Thread Nikola Lecic
On Mon, 20 Aug 2007 16:07:07 -0700 (PDT)
David LeCount [EMAIL PROTECTED] wrote:

 I've been having a problem for a long time trying to
 compile the shared-mime-info port. Below is the error
 I'm getting. I have tried recompiling libxml2 and
 everything shared-mime-info depends on.
 
 gmake[1]: Entering directory
 `/usr/ports/misc/shared-mime-info/work/shared-mime-info-0.22'
 cc -DHAVE_CONFIG_H -I. -I/usr/local/include/libxml2
 -I/usr/local/include -I/usr/local/include/glib-2.0
 -I/usr/local/lib/glib-2.0/include   
 -I/usr/local/include -I/usr/local/include/libxml2
 -I/usr/local/include -I/usr/local/include/glib-2.0
 -I/usr/local/lib/glib-2.0/include   -g -O2 -pipe 
 -Wall -Wstrict-prototypes -Wmissing-prototypes
 -Wwrite-strings -MT
 update_mime_database-update-mime-database.o -MD -MP
 -MF
 .deps/update_mime_database-update-mime-database.Tpo -c
 -o update_mime_database-update-mime-database.o `test
 -f 'update-mime-database.c' || echo
 './'`update-mime-database.c
 mv -f
 .deps/update_mime_database-update-mime-database.Tpo
 .deps/update_mime_database-update-mime-database.Po
 cc -I/usr/local/include/libxml2 -I/usr/local/include
 -I/usr/local/include/glib-2.0
 -I/usr/local/lib/glib-2.0/include   -g -O2 -pipe 
 -Wall -Wstrict-prototypes -Wmissing-prototypes
 -Wwrite-strings  -L/usr/local/lib -o
 update-mime-database
 update_mime_database-update-mime-database.o
 -L/usr/local/lib -lxml2 -lglib-2.0 -liconv   
 /usr/local/lib/libxml2.so: undefined reference to
 `pthread_equal'

Hello David,

Just to be sure: your ports tree is up-to-date, you didn't install
textproc/libxml2 altering WITH_THREADS option and you don't have
anything threads-related in /etc/make.conf or somewhere else?

In that case this joyfully written PR can certainly help:

  http://www.freebsd.org/cgi/query-pr.cgi?pr=threads/113666

(add -lc_r in share-mime-info's Makefile as explained). Besides that,
keep an eye on that PR since answers will surely be relevant for you.

Of course, you can artificially add -pthread among C compiler flags,
like this:

  # portupgrade -M 'CFLAGS=-pthread' shared-mime-info

(if you use portupgrade) or like this:

  # cd /usr/ports/misc/shared-mime-info
  # make CFLAGS=-pthread

but I'm not certain about the consequences. Better try the solution
from the aforementioned PR.

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


Re: SAS (serial attached SCSI)

2007-08-20 Thread Olivier Nicole
Jonathan,

 other than telling him well this is the new SCSI, i am wondering
 if anyone else is successfully using this technology thus far.

Well you'll have to accept the fact that it is the new SCSI and you
have to run with it.

I bet you will have hard time finding a server with parallel SCSI.

To answer your question, yes, I have one HP machine using SAS disks,
FreeBSD 6.2, no problem so far.

I'd say that one concern with SAS (like with SATA) could be the
connectors (I read stories about loose connectors); in my case, this
is hot swap disks, so there should not be problem. Don't go for cheap
cables to avoid bad quality/substandard connectors.

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


syslogd, exec and alarms

2007-08-20 Thread Darren Henderson


I have a syslog.conf line that has a selector pointing to action that is a 
perl script. The script takes action based on the content of the line 
passed to it. Simple stuff. Works fine.


Wanting to be resource sensitive, I would like the script to terminate 
after so many idle seconds - its likely to get occasional bursts of input 
with quiet periods here and there. No problem, set an alarm with a maximum 
idle time and shutdown if it fires.


This works fine if I execute the script from the command line. Doesn't 
work at all if spawned by syslogd. I assume syslogd or the sh being fired 
to spawn the command are grabbing the alarm signal for themselves. I am 
missing something obvious. Is there any way to make this work?


As it is I can keep the program going all the time or I can have syslogd 
respawn it every time a line is sent. Neither option is appealing.


This problem seems to be relatively resistant to google searches for me 
thus far.


-Darren

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


Re: Shared-mime-info won't compile

2007-08-20 Thread Nikola Lecic
On Mon, 20 Aug 2007 18:04:01 -0700 (PDT)
David LeCount [EMAIL PROTECTED] wrote:

 --- Nikola Lecic [EMAIL PROTECTED] wrote:
[...]
  In that case this joyfully written PR can certainly
  help:
 
 http://www.freebsd.org/cgi/query-pr.cgi?pr=threads/113666
  
  (add -lc_r in share-mime-info's Makefile as
  explained). Besides that,
  keep an eye on that PR since answers will surely be
  relevant for you.
[...]

 That fixed my problem. I searched the mailing lists
 and Google but I guess I forgot to search for a bug
 report. Many thanks.

I'm posting your feedback back to the list so that others can know that
this helps.

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


Re: Configuring OpenLDAP on FreeBSD 6.2 Release, Problems.

2007-08-20 Thread Olivier Nicole
 I am a newcomer to the FreeBSD world. I am trying to implement a
 openLDAP installation. It all went ok with the SASL and SERVER
 install in conjunction with BDB, yet when I try starting the service
 using /usr/local/libexec/slapd or /usr/local/etc/rc.d/slapd
 start, the service does not start. I checked ps -axww | grep
 slapd and nothing is showing. After checking cat
 /var/log/debug.log I can see the following output in stdout.
 

Beside enabling slapd in /etc/rc.conf, did you configure openldad in
/usr/local/etc/openldad? I doubt it will start before you configure it
properly.

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]


Block to i-node to file name (was Re: uncorrectable disk error)

2007-08-20 Thread cpghost
On Tue, Aug 21, 2007 at 01:04:38AM +0200, Wojciech Puchar wrote:
 ad4: FAILURE - READ_DMA48 status=51READY,DSC,ERROR 
 error=40UNCORRECTABLE LBA=465628608
 g_vfs_done():ad4a[READ(offset=238401650688, length=638976)]error = 5
 
 how can i find (UFS2) what file uses that block?

[I took the liberty to change the subject for better archival]

Unless you're an fs guru or very patient and careful, you probably
won't or would have a hard time. But don't give up yet!

Try the following procedure:

1. Determine the slice where the block is located (fdisk)

2. Determine the partition of the block (bsdlabel)

3. Calculate the partition-relative offset of the block
   (i.e. subtract the slice offset and subtract from the
   result the partition offset).

4. Fire up fsdb(8) with the -r option on that file system.

5. Use fsdb's findblk command with that fs-relative offset
   to determine the inode that is holding this block. From man fsdb:

 findblk disk block number ...
 Find the inode(s) owning the specified disk block(s) number(s).
 Note that these are not absolute disk blocks numbers, but offsets
 from the start of the partition.

   Keep in mind that the block could also be in the free list
   (unused); but you'd not get this error message if it was (?).

6. Verify that the resulting i-node number is the right one
   by jumping to that inode with the inode command of fsdb,
   and rechecking that this block is indeed held by this i-node
   with the blocks command of fsdb. (you may want to run fsdb
   in a script(1), to capture the potentially long list of blocks).

7. The inode number you get won't tell you the name of the file.
   To find this, scan all directories of that file system for this
   inode number (I'd write a small C proggy for that, but you could
   just as well use find(1)'s -inum switch.

   If your disk is dying, this can (wether with a C program or with
   find(1) crash your system. If the number of directories is
   not very high, you could try to use fsdb(8) for that.

BEWARE: Always use fsdb(8) with the read-only flag -r! You could
irrevocably damage your file system otherwise if you don't know
exactly what you're doing.

Good luck!

Regards,
-cpghost.

P.S.: We really need a little LBA to i-node utility for UFS/UFS2,
that we could combine with find /fs -inum n...! If possible, a
utility that also takes care of GEOM-ified disks etc...

-- 
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: syslogd, exec and alarms

2007-08-20 Thread Eric Crist

On Aug 20, 2007, at 8:11 PMAug 20, 2007, Darren Henderson wrote:



I have a syslog.conf line that has a selector pointing to action  
that is a perl script. The script takes action based on the content  
of the line passed to it. Simple stuff. Works fine.


Wanting to be resource sensitive, I would like the script to  
terminate after so many idle seconds - its likely to get occasional  
bursts of input with quiet periods here and there. No problem, set  
an alarm with a maximum idle time and shutdown if it fires.


This works fine if I execute the script from the command line.  
Doesn't work at all if spawned by syslogd. I assume syslogd or the  
sh being fired to spawn the command are grabbing the alarm signal  
for themselves. I am missing something obvious. Is there any way to  
make this work?


As it is I can keep the program going all the time or I can have  
syslogd respawn it every time a line is sent. Neither option is  
appealing.


This problem seems to be relatively resistant to google searches  
for me thus far.




Darren,

From my limited understanding, the process that is spawned by that  
alarm is killed by syslogd once whatever it's supposed to do is  
killed.  I'm not sure what options you've really got.


HTH
-
Eric F Crist
Secure Computing Networks


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


Re: Trying to move /usr

2007-08-20 Thread Vinny

Michael S wrote:

I reverted to the old /usr.
What I had done:
Initially I set up the newly installed drive (da2)
to have only one partition (da2s1d) which I chose to
be /user (note the e).
I tarred /usr to a file in /user
tar -cf /user/usr.tar /tar

and extracted the file
tar -xf usr.tar
I had the whole structure of /usr underneath /user/usr

And then
cd usr
mv * ..

to have everything under /user



After thinking about that mv command, I have come to the
conclusion that /dev/da2s1d does not in fact contain
a /usr directory structure and if mounted will be
empty.  Why?

Note /dev/ad8s1e is an empty partition (a new disk,
if you will on my system that I will in this demonstration).

Also, I'll use user and usrdemo as the names of the user and usr
directories that Michael is using, respectively.  I don't want
to overwrite my own usr directory needlessly.

Observe:

Create a mount point and mount the disk
t# cd /
t# mkdir user
t# mount -t ufs /dev/ad8s1e /user

t# pwd
/user
t# mkdir -p usrdemo/path

Check our partition (there is a dot (.)after the df command,
look closely):

t# df .
Filesystem  1K-blocks Used  Avail Capacity  Mounted on
/dev/ad8s1e5076306 467014 0%/user

Create a file for no reason.

t# touch usrdemo/path/file.txt
t# cd /
t# ls -laR /user
total 6
drwxrwxrwt   3 root  wheel   512 Aug 20 22:05 .
drwxr-xr-x  26 root  wheel  1024 Aug 20 21:59 ..
drwxr-xr-x   3 root  wheel   512 Aug 20 22:05 usrdemo

/user/usrdemo:
total 6
drwxr-xr-x  3 root  wheel  512 Aug 20 22:05 .
drwxrwxrwt  3 root  wheel  512 Aug 20 22:05 ..
drwxr-xr-x  2 root  wheel  512 Aug 20 22:05 path

/user/usrdemo/path:
total 4
drwxr-xr-x  2 root  wheel  512 Aug 20 22:05 .
drwxr-xr-x  3 root  wheel  512 Aug 20 22:05 ..
-rw-r--r--  1 root  wheel0 Aug 20 22:05 file.txt
t# cd /user

Let's look at what file system we're on again:

t# df .
Filesystem  1K-blocks Used  Avail Capacity  Mounted on
/dev/ad8s1e5076306 467014 0%/user

Still on the new drive.

Now that we're in the /user directory let us try, as Michael
says to have everything under /user.  Right idea, but mv is not
the tool in this case: The next command causes much trouble:

t# mv * ..

will in fact move the contents of /user to the parent directory
which is in fact /, the root of the file system.

There is nothing left in /user:
t# pwd
/user

t# ls -la
total 4
drwxrwxrwt   2 root  wheel  512 Aug 20 22:06 .
drwxr-xr-x  27 root  wheel  512 Aug 20 22:06 ..

If we change directory to the .. directory target (the same target as
the mv command) we'll see the usrdemo directory.

t# cd ..
t# ls
.cshrc  compat  lib procusb
.profiledev libexec rescue  usr
.snap   distmedia   rootusrdemo
COPYRIGHT   dvdrom  mnd sbinvar
bin entropy mnt sdvd
bootetc usersys
cdrom   homeportabletmp

If we change to it and check our file system:

t# cd usrdemo/path/
t# ls
file.txt
t# df .
Filesystem  1K-blocks  Used  Avail Capacity  Mounted on
/dev/ad4s1a507630 99704 36731621%/

We find it now sitting as a directory the / root partition!
In Michael's case it would be sitting on the old /usr
partition.  Definitely not what we wanted.

So what has happened is that the mv * command with Michael's
usr directory actually overwrote the current /usr directory
with the contents of the tar archive.  Seems like a no-op but
there could be symbolic link issues, i.e. /usr/home - /home.

I hope that is semi-coherent.

What you probably want to do to replace a /usr partition is
something like this:

cd /
mkdir user
mount -t ufs /dev/da2s1d /user
cd /usr
pax -rw -pe . /user

pax is like tar. -rw means to read (r) from the source (.)
and write (w) to the destination (/user).  -pe means to
preserve everything (permissions, ownership etc).

Having done that, you now have a duplicate usr directory
structure under /user i.e. /user/bin /user/lib and so on.

Now you can switch the fstab entries like you planned,
reboot, and you should have replaced /usr with the
new drive.

Hope this helps, although you may have some issues
in the future due to any unintended consequences
of the tar/mv command combination.

Vinny



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


Configuring mailman with web server different from mail server

2007-08-20 Thread Olivier Nicole
Hi,

I am trying to install mailman from the ports.

I have different machine for the mail server and the web server and I
am trying to figure if this configuration is workable.

The MTA is sendmail, where could I find configure example?

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]


New Zealand DST updates

2007-08-20 Thread Brent Jones
Good afternoon -

New Zealand is changing when it goes on and off daylight savings time
this year.  I have diffs to /usr/src/share/zoneinfo/australasia for
FreeBSD 6.2 which take this change into account.  To whom should I send
this information so that it makes it into the source tree for this and
future releases?

Cheers,
Brent


--
J. Brent Jones, Manager, Technology Services
University of Otago, School of Business
Dunedin
NEW ZEALAND 
Phone:  +64 3 479 8042
http://www.otago.ac.nz/business


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


isc-dhcp3-server issues with windows 2000 client

2007-08-20 Thread Joe
Hello, 

   I tried posting under a similar topic, but not sure if it went through.  I'm 
new on this list, but not a total newbie.   I have  upgraded a system from  p6 
to p7.  Everything seems to be working on wtih the upgraded system except for 
dhcp.

   I have a backup of the old system and am using that to trouble shoot.  I 
have narrowed it down to the dhcpd binary.  If I put in the newer binary built 
with p7 it does not work with windows 2000.  If I put in the old binary it 
works fine.

Old Binary ( tcpdump ):

IP 0.0.0.0.68  255.255.255.255.67: BOOTP/DHCP, Request from 00:19:d1:df:f3:07, 
length: 317 
IP sss.sss.sss.sss.67  ppp.ppp.ppp.ppp.68: BOOTP/DHCP, Reply, length: 300 

New Binary ( tcpdump ):

[ windows 2000 ] :

IP 0.0.0.0.68  255.255.255.255.67: BOOTP/DHCP, Request from 00:19:d1:df:f3:07, 
length: 300 
IP 0.0.0.0.68  255.255.255.255.67: BOOTP/DHCP, Request from aa:aa:aa:aa:aa:aa, 
length: 300 
IP 0.0.0.0.68  255.255.255.255.67: BOOTP/DHCP, Request from aa:aa:aa:aa:aa:aa, 
length: 300 
IP 0.0.0.0.68  255.255.255.255.67: BOOTP/DHCP, Request from aa:aa:aa:aa:aa:aa, 
length: 300 
IP 0.0.0.0.68  255.255.255.255.67: BOOTP/DHCP, Request from aa:aa:aa:aa:aa:aa, 
length: 300 

No reply is ever sent out

[ win xp - renewal ]

IP xxx.xxx.xxx.yyy.68  xxx.xxx.xxx.zzz.67: BOOTP/DHCP, Request from 
00:11:d8:13:0e:69
, length: 302   
IP xxx.xxx.xxx.zzz.67  xxx.xxx.xxx.yyy.68: BOOTP/DHCP, Reply, length: 300  
  

FreeBSD clients seem to be able to obtain a new address with no problem.

My question is how do I trouble shoot the two binaries?  What tools can I use?  
How do I get dhcpd to actually put out debugging info to the syslogs or on the 
command line?  I've tried the -d and got nothing.

any help is much appreciated.

Thanks, 
Joe










   
-
Moody friends. Drama queens. Your life? Nope! - their life, your story.
 Play Sims Stories at Yahoo! Games. 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Trying to move /usr - Fixed

2007-08-20 Thread Michael S
I was able to rectify the problem by removing /home,
which was a link and was pointing to /usr/home and
then recreating it as a directory.

Thanks everyone for their suggestions,
Michael

--- Vinny
[EMAIL PROTECTED]
wrote:

 Michael S wrote:
  I reverted to the old /usr.
  What I had done:
  Initially I set up the newly installed drive (da2)
  to have only one partition (da2s1d) which I chose
 to
  be /user (note the e).
  I tarred /usr to a file in /user
  tar -cf /user/usr.tar /tar
  
  and extracted the file
  tar -xf usr.tar
  I had the whole structure of /usr underneath
 /user/usr
  
  And then
  cd usr
  mv * ..
  
  to have everything under /user
  
 
 After thinking about that mv command, I have come to
 the
 conclusion that /dev/da2s1d does not in fact contain
 a /usr directory structure and if mounted will be
 empty.  Why?
 
 Note /dev/ad8s1e is an empty partition (a new disk,
 if you will on my system that I will in this
 demonstration).
 
 Also, I'll use user and usrdemo as the names of the
 user and usr
 directories that Michael is using, respectively.  I
 don't want
 to overwrite my own usr directory needlessly.
 
 Observe:
 
 Create a mount point and mount the disk
 t# cd /
 t# mkdir user
 t# mount -t ufs /dev/ad8s1e /user
 
 t# pwd
 /user
 t# mkdir -p usrdemo/path
 
 Check our partition (there is a dot (.)after the df
 command,
 look closely):
 
 t# df .
 Filesystem  1K-blocks Used  Avail Capacity  Mounted
 on
 /dev/ad8s1e5076306 467014 0%/user
 
 Create a file for no reason.
 
 t# touch usrdemo/path/file.txt
 t# cd /
 t# ls -laR /user
 total 6
 drwxrwxrwt   3 root  wheel   512 Aug 20 22:05 .
 drwxr-xr-x  26 root  wheel  1024 Aug 20 21:59 ..
 drwxr-xr-x   3 root  wheel   512 Aug 20 22:05
 usrdemo
 
 /user/usrdemo:
 total 6
 drwxr-xr-x  3 root  wheel  512 Aug 20 22:05 .
 drwxrwxrwt  3 root  wheel  512 Aug 20 22:05 ..
 drwxr-xr-x  2 root  wheel  512 Aug 20 22:05 path
 
 /user/usrdemo/path:
 total 4
 drwxr-xr-x  2 root  wheel  512 Aug 20 22:05 .
 drwxr-xr-x  3 root  wheel  512 Aug 20 22:05 ..
 -rw-r--r--  1 root  wheel0 Aug 20 22:05 file.txt
 t# cd /user
 
 Let's look at what file system we're on again:
 
 t# df .
 Filesystem  1K-blocks Used  Avail Capacity  Mounted
 on
 /dev/ad8s1e5076306 467014 0%/user
 
 Still on the new drive.
 
 Now that we're in the /user directory let us try, as
 Michael
 says to have everything under /user.  Right idea,
 but mv is not
 the tool in this case: The next command causes much
 trouble:
 
 t# mv * ..
 
 will in fact move the contents of /user to the
 parent directory
 which is in fact /, the root of the file system.
 
 There is nothing left in /user:
 t# pwd
 /user
 
 t# ls -la
 total 4
 drwxrwxrwt   2 root  wheel  512 Aug 20 22:06 .
 drwxr-xr-x  27 root  wheel  512 Aug 20 22:06 ..
 
 If we change directory to the .. directory target
 (the same target as
 the mv command) we'll see the usrdemo directory.
 
 t# cd ..
 t# ls
 .cshrc  compat  lib proc
usb
 .profiledev libexec
 rescue  usr
 .snap   distmedia   root
usrdemo
 COPYRIGHT   dvdrom  mnd sbin
var
 bin entropy mnt sdvd
 bootetc usersys
 cdrom   homeportabletmp
 
 If we change to it and check our file system:
 
 t# cd usrdemo/path/
 t# ls
 file.txt
 t# df .
 Filesystem  1K-blocks  Used  Avail Capacity  Mounted
 on
 /dev/ad4s1a507630 99704 36731621%/
 
 We find it now sitting as a directory the / root
 partition!
 In Michael's case it would be sitting on the old
 /usr
 partition.  Definitely not what we wanted.
 
 So what has happened is that the mv * command with
 Michael's
 usr directory actually overwrote the current /usr
 directory
 with the contents of the tar archive.  Seems like a
 no-op but
 there could be symbolic link issues, i.e. /usr/home
 - /home.
 
 I hope that is semi-coherent.
 
 What you probably want to do to replace a /usr
 partition is
 something like this:
 
 cd /
 mkdir user
 mount -t ufs /dev/da2s1d /user
 cd /usr
 pax -rw -pe . /user
 
 pax is like tar. -rw means to read (r) from the
 source (.)
 and write (w) to the destination (/user).  -pe means
 to
 preserve everything (permissions, ownership etc).
 
 Having done that, you now have a duplicate usr
 directory
 structure under /user i.e. /user/bin /user/lib and
 so on.
 
 Now you can switch the fstab entries like you
 planned,
 reboot, and you should have replaced /usr with the
 new drive.
 
 Hope this helps, although you may have some issues
 in the future due to any unintended consequences
 of the tar/mv command combination.
 
 Vinny
 
 
 
 ___
 freebsd-questions@freebsd.org mailing list

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

Re: isc-dhcp3-server issues with windows 2000 client

2007-08-20 Thread Olivier Nicole
Hi,

I have a backup of the old system and am using that to trouble
shoot.  I have narrowed it down to the dhcpd binary.  If I put in
the newer binary built with p7 it does not work with windows
2000.  If I put in the old binary it works fine.

First question would be: how did you build isc-dhcp?

 pkg_info |grep dhcp

Second, is it running? How do you start it?

Third question: was are the version number of old and new dhcp? You
may be facing some change in dhcpd configuration file.

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: Trying to move /usr

2007-08-20 Thread Ian Smith
Michael, firstly let me quote the head of your original message, just so
I/we don't get too confused, especially by all the gratuitous re-quoting
of subsequent 'relative irrelevancies' like your dmesg ..

I am trying to migrate my /usr to a newly installed
SCSI drive. Up until yesterday I had /, /var, /usr on
a 5 Gig drive and my /home was on another 60 Gig
drive, which was fine because it had no GUI and
functioned mostly as a server.

Ok, so /home was its own drive, one slice.  This would suggest that you
didn't have /home as a soft link in / but you should check 'ls -la /' to
be sure that's the case, ie that a link hasn't crept in somehow.  If one
has, delete it.  Also check that your 'old' /usr dir has no link to
/home lying around, which might account for some of this oddness,
especially since your tar and (I'd consider potentially hairy) 'mv * ..'

Last night I added a third drive, with a capacity
around 18G; since my other two drives are hard-wired
in /boot/device.hints, there were no problems with
device numbering. I wrote down the device name
(/dev/da2) and proceeded to sysinstall to first create
a FreeBSD partition and then the only slice within
that partition. I named it /user.

And you intended to leave /home on the 60G drive?  Its not clear what
you intended to put on the new /user, or was it just an intermediary?

I think I may have called it '/fred' till the process was finished, but
never mind .. back to the more recent, with formatting touched up a tad: 

On Mon, 20 Aug 2007 19:28:51 -0400 (EDT) Michael S [EMAIL PROTECTED] wrote:

  Here's df -k output:
  
  Filesystem  1K-blocks UsedAvail Capacity 
  Mounted on
  /dev/da0s1a50763085046   38197418%/
  devfs   110   100%/dev
  /dev/da0s1e495726   10   456058 0%/tmp
  /dev/da0s1f   3733038  2869704   56469284%/user
  /dev/da0s1d495726   110700   34536824%/var

So that /user is your old /usr, right?  Do an 'ls -la /user' and check
its contents are the same as your new /usr below.  Also 'du -d1 /user'
should look like 'du -d1 /usr'.  Neither should contain a link to /home

  /dev/da1s1d  68431992 27948332 3500910244%/usr/home
  /dev/da2s1d  17213408  2882922 1295341418%/usr

This looks confused.  I think you want /home (not /usr/home) to be your
60G da1s1d, don't you?  As is, the mountpoint is on the 17G da2s1d,
which would a) actually need to be mounted first, and b) contain a
/usr/home dir to mount it on.

Better would be to mkdir /home, and mount it directly on there.

  When I go back to the old /usr by editing fstab:
  /dev/da0s1b noneswapsw0   0
  /dev/da1s1b noneswapsw0   0
  /dev/da0s1a /   ufs rw1   1
  /dev/da0s1e /tmpufs rw2   2
  /dev/da0s1f /usrufs rw2   2
  /dev/da0s1d /varufs rw2   2

  /dev/da1s1d /home   ufs rw2   2
  /dev/da2s1d /user   ufs rw2   2
  /dev/acd0   /cdrom  cd9660  ro,noauto   0   
  
  I get into my home directory with no problem.

Right, so you do have a /home directory, not a link there?  Use ls -la
to confirm contents of /, /home and /usr (and /usr/home, if present),
with either the old or the new setup, which might help point out where
this confusion is occuring, especially if there are any links involved.

Also, the realpath command can be useful to discombobulate any links, ie
'cd ~michael ; realpath .'

  --- Jerry McAllister [EMAIL PROTECTED] wrote:
  
   On Mon, Aug 20, 2007 at 06:52:12PM -0400, Michael S
   wrote:
   
I tried the earlier suggested dump/restore:
%cd /user
%dump -L -f - /usr | restore -r -f -

When I log-in over ssh I get:
Could not chdir to home directory /home/michael:
   No
such file or directory.
   
   Well, is there a directory named/home/michael
   
   It looks like there is a file system mounted as
   /home.
   I am guessing that has not changed.   But, it is
   telling you
   that it cannot find that directory.   Are there some
   links
   messing you up?
   
   What does  'df -k'   show?
   
   jerry

I'll leave it there, trying to keep the re-quoting level down, but Jerry
and I seem to be on the same page, if reading it in a different order :)

Cheers, Ian

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