msk0: watchdog timeout (missed Tx interrupts)

2009-04-03 Thread Fred

Hi,

I recently upgraded from 6.3 to 7.1 (7.1-RELEASE-p4) with freebsd-update,
and I now have problems with msk0 very often (which I did have before) :

Mar 30 20:14:19 blackbox kernel: msk0: watchdog timeout (missed Tx
interrupts) -- recovering
Mar 30 20:14:58 blackbox kernel: msk0: watchdog timeout (missed Tx
interrupts) -- recovering
...

which lead to not being able to access the net at all.
I saw some people had this issue at different version of fbsd etc, due to
some issue of the nic itself that had to be workaround, so I tried
some early source code for msk :
http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/dev/msk/?only_with_tag=RELENG_7

but I still have this issue (I make buildkernel, installkernel; at first I
only compiled
the module, but it seems that in 7.3 it's in the kernel itself so that the
module won't load)

Here is some info from dmesg about my nic:

mskc0:  port 0x7c00-0x7cff mem
0xfddfc000-0xfddf irq 17 at device 0.0 on pci3
msk0:  on mskc0
msk0: Ethernet address: 00:50:43:00:45:3e
miibus0:  on msk0
mskc0: [FILTER]

Thanks for you help, this issue is really painful,

F.

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


Re: [snd_hda] hear no sound if acpi=on

2009-04-03 Thread Patrick Lamaizière
Le Fri, 3 Apr 2009 13:24:49 +0700,
kyanh :

> Hello all,
> 
> I have FreeBSD-7.1-RELEASE on my Laptop (compaq presario cq40-401
> au). In formation of my devices can be found at
> 
> * http://viettug.org/attachments/download/128/icy_pciconf.txt
> (`pciconf -lbv`)
> * http://viettug.org/attachments/download/132/icy_lspci_nn.txt
> (`lspci -nn`)
> * http://viettug.org/attachments/download/147/icy_kernel.txt (the
> kernel configuration)
> 
> When I boot the system with `acpi=off`, I can hear the sound
> (snd_hda). But when `acpi` is used, I hear no sound though the driver
> seems to work and `mplayer` detects /dev/sp and /dev/mixer
> successfully.
> 
> 
> $ cat /dev/sndstat
> FreeBSD Audio Driver (newpcm: 32bit 2007061600/i386)
> Installed devices:
> pcm0: 
>at memory 0x9241 irq 19 kld snd_hda [20080420_0052] [MPSAFE]
> (mixer only) pcm1:  at
> memory 0x9250 irq 16 kld snd_hda [20080420_0052] [MPSAFE]
> (1p:1v/1r:1v channels duplex)
> 
> 
> I don't experience FreeBSD much. Could you help me to turn the sound
> on?

There were some changes in snd_hda just after the 7.1-RELEASE. You can
try to update to a 7-STABLE. You can also take the files of snd_hda from
current or from stable (/usr/src/sys/dev/sound/pci/hda/*) and rebuild
the kernel module.

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


Re: Recovering partitions from disk image?

2009-04-03 Thread Wojciech Puchar

Hello FreeBSD gurus,

I recently had the pleasure of trying to recover a failed RAID1 array.  It
consisted of two 120GB disks in mirrored configuration.  Both drives have a
ton of bad sectors, so bad that the 3ware RAID card stopped recognizing that
there was a mirror at all.  Having no other options that I could think of, I


excellent hardware - designed to PROTECT ;)


pulled the drive with the one with the least read errors, directly connected
it to ATA bus and used GNU ddrescue to make a disk image with only about 7
read errors.

Neither fdisk nor bsdlabel can read the disk image.  I wonder if there's
some funny data at the beginning of the hard drive the 3ware card used for
RAID configuration?  If this is true, is there a way to search for the
beginning of the real fdisk data and lop it off to make a possibly valid
disk image?


do

dd if=image bs=128k count=1|hexdump -C|less

and look for it :)

at MBR sector you'll see probably something at the end like this:


0190  46 0a d0 e3 00 5e 05 28  46 02 77 88 c3 52 65 61 
|F.##.^.(F.w.#Rea|
01a0  64 00 42 6f 6f 74 00 20  65 72 72 6f 72 0d 0a 00  |d.Boot. 
error...|


for bsdlabel it's easier it's "WEV" and first 3 bytes.




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


FreeBSD 7 - nagios2 (defunct - process)

2009-04-03 Thread Gian Paolo Buono
Hi, Ihave a server with FreeBSD 7.1-RELEASE-p2 with 950 host and 4900
service, Nagios 3.0.3

Sometimes nagios don't update the status and when i try to stop nagios don't
dies, i try to kill -9 the process but don't dies, there are many  defunct
process of nagios  so I have to reboot the server. I haven't any log.
That sounds very familiar to the locking/contention issue FreeBSD 7.x has
with Nagios,  It has to do with how Nagios and FreeBSD handle threading.
When I had FreeBSD haven't problem.

Any idea ? thank you for the support bye..
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: How to Update my Freebsd packages kernel and Core

2009-04-03 Thread Jacques Manukyan
First off, welcome to FreeBSD. As the others stated, FreeBSD is quite 
different in that there is a distinction between installing/updating 3rd 
party software (called ports), or the base operating system (kernel and 
system).


There are multiple ways to update the base system and kernel as well as 
the ports. You can choose to do binary installs or build from source. I 
prefer building from source when installing ports or updating the 
kernel/system since I like to control everything.


One great thing about FreeBSD is that there are multiple ways to do 
things so find what you feel best suits your needs and use it.


The handbook is the best place to start: 
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/


I recommend you look at the following sections:

Installing and managing ports:
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/ports.html

Updating ports and the operating system (kernel/system):
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/updating-upgrading.html

-- Jacques Manukyan


Panos wrote:
Hello I'm new to Freebsd and I would like to know if there is anything 
like apt-get for upgrating everything in my Freebsd. If  not Could you 
tell me how I can do it.
Some of my packages are from ports and some using the sysinstall and I 
install them from the cd.

I use Freebsd 7.1

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




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


Symantec Netbackup under 7.1 - Undefined symbol

2009-04-03 Thread Ewald Jenisch
Hi,

This question is not purely about FreeBSD itself, but about getting
Symantec Netbackup (formerly Veritas) running under FreeBSD.

First of all FreeBSD is supported directly; there's a native
commandline client for FreeBSD that supports 7.0.

I'm using FreeBSD 7.1 (fresh kernel/system as per today), AMD64
architecture with Symanted NetBackup 6.5.3.1.

Installation runs OK, but when I try to run any of the Symantec
programs I get the following error:

# ./bpclimagelist 
/libexec/ld-elf.so.1: ./bpclimagelist: Undefined symbol "__h_error"
# file bpclimagelist 
bpclimagelist: ELF 32-bit LSB executable, Intel 80386, version 1 (FreeBSD), for 
FreeBSD 5.3, dynamically linked (uses shared libs), FreeBSD-style, not stripped
#


Here are my questions:

o) Anybody out there in the FreeBSD community who is using the
NetBackup client successfully under FreeBSD?

o) What does the above error message mean? Is it that the executable
(bpclimagelist in this case) is referencing a symbol that isn't
contained in ld-elf.so.1?

o) Any ideas on how to track this down further?

Thanks much in advance for your help,
-ewald
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


keep ssh session alive

2009-04-03 Thread Tsu-Fan Cheng
Hi,
  I use putty to connect to my home computer through ssh. i want putty
session to stay alive much longer than it does now, how should I do
it? I have added "KeepAlive yes" to my sshd config and rerun it, but
it didn't work. thanks!!


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


Re: keep ssh session alive

2009-04-03 Thread Andrew

Tsu-Fan Cheng wrote:

Hi,
  I use putty to connect to my home computer through ssh. i want putty
session to stay alive much longer than it does now, how should I do
it? I have added "KeepAlive yes" to my sshd config and rerun it, but
it didn't work. thanks!!



Its within the 'connection' area of the settings.



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


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


Re: keep ssh session alive

2009-04-03 Thread Andrew

Andrew wrote:

Tsu-Fan Cheng wrote:

Hi,
  I use putty to connect to my home computer through ssh. i want putty
session to stay alive much longer than it does now, how should I do
it? I have added "KeepAlive yes" to my sshd config and rerun it, but
it didn't work. thanks!!



Its within the 'connection' area of the settings.



within putty I should add.



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





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


failed with pkg_add

2009-04-03 Thread Sylvio César Teixeira Amorim
Hi

I want to know if there is not more the tarball gnome2, gnome2-lite, KDE4,
etc via pkg_add -r for version current i386
Whenever I try, return package not found.
Just getting through ports, but rather takes to compile.

-- 
-=-=-=-=-=-=-=- Live free or die - UNIX* -=-=-=-=-=-=-=
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Symantec Netbackup under 7.1 - Undefined symbol

2009-04-03 Thread Vincent Hoffman
On 3/4/09 13:28, Ewald Jenisch wrote:
> Hi,
>
> This question is not purely about FreeBSD itself, but about getting
> Symantec Netbackup (formerly Veritas) running under FreeBSD.
>
> First of all FreeBSD is supported directly; there's a native
> commandline client for FreeBSD that supports 7.0.
>
> I'm using FreeBSD 7.1 (fresh kernel/system as per today), AMD64
> architecture with Symanted NetBackup 6.5.3.1.
>
> Installation runs OK, but when I try to run any of the Symantec
> programs I get the following error:
>
> # ./bpclimagelist 
> /libexec/ld-elf.so.1: ./bpclimagelist: Undefined symbol "__h_error"
> # file bpclimagelist 
> bpclimagelist: ELF 32-bit LSB executable, Intel 80386, version 1 (FreeBSD), 
> for FreeBSD 5.3, dynamically linked (uses shared libs), FreeBSD-style, not 
> stripped
> #
>
>   
This would lead me to think you need the port misc/compat5x installed. 
I havent any experience of netbackup though.


Vince
> Here are my questions:
>
> o) Anybody out there in the FreeBSD community who is using the
> NetBackup client successfully under FreeBSD?
>
> o) What does the above error message mean? Is it that the executable
> (bpclimagelist in this case) is referencing a symbol that isn't
> contained in ld-elf.so.1?
>
> o) Any ideas on how to track this down further?
>
> Thanks much in advance for your help,
> -ewald
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
>   

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


2 -> more ftp accounts into same folder

2009-04-03 Thread Vasadi I. Claudiu Florin


Hello you gurus :)

I'm using FreeBSD 7.1-STABLE with pure-ftpd (unix/puredb  
authentification). I need to create 6 ftp accounts for each of the  
folowing folders, like so:


/mnt
 /folder1
 /folder2
 /folder3
 /folder4
 /folder5


As you can see some folders are inside the "master" folder, thus the  
issue. I can create (adduser) all users for all folders, but can only  
connect through ftp with the "master" user (the one for /mnt folder). Have  
no logs what so ever. Been googleing around a bit but didn't find anything  
precise.





Any ideeas are welcomed. Thx
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


l

2009-04-03 Thread gahn

Hi all:

Did the portupgrade and a certain number of applications failed due to the 
error:

gcc: /usr/local/lib/libgssapi.so: No such file or directory

but i look at the file and it does exist:

hm_1# ls -al /usr/local/lib/libgssapi.so
lrwxr-xr-x  1 root  wheel  14 Feb  7 20:48 /usr/local/lib/libgssapi.so -> 
libgssapi.so.2

does anyone know why this happened and how should i fix it?

thanks


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


/usr/local/lib/libgssapi.so

2009-04-03 Thread gahn

Hi all:

Did the portupgrade and a certain number of applications failed due to the 
error:

gcc: /usr/local/lib/libgssapi.so: No such file or directory

but i look at the file and it does exist:

hm_1# ls -al /usr/local/lib/libgssapi.so
lrwxr-xr-x  1 root  wheel  14 Feb  7 20:48 /usr/local/lib/libgssapi.so -> 
libgssapi.so.2

does anyone know why this happened and how should i fix it?

thanks


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


Re: /usr/local/lib/libgssapi.so

2009-04-03 Thread Paul B. Mahol
On 4/3/09, gahn  wrote:
>
> Hi all:
>
> Did the portupgrade and a certain number of applications failed due to the
> error:
>
> gcc: /usr/local/lib/libgssapi.so: No such file or directory
>
> but i look at the file and it does exist:
>
> hm_1# ls -al /usr/local/lib/libgssapi.so
> lrwxr-xr-x  1 root  wheel  14 Feb  7 20:48 /usr/local/lib/libgssapi.so ->
> libgssapi.so.2
>
> does anyone know why this happened and how should i fix it?

What about /usr/local/lib/libgssapi.so.2 ?

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


Re: /usr/local/lib/libgssapi.so

2009-04-03 Thread gahn

well, it doesn't exist...:)

hm_1# ls -al /usr/local/lib/libgssapi.so.2
ls: /usr/local/lib/libgssapi.so.2: No such file or directory

Look at another server 6.3, the same.

thanks


--- On Fri, 4/3/09, Paul B. Mahol  wrote:

> From: Paul B. Mahol 
> Subject: Re: /usr/local/lib/libgssapi.so
> To: ipfr...@yahoo.com
> Cc: "freebsd general questions" 
> Date: Friday, April 3, 2009, 10:00 AM
> On 4/3/09, gahn  wrote:
> >
> > Hi all:
> >
> > Did the portupgrade and a certain number of
> applications failed due to the
> > error:
> >
> > gcc: /usr/local/lib/libgssapi.so: No such file or
> directory
> >
> > but i look at the file and it does exist:
> >
> > hm_1# ls -al /usr/local/lib/libgssapi.so
> > lrwxr-xr-x  1 root  wheel  14 Feb  7 20:48
> /usr/local/lib/libgssapi.so ->
> > libgssapi.so.2
> >
> > does anyone know why this happened and how should i
> fix it?
> 
> What about /usr/local/lib/libgssapi.so.2 ?
> 
> -- 
> Paul


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


Re: Symantec Netbackup under 7.1 - Undefined symbol

2009-04-03 Thread Tim Judd
On Fri, Apr 3, 2009 at 9:01 AM, Vincent Hoffman  wrote:

> On 3/4/09 13:28, Ewald Jenisch wrote:
> > Hi,
> >
> > This question is not purely about FreeBSD itself, but about getting
> > Symantec Netbackup (formerly Veritas) running under FreeBSD.
> >
> > First of all FreeBSD is supported directly; there's a native
> > commandline client for FreeBSD that supports 7.0.
> >
> > I'm using FreeBSD 7.1 (fresh kernel/system as per today), AMD64
> > architecture with Symanted NetBackup 6.5.3.1.
> >
> > Installation runs OK, but when I try to run any of the Symantec
> > programs I get the following error:
> >
> > # ./bpclimagelist
> > /libexec/ld-elf.so.1: ./bpclimagelist: Undefined symbol "__h_error"
> > # file bpclimagelist
> > bpclimagelist: ELF 32-bit LSB executable, Intel 80386, version 1
> (FreeBSD), for FreeBSD 5.3, dynamically linked (uses shared libs),
> FreeBSD-style, not stripped
> > #
> >
> >
> This would lead me to think you need the port misc/compat5x installed.
> I havent any experience of netbackup though.


I agree with this statement, since it's clearly listed as it was compiled
FOR FreeBSD 5.3

The compatXy packages are for what I think I remember reading of kernel
system calls.  I think there's a package/port for the userland utilities
too..  misc/compat5x

However I'm a smidge confused.  The option that exists in the kernel and the
misc/compat5x port -- do they accomplish the same thing, or is it really
"kernel" and "userland" peices?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Recovering partitions from disk image?

2009-04-03 Thread snott

Update: I figured out how to get scan_ffs to read a file by looking at the
program source (if it starts with / then it considers it a regular file to
read instead of a device) and got the following results which matches well
with the TestDisk output.

$ scan_ffs -s /recovery/disk0.img 
ufs1 at 1087 size 2621440 mount / time Wed Dec 31 16:00:00 1969
ufs1 at 10486847 size 5242880 mount /var time Wed Dec 31 16:00:00 1969
ufs1 at 31458367 size 5242880 mount /usr/home time Wed Dec 31 16:00:00 1969
ufs1 at 54525634 size 46680873 mount /mnt time Wed Dec 31 16:00:00 1969

Looks about right compared to the df output I had from that host:

Filesystem  Size   Used  Avail Capacity  Mounted on
/dev/twed0s1a   4.9G   2.8G   1.7G62%/
/dev/twed0s1e   9.8G   5.0G   4.0G56%/var
/dev/twed0s1f   9.8G   952M   8.1G10%/usr/home
/dev/twed0s2e88G15G65G19%/mnt

So, what can I do with those numbers?  It doesn't look like there's any
valid MBR or disklabel on this disk image.  Can I extract these filesystems
one at a time from the image and mount them somehow?

Thanks,
Skye
-- 
View this message in context: 
http://www.nabble.com/Recovering-partitions-from-disk-image--tp22862006p22872988.html
Sent from the freebsd-questions mailing list archive at Nabble.com.

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


Re: 2 -> more ftp accounts into same folder

2009-04-03 Thread Jacques Manukyan
This sounds like a permission issue. Each user on the sub-folders 
(folder1, folder2, etc) need to be able to get into the /mnt folder 
within the OS.


What is the permission on the /mnt directory? Try setting it to 755 and 
see if that works.  Also, you can start pure-ftpd in debug mode to 
capture the actual error.  Look at the pure-ftd.conf file or add the -d 
option to the daemon for debug information.


-- Jacques Manukyan

Vasadi I. Claudiu Florin wrote:


Hello you gurus :)

I'm using FreeBSD 7.1-STABLE with pure-ftpd (unix/puredb 
authentification). I need to create 6 ftp accounts for each of the 
folowing folders, like so:


/mnt
 /folder1
 /folder2
 /folder3
 /folder4
 /folder5


As you can see some folders are inside the "master" folder, thus the 
issue. I can create (adduser) all users for all folders, but can only 
connect through ftp with the "master" user (the one for /mnt folder). 
Have no logs what so ever. Been googleing around a bit but didn't find 
anything precise.





Any ideeas are welcomed. Thx
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
"freebsd-questions-unsubscr...@freebsd.org"




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


Re: /usr/local/lib/libgssapi.so

2009-04-03 Thread Jacques Manukyan
It probably is there but in another variation. Try "ls -al 
/usr/local/lib/libgssapi*" and then if its there, just "ln -s  
/usr/local/lib/libgssapi.so"


-- Jacques Manukyan

gahn wrote:

well, it doesn't exist...:)

hm_1# ls -al /usr/local/lib/libgssapi.so.2
ls: /usr/local/lib/libgssapi.so.2: No such file or directory

Look at another server 6.3, the same.

thanks


--- On Fri, 4/3/09, Paul B. Mahol  wrote:

  

From: Paul B. Mahol 
Subject: Re: /usr/local/lib/libgssapi.so
To: ipfr...@yahoo.com
Cc: "freebsd general questions" 
Date: Friday, April 3, 2009, 10:00 AM
On 4/3/09, gahn  wrote:


Hi all:

Did the portupgrade and a certain number of
  

applications failed due to the


error:

gcc: /usr/local/lib/libgssapi.so: No such file or
  

directory


but i look at the file and it does exist:

hm_1# ls -al /usr/local/lib/libgssapi.so
lrwxr-xr-x  1 root  wheel  14 Feb  7 20:48
  

/usr/local/lib/libgssapi.so ->


libgssapi.so.2

does anyone know why this happened and how should i
  

fix it?

What about /usr/local/lib/libgssapi.so.2 ?

--
Paul




  
___

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

  


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


Re: /usr/local/lib/libgssapi.so (solved?)

2009-04-03 Thread gahn

Ok, here is what i did:

cp /usr/local/lib/compat/pkg/libgssapiv2.so.2 /usr/local/lib/libgssapi.so.2


well, it seems to be working, at least one of failed packages is being compiled 
now...

is it the correct way doing it?



--- On Fri, 4/3/09, gahn  wrote:

> From: gahn 
> Subject: Re: /usr/local/lib/libgssapi.so
> To: "Paul B. Mahol" 
> Cc: "freebsd general questions" 
> Date: Friday, April 3, 2009, 10:04 AM
> well, it doesn't exist...:)
> 
> hm_1# ls -al /usr/local/lib/libgssapi.so.2
> ls: /usr/local/lib/libgssapi.so.2: No such file or
> directory
> 
> Look at another server 6.3, the same.
> 
> thanks
> 
> 
> --- On Fri, 4/3/09, Paul B. Mahol 
> wrote:
> 
> > From: Paul B. Mahol 
> > Subject: Re: /usr/local/lib/libgssapi.so
> > To: ipfr...@yahoo.com
> > Cc: "freebsd general questions"
> 
> > Date: Friday, April 3, 2009, 10:00 AM
> > On 4/3/09, gahn  wrote:
> > >
> > > Hi all:
> > >
> > > Did the portupgrade and a certain number of
> > applications failed due to the
> > > error:
> > >
> > > gcc: /usr/local/lib/libgssapi.so: No such file or
> > directory
> > >
> > > but i look at the file and it does exist:
> > >
> > > hm_1# ls -al /usr/local/lib/libgssapi.so
> > > lrwxr-xr-x  1 root  wheel  14 Feb  7 20:48
> > /usr/local/lib/libgssapi.so ->
> > > libgssapi.so.2
> > >
> > > does anyone know why this happened and how should
> i
> > fix it?
> > 
> > What about /usr/local/lib/libgssapi.so.2 ?
> > 
> > -- 
> > Paul
> 
> 
>   
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "freebsd-questions-unsubscr...@freebsd.org"


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


Re: py24-gobject won't deinstall

2009-04-03 Thread Oliver Fromme
Richard DeLaurell wrote:
 > Oliver Fromme wrote:
 > > PS:  To check the consistency of your package database,
 > > you can use this small script (requires Python):
 > > 
 > > http://www.secnetix.de/olli/scripts/pkg_check_dependencies
 > > 
 > > If you get no output from "pkg_check_dependencies -q",
 > > then your dependencies are good.
 > [...]
 > ++
 > #python pkg_check_dependencies -q
 > 
 > Traceback (most recent call last):
 >   File "pkg_check_dependencies", line 55, in 
 > if line.startswith("@pkgdep")
 > IndexError: list index out of range
 > ++

Interesting ...  I think that can only happen if you have
a corrupt dependency entry somewhere.  If that's the case,
this shell command will print the file in question:

awk '/^...@pkgdep/ && NF < 2 {print FILENAME}' /var/db/pkg/*/+CONTENTS

It will print the names of files from the package database
that contain an empty "@pkgdep" line.  This is probably the
cause of the "list index out of range" error message.

Best regards
   Oliver

-- 
Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing b. M.
Handelsregister: Registergericht Muenchen, HRA 74606,  Geschäftsfuehrung:
secnetix Verwaltungsgesellsch. mbH, Handelsregister: Registergericht Mün-
chen, HRB 125758,  Geschäftsführer: Maik Bachmann, Olaf Erb, Ralf Gebhart

FreeBSD-Dienstleistungen, -Produkte und mehr:  http://www.secnetix.de/bsd

"Being really good at C++ is like being really good
at using rocks to sharpen sticks."
-- Thant Tessman
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


questions about Fatal Trap 12

2009-04-03 Thread Ray
Hello,
I have received a kernel Trap 12 error several times now and am trying to 
figure it out. 
the error occurred today, and the previous time was about two weeks ago. 
last time I had to run fsck manually if that proves anything.


uname -a gives the following:

FreeBSD wserver..com 7.0-RELEASE-p3 FreeBSD 7.0-RELEASE-p3 #0: Wed Sep 
17 13:30:46 MDT 2008 r...@wserver.*.com:/usr/obj/usr/src/sys/MOD  
amd64


Google returns results mostly for versions 4.x and 5.x, but it suggest 2 main 
things: 
test ram, and kernel panic troubleshooting. 
(http://www.freebsd.org/doc/en/books/faq/advanced.html#KERNEL-PANIC-
TROUBLESHOOTING)

Is there a way to test the ram without removing it from the machine and leave 
the machine functioning. I've used memtest 86 before, but obviously the 
machine has to be offline for this test.

However, I'm a little unsure of the instructions in the handbook on 
troubleshooting. namely, it talks about using the nm command, put I can't 
figure out the data file to give it as an argument, and second I'm unsure about 
using a debugging Kernel on a production server. I have heard that It will 
significantly slow down a machine.
Any help or suggestions would be greatly appreciated.
Ray
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: going from cvs to svnq

2009-04-03 Thread Chuck Robey
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Giorgos Keramidas wrote:
> On Tue, 31 Mar 2009 22:18:33 -0400, Chuck Robey  wrote:
>> What I don't know is, I use cvsup all the time, but when I switch to
>> svn, what does the "cvsup" job of tracking an archive (not tracking
>> the sources, I mean the archive)?  Does svn do it all itself?  If so,
>> I can find out how, I just want to know if that's how its done.  If
>> not, what's the general tool used to track the freebsd archive, so I
>> can investigate it?
> 
> Hi Chunk,

I seem to be hitting problems, twice now folks have misunderstood me (oh, BTW,
it's Chuck (or chuckr), not Chunk).  I DON'T use cvsup to check out sources.  I
know very well that you *can* do that, but for the last about 8 years, I've
gotten the entire archive, not just a checkout.  While a checkout can certainly,
obviously follow a tag or a branch, it's just as obviously that it CAN'T follow
a tag or branch if you get the entire archive, because the entire archive
contains ALL of the tags/branches, and you need to do your own checkout from
that archive, of the tag or branch you want.

The ONLY thing I want to get out of this is the cvsup-like capability (which
I've been using now for 8 years) to update my entire archive (svn now, no longer
cvs).  Again, emphasizing, it's NOT just a checkout, and tags/branches have no
meaning at this level.  Something like trying to buy chapter 8 of a book: when
you buy the book, you get ALL the chapters.  When you get the archive, you get
ALL the tags/branches.

I *think* maybe you said that svnsync can do this?  I can't find any machine IP
that is to be used with subversion ... will something like cvsup2.us.freebsd.org
do for svnsync?  Will svnsync's  protocol get me the svn archive?  I don't want
the cvs archive, so could you help me understand how that's selected in this
instance?

Beyond that, you emphasized that it can't get only a part of an archive.  I'm
guessing you were referring to grabbing only ports, as against both ports and
src?  I don't know how the svn archive is organized, if there are separate
archive for ports and src, or if they're actually only parts of one archive, but
I do want both.  Also, as I said above, I expect to get ALL tags, all branches,
anything like that.

You ask me NOT to check out what you called a "snapshot" of the archive.  That's
precisely what cvsup was so good at, noticing what the changes were in your copy
of the archives, and only sending those.  hundreds of people kept checkouts of
the entire cvs archive.  Are you telling me that capability is no more?  That we
lose that, in moving from cvs to svn?

You whole email, well, it *seems* to me to be very biased towards thinking that
cvsup is only used to check out sources.  I hope what we have here is a
misunderstanding, I would really dislike losing this capability, of being able
to call up a particular files entire history, whenever I wanted, at no large
processing cost to FreeBSD.

> 
> CVSup does two things:
> 
>   * It can check out copies of all the files in a remote repository,
> using date- and time-based snapshot info, or just CVS tag names.
> 
>   * It can mirror the RCS metadata of a CVS repository.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAknWT90ACgkQz62J6PPcoOkHdACghfZ1Bvh1R5eTBADzOhF7HaXw
1OYAn0MDdMRRVKGzktyoshC6M65pAC95
=YbXs
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


FreeBSD as a Business Server

2009-04-03 Thread Seur Bors
Greetings,

I am recommending a FreeBSD solution to replace an old business "file
server".  The old server is running Windows 2000 Professional, and the
company has grown from the 5 employee setting to now two floors and
approximately 15 - 20 people.  They were starting to get connection errors
to the Win2K machine, as I believe, without the Server version of the
software, file sharing and maps are severely limited.

Anyways, my question is thus:  In setting up a FreeBSD machine and utilizing
Samba to support "standard" file sharing, is there any caveats or issues
that anyone perceives?  I've done multiple FreeBSD installations, and
utilize the Samba package to provide file sharing support in other small
businesses, but have not had to consider 20 connections at once.  The
network connection is just a simple router to switch, all gigabit, and the
system I'm recommending to use as a server also has dual gigabit network
ports.

As well, if anyone has any web-links to recommended reading, I would greatly
appreciate them.

Regards,

Seur Bors
Legate Commander
Knights Of The Old Code
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: going from cvs to svnq

2009-04-03 Thread Chuck Robey
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

per...@pluto.rain.com wrote:
> Chuck Robey  wrote:
>> But I do need to figure out how to get the subversion archive (not
>> a particular branch of the archive, the whole kit and kaboodle).
> 
> devel/svk?  (From a mention last December; I have not tried it.)

Huh.  From reading the port's description file, it seems to be a svn lookalike,
but with a differing feature list.  Supposely uses the same filesystem layout as
subversion.  I'll go goole it, maybe there's more to be googled.

I asked a lot more from Giorgios, mainly because I think he misunderstood me.
His writeup WAS fantastic, though, if only I can clear up my questions.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAknWUlsACgkQz62J6PPcoOma7QCeJ5J+F8cy3yOtMvx/d7KANBoy
jwsAn3pXPLIG/ux/uqcfUCV3ljzZeN6J
=Chgb
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: FreeBSD as a Business Server

2009-04-03 Thread Kurt Buff
On Fri, Apr 3, 2009 at 10:42, Seur Bors  wrote:
> Greetings,
>
> I am recommending a FreeBSD solution to replace an old business "file
> server".  The old server is running Windows 2000 Professional, and the
> company has grown from the 5 employee setting to now two floors and
> approximately 15 - 20 people.  They were starting to get connection errors
> to the Win2K machine, as I believe, without the Server version of the
> software, file sharing and maps are severely limited.
>
> Anyways, my question is thus:  In setting up a FreeBSD machine and utilizing
> Samba to support "standard" file sharing, is there any caveats or issues
> that anyone perceives?  I've done multiple FreeBSD installations, and
> utilize the Samba package to provide file sharing support in other small
> businesses, but have not had to consider 20 connections at once.  The
> network connection is just a simple router to switch, all gigabit, and the
> system I'm recommending to use as a server also has dual gigabit network
> ports.
>
> As well, if anyone has any web-links to recommended reading, I would greatly
> appreciate them.

Replacing Win2k (especially the Pro version) with FreeBSD on the same
hardware will give you a boost right there. If you have newer or more
capable hardware as well, you should be well ahead of the game.

http://www.samba.org is your best bet for reading. Pick your country,
then on the left side of the main page is a section called 'learn
samba' - the 'Official HOWTO' and the 'By Example' links should
provide all you need.

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


Re: FreeBSD as a Business Server

2009-04-03 Thread Adam Vandemore

Seur Bors wrote:

Greetings,

I am recommending a FreeBSD solution to replace an old business "file
server".  The old server is running Windows 2000 Professional, and the
company has grown from the 5 employee setting to now two floors and
approximately 15 - 20 people.  They were starting to get connection errors
to the Win2K machine, as I believe, without the Server version of the
software, file sharing and maps are severely limited.

Anyways, my question is thus:  In setting up a FreeBSD machine and utilizing
Samba to support "standard" file sharing, is there any caveats or issues
that anyone perceives?  I've done multiple FreeBSD installations, and
utilize the Samba package to provide file sharing support in other small
businesses, but have not had to consider 20 connections at once.  The
network connection is just a simple router to switch, all gigabit, and the
system I'm recommending to use as a server also has dual gigabit network
ports.

As well, if anyone has any web-links to recommended reading, I would greatly
appreciate them.

Regards,

Seur Bors
Legate Commander
Knights Of The Old Code
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"

  
Well there's a lot of info that would be needed to a well reasoned "Yes, 
you can", but the short version is it shouldn't be an issue under normal 
office-like usage.  Going from 5 to 20 connections in such a scenario is 
negligible.  Samba system-agnostic tutorials are good sources of info, 
but best advice is probably to use info provided by their official 
documentation and mailing list.


Also, I have fbsd systems running samba with 20+ connections under what 
I consider normal office environment with absolutely no issues except I 
can't figure out how to get XP to save persistent login password.


--
Adam Vandemore
Systems Administrator
IMED Mobility
(605) 498-1610

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


Re: FreeBSD as a Business Server

2009-04-03 Thread Vasadi I. Claudiu Florin
On Fri, 03 Apr 2009 21:40:28 +0300, Adam Vandemore   
wrote:



Vasadi I. Claudiu Florin wrote:


Also, I have fbsd systems running samba with 20+ connections under  
what I consider normal office environment with absolutely no issues  
except I can't figure out how to get XP to save persistent login  
password.





You mean it asks you for a password each and every time you access a  
network share?


control panel -> user accounts -> "your user" -> manage network  
passwords


if list is empty just add an ip or dns with whatever usr/pass you  
desire.


Nice, I've only been looking for that for about 3 years(obviously not a  
real high priority).


Thanks for the tip.




:)). No worries mate, I've also searched for it for like 3 days :P (around  
the clock).

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


Re: FreeBSD as a Business Server

2009-04-03 Thread Mikel King


On Apr 3, 2009, at 1:42 PM, Seur Bors wrote:


Greetings,

I am recommending a FreeBSD solution to replace an old business "file
server".  The old server is running Windows 2000 Professional, and the
company has grown from the 5 employee setting to now two floors and
approximately 15 - 20 people.  They were starting to get connection  
errors

to the Win2K machine, as I believe, without the Server version of the
software, file sharing and maps are severely limited.

Anyways, my question is thus:  In setting up a FreeBSD machine and  
utilizing
Samba to support "standard" file sharing, is there any caveats or  
issues

that anyone perceives?  I've done multiple FreeBSD installations, and
utilize the Samba package to provide file sharing support in other  
small

businesses, but have not had to consider 20 connections at once.  The
network connection is just a simple router to switch, all gigabit,  
and the
system I'm recommending to use as a server also has dual gigabit  
network

ports.

As well, if anyone has any web-links to recommended reading, I would  
greatly

appreciate them.

Regards,

Seur Bors
Legate Commander
Knights Of The Old Code


The latest samba port if very robust. You should find this trivial to  
complete. I encourage you to go with new hardware if possible.


Cheers,
Mikel King
CEO, Olivent Technologies
Senior Editor, Daemon News
Columnist, BSD Magazine
6 Alpine Court
Medford, NY 11763
http://www.olivent.com
http://www.daemonnews.org
http://www.bsdmag.org
skype: mikel.king
t: 631.627.3055
m: 646.554.3660
+--+
Experimenting w/ Twitter follow me
if you dare... http://twitter.com/mikelking
+--+





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


Serial Communications

2009-04-03 Thread David Allen
Sorry to have to ask a dumb question ...

I need to connect my notebook to another system using a serial
connection.  Simple enough, but my notebook, unsurprisingly, has a USB
port, but no serial.

Is there such a thing as a USB->DB9(M) null modem cable?  If not, would a
USB->DB9 adapter stuck on one end of a null modem cable work?

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


Re: FreeBSD as a Business Server

2009-04-03 Thread Michael Lednev

Seur Bors пишет:

As well, if anyone has any web-links to recommended reading, I would greatly
appreciate them.


You can try FreeNAS. It has "standard" file sharing with samba managed 
through web-interface and it also has many more nice features.


Oh yeah, and it's FreeBSD. :)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Serial Communications

2009-04-03 Thread David Kelly
On Fri, Apr 03, 2009 at 11:44:36AM -0700, David Allen wrote:
> Sorry to have to ask a dumb question ...
> 
> I need to connect my notebook to another system using a serial
> connection.  Simple enough, but my notebook, unsurprisingly, has a USB
> port, but no serial.
> 
> Is there such a thing as a USB->DB9(M) null modem cable?  If not, would a
> USB->DB9 adapter stuck on one end of a null modem cable work?

Yes, its a smart adapter. I've had best luck using a 
"Keyspan High Speed USB Serial Adapter" model USA-19HS. About $31 at
Amazon.com and many other places.

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

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


Re: 2 -> more ftp accounts into same folder

2009-04-03 Thread Vasadi I. Claudiu Florin
On Fri, 03 Apr 2009 20:28:51 +0300, Jacques Manukyan  
 wrote:


This sounds like a permission issue. Each user on the sub-folders  
(folder1, folder2, etc) need to be able to get into the /mnt folder  
within the OS.


I'm aweare of that, hence the ACL setings I forgot to mention (silly me)

/mnt has ACL:

# file: mnt
# owner: root
# group: wheel
user::rwx
user:ftpadmin:rwx
user:programe:r-x
user:programe2:r-x
user:diverse:r-x
user:diverse2:r-x
user:muzica:r-x
group::---
group:ftpgroup:rwx
mask::rwx
other::---
[...@da1.ro /]#


What is the permission on the /mnt directory? Try setting it to 755 and  
see if that works.


It has 770 with root:wheel. But this is disregarded because of the way ACL  
is set.



Also, you can start pure-ftpd in debug mode to capture the actual  
error.  Look at the pure-ftd.conf file or add the -d option to the  
daemon for debug information.




For some reason, that's evading me right now, I'm unable to see anything,  
althow the daemon is started with -d.

Will look into it latter.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Symantec Netbackup under 7.1 - Undefined symbol

2009-04-03 Thread Ewald Jenisch
On Fri, Apr 03, 2009 at 11:08:50AM -0600, Tim Judd wrote:

> > This would lead me to think you need the port misc/compat5x installed.
> > I havent any experience of netbackup though.
> 
> 
> I agree with this statement, since it's clearly listed as it was compiled
> FOR FreeBSD 5.3
> 
> The compatXy packages are for what I think I remember reading of kernel
> system calls.  I think there's a package/port for the userland utilities
> too..  misc/compat5x
> 
> However I'm a smidge confused.  The option that exists in the kernel and the
> misc/compat5x port -- do they accomplish the same thing, or is it really
> "kernel" and "userland" peices?

Hi,

I've got both compat5x and compat5x installed on the machine in question:

$ pkg_info -cx compat
Information for compat4x-i386-5.3_9:
Comment:
A convenience package to install the compat4x libraries

Information for compat5x-amd64-5.4.0.8_9:
Comment:
A convenience package to install the compat5x libraries
$

In my kernel I've got the following compat-related options enabled (default):
options COMPAT_FREEBSD4 # Compatible with FreeBSD4
options COMPAT_FREEBSD5 # Compatible with FreeBSD5
options COMPAT_FREEBSD6 # Compatible with FreeBSD6

Please note, that the error message posted in my original email comes
from /libexec/ld-elf.so.1

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


Re: FreeBSD as a Business Server

2009-04-03 Thread Tim Judd
On Fri, Apr 3, 2009 at 12:49 PM, Michael Lednev
wrote:

> Seur Bors пишет:
>
>> As well, if anyone has any web-links to recommended reading, I would
>> greatly
>> appreciate them.
>>
>
> You can try FreeNAS. It has "standard" file sharing with samba managed
> through web-interface and it also has many more nice features.
>
> Oh yeah, and it's FreeBSD. :)
>


Good points;

And a previous employer was running samba on a multi-site VPN school network
with 600 employees..  with a pretty high load.

Biggest thing I found when I started to look into it is the fact that each
client connection to the server yielded yet another PID to have the CPU work
under.  So a central server with 600 employees (potentially) hitting it at
once would bring the system load up very fast.  I saw system loads of
200-300 by use of nagios.

So it would be a wonderful solution; it may peg the system load higher than
one would initially expect, depending on what the fileserver actually serves
(CAD files, video rendering, Access MDB files, etc) as a potential
bottleneck.

I'd pick 10k RPM drives...if you're using more complex files like the ones
mentioned above.  A fast spindle speed will send the file down the wire and
releive system load (as it is logically going through my head).  I've seen
10k SATA drives, but the cooling is important.

FreeNAS might be a good choice, because it's a stripped down version.  But
I'd be concerned of system load higher than anything else for the current
situation, and expansion needs later.

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


Re: Symantec Netbackup under 7.1 - Undefined symbol

2009-04-03 Thread Paul B. Mahol
On 4/3/09, Ewald Jenisch  wrote:
> On Fri, Apr 03, 2009 at 11:08:50AM -0600, Tim Judd wrote:
>
>> > This would lead me to think you need the port misc/compat5x installed.
>> > I havent any experience of netbackup though.
>>
>>
>> I agree with this statement, since it's clearly listed as it was compiled
>> FOR FreeBSD 5.3
>>
>> The compatXy packages are for what I think I remember reading of kernel
>> system calls.  I think there's a package/port for the userland utilities
>> too..  misc/compat5x
>>
>> However I'm a smidge confused.  The option that exists in the kernel and
>> the
>> misc/compat5x port -- do they accomplish the same thing, or is it really
>> "kernel" and "userland" peices?
>
> Hi,
>
> I've got both compat5x and compat5x installed on the machine in question:
>
> $ pkg_info -cx compat
> Information for compat4x-i386-5.3_9:
> Comment:
> A convenience package to install the compat4x libraries
>
> Information for compat5x-amd64-5.4.0.8_9:
> Comment:
> A convenience package to install the compat5x libraries
> $
>
> In my kernel I've got the following compat-related options enabled
> (default):
> options COMPAT_FREEBSD4 # Compatible with FreeBSD4
> options COMPAT_FREEBSD5 # Compatible with FreeBSD5
> options COMPAT_FREEBSD6 # Compatible with FreeBSD6
>
> Please note, that the error message posted in my original email comes
> from /libexec/ld-elf.so.1

With ldd(1) you could check on what libraries it depends,
alternatively you could try LD_PRELOAD with your own written lib specially
designed to workaround this problem(in theory).

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


Re: going from cvs to svnq

2009-04-03 Thread Giorgos Keramidas
On Fri, 03 Apr 2009 14:05:17 -0400, Chuck Robey  wrote:
> Giorgos Keramidas wrote:
>> On Tue, 31 Mar 2009 22:18:33 -0400, Chuck Robey  wrote:
>>> What I don't know is, I use cvsup all the time, but when I switch to
>>> svn, what does the "cvsup" job of tracking an archive (not tracking
>>> the sources, I mean the archive)?  Does svn do it all itself?  If so,
>>> I can find out how, I just want to know if that's how its done.  If
>>> not, what's the general tool used to track the freebsd archive, so I
>>> can investigate it?
>>
>> Hi Chunk,

Writing when sleepy does that.  I'm sorry :-/

> The ONLY thing I want to get out of this is the cvsup-like capability
> (which I've been using now for 8 years) to update my entire archive
> (svn now, no longer cvs).  Again, emphasizing, it's NOT just a
> checkout, and tags/branches have no meaning at this level.  Something
> like trying to buy chapter 8 of a book: when you buy the book, you get
> ALL the chapters.  When you get the archive, you get ALL the
> tags/branches.

That's what 'svnsync' would get you.  An entire mirror of the full
Subversion repository.

> I *think* maybe you said that svnsync can do this?  I can't find any
> machine IP that is to be used with subversion ... will something like
> cvsup2.us.freebsd.org do for svnsync?  Will svnsync's protocol get me
> the svn archive?  I don't want the cvs archive, so could you help me
> understand how that's selected in this instance?

No, as far as I know there is currently only *one* server who hosts a
publicly visible copy of the repository.  The server is:

svn.freebsd.org

and you would have to pull changes from that server, using svnsync.

> Beyond that, you emphasized that it can't get only a part of an
> archive.  I'm guessing you were referring to grabbing only ports, as
> against both ports and src?

There is no subversion repository for ports, doc or www.  Only the 'src'
repository has switched to Subversion so far.

So if you want doc/, ports/ or www/ you will have to keep using CVsup to
grab repository copies for them.

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


Re: Symantec Netbackup under 7.1 - Undefined symbol

2009-04-03 Thread Vincent Hoffman
On 3/4/09 20:39, Ewald Jenisch wrote:
> On Fri, Apr 03, 2009 at 11:08:50AM -0600, Tim Judd wrote:
>
>   
>>> This would lead me to think you need the port misc/compat5x installed.
>>> I havent any experience of netbackup though.
>>>   
>> I agree with this statement, since it's clearly listed as it was compiled
>> FOR FreeBSD 5.3
>>
>> The compatXy packages are for what I think I remember reading of kernel
>> system calls.  I think there's a package/port for the userland utilities
>> too..  misc/compat5x
>>
>> However I'm a smidge confused.  The option that exists in the kernel and the
>> misc/compat5x port -- do they accomplish the same thing, or is it really
>> "kernel" and "userland" peices?
>> 
>
>   
The kernel options provide kernel level compatability, the port gives
library (userland) compatability, dynamicly linked apps will need the
librarys.
> Hi,
>
> I've got both compat5x and compat5x installed on the machine in question:
>
> $ pkg_info -cx compat
> Information for compat4x-i386-5.3_9:
> Comment:
> A convenience package to install the compat4x libraries
>
> Information for compat5x-amd64-5.4.0.8_9:
> Comment:
> A convenience package to install the compat5x libraries
> $
>
> In my kernel I've got the following compat-related options enabled (default):
> options COMPAT_FREEBSD4 # Compatible with FreeBSD4
> options COMPAT_FREEBSD5 # Compatible with FreeBSD5
> options COMPAT_FREEBSD6 # Compatible with FreeBSD6
>
> Please note, that the error message posted in my original email comes
> from /libexec/ld-elf.so.1
>
> -ewald
>   
Fair point, I had a bit more of a think, I'd now guess that it looks
like a 32/64 bit problem, its a 32bit binary on a 64 bit system and its
/libexec/ld-elf.so.1 complaining not /libexec/ld-elf32.so.1 whch is odd.
do you have the lib32 compat stuff installed, does
/libexec/ld-elf32.so.1 exist on your system? if not you can add it via
sysinstall -> configure -> Distributions -> lib32.


Vince


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


Re: FreeBSD as a Business Server

2009-04-03 Thread Wojciech Puchar

Samba to support "standard" file sharing, is there any caveats or issues
that anyone perceives?  I've done multiple FreeBSD installations, and


if you use windoze XP or newer and some multiuser programs like accounting 
etc. you will have to use


veto oplock files


man smb.conf for details
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: FreeBSD as a Business Server

2009-04-03 Thread Wojciech Puchar


The latest samba port if very robust. You should find this trivial to 
complete. I encourage you to go with new hardware if possible.


i use Pentium III 500Mhz, 384 MB ram as file serwer (samba) for 12 
clients, and mail serwer, VoIP PBX and few less important things.


works quick without problems.


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


Re: Recovering partitions from disk image?

2009-04-03 Thread Warren Block

On Fri, 3 Apr 2009, snott wrote:


Update: I figured out how to get scan_ffs to read a file by looking at the
program source (if it starts with / then it considers it a regular file to
read instead of a device) and got the following results which matches well
with the TestDisk output.

$ scan_ffs -s /recovery/disk0.img
ufs1 at 1087 size 2621440 mount / time Wed Dec 31 16:00:00 1969
ufs1 at 10486847 size 5242880 mount /var time Wed Dec 31 16:00:00 1969
ufs1 at 31458367 size 5242880 mount /usr/home time Wed Dec 31 16:00:00 1969
ufs1 at 54525634 size 46680873 mount /mnt time Wed Dec 31 16:00:00 1969

Looks about right compared to the df output I had from that host:

Filesystem  Size   Used  Avail Capacity  Mounted on
/dev/twed0s1a   4.9G   2.8G   1.7G62%/
/dev/twed0s1e   9.8G   5.0G   4.0G56%/var
/dev/twed0s1f   9.8G   952M   8.1G10%/usr/home
/dev/twed0s2e88G15G65G19%/mnt

So, what can I do with those numbers?  It doesn't look like there's any
valid MBR or disklabel on this disk image.  Can I extract these filesystems
one at a time from the image and mount them somehow?


Looks like scan_ffs is reporting block size.  I'd take a spare computer 
with a blank disk and do a minimal FreeBSD install on it, setting the 
units to blocks in the partition screen and duplicating the values given 
by scan_ffs.  Then connect your read-only image media and dd to each 
partition, using dd's skip option to skip over previous partition data.


Daring users (i.e., those who are sure they won't confuse source with 
target) might install a blank drive in a live machine and use fdisk, 
bsdlabel, and dd from there.


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


mac arp moved from-to DOS?

2009-04-03 Thread Anuj Singh
Hi,

FreeBSD fbsd1.com 7.1-RELEASE FreeBSD 7.1-RELEASE #0: Thu Jan  1
14:37:25 UTC 2009
r...@logan.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  i386

 uptime
 4:33AM  up 3 days, 33 mins, 6 users, load averages: 4.15, 4.13, 4.16

I faced a problem on my server, and it stopped responding on network.
After logging in to the server I found services running normal as
usual.

I have following in my logs

4 03:23:19 fbsd7 kernel: arp: 10.139.7.15 moved from 00:22:19:ae:ea:0d
to 00:22:19:ae:ea:0f on age0
Apr  4 03:23:19 fbsd7 kernel: arp: 10.139.7.15 moved from
00:22:19:ae:ea:0f to 00:22:19:ae:ea:0d on age0
Apr  4 03:24:03 fbsd7 kernel: arp: 10.139.7.15 moved from
00:22:19:ae:ea:0d to 00:22:19:ae:ea:0f on age0
Apr  4 03:24:03 fbsd7 kernel: arp: 10.139.7.15 moved from
00:22:19:ae:ea:0f to 00:22:19:ae:ea:0d on age0
Apr  4 03:24:20 fbsd7 kernel: arp: 10.139.7.15 moved from
00:22:19:ae:ea:0d to 00:22:19:ae:ea:0f on age0
Apr  4 03:24:20 fbsd7 kernel: arp: 10.139.7.15 moved from
00:22:19:ae:ea:0f to 00:22:19:ae:ea:0d on age0
Apr  4 03:24:23 fbsd7 kernel: arp: 10.139.7.15 moved from
00:22:19:ae:ea:0d to 00:22:19:ae:ea:0f on age0
Apr  4 03:24:23 fbsd7 kernel: arp: 10.139.7.15 moved from
00:22:19:ae:ea:0f to 00:22:19:ae:ea:0d on age0
Apr  4 03:24:42 fbsd7 kernel: arp: 10.139.7.15 moved from
00:22:19:ae:ea:0d to 00:22:19:ae:ea:0f on age0
Apr  4 03:24:42 fbsd7 kernel: arp: 10.139.7.15 moved from
00:22:19:ae:ea:0f to 00:22:19:ae:ea:0d on age0
Apr  4 03:24:46 fbsd7 kernel: arp: 10.139.7.15 moved from
00:22:19:ae:ea:0d to 00:22:19:ae:ea:0f on age0
Apr  4 03:24:46 fbsd7 kernel: arp: 10.139.7.15 moved from
00:22:19:ae:ea:0f to 00:22:19:ae:ea:0d on age0
Apr  4 03:25:43 fbsd7 kernel: arp: 10.139.7.15 moved from
00:22:19:ae:ea:0d to 00:22:19:ae:ea:0f on age0
Apr  4 03:25:43 fbsd7 kernel: arp: 10.139.7.15 moved from
00:22:19:ae:ea:0f to 00:22:19:ae:ea:0d on age0
Apr  4 03:25:56 fbsd7 kernel: arp: 10.139.7.15 moved from
00:22:19:ae:ea:0d to 00:22:19:ae:ea:0f on age0
Apr  4 03:25:56 fbsd7 kernel: arp: 10.139.7.15 moved from
00:22:19:ae:ea:0f to 00:22:19:ae:ea:0d on age0
Apr  4 03:33:55 fbsd7 login: ROOT LOGIN (root) ON ttyv1
Apr  4 03:34:14 fbsd7 login: ROOT LOGIN (root) ON ttyv2
Apr  4 03:34:36 fbsd7 kernel: age0: interrupt moderation is 100 us.
Apr  4 03:34:36 fbsd7 kernel: age0: link state changed to DOWN
Apr  4 03:34:40 fbsd7 kernel: age0: link state changed to UP
Apr  4 03:34:43 fbsd7 kernel: arp: 10.139.7.15 moved from
00:22:19:ae:ea:0d to 00:22:19:ae:ea:0f on age0
Apr  4 03:34:43 fbsd7 kernel: arp: 10.139.7.15 moved from
00:22:19:ae:ea:0f to 00:22:19:ae:ea:0d on age0
Apr  4 03:34:45 fbsd7 kernel: arp: 10.139.7.15 moved from
00:22:19:ae:ea:0d to 00:22:19:ae:ea:0f on age0
Apr  4 03:34:45 fbsd7 kernel: arp: 10.139.7.15 moved from
00:22:19:ae:ea:0f to 00:22:19:ae:ea:0d on age0

10.139.7.15 is some windows machine...

is it a DOS?

After restarting the network service FreeBSD startet responding to the
network...

In above log i logged in to the system, ROOT LOGIN (root) ON ttyv1 and
i can see same messages of kernel arp in my messages, means machine
was on network (cause i have arp logs of the time when machine was not
responding).

Any idea?

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


Re: Recovering partitions from disk image?

2009-04-03 Thread snott



Warren Block wrote:
> 
> Looks like scan_ffs is reporting block size.  I'd take a spare computer 
> with a blank disk and do a minimal FreeBSD install on it, setting the 
> units to blocks in the partition screen and duplicating the values given 
> by scan_ffs.  Then connect your read-only image media and dd to each 
> partition, using dd's skip option to skip over previous partition data.
> 

OK, I can see how that would work.  I don't really have a spare
computer/drive to muck around with though, at least not easily.  If I can
work directly on the disk image that would be much better.

Could I fix the bsdlabel on the disk.img and mount it with mdconfig?
I noticed scan_ffs can output a bsdlabel config file.  Something like:

# scan_ffs -sl disk.img > disk.label
# bsdlabel -w -f disk.img auto  # write a fresh default label
# bsdlabel -e -f disk.img  # and load in scan_ffs output
# mdconfig -a -t vnode -f disk.img -u 0

If that looks like it might work, should I fsck the disk image before or
after mounting with mdconfig or not at all?  Do I risk kernel panic without
fsck?

Thanks,
Skye

-- 
View this message in context: 
http://www.nabble.com/Recovering-partitions-from-disk-image--tp22862006p22878294.html
Sent from the freebsd-questions mailing list archive at Nabble.com.

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


Ultrium 920 Autoloader Question

2009-04-03 Thread jhall
If this is a double post, please excuse me.  I just realized I sent my 
initial question to the wrong address. 

Today, I received my Ultrium 1/8 920 autoloader.  I just realized the tape 
drive can be assigned an IP address so it can be backed up to over the 
network.  And, I would like to explore this before taking the time to 
install the SCSI card. 

Is this something I can do from the command line with FreeBSD, or am I 
better off using software such as AMANDA or Bacula? 

Thanks,


Jay

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


Re: Ultrium 920 Autoloader Question

2009-04-03 Thread Jerry McAllister
On Fri, Apr 03, 2009 at 07:11:18PM -0500, jh...@socket.net wrote:

> If this is a double post, please excuse me.  I just realized I sent my 
> initial question to the wrong address. 
> 
> Today, I received my Ultrium 1/8 920 autoloader.  I just realized the tape 
> drive can be assigned an IP address so it can be backed up to over the 
> network.  And, I would like to explore this before taking the time to 
> install the SCSI card. 
> 
> Is this something I can do from the command line with FreeBSD, or am I 
> better off using software such as AMANDA or Bacula? 

Depends a little on what sort of software is on the tape drive.
But, probably you can either use dump(8)/restore(8) or tar with
no problem.   They can dump/restore to/from remote devices/files.

I have done it on some systems, though it has been a while since
the last time because my hardware has changed.

Dump/restore can be rather sensitive to version and host OS.

jerry

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


RE: Ultrium 920 Autoloader Question

2009-04-03 Thread Craig Matthews
Is this the HP StorageWorks 1/8 G2?  I apologize if you've already checked
this out, but it was my understanding that the NIC equipped on this device
is for web based management of the device and that backup occurs over a
normal storage interface such as SCSI.

Craig Matthews
IT Professional, Tampa Bay Area
cmatthews...@live.com


-Original Message-
From: owner-freebsd-questi...@freebsd.org
[mailto:owner-freebsd-questi...@freebsd.org] On Behalf Of jh...@socket.net
Sent: Friday, April 03, 2009 8:11 PM
To: freebsd-questions@freebsd.org
Subject: Ultrium 920 Autoloader Question 

If this is a double post, please excuse me.  I just realized I sent my 
initial question to the wrong address. 

Today, I received my Ultrium 1/8 920 autoloader.  I just realized the tape 
drive can be assigned an IP address so it can be backed up to over the 
network.  And, I would like to explore this before taking the time to 
install the SCSI card. 

Is this something I can do from the command line with FreeBSD, or am I 
better off using software such as AMANDA or Bacula? 

Thanks,


Jay

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

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


Re: mac arp moved from-to DOS?

2009-04-03 Thread Tom Ierna

On Apr 3, 2009, at 7:11 PM, Anuj Singh wrote:

4 03:23:19 fbsd7 kernel: arp: 10.139.7.15 moved from 00:22:19:ae:ea:0d
to 00:22:19:ae:ea:0f on age0
Apr  4 03:23:19 fbsd7 kernel: arp: 10.139.7.15 moved from
00:22:19:ae:ea:0f to 00:22:19:ae:ea:0d on age0

10.139.7.15 is some windows machine...



Does this Windows machine have two Ethernet cards plugged into the  
same network?


It looks like your FreeBSD machine is seeing that IP address switch  
between two MAC addresses.


This can be indicative of a network loop between the interfaces on the  
machine with that IP address, or a DHCP client fight.


I've also seen this (harmlessly) manifest with certain FreeBSD  
firewalls in bridged mode.


-Tom

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


Re: mac arp moved from-to DOS?

2009-04-03 Thread Anuj Singh
I am trying to find out the cause of no reply from the freebsd
machine, and why did it responded after restarting the network
services? The machine with 10.139.7.15 is some windows machine in
network.

So logs which i have here can not cause FreeBSD machine to stop
responding to the network traffic? what can be other causes on the OS
level?

Another thing I want to ask whether the default values of kernel
parameters are good enough for production level server, or we can make
some other changes to it. Currently I am running
clamav--->c-icap>squid--->dansgurdain on this server.. since last
few weeks I never faced such problem..and don't want to follow the
alt+ctrl+del=widows methods of restarting server or any service


Thanks & Regards
Anuj Singh

On 4/3/09, Tom Ierna  wrote:
> On Apr 3, 2009, at 7:11 PM, Anuj Singh wrote:
>> 4 03:23:19 fbsd7 kernel: arp: 10.139.7.15 moved from 00:22:19:ae:ea:0d
>> to 00:22:19:ae:ea:0f on age0
>> Apr  4 03:23:19 fbsd7 kernel: arp: 10.139.7.15 moved from
>> 00:22:19:ae:ea:0f to 00:22:19:ae:ea:0d on age0
>>
>> 10.139.7.15 is some windows machine...
>
>
> Does this Windows machine have two Ethernet cards plugged into the
> same network?
>
> It looks like your FreeBSD machine is seeing that IP address switch
> between two MAC addresses.
>
> This can be indicative of a network loop between the interfaces on the
> machine with that IP address, or a DHCP client fight.
>
> I've also seen this (harmlessly) manifest with certain FreeBSD
> firewalls in bridged mode.
>
> -Tom
>
>
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Re: Ultrium 920 Autoloader Question

2009-04-03 Thread jhall

> Depends a little on what sort of software is on the tape drive.
> But, probably you can either use dump(8)/restore(8) or tar with
> no problem.   They can dump/restore to/from remote devices/files.
> 

No software on the drive. 


Jay

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