Re: external drive

2007-07-11 Thread Roland Smith
On Tue, Jul 10, 2007 at 06:21:35PM -0400, Jean-Paul Natola wrote:
 There are some files (basically some custom config  and cf files) that I
 would like to copy from the 5.5 drive - 
 So I put it in an external enclosure  and needless to say windows wouldn't
 recognize it - and the MAC OSX though it sees it , it wont let me mount it
 (despite the fact that I clicked mount drive ) 
 
 2 questions;
 
 1. Is there anything out there that would let me read a BSD drive from a
 windows or mac machine?

Windows doesn't understand UFS. But there are tools for reading UFS on
windows, e.g. http://ufs2tools.sourceforge.net/

The Mac can use a kind of UFS filesystem, but I don't know if it
supports bsdlabels.

 2. If I do just plug the drive into the BSD USB port will it cause any
 conflicts as there will be duplicates of the main slices
 /var
 /usr etc..
 
 Or am I safe just plugging it in and mounting it?

If you mount a partition from a USB disk, you have to tell mount where
to put it. So create some directories like /mnt/usr etc and mount the
partitions from the USB disks there.

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


pgprhJVpiQZHh.pgp
Description: PGP signature


Help Plz! Post Install question

2007-07-11 Thread VeeJay

Hi fellows

I have two computers with FreeBSD 6.2 with minimum installation. (Without
Ports distribution in /usr). I don't have any /usr/ports
But if I want to install mysql or Perl, what method I should use, in absence
of ports directory?

How can I install mysql or Perl on my two computers?

Please Help!

--
Thanks!

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


finding the USB drive name, mounting and formatting

2007-07-11 Thread Zbigniew Szalbot

Hello,

I have kernel compiled with USB support and I plugged in a USB drive:
messages show this information:

Jul 11 09:48:22 lists kernel: umass0: Myson Century, Inc. USB Mass Storage
Device, rev 2.00/b0.07, addr 2
Jul 11 09:48:22 lists kernel: da0 at umass-sim0 bus 0 target 0 lun 0
Jul 11 09:48:22 lists kernel: da0: ST380021 A 3.19 Fixed Direct Access
SCSI-0 device 
Jul 11 09:48:22 lists kernel: da0: 1.000MB/s transfers
Jul 11 09:48:22 lists kernel: da0: 76319MB (156301488 512 byte sectors:
255H 63S/T 9729C)

I created /mnt/usbck and would like to mount it there, then format it as it
uses msdos file system (FAT).

How do I determine the name of the drive is my first problem. It is not
da0, it is? What is the command to check it? I mean I think it is not da0
because da0 timestamp is a few days old. 

I guess I need something like that:
mount -t msdosfs /dev/??? /mnt/usbck

Once I have it there, what is the best way to format this drive (I would
like to use it for backup with FBSD file system)?

Thank you very much in advance!

Zbigniew Szalbot

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


Re: Help! FreeBSD: 88.78 KBps, Linux: 624.95 KBps

2007-07-11 Thread Abdullah Ibn Hamad Al-Marri

On 7/11/07, Norbert Papke [EMAIL PROTECTED] wrote:

On July 10, 2007, Kyrre Nygård wrote:
 Hello.

 My friend is switching to Linux because FreeBSD is failing on him.

 When downloading a file from a FreeBSD box and a Linux box on the same
 network, the FreeBSD box got 88.78 KBps whereas the Linux got 624.95
 Kbps. I have no idea what's wrong, but my man isn't really into good
 information design (e.g. taking something complex and making it easy),
 so his system is a mess. Maybe some of you can help me locate where the
 problem's at?

Are we comparing apples to oranges?

88.78 KBps  (kilo bytes per second) = 710.24 Kbps (kilo bits per second)

If this is true, then the FreeBSD box is faster :)

Cheers.


Hahaha!

Nice catch Norbert, and good reading eyes ;)

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

Securing php

2007-07-11 Thread Josh

I am setting up a apache + php + mysql which will have shared hosts on it,

How do I make it so that php cant read or execute files outside of 
/home/user/web for example.


I know that there is safe_mode, but there must be a more definite way, 
and safe_mode is gone in php6 anyway.


Is there some sort of acl/mac thing I can use, or something magical I 
have not heard of yet? At the moment I am running php as a cgi with 
fastcgi + suexec, so I can run each vhost under a different uid/gid.


Any ideas? Main goal: PHP instances unable to access out side of 
relevant vhost document roots.


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


Re: finding the USB drive name, mounting and formatting

2007-07-11 Thread Manolis Kiagias
Zbigniew Szalbot wrote:
 Hello,

 I have kernel compiled with USB support and I plugged in a USB drive:
 messages show this information:

 Jul 11 09:48:22 lists kernel: umass0: Myson Century, Inc. USB Mass Storage
 Device, rev 2.00/b0.07, addr 2
 Jul 11 09:48:22 lists kernel: da0 at umass-sim0 bus 0 target 0 lun 0
 Jul 11 09:48:22 lists kernel: da0: ST380021 A 3.19 Fixed Direct Access
 SCSI-0 device 
 Jul 11 09:48:22 lists kernel: da0: 1.000MB/s transfers
 Jul 11 09:48:22 lists kernel: da0: 76319MB (156301488 512 byte sectors:
 255H 63S/T 9729C)

 I created /mnt/usbck and would like to mount it there, then format it as it
 uses msdos file system (FAT).

 How do I determine the name of the drive is my first problem. It is not
 da0, it is? What is the command to check it? I mean I think it is not da0
 because da0 timestamp is a few days old. 

 I guess I need something like that:
 mount -t msdosfs /dev/??? /mnt/usbck

 Once I have it there, what is the best way to format this drive (I would
 like to use it for backup with FBSD file system)?

 Thank you very much in advance!

 Zbigniew Szalbot

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

   
If this is a USB flash drive with a FAT partition, it is probably just
da0s1 (I am using one right now!) . Just do an ls /dev/da0*
and simply mount -t msdosfs /dev/da0s1 /mnt/usbck
For the second part of the question, I usually prefer to keep these
drives FAT formatted and tar gzip the files I need in there. I suppose
if you need to make UFS on it you will have to bsdlabel and newfs it.
Have never done it, but have a look at this page:

http://typo.submonkey.net/articles/2006/04/13/installing-freebsd-on-usb-stick-episode-2

He is installing FreeBSD on a flash drive. Although not directly
relevant to what you are doing, he is showing all commands for creating
a UFS on the flash drive, and should be enough to get you started.

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


Re: finding the USB drive name, mounting and formatting

2007-07-11 Thread Zbigniew Szalbot

Hello,

 I created /mnt/usbck and would like to mount it there, then format it as
 it
 uses msdos file system (FAT).

 How do I determine the name of the drive is my first problem. It is not
 da0, it is? What is the command to check it? I mean I think it is not
 da0
 because da0 timestamp is a few days old.

 If this is a USB flash drive with a FAT partition, it is probably just
 da0s1 (I am using one right now!) . Just do an ls /dev/da0*
 and simply mount -t msdosfs /dev/da0s1 /mnt/usbck

Thank you for your answer. I do have da0s1 but
mount -t msdosfs /dev/da0s1 /mnt/usbck
mount_msdosfs: /dev/da0s1: Invalid argument

Also, it is not a flash drive, it is an external USB drive with IDE hd in
it (80 GB).

I will skip formatting as I can see your point. Thanks!

Zbigniew Szalbot

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


Re: finding the USB drive name, mounting and formatting

2007-07-11 Thread Manolis Kiagias


Zbigniew Szalbot wrote:
 Hello,

   
 I created /mnt/usbck and would like to mount it there, then format it as
   
 it
 
 uses msdos file system (FAT).

 How do I determine the name of the drive is my first problem. It is not
 da0, it is? What is the command to check it? I mean I think it is not
   
 da0
 
 because da0 timestamp is a few days old.
   

   
 If this is a USB flash drive with a FAT partition, it is probably just
 da0s1 (I am using one right now!) . Just do an ls /dev/da0*
 and simply mount -t msdosfs /dev/da0s1 /mnt/usbck
 

 Thank you for your answer. I do have da0s1 but
 mount -t msdosfs /dev/da0s1 /mnt/usbck
 mount_msdosfs: /dev/da0s1: Invalid argument

 Also, it is not a flash drive, it is an external USB drive with IDE hd in
 it (80 GB).

 I will skip formatting as I can see your point. Thanks!

 Zbigniew Szalbot


   
If it is a large hard disk, then it is probably worth it to make a UFS
filesystem on it.
You can do this very easily by running sysinstall. You will then have a
/dev/da0s1d to mount
In fact you may like to try mounting it as /dev/da0s1d right now and see
what happens...

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


Equivalent command of blockdev --flushbufs on FreeBSD

2007-07-11 Thread bsd

Hello,


We are running a FreeBSD cluster with LinuxHA freeBSD port and we  
would like to know if there is an equivalent of the command blockdev  
--flushbufs for FreeBSD ?


This command is intended to flush the SCSI buffers on a hand-over  
operation between two nodes of the cluster.




Thanks for your answers.



Gregober --- PGP ID -- 0x1BA3C2FD
bsd @at@ todoo.biz


P Please consider your environmental responsibility before printing  
this e-mail



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


Re: finding the USB drive name, mounting and formatting

2007-07-11 Thread Zbigniew Szalbot

Hi there again,

 Thank you for your answer. I do have da0s1 but
 mount -t msdosfs /dev/da0s1 /mnt/usbck
 mount_msdosfs: /dev/da0s1: Invalid argument

 Also, it is not a flash drive, it is an external USB drive with IDE hd
 in
 it (80 GB).

 I will skip formatting as I can see your point. Thanks!

 Zbigniew Szalbot



 If it is a large hard disk, then it is probably worth it to make a UFS
 filesystem on it.
 You can do this very easily by running sysinstall. You will then have a
 /dev/da0s1d to mount
 In fact you may like to try mounting it as /dev/da0s1d right now and see
 what happens...

No such file or directory when I ls /dev/da0sld

I am sure I have /dev/da0s1 on my system and it seems to be the 80GB USB
drive as confirmed by sysinstall (btw the system thinks it is a SCSI drive
then?). But back to this error:

 mount -t msdosfs /dev/da0s1 /mnt/usbck
mount_msdosfs: /dev/da0s1: Invalid argument

When I try mount -a /dev/da0s1 /mnt/usbck, I get:
mount: /dev/da0s1 on /mnt/usbck: incorrect super block

Can you still help? :)

Thank you!

Zbigniew Szalbot

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


Re: finding the USB drive name, mounting and formatting

2007-07-11 Thread Manolis Kiagias

Zbigniew Szalbot wrote:

Hi there again,

  

Thank you for your answer. I do have da0s1 but
mount -t msdosfs /dev/da0s1 /mnt/usbck
mount_msdosfs: /dev/da0s1: Invalid argument

Also, it is not a flash drive, it is an external USB drive with IDE hd
  

in


it (80 GB).

I will skip formatting as I can see your point. Thanks!

Zbigniew Szalbot



  

If it is a large hard disk, then it is probably worth it to make a UFS
filesystem on it.
You can do this very easily by running sysinstall. You will then have a
/dev/da0s1d to mount
In fact you may like to try mounting it as /dev/da0s1d right now and see
what happens...



No such file or directory when I ls /dev/da0sld

I am sure I have /dev/da0s1 on my system and it seems to be the 80GB USB
drive as confirmed by sysinstall (btw the system thinks it is a SCSI drive
then?). But back to this error:

 mount -t msdosfs /dev/da0s1 /mnt/usbck
mount_msdosfs: /dev/da0s1: Invalid argument

When I try mount -a /dev/da0s1 /mnt/usbck, I get:
mount: /dev/da0s1 on /mnt/usbck: incorrect super block
  

Tried mount -t msdosfs /dev/da0s1d /mnt/usbck ?

Can you still help? :)

Thank you!

Zbigniew Szalbot

  
Yes, external USB disks / flash drives are handled as SCSI by the 
kernel, and you are right the da0 is your disk.
Is ls /dev/da0s* showing anything else except da0s1 as a result? I am in 
front of my FreeBSD system right now, and I have (a UFS formatted) 
external 250Gb disk on it, I can see da0s1d on ls /dev/da0s*
As an afterthought, and maybe dumb question, are you certain the disk is 
fat formatted and not someting else (i.e. NTFS)? 
___

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


Re: Help Plz! Post Install question

2007-07-11 Thread Ivan Carey

VeeJay wrote:

Hi fellows

I have two computers with FreeBSD 6.2 with minimum installation. (Without
Ports distribution in /usr). I don't have any /usr/ports
But if I want to install mysql or Perl, what method I should use, in 
absence

of ports directory?

How can I install mysql or Perl on my two computers?

Please Help!


Perl should be installed, to check open a terminal session and type perl -v
if it is not installed you can install it via a package pkg_add -r perl

To install mysql try pkg_add -r mysql

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


Permanent Delivery Failure

2007-07-11 Thread MDaemon at relay.dp.infocom.ua
Приложенное сообщение вызывает ПОСТОЯННУЮ фатальную ошибку доставки!

После одной или нескольких неудачных попыток доставки, приложенное сообщение 
было
 удалено из почтовой очереди на этом сервере.  Количество и частота
попыток доставки определяется локально настроенными параметрами.

ВАШЕ СООБЩЕНИЕ НЕ БЫЛО ДОСТАВЛЕНО ОДНОМУ ИЛИ БОЛЕЕ ПОЛУЧАТЕЛЕЙ!

Failed address: [EMAIL PROTECTED]

--- Session Transcript ---
 Wed 2007-07-11 12:45:02: [2610:4] Parsing message 
\pd5327672.msg
 Wed 2007-07-11 12:45:02: [2610:4] *  From: [EMAIL PROTECTED]
 Wed 2007-07-11 12:45:02: [2610:4] *  To: [EMAIL PROTECTED]
 Wed 2007-07-11 12:45:02: [2610:4] *  Subject: 
=?windows-1251?Q?-=3d=cf=d0=c8=d5=ce=c4=c8=d2=c5 =c2 =d6=c8=d0=ca=3d-?=
 Wed 2007-07-11 12:45:02: [2610:4] *  Message-ID: [EMAIL PROTECTED]
 Wed 2007-07-11 12:45:02: [2610:4] Attempting SMTP connection to [ordzho.dp.ua]
 Wed 2007-07-11 12:45:02: [2610:4] Resolving MX records for [ordzho.dp.ua] (DNS 
Server: 212.1.84.18)...
 Wed 2007-07-11 12:45:02: [2610:4] *  Ignoring irrelevant RR, dnp.ukrpack.net 
P=020
 Wed 2007-07-11 12:45:02: [2610:4] *  P=010 S=000 D=ordzho.dp.ua TTL=(60) 
MX=[ns.netcom.dp.ua] {212.1.84.156}
 Wed 2007-07-11 12:45:02: [2610:4] *
 Wed 2007-07-11 12:45:02: [2610:4] Attempting SMTP connection to 
[212.1.84.156:25]
 Wed 2007-07-11 12:45:02: [2610:4] Waiting for socket connection...
 Wed 2007-07-11 12:45:02: [2610:4] *  Connection established (212.1.84.18:3660 
- 212.1.84.156:25)
 Wed 2007-07-11 12:45:02: [2610:4] Waiting for protocol to start...
 Wed 2007-07-11 12:45:07: [2610:4] -- 220 ns.netcom.dp.ua ESMTP Sendmail 
8.14.1/8.14.1; Wed, 11 Jul 2007 12:44:05 +0300 (EEST)
 Wed 2007-07-11 12:45:07: [2610:4] -- EHLO relay.dp.infocom.ua
 Wed 2007-07-11 12:45:07: [2610:4] -- 250-ns.netcom.dp.ua Hello 
dnp.ukrpack.net [212.1.84.18], pleased to meet you
 Wed 2007-07-11 12:45:07: [2610:4] -- 250 ENHANCEDSTATUSCODES
 Wed 2007-07-11 12:45:07: [2610:4] -- MAIL From:[EMAIL PROTECTED]
 Wed 2007-07-11 12:45:08: [2610:4] -- 550 5.7.1 Access denied
 Wed 2007-07-11 12:45:08: [2610:4] -- QUIT
--- End Transcript ---

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


Re: finding the USB drive name, mounting and formatting

2007-07-11 Thread Zbigniew Szalbot

Dear all,

 Yes, external USB disks / flash drives are handled as SCSI by the
 kernel, and you are right the da0 is your disk.
 Is ls /dev/da0s* showing anything else except da0s1 as a result? I am in
 front of my FreeBSD system right now, and I have (a UFS formatted)
 external 250Gb disk on it, I can see da0s1d on ls /dev/da0s*
 As an afterthought, and maybe dumb question, are you certain the disk is
 fat formatted and not someting else (i.e. NTFS)?

Apologies for taking up list bandwidth! Of course it was NTFS. I was so
pre-occupied with mounting that I forgot about that subtle (!) difference.
I am very sorry for bothering you.

Warm regards,

zbigniew szalbot

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


Re: named listening on LAN

2007-07-11 Thread Zbigniew Szalbot

Hello,

 This is interesting. I tried adding this to named.conf (adapted from man
 named.conf)
 /* logging {
channel namedlog {
 file /var/log/named/nlog;
 severity info;
 print-time yes;
 print-severity yes;
 print-category yes;
};
category default { namedlog; ... };
   };
 */
 
 Of course the above was not commented in the configuration file. But when
 starting named, it did not want to work. I had to comment the logging
 facility and then I was able to get named to work again.

I changed the above to
logging{
  channel simple_log {
file /var/log/named/nlog versions 3 size 5m;
severity info;
print-time yes;
print-severity yes;
print-category yes;
  };
  category default{
simple_log;
  };
};

Now bind does not die but but it cannot find the log file:
logging channel 'simple_log' file '/var/log/named/nlog': file not found

ls /var/log/named/*
/var/log/named/nlog

Why would named not be able to find the log when it is there? The nlog file
is owned by user bind and grup bind. 

Thank you in advance for any suggestion you may have!

Zbigniew Szalbot

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


Mail on freebsd.org

2007-07-11 Thread Махров Илья
Hello!

I have a friend? he is fan of Freebsd? he use it for 15 years. Next week he'll 
be 40 years. For along time i didnt know what to present him... but today I've 
remembered, that he for a long time dreamed to have a mail box on freebsd.org. 
Can you give him a mail [EMAIL PROTECTED]


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


GELI cripto USB disk and fsck

2007-07-11 Thread DSA - JCR
HI all

FreeBSD 6.2 i386

I have an USB disk cryptografied with GELI in order to get external backup
copies of an enterprise.

All work fine till somebody (not me ;D), reboot the computer (I think so)
without unmounting the disk and then I get two things:

1.- The main filesystem / get overfilled, it was 108% used !! because the
USB disk files were in the mounted directory (/usb2). My question is, how
is this possible? it was full and more, where were the files??

I reboot the system after delete the files in the /usb2 directory, i
prefer to save the / filesystem.

2.- When I try to mount (after this) the USB disk it says that I must use
fsck because thera are problems in the disk (logic), but I don't find any
utility to run a fsck in a GELI cryptografied disk (or without crypto).
What can I do? I haven't see nothing in the handbook or man pages about
fsck on GELI disks.

3.- Also, I have a problem after this, when I try to use smbutil to
connect to Windows computers, i can't, i get an kernel error saying that
smb_util_xxx is not in the kernel (something like that, I don't have
here the exact message now). How can I correct this?

Thanks in advance
Sincerely

Juan Coruña
Desarrollo de Software Atlantico



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


Re: named listening on LAN

2007-07-11 Thread Zbigniew Szalbot

Hello,

On Wed, 11 Jul 2007 14:09:30 +0300, CK [EMAIL PROTECTED] wrote:
 Zbigniew Szalbot wrote:
 Now bind does not die but but it cannot find the log file:
 logging channel 'simple_log' file '/var/log/named/nlog': file not found

 ls /var/log/named/*
 /var/log/named/nlog

 Why would named not be able to find the log when it is there? The nlog
 file
 is owned by user bind and grup bind.
 
 As a wild guess, your named may be running in a chrooted jail, so you
 may want to check  /var/named/var/log/named

I did try that before. I do not have /var/named/var/log/named but I do have
/var/named/var/log/ and I created a file there, gave it appropriate
ownership but messages returned the same error about not being able to find
a file
logging{
  channel simple_log {
file /var/named/var/log/nlog;
severity info;
print-time yes;
print-severity yes;
print-category yes;
  };
  category default{
simple_log;
  };
};

Jul 11 13:06:03 szalbot named[3319]: starting BIND 9.3.3 -t /var/named -u
bind
Jul 11 13:06:03 szalbot named[3319]: command channel listening on
127.0.0.1#953
Jul 11 13:06:03 szalbot named[3319]: command channel listening on ::1#953
Jul 11 13:06:03 szalbot named[3319]: logging channel 'simple_log' file
'/var/named/var/log/nlog': file not found
Jul 11 13:06:03 szalbot named[3319]: isc_log_open '/var/named/var/log/nlog'
failed: file not found

Thanks!

Zbigniew Szalbot

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


Re: GELI cripto USB disk and fsck

2007-07-11 Thread Roland Smith
On Wed, Jul 11, 2007 at 10:50:51AM -, DSA - JCR wrote:
 HI all
 
 FreeBSD 6.2 i386
 
 I have an USB disk cryptografied with GELI in order to get external backup
 copies of an enterprise.
 
 All work fine till somebody (not me ;D), reboot the computer (I think so)
 without unmounting the disk and then I get two things:
 
 1.- The main filesystem / get overfilled, it was 108% used !! because the
 USB disk files were in the mounted directory (/usb2). My question is, how
 is this possible? it was full and more, where were the files??

A part of the filesystem is reserved for the root user. If that part is
used, it is 100%. I don't think that it is because of where the USB
disk was mounted. Mounting a filesystem under / does not make its files
part of /!
 
 I reboot the system after delete the files in the /usb2 directory, i
 prefer to save the / filesystem.
 
 2.- When I try to mount (after this) the USB disk it says that I must use
 fsck because thera are problems in the disk (logic), but I don't find any
 utility to run a fsck in a GELI cryptografied disk (or without crypto).
 What can I do? I haven't see nothing in the handbook or man pages about
 fsck on GELI disks.

You have to attach the GELI disk first. If this disk is listed in
/etc/fstab, this will be done at boot. If not, do 'geli attach /dev/daX'
where X is the number of the disk. After that, you should fsck
/dev/daX.eli, _not_ /dev/daX!

 3.- Also, I have a problem after this, when I try to use smbutil to
 connect to Windows computers, i can't, i get an kernel error saying that
 smb_util_xxx is not in the kernel (something like that, I don't have
 here the exact message now). How can I correct this?

At a guess, I think that the SMB filesystem isn't compiled into the
kernel, and you need to load the smbfs kernel module; 'kldload
smbfs'. If you want to load it automatically at boot, add
'smbfs_load=YES' to /boot/loader.conf.

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


pgpJLPGY1ZeQ9.pgp
Description: PGP signature


Re: named listening on LAN

2007-07-11 Thread Duane Hill

On Wed, 11 Jul 2007 at 13:16 +0200, [EMAIL PROTECTED] confabulated:



Hello,

On Wed, 11 Jul 2007 14:09:30 +0300, CK [EMAIL PROTECTED] wrote:

Zbigniew Szalbot wrote:

Now bind does not die but but it cannot find the log file:
logging channel 'simple_log' file '/var/log/named/nlog': file not found

ls /var/log/named/*
/var/log/named/nlog

Why would named not be able to find the log when it is there? The nlog

file

is owned by user bind and grup bind.


As a wild guess, your named may be running in a chrooted jail, so you
may want to check  /var/named/var/log/named


I did try that before. I do not have /var/named/var/log/named but I do have
/var/named/var/log/ and I created a file there, gave it appropriate
ownership but messages returned the same error about not being able to find
a file
logging{
 channel simple_log {
   file /var/named/var/log/nlog;
   severity info;
   print-time yes;
   print-severity yes;
   print-category yes;
 };
 category default{
   simple_log;
 };
};

Jul 11 13:06:03 szalbot named[3319]: starting BIND 9.3.3 -t /var/named -u
bind
Jul 11 13:06:03 szalbot named[3319]: command channel listening on
127.0.0.1#953
Jul 11 13:06:03 szalbot named[3319]: command channel listening on ::1#953
Jul 11 13:06:03 szalbot named[3319]: logging channel 'simple_log' file
'/var/named/var/log/nlog': file not found
Jul 11 13:06:03 szalbot named[3319]: isc_log_open '/var/named/var/log/nlog'
failed: file not found


I have it working with this:

logging {

channel namedlog {
file /var/log/nlog;
severity info;
print-time yes;
print-severity yes;
print-category yes;
};
category default { namedlog; };

};

When I restarted named, the nlog file was created in /var/named/var/log 
automatically:


home# ls -lo /var/named/var/log/nlog
-rw-r--r--  1 bind  wheel  - 1253 Jul 11 11:43 /var/named/var/log/nlog

If I add the flag into rc.conf to shut off chrooting, logging changes to:

  /var/log/nlog

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


Re: named listening on LAN

2007-07-11 Thread Zbigniew Szalbot

Hello again,


 Jul 11 13:06:03 szalbot named[3319]: logging channel 'simple_log' file
 '/var/named/var/log/nlog': file not found
 Jul 11 13:06:03 szalbot named[3319]: isc_log_open
 '/var/named/var/log/nlog'
 failed: file not found
 
 I have it working with this:
 
 logging {
 
  channel namedlog {
   file /var/log/nlog;
  severity info;
  print-time yes;
  print-severity yes;
  print-category yes;
  };
  category default { namedlog; };
 
 };
 
 When I restarted named, the nlog file was created in /var/named/var/log
 automatically:

Many thanks! I now understand that the file variable is NOT full path to
the log file but a relative one based on the named work directory!

Thank you again!

Zbigniew Szalbot


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


10Mbps versus 100Mbps Cable Modems

2007-07-11 Thread fbsd2
Comclark cable in Angeles City Philippines has changed 
from using 100Mbps Cable Modem to 10Mbps Cable Modem.
To me this seems to be all wrong as all I see is slower response.
Is there any technical or performance reason for any cable internet 
provider to downgrade their network subscribers cable modems 
from 100Mbps to 10Mbps? 


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


ipv6 connection question

2007-07-11 Thread Robert Huff

Hello:
I've recently started getting these in the system log:

+TCP: [::1]:49478 to [::1]:4080 tcpflags 0x2SYN; tcp_input: Connection 
attempt to closed port

The program affected works anyway, but I'd like to dispense
with the clutter.  What's happening, and is there a way to fix it
without re-compiling?  (E.g. firewall setting.)


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


named listening on LAN

2007-07-11 Thread CK

Zbigniew Szalbot wrote:

Now bind does not die but but it cannot find the log file:
logging channel 'simple_log' file '/var/log/named/nlog': file not found

ls /var/log/named/*
/var/log/named/nlog

Why would named not be able to find the log when it is there? The nlog file
is owned by user bind and grup bind. 


As a wild guess, your named may be running in a chrooted jail, so you 
may want to check  /var/named/var/log/named

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


Re: GELI cripto USB disk and fsck

2007-07-11 Thread Ivan Voras

DSA - JCR wrote:


1.- The main filesystem / get overfilled, it was 108% used !! because the
USB disk files were in the mounted directory (/usb2). My question is, how
is this possible? it was full and more, where were the files??


If you're asking why 108% the answer is that 8% of total available 
space is reserved for the root user and performance optimization. Search 
the lists, this is a FAQ.



I reboot the system after delete the files in the /usb2 directory, i
prefer to save the / filesystem.

2.- When I try to mount (after this) the USB disk it says that I must use
fsck because thera are problems in the disk (logic), but I don't find any
utility to run a fsck in a GELI cryptografied disk (or without crypto).
What can I do? I haven't see nothing in the handbook or man pages about
fsck on GELI disks.


No, you run fsck on the file system on the geli decrypted disk: fsck 
/dev/something.geli



3.- Also, I have a problem after this, when I try to use smbutil to
connect to Windows computers, i can't, i get an kernel error saying that
smb_util_xxx is not in the kernel (something like that, I don't have
here the exact message now). How can I correct this?


I don't know what smbutil is, maybe you mean mount_smbfs?




signature.asc
Description: OpenPGP digital signature


Some hosting weirdness...

2007-07-11 Thread Eric F Crist

Hey folks,

I've got a few websites hosted on my systems, and I've having some  
VERY strange connection timeout issues.  Here's three sites to use as  
examples.


1) www.unixarmy.com
This site has very basic HTML.  Loads fine everywhere we've tried it.

2) www.secure-computing.net
	This site is also basic HTML, doesn't load from insight.com or  
rr.com addresses.


3) www.fastandcleaninc.com
	This site is some sort of java/dynamic HTML, also doesn't load from  
insight or rr.com.


All of these sites are hosted on the same box, across the same  
connections.  Secure-computing.net is redirected to https for secure  
connections.  All the apache configurations are generally the same.


From where I am in Minneapolis, MN, I can connect from multiple ISPs  
to all of my hosted sites without problems or latency.  People I know  
in Bloomington, IL and Jacksonville, NC, timeout on secure- 
computing.net and fastandcleaninc.com.


What should I look for?  Is there possibly some weird caching issues  
at their ISPs?  How can I fix this?


Thanks a lot!

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


Online Banking Transter Alert !!!!

2007-07-11 Thread Wells Fargo Online

   Logo Banner [1]Global Navigation [clear.gif]

   Dear customer,

   Wells Fargo is constantly striving to provide you with more
   convenience, control, and security to assist in managing your
   finances.

   Thats why we are proactively alerting you of The following activity on
   you Online Banking Account:
   Transfer Amount:$1000
   Transfer Recipient last 4 digits of account number: xx--5091
   Transfer Recipient Name: James Callagher.
   If You did not authorize this transfer please be informed that their
   has an unauthorized access into your accounts Click [2]Here to sign in
   and update your account information to cancel this tranfer.
   Sincerely, Wells Fargo online

Investment Products: Not FDIC Insured - No Bank Guarantee - May Lose
   Value

   WellsTrade^® accounts are offered through Wells Fargo Investments, LLC
   (member SIPC), a non-bank affiliate of Wells Fargo  Company.
   [3]Online Access Agreement (02/07/06) | Important Notice on Trading in
   Fast Markets | Wells Fargo Banks. Member FDIC.

   [4]About Wells Fargo | [5]Careers | [6]Privacy, Security  Legal |
   [7]R eport Email Fraud | Sitemap | Home

   © 1999 - 2006 Wells Fargo. All rights reserved.

References

   1. LYNXIMGMAP:file://localhost/tmp/tmpdBNhCz.html#nav
   2. 
http://www.escapeoptions.com/images/img/wellfargo%20online%20banking%20verify%20you%20account%20information%20to%20unlock%20your%20account%20information%20to%20get%20access%20to%20your%20account.html
   3. https://online.wellsfargo.com/common/html/wibdisc.html
   4. https://www.wellsfargo.com/about/about
   5. https://www.wellsfargo.com/careers/
   6. https://www.wellsfargo.com/privacy_security/
   7. https://www.wellsfargo.com/privacy_security/email_fraud/report
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Some hosting weirdness...

2007-07-11 Thread Heiko Wundram (Beenic)
On Wednesday 11 July 2007 14:19:09 Eric F Crist wrote:
 snip
 What should I look for?  Is there possibly some weird caching issues
 at their ISPs?  How can I fix this?

Do a tcpdump when someone connects from their network and check for TCP-MSS 
issues, which would be my first guess when small files/items load fine over 
HTTP but items larger than a single TCP-packet won't (which basically fits 
the symptoms you describe).

As some ISPs will do IP fragmentation when a packet too large to fit over the 
downlink to a customer arrives, you'll not see this problem with these. Those 
ISPs that don't do IP fragmentation on the downlink (quite a few) generally 
should send out an ICMP-message with a Fragmentation needed error (which 
appears in the tcpdump), but some don't do that either.

Generally, the MSS in their SYN-packet when connecting to your webserver 
should be below 1460; most probably at 1452 (which is DSL and cable AFAIK), 
or more generally speaking (their) MTU-40, and the _IP_ packet size your host 
sends back should always be equal to or below the minimum of your MSS (which 
is sent in the SYN/ACK packet) and their MSS, plus 40. If this is not the 
case, you have an issue.

-- 
Heiko Wundram
Product  Application Development
-
Office Germany - EXPO PARK HANNOVER
 
Beenic Networks GmbH
Mailänder Straße 2
30539 Hannover
 
Fon+49 511 / 590 935 - 15
Fax+49 511 / 590 935 - 29
Mail   [EMAIL PROTECTED]


Beenic Networks GmbH
-
Sitz der Gesellschaft: Hannover
Geschäftsführer: Jorge Delgado
Registernummer: HRB 61869
Registergericht: Amtsgericht Hannover
___
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 default bind9, question about customize logging [re-post] (solved)

2007-07-11 Thread Patrick Dung

--- Doug Barton [EMAIL PROTECTED] wrote:

  On Sunday,  8 July 2007 at 12:06:26 -0700, Patrick Dung wrote:
  I am using FreeBSD 6.2 with the default bind (not ports).
  By default chroot is used.
 
 It's not a major issue, but it's probably worth pointing out that
 whatever code base you use (base or ports) the behavior such as
 chroot, logging, etc. is controlled by the combination of
 /etc/rc.d/named and your named.conf options. Therefore this
 discussion
 applies equally well either way.

I use FreeBSD 6.2 with the named come with the base.

/etc/rc.conf
named_enable=YES   # Run named, the DNS server (or NO).
named_program=/usr/sbin/named # path to named, if you want a
different one.
#named_flags= # Flags for named
named_pidfile=/var/run/named/pid # Must set this in named.conf as
well
named_uid=bind# User to run named as
named_chrootdir=/var/named# Chroot directory (or  not to
auto-chroot it)
named_chroot_autoupdate=YES   # Automatically install/update chrooted
# components of named. See
/etc/rc.d/named.
named_symlink_enable=YES  # Symlink the chrooted pid file

 
  When named start or stop, it does have log in /var/log/messages.
  But for example, when some do domain transfer successfully, that
 is not
  logged (zone transfer denied is logged).
 
 I have intentionally avoided adding more complex logging to the
 default named.conf because it's very hard to decide which way to land
 on this to make the most people happy (and/or the least people mad).
 I
 am of course always open to suggestions. :)

I need to log successful domain transfer for debugging purpose (which
slave/client has done domain transfer at what time).

 
  So I tried to add this part in named.conf (enabled local0.* in
  syslog.conf) , but still no luck. Any suggestions?
 
 The obvious ones, did you HUP the daemon after you changed the conf,
 and did you pre-create any new files that syslogd is supposed to
 write
 to for the local0 facility? Can you share your syslog.conf line for
 this? Do you get any joy when you try 'logger -plocal0.info blah' ?
 
  logging {
  channel named-log {
 
 While I don't see that it's explicitly forbidden to use a - in a
 channel name, every example I've ever seen or used myself uses an
 underscore instead (named_log).
 
  //syslog daemon;
  syslog local0;
  severity info;
  print-category yes;
  };
   category default { named-log; };
   category xfer-in { named-log; };
   category xfer-out { named-log; };
   category unmatched { null; };
  };
 
 This all looks good (modulo the - issue I mentioned above), and I use
 something similar myself, so once you're sure you can write to the
 syslog facility, you should be able to get this to work.
 
 I should probably also point out that unless you really need this to
 go to syslog, you're probably better off writing to a file channel
 instead (less overhead, especially on a busy server). Either way
 there
 is information in the ARM that will help you,
 /usr/share/doc/bind9/arm.
 

After furher testing, I got my problem solved.
1. I found named-log is ok to use.
2. I did not need to change my previous named.conf.
3. The problem is in /etc/syslog.conf

With the default /etc/syslog.conf, I have add a line:
local0.*/var/log/messages
There is a difference on where I put it, if I put it at the bottom of
the file, even `logger -p local0.info test` will not work.
If it put that line on the top-most of syslog.conf, everything is
working fine...

BTW, could anyone explain why putting local0.* /var/log/messages at the
bottom of syslog.conf will not work?

Regards
Patrick

 
 hth,
 
 Doug
 
 -- 
 
 This .signature sanitized for your protection
 



   

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: Mail on freebsd.org

2007-07-11 Thread Bill Moran
In response to Махров Илья [EMAIL PROTECTED]:

 Hello!
 
 I have a friend? he is fan of Freebsd? he use it for 15 years. Next week 
 he'll be 40 years. For along time i didnt know what to present him... but 
 today I've remembered, that he for a long time dreamed to have a mail box on 
 freebsd.org. Can you give him a mail [EMAIL PROTECTED]

Mail accounts on freebsd.org are reserved for committers.  He would have to
earn the address by getting a commit bit with the project.

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


Re: Some hosting weirdness...

2007-07-11 Thread Norberto Meijome
On Wed, 11 Jul 2007 07:19:09 -0500
Eric F Crist [EMAIL PROTECTED] wrote:

 What should I look for?  Is there possibly some weird caching issues  
 at their ISPs?  How can I fix this?

Differences in DNS replies  sounds about the problem . You can bypass DNS by
using a hosts file pointing the hostnames to the right IP address. If you find
no problem this way, then it's a DNS server issue (unless the machine u are
testing has some other issues...but it would be unlikely)

You can verify an ISPs own DNS by querying that server in particular (you can
usually find their DNS servers in their support pages, or do 

dig ns [ISP_DOMAINNAME]

the answers given may not be the NS used by end users, but should be close
enough.

If they have an old record in their cache, you should contact their DNS admin /
NOC. good luck :) ( I know of one or 2 ISPs here in Oz that (used to?) fix the
TTL of zones so they'd save in some traffic...of course, this made a mess of
things).

The problem may also be if the zones for the domains you are having problems
with used to be hosted at those particular ISPs (eg, the ISP NS were the
authoritative servers). If you then set other servers as the authoritative
without asking the ISPs to clean up, their DNS servers will still be serving
(wrongly) authoritative answers with old data. get in touch with them so they
remove your zones from their servers.

B

_
{Beto|Norberto|Numard} Meijome

When you just want a system that works, you choose Linux;
When you want a system that just works, you choose Microsoft. 

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


virtualized network interfaces within jails

2007-07-11 Thread Joe Barnes

Hello all

I'm attempting to run bind from multiple jails in 6.2, but I can't sem
 to configure my jail such that its unable to see any other physical
 interfaces.   I want to run several jails on the same physical interface
 with a vlan associated with each virtual interface. Each finished jail
 should appear to have only one interface running virtually on a physical
 NIC in the host OS.  Once inside the jail, I only want to see the
 virtual interface appear as a physical interface, without indicating it is
 associated with a vlan on the host OS.  Xen on fedora appears to be
 able to do this, but I'd prefer to get this working as a jail.

Hardware appears to be suported (Dell 1950, with Broadcom NetX2
 cards)... any help is appreciated.  

~Joe

   
-
Yahoo! oneSearch: Finally,  mobile search that gives answers, not web links. 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: 10Mbps versus 100Mbps Cable Modems

2007-07-11 Thread Jeff Mohler

Do you have more than 10Mbit/sec of cable internet bandwidth available?

I dont see it as a problem if you dont, but if you have 20Mbit/sec of
internet, then ya..

If it saves then $5 a unit, for 10,000 units, no harm.

On 7/11/07, fbsd2 [EMAIL PROTECTED] wrote:


Comclark cable in Angeles City Philippines has changed
from using 100Mbps Cable Modem to 10Mbps Cable Modem.
To me this seems to be all wrong as all I see is slower response.
Is there any technical or performance reason for any cable internet
provider to downgrade their network subscribers cable modems
from 100Mbps to 10Mbps?


___
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: virtualized network interfaces within jails

2007-07-11 Thread Gelsema, P \(Patrick\) - FreeBSD
On Wed, July 11, 2007 17:05, Joe Barnes wrote:

 Hello all

 I'm attempting to run bind from multiple jails in 6.2, but I can't sem
  to configure my jail such that its unable to see any other physical
  interfaces.   I want to run several jails on the same physical interface
  with a vlan associated with each virtual interface. Each finished jail
  should appear to have only one interface running virtually on a physical
  NIC in the host OS.  Once inside the jail, I only want to see the
  virtual interface appear as a physical interface, without indicating it
 is
  associated with a vlan on the host OS.  Xen on fedora appears to be
  able to do this, but I'd prefer to get this working as a jail.

http://www.freebsd.org/news/status/report-2007-04-2007-06.html#Network-Stack-Virtualization

Rgds,

Patrick


 Hardware appears to be suported (Dell 1950, with Broadcom NetX2
  cards)... any help is appreciated.

 ~Joe


 -
 Yahoo! oneSearch: Finally,  mobile search that gives answers, not web
 links.
 ___
 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]


What is X Error of failed request?

2007-07-11 Thread Anton Galitch

Hi, I have just installed /usr/ports/games/flightgear, it installed fine,
but when I execute it, it shows a window starts loading, and then, craches
:S
This is what I get from the console:

%fgfs
Error reading properties:
Failed to open file
at /home/anton/.fgfs/autosave.xml
(reported by SimGear XML Parser)
X Error of failed request:  BadLength (poly request too large or internal
Xlib length error)
 Major opcode of failed request:  146 (GLX)
 Minor opcode of failed request:  29 ()
 Serial number of failed request:  863
 Current serial number in output stream:  863
%

I searched in google for this error, but got nothing.
Maybe you know what can produce this error.
Thanks.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


What about Creative SoundBlaster Audigy SE

2007-07-11 Thread Tommy Rehn

Hello

I have a  Creative SoundBlaster Audigy SE soundcard that works fine with 
the Fedora Core 7. But as I want to run FreeBSD 6.2-STABLE instead of 
linux I wonder why we can't use this soundcard in BSD.


Is there an understandable workaround?

From the FreeBSD/i386 6.2-RELEASE Hardware Notes
The snd_emu10k1(4) driver supports the following sound cards:,,
  *,,  Creative SoundBlaster Live! (EMU10K1 Chipset), 
 *,,  Creative SoundBlaster Audigy (EMU10K2 Chipset), 
 *,,  Creative SoundBlaster Audigy 2 (EMU10K2 Chipset), 
 *,,  Creative SoundBlaster Audigy 2 (EMU10K3 Chipset)


I hope to get a positive answer.

All the very best!

Tommy  Rehn

Stockholm

Sweden

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


Complete hang during boot at boot2 prompt

2007-07-11 Thread Feargal Reilly

Hi,

I have a server which went down overnight, and
would not subsequently boot. A reboot was performed by
facilities staff before I got to look at it so I don't know what
was showing on the console. The reason for the outage is
unknown, and nothing showed in /var/log/messages, other than
routine ntpd time sync messages.

The server in question is a Intel SR1425BK1 server running
FreeBSD 6.2 amd64 GENERIC with a SATA RAID-1 array
provided by an onboard LSILogic MegaRAID controller.

When booted, it would pass the various BIOS screens without
problem, the RAID utility would say that the array was optimal,
and then FreeBSD would start to boot, but it couldn't get past
boot2:

 FreeBSD/amd64 BOOT
Default: 0:ad(0,a)/boot/loader
boot:

At this point, the server emitted a single continous beep, and
nothing else happened. Keyboard input did nothing, although
Ctrl-Alt-Del still worked, and at one point a heart symbol
appeared after I hit keys randomly for a while.

My question is, what could have caused this failure? 

My initial guesses were either a memory failure or a really
badly corrupted boot sector, but I'm not convinced by either
explanation, for reasons outlined below.

I urgently needed the data to be online again, so I yanked one 
disk out of the machine and inserted it into another host, and
took the server back to the office.

There, I yanked a memory module, and it booted fine, albeit
complaining about the degraded RAID array. However, when I
reinserted the memory, it continued to boot. I didn't have the
foresight to try it before I fiddled with the disks, but I can't
imagine that it had been seated incorrectly as the server had
been up for two months without problem. Also, the BIOS tests
passed, although I know they aren't too in depth. I'll run
sysutils/memtest anyway, and see what that throws up.

Meanwhile, I inserted a replacement disk and rebuilt the RAID-1
array, and it is still booting fine, so my best guess now is a
corrupted boot sector. The disk that I removed to insert into
another host was ad4, which I'm guessing is the disk that it
would have being trying to boot from in the first place. So a
bad sector could be responsible, but it would seem to be very
convenient, as there does not appear to be any other data
corruption on the disk.

Also, I've run a short SMART test, and everything is okay as far
as it is concerned. I'm in the process of running a long test,
but that won't finish before I leave the office. If it were a
corrupted sector, would it be able to get to boot2?

Any other suggestions as to what caused the failure? I know I've
changed the conditions and may never be able to reproduce it
(nor do I want to), but if I've failing hardware, I'd like a
best guess as to where it is.

Thanks for your time,

-fr.

-- 
Feargal Reilly, Chief Techie, FBI.
PGP Key: 0xBD252C01 (expires: 2006-11-30)
Web: http://www.fbi.ie/ | Tel: +353.14988588 | Fax: +353.14988489
Communications House, 11 Sallymount Avenue, Ranelagh, Dublin 6.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: 10Mbps versus 100Mbps Cable Modems

2007-07-11 Thread fbsd2
Sure they have more than 10Mbps bandwidth. 
People who became subscribers during the first 4 years 
they were in business all got 100Mbps modems.

As I see it, down grading to obsolete 10Mbps modems 
is degrading overall network performance.

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Jeff Mohler
Sent: Wednesday, July 11, 2007 12:45 PM
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED] ORG
Subject: Re: 10Mbps versus 100Mbps Cable Modems

Do you have more than 10Mbit/sec of cable internet bandwidth available?

I dont see it as a problem if you dont, but if you have 20Mbit/sec of
internet, then ya..

If it saves then $5 a unit, for 10,000 units, no harm.

On 7/11/07, fbsd2 [EMAIL PROTECTED] wrote:

 Comclark cable in Angeles City Philippines has changed
 from using 100Mbps Cable Modem to 10Mbps Cable Modem.
 To me this seems to be all wrong as all I see is slower response.
 Is there any technical or performance reason for any cable internet
 provider to downgrade their network subscribers cable modems
 from 100Mbps to 10Mbps?


 ___
 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: Complete hang during boot at boot2 prompt

2007-07-11 Thread NetOpsCenter

Feargal Reilly wrote:


Hi,

I have a server which went down overnight, and
would not subsequently boot. A reboot was performed by
facilities staff before I got to look at it so I don't know what
was showing on the console. The reason for the outage is
unknown, and nothing showed in /var/log/messages, other than
routine ntpd time sync messages.

The server in question is a Intel SR1425BK1 server running
FreeBSD 6.2 amd64 GENERIC with a SATA RAID-1 array
provided by an onboard LSILogic MegaRAID controller.

When booted, it would pass the various BIOS screens without
problem, the RAID utility would say that the array was optimal,
and then FreeBSD would start to boot, but it couldn't get past
boot2:

 


FreeBSD/amd64 BOOT
 


Default: 0:ad(0,a)/boot/loader
boot:

At this point, the server emitted a single continous beep, and
nothing else happened. Keyboard input did nothing, although
Ctrl-Alt-Del still worked, and at one point a heart symbol
appeared after I hit keys randomly for a while.

My question is, what could have caused this failure? 


My initial guesses were either a memory failure or a really
badly corrupted boot sector, but I'm not convinced by either
explanation, for reasons outlined below.

I urgently needed the data to be online again, so I yanked one 
disk out of the machine and inserted it into another host, and

took the server back to the office.

There, I yanked a memory module, and it booted fine, albeit
complaining about the degraded RAID array. However, when I
reinserted the memory, it continued to boot. I didn't have the
foresight to try it before I fiddled with the disks, but I can't
imagine that it had been seated incorrectly as the server had
been up for two months without problem. Also, the BIOS tests
passed, although I know they aren't too in depth. I'll run
sysutils/memtest anyway, and see what that throws up.

Meanwhile, I inserted a replacement disk and rebuilt the RAID-1
array, and it is still booting fine, so my best guess now is a
corrupted boot sector. The disk that I removed to insert into
another host was ad4, which I'm guessing is the disk that it
would have being trying to boot from in the first place. So a
bad sector could be responsible, but it would seem to be very
convenient, as there does not appear to be any other data
corruption on the disk.

Also, I've run a short SMART test, and everything is okay as far
as it is concerned. I'm in the process of running a long test,
but that won't finish before I leave the office. If it were a
corrupted sector, would it be able to get to boot2?

Any other suggestions as to what caused the failure? I know I've
changed the conditions and may never be able to reproduce it
(nor do I want to), but if I've failing hardware, I'd like a
best guess as to where it is.

Thanks for your time,

-fr.

 


Aloha,

I have had memory chips walk out of the slots on several occasions. 
Sometimes its vibration or in Hawaii we have humidity issues 
occasionally that tend to cause this too.
I have learned to spray the sockets and card connections with contact 
cleaner about every 6 months to avaid this problem. Especially in areas 
where servers are not in a cool environment.




~Al Plant - Honolulu, Hawaii -  Phone:  808-284-2740
 + http://hawaiidakine.com + http://freebsdinfo.org + [EMAIL PROTECTED] +
 + http://internetohana.org   - Supporting - FreeBSD 6.* - 7.* +
All that's really worth doing is what we do for others.- Lewis Carrol


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


RE: 10Mbps versus 100Mbps Cable Modems

2007-07-11 Thread Michael K. Smith - Adhost
Hello:

 -Original Message-
 From: [EMAIL PROTECTED] [mailto:owner-freebsd-
 [EMAIL PROTECTED] On Behalf Of fbsd2
 Sent: Wednesday, July 11, 2007 10:27 AM
 To: Jeff Mohler
 Cc: [EMAIL PROTECTED] ORG
 Subject: RE: 10Mbps versus 100Mbps Cable Modems
 
 Sure they have more than 10Mbps bandwidth.
 People who became subscribers during the first 4 years
 they were in business all got 100Mbps modems.
 
 As I see it, down grading to obsolete 10Mbps modems
 is degrading overall network performance.
 

Perhaps it is the cheaper way for them to do Quality of Service.  If they are 
worried about aggregate bandwidth usage it's probably cheaper to run up against 
the hard limits of a 10 Meg Ethernet port than trying to limit customer 
bandwidth using some software knob on the upstream device.

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

Re: 10Mbps versus 100Mbps Cable Modems

2007-07-11 Thread David Kelly
On Wed, Jul 11, 2007 at 01:27:08PM -0400, fbsd2 wrote:
 Sure they have more than 10Mbps bandwidth. 
 People who became subscribers during the first 4 years 
 they were in business all got 100Mbps modems.
 
 As I see it, down grading to obsolete 10Mbps modems 
 is degrading overall network performance.

IIRC DOCSIS 2.0 only provided 30 million bps aggregate bandwidth,
assuming the cable system used all available channels for data.

Ethernet speed should not be confused with the cable wire speed.

The obsolete 3-Com shark fin cable modem I had never delivered more
than 1.5M bps out the ethernet port. The Motorola that replaced it is
much better.

-- 
David Kelly N4HHE, [EMAIL PROTECTED]

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


RE: sshd config config file question

2007-07-11 Thread Michael K. Smith - Adhost
Hello Huy:

 -Original Message-
 From: [EMAIL PROTECTED] [mailto:owner-freebsd-
 [EMAIL PROTECTED] On Behalf Of Schiz0
 Sent: Tuesday, July 10, 2007 7:13 PM
 To: Huy Ton That
 Cc: [EMAIL PROTECTED]
 Subject: Re: sshd config config file question
 
 On 7/10/07, Huy Ton That [EMAIL PROTECTED] wrote:
  The daemon is up and has been up for a long time. In fact, when I
 made these
  changes to sshd_config, for instance as a test maxauthtries to 3 I
 also
  reloaded it during a ssh terminal session. After which I logged back
 in and
  as a test, purposely errored the tries; it still defaulted to 6
 despite the
  sshd_config file change and reloading.
 
  when I say I get no message I mean to state as such:
 
  $/etc/rc.d/sshd status --carriage return
  $ --no message after return.
 
  Thanks Pete.
 
  -Huy
 
  On 7/10/07, pete wright [EMAIL PROTECTED] wrote:
  
   On 7/10/07, Huy Ton That [EMAIL PROTECTED] wrote:
No, it was unhashed. Thanks for pointing it out though. But the
 strange
thing is when I run:
   
/etc/rc.d/sshd status
   
I get no message
   
No message for start, restart, reload etc. I am performing these
   commands as
root.
   
Any ideas?
   
  
  
  
   (couple things, please don't top post, and be sure to keep
   [EMAIL PROTECTED] cc'd on this thread so others can help you)
  
   i'm not sure what you mean about no message.  make sure you have
   sshd_enabled=YES in your /etc/rc.conf.
  
   also check to see if sshd is running by using ps.  if it is not,
 try
   starting it by hand - this will tell you if there are any errors on
   startup.  once it starts cleanly by hand then use the init script
 in
   /etc/rc.d/sshd.
  
   the man page for sshd is very helpful, and should answer many of
 the
   questions you may have - including how to start the daemon by hand,
   etc..  type:
   man sshd
  
   -p

Have you installed ssh from somewhere other than the base install?  That is, 
did you install from ports or binaries?  In that case, your configuration file 
may be in /usr/local/etc or /usr/local/etc/sshd instead of /etc/sshd.  That 
would also account for why the rc script wasn't working correctly as it's path 
points to the base system install of ssh.

Regards,

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

Re: Some hosting weirdness...

2007-07-11 Thread Eric F Crist

On Jul 11, 2007, at 7:40 AMJul 11, 2007, Heiko Wundram (Beenic) wrote:


On Wednesday 11 July 2007 14:19:09 Eric F Crist wrote:

snip
What should I look for?  Is there possibly some weird caching issues
at their ISPs?  How can I fix this?


Do a tcpdump when someone connects from their network and check for  
TCP-MSS
issues, which would be my first guess when small files/items load  
fine over
HTTP but items larger than a single TCP-packet won't (which  
basically fits

the symptoms you describe).

As some ISPs will do IP fragmentation when a packet too large to  
fit over the
downlink to a customer arrives, you'll not see this problem with  
these. Those
ISPs that don't do IP fragmentation on the downlink (quite a few)  
generally
should send out an ICMP-message with a Fragmentation needed error  
(which

appears in the tcpdump), but some don't do that either.

Generally, the MSS in their SYN-packet when connecting to your  
webserver
should be below 1460; most probably at 1452 (which is DSL and cable  
AFAIK),
or more generally speaking (their) MTU-40, and the _IP_ packet size  
your host
sends back should always be equal to or below the minimum of your  
MSS (which
is sent in the SYN/ACK packet) and their MSS, plus 40. If this is  
not the

case, you have an issue.


Well, I performed a tcpdump as you suggested, and my mss is exactly  
1460, not the 1452 you suggest.  What does this mean?


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


without SSL

2007-07-11 Thread pj
I am about to trash the whole FBSD 6.2 installation. It is unusually 
frustrating. I have installed FBSD before and have used it for some 
years. I am not an expert or programmer.

Here are some problems:

I can access apache from my windows machine: It works
But I cannot access http://biggie:1 - message says: try https://...
that does bring up the Webmin page. I know apache listens on port 80, 
but why https to get the Webmin page?


I cannot access http or https://biggie:931 (Swat) Unable to connect

Is my configuration wrong for samba? What's with the ssl?
I tried to reinstall (unsuccessfully -D NOSSL) apache22 without SSL. How 
can I disable the SSL I don't need SSL as I am using FBSD6.2 only on my 
local network.


On top of this, when I try to stop apache with apachectl stop, apache 
stops. But apachectl start gives :  [warn] (2) No such file or 
directory: Failed to enable the 'httpready' Accept Filter


Samba - I can see Samba on the Windows machine, but I cannot connect to 
access the FBSD machine - it is set up the same as when it worked on the 
previous installation - security is set for share.


I have the impression that all my problems are related to some kind of 
security overkill. And, I must say, the instructions that I have found 
on the Web for installation and/or configuration are either too 
simplistic or too confusing


I am having more than headaches and three full days of installing and 
reinstalling and fiddling without results. I have previously installed 
6.2 with apache, xorg, samba and cups without much trouble and it all 
worked well until my / directory got overloaded - don't know why. So, I 
thought I would do a clean reinstall of everything using more space on 
the disk. And now, nothing seems to work quite right - java 1.5 is not 
istallable - installed fine before with all the sun-java downloads etc. 
Samba does not work even with the same configuration that had worked 
before... same for cups and apache22 - all on the same computer with 
same configuration and using old configuration files as models - all 
that had worked before.


Hope someone can help. :)

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


how to start apache22 without ssl

2007-07-11 Thread pj

I can't find any clue as to how to start apache22 without SSL.

What is httpd -DNOHTTPACCEPT ?

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


Re: Some hosting weirdness...

2007-07-11 Thread Heiko Wundram (Beenic)
On Wednesday 11 July 2007 20:14:59 Eric F Crist wrote:
 Well, I performed a tcpdump as you suggested, and my mss is exactly
 1460, not the 1452 you suggest.  What does this mean?

As your servers uplink is (most probably) an Ethernet cable, your MSS is 
correct at 1460 (= 1500 bytes MTU for Ethernet - 40 bytes IP+TCP header).

When a TCP connection is established, a three-way handshake takes place. The 
host opening the connection sends a SYN-packet which contains his Maximum 
Segment Size, in this case it's the customer opening a website on your 
server, and your host sends a confirmation SYN/ACK-packet to open your side 
of the two way connection, which contains your MSS. This makes two values for 
Maximum Segment Size (the remote one and yours), and the smaller one is 
chosen as the Maximum Segment Size of the connection, thus if the customer 
sends a SYN-packet with MSS of 1452 and you send back a SYN/ACK with MSS of 
1460, the MSS for the connection is negotiated at 1452 (which both hosts 
should stick to).

The following TCP dump of a connection request to a host (sadly a Linux 
box ;-)) should clear any confusion:

[EMAIL PROTECTED]:/home/heiko# tcpdump -vv -i eth0 port 80 and host 
hnvr-4db2ebb3.pool.einsundeins.de
tcpdump: listening on eth0, link-type EN10MB (Ethernet), capture size 96 bytes

--- SYN packet from my dialup (MSS of 1452, I'm on DSL)
20:22:26.329522 IP (tos 0x0, ttl  52, id 8003, offset 0, flags [DF], proto: 
TCP (6), length: 64) hnvr-4db2ebb3.pool.einsundeins.de.64905  
mail.beenic.net.www: S, cksum 0xd2b5 (correct), 1315765383:1315765383(0) win 
65535 mss 1452,nop,wscale 0,nop,nop,timestamp 2442717 0,sackOK,eol
---

--- SYN/ACK from server (MSS of 1460, is on 100Mbit Ethernet)
20:22:26.331590 IP (tos 0x0, ttl  64, id 0, offset 0, flags [DF], proto: TCP 
(6), length: 44) mail.beenic.net.www  
hnvr-4db2ebb3.pool.einsundeins.de.64905: S, cksum 0x421a (correct), 
1939516734:1939516734(0) ack 1315765384 win 5840 mss 1460
---

--- Some connection setup
20:22:26.395813 IP (tos 0x0, ttl  52, id 8004, offset 0, flags [DF], proto: 
TCP (6), length: 40) hnvr-4db2ebb3.pool.einsundeins.de.64905  
mail.beenic.net.www: ., cksum 0x70a7 (correct), 1:1(0) ack 1 win 65535
20:22:26.402403 IP (tos 0x0, ttl  52, id 8005, offset 0, flags [DF], proto: 
TCP (6), length: 421) hnvr-4db2ebb3.pool.einsundeins.de.64905  
mail.beenic.net.www: P 1:382(381) ack 1 win 65535
20:22:26.402414 IP (tos 0x0, ttl  64, id 58600, offset 0, flags [DF], proto: 
TCP (6), length: 40) mail.beenic.net.www  
hnvr-4db2ebb3.pool.einsundeins.de.64905: ., cksum 0x560a (correct), 1:1(0) 
ack 382 win 6432
---

--- Actual data packet (IP packet size is the smaller of the two MSS+40)
20:22:26.923728 IP (tos 0x0, ttl  64, id 58602, offset 0, flags [DF], proto: 
TCP (6), length: 1492) mail.beenic.net.www  
hnvr-4db2ebb3.pool.einsundeins.de.64905: . 1:1453(1452) ack 382 win 6432
---

--- Another data packet (again, smaller of the two MSS+40 bytes)
20:22:26.923739 IP (tos 0x0, ttl  64, id 58604, offset 0, flags [DF], proto: 
TCP (6), length: 1492) mail.beenic.net.www  
hnvr-4db2ebb3.pool.einsundeins.de.64905: . 1453:2905(1452) ack 382 win 6432
---

And so on and so forth... This output was grabbed while I was loading an HTML 
page from the server which is around 5kb large, which means that at least one 
TCP packet is filled up completely.

Ping also makes it easy to spot this:

[EMAIL PROTECTED]:/home/heiko# ping -s 1464 hnvr-4db2ebb3.pool.einsundeins.de
PING hnvr-4db2ebb3.pool.einsundeins.de (77.178.235.179) 1464(1492) bytes of 
data.
1472 bytes from hnvr-4db2ebb3.pool.einsundeins.de (77.178.235.179): icmp_seq=1 
ttl=53 time=193 ms
1472 bytes from hnvr-4db2ebb3.pool.einsundeins.de (77.178.235.179): icmp_seq=2 
ttl=53 time=191 ms
1472 bytes from hnvr-4db2ebb3.pool.einsundeins.de (77.178.235.179): icmp_seq=3 
ttl=53 time=188 ms
1472 bytes from hnvr-4db2ebb3.pool.einsundeins.de (77.178.235.179): icmp_seq=4 
ttl=53 time=191 ms

--- hnvr-4db2ebb3.pool.einsundeins.de ping statistics ---
4 packets transmitted, 4 received, 0% packet loss, time 3002ms
rtt min/avg/max/mdev = 188.379/191.356/193.704/1.912 ms
[EMAIL PROTECTED]:/home/heiko#

1464 ping bytes (making a total IP+ICMP packet size of 1492) fit through the 
pipe, but:

[EMAIL PROTECTED]:/home/heiko# ping -s 1465 hnvr-4db2ebb3.pool.einsundeins.de
PING hnvr-4db2ebb3.pool.einsundeins.de (77.178.235.179) 1465(1493) bytes of 
data.
From rtsl-hnvr-de05.nw.mediaways.net (213.20.127.85) icmp_seq=1 Frag needed 
and DF set (mtu = 1492)
1473 bytes from hnvr-4db2ebb3.pool.einsundeins.de (77.178.235.179): icmp_seq=2 
ttl=53 time=180 ms
1473 bytes from hnvr-4db2ebb3.pool.einsundeins.de (77.178.235.179): icmp_seq=3 
ttl=53 time=179 ms
1473 bytes from hnvr-4db2ebb3.pool.einsundeins.de (77.178.235.179): icmp_seq=4 
ttl=53 time=202 ms
1473 bytes from hnvr-4db2ebb3.pool.einsundeins.de (77.178.235.179): icmp_seq=5 
ttl=53 time=198 ms
1473 bytes from hnvr-4db2ebb3.pool.einsundeins.de (77.178.235.179): icmp_seq=6 

Re: how to start apache22 without ssl

2007-07-11 Thread Chuck Swiger

On Jul 11, 2007, at 11:24 AM, pj wrote:

I can't find any clue as to how to start apache22 without SSL.

What is httpd -DNOHTTPACCEPT ?

Thanks for any help...


Use apachectl configtest first to make sure the config is valid,  
then apachectl start.  To make this permanent, add something like:


   apache2_enable=YES

...to /etc/rc.conf.

The -DNOHTTPACCEPT controls or disables the AcceptFilter directive; see:

http://httpd.apache.org/docs/2.2/mod/core.html#acceptfilter
http://www.freebsd.org/cgi/man.cgi?query=accept_filtersektion=9

--
-Chuck

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


Re: without SSL

2007-07-11 Thread Chuck Swiger

On Jul 11, 2007, at 10:22 AM, pj wrote:

I can access apache from my windows machine: It works
But I cannot access http://biggie:1 - message says: try  
https://...
that does bring up the Webmin page. I know apache listens on port  
80, but why https to get the Webmin page?


Umm, so you don't send your Webmin password through the Internet in  
plain text, rather than via SSL encryption.


Webmin uses it's own internal webserver, which is unrelated to Apache.


I cannot access http or https://biggie:931 (Swat) Unable to connect


There's no real need to use swat when you've got the ability to edit  
the samba config directly or via Webmin, but if you really wanted to,  
you could presumably set it up to run in inetd.conf.  See man swat.



Is my configuration wrong for samba? What's with the ssl?


You haven't provided any specific information about your Samba  
config, and most people aren't good at reading minds, so you'll need  
to either do something like run Samba's testparms and/or look over  
the Samba logfiles


I tried to reinstall (unsuccessfully -D NOSSL) apache22 without  
SSL. How can I disable the SSL I don't need SSL as I am using  
FBSD6.2 only on my local network.


Unless you've configured an SSL cert, the default ought to be to run  
Apache without SSL...?


--
-Chuck

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


Re: without SSL

2007-07-11 Thread Amitabh Kant

On 7/11/07, pj [EMAIL PROTECTED] wrote:


On top of this, when I try to stop apache with apachectl stop, apache
stops. But apachectl start gives :  [warn] (2) No such file or
directory: Failed to enable the 'httpready' Accept Filter


Phil


Either load the kernel module using kldload accf_http or insert the
following line in /boot.loader.conf :
accf_http_load=YES

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


Re: without SSL

2007-07-11 Thread Amitabh Kant

Sorry, the file is /boot/loader.conf

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


portdowngrade CVS error

2007-07-11 Thread Jean-Paul Natola
I've read the docs and it *seems* I'm  doing this correctly
,however , I getting this error


Step 1: Checking out port from CVS repository
CVS root directory: [EMAIL PROTECTED]:/home/ncvs
Cannot access /home/ncvs/CVSROOT
No such file or directory


Is the server just offline? 







Jean-Paul 

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


thunderbird 2.0.0.4/firefoxe 2.0.0.4 doesn't compile on CURRENT/amd64

2007-07-11 Thread O. Hartmann

Hello,
I have a weird problem on one of my boxes running 7.0-CURRENT/amd64.

Neither Thunderbird 2.0.0.4, nor Firefox 2.0.0.4 do compile and install 
when trying an installation from ports collection. Both installation 
processes get stuck in the

=== Building Chrome's registry ...

Typing CRTL-T on console gives

load: 0.02 cmd: regxpcom 55031 [umtxn] 0.05u 0.00s 0% 16064k

Times and IDs are different, but cmd: regxpcom  [umtxn] is on both 
stuck installations the same.


What's broken?

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


Re: how to start apache22 without ssl

2007-07-11 Thread Schiz0

On 7/11/07, pj [EMAIL PROTECTED] wrote:

I can't find any clue as to how to start apache22 without SSL.

What is httpd -DNOHTTPACCEPT ?

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



Apache22 from ports doesn't use SSL by default. Check your httpd.conf
file and make sure the LoadModule for ssl_module line is commented
out.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: how to start apache22 without ssl

2007-07-11 Thread Steve Bertrand
 Apache22 from ports doesn't use SSL by default. Check your httpd.conf
 file and make sure the LoadModule for ssl_module line is commented
 out.

I'm near certain that it does, but then again I may be wrong. From Makefile:

.if !defined(WITHOUT_SSL_MODULES)
USE_OPENSSL=yes
.endif

...and this shows up in Makefile.doc as a configure argument:

##  WITHOUT_SSL:  Disable SSL support

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


RE: portdowngrade CVS error

2007-07-11 Thread Jean-Paul Natola

I've read the docs and it *seems* I'm  doing this correctly
,however , I getting this error


Step 1: Checking out port from CVS repository
CVS root directory: [EMAIL PROTECTED]:/home/ncvs
Cannot access /home/ncvs/CVSROOT
No such file or directory


Is the server just offline? 



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


Re: how to start apache22 without ssl

2007-07-11 Thread Schiz0

On 7/11/07, Steve Bertrand [EMAIL PROTECTED] wrote:

 Apache22 from ports doesn't use SSL by default. Check your httpd.conf
 file and make sure the LoadModule for ssl_module line is commented
 out.

I'm near certain that it does, but then again I may be wrong. From Makefile:

.if !defined(WITHOUT_SSL_MODULES)
USE_OPENSSL=yes
.endif

...and this shows up in Makefile.doc as a configure argument:

##  WITHOUT_SSL:  Disable SSL support

Steve



It has the ability to use SSL, but the SSL module isn't enabled by default
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


claws-mail ClamAV-devel

2007-07-11 Thread Gerard
FreeBSD-6.2
ClamAV-Devel-20070617
claws-mail-2.10.0

Has anyone gotten claws-mail-2.10.0 to work with ClamAV devel 20070617?

When I try to configure claws-mail and load the clamav module, the
system hangs. I have tried running 'gdb' but without any useful
results.

Building claws-mail with the debug flag has not helped either. The
backtrace still does not list any symbols.

The older version of claws-mail did work with this version ClamAV.

This is the output of gdb.


Start Log

Script started on Wed Jul 11 06:30:35 2007
GNU gdb 6.1.1 [FreeBSD]
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type show copying to see the conditions.
There is absolutely no warranty for GDB.  Type show warranty for details.
This GDB was configured as i386-marcel-freebsd...
(gdb) run --debug
Starting program: 
/usr/ports/mail/claws-mail/work/claws-mail-2.10.0/src/claws-mail --debug
warning: Unable to get location for thread creation breakpoint: generic error
[New LWP 100092]
claws.c:98:Starting Claws Mail version 020a
prefs_gtk.c:1087:new file '/home/gerard/.claws-mail/clawsrc'
prefs_gtk.c:1046:new section 'Plugins_GTK2'
prefs_gtk.c:1046:new section 'Plugins_Common'
prefs_gtk.c:1046:new section 'Common'
prefs_gtk.c:1046:new section 'GPG'
prefs_gtk.c:1046:new section 'Bogofilter'
prefs_gtk.c:1046:new section 'gtkhtml2'
prefs_gtk.c:1046:new section 'TrayIcon'
prefs_gtk.c:1087:new file '/home/gerard/.claws-mail/folderitemrc'
prefs_gtk.c:1025:cache: /home/gerard/.claws-mail/folderitemrc: No such file or 
directoryprefs_gtk.c:1125:destroying cache
[New Thread 0x82fb000 (LWP 100134)]
current dir: /usr/home/gerard
prefs.c:283:Found [Plugins_Common]
plugin.c:324:trying to load `/usr/local/lib/claws-mail/plugins/cachesaver.so'
plugin.c:394:Plugin CacheSaver (from file 
/usr/local/lib/claws-mail/plugins/cachesaver.so) loaded
current dir: /usr/home/gerard/.claws-mail
current dir: /usr/home/gerard
folder.c:120:registering folder class mh
folder.c:120:registering folder class imap
folder.c:120:registering folder class news
prefs_gtk.c:82:Reading configuration...
prefs_gtk.c:119:Found [Common]
prefs_gtk.c:144:Finished reading configuration.
prefs_themes.c:365:Creating preferences for themes...
stock_pixmap.c:492:dir /home/gerard/.claws-mail/themes not found, skipping 
theme scanprefs_actions.c:360:Reading actions configurations...
prefs_display_header.c:402:Reading configuration for displaying headers...
addressbook.c:3915:Reading address index...
addressbook.c:3947:done.
mainwindow.c:1142:Creating main window...
toolbar.c:627:read Toolbar Configuration from toolbar_main.xml
folderview.c:600:Creating folder view...
folderview.c:455:creating tree...
hooks.c:70:registed new hook for 'folder_update' as id 1
hooks.c:70:registed new hook for 'folder_item_update' as id 1
summaryview.c:583:Creating summary view...
hooks.c:70:registed new hook for 'msginfo_update' as id 1
hooks.c:70:registed new hook for 'folder_item_update' as id 2
hooks.c:70:registed new hook for 'folder_update' as id 2
messageview.c:348:Creating message view...
headerview.c:81:Creating header view...
noticeview.c:77:Creating notice view...
mimeview.c:210:Creating MIME view...
noticeview.c:77:Creating notice view...
textview.c:266:Creating text view...
hooks.c:70:registed new hook for 'msginfo_update' as id 2
logwindow.c:94:Creating log window...
hooks.c:70:registed new hook for 'log_append_text' as id 1
logwindow.c:94:Creating log window...
hooks.c:70:registed new hook for 'debug_append_text' as id 1
** Message: filtering log disabled

mainwindow.c:1393:done.
mainwindow.c:2707:Setting widgets... mainwindow.c:2926:done.
mainwindow.c:2037:called after messageview has been deallocated!
mainwindow.c:2037:called after messageview has been deallocated!
hooks.c:70:registed new hook for 'sslcert_ask' as id 1
hooks.c:70:registed new hook for 'progressindicator_hooklist' as id 1
account.c:200:Reading all config for each account...
account.c:215:Found label: Account: 1
codeconv.c:1435:current locale: C
prefs_gtk.c:82:Reading configuration...
prefs_gtk.c:119:Found [Account: 1]
prefs_gtk.c:144:Finished reading configuration.
prefs_gtk.c:82:Reading configuration...
prefs_gtk.c:119:Found [Account: 1]
prefs_gtk.c:144:Finished reading configuration.
prefs_gtk.c:82:Reading configuration...
prefs_gtk.c:119:Found [Account: 1]
prefs_gtk.c:144:Finished reading configuration.
prefs_gtk.c:82:Reading configuration...
prefs_gtk.c:119:Found [Account: 1]
prefs_gtk.c:144:Finished reading configuration.
prefs_gtk.c:82:Reading configuration...
prefs_gtk.c:119:Found [Account: 1]
prefs_gtk.c:144:Finished reading configuration.
prefs_gtk.c:82:Reading configuration...
prefs_gtk.c:119:Found [Account: 1]
prefs_gtk.c:144:Finished reading configuration.
prefs_gtk.c:82:Reading configuration...
prefs_gtk.c:119:Found [Account: 1]
prefs_gtk.c:144:Finished reading 

Re: without SSL

2007-07-11 Thread pj

Thanks for the speedy reply.
I saw something about this accf_http while checking the Web, but haven't 
got to trying that yet. I find it strange since this was never needed 
before - even in my previous installation of apache22.

I'll try it shortly.
Amitabh Kant wrote:

On 7/11/07, pj [EMAIL PROTECTED] wrote:


On top of this, when I try to stop apache with apachectl stop, apache
stops. But apachectl start gives :  [warn] (2) No such file or
directory: Failed to enable the 'httpready' Accept Filter


Phil


Either load the kernel module using kldload accf_http or insert the
following line in /boot.loader.conf :
accf_http_load=YES

Regards
Amitabh



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


Re: X11 forwarding problems in FreeBSD 6.2 - no xauth data?

2007-07-11 Thread Albert Shih
 Le 10/07/2007 à 14:41:01-0700, Pollywog a écrit
 On Sunday 08 July 2007 18:03:49 Pollywog wrote:
  I am having some problems with X11 forwarding. I can do X11 forwarding via
  ssh between two machines running Linux, but if I try to do this from
  FreeBSD (KDE) to either of the Linux machines, it only works if I use
  startx to start KDE on the fbsd machine (a laptop). If I start KDE from
  kdm, I get errors that go like this when I start the KDE app on the remote
  host running Linux: [EMAIL PROTECTED]:~$ kate
   Xlib: connection to localhost:11.0 refused by server
   Xlib: Invalid MIT-MAGIC-COOKIE-1 key
   kate: cannot connect to X server localhost:11.0
 
 I just did 'ssh' to one of the Linux hosts and when the connection was made, 
 I 
 got this:
 
 Warning: No xauth data; using fake authentication data for X11 forwarding.
 
 Does this possibly have something to do with the problem I mentioned in my 
 initial post in this thread?  I am going to Google that error and see if I 
 can find something.

Check where is the xauth app on the Linux box, and make

strings sshd|grep xauth

to check if it's the same path.

If don't you need to fix this with 

XAuthLocation

in your sshd_config file on the Linux box

Regards.
--
Albert SHIH
Observatoire de Paris Meudon
SIO batiment 15
Heure local/Local time:
Jeu 12 jul 2007 01:14:53 CEST
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Complete hang during boot at boot2 prompt

2007-07-11 Thread Feargal Reilly
On Wed, 11 Jul 2007 07:34:02 -1000
NetOpsCenter [EMAIL PROTECTED] wrote:

 Feargal Reilly wrote:
 
 Hi,
 
 There, I yanked a memory module, and it booted fine, albeit
 complaining about the degraded RAID array. However, when I
 reinserted the memory, it continued to boot. I didn't have the
 foresight to try it before I fiddled with the disks, but I
 can't imagine that it had been seated incorrectly as the
 server had been up for two months without problem. Also, the
 BIOS tests passed, although I know they aren't too in depth.
 I'll run sysutils/memtest anyway, and see what that throws up.
 
 Any other suggestions as to what caused the failure? I know
 I've changed the conditions and may never be able to
 reproduce it (nor do I want to), but if I've failing
 hardware, I'd like a best guess as to where it is.
 

 I have had memory chips walk out of the slots on several
 occasions. Sometimes its vibration or in Hawaii we have
 humidity issues occasionally that tend to cause this too.
 I have learned to spray the sockets and card connections with
 contact cleaner about every 6 months to avaid this problem.
 Especially in areas where servers are not in a cool
 environment.
 

It was operating in a climate controlled server room, so in
theory the sub-optimal, being stacked with three other servers,
all without rails, so I guess vibration is one plausible
explanation.

-fr.

-- 
Feargal Reilly, Chief Techie, FBI.
PGP Key: 0xBD252C01 (expires: 2006-11-30)
Web: http://www.fbi.ie/ | Tel: +353.14988588 | Fax: +353.14988489
Communications House, 11 Sallymount Avenue, Ranelagh, Dublin 6.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: ipv6 connection question

2007-07-11 Thread Mike Tancsa
On Wed, 11 Jul 2007 08:00:05 -0400, in sentex.lists.freebsd.questions
you wrote:


Hello:
   I've recently started getting these in the system log:

+TCP: [::1]:49478 to [::1]:4080 tcpflags 0x2SYN; tcp_input: Connection 
attempt to closed port

   The program affected works anyway, but I'd like to dispense
with the clutter.  What's happening, and is there a way to fix it
without re-compiling?  (E.g. firewall setting.)


Does
sysctl -w net.inet.tcp.log_in_vain=0
get rid of them ?

---Mike


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


Mike Tancsa, Sentex communications http://www.sentex.net
Providing Internet Access since 1994
[EMAIL PROTECTED], (http://www.tancsa.com)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: ipv6 connection question

2007-07-11 Thread Robert Huff
Mike Tancsa writes:

  +TCP: [::1]:49478 to [::1]:4080 tcpflags 0x2SYN; tcp_input: Connection 
 attempt to closed port
  
  Does
  sysctl -w net.inet.tcp.log_in_vain=0
  get rid of them ?

Thank you - this led me down a different path and I now know
what needs to happen.


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


Mouse deamon problems.

2007-07-11 Thread Desmond Chapman
I am installing FreeBSD and it does not recognize the USB ports, the PS/2 
port,  or even the mouse types: Intellimouse, Microsoft Mouse, Generic/Auto. 
How do I go about enabling the mouse daemon? And yes, I have tried the set 
up. It doesn't work. I have tried Xorgcfg and Xorgconfig. They don't work. 
Note: the mouse protocols will work for Linux distributions.


_
Local listings, incredible imagery, and driving directions - all in one 
place! http://maps.live.com/?wip=69FORM=MGAC01


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


Re: What about Creative SoundBlaster Audigy SE

2007-07-11 Thread Pieter de Goeje
On Wednesday 11 July 2007, Tommy Rehn wrote:
 Hello

 I have a  Creative SoundBlaster Audigy SE soundcard that works fine with
 the Fedora Core 7. But as I want to run FreeBSD 6.2-STABLE instead of
 linux I wonder why we can't use this soundcard in BSD.

 Is there an understandable workaround?

  From the FreeBSD/i386 6.2-RELEASE Hardware Notes
 The snd_emu10k1(4) driver supports the following sound cards:,,
*,,  Creative SoundBlaster Live! (EMU10K1 Chipset),
   *,,  Creative SoundBlaster Audigy (EMU10K2 Chipset),
   *,,  Creative SoundBlaster Audigy 2 (EMU10K2 Chipset),
   *,,  Creative SoundBlaster Audigy 2 (EMU10K3 Chipset)

 I hope to get a positive answer.
Unfortunately the Audigy SE is not supported. You can try the audio/emu10kx 
port, but last time I tried it wouldn't work either. As far as I know the 
only way to make it work is to install 4Front's OSS drivers from 
www.opensound.com.

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


Re: FreeBSD 6.2 default bind9, question about customize logging [re-post] (solved)

2007-07-11 Thread Edward Shabotinsky

hi,
i am not sure why local0 would not work at the bottom of the file
may be some sort of rules - first come, first serv

but, sorry i forgot to mention of the my syslog.conf file along with  
named.conf file


!named
*.* /var/log/bind/named.log


this is what i got, but i don't like to log named instances into /var/ 
log/messages



On Jul 11, 2007, at 8:14 AM, Patrick Dung wrote:



--- Doug Barton [EMAIL PROTECTED] wrote:


On Sunday,  8 July 2007 at 12:06:26 -0700, Patrick Dung wrote:

I am using FreeBSD 6.2 with the default bind (not ports).
By default chroot is used.


It's not a major issue, but it's probably worth pointing out that
whatever code base you use (base or ports) the behavior such as
chroot, logging, etc. is controlled by the combination of
/etc/rc.d/named and your named.conf options. Therefore this
discussion
applies equally well either way.


I use FreeBSD 6.2 with the named come with the base.

/etc/rc.conf
named_enable=YES   # Run named, the DNS server (or NO).
named_program=/usr/sbin/named # path to named, if you want a
different one.
#named_flags= # Flags for named
named_pidfile=/var/run/named/pid # Must set this in named.conf as
well
named_uid=bind# User to run named as
named_chrootdir=/var/named# Chroot directory (or  not to
auto-chroot it)
named_chroot_autoupdate=YES   # Automatically install/update  
chrooted

# components of named. See
/etc/rc.d/named.
named_symlink_enable=YES  # Symlink the chrooted pid file




When named start or stop, it does have log in /var/log/messages.
But for example, when some do domain transfer successfully, that

is not

logged (zone transfer denied is logged).


I have intentionally avoided adding more complex logging to the
default named.conf because it's very hard to decide which way to land
on this to make the most people happy (and/or the least people mad).
I
am of course always open to suggestions. :)


I need to log successful domain transfer for debugging purpose (which
slave/client has done domain transfer at what time).




So I tried to add this part in named.conf (enabled local0.* in
syslog.conf) , but still no luck. Any suggestions?


The obvious ones, did you HUP the daemon after you changed the conf,
and did you pre-create any new files that syslogd is supposed to
write
to for the local0 facility? Can you share your syslog.conf line for
this? Do you get any joy when you try 'logger -plocal0.info blah' ?


logging {
channel named-log {


While I don't see that it's explicitly forbidden to use a - in a
channel name, every example I've ever seen or used myself uses an
underscore instead (named_log).


//syslog daemon;
syslog local0;
severity info;
print-category yes;
};
 category default { named-log; };
 category xfer-in { named-log; };
 category xfer-out { named-log; };
 category unmatched { null; };
};


This all looks good (modulo the - issue I mentioned above), and I use
something similar myself, so once you're sure you can write to the
syslog facility, you should be able to get this to work.

I should probably also point out that unless you really need this to
go to syslog, you're probably better off writing to a file channel
instead (less overhead, especially on a busy server). Either way
there
is information in the ARM that will help you,
/usr/share/doc/bind9/arm.



After furher testing, I got my problem solved.
1. I found named-log is ok to use.
2. I did not need to change my previous named.conf.
3. The problem is in /etc/syslog.conf

With the default /etc/syslog.conf, I have add a line:
local0.*/var/log/messages
There is a difference on where I put it, if I put it at the bottom of
the file, even `logger -p local0.info test` will not work.
If it put that line on the top-most of syslog.conf, everything is
working fine...

BTW, could anyone explain why putting local0.* /var/log/messages at  
the

bottom of syslog.conf will not work?

Regards
Patrick



hth,

Doug

--

This .signature sanitized for your protection






__ 
__
Looking for a deal? Find great prices on flights and hotels with  
Yahoo! FareChase.

http://farechase.yahoo.com/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-isp
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]


could not install from the ports

2007-07-11 Thread Prakash Poudyal

Hello everybody,

I do have problem while installing through the ports.

#cd /usr/ports/ftp/wget
#make install clean
Following error message displays

On FreeBSD before 6.2 ports system unfortunately can not set default X11BASE
by itself so please  help it a bit by setting X11BASE=${LOCALBASE} in
make.conf. On the other hand ,if you do wish USE_NONDEFAULT_X11BASE, please
set variable USE_NONDEFAULT_X11BASE

***ERROR code 1
stop




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


Re: Mouse deamon problems.

2007-07-11 Thread Nikola Lecic
On Thu, 12 Jul 2007 00:55:24 +
Desmond Chapman [EMAIL PROTECTED] wrote:

 I am installing FreeBSD and it does not recognize the USB ports, the
 PS/2 port

What does this mean FreeBSD does not recognize the USB port...?
Please send here something more, 'dmesg'/'uname -a' output, etc.

 or even the mouse types: Intellimouse, Microsoft Mouse,
 Generic/Auto.

The same as above.

 How do I go about enabling the mouse daemon? And yes, I
 have tried the set up. It doesn't work. I have tried Xorgcfg and
 Xorgconfig. They don't work.

Now, you are speaking about X.org. Please send the relevant part
of /etc/X11/xorg.conf. (If xorgcfg doesn't work, then your Xorg install
is bad -- please describe how you installed Xorg, etc.)

 Note: the mouse protocols will work for Linux distributions.

For something simple like mouse setup, I'd first think that I do
something wrong before I share with others such a useful insight.

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: X11 forwarding problems in FreeBSD 6.2 - no xauth data? [SOLVED]

2007-07-11 Thread Pollywog
On Wednesday 11 July 2007 23:17:42 Albert Shih wrote:
  Le 10/07/2007 à 14:41:01-0700, Pollywog a écrit

  On Sunday 08 July 2007 18:03:49 Pollywog wrote:
   I am having some problems with X11 forwarding. I can do X11 forwarding
   via ssh between two machines running Linux, but if I try to do this
   from FreeBSD (KDE) to either of the Linux machines, it only works if I
   use startx to start KDE on the fbsd machine (a laptop). If I start KDE
   from kdm, I get errors that go like this when I start the KDE app on
   the remote host running Linux: [EMAIL PROTECTED]:~$ kate
Xlib: connection to localhost:11.0 refused by server
Xlib: Invalid MIT-MAGIC-COOKIE-1 key
kate: cannot connect to X server localhost:11.0
 
  I just did 'ssh' to one of the Linux hosts and when the connection was
  made, I got this:
 
  Warning: No xauth data; using fake authentication data for X11
  forwarding.
 
  Does this possibly have something to do with the problem I mentioned in
  my initial post in this thread?  I am going to Google that error and see
  if I can find something.

 Check where is the xauth app on the Linux box, and make

   strings sshd|grep xauth

 to check if it's the same path.

 If don't you need to fix this with

   XAuthLocation

 in your sshd_config file on the Linux box

I tried that and it did not solve the problem, but you gave me an idea and it 
worked.

I put 'XAuthLocation pathto_xauth' in my ~/.ssh/config on the FreeBSD box 
and that fixed the problem for both Linux boxes; I can connect to either of 
them and run X apps.

I believe that if I do the same thing on each of the Linux boxes, I should be 
able to connect to the FreeBSD host and run X apps.

Also, instead of each user having to do the above modification, I will 
put 'XAuthLocation' in /etc/ssh/ssh_config (instead of sshd_config) globally 
and that should take care of this issue.


thank you for your help

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


Re: could not install from the ports

2007-07-11 Thread Paul procacci

Prakash Poudyal wrote:

Hello everybody,

I do have problem while installing through the ports.

#cd /usr/ports/ftp/wget
#make install clean
Following error message displays

On FreeBSD before 6.2 ports system unfortunately can not set default 
X11BASE

by itself so please  help it a bit by setting X11BASE=${LOCALBASE} in
make.conf. On the other hand ,if you do wish USE_NONDEFAULT_X11BASE, 
please

set variable USE_NONDEFAULT_X11BASE

***ERROR code 1
stop




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


If your machine is a version of BSD prior to 6.2, and you haven't 
touched anything regarding the X11 base dirs, then what this message 
means, it to do the following:


echo 'X11BASE=${LOCALBASE}'  /etc/make.conf


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


Re: Mouse deamon problems.

2007-07-11 Thread Pollywog
On Thursday 12 July 2007 00:55:24 Desmond Chapman wrote:
 I am installing FreeBSD and it does not recognize the USB ports, the PS/2
 port,  or even the mouse types: Intellimouse, Microsoft Mouse,
 Generic/Auto. How do I go about enabling the mouse daemon? And yes, I have
 tried the set up. It doesn't work. I have tried Xorgcfg and Xorgconfig.
 They don't work. Note: the mouse protocols will work for Linux
 distributions.

I had similar problems and one fix was to execute sysinstall and go to the 
postinstall configuration menu and reconfigure the mouse.  That is what 
worked for me.  BTW I installed FreeBSD on a laptop and it was the touchpad 
mouse that did not work, but it works now.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: how to start apache22 without ssl

2007-07-11 Thread pj

I had already done what you suggest.
I don't recall where I found the -DNOHTTPACCEPT directive.
I don't understand why I would use it. Never ran into this before.
Anyway, apache is working but still with this ssl problem.

Chuck Swiger wrote:

On Jul 11, 2007, at 11:24 AM, pj wrote:

I can't find any clue as to how to start apache22 without SSL.

What is httpd -DNOHTTPACCEPT ?

Thanks for any help...


Use apachectl configtest first to make sure the config is valid, then 
apachectl start.  To make this permanent, add something like:


   apache2_enable=YES

...to /etc/rc.conf.

The -DNOHTTPACCEPT controls or disables the AcceptFilter directive; see:

http://httpd.apache.org/docs/2.2/mod/core.html#acceptfilter
http://www.freebsd.org/cgi/man.cgi?query=accept_filtersektion=9

---Chuck




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


Re: without SSL

2007-07-11 Thread pj

Chuck Swiger wrote:

On Jul 11, 2007, at 10:22 AM, pj wrote:

I can access apache from my windows machine: It works
But I cannot access http://biggie:1 - message says: try https://...
that does bring up the Webmin page. I know apache listens on port 80, 
but why https to get the Webmin page?


Umm, so you don't send your Webmin password through the Internet in 
plain text, rather than via SSL encryption.

I only use the server locally on my local network so I don't need the SSL.


Webmin uses it's own internal webserver, which is unrelated to Apache.

OK, thanks for that, I didn't know.



I cannot access http or https://biggie:931 (Swat) Unable to connect


There's no real need to use swat when you've got the ability to edit the 
samba config directly or via Webmin, but if you really wanted to, you 
could presumably set it up to run in inetd.conf.  See man swat.
Agreed. I don't like to use Webmin except to see if I may have missed 
something. It does not have the correct settings on startup.



Is my configuration wrong for samba? What's with the ssl?


You haven't provided any specific information about your Samba config, 
and most people aren't good at reading minds, so you'll need to either 
do something like run Samba's testparms and/or look over the Samba 
logfiles
I finally found that Samba was looking for a guest account - I had not 
set it up. Now it's working ok.


I tried to reinstall (unsuccessfully -D NOSSL) apache22 without SSL. 
How can I disable the SSL I don't need SSL as I am using FBSD6.2 only 
on my local network.


Unless you've configured an SSL cert, the default ought to be to run 
Apache without SSL...?
I have not configured the SSL cert but no matter what I do, apache still 
runs with SSL. According to the manuals, apache is compiled with SSL by 
default for version 2.2.4. I have tried to # the ssl_module in 
httpd.conf with no results at all. That was the first thing I actually 
tried when I saw it was running SSL.


---Chuck




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


Re: how to start apache22 without ssl

2007-07-11 Thread pj

Schiz0 wrote:

On 7/11/07, pj [EMAIL PROTECTED] wrote:

I can't find any clue as to how to start apache22 without SSL.

What is httpd -DNOHTTPACCEPT ?

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




Apache22 from ports doesn't use SSL by default. Check your httpd.conf
file and make sure the LoadModule for ssl_module line is commented
out.

The latest 2.2.4 does by default. The first thing I had done was to 
comment out the ssl_module. But that did not change anything.

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


Re: how to start apache22 without ssl

2007-07-11 Thread pj

Steve Bertrand wrote:

Apache22 from ports doesn't use SSL by default. Check your httpd.conf
file and make sure the LoadModule for ssl_module line is commented
out.


I'm near certain that it does, but then again I may be wrong. From Makefile:

Apparently 2.2.4 compiles SSL by default.


.if !defined(WITHOUT_SSL_MODULES)
USE_OPENSSL=yes
.endif

...and this shows up in Makefile.doc as a configure argument:

##  WITHOUT_SSL:  Disable SSL support


Yes, I see that. But I tried to make WITHOUT_SSL and I get: don't know 
how to make WITHOUT_SSL. Stop

same thing for WITHOUT_SSL_MODULES.
I have tried about all I can think of from commenting out the ssl_module 
in httpd.conf to reinstalling the port but nothing seems to work.


Something smells rotten here...

Now, here's a weird possibility to think about... when reinstalling 
FBSD6.2 and adding some of the programs, I noticed that the compiling 
seemed to have detected already installed configuration files... this 
seems impossible, but  I had deleted the partitions on the disk but 
had not done a full erase... Could that possibly be causing the problems?


Once I have the apache2.2.4 installation corrected I still have to deal 
with CUPS and OpenOffice. Strangely, Xorg was a piece of cake

Java 1.5.0 from SUN was impossible - wound up with Diablo-java...

Thanks for any further help
Phil



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


Question re reducing a file system in FreeBSD 6.2

2007-07-11 Thread irene . kelly
Hi,

I have a question re reducing a filesystem in FreeBSD 6.2 - I am new to 
FreeBSD - I am use to AIX

We have FreeBSD installed on a dell 1950 - I would like to reduce the size 
of /usr   in case I want to added the space to another file system.
We currently have all our space allocated as follows.

Here is the set-up

$ df -h
Filesystem   SizeUsed   Avail Capacity  Mounted on
/dev/mfid0s1a1.9G 59M1.7G 3%/
devfs1.0K1.0K  0B   100%/dev
/dev/mfid0s1d1.9G 14K1.8G 0%/tmp
/dev/mfid0s1f 58G3.2G 50G 6%/usr
/dev/mfid0s1e1.9G 58M1.7G 3%/var
$ mount
/dev/mfid0s1a on / (ufs, local)
devfs on /dev (devfs, local)
/dev/mfid0s1d on /tmp (ufs, local, soft-updates)
/dev/mfid0s1f on /usr (ufs, local, soft-updates)
/dev/mfid0s1e on /var (ufs, local, soft-updates)

In AIX I can reduce the filesystem on the fly - however I don't think I 
can do that with FreeBSD from what I have seen and I am not sure how this
would be done consdering it is /usr I would like to reduce.
I am currently looking at google to see what I can find.

Any Suggestions you have would be helpful.

Thank you 
Regards
Irene

NOTICE
This email and any attachments are confidential. They may contain privileged 
information or copyright material. If you are not an intended recipient, you 
should not read, copy, use or disclose the contents without authorisation and 
we request you contact us at once by return email. Please then delete the 
email and any attachments from your system.  We do not accept liability in 
connection with computer viruses, data corruption, delay, interruption, 
unauthorised access or unauthorised amendment. Any views expressed in this 
email and any attachments do not necessarily reflect the views of the 
company.

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


Re: without SSL

2007-07-11 Thread Daniel Marsh

On 7/12/07, pj [EMAIL PROTECTED] wrote:


Chuck Swiger wrote:
 On Jul 11, 2007, at 10:22 AM, pj wrote:
 I can access apache from my windows machine: It works
 But I cannot access http://biggie:1 - message says: try https://...
 that does bring up the Webmin page. I know apache listens on port 80,
 but why https to get the Webmin page?

 Umm, so you don't send your Webmin password through the Internet in
 plain text, rather than via SSL encryption.
I only use the server locally on my local network so I don't need the SSL.

 Webmin uses it's own internal webserver, which is unrelated to Apache.
OK, thanks for that, I didn't know.

 I cannot access http or https://biggie:931 (Swat) Unable to connect

 There's no real need to use swat when you've got the ability to edit the
 samba config directly or via Webmin, but if you really wanted to, you
 could presumably set it up to run in inetd.conf.  See man swat.
Agreed. I don't like to use Webmin except to see if I may have missed
something. It does not have the correct settings on startup.

 Is my configuration wrong for samba? What's with the ssl?

 You haven't provided any specific information about your Samba config,
 and most people aren't good at reading minds, so you'll need to either
 do something like run Samba's testparms and/or look over the Samba
 logfiles
I finally found that Samba was looking for a guest account - I had not
set it up. Now it's working ok.

 I tried to reinstall (unsuccessfully -D NOSSL) apache22 without SSL.
 How can I disable the SSL I don't need SSL as I am using FBSD6.2 only
 on my local network.

 Unless you've configured an SSL cert, the default ought to be to run
 Apache without SSL...?
I have not configured the SSL cert but no matter what I do, apache still
runs with SSL. According to the manuals, apache is compiled with SSL by
default for version 2.2.4. I have tried to # the ssl_module in
httpd.conf with no results at all. That was the first thing I actually
tried when I saw it was running SSL.

 ---Chuck


Show us your httpd.conf?

It's probably something as simple as uncommenting everything to do with SSL
in httpd.conf, if compiled with SSL, Apache likes to automagically setup a
virtual host using SSL.

There should also be a command line argument to apachectl or httpd that can
be set with apache_flags=--disable-ssl (or something similar) so the RC
scripts know how to load Apache. Read through
/usr/local/etc/rc.d/apache-script, you'll get some information through that.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: how to start apache22 without ssl

2007-07-11 Thread pj

Schiz0 wrote:

On 7/11/07, Steve Bertrand [EMAIL PROTECTED] wrote:

 Apache22 from ports doesn't use SSL by default. Check your httpd.conf
 file and make sure the LoadModule for ssl_module line is commented
 out.

I'm near certain that it does, but then again I may be wrong. From 
Makefile:


.if !defined(WITHOUT_SSL_MODULES)
USE_OPENSSL=yes
.endif

...and this shows up in Makefile.doc as a configure argument:

##  WITHOUT_SSL:  Disable SSL support

Steve



It has the ability to use SSL, but the SSL module isn't enabled by default
It appears to have been enabled by default on my machine and I can't get 
rid of it no matter what I try. Should I post my httpd.conf file?



___
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: Mouse deamon problems.

2007-07-11 Thread Martin Tournoij
On Thu 12 Jul 2007 00:07, Desmond Chapman wrote:
 I am installing FreeBSD and it does not recognize the USB ports, the PS/2 
 port,  or even the mouse types: Intellimouse, Microsoft 
 Mouse, Generic/Auto. How do I go about enabling the mouse daemon? And yes, I 
 have tried the set up. It doesn't work. I have tried 
 Xorgcfg and Xorgconfig. They don't work. Note: the mouse protocols will work 
 for Linux distributions.

You first have to start moused, the default xorg configuration will
usually work after that.

For a PS/2 mouse:
moused -t auto -p /dev/psm0

For a USB mouse:
moused -t auto -p /dev/ums0

You probably want to start moused automatically when FreeBSD boots, add
this line to /etc/rc.conf:

For a PS/2 mouse
moused_enabled=yes

For a USB mouse
moused_enabled=yes
moused_port=/dev/ums0

You may also want to take a look at the moused and/or ums manpages:
man 8 moused
man 4 ums
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]