FreeBSD Server Settings Consult

2008-05-02 Thread Free BSD
We've been having some problems with our server and I was wondering if
someone had any advice or suggestions for our current system settings.

# cat /etc/sysctl.conf

kern.ipc.maxsockbuf=1048576
net.inet.tcp.sendspace=65536
net.inet.tcp.recvspace=65536
net.local.stream.recvspace=65536
net.local.stream.sendspace=65536
net.inet.udp.recvspace=65536
net.inet.udp.maxdgram=65535
kern.ipc.somaxconn=8192
kern.maxvnodes=132072
kern.maxfiles=65535
kern.maxfilesperproc=65536
net.inet.tcp.msl=7500
net.inet.tcp.mssdflt=1460
security.bsd.see_other_uids=0
security.bsd.see_other_gids=0
kern.fallback_elf_brand=3
net.inet.tcp.newreno=1
net.inet.tcp.rfc1323=1
net.inet.tcp.delayed_ack=0
net.inet.ip.check_interface=0
vfs.vmiodirenable=1
net.inet.ip.portrange.randomized=1
net.inet.icmp.bmcastecho=0
net.inet.icmp.maskrepl=0
net.inet.icmp.icmplim=500
kern.randompid=89061
net.inet.icmp.drop_redirect=1
net.inet.icmp.log_redirect=0
net.inet.ip.random_id=89061
net.inet.ip.rtexpire=2
net.inet.ip.rtmaxcache=256
net.inet.ip.rtminexpire=2
net.inet.tcp.blackhole=2
net.inet.tcp.icmp_may_rst=0
net.inet.tcp.inflight.enable=0
net.inet.tcp.log_in_vain=0
net.inet.tcp.sack.enable=1
net.inet.udp.blackhole=1
net.inet.udp.log_in_vain=0
net.link.ether.inet.log_arp_wrong_iface=0
net.link.ether.inet.max_age=1200


# cat /boot/loader.conf

kern.ipc.maxsockets=32768
kern.ipc.nmbclusters=32768
kern.ipc.nmbufs=131072
kern.ipc.shm_use_phys=1
kern.maxproc=8192
net.inet.tcp.tcbhashsize=16384
kern.maxfiles=65535
kern.maxfilesperproc=65536

# cat /etc/rc.conf (minus networking)

clear_tmp_enable=YES
update_motd=NO
tcp_extensions=YES
firewall_enable=YES
firewall_script=/etc/ipfw.rules
linux_enable=YES
sshd_enable=NO
usbd_enable=NO

fsck_y_enable=YES
oidentd_enable=YES
pureftpd_enable=no

syslogd_enable=YES
syslogd_flags=-ss

ntpd_enable=YES
ntpd_flags=-4 -p/var/run/ntpd.pid
tcp_keepalive=YES
icmp_bmcastecho=NO
icmp_bandlim==YES

portmap_enable=NO
icmp_drop_redirect=YES
quota_enable=YES
check_quotas=YES
#accounting_enable=YES
named_program=/usr/sbin/named
named_flags=-u bind -c /etc/namedb/named.conf
named_enable=YES
local_startup=/usr/local/etc/rc.d
openssh_enable=YES
openssh_flags=-4 -f/etc/ssh/sshd_config
openssh_pidfile=/var/run/sshd.pid
sendmail_enable=NO
network_interfaces=rl0 lo0
webmin_enable=YES
dumpdev=AUTO
dumpdir=/var/crash
courier_imap_imapd_enable=YES
courier_imap_imapd_ssl_enable=YES
courier_imap_pop3d_enable=YES
courier_imap_pop3d_ssl_enable=YES
courier_authdaemond_enable=YES
tor_enable=NO
chkservd_enable=YES
apop3d_enable=NO
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FreeBSD Server Settings Consult

2008-05-02 Thread Free BSD
Well from bad experience that goes no where, due-to rare issue and no
supporting logs/core dumps... Therefore that be a complete no :(

On Fri, May 2, 2008 at 11:30 AM, Bob Hall [EMAIL PROTECTED] wrote:

 On Fri, May 02, 2008 at 07:28:44AM -0400, Free BSD wrote:
  We've been having some problems with our server and I was wondering if
  someone had any advice or suggestions for our current system settings.

 You'll probably get more help if you post the problems and any
 diagnostic info. :)
 ___
 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]


FBSD install on Intel Modular Server System MFSYS25

2008-03-26 Thread bsd

Hello,

I am planning to buy an Intel Modular Server System MFSYS25

http://www.intel.com/products/server/modularserver/system/index.htm

I wanted to know if anyone of you has already tried to install FreeBSD  
on such device and If he was kind enough to let me know the problems  
he has been facing (if any)…




Thank you very much.



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]


Planing hardware / software for a potential gro wfs… 

2008-03-20 Thread bsd

Hello,


I am planning to setup various services (including mail server, DNS  
server, hosting / web services) that could potentially grow in a very  
important way.


As a resonable person - I would like to plan It for my actual needs  
(suiting the first year of exploitation = 1Tb) and after that  
eventually grow the file system using the most simple and less anoying  
solution…


I wanted to have your point of view on the potential way to build the  
best hosting solution, knowing that most important things are:


- Use (if possible) a 100% compatible FBSD solution.
- Also be compatbile with other flavor of Unix (Linux,…).
- Offer an expandable and simple to manage solution for storage.
- Figure out a good solution for backup.


Today I have 2 solutions in mind:

1. Use a blade system including 2 or 3 blades at first with an  
external attached storage device (whom type has to be defined);
2. Use various servers on their own and dispatch services accordingly  
on each server.

3. Another solution…


I wanted to know:

- If anyone has been using blade system with FreeBSD and what problem  
he has been facing?
- If you have some specific advise regarding File System configuration  
or options?

- What storage solution you find best and easiest to manage?


Main point is: stability and sustainable.


Thanks for your support.


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]


freebsd-update moving from GENERIC to SMP

2008-03-14 Thread bsd

Hello,


I have updated my server yesterday from 5.5 to 6.3 using the cvsup  
classical method.

Everything went fine but I forgot to deploy an SMP kernel :-(

Is there a way to deploy a 6.3 SMP using freebsd-update method (which  
is fantastic).



Thanks for your answer.



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]


portupgrade -fa after system upgrade from 5.5 to 6.3

2008-03-14 Thread bsd

Hello,


I have updated from 5.5 to 6.3 and wanted to know if It advisable to  
make a :


# potupgrade -fa


Knowing that I have kept my port tree up to date and have no outdated  
ports.



Simply put, the question is: should I force recompile all my installed  
ports since I have updated my system?




Thanks for your answer.




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]


Space needed on device

2008-03-05 Thread bsd

Hello,

After an update I have little space left on the / device


Filesystem SizeUsed   Avail Capacity  Mounted on
/dev/ar0s1a3.8G3.1G414M88%/
devfs  1.0K1.0K  0B   100%/dev
/dev/ar0s1d 60G2.2G 53G 4%/home


I wanted to know if I can safely delete /usr/local/etc/cvsup/sup

This beeing the default base for my previous kernel / system update


*default host=cvsup5.fr.FreeBSD.org
*default base=/usr/local/etc/cvsup
*default prefix=/usr
*default tag=RELENG_5_5
*default release=cvs delete use-rel-suffix compress
src-all



Are there any other file I should be removing ?

Knowing that I have already removed /boot/kernel.old

…



Thanks for your support.




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: Space needed on device

2008-03-05 Thread bsd

Le 5 mars 08 à 14:24, Pietro Cerutti a écrit :


-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

bsd wrote:

Hello,

After an update I have little space left on the / device


Filesystem SizeUsed   Avail Capacity  Mounted on
/dev/ar0s1a3.8G3.1G414M88%/
devfs  1.0K1.0K  0B   100%/dev
/dev/ar0s1d 60G2.2G 53G 4%/home


Given your current partition setup, I would consider backing up your
data and re-partition your system in a some more smart way ;-)

Follow the hints in the handbook:
http://www.freebsd.org/doc/fr_FR.ISO8859-1/books/handbook/install-steps.html



I wanted to know if I can safely delete /usr/local/etc/cvsup/sup


I don't know if it would bring you much.. Such a directory weights  
50MB

on my system..


So the answer is yes, … It can be removed ?





Are there any other file I should be removing ?


Yes, you can remove /usr/obj ...


Mmmh, much better :

14:33:05 /usr/obj # df -h
Filesystem SizeUsed   Avail Capacity  Mounted on
/dev/ar0s1a3.8G2.6G931M74%/
devfs  1.0K1.0K  0B   100%/dev
/dev/ar0s1d 60G2.2G 53G 4%/home

I know the scheme was not so good in the first place, but I don't want  
to go into all the hastle of reconfiguring a new system from scratch.  
Could maybe use some good advise on using smthg like dump to do this  
operation… ?







Thanks for your support.


Hope this helps,


Yes. Thanks.






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




- --
Pietro Cerutti

PGP Public Key:
http://gahr.ch/pgp
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.2.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHzp8rwMJqmJVx944RAsquAKDCE4BArzVVZRRZrHmkqgtjqTbPlQCdGudr
T4hfcZD1cqhAiOjmvYV+8JA=
=B5om
-END PGP SIGNATURE-



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: Disk Geometry

2008-02-28 Thread ras bsd
On 28/02/2008, Jerry McAllister [EMAIL PROTECTED] wrote:
 On Thu, Feb 28, 2008 at 12:48:37AM +0100, ras bsd wrote:

   Hello list, this is my first post here.
  
   My problem is:
  
   I've installed the OS in my laptop in this order, Win XP and Debian
   GNU/Linux. I'm trying to dive into the freebsd world from many years
   in GNU/Linux. When i start the installation, when i have to enter in
   the disk partition section an error appears saying that the disk
   geometry is not valid and, anyway, I can not see the free disk space
   that i left free after the other OS. My scope is keep working the
   three OS.
   How can i know the correct disk geometry? What am i doing wrong?


 Well, I don't know why it does not see the free space unless you
  are looking in the wrong step.   There is often confusion by new
  users who come from the MS world because FreeBSD uses the term 'slice'
  and MS uses the term 'primary partition' to refer to the same thing.
  Due to ancient conventions in Bios and etc, there can be up to 4 slices
  (or primary partitions) on any physical disk.

  Lunix has its own notion of extended partition as well.  Don't try
  to use that for FreeBSD.

  FreeBSD must be installed/built in a free slice (primary partition by
  MS vocabulary).   It cannot be put in some extended partition space.

  It is possible that you have already used up the 4 slices if the laptop
  manufacturer put a diagnostic utility slice on the drive.  That is
  normally hidden from MS, but will show up to FreeBSD.  If that is true,
  and you have used up the number of slices, then FreeBSD will not allow
  you to add any.  You will need to use a tool such as 'gparted'  or
  Partition Magic to shuffle things around and maybe squeeze the other
  slices and even nuke one.

  Then FreeBSD uses the term 'partition' to refer to the subdivisions
  of a slice.  MS has some things called extended partitions which are
  not the same thing at all.

  Anyway, the point where you first need to see the free space is in
  the step dealing with the slices which is done with fdisk(8).

  As for the disk geometry issue, it normally does not matter.  That
  is the BIOS complaining.   You want to just let it go ahead and
  build things and try to ignore that error message.   Once it gets
  past loading the boot sector from a slice, FreeBSD no longer used
  the BIOS.   It handles everything itself.

  There are exceptions to this response, but go ahead (once you get the
  free space issue figured out) and try it and see if it works.  It
  won't hurt anything and if it works, you're home free.  If it doesn't
  then you have some more exploring to do.I am not quite sure what
  because although I have frequently seen that message - almost all
  the time, I have never had it not work to just go ahead and slice,
  partition and build and ignore the message.  That is with both IDE(SATA)
  and SCSI(SAS).

  So, your real problem is finding that elusive free slice space or
  freeing up a slice number to use for it.

  Good luck,

  jerry


  
   Mi laptop is Intel Core2 Duo and the Hard Disk is SATA 200 Gb Toshiba
   MK2035GSS-(S1).
  
   Thank you.

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

Thank you very much Jerry.

It was the problem, I had the free space in a extended partition made
of ext3fs Linux. The solution was move the space and leave that
partition totally unalocated. After that everything was ok with the
installation. I'm on it.

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


Disk Geometry

2008-02-27 Thread ras bsd
Hello list, this is my first post here.

My problem is:

I've installed the OS in my laptop in this order, Win XP and Debian
GNU/Linux. I'm trying to dive into the freebsd world from many years
in GNU/Linux. When i start the installation, when i have to enter in
the disk partition section an error appears saying that the disk
geometry is not valid and, anyway, I can not see the free disk space
that i left free after the other OS. My scope is keep working the
three OS.
How can i know the correct disk geometry? What am i doing wrong?

Mi laptop is Intel Core2 Duo and the Hard Disk is SATA 200 Gb Toshiba
MK2035GSS-(S1).

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


License Question

2008-01-21 Thread Free BSD
Hello, i have a question about licensing FreeBSD: i would be like install 
freebsd in corporation on workstation (don't servers). Its free ? Or FreeBSD 
free for individual using ?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


visual php framework to handle FTP mail

2008-01-11 Thread bsd

Hello,

I am using Freebsd as a mail server since a long time as an ISP.
I have been configuring all my server using comand line and was very  
happy with that…


But some of my clients are asking for a good visual interface that  
will allow them to manage their mail accounts themself.

Of course I am using an up to date FreeBSD server.

My mail server is configured using these tools :

- postfix
- amavisd-new
- spamassassin
- dcc-dccifd
- p0f



If possible I would like to have a 100% compatible tool (with a port  
on the FreeBSD ports) that will allow each of my clients to:


- configure e-mail settings for it's own domain.
- configure filtering for it's domain.
- have a super admin that I will be using to create accounts and do  
high level admin…

- Ideally should be compatibel with PHP5  MySQL 5

- Product should be robust and steady.

The same should be true to administer FTP… ideally using ProFTPD … but  
I am more flexible on that issue.



Thanks for your answers.

Sincerly yours;



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]


Calculating checksum in ports

2007-12-03 Thread bsd

Hello,

There is a way to calculate the checksum in ports using make with an  
argument…


I can't remember the name of the argument…



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: named problems

2007-11-25 Thread bsd

Bind works perfectly out of the box on most FBSD recent versions.

You should not move things out of the path they have been setup to.
Specially on FBSD /etc is reserved for system files.

By default bind is installed in /var/named and should be kept there.

If I was you I would :
1. install the latest bind version from the port //
2. make sure you don't touch things unless absolutely necessary.
3. copy paste of modify the /var/named/etc/namedb/named.conf so that  
It corresponds to your needs.

4. make sure the /etc/rc.conf has the correct named values.
5. start it with the /usr/local/etc/rc.d/ script for named //

Been runing this one with 1000 zones as both masters and slave never  
had any problem.


If you have more issue could give you a help on debuging bind.

My advice : STICK TO THE FBSD RULES AND PATH unless you perfectly know  
what you are doing.




Le 25 nov. 07 à 20:19, jekillen a écrit :


Hello;
I am having some named problems:
The daemon will not start and run on system startup.
There is plenty of info on problems when named
is running, but not when it will not start.
I did get it to start after boot with
#named (su to root without - option)
It started and ran as demonstrated
with ps -aux. But the listing was
just user (me as mortal user) and
named as process (not as a path
to an executable, as is normal
for other processes).
The console messages at start up
gives me configuration file not found
errors. The files are there.
/etc/namedb/named.conf, rndc.key
/etc/namedb is a link to /var/named/etc/namedb where the config
files are. It is set up to be a slave server
for four domains.
How can I go about debugging this
situation?
My suspicions are ownership and permissions
are wrong, but how, and how to fix; ??
Thanks in advance
Jeff k



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]


Problem with pinentry-curses On FBSD 5.5…  

2007-10-31 Thread bsd

Hello,


As you are the developer for this port, I thaught you could help…

I am still having this problem with pinentry-curses 0.7.3 :


pinentry in free(): error: chunk is already free
gpg-agent[24082]: command get_passphrase failed: End of file
gpg: problem with the agent: IPC write error
gpg: Invalid passphrase; please try again ...

You need a passphrase to unlock the secret key for
user: Greg Bernard [EMAIL PROTECTED]
1024-bit DSA key, ID 1BA3C2FD, created 2002-01-14

gpg: problem with the agent: IPC write error
gpg: no default secret key: General error
gpg: signing failed: General error


Works perfectly on my OS X machine but not on FreeBSD…
My passphrase has not changed !


Any clue ?


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]


PHP4 v. php4-4.4.7_2 refuse to upgrade …

2007-10-04 Thread bsd

Hello,


I am using

FreeBSD xxx.fr 5.5-RELEASE-p9 FreeBSD 5.5-RELEASE-p9 #1: Thu Dec 14  
11:39:18 CET 2006 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/ 
GENERIC  i386



When trying to upgrade from php php4-4.4.7_1 to php4-4.4.7_2 there is  
this strange error…



Updating the pkgdb format:bdb_btree in /var/db/pkg ... - 209  
packages found (-3 +1) (...). done]

---  Upgrading 'php4-4.4.7_1' to 'php4-4.4.7_2' (lang/php4)
---  Building '/usr/ports/lang/php4'
===  Cleaning for autoconf-2.61_2
===  Cleaning for php4-4.4.7_2
===  php4-4.4.7_2 has known vulnerabilities:
= php -- multiple vulnerabilities.
   Reference: http://www.FreeBSD.org/ports/portaudit/ 
71d903fc-602d-11dc-898c-001921ab2fa4.html

= Please update your ports tree and try again.
*** Error code 1

Stop in /usr/ports/lang/php4.
*** Error code 1

Stop in /usr/ports/lang/php4.
** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portupgrade. 
24846.54 env UPGRADE_TOOL=portupgrade UPGRADE_PORT=php4-4.4.7_1  
UPGRADE_PORT_VER=4.4.7_1 make

** Fix the problem and try again.


I don't understand because my port tree is up to date !!

Any idea ?



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]


Slight problem with pinentry / gnupg

2007-09-29 Thread bsd
Hello, It seems I have a slight problem when trying to issue a simple  
pgp command such as :




# gpg -v --detach-sign -a tmp.txt

┌─── 
─┐

│ You need a passphrase to unlock the secret key for user:  │
│ Greg Bernard [EMAIL PROTECTED]│
│ 1024-bit DSA key, ID 1BA3C2FD, created 2002-01-14 │
│   │
│ Passphrase *_ │
│   │
│ OK   Cancel   │
└─── 
─┘


pinentry in free(): error: chunk is already free
gpg-agent[4248]: command get_passphrase failed: End of file
gpg: problem with the agent: IPC write error
gpg: Invalid passphrase; please try again ...

You need a passphrase to unlock the secret key for
user: Greg Bernard [EMAIL PROTECTED]
1024-bit DSA key, ID 1BA3C2FD, created 2002-01-14

gpg: problem with the agent: IPC write error
gpg: no default secret key: General error
gpg: signing failed: General error


Any idea ??

Googling around, I have found a bug reported as :

a ports/79351  lofi   Character passing error in security/ 
pinentry-qt



Which seems to be the same as my problem ??


 


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]


Bash mailing list… 

2007-09-17 Thread bsd

Hello,

I would like to know if anyone of you knows a good maling list about  
bash programing (beginners).


Thx for your anwser(s).


Sincerly yours.



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]


Problem with automake upgrade

2007-07-30 Thread bsd

Hello,

I am trying to upgrade autoconf from 1.9.6_1 to 1.9.6_2 and I am  
facing a problem :



===  Building for automake-1.9.6_2
Making all in .
rm -f automake automake.tmp
sed  -e 's,[EMAIL PROTECTED]@],1.9,g'  -e 's,[EMAIL PROTECTED] 
[EMAIL PROTECTED],automake,g'  -e 's,[EMAIL PROTECTED]@],:,g'  -e 's,[EMAIL PROTECTED]@],/ 
usr/bin/perl,g'  -e 's,[EMAIL PROTECTED]@],/bin/sh,g'  -e 's,[EMAIL PROTECTED]@], 
1.9.6,g'  -e 's,[EMAIL PROTECTED]@],Generated from automake.in;  
do not edit by hand.,g'  -e 's,[EMAIL PROTECTED]@],/usr/local/share,g' ./ 
automake.in automake.tmp

chmod +x automake.tmp
chmod a-w automake.tmp
mv -f automake.tmp automake
rm -f aclocal aclocal.tmp
sed  -e 's,[EMAIL PROTECTED]@],1.9,g'  -e 's,[EMAIL PROTECTED] 
[EMAIL PROTECTED],automake,g'  -e 's,[EMAIL PROTECTED]@],:,g'  -e 's,[EMAIL PROTECTED]@],/ 
usr/bin/perl,g'  -e 's,[EMAIL PROTECTED]@],/bin/sh,g'  -e 's,[EMAIL PROTECTED]@], 
1.9.6,g'  -e 's,[EMAIL PROTECTED]@],Generated from aclocal.in; do  
not edit by hand.,g'  -e 's,[EMAIL PROTECTED]@],/usr/local/share,g' ./ 
aclocal.in aclocal.tmp

chmod +x aclocal.tmp
chmod a-w aclocal.tmp
mv -f aclocal.tmp aclocal
Making all in doc
restore=:  backupdir=.am$$   am__cwd=`pwd`  cd .   rm -rf  
$backupdir  mkdir $backupdir   if (makeinfo --no-split -- 
version) /dev/null 21; then  for f in ./automake-1.9.info ./ 
automake-1.9.info-[0-9] ./automake-1.9.info-[0-9][0-9] ./ 
automake-1.9.i[0-9] ./automake-1.9.i[0-9][0-9]; do  if test -f $f;  
then mv $f $backupdir; restore=mv; else :; fi;  done;  else :; fi  
  cd $am__cwd;  if makeinfo --no-split   -I .  -o ./ 
automake-1.9.info ./automake-1.9.texi;  then  rc=0;  cd .;  else   
rc=$?;  cd .   $restore $backupdir/* `echo ././ 
automake-1.9.info | sed 's|[^/]*$||'`;  fi;  rm -rf $backupdir;  
exit $rc

./automake-1.9.texi:9821: Unknown command `headitem'.
makeinfo: Removing output file `./automake-1.9.info' due to errors;  
use --force to preserve.

*** Error code 1

Stop in /usr/ports/devel/automake19/work/automake-1.9.6/doc.
*** Error code 1

Stop in /usr/ports/devel/automake19/work/automake-1.9.6.
*** Error code 1

Stop in /usr/ports/devel/automake19.
** Command failed [exit code 1]: /usr/bin/script -qa /tmp/ 
portupgrade.79700.7 env UPGRADE_TOOL=portupgrade  
UPGRADE_PORT=automake-1.9.6_1 UPGRADE_PORT_VER=1.9.6_1 make

** Fix the problem and try again.
** Listing the failed packages (*:skipped / !:failed)
! devel/automake19 (automake-1.9.6_1)   (texinfo error)
---  Packages processed: 7 done, 0 ignored, 0 skipped and 1 failed


I have followed the indication provided in /usr/ports/UPDATING

Extensive reworking of the autotools ports has occurred, putting  
them in

the canonical locations, along with a suitable wrapper port to make
developing autotools-using code (as opposed to just building ports)
considerably easier.

Upgrade path is as follows for portupgrade, substitute the appropriate
commands if you are using portmaster:

   1.   portupgrade -f 'autoconf*' 'automake*'
   2.   cd /usr/ports/devel/autotools; make install
   3.   portupgrade -a


But as the first steps (portupgrade -f) gives the error reported before…
I don't know what to do…


Any help will be very apreciated.




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]


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: [AMaViS-user] Amavis/SA configured but not processing mail

2007-06-26 Thread bsd

Joshua,


You should use these lines and the following in amavisd.conf :

# Add X-Virus-Scanned header field to mail?
$X_HEADER_TAG = 'X-Virus-Scanned';  # (default: 'X-Virus-Scanned')

# Set to empty to add no header field   # (dflt $myproduct_name at  
$mydomain)

# $X_HEADER_LINE = $myproduct_name at $mydomain;
# $X_HEADER_LINE = by $myproduct_name using ClamAV at $mydomain;
 $X_HEADER_LINE = $myproduct_name $myversion_id ($myversion_date)  
at $mydomain;



You will obtain this as a result :

X-Virus-Scanned: amavisd-new 2.5.1 (20070531) at xxx.fr
X-Spam-Flag: NO
X-Spam-Score: 0.601
X-Spam-Level:
X-Spam-Status: No, score=0.601 tagged_above=0 required=5.8 tests= 
[BAYES_50=1,

EXCUSE_REMOVE=0.001, L_P0F_D18=0.6, L_P0F_Unix=-1]
X-Amavis-OS-Fingerprint: OpenBSD 3.0-3.9 (up: 208 hrs), (distance 18,  
link:

ethernet/modem), [63.228.64.60]


For fingerprinting I use p0f //


Have a nice day.

Le 26 juin 07 à 04:28, Joshua J. Kugler a écrit :


Setup:
Postfix 2.2.10
Amavisd-new 2.3.3
Spamassassin 3.1.0a

I have Postfix and Amavis configured and working correctly.  Mail  
is received
by Postfix and sent through Amavis, and is sent back to Postfix,  
and arrives

in the user's mailbox.  I have spamassassin installed and the rulesets
installed.

Using spamassassin from the command line generates output like:

X-Spam-Checker-Version: SpamAssassin 3.1.0 (2005-09-13) on  
mail.warbelows.com

X-Spam-Level: 
X-Spam-Status: No, score=4.2 required=5.0 tests=MISSING_HB_SEP,
 
MISSING_HEADERS,MISSING_SUBJECT,NO_RECEIVED,NO_RELAYS,TO_CC_NONE

autolearn=no version=3.1.0

And in my Amavis config file, I have:

$sa_tag_level_deflt  = -999



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]


X11BASE error on non X11 system… 

2007-05-20 Thread bsd
) failed (specify -k to  
force)

** Listing the failed packages (*:skipped / !:failed)
! devel/gettext (gettext-0.16.1_1)  (clean error)
* security/libgpg-error (libgpg-error-1.4_1)
* www/neon (neon-0.26.3)
* devel/gmake (gmake-3.81_1)
! security/nmap (nmap-4.20) (clean error)
! net/cvsup-without-gui (cvsup-without-gui-16.1h_2)  
(clean error)

* textproc/aspell (aspell-0.60.5)
* security/libgcrypt (libgcrypt-1.2.4_1)
* security/libksba (libksba-1.0.1_1)
* security/dirmngr (dirmngr-0.9.7_2)
* shells/bash (bash-3.1.17)
* textproc/libxslt (libxslt-1.1.20)
* security/gnupg (gnupg-2.0.3)
* devel/p5-Locale-gettext (p5-gettext-1.05_1)
* misc/help2man (help2man-1.36.4_1)
* print/texinfo (texinfo-4.8_3)
! devel/automake19 (automake-1.9.6) (clean error)
! devel/automake15 (automake-1.5_2,1)   (clean error)
! graphics/libungif (libungif-nox11-4.1.4_2)(clean error)
! editors/emacs (emacs-21.3_9)  (clean error)
* mail/mutt (mutt-1.4.2.2)
---  Packages processed: 0 done, 171 ignored, 14 skipped and 7 failed


These errors are occuring thaugh I have specified in my make.conf file :

WITHOUT_X11=yes

I don't really know what to do… Do I have to include an X11BASE in my  
make.conf thaugh I have specified (and would like to have)  
WITHOUT_X11 !!



This is kind of stupid, or am I missing something ?



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]


Install FreeBSD 6.2 on Nokia IP350 box

2007-03-21 Thread BSD

Hi,

Is it possible to install FreeBSD 6.2 on Nokia IP350 platform?   Could you
please suggest me a link to the URL?

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


Re: Downgrading to PHP 5.1.4

2007-03-19 Thread bsd

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1



Le 18 mars 07 à 23:35, Ivan Voras a écrit :


If you use cvsup to update your ports tree, fix the date in the
ports-sup file to when the version you want was present and update  
again.


Is there a way to do that with portsnap ?



Please excuse the sarcasm but do you intend to give free
root access to the entire world?


Was this version really buggy ??


«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§

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

«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§


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



-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.5 (Darwin)

iD8DBQFF/kDXArgCMBujwv0RAm4tAKDZTZge2IYZYQT3vXpK9/E2q+gmhQCfRIua
ZQERneEeYUUL3jN7u7JdnDk=
=TL+a
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Downgrading to PHP 5.1.4

2007-03-18 Thread bsd

Hello,

I am using the latest BSD 6.2 with a Apache 1.3.x and a PHP 5.2.1

For some reason out of my control we need to run an app that will use  
PHP 5.1.4 //



I would like to know if there is a simple way to do that using the  
ports.

Knowing that PHP version using BSD 6.2 have always been 5.2 or 5.2.1 ??


Any idea ??



«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§

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]


Problem updating cacti

2007-03-08 Thread bsd

Hello,

I am facing a problem when I try to update cacti :


===  Extracting for cacti-0.8.6j.3_1
= MD5 Checksum OK for cacti-0.8.6j.tar.gz.
= SHA256 Checksum OK for cacti-0.8.6j.tar.gz.
= MD5 Checksum OK for ping_php_version4_snmpgetnext.patch.
= SHA256 Checksum OK for ping_php_version4_snmpgetnext.patch.
= MD5 Checksum OK for tree_console_missing_hosts.patch.
= SHA256 Checksum OK for tree_console_missing_hosts.patch.
= MD5 Checksum mismatch for thumbnail_graphs_not_working.patch.
= SHA256 Checksum mismatch for thumbnail_graphs_not_working.patch.
===  Refetch for 1 more times files:  
thumbnail_graphs_not_working.patch thumbnail_graphs_not_working.patch

===  Vulnerability check disabled, database not found
= thumbnail_graphs_not_working.patch doesn't seem to exist in /usr/ 
ports/distfiles/.
= Attempting to fetch from http://www.cacti.net/downloads/patches/ 
0.8.6j/.
fetch: http://www.cacti.net/downloads/patches/0.8.6j/ 
thumbnail_graphs_not_working.patch: Requested Range Not Satisfiable
= Attempting to fetch from ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/ 
distfiles/.

===  Vulnerability check disabled, database not found
= MD5 Checksum OK for cacti-0.8.6j.tar.gz.
= SHA256 Checksum OK for cacti-0.8.6j.tar.gz.
= MD5 Checksum OK for ping_php_version4_snmpgetnext.patch.
= SHA256 Checksum OK for ping_php_version4_snmpgetnext.patch.
= MD5 Checksum OK for tree_console_missing_hosts.patch.
= SHA256 Checksum OK for tree_console_missing_hosts.patch.
= MD5 Checksum mismatch for thumbnail_graphs_not_working.patch.
= SHA256 Checksum mismatch for thumbnail_graphs_not_working.patch.
===  Giving up on fetching files:  
thumbnail_graphs_not_working.patch thumbnail_graphs_not_working.patch
Make sure the Makefile and distinfo file (/usr/ports/net/cacti/ 
distinfo)

are up to date.  If you are absolutely sure you want to override this
check, type make NO_CHECKSUM=yes [other args].
*** Error code 1

Stop in /usr/ports/net/cacti.
*** Error code 1

Stop in /usr/ports/net/cacti.
** Command failed [exit code 1]: /usr/bin/script -qa /tmp/ 
portupgrade.71066.23 env UPGRADE_TOOL=portupgrade  
UPGRADE_PORT=cacti-0.8.6j.3 UPGRADE_PORT_VER=0.8.6j.3 make

** Fix the problem and try again.
** Listing the failed packages (*:skipped / !:failed)
! net/cacti (cacti-0.8.6j.3)(checksum mismatch)
---  Packages processed: 1 done, 66 ignored, 0 skipped and 1 failed



As I don't know if this patch is important, I can't decide to simply  
bypass It…



Any help will be welcome.


«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§

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: Problem with php5 upgrade (PECL)

2007-02-11 Thread bsd

Could the problem I was pointing be related to that one ??

---  Skipping 'lang/php5-extensions' (php5-extensions-1.0) because a  
requisite package 'pecl-PDO-1.0.3' (databases/pecl-PDO) failed  
(specify -k to force)


** Listing the failed packages (*:skipped / !:failed)
! databases/pecl-PDO (pecl-PDO-1.0.3)   (port directory error)
* lang/php5-extensions (php5-extensions-1.0)
---  Packages processed: 9 done, 51 ignored, 1 skipped and 1 failed


Le 10 févr. 07 à 20:54, bsd a écrit :


Hello,

I am trying to install the latest php 5.2.1 and I am facing a  
problem with pecl-filter…


When I try to install php5-extensions I have an error with pecl- 
filter… any Idea how to fix that ??



root:fiesta 20:48 /usr/ports/lang/php5-extensions # make install  
clean

===  Vulnerability check disabled, database not found
===  Found saved configuration for php5-extensions-1.0
===  Extracting for php5-extensions-1.0
===  Patching for php5-extensions-1.0
===   php5-extensions-1.0 depends on file: /usr/local/include/php/ 
main/php.h - found
===   php5-extensions-1.0 depends on file: /usr/local/lib/php/ 
20060613/calendar.so - found
===   php5-extensions-1.0 depends on file: /usr/local/lib/php/ 
20060613/ctype.so - found
===   php5-extensions-1.0 depends on file: /usr/local/lib/php/ 
20060613/dom.so - found
===   php5-extensions-1.0 depends on file: /usr/local/lib/php/ 
20060613/exif.so - found
===   php5-extensions-1.0 depends on file: /usr/local/lib/php/ 
20060613/fileinfo.so - found
===   php5-extensions-1.0 depends on file: /usr/local/lib/php/ 
20060613/filter.so - not found
===Verifying install for /usr/local/lib/php/20060613/ 
filter.so in /usr/ports/security/pecl-filter

===  Vulnerability check disabled, database not found
===  Extracting for pecl-filter-0.11.0
= MD5 Checksum mismatch for PECL/filter-0.11.0.tgz.
= SHA256 Checksum mismatch for PECL/filter-0.11.0.tgz.
===  Refetch for 1 more times files: PECL/filter-0.11.0.tgz PECL/ 
filter-0.11.0.tgz

===  Vulnerability check disabled, database not found
= filter-0.11.0.tgz doesn't seem to exist in /usr/ports/distfiles/ 
PECL.

= Attempting to fetch from http://pecl.php.net/get/.
fetch: filter-0.11.0.tgz: local file (36186 bytes) is longer than  
remote file (25946 bytes)
= Attempting to fetch from ftp://ftp.FreeBSD.org/pub/FreeBSD/ 
ports/distfiles/PECL/.
fetch: ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/PECL/ 
filter-0.11.0.tgz: File unavailable (e.g., file not found, no access)

= Couldn't fetch it - please try to retrieve this
= port manually into /usr/ports/distfiles/PECL and try again.
*** Error code 1

Stop in /usr/ports/security/pecl-filter.
*** Error code 1

Stop in /usr/ports/security/pecl-filter.
*** Error code 1

Stop in /usr/ports/lang/php5-extensions.




«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§

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



«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§

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]


Problem with php5 upgrade (PECL)

2007-02-10 Thread bsd

Hello,

I am trying to install the latest php 5.2.1 and I am facing a problem  
with pecl-filter…


When I try to install php5-extensions I have an error with pecl- 
filter… any Idea how to fix that ??




root:fiesta 20:48 /usr/ports/lang/php5-extensions # make install clean
===  Vulnerability check disabled, database not found
===  Found saved configuration for php5-extensions-1.0
===  Extracting for php5-extensions-1.0
===  Patching for php5-extensions-1.0
===   php5-extensions-1.0 depends on file: /usr/local/include/php/ 
main/php.h - found
===   php5-extensions-1.0 depends on file: /usr/local/lib/php/ 
20060613/calendar.so - found
===   php5-extensions-1.0 depends on file: /usr/local/lib/php/ 
20060613/ctype.so - found
===   php5-extensions-1.0 depends on file: /usr/local/lib/php/ 
20060613/dom.so - found
===   php5-extensions-1.0 depends on file: /usr/local/lib/php/ 
20060613/exif.so - found
===   php5-extensions-1.0 depends on file: /usr/local/lib/php/ 
20060613/fileinfo.so - found
===   php5-extensions-1.0 depends on file: /usr/local/lib/php/ 
20060613/filter.so - not found
===Verifying install for /usr/local/lib/php/20060613/filter.so  
in /usr/ports/security/pecl-filter

===  Vulnerability check disabled, database not found
===  Extracting for pecl-filter-0.11.0
= MD5 Checksum mismatch for PECL/filter-0.11.0.tgz.
= SHA256 Checksum mismatch for PECL/filter-0.11.0.tgz.
===  Refetch for 1 more times files: PECL/filter-0.11.0.tgz PECL/ 
filter-0.11.0.tgz

===  Vulnerability check disabled, database not found
= filter-0.11.0.tgz doesn't seem to exist in /usr/ports/distfiles/ 
PECL.

= Attempting to fetch from http://pecl.php.net/get/.
fetch: filter-0.11.0.tgz: local file (36186 bytes) is longer than  
remote file (25946 bytes)
= Attempting to fetch from ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/ 
distfiles/PECL/.
fetch: ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/PECL/ 
filter-0.11.0.tgz: File unavailable (e.g., file not found, no access)

= Couldn't fetch it - please try to retrieve this
= port manually into /usr/ports/distfiles/PECL and try again.
*** Error code 1

Stop in /usr/ports/security/pecl-filter.
*** Error code 1

Stop in /usr/ports/security/pecl-filter.
*** Error code 1

Stop in /usr/ports/lang/php5-extensions.




«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§

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: portupgrade failure [solved]

2007-02-01 Thread bsd

Ok,

I found a solution. I had the same problem as described below.

I am using portsnap so :

# portsnap fetch
# portsnap update
# cd /usr/ports/sysutils/portupgrade
# make deinstall; make install clean

This will install version portupgrade-2.2.2_2,2 which corrects the bug.


Sincerly yours.


Le 1 févr. 07 à 07:37, FreeBSD MailingLists a écrit :


I am having the same problem.
I have tried the make fetchindex approach but it doesn't solve it  
for me.
you mentioned something about /usr/ports/UPDATING, but was unable  
to find

a relevant entry.
can you please tell me the entry date that helped you with this  
problem?


Thank you,
Tomoki Taniguchi


[EMAIL PROTECTED] ~]$portupgrade -rRviy f-prot clamav mail/mailscanner
---  Session started at: Thu, 01 Feb 2007 15:04:14 +0900
[Updating the pkgdb format:bdb_btree in /var/db/pkg ... - 173  
packages

found (-1 +1) (...). done]
** No such installed package: mail/mailscanner
[missing key: categories] [Updating the portsdb format:bdb_btree in
/usr/ports ... - 16413 port entries found
. 
1000.2000.3000.4000.5000.6000. 
 
7000.8000.9000.1.11000.120 
00.13000.14000.15000.16000

. done]
missing key: categories: Cannot read the portsdb!
---  Session ended at: Thu, 01 Feb 2007 15:04:33 +0900 (consumed  
00:00:18)
/usr/local/lib/ruby/site_ruby/1.8/portsdb.rb:548:in `open_db':  
database file

error (PortsDB::DBError)
   from /usr/local/lib/ruby/site_ruby/1.8/portsdb.rb:702:in `port'
   from /usr/local/lib/ruby/site_ruby/1.8/portsdb.rb:890:in
`all_depends_list'
   from /usr/local/lib/ruby/site_ruby/1.8/pkgdb.rb:809:in  
`tsort_build'

   from /usr/local/lib/ruby/site_ruby/1.8/pkgdb.rb:801:in `each'
   from /usr/local/lib/ruby/site_ruby/1.8/pkgdb.rb:801:in  
`tsort_build'
   from /usr/local/lib/ruby/site_ruby/1.8/pkgdb.rb:823:in  
`sort_build'
   from /usr/local/lib/ruby/site_ruby/1.8/pkgdb.rb:827:in  
`sort_build!'

   from /usr/local/sbin/portupgrade:721:in `main'
   from /usr/local/lib/ruby/1.8/optparse.rb:755:in `initialize'
   from /usr/local/sbin/portupgrade:220:in `new'
   from /usr/local/sbin/portupgrade:220:in `main'
   from /usr/local/sbin/portupgrade:2084
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions- 
[EMAIL PROTECTED]



«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§

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: Sorta OT - Backup solutions Mac to FreeBSD

2007-01-30 Thread bsd
, incrementally backup certain directories, nightly.
Something encrypted would be nice aswell.

This one looks interesting to me:

http://sourceforge.net/projects/areca/

If anyone has used an open source solution for this , I would
genuinely appreciate hearing about it.

Thanks in advance -

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



«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§

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]


man sysinstall

2007-01-25 Thread BSD Certification Team
Hello all,

The man page for sysinstall is pretty out of date.  I
am trying to PXE boot to an unattended install.

I figured out that I needed to add dists=base kernels
GENERIC even though kernels and GENERIC are not in the
list in the man page.

Is there anyone in charge of updating this
information?  I have never submitted an update.

Also the sample at
/usr/src/usr.sbin/sysinstall/install.cfg is no longer
up to date and does not work with 6.2-Release.  Does
anyone have a better up-to-date sample that could be
used?

Thanks,

Jared


 

Don't get soaked.  Take a quick peak at the forecast
with the Yahoo! Search weather shortcut.
http://tools.search.yahoo.com/shortcuts/#loc_weather
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


CLI to migrate WMA files to MP3

2007-01-09 Thread bsd

Hello,

I have 1200 files to migrate from WMA to MP3, I was wondering if you  
knew any Command Line Interface (aka program !) that will handle the  
task smoothly.



Sincerly your.


«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§

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]


remote syslog to specific file

2006-12-14 Thread bsd

Hello,


I am trying to log my sonicwall FW log to a specific file…

For the moment all logs are sent to /var/log/messages

I would like them to go to /var/log/sonic.log


I have tried couple of things which does not seem to work, among them :


+fw.xxx.yyy
local0.*/var/log/sonic.log
+@

-- not working


local0.*/var/log/sonic.log

-- not working either


In /var/log/messages my log are of that format :

Dec 14 14:50:49 fw id=firewall sn=0006Bxxx4D6C time=2006-12-14  
14:50:45 fw=80.98.206.97 pri=5 c=64 m=36 msg=TCP connection  
dropped n=183 src=80.97.99.70:3763:WAN:89-90-99-70.pde.norby.ee  
dst=192.168.2.3:135:LAN:newmail.rmm.fr proto=tcp/135




Any help would be welcome.


«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§

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: remote syslog to specific file

2006-12-14 Thread bsd

Thanks David but…


I have followed precisely your advises and It keeps on loging to /var/ 
log/messages instead of /var/log/sonic.log ??



!fw
*.* /var/log/sonic.log


Using tab instead and no spaces - restarting syslog - ??
I have also tried !firewall // no success //

My logs are coming from a remote host maybe this is the reason why it  
can't log to sonic.log ?


localhost -- 192.168.2.2

remote host -- 192.168.2.1


Any help would still be apreciated ?!?

Le 14 déc. 06 à 20:02, David Robillard a écrit :


Hello,


I am trying to log my sonicwall FW log to a specific file…

For the moment all logs are sent to /var/log/messages

I would like them to go to /var/log/sonic.log


I have tried couple of things which does not seem to work, among  
them :


 +fw.xxx.yyy
 local0.*   /var/log/sonic.log
 +@
-- not working

 local0.*   /var/log/sonic.log
-- not working either


In /var/log/messages my log are of that format :

 Dec 14 14:50:49 fw id=firewall sn=0006Bxxx4D6C time=2006-12-14
 14:50:45 fw=80.98.206.97 pri=5 c=64 m=36 msg=TCP connection
 dropped n=183 src=80.97.99.70:3763:WAN:89-90-99-70.pde.norby.ee
 dst=192.168.2.3:135:LAN:newmail.rmm.fr proto=tcp/135



Any help would be welcome.


Try installing those two lines in your syslog.conf(5) file and make
sure you use TAB instead of spaces.

!fw
*.* /var/log/sonic.log

Then issue a `sudo touch /var/log/sonic.log` as the file must exist
before syslogd(8) can write to it (i.e. syslogd(8) does not create
files).

After this run `sudo /etc/rc.d/syslogd restart` to instruct syslogd(8)
of the changes you've made to syslog.conf(5).

Finally, make sure you edit newsyslog.conf(5) with something like this
to keep your /var file system from filling up.

/var/log/sonic.logwww:wheel 640  7 100  *   J

man newsyslog.conf for more on newsyslog.conf(5)'s syntax.

Cheers,

David
--
David Robillard
UNIX systems administrator  Oracle DBA
CISSP, RHCE  Sun Certified Security Administrator
Montreal: +1 514 966 0122



«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§

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]


Adaptec AHA 29320 SCSI card running at 160 MB/s instead of 320 MB/s

2006-11-24 Thread bsd

Hello,


We just installed a big HA cluster with an intel dual Xeon and 4GB of  
memory.
Two of these units are connected to a promise Vtrack M210p via an  
Adaptec AHA 29320 SCSI.


Dmesg states that the card is running at 160 MB/s instead of the  
expected 320 MB/s ??


What could we do to change this and have It working at the proper speed.


Sincerly yours.



«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§

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]


Problem with slapd nsswitch

2006-11-13 Thread bsd

Hello,

I am trying to configure an LDAP //

It seems I have problems with nsswitch

Nov 13 16:22:56 tsuna slapd[96298]: NSSWITCH(nss_method_lookup):  
ldap, passwd, endpwent, not found
Nov 13 16:22:56 tsuna slapd[96298]: NSSWITCH(nss_method_lookup):  
ldap, group, setgrent, not found
Nov 13 16:22:56 tsuna slapd[96298]: NSSWITCH(nss_method_lookup):  
ldap, group, getgrent_r, not found
Nov 13 16:22:56 tsuna slapd[96298]: NSSWITCH(nss_method_lookup):  
ldap, group, endgrent, not found
Nov 13 16:22:56 tsuna slapd[96298]: NSSWITCH(nss_method_lookup):  
ldap, group, endgrent, not found



Thaugh nsswitch.conf has been configured with very simple parameters :


group: files ldap
group_compat: nis
hosts: files dns
networks: files
passwd: files ldap
passwd_compat: nis
shells: files



when I issue a simple -- id a_name -- I only have results for my  
local users not LDAP Users ?



Thanks for your help.



«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§

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: traffic analysis tools

2006-10-27 Thread bsd


Le 21 oct. 06 à 16:19, Michael P. Soulier a écrit :


Hey people,

I'd like something to look at traffic use through my gateway, so I  
know how
much of my upload bandwidth and download bandwidth is in use at any  
time.


This could be donne very easily withe cacti :

-- Activate SNMP on your gateway
-- Log into cacti
-- Select Devices and create a new one corresponding to your gateway
-- Select a Host Template of type ucd/net SNMP host
-- Add graph template
-- Add data query of type SNMP - interface statistics

This should be very easy.
For security purpose reduce the IP range of allowed hosts in the  
snmpd.conf


Ideally it'll tell me from where, so I can look at internal  
abusers, or get an

idea of where hits are coming from.



If your PC's are connected to a switch, activate SNMP and monitor It  
the same way.
Otherwise you'll have to go into deeper configuration of cacti and  
script the solution to monitor load per IP.


Another solution would be to Monitor global bandwith and log into  
your gateway once you encounter congestion and have a little command  
like that showing whom the nasty guys are :


# netstat -an | less



If your gateway is not a FreeBSD - let us know because things could  
be very different.



Off the top of my head, I can think of two tools.

1. ntop - great web interface, but I've found it unstable
2. iptraf - good curses interface, but I'm looking for trend  
monitoring
3. mrtg - as I'm running snmp, so I could just monitor it from a  
desktop

running mrtg...

Any other suggestions?

Thanks,
Mike



«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§

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]


Live resizing of a mounted partition

2006-10-26 Thread bsd

Hello,


I am planning to install a remote RAID system.
This RAID will be attached to my server via a SCSI attachement and  
mounted on my server.


If I ever decide to add disks in the RAID how could I do that ?
I've read about growfs - is that the right tool is there any pre- 
requisite in order to use this tool ?



Is there any tools to do that while my partition is mounted (growfs  
does not seem to allow that) ?




Thanks.


«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§

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]


HA Cluster based on promise VTrack Mxxx

2006-10-25 Thread bsd

Hello,

I am trying to figure out which hardware to build my HA cluster with.

I have seen various promise systems which seems quite interesting  
(VTrack M210p) but FreeBSD is not mentionned as an official suported  
OS on their brochure.


Has anyone build such cluster with this kind of attachement.


The cluster I was thinking about will be built with :

- 2 nodes Pentium Xeon with SCSI card
- 1 VTrack External Storage M210p (this one has automatic failure  
detection included on It's hardware).

- Linux-HA as a control solution


Has anyone built such cluster with these hardware ?

If not what have you been using ?


Sincerly yours.


«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§

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]


Upgrading in the same RELENG without shutdown ?

2006-10-16 Thread bsd

Hello,


I have CVS-UP configured to follow RELENG_5_4

I was wondering if there is a way to patch (upgrading from 5.4- 
RELEASE-p8 to a higher version) my system without going into the  
classic :


# make -j4 buildworld
# make -j4 buildkernel
# make -j4 installkernel
# shutdown now

And booting in single user //

# fsck -p
# mount -u /
# mount -a -t ufs
# swapon -a

# cd /usr/src
# mergemaster -p



My system is in production and I am not onsite so this is a problem  
for me to have to boot in single user mode.


Is there a way to keep the system in multi-user mode while doing this ?

And what are the risks if any ?



Sincerly yours.



«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§

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: Upgrading in the same RELENG without shutdown ?

2006-10-16 Thread bsd
From what I have read so far I guess I'll stick to the 'classic'  
procedure and boot in single user to do the merging things.


A little trip to my Data Center //


Thanks.

Le 16 oct. 06 à 20:01, david coder a écrit :

i save myself some time by removing files from subdirectories of / 
etc whose
contents i never modify,  using the -i option to mergemaster the  
2nd time.
you might (or might not) find the following scripts useful, edited  
to meet

your needs (the 2nd is obviously intended to be run in single-user):

# cat buildsys
rm -rf /usr/obj  \
cd /usr/src  \
make buildworld  \
make kernel KERNCONF=KEROUAC

# cat installsys
mount -u /  \
mount -a  \
cd /usr/src  \
mergemaster -p  \
make installworld  \
rm -rf /etc/bluetooth/*  \
rm -rf /etc/defaults/*  \
rm -rf /etc/gnats/*  \
rm -rf /etc/isdn/*  \
rm -rf /etc/mtree/*  \
rm -rf /etc/pam.d/*  \
rm -rf /etc/periodic/*  \
rm -rf /etc/ppp/*  \
rm -rf /etc/rc.d/*  \
rm -rf /etc/security/*  \
rm -rf /etc/skel/*  \
rm -rf /etc/ssl/*  \
mergemaster -i  \
rm -rf /usr/obj/*

i guess it's obvious that the 2nd script is designed to be run in  
single user
 that the point of concatenating the commands in each script is to  
stop the

proceedings cold in case there's a failure at any stage.

at the very least, i'd reboot after running the 1st script to make  
sure the
kernel works.  you might have problems w/ a new system  an old  
kernel.


+++ Jonathan Horne [16/10/06 12:40 -0500]:

Hello,


I have CVS-UP configured to follow RELENG_5_4

I was wondering if there is a way to patch (upgrading from 5.4-
RELEASE-p8 to a higher version) my system without going into the
classic :

# make -j4 buildworld
# make -j4 buildkernel
# make -j4 installkernel
# shutdown now

And booting in single user //

# fsck -p
# mount -u /
# mount -a -t ufs
# swapon -a

# cd /usr/src
# mergemaster -p



My system is in production and I am not onsite so this is a problem
for me to have to boot in single user mode.

Is there a way to keep the system in multi-user mode while doing  
this ?


And what are the risks if any ?



Sincerly yours.





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




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



it can be done, but it is NOT guaranteed safe.  i do it, but your  
might
not be the same as mine.  my system is a *low* traffic system, and  
i am
the only user.  the system is however running apache2, mysql, and  
some

other daemons.

again, your mileage may vary, this is what i do:

1) make buildworld, and make buildkernel.
2) make installkernel
3) cd /usr/src, mergemaster -p, make installworld, mergemaster.
4) reboot.

hth,
jonathan

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


--
David Coder
Network Engineer Emeritus, Verio/NTT
Telluride, CO  Washington, DC  
___

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



«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§

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]


minimum requirements

2006-10-09 Thread free bsd
Thank you everyone for responding to my initial question.  
   
  In hindsight I realize I worded my original inquiry inaccurately.  What I am 
attempting to determine is how well or if ver 6.1 will work on a 4GB hard drive 
with a Pentium 4 - 3.06GHz cpu and 1GB ram?  The machine has a 232GB hard drive 
but I have another 4GB drive sitting around being unused that I was thinking of 
adding to the machine to configure in a dual boot setup with the 4GB drive 
being totally allocated to FreeBSD.  
   
  However, before attempting that task I am trying to determine whether or not 
it would be even feasible to use a 4GB drive to install v 6.1 or should I use a 
larger drive to install the many of FreeBSD's features?  And if a larger drive 
how large of a drive would I need to utilize many or any of its features 
without limiting myself to a bare bones setup?  Additionally, if the 4GB drive 
will work how limited would the install/capabilities/features be?  
   
  I am not at all opposed to using a larger drive but at the present time do 
not have a clue as to what size drive I should use for the most flexibility 
regarding type of installation options.
   
  -art


-
Do you Yahoo!?
 Everyone is raving about the  all-new Yahoo! Mail.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Raid strip with freebsd slices or partitions

2006-09-28 Thread m3 BSD

Hi, i would like to do a raid strip with freebsd slices or partitions
and not with a entire disk. For example: I've a two SCSI drivers with
68Gb. I want to make a two partitions or slices in two disks, first
with 10G and other with 58Gb, this in two disks, and make a raid strip
virtual disk with 58+58GB = 116 GB, and user other two partitions
normaly.

--
Thanks for all answers

Mario Augusto Mania m3BSD
---
[EMAIL PROTECTED]
Cel.: (43) 9938-9629
Msn: [EMAIL PROTECTED]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Filtering peer to peer

2006-09-27 Thread bsd

Hello,

I am looking for a solution that will allow me to filter peer-to-peer  
activity on my network.


I already have a router that do a bunch of filtering / firewalling.
I would like to filter specific trafic from peer-to-peer.

I was thinking of Squid ?
But I don't know if It will be able to filter p-t-p correctly ??


Any other idea ?


Please let me know.


«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§

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]


Ambiguous output redirect

2006-09-12 Thread bsd
I don't understand why when I execute this script I have an  
Ambiguous output redirect. ?



p0f -l 'tcp dst port 25' 21 | /usr/local/sbin/p0f-analyzer.pl 2345 



Can you help ?


«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§

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: ACPI won't shutdown

2006-09-05 Thread bsd
 (ICH5) USB controller USB-B on uhci1
usb1: USB revision 1.0
uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
uhci2: Intel 82801EB (ICH5) USB controller USB-C port 0xec00-0xec1f  
irq 18 at device 29.2 on pci0

uhci2: [GIANT-LOCKED]
usb2: Intel 82801EB (ICH5) USB controller USB-C on uhci2
usb2: USB revision 1.0
uhub2: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub2: 2 ports with 2 removable, self powered
ehci0: Intel 82801EB/R (ICH5) USB 2.0 controller mem  
0xfebffc00-0xfebf irq 23 at device 29.7 on pci0

ehci0: [GIANT-LOCKED]
usb3: EHCI version 1.0
usb3: companion controllers, 2 ports each: usb0 usb1 usb2
usb3: Intel 82801EB/R (ICH5) USB 2.0 controller on ehci0
usb3: USB revision 2.0
uhub3: Intel EHCI root hub, class 9/0, rev 2.00/1.00, addr 1
uhub3: 6 ports with 6 removable, self powered
pcib9: ACPI PCI-PCI bridge at device 30.0 on pci0
pci1: ACPI PCI bus on pcib9
pci1: display, VGA at device 12.0 (no driver attached)
isab0: PCI-ISA bridge at device 31.0 on pci0
isa0: ISA bus on isab0
atapci0: Intel ICH5 UDMA100 controller port  
0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xfc00-0xfc0f at device 31.1 on pci0

ata0: ATA channel 0 on atapci0
ata1: ATA channel 1 on atapci0
pci0: serial bus, SMBus at device 31.3 (no driver attached)
acpi_button0: Power Button on acpi0
sio0: 16550A-compatible COM port port 0x3f8-0x3ff irq 4 flags 0x10  
on acpi0

sio0: type 16550A
atkbdc0: Keyboard controller (i8042) port 0x60,0x64 irq 1 on acpi0
atkbd0: AT Keyboard irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
psm0: PS/2 Mouse irq 12 on atkbdc0
psm0: [GIANT-LOCKED]
psm0: model IntelliMouse, device ID 3
pmtimer0 on isa0
orm0: ISA Option ROMs at iomem 0xc-0xca7ff,0xca800-0xce7ff, 
0xce800-0xcf7ff,0xcf800-0xd07ff,0xd0800-0xd1fff on isa0

ppc0: parallel port not found.
sc0: System console at flags 0x100 on isa0
sc0: VGA 16 virtual consoles, flags=0x300
sio1: configured irq 3 not in bitmap of probed irqs 0
sio1: port may not be enabled
vga0: Generic ISA VGA at port 0x3c0-0x3df iomem 0xa-0xb on  
isa0

Timecounters tick every 1.000 msec
acd0: CDROM CD-224E/1.9A at ata0-slave UDMA33
Waiting 5 seconds for SCSI devices to settle
mpt0:vol0(mpt0:0:0): Settings ( Hot-Plug-Spares )
mpt0:vol0(mpt0:0:0): Using Spare Pool: 0
mpt0:vol0(mpt0:0:0): 2 Members:
  (mpt0:0:0): Primary
  (mpt0:0:1): Secondary
mpt0:vol0(mpt0:0:0): RAID-1 - Optimal
mpt0:vol0(mpt0:0:0): Status ( Enabled )
(mpt0:vol0:0): Physical (mpt0:0:0), Pass-thru (mpt0:1:0)
(mpt0:vol0:0): Online
(mpt0:vol0:1): Physical (mpt0:0:1), Pass-thru (mpt0:1:1)
(mpt0:vol0:1): Online
pass3 at mpt0 bus 1 target 0 lun 0
pass3: IBM IC35L036UWDY10-0 S29A Fixed unknown SCSI-3 device
pass3: 320.000MB/s transfers (160.000MHz, offset 127, 16bit), Tagged  
Queueing Enabled

pass4 at mpt0 bus 1 target 1 lun 0
pass4: IBM IC35L036UWDY10-0 S29A Fixed unknown SCSI-3 device
pass4: 320.000MB/s transfers (160.000MHz, offset 127, 16bit), Tagged  
Queueing Enabled

da2 at mpt0 bus 0 target 0 lun 0
da2: LSILOGIC 1030  IM 1000 Fixed Direct Access SCSI-2 device
da2: 320.000MB/s transfers (160.000MHz, offset 127, 16bit), Tagged  
Queueing Enabled

da2: 34938MB (71553024 512 byte sectors: 255H 63S/T 4453C)
da0 at twa0 bus 0 target 0 lun 0
da0: 3ware Logical Disk 00 1.00 Fixed Direct Access SCSI-0 device
da0: 100.000MB/s transfers
da0: 1144377MB (2343684096 512 byte sectors: 255H 63S/T 145887C)
da1 at twa0 bus 0 target 1 lun 0
da1: 3ware Logical Disk 01 1.00 Fixed Direct Access SCSI-0 device
da1: 100.000MB/s transfers
da1: 381459MB (781228032 512 byte sectors: 255H 63S/T 48629C)
SMP: AP CPU #3 Launched!
SMP: AP CPU #1 Launched!
SMP: AP CPU #2 Launched!
Trying to mount root from ufs:/dev/da2s1a
em0: link state changed to UP




Le 4 sept. 06 à 15:32, Jonathan Horne a écrit :


On Monday 04 September 2006 06:17, bsd wrote:

Hello,

I have configured a new server and everything goes find but ACPI.

When Shutting down the server I have these messages :

…
All buffers synced.
Uptime: 5m2s
mpt0: Unhandled Event Notify Frame. Event 0x30
mpt1: Unhandled Event Notify Frame. Event 0x30
Shutting down ACPI


Then nothing !!

Computer seems to freeze for an infinite amount of time. I have to
manually shutdown the computer with the Power button !


Any idea ?




tell is a little about your hardware?  i have a system that does  
this exact

same behavior.  mine is;

supermicro 370DE6
dual pentium 3 1000
2048MB ECC-Reg'd PC133
an older samsung cdrw (this is the only ide device in the system)
3ware 6800 raid controller with 3 raid units (20GB R1, 80GB R1,  
335GB R5)


my system exhibits the exact sme behavior you describe, but i too  
have no idea

why.  system has always had no trouble with acpi


cheers,
jonathan



«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§

Gregober --- PGP ID

ACPI won't shutdown

2006-09-04 Thread bsd

Hello,

I have configured a new server and everything goes find but ACPI.

When Shutting down the server I have these messages :

…
All buffers synced.
Uptime: 5m2s
mpt0: Unhandled Event Notify Frame. Event 0x30
mpt1: Unhandled Event Notify Frame. Event 0x30
Shutting down ACPI


Then nothing !!

Computer seems to freeze for an infinite amount of time. I have to  
manually shutdown the computer with the Power button !



Any idea ?

«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§

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]


ACPI lock in the last halt process

2006-09-02 Thread bsd

Hello,

I have configured with a 6.1 RELEASE FreeBSD.

When I am trying to shut down the computer - I reach the prompt - all  
processes seems to halt correctly - then the server seems to be  
stucked with the ACPI process indefinitely ??


First of all I don't know what ACPI is related to ?

Second how could I avoid that problem in the future ?



---

Here are the info related to acpi on my dmesg log :


acpi_alloc_wakeup_handler: can't alloc wake memory
acpi0: A M I OEMRSDT on motherboard
acpi0: Power Button (fixed)
acpi_timer0: 24-bit timer at 3.579545MHz port 0x408-0x40b on acpi0
cpu0: ACPI CPU on acpi0
acpi_throttle0: ACPI CPU Throttling on cpu0
cpu1: ACPI CPU on acpi0
cpu2: ACPI CPU on acpi0
cpu3: ACPI CPU on acpi0
pcib0: ACPI Host-PCI bridge port 0xcf8-0xcff on acpi0
acpi_button0: Power Button on acpi0
sio0: 16550A-compatible COM port port 0x3f8-0x3ff irq 4 flags  
0x10 on acpi0

atkbdc0: Keyboard controller (i8042) port 0x60,0x64 irq 1 on acpi0



Thanks.


«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§

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]


Cluster mail system using FreeBSD

2006-08-23 Thread bsd

Hello,


I am looking for the best possible solution in order to setup a High  
availability mail cluster using FreeBSD (smtp/imap/pop server with  
1000 accounts).




Selected software are as followed :
---

- Postfix
- Amavisd-new
- SpamAssassin
- Courier Imap
- DCC-DCCD
- Clamav
- a web mail (not yet selected but probably horde)


The idea is to offer a simple and very efficient solution in order  
for the server to have a 100% uptime under any circumstances.



I would like (if possible) to stick to software available in the  
ports (for ease of maintenance).



I was first thinking about using Linux-HA aka. heartbeat and  
syncing the two boxes using rsync ?


What other solution would you think of ?

Any pointer will be very appreciated I need to build my offer quite  
fast.



Sincerly yours.



«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§

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]


Linux-HA howto for FreeBSD

2006-08-22 Thread bsd

Hi,

I am looking for a good howto or a detailed explanation in order to  
deploy Linux HA on two BSD boxes.



Thank you very much.



«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§

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: Needing a guide/tutorial please

2006-08-18 Thread bsd
  Looking for a guide online somewhere that will walk me through
 setting up a mail server with the following items on it.

 SpamAssassin
 Postfix (pop3 and smtp setup)
 MySQL (for database driven mail user administration)
 MyPHPAdmin (to visually admin the database)
 Squirrelmail (for webmail)
 Apache (for squirrelmail)
 Dovecot Imap (for squirrelmail)
 Postfix Admin - this is the reason for the need to have a mysql driven
 mail user database.  It's apparently required for this to work.  Plus
 database driven user management tends to be easier.  Of course, if you
 know
 of a better way to graphically admin mail users without using a database,
 I'm all ears.  :)
 And lastly, some kind of web based server admin page that's similar to
 webmin, but more secure.

  I want to setup a mail server with all these elements, have
 postfix, squirrelmail and dovecot be database driven and somehow create a
 mailbox tree for the webmail users for saved, spam, sent and trashcan
 folders.  Also, lastly, which format for mail is better?  Maildir or
 Mbox?  I'm partial to Mbox, but I've heard some others say Maildir is
 better.  The server is only going to host about 30-40 users for a realty
 company, so security is priority, plus it needs to have ease of
 administration because the guy who's going to admin this in the end (I'm
 just building it, he's maintaining it) isn't unix savy.  I've already done
 a lot of google diving, but with little luck.  Hence why I'm asking
 here.  If someone knows of a good guide or series of guides that'll help
 me
 through all this, it'd be greatly appreciated.  I'm used to doing this the
 hard way with sendmail and the regular freebsd users through the
 console.  So I'm really new to postfix, but I'm using it because it's
 supposedly more secure.  I'd have the guy who's admining it do the same,
 but he's too green in the console to risk it.  ;)

  Many thanks in advance for any help you can provide.  :)


 Steven Lake
 Owner/Technical Writer
 Raiden's Realm
 www.raiden.net
 A friendly web community


Steve,

Youve asked at lot of questions in one here.

For 30 to 40 users what you are proposing is way over the top, I would
stay away from mysql etc.

I am using qmail + courier(pop3  imap) + calamav + squirrelmail etc base
on the installation from http://www.qmailrocks.org/ with some tweeks from
Bill Olson's site http://www.goodcleanemail.com/ for spamassassin rules
and learning etc. Bill's site is useful as he uses FreeBsd. I also used
the Chkuser patch (rejecting mails during smtp for non existing users)
from John Simpson's site http://www.jms1.net/ + block lists. The setup
uses web based qmailadmin for managing mail boxes.

It has been running for nearly 2 years now and the only maintanence has
been updating clamav and tweeking the spamassassin rules.

BTW qmailrocks has an updated script for a freebsd installation using most
of the latest sw from ports. Although this is Beta3 it works - just used
it for a small business, there is also an active mailing list where Bill
and John are posting.

Hope this helps and guys please no postfix is better etc.

Rob

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


Re: SAMBA as Domain Controller on FreeBSD 6.1

2006-08-07 Thread bsd
 Hello everyone!

 Good Day!

 I am using FreeBSD 6.1/6.x version of Operating System. I plan to
 switch my existing PDC Win2k Advanced server to FreeBSD with the
 power of Samba. Anybody may I know of how would you setup SAMBA as
 PDC in FreeBSD 6.x? I know this is not good question for asking HOWTO
 but the good procedures and right samba configurations might lead me
 up during installation process.

 I am hoping for your kind consideration and favorable response.

 Great many thanks.

 Regards,

 James G. Corteciano


James,

There are good examples on the Samba site. You just have to be aware that
file locations are different on Freebsd and some commands don't exist.
Having said that they are a godd source.

Rob

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


Re: How can I have dual displays (Laptop screen and TV)?

2006-08-03 Thread backyard1454-bsd


--- Yousef Raffah [EMAIL PROTECTED] wrote:

 Peter A. Giessel wrote:
  On 2006/08/03 8:46, Yousef Raffah seems to have
 typed:
 
  [snip]
 

  Section Monitor
  Identifier  TV
  HorizSync   30-50
  VertRefresh 60
  EndSection
  
 
  [snip]
 

  Section Device
  Identifier TV
  Driver  ati
  Option  MonitorLayout TV,LFP
  Option  TVStandard PAL
  Option  TVOutFormat SVIDEO
  Option  ConnectedMonitor TV
  Screen 1
  EndSection
  
 
  [snip]
 
  Correct me if I'm wrong, but I'm pretty sure PAL
 is 25 fields/sec,
  which corresponds to 50Hz not 60Hz.

 I really have no idea, what are you suggesting then?
 
 -- 
 
 Sincerely,
 
 Yousef Adnan Raffah
 The Savola Group
 
 ---
 Aren't you using Firefox? Get it at
 http://www.getfirefox.com
 
 
 
As much of a pain as it might sound you should
probably google PAL specs for TV output, get a copy of
The Complete FreeBSD either on the website or the
printed copy in a store, thumb to the X org (free)
section and form a proper Modeline statement for the
screen by following their instructions and using PAL's
spec. Either that or keep googling X org and PAL TV's.
I think it is something with the refresh rates though.
Also the H-sync should prolly be 50 hertz locked as
this seems to be PAL's standard refresh rate. X might
be defaulting to the low end which is causing the
flicker.
It might help to define the resolution you want the
screen to have as well. PAL supports a few different
ones at different levels of fidelity. Again X might go
to the low end of things to be safe which is just
causing the interlacing to occur too slowly and
flicker on you.

good luck

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


Re: Gotta start somewhere ... how many of us are really out there?

2006-08-03 Thread backyard1454-bsd


--- User Freebsd [EMAIL PROTECTED] wrote:

 On Thu, 3 Aug 2006, Antony Mawer wrote:
 
  Agreed...
 
  I could probably add around 1,500 systems that
 could conceivably be setup to 
  chime in with their numbers periodically; one of
 the pre-requisites for that 
  would be that the access method be HTTP or HTTPS
 based so it could be relayed 
  via a proxy...
 
  Another nice thing to include might be a hash of
 hardware inventory (a 
  further opt-in thing beyond the basic checkins)...
 Mark alluded to this early 
  in the piece, but it would be nice to be able to
 pull up something that said 
  hang on, out of the X% of users on file, Y% are
 using Adaptec SCSI cards, in 
  particular model XYZ... this would be very
 helpful when trying to get vendor 
  support etc...
 
  Some form of hash calculated on these would allow
 you to detect if they had 
  changed at all, and only re-send them in the event
 of a change...
 
  ... just thinking out loud ... !
 
 'k, so, how do we script this then?
 
 Getting a list of devices is actually pretty easy,
 and I've tried this on 
 my 4.x machines also, so it isn't something that
 will be a problem on 
 older versions:
 
 # pciconf -l
 [EMAIL PROTECTED]:0:0: class=0x06 card=0x
 chip=0x700c1022 rev=0x20 hdr=0x00
 [EMAIL PROTECTED]:1:0: class=0x060400 card=0x
 chip=0x700d1022 rev=0x00 hdr=0x01
 [EMAIL PROTECTED]:7:0: class=0x060100 card=0x
 chip=0x74401022 rev=0x05 hdr=0x00
 [EMAIL PROTECTED]:7:1: class=0x01018a card=0x74411022
 chip=0x74411022 rev=0x04 hdr=0x00
 [EMAIL PROTECTED]:7:3: class=0x068000 card=0x74431022
 chip=0x74431022 rev=0x03 hdr=0x00
 [EMAIL PROTECTED]:9:0:  class=0x010400 card=0xc0351044
 chip=0xa5111044 rev=0x01 hdr=0x00
 [EMAIL PROTECTED]:11:0:class=0x02
 card=0x10018086 chip=0x100f8086 rev=0x01 hdr=0x00
 [EMAIL PROTECTED]:16:0:class=0x060400
 card=0x chip=0x74481022 rev=0x05 hdr=0x01
 [EMAIL PROTECTED]:0:0: class=0x0c0310 card=0x74491022
 chip=0x74491022 rev=0x07 hdr=0x00
 [EMAIL PROTECTED]:7:0: class=0x03 card=0x80081002
 chip=0x47521002 rev=0x27 hdr=0x00
 [EMAIL PROTECTED]:8:0:  class=0x02 card=0x10408086
 chip=0x12298086 rev=0x10 hdr=0x00
 
 And, more specifically, we can get:
 
 # pciconf -l -v
 [EMAIL PROTECTED]:9:0:  class=0x010400 card=0xc0351044
 chip=0xa5111044 rev=0x01 hdr=0x00
  vendor   = 'Adaptec (Formerly: Distributed
 Processing Technology (DPT))'
  device   = 'Raptor SmartRAID Controller'
  class= mass storage
  subclass = RAID
 
 So, with that one command, we can get a fair amount
 of hardware 
 information ... but, how to feed that into a proper
 HTTP request? 
 Storing all of that information would be cool, cause
 then we could build 
 reports based on device driver / vendor / device /
 class and subclass ... 
 but that might be a bit heavy to do in an HTTP
 request, no?  I take it 
 email isn't an option, in your case?
 
 
 Marc G. Fournier   Hub.Org Networking
 Services (http://www.hub.org)
 Email . [EMAIL PROTECTED] 
 MSN . [EMAIL PROTECTED]
 Yahoo . yscrappy   Skype: hub.org   
 ICQ . 7615664
 ___
 freebsd-questions@freebsd.org mailing list

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

maybe it's just because I've been reading up on it but
what about outputting the information in XML??? Then
you could tag the Vendor, Name, basic info, number of
users, etc. in a tagged form that could be then stored
in a Dbase of some kind by vendor, working in FreeBSD
X.Y, broken, etc. The XML should be easily outputted
on the fly to XHTML so it can be reviewed by
devolopers and what not. Just my too cents...

definately thinking out loud

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


Re: How can I have dual displays (Laptop screen and TV)?

2006-08-03 Thread backyard1454-bsd

--- Peter A. Giessel [EMAIL PROTECTED] wrote:

 
 
 On 2006/08/03 11:29, [EMAIL PROTECTED]
 seems to have typed:
  Also the H-sync should prolly be 50 hertz locked
 as
  this seems to be PAL's standard refresh rate.
 
 My replies don't show up on the list for some reason
 (something about
 how the freebsd.org servers can't find my server's
 FQDN), but I'm pretty
 sure that he needs to set his VertRefresh to 50 for
 PAL (and I've
 sent him a message as such).
 

I figured as much, I know TV's aren't monitors and so
a range of values didn't seem valid.

Ahhh, your servers don't do a reverse domain name
lookup properly... If they're your servers then you
should be able to fix that. The Complete FreeBSD has
some section on it which is reasonably parsable by
humans... (I kid, I kid gotta learn how to do a DNS
server myself so it's still a little cryptic to me) If
its your ISP I would keep sending them Shame on you
messages until they fix it. I know that reverse domain
lookup is typcially done to help eliminate spam anyway
so you can use that as firepower. if they're using
Mircosoft servers it probably won't be able to be
fixed anytime soon. At least not until Microsoft
starts using standards that don't have their trademark
on it... Although if Mac.com is your domain then Mac
servers would likely be being used, which means its a
variant of BSD anyway and should be just a simple
configuration change on their end...

-brian


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


Re: Gotta start somewhere ... how many of us are really out there?

2006-08-03 Thread backyard1454-bsd


--- User Freebsd [EMAIL PROTECTED] wrote:

 On Thu, 3 Aug 2006, [EMAIL PROTECTED]
 wrote:
 
  maybe it's just because I've been reading up on it
 but what about 
  outputting the information in XML??? Then you
 could tag the Vendor, 
  Name, basic info, number of users, etc. in a
 tagged form that could be 
  then stored in a Dbase of some kind by vendor,
 working in FreeBSD X.Y, 
  broken, etc. The XML should be easily outputted on
 the fly to XHTML so 
  it can be reviewed by devolopers and what not.
 Just my too cents...
 
 'k, right now, we are trying to get the data from
 the remote clients to a 
 central server ... if you are thinking of using XML
 for this (not against 
 it, I just know nothing about it), can you provide
 an example of what you 
 are thinking, and how we'd script this to use HTTP
 to connect to the 
 remote server?
 
 The hard part of all of this is that it cannot
 require *anything* except 
 for the base system, so no php, no perl ... just
 pure shell commands ... 
 it cannot require an administrator to install
 anything above the script 
 itself ...
 
 
 Marc G. Fournier   Hub.Org Networking
 Services (http://www.hub.org)
 Email . [EMAIL PROTECTED] 
 MSN . [EMAIL PROTECTED]
 Yahoo . yscrappy   Skype: hub.org   
 ICQ . 7615664
 

ok well I'm not much of a C programmer right now so
I'll give you waht I think in
psuedo-psuedo-psuedo-code

write a small program that shell calls pciconf -lv and
outputs this to a temporary file or buffers to memory.
Then use maybe a tr (translate I think its tr, never
really used the command) to change things like Vendor:
foobar in the pciconf -lv output to 

vendorVendor: foorbar/vendor 
hardware Hardware: RAID controller /hardware

or whatever XML tags you want to use using the acutal
output data from pciconf -lv as a starting point

take this tagged file and insert it into a properly
defined XML file with the header defined and a proper
root tag like

[standard XML header info, may be system specific
based on encoding and what not]
server_information_(insert the output of uname -a
here for completeness)

output of the tr stuff could prolly be catted into
this after the header is defined.
/Server_information_`uname -a`

making tr work line by line with exception handling
for all the tags it might encounter is something I
would have to look into more myself.

Then you could write up a CSS or XSLT stylesheet so it
will display this information to a webbrowser however
your want. Once you have figured out what tags you
want to use this shouldn't be too hard.

I guess a script file would be the easiest way to
accompish all this in hindsight,as all the commands
I've used are standard shell commands. Putting it all
together is going to take more thought then what I can
give it at work right now.

The stylesheet could be stored on a central server of
your choosing and added to the header for the XML that
the script file generates. If this is still not very
understandable I will see if I can generate a shell
program to get things started. myunderstanding is once
the shell is installed it should be runable by anyone
with access to pciconf, tr, cat, and maybe a few other
commands like date and whatnot for documentation sake;
which means any user should be able to run and install
the script in their home/bin directory. As far as
uploading this file to a database that is beyond the
scope of my feable mind, but I don't think it would be
too hard to accomplish if someone was more familiar
with db or whatever other database you want to store
this by.

hope this gives you more of an idea as to what I was
getting at, hopefully there will be more to come if I
figure this thing out; I need to learn how to process
XML for a little project I'm working on for a friend
anyway.

The good thing about this is once in XML I know there
are stardard ways of serving the XML file with a
webserver for display. What I don't know is how to
make it searchable or concatenate all the hardware and
what not so you can see a per device status as to its
functionality in a particular snapshot of FreeBSD.

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


Re: **SPAM** binary upgrade issues

2006-08-03 Thread backyard1454-bsd



  I also wonder why these binary update and upgrade
 are not legitimized
  in the freebsd core distribution.  An important
 reason why linux is
  used by more is its easy update solution similar
 to Microsoft's
  Windows Update.  Sure make world is fun
 especially to developers.
  But providing easy update and upgrade tools in
 addition will attract a
  large user base who just need a stable and easy to
 use operation
  system - and many of them can be companies who can
 be potential donors
  to the freebsd project.  So the effort to this
 path will be well
  rewarded.
 
 We're moving in that direction.  Everything starts
 out by being experimental
 before becoming officially supported and endorsed.
 
 Colin Percival

I acutally find it better to do the make world then
to deal with binary updates because if it builds on
your system it will typically run on your system, as
well as there not being silly little incompatabilities
with the system libraries and binaries. I find
updating linux to be the most god awful prospect on
earth which is why I switched to FreeBSD for the most
part. It's probably gotten a lot better since Redhat
7.x which is what I was using. Gentoo is a lot better
but I haven't had a working system since they updated
the kernel to xx.xx.15 and put gcc 4.x into the base
system...

but to each their own, I know a binary update would be
nice when I start deploying things like desktopbsd on
my friends PCs who don't get formatting a harddrive
let alone building software. However this would mean
the builds would have to be generic i586, i686 and on
an old p3 500mhz machine building for a specific
processor with specific optimizations can make a huge
difference in performance. Even more so on p2 166
machines. 

Again to each their own. But I wouldn't tout Microsoft
update as a good thing becuase there are known bugs
where updates can erase previously updated code with
old buggy code... 

sorry been a long day had to end it with blasting
microsloth...

-brian

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


Re: Stand up and be counted - BSDStats Project

2006-08-03 Thread backyard1454-bsd


--- Boris Samorodov [EMAIL PROTECTED] wrote:

 Hi Marc,
 
 
 On Thu, 3 Aug 2006 18:30:08 -0300 (ADT) you wrote:
 
  Okay, there has been alot of discussion on this in
 the other thread,
  some of it tangent'd to the original, so, I'm
 starting off a new
  thread as a sort of summary ...
 
 Great idea, but should be introduced with care...
 
  I've been doing some thinking on it this
 afternoon, and think I've
  figured out about the simpliest way of doing it
 ... it still doesn't
  deal with fakers and such, but, IMHO, I don't
 think that that is a
  *huge* problem that needs to be addressed ... some
 might do it for a
  lark, but, overall, it just sounds like something
 that is more worth
  then its worth, so over time, it should
 eventually balance out ...
 
 ...taking into consideration *why* do we want to do
 the stats. *If*
 we plan (and this is one of the goals of the
 project) to have those
 stats as a serious argument for a Big Business then
 we *must* prove
 that those numbers are not faked. Or even more
 strict: that those
 numbers can't (or even very, no VERY hard to) be
 faked.
 
 It's useless (as a serious argument) if it can be
 faked: imagine that
 a virus (warm or else) is written to fake it.
 
 [Can't comment on the rest right now, thus skipped]
 
 
 WBR
 -- 
 Boris Samorodov (bsam)
 Research Engineer, http://www.ipt.ru Telephone 
 Internet SP
 FreeBSD committer, http://www.FreeBSD.org The Power
 To Serve
 ___
 freebsd-questions@freebsd.org mailing list

http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
 [EMAIL PROTECTED]
 
Personally I don't think this stuff should be tracked
in any centralized fashion. I don't particullarly like
when our freedom to choose to do something is tracked
or monitored; because it is no longer a freedom. Maybe
that is just paranoia speaking.

I think a much more productive goal is to get all the
users that have unsupported hardware to write into the
vendor that created it and ask them why they don't
support a spawn of the OS that allowed what we call
the internet to exist. Put this message on
FreeBSD.org, get people in this list to do it, get on
a soap box and scream it. I think giving them numbers
of systems will just be ignored. But getting 1000
emails a day in multiple languages from around the
world will get them thinking maybe its worth at least
releasing the specs just to shut these people up.

I know I would get sick of it, and would have to
especially if I were a bossman. Why do I want to pay
poeple to deal with the same questions every single
day when they aren't asking me to necessarily program
a driver for them. All they want is the specs so they
can do it themselves. Code is proprietary in todays
world unfortunatley, but knowing what registers and
what values go into them to make a RAID card work
shouldn't be. But alas maybe big brother thinks it is,
I still remember getting my commodore 64 (I was in
hghschool, it was already 15years old then...) and
having the full schematic of how to build the thing in
the instructions.

What has this world come too. Lets piss off these
vendors instead of driving ourselves nutz trying to
collect usage data, thats what spammers are for...

my too cents

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


Re: Office msg system

2006-08-02 Thread bsd
 Looking for suggestions on a web based msg system for an office. People
 are in and out quite a bit, they need to be able to log in from the road.
 Prefer email, notes, and maybe bulletin board to notify just a group or
 everyone in case of a disaster.
   Ability to link into cell phone text msg system would be nice.
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
 [EMAIL PROTECTED]


You might like to have a look at http://www.egroupware.org/. It maybe a
bit overkill but it is very flexible and works well.

Rob

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


Re: USB and 6.1-RELEASE

2006-07-18 Thread backyard1454-bsd


 
  Now I'm on to another issue.
 
  When I plug in the thumb drive, which is a 512MB
 USB 2.0 Mobile 
  Swingdrive, containing an MS-DOS filesystem, I
 get the following:
 umass0: vendor 0x0930 USB Flash Memory, rev
 2.00/1.00, addr 2
 da0 at umass-sim0 bus 0 target 0 lun 0
 da0:  USB Flash Memory 1.04 Removable Direct
 Access SCSI-0 device
 da0: 40.000MB/s transfers
 da0: 489MB (1001472 512 byte sectors: 64H
 32S/T 489C)
 umass0: Phase Error, residue = 0
 (da0:umass-sim0:0:0:0): Synchronize cache
 failed, status == 0x4, 
  scsi status == 0x0
 umass0: Phase Error, residue = 0
 (da0:umass-sim0:0:0:0): Synchronize cache
 failed, status == 0x4, 
  scsi status == 0x0
 umass0: Phase Error, residue = 0
 (da0:umass-sim0:0:0:0): Synchronize cache
 failed, status == 0x4, 
  scsi status == 0x0
 umass0: Phase Error, residue = 0
 (da0:umass-sim0:0:0:0): Synchronize cache
 failed, status == 0x4, 
  scsi status == 0x0
 umass0: Phase Error, residue = 0
 (da0:umass-sim0:0:0:0): Synchronize cache
 failed, status == 0x4, 
  scsi status == 0x0
 umass0: Phase Error, residue = 0
 (da0:umass-sim0:0:0:0): Synchronize cache
 failed, status == 0x4, 
  scsi status == 0x0
 umass0: Phase Error, residue = 0
 (da0:umass-sim0:0:0:0): Synchronize cache
 failed, status == 0x4, 
  scsi status == 0x0
 umass0: Phase Error, residue = 0
 (da0:umass-sim0:0:0:0): Synchronize cache
 failed, status == 0x4, 
  scsi status == 0x0
 umass0: Phase Error, residue = 0
 (da0:umass-sim0:0:0:0): Synchronize cache
 failed, status == 0x4, 
  scsi status == 0x0
 umass0: Phase Error, residue = 0
 (da0:umass-sim0:0:0:0): Synchronize cache
 failed, status == 0x4, 
  scsi status == 0x0
 umass0: Phase Error, residue = 0
 (da0:umass-sim0:0:0:0): Synchronize cache
 failed, status == 0x4, 
  scsi status == 0x0
 umass0: Phase Error, residue = 0
 (da0:umass-sim0:0:0:0): Synchronize cache
 failed, status == 0x4, 
  scsi status == 0x0
 umass0: Phase Error, residue = 0
 (da0:umass-sim0:0:0:0): Synchronize cache
 failed, status == 0x4, 
  scsi status == 0x0

 
  Looks like those messages are a quirk of some USB
 drives: 
 

http://lists.freebsd.org/pipermail/freebsd-bugs/2006-April/018182.html
 
  According to that PR/patch, that particular drive
 still works despite 
  the messages, so hopefully yours will too.
 
 Yup.  It seems to be working.  Thanks for all the
 help.
 ___
 
=== message truncated ===

Yeah I've noticed similar errors with a USB floppy
device I have as well with Rel_6.1. I'm not entirely
sure that the errors occurred with 6.0, and am certain
I never saw those errors with Rel_5.4. Are there new
features added into the USB system that are still
being worked out? These really concerned me becuase I
was trying to build a Grub boot disk to ease boot
loader installations with my server builds at the
time, and I didn't need the trivial matter of grub
installation failing on top of learning how to build a
(G)VINUM (looks like a new man page to read from other
threads I've been seeing...) RAID.

On a related issue is fdformat supposed to work with
USB floppy devices? I thought it worked in the past
(Rel_5.4) for me but with Rel_6.1 it doesn't. It bails
with device not a floppy drive error. Can I tweak
devd.conf (devfs.conf maybe; I can ls the correct one
later, sorry about my sloppy documentation. Both might
be valid and need configuration I'm just thinking out
loud) to trick the system into thinking the USB floppy
device is a REAL floppy drive? 

On my servers this isn't an issue but on my floppyless
laptop this is a major issue. I know I can build a
filesystem at a RAW level on the disk, but I have no
way of validating the media with a format. I've tried
low leveling with a dd command but this takes
forever to do (even with bs=512 I think I even tried
bs=1024 but prolly not because I believe this is twice
the standard block size and no use loading the buffers
with extra I/O requests and pending interrupts
right???), and am certain this isn't the right route
to be taking, just a hackish verification all the
blocks are writable. Of course I guess thats how
formatting came into being in the first place...


-brian

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


Re: boot FreeBSD from USB external drive

2006-07-14 Thread backyard1454-bsd


--- Alain G. Fabry [EMAIL PROTECTED] wrote:

 
 Is it possible to boot FreeBSD from external USB
 drive?
 Have my XP PC from the office with many IT
 restrictions. I'm however capable to boot from USB.
 
 If so, can you provide me some reference as on how
 to do the installation?
 
 Thanks in advance,
 
 Alain

as long as you have adequate capacity to install
whatever amount of FreeBSD on your USB device, and the
computer supports booting it it shouldn't be a
problem. Worst case a simple grub boot disk to load
the USB device might be in order. I say this only
because my laptop doesn't always detect bootable USB
devices.

just try running the installation cd with the USB
device and see what happens. Make sure your setting it
up on the right drive (da0 assuming you have IDE
hardrives)

5 gigs or so should be enough to install a system with
some packages for the ports your installing. Building
your own generally requires more space, at least this
is what I seem to get away with for a minumum install.
you can go less if all your want is console use.
good luck

-brian


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


Re: DWL-650 Revision M

2006-07-11 Thread backyard1454-bsd


--- Brian Henning [EMAIL PROTECTED] wrote:

 Hello All,
 
 If someone could help me out that would be great. I
 currently own a wireless
 card Dlink (DWL-650 Revision M) and I am not able to
 get FreeBSD 6.1 to load
 the wi driver. I perused the wi man pages and found
 that the D-Link DWL-650
 is on the list of supported cards. I question
 whether or not this includes
 all revisions of the DWL-650.
 
 Can someone please confirm that the DWL-650 Revision
 M is or is NOT
 supported?
 
 Maybe I need to purchase a new wireless card that
 will be supported.
 Is this perhaps the best way to go at the point?
 
 Thanks,
 
 Brian
 ___
 freebsd-questions@freebsd.org mailing list

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

I believe this is the WiFi card I have. The SuperMMimo
or whatever extension 108Mbps throughput and all that
good stuff...

Use the Windows XP driver file and inf and use the
NDIS emulation driver builder to generate a kernel
module for that card. I know this makes the driver, I
have not verified that I can connect yet with it, but
I have heard this is the best way to do it. 

I know it tells me a file is missing
/compat/ndis/Reg?? something or other. I have not
looked into the man pages for this file but I would
have to guess it is just a registry layer for tweaking
the driver. However the module loads without errors
and ifconfig says the device is detected, and all the
lights on the card start blinking. I just have a nasty
WPA key that I've been too lazy to copy from my
Windows partition to verify that everything is indeed
working (and I refuse to leave my connection insecure
even for a second or three.) Also haven't had time to
address the missing Registry compat file.

This assumes your are using Rel_6 (which you are, if
one can read one has a fortune...) I know there is a
nice simple script file that does all the work for
you, the name just escapes me but the ndis manpage is
a great place to start. 

good luck


-brian

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


Re: Re[2]: Mounting a drive

2006-07-11 Thread backyard1454-bsd
Keep in mind here without special device drivers (I've
heard they exist but have never installed any of them)
you will not be able to mount a Linux (linux uses
several different file systems) partition under
Windows XP. Disk Manager will allow an NTFS filesystem
directory mount an arbritrary Volume (a file system
windows supports, fat, fat32, ntfs, maybe hpfs) on
your system to overcome the DOS (it is not a Windows
limitation, Microsoft is still running a 16 bit world)
limitation of 26 drives, 24 of which can be
harddrives.

Mounting isn't really a function of the filesystem
(maybe in Linux it is???) but of the vnode system. It
allows a device (any specially configured file) with
a known structure to be referenced within the context
of a root directory structure, superceding
(non-destructively...) whatever was in the mounted
directory prior to the mount. In other words it lets
the partition (I'll keep the spcial files simple) be
seen on a filesystem to people with the appropriate
credentials, and by mounting say /foo with say the
special file /dev/da0s1a anything in /foo will no
longer be seen by the vnode system and instead
anything on /dev/da0s1a will be displayed in it's
place.

It would seem that unless you are installing Linux on
an Fat32 filesystem those partitions would be useless
within windows. You wouldn't be able to even edit
configuration files with Windows (the editors that
come with windows) editors because they will add line
feed (maybe it is carridge returns I always mess this
one up) to the text and Linux won't like that.

Any further help with Linux should be in another
mailling list, but if you want to put FreeBSD on one
of those memory sticks I'm sure we would try to
help...

Windows is just about useless, it doesn't even support
the now 5 year old or so 64-bit processors... I highly
doubt you will find anything but headaches doing what
you seem to be attempting to do with Windows and
GNUnix.

good luck

-brian


--- [EMAIL PROTECTED] wrote:

 Hmm
 
 Disk Manager - Change Mount Point - Mount Volume to
 a Directory
 
 Unless I'm misunderstanding, that's what you're
 looking for on the Windows
 side.. 
 
 --
 Chris
 
 
 Quoting Jerry McAllister
 [EMAIL PROTECTED]:
 
   
   Many  thanks for reply Jerry, when I joined
 FreeBSD I had not realised
   that  it  was  a Linux/ Unix forum, on quick
 inspection I assumed that
   the title referred to some kind of general help
 forum. There is such a
   proliferation  of  abbreviated  titles  that I
 am not always sure from
   titles of their purpose.
   
   My  question  referred really to Windows XP, as
 I am only just getting
   to grips with Linux.
  
  First of all, it has nothing to do with LINUX.
  
  This is FreeBSD which follows the BSD family of
 UNIX and
  is not nearly the same.   In fact, most of us
 experience it
  as superior to LUNIX for server work.
 Check it out at:   http://www.freebsd.org/
  
  As for any Microsloth stuff, I couldn't help, but
 I would
  guess that you are wasting your time trying to do
 anything
  of that sophistication in MS.
  
  Finally, when you post questions or responses on
 the list, you should
  always include the list in your responses (as a
 cc).
  
  jerry
  
  
   I  had  read  an article recently, which I can
 no longer find, that to
   get  around  the  limitation, under windows XP,
 of the number of named
   partitions  that  one  can  use,  that 
 apparently  one  can mount a
   partition,  be  it  a  sector  of a hard drive,
 or a removeable drive,
   within  a  directory. ( I believe the article
 said directory, it might
   have  ben  a folder ) The article was referring
 to the ability then to
   have  a  number of flash drives or external USB
 connected drives which
   could exceed the normal Windows limitation.
   
   I  am  running  a  piece of software, hyperOS,
 which allows me to have
   multiple  bootable partitions, and currently I
 have around 20 on a 300
   Gig  hard  drive,  I wanted to add several USB
 memory stick drives and
   some partitions with different flavours of
 linux, and so am interested
   in  finding  out  how I can overcome the windows
 XP limitation. I felt
   that  also  I  needed  to  understand what the
 term mounting a drive
   actually  meant,  so  that  I  could  try  to 
 anticipate  any unusual
   behaviour,  particularly  with  boot  switching.
  From  your  email it
   appears  that  mounting  implies  letting the
 device driver know the
   address of the device upon which it is to work.
   
   Best regards and thanks for reply,
   Richard
   
   mailto:[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

Re: DWL-650 Revision M

2006-07-11 Thread backyard1454-bsd


--- [EMAIL PROTECTED] wrote:

 
 

  currently own a wireless
  card Dlink (DWL-650 Revision M) and I am not able
 to
  get FreeBSD 6.1 to load
  the wi driver. I perused the wi man pages and
 found

 I believe this is the WiFi card I have. The
 SuperMMimo
 or whatever extension 108Mbps throughput and all
 that
 good stuff...
 
 Use the Windows XP driver file and inf and use the
 NDIS emulation driver builder to generate a kernel
 module for that card. I know this makes the driver,
 I
 have not verified that I can connect yet with it,
 but
 I have heard this is the best way to do it. 
 
 I know it tells me a file is missing
 /compat/ndis/Reg?? something or other. I have
 not
 looked into the man pages for this file but I would
 have to guess it is just a registry layer for
 tweaking
 the driver. However the module loads without errors
 and ifconfig says the device is detected, and all
 the
 lights on the card start blinking. I just have a
 nasty
 WPA key that I've been too lazy to copy from my
 Windows partition to verify that everything is
 indeed
 working (and I refuse to leave my connection
 insecure
 even for a second or three.) Also haven't had time
 to
 address the missing Registry compat file.
 
 This assumes your are using Rel_6 (which you are, if
 one can read one has a fortune...) I know there is a
 nice simple script file that does all the work for
 you, the name just escapes me but the ndis manpage
 is
 a great place to start. 
 
 good luck
 
 
 -brian
 

I knew I was forgetting something... the .INF file has
some anomalies in it that will make the script file
not make a kernel module out of the box. There is a
line which the script will spit out for you that won't
compile correctly. This line has something to do with
switching the credentials of an unkown user to that of
an administerator user or some such thing along those
lines. This line has to be commented out of the INF
file for everything to work correctly.

I do not think this line effects the driver but nobody
becoming root is something FreeBSD doesn't seem to
like and justifiably so... I guess I shouldn't be
supprised to see that Windows thinks this is perfectly
acceptable.

-brian

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


Re: Upgrading Included GCC

2006-07-10 Thread backyard1454-bsd
--- Jim Stapleton [EMAIL PROTECTED] wrote:

 On 7/10/06, Dan Nelson [EMAIL PROTECTED]
 wrote:
  In the last episode (Jul 10), Jacob Jennings said:
   Hello, I am on FreeBSD 5.5-STABLE and was
 wondering if there is a way
   to replace the system's GCC, shipped with 5.5,
 (GCC 3.4.2) to GCC 4.1
   without upgrading the whole source tree to
 another release? Is there
   a way to do this that will not include much risk
 of breaking my
   system? Thanks.
 
  You can install ports/lang/gcc41, which will give
 you gcc41 and
  g++41 executables.
 
  --
  Dan Nelson
  [EMAIL PROTECTED]
  ___
  freebsd-questions@freebsd.org mailing list
 

http://lists.freebsd.org/mailman/listinfo/freebsd-questions
  To unsubscribe, send any mail to
 [EMAIL PROTECTED]
 
 
 If I'm reading the OP's comment right, he may try to
 do what I did the
 first time... I was smart enough to back up the
 overwritten files
 first... which saved me a reinstall.
 
 DO NOT replace teh gcc, g++, etc. base files for the
 GCC compiler with
 the newly compiled files, that will cause a lot of
 compilation issues
 for many core things and does not work properly. I
 don't know why,
 but it doesn't; it seems a lot of things get very
 tied to a particular
 version of the compiler.
 
 -Jim Stapleton
 ___
 freebsd-questions@freebsd.org mailing list

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

it just sounds like a bad idea to attempt to do this
anyway. The developers of the Release you are running
seem to think GCC 3.4.2 was a stable enough compiler
to run the system and build things correctly. I'm not
the worlds smartest programmer, but if GCC 4.1 was
good enough to build FreeBSD I'm sure it would be part
of the BASE system. 

Your best bet would be to install it from ports and
use it with the appropriate environment variables.
Keep in mind if this is anything like Gentoo the GCC
4.x and 3.x libraries ARE NOT compatible. If it works
like Gentoo replacing 3.x with 4.x you WILL BREAK
otherwise functioning software when the standard
libraries change. Again if it works like Gentoo this
is KDE at the very least. This means all the ports
would likeley need to be upgraded.

Of course if your do get GCC 4.1 to properly compile a
FreeBSD World target (lots of hackign here to replace
the Compiler portion of the World target) perhaps the
hacker mailing list would be interested. And if I'm
not mistaken Rel_6.X still uses the 3.X gcc suite. I
would have to check it but I belive it is 3.4.x or
3.5.x...

Latest and greatest isn't always the best thing,
stable and old means consistent binaries. It's your
call, but don't replace the BASE compiler unless you
fully understand the implications, and like hacking
code to make the World target build and the kernel so
you can get benefit from using the newer version of
GCC. I would suspect only marginal gains if any at all
just because I would think it would be part of FreeBSD
if it made the system components correctly.

my two cents


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


Re: Portupgrade ruby problem

2006-07-05 Thread bsd

I still have the same problem :

root 12:35 /var/db/pkg # portsdb -fuU
Updating the ports index ... Generating INDEX.tmp - please  
wait..Warning: Duplicate INDEX entry: djvulibre-nox11-3.5.17_1

Warning: Duplicate INDEX entry: ocaml-nox11-3.09.2
Warning: Duplicate INDEX entry: ploticus-nox11-2.32_1
Warning: Duplicate INDEX entry: cvsup-without-gui-16.1h_2
Warning: Duplicate INDEX entry: ghostscript-afpl-nox11-8.54,1
Warning: Duplicate INDEX entry: ghostscript-gnu-nox11-7.07_15
Warning: Duplicate INDEX entry: ghostscript-gpl-nox11-8.15_2
Warning: Duplicate INDEX entry: ssh2-nox11-3.2.9.1_5
Warning: Duplicate INDEX entry: mod_rpaf-0.5
Done.
done
[Updating the portsdb format:bdb_btree in /usr/ports ... - 15079  
port entries found portsdb: uninitialized constant PortsDB::BDB:  
Cannot update the portsdb! (/usr/ports/INDEX-5.db)]



Any idea ?

Le 4 juil. 06 à 18:20, [EMAIL PROTECTED] a écrit :


On 7/3/06, bsd [EMAIL PROTECTED] wrote:

Mmmh...

I have followed your instructions and am still facing a problem :

root 0:34 ~ # portversion -l 
[Rebuilding the pkgdb format:bdb_btree in /var/db/pkg ...
[Rebuilding the pkgdb format:bdb_btree in /var/db/pkg ...
uninitialized constant PkgDB::BDB: Cannot update the pkgdb!]
Command failed [exit code 1]: /usr/local/sbin/pkgdb -aFQ

I can not rebuild the database using pkgdb -fu

root 0:37 ~ # pkgdb -fu
---  Updating the pkgdb
[Rebuilding the pkgdb format:bdb_btree in /var/db/pkg ...
uninitialized constant PkgDB::BDB: Cannot update the pkgdb!]


?? Any idea.


What worked for me:

rm /var/db/pkg/pkgdb.db  pkgdb -Ffu

I also had to run

portsdb -fu (or maybe it was -fuU, which takes a painfully
long time)

I hope this helps.

--
--



«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§

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

«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§




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


Re: Problem with pkgdb

2006-07-05 Thread bsd

In order to solve the problem, I had to rebuild the ruby-bdb port.


Sincerly yours.


Le 4 juil. 06 à 18:19, jan gestre a écrit :




On 7/4/06, bsd [EMAIL PROTECTED] wrote: Hello,

I have a problem with pkgdb that I am not able to solve on my own.

root:newmail 10:26 /usr/ports/sysutils/portupgrade # pkgdb -fu
---  Updating the pkgdb
[Rebuilding the pkgdb format:bdb_btree in /var/db/pkg ...
uninitialized constant PkgDB::BDB: Cannot update the pkgdb!]

So far I have tried to reinstall couple of ports (portupgrade), but
that didn't solve anything.


Thanks for your support.


P.S . A solution was to use portmanager but I think I still need pkgdb
- is that correct ??

i had a similar problem regarding portupgrade, it corrupted the  
pkgdb, what i did was rename pkgdb.db to pkgdb.orig then run:


# pkgdb -fu

and everything went normal again



«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§

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

«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§




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


Problem with pkgdb

2006-07-04 Thread bsd

Hello,

I have a problem with pkgdb that I am not able to solve on my own.

root:newmail 10:26 /usr/ports/sysutils/portupgrade # pkgdb -fu
---  Updating the pkgdb
[Rebuilding the pkgdb format:bdb_btree in /var/db/pkg ...  
uninitialized constant PkgDB::BDB: Cannot update the pkgdb!]


So far I have tried to reinstall couple of ports (portupgrade), but  
that didn't solve anything.



Thanks for your support.


P.S. A solution was to use portmanager but I think I still need pkgdb  
- is that correct ??



«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§

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

«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§




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


Portupgrade ruby problem

2006-07-03 Thread bsd

Hello,

I have a new problem that has just occured on my main mail server.
I am upgrading the ports on this server every two or three days using  
portsnap and portupgrade.


After portsnap has updated it's index I do a portupgrade -arR to  
upgrade all ports on the system.



Mutt needed an update so I did what I am doing every couple of days  
since more than one year :



# portsnap update
# portupgrade -arR


My system faithfully started to update it's ports then...


-L/usr/local/lib -o pgpring  pgppubring.o pgplib.o  lib.o extlib.o  
sha1.o  pgppacket.o ascii.o -lintl -liconv
cc -I/usr/local/include -Wall -O -pipe -L/usr/local/lib -rpath=/usr/ 
local/lib -L/usr/local/lib pgpewrap.c  -o pgpewrap

defined symbol db_version_4002
** Command failed [exit code 1]: /usr/local/sbin/pkgdb -aFQ
---  Skipping 'mail/mutt'
/libexec/ld-elf.so.1: /usr/local/lib/ruby/site_ruby/1.8/i386- 
freebsd5/bdb.so: Undefined symbol db_version_4002
/usr/local/lib/ruby/site_ruby/1.8/pkgtools.rb:444:in `__system':  
Command failed [exit code 1]: /usr/local/sbin/pkgdb -aFQ  
(CommandFailedError)
from /usr/local/lib/ruby/site_ruby/1.8/pkgtools.rb:467:in  
`__sudo'
from /usr/local/lib/ruby/site_ruby/1.8/pkgtools.rb:473:in  
`xsystem!'
from /usr/local/lib/ruby/site_ruby/1.8/pkgdb.rb:960:in  
`autofix!'
from /usr/local/lib/ruby/site_ruby/1.8/pkgdb.rb:956:in  
`autofix'

from /usr/local/sbin/portupgrade:475:in `main'
from /usr/local/sbin/portupgrade:714:in `main'
from /usr/local/lib/ruby/1.8/optparse.rb:815:in `initialize'
from /usr/local/sbin/portupgrade:209:in `main'
from /usr/local/sbin/portupgrade:1951


I shooted portupgrade again but that did nothing, the donkey was  
stucked !!



root 8:08 ~ # portupgrade -arR
/libexec/ld-elf.so.1: /usr/local/lib/ruby/site_ruby/1.8/i386- 
freebsd5/bdb.so: Undefined symbol db_version_4002


I have also try to reinstall portupgrade and ruby18 that did  
nothing !!



Any idea of how to proceed...

Another interesting information :


root 8:18 ~ # uname -a
FreeBSD newmail.rmm.fr 5.4-RELEASE-p8 FreeBSD 5.4-RELEASE-p8 #0:  
Thu Nov 24 16:34:35 CET 2005 [EMAIL PROTECTED]:/usr/obj/usr/ 
src/sys/GENERIC  i386



Thanks for your support.


«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§

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

«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§




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


Re: Portupgrade ruby problem

2006-07-03 Thread bsd

Mmmh...

I have followed your instructions and am still facing a problem :

root 0:34 ~ # portversion -l 
[Rebuilding the pkgdb format:bdb_btree in /var/db/pkg ...  
[Rebuilding the pkgdb format:bdb_btree in /var/db/pkg ...  
uninitialized constant PkgDB::BDB: Cannot update the pkgdb!]

Command failed [exit code 1]: /usr/local/sbin/pkgdb -aFQ

I can not rebuild the database using pkgdb -fu

root 0:37 ~ # pkgdb -fu
---  Updating the pkgdb
[Rebuilding the pkgdb format:bdb_btree in /var/db/pkg ...  
uninitialized constant PkgDB::BDB: Cannot update the pkgdb!]



?? Any idea.


Le 3 juil. 06 à 10:48, Jacques S. a écrit :


bsd wrote:

Hello,
I have a new problem that has just occured on my main mail server.
I am upgrading the ports on this server every two or three days  
using portsnap and portupgrade.
After portsnap has updated it's index I do a portupgrade -arR to  
upgrade all ports on the system.
Mutt needed an update so I did what I am doing every couple of  
days since more than one year :

# portsnap update
# portupgrade -arR
My system faithfully started to update it's ports then...
-L/usr/local/lib -o pgpring  pgppubring.o pgplib.o  lib.o  
extlib.o sha1.o  pgppacket.o ascii.o -lintl -liconv
cc -I/usr/local/include -Wall -O -pipe -L/usr/local/lib -rpath=/ 
usr/local/lib -L/usr/local/lib pgpewrap.c  -o pgpewrap

defined symbol db_version_4002
** Command failed [exit code 1]: /usr/local/sbin/pkgdb -aFQ
---  Skipping 'mail/mutt'
/libexec/ld-elf.so.1: /usr/local/lib/ruby/site_ruby/1.8/i386- 
freebsd5/bdb.so: Undefined symbol db_version_4002
/usr/local/lib/ruby/site_ruby/1.8/pkgtools.rb:444:in `__system':  
Command failed [exit code 1]: /usr/local/sbin/pkgdb -aFQ  
(CommandFailedError)
from /usr/local/lib/ruby/site_ruby/1.8/pkgtools.rb:467:in  
`__sudo'
from /usr/local/lib/ruby/site_ruby/1.8/pkgtools.rb:473:in  
`xsystem!'
from /usr/local/lib/ruby/site_ruby/1.8/pkgdb.rb:960:in  
`autofix!'
from /usr/local/lib/ruby/site_ruby/1.8/pkgdb.rb:956:in  
`autofix'

from /usr/local/sbin/portupgrade:475:in `main'
from /usr/local/sbin/portupgrade:714:in `main'
from /usr/local/lib/ruby/1.8/optparse.rb:815:in `initialize'
from /usr/local/sbin/portupgrade:209:in `main'
from /usr/local/sbin/portupgrade:1951
I shooted portupgrade again but that did nothing, the donkey was  
stucked !!

root 8:08 ~ # portupgrade -arR
/libexec/ld-elf.so.1: /usr/local/lib/ruby/site_ruby/1.8/i386- 
freebsd5/bdb.so: Undefined symbol db_version_4002
I have also try to reinstall portupgrade and ruby18 that did  
nothing !!

Any idea of how to proceed...
Another interesting information :

root 8:18 ~ # uname -a
FreeBSD newmail.rmm.fr 5.4-RELEASE-p8 FreeBSD 5.4-RELEASE-p8 #0:  
Thu Nov 24 16:34:35 CET 2005 [EMAIL PROTECTED]:/usr/obj/usr/ 
src/sys/GENERIC  i386

Thanks for your support.

«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§

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

«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§

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


This worked for me:
# cd /var/db/ports/portupgrade
# rm options

# cd /var/db/pkg
# rm pkgdb.db
# pkgdb -fu

Discovered I had both ruby versions in ports: db4-4.x.x and db41-4.x.x
I needed only db41; nothing depended (any more) on db4, so:

# pkg_delete db4-4.x.x

Note, I had migrated to WITH_BDB4=true, quite a long time ago.

The recent tribulations with portupgrade has been on the list  
already, several times, at several stages of the problem, and  
various solutions have been described. Some of those seem more  
complicated than this. I don't think the problem is complicated, at  
least not in every case. At least not, now that the maintainer has  
worked to fix the port.


--
Jacques S.




«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§

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

«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§




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


Re: FreeBSD add user script syntax

2006-07-02 Thread bsd
 I've got Samba set up as a domain controller successfully, and am now
 wanting to user usrmgr.exe and svrmgr.exe to make basic user admin changes
 from a Windows workstation.

 Some stuff works, and some stuff doesn't, and I was looking for some help
 with the script sections listed here...

 What works:

 add user script = pw user add -n %u -g users -c Windows User -s
 /usr/bin/nologin
 delete user script = pw user del -n %u -r
 add group script = pw group add -n %g
 add machine script = pw user add -n %u -g winstations -c Windows_Machine
 -s
 /usr/sbin/nologin

 What doesn't work:

 delete group script = pw group del -n %g
 add user to group script = pw group mod -n %g -M %u
 set primary group script = pw user mod -n %u -g %g

 What I can't figure out:

 rename user script =
 delete user from group script =


 Does anyone have examples that work that could pinch please?

 Many thanks,
 Steve :)

Steve,

How did you setup samba? There are several ways to do this. There are very
useful guides on the samba site. There are also variuos scripts for adding
users etc on the IDEALX site:
http://www.idealx.com/content/view/141/146/lang,fr/index.en.html

Rob

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


Re: batching port builds

2006-07-01 Thread backyard1454-bsd


--- Javier Echaiz [EMAIL PROTECTED] wrote:

 You can put BATCH=yes in your /etc/make.conf
 
 The settings for each port (if it has something to
 config) are stored
 in /var/db/ports/{port dir name}/options (just in
 case you want to see
 what the port assumed).
 
 If you want to configure ports (with than ncurses
 blues screen)
 sometimes and assume defaults in other cases perhaps
 you should try
 portupgrade -m BATCH=yes package on a need basis.
 
 As David suggested you can always do make
 config-recursive install
 clean, to answer all the option questions before
 the port builds.
 
 Warmly,
 Javier
 
 On 30/06/06 David J Brooks said:
 
  If you  do 'make -DBATCH' instead of 'make' - 
 you will use the preset
  defaults for each port with options. Or you can
 do
  'make config-recursive' - which will offer you
 all the option screens for
  the port in whose directory you're currently in
 and all its dependencies.
 
  See 'man ports' for more information.
 
  To use those with 'portupgrade -a' will probably
 take some custom scripting.
 
 Ah, so there's no make.conf option for this?
 
 Thanks,
 Mike
 ___
 freebsd-questions@freebsd.org mailing list

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

the most convenient way to batch build ports is to use
this sort of if statements in make.conf

.if ${.CURDIR:M*/databases/mysql*}
BUILD_STATIC=yes
BUILD_OPTIMIZED=yes
WITH_LINUXTHREADS=yes
.endif

#reference
#http://blog.innerewut.de/articles/2006/01/14/upgrading-ports-and-preserve-make-options

this will work with portupgrade even in dependancies
because the port will always look to make.conf for
default system settings.

so


.if ${.CURDIR:M*/foo/bar}
BATCH=yes
WITH_THISOPTION=yes
WITHOUT_2NDOPTION=yes
.endif

will build with and without those options. just
remember to prefix the OPTIONS in a menu config setup
with WITH or WITHOUT to enable/disable what you want.
Always make sure to remember WITH_FOO=no means
WITH_FOO=yes, it should be
WITHOUT_FOO=whatever_it_is_now_set. The good thing is
individually you can choose to use one setting over
the other, and this also ensures one ports options
don't mess things up in another ones build. I know
when I was blindly setting build options in make.conf
weird problems began to arrise until I got errors
about make.conf being too large.

this can make make.conf get large so I've been meaning
to move the port configs into port.conf instead and
reference it in like


.if ${.CURDIR:M*/usr/ports/*}
include /foo/port.conf
.endif

I believe this is the correct syntax but I haven't
tried it yet. This method is how I am batch building
my servers. Ultimately I will make a Makefile to build
what I need and let it do its thing. 

I wish this method was documented better. Although it
is trivially simple if one understands makefiles so I
can see why its not really discussed. It is none the
less very effective and simple.

What I would like to know is if there is a simple way
to get the build options for every port in the
collection so it can easily be brought into a
port.conf file simply. I know I saw a command that
would parse the makefiles of all the ports and do
something to that effect but I can't recall it.

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


Re: Frustration

2006-06-30 Thread backyard1454-bsd


--- Joao Barros [EMAIL PROTECTED] wrote:

 On 6/30/06, Fernando Pinguelo [EMAIL PROTECTED]
 wrote:
  I am writing to you because I need to vent. I have
 tried installing version 5.3 of FreeBSD on a Pentium
 III machine. I thought I succeeded in doing it so,
 but when I tried to build xOrg I realized that I did
 not have all the ports installed and that some other
 dependencies were also missing. I realized then that
 the installation had not been as successful as I
 first thought.
  So, I tried to re-install the ports from the CD,
 since I didn't have an Internet connection to that
 machine. Well, I kept getting more and more
 hardware/software errors. I then tried to upgrade
 FreeBSD to version 6.1. And that was what I did; I
 tried.
 
  Well, I kept getting more errors, as usual. The
 more I tried to install/reinstall/upgrade/fix
 FreeBSD, the more I was realizing that anything that
 had to do with FreeBSD that could go wrond would go
 wrong, be it the software installation or hardware
 behavior. The amount of work and headache that I
 have been experiencing to move a single 'inch'
 towards a working Unix environment has been
 enourmously frustating. The worst part of it all is
 that I have not accomplished anything tangible at
 all.
 
  I think now it is time for this boy to abandon the
 'Unix' bandwagon for good and move back to MS
 Windows. At least I will be able to concentrate on
 doing real productive work, instead of dealing with
 temperamental hardware and software every time I
 touch the PC.
 
  Good luck to those heroic individuals who stick
 with the configuration fight to the end. I failed to
 see the 'Power to Serve'.
 
 Hi,
 
 I don't know your level of proficiency with unix but
 from your email I
 think you're taking the initial steps.
 You tried to build a Lego without all the pieces and
 with no
 instructions. You should start with an already built
 machine and start
 your way down from there. With this in mind I
 recomend you to install
 for example PC-BSD(1). It's FreeBSD all the way, but
 for what you
 want, a desktop solution, a custom built FreeBSD.
 
 -- 
 Joao Barros
 ___
 freebsd-questions@freebsd.org mailing list

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


That or try desktop-bsd so it's still a pure BSD
system. I've experienced all the problems with Windows
that you could imagine, my favorite is not being able
to swap hard drives into a new machine and get the
thing to boot, especially with a Plug N Play OS. 

I've had a million problems with BSD, and with Linux,
Dos, and OS/2. anytime you learn something new things
can be messed up. I bet your problem is you kept
changing your mind with sysinstall, it got confused
and never let your choose your distribution, and now
its all messed up. That usually messed up my
installations in the begining.

Windows is cool, but I can't remotely login to windows
over a SSH session on my Treo and run update my system
while I'm on the road for work. *BSD is the future,
because Microsoft won't be able to release their
garbage too much longer and be taken seriously.
Especially now that they have gotten into the
anti-spyware market. Why pay for a license to an OS
that I need to pay for another license from the same
company to make the OS secure

I think RTFM is in order, I know it sounds cold but
I've taken the time to read countless man pages to
figure out my problems. Remember BSD isn't setup for
you out of the box, that would violate the spirit of
Unix; but its got thousands of help files built in to
the system. You can't say that about windows, their
help is useless


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


Re: problems with Nice and Dump in FreeBSD 6.1-Current (Stable-#5)

2006-06-30 Thread backyard1454-bsd
--- Alex Zbyslaw [EMAIL PROTECTED] wrote:

 Brian McKeon wrote:
 
 I've been having some issues using nice...
 
 I usually setup a system building script to
 automate
 things when I go out or to sleep. something along
 these lines...
 
 echo cd /usr/sys; make clean  make buildworld 
 make buildkernel  /root/makeme; chmod u+x
 /root/makeme
 
 then I would under rel_5 just type 
 nice -n -20 /root/makeme
   
 
 under Rel_6 this gives a incorrectly formed number
 error more or less according the the man pages
 this
 should be valid as they basically give this as an
 example.
   
 
 
 nice is a csh builtin which uses a different
 (historic) format
 
 (cartman)38# nice -n -20 /bin/ls
 nice: Badly formed number.
 (cartman)39# which nice
 nice: shell built-in command.
 (cartman)40# whereis nice
 nice: /usr/bin/nice /usr/share/man/man1/nice.1.gz
 /usr/src/usr.bin/nice
 (cartman)41# /usr/bin/nice -n -20 /bin/ls
 list of files
 {cartman}42# nice -20 /bin/ls
 list of files
 
 Did you change shells between releases?  Maybe bash
 uses the new format.
 
 Then with Dump...
 
 It seems to hit the fan with large filesystems, and
 this seems new to rel_6 at least in my experience.
 I
 can dump my root and var systems correctly but my
 usr
 file system never works, gives errors during
 restore,
 but comeplete the dump. I've been tarring things up
 lateley, probably will keep dumping to just the
 root
 system and tar var once I have websites on it.
   
 
 Show us the error message!  And the dump command
 while you are at it.
 
 --Alex
 
 
 ___
 freebsd-questions@freebsd.org mailing list

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

I forgot about nice being interal to csh, that is
likely to source of my problems...

I use this for a dump

dump -0 -C 32 -f - |bzip2 --best | dd of=/foo/bar.dbz2

and then on a restore

bzip2 -dc | (cd /foo; restore -r -f -)


the error I get is

expected 234234 got 234237
expected 234235 got 234238
expected 234236 got 234239
... ...

expected 234250 got 234267

which fills up the screen with seemingly corruption
errors, then the restore bails with an error asking if
I wish to continue, if I continue it fails. I will get
a screen dump of the error when I can dig up the
corrupt dump file, and or make a new one. I believe
the error is something about inodes missing or being
corrupted.

this exact command syntax works on everything but my
usr filesystem.

brian

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


Re: problems with Nice and Dump in FreeBSD 6.1-Current (Stable-#5)

2006-06-30 Thread backyard1454-bsd


--- Alex Zbyslaw [EMAIL PROTECTED] wrote:

 [EMAIL PROTECTED] wrote:
 
 I forgot about nice being interal to csh, that is
 likely to source of my problems...
 
 I use this for a dump
 
 dump -0 -C 32 -f - |bzip2 --best | dd
 of=/foo/bar.dbz2
 
 and then on a restore
 
 bzip2 -dc | (cd /foo; restore -r -f -)
 
 
 the error I get is
 
 expected 234234 got 234237
 expected 234235 got 234238
 expected 234236 got 234239
 ... ...
 
 expected 234250 got 234267
 
 which fills up the screen with seemingly corruption
 errors, then the restore bails with an error asking
 if
 I wish to continue, if I continue it fails. I will
 get
 a screen dump of the error when I can dig up the
 corrupt dump file, and or make a new one. I believe
 the error is something about inodes missing or
 being
 corrupted.
 
 this exact command syntax works on everything but
 my
 usr filesystem.
   
 
 
 The restore man page does tell you why this happens
 (I know because I 
 was just reading it today :-))
 
 You are doing this dump on a Live Filesystem.  To do
 that use the -L 
 option to dump (FreeBSD 5.X or later) which will
 snapshot the filesystem 
 first.  Either that, or do what we had to do for
 years and drop down to 
 single-user mode and make sure no processes are
 running to change the 
 filesystem.  Dump needs the filesystem to be static.
 
 Then when you restore you will get precisely *one*
 similar error (at 
 least on 5.4), which I can't explain but can say
 *does not matter*.  I 
 have restored several such dumps and compared them
 to the original 
 filesystem and they are fine.  You should do that
 yourself for your own 
 peace of mind.  (I do similar to you but with gzip
 and on 5.4).
 
 The error you'll get should be:
 
  expected next file inumber, got inumber
  A file that was not listed in the
 directory showed up.  
 This can
  occur when using a dump created on an
 active file system.
 
 and I think it must be some artefact of the
 snapshot/dump interaction.
 
 If you use -L and *still* have trouble then it
 sounds like a bug.
 
 --Alex
 
 
 
 

I wasn't aware booting off the cd and running fixit
made my filesystems become live...

I have noticed myself this error occurs at least once
every once in a while and things are fine. I always
assumed the .snap directory from a newfs was at fault,
but because it always worked was never concerned until
a screen full of these errors occurred and restore
halted on me.

I suspect this is a bug because it looks like I forgot
the most important part of my dump command in my
previous post.

dump -0 -C 32 -f - /dev/ad2s1f | ... ... 

sorry about that I knew it didn't look right. I know I
had no issues with rel_5 on this matter, course I was
dumping and restoring to respective slices in one pipe
command. It was only when I tried on the laptop and
was forced to use a backup device to store the dumps
that this became an issue. 


I will make another dump of my laptop when I'm am out
of work and post the results and or errors I
encounter. including the command lines verbatim as
typed into the shell. If I have to use tar its not
that big of a deal, but if it is a bug I would like
those with the ability to fix it have the correct
information they need. going to have to add C
programming to the yak-shaving list...
At present it is only conjecture. I will also check on
my server as it is a newer source build to see if I
get the same results. I will post the source version
as well when I remember how to I think a uname -a will
do the trick, but its something I should need to know
anyway...


brian

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


Re: make.conf and USA_RESIDENT

2006-06-30 Thread backyard1454-bsd


--- Adam Stroud [EMAIL PROTECTED] wrote:

 I have seen references to a USA_RESIDENT make.conf
 entry.  However, I 
 cannot find any reference to this variable in 
 /usr/share/examples/etc/make.conf, or the make.conf
 man page.  Does this 
 setting still exist?  If so, is there are
 documentation for it?
 
 Thanks
 A
 ___
 freebsd-questions@freebsd.org mailing list

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


I'm fairly certain this was in the good old days to
properly have the encumbered cryptography code built.
Since GAT and what not and other Illectual Property
agreements have been signed with the US and China most
notably I believe this code is no longer encumbered
with exportation restrictions and so the USA_RESIDENT
is no longer required. I believe this was in one of
the change logs for the system source, as I know I
read this. Maybe is was in the news log for
www.freebsd.org. However, I'm not certain where I read
this and when this changed. 

It would be nice to have a definative answer on this
because people still suggest it is put into
make.conf...

I believe all the crptography code is built by default
now, however there are specific make options that
enable it.

brian
___
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.1 Samba 3 as a PDC not using ldap

2006-06-24 Thread bsd
 Hello

 I am looking for help with running SAMBA 3 as a PDC on Freebsd 6.1

 I can get samba to run as a basic server no problem.

 but I would like it get samba to run as a pdc but not using ldap,

 I would be most grateful if I could see a working smb.conf file
 running as a pdc that would perhaps steer me in the correct direction.

 The examples that come with samba 3 have not been ported to freebsd
 and my visits to google have yielded lots of info but nothing that
 actually helps me.

 The problem comes for me to add machines get them to 'register' as
 part of the domain etc

 Thank you in advance for any help you may be able to offer


 Kind Regards

 Godfrey


Godfrey,

There are some very good examples on the samba site itself and they are
also in the smaba docs on your machine.

This guide is for Centos, but I found it quite useful:
http://www.hughesjr.com/content/view/24/30/Guides

Rob


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


Re: Help with installing php4 and upgrading mysql323 for Apache 1.36

2006-06-24 Thread bsd
 Hi,
 I'm having trouble figuring out what and how to install and upgrade some
 programs/modules. This was very simple when I last did it, but I haven't
 been around doing this since version 4.7 was new and now some things have
 changed. Server is now 4.11 STABLE (or will be on monday).

 I have the latest Apache-mod_ssl installed and I need to have the latest
 mod_php4 for Apache aswell as upgrading mysql to the latest of the 323
 version. (Perhaps I'll go for mysql 4.1, but I need to verify this with
 some
 software running on my system first.)

 What port/modul should I install to get php4 working under apache? I used
 to
 install mod_php4, but from my /usr/ports tree this seems deprecated to me.
 It's also important that I can make the php4 module work together with
 mysql
 323.

 Any help very much appreciated!

 Thanks a lot.

 Best regards,
 Andreas

Andreas,

As 6.x is out, 4.11 etc will soon be no longer supported. You should
consider updating to 5.x at least if possible. I'm running 6.1 with no
problems.

mod_php has been deprecated as you found out. Use the php4 port instead
which has the functionality of the mod_php4 port.

Rob

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


Re: FreeBSD equivalent to DRBD

2006-06-18 Thread bsd
 [EMAIL PROTECTED] schrieb:

 It look like ggated + geom will do at least part of the job. Setting up
 the raid part looks fairly straight forward, the question is howto
 manage
 the swop aspect, ie machine a primary to machine b primary. I guess it
 is
 shutdown geom + gated and starting them on the the other machine. I
 don't
 see any way of doing this though. Perhaps I'm missing something.

 The exporting the drive via NFS and swopping under haertbeat looks ok
 to.
 It is just the gom + ggated aspect I am not sure about.

 I think ggated and gmirror won't satisfy you because I'd like to call
 ggated experimental. Furthermore it is not intended for those tasks,
 because it is kept very simple. A better scenario for the current
 implementation of ggated is to mount a remote CD filesystem locally.

 If you really need DRBD then stay with DRDB and linux.

 Björn


Thanks,

I have a setup using heartbeat and Freebsd which uses rsync to keep the
drives in step. The only problem is that rsynce is run as a cron job which
makes balancing the Cron Invervals with the run time of rsync a bit hit
and miss.

Having read up more on ggated, I may try it on some spare machines and
drives I have lying around. I take your point about it being expermential
though but as I see it it is about the only thing I need that FreeBSD is
week on. ISTR GEOM Started that way too. Perhaps it is something I can
help FreeBSD with so I can give something back.

Rob



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


Re: X ATI driver?

2006-06-18 Thread bsd
 On 6/17/06 6:56 PM +0100, [EMAIL PROTECTED] wrote on Re: X ATI driver?

ATI cards with X Windows are a bit of a pain. As I understand it, ATI
 have
not released their specs etc so that any X driver is reverse engineered.
NVIDA does provide drivers which do work. I have an old MACH32 in a
 server
and could only get it to work as using the Vesa drivers. It runs at
1024x768, but I was not too bothered as the machine after setting up runs
headless.

My advice is try the VESA drivers if that fails try and change to NVIDA.

 Rob,

 I'm finding the docs less than helpful about all this. If I
 don't use the suggested configuration, then I need to fill in a
 bunch of stuff I don't know about - or, so it seems, at least.
 Here's what the configuration file looks like after doing Xorg
 -configure.


Snip

 Any chance you could show me how to either do the changes to
 VESA or NVDIA or to find the documents that are supposed to be
 helpful, preferentially off list (I'll write a report for the
 list if we can get it working). I've tried a few things and
 they tend to belch for not being correct but they don't give me
 any clues about to correct them.
 --

 Walter M. Pawley [EMAIL PROTECTED]
 Wump Research  Company
 676 River Bend Road, Roseburg, OR 97470
  541-672-8975


Walt,

It was some ago, that I had the problem with ATI. ISTR that I used one of
the other config tools. Have a look at the FreeBSD page:

http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/x-config.html

There are other config tools listed.

I think I used xorgconfig and tried the various options starting at the
lowest resolutions until I got as far as possible.

As far as Changing to Nvidia that is just a matter of getting a Nvidia
card and swopping it with the ATI. Nvidia do have drivers on their site
for 3d etc with instructions on what to do.

Rob



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


Re: FreeBSD equivalent to DRBD

2006-06-17 Thread bsd
 [EMAIL PROTECTED] schrieb:

 ISTR something about a FreeBSD equivalent to DRBD on Linux ie creating a
 raid device using disks on different machines, but I've not been able to
 locate any info.

 Does anybody have any info and or howtos. I am thinking of putting
 together a HA NFS server cluster using something like heartbeat with
 DRBD.
 As all my servers are Freebsd, I would like to stick with it. Any
 suggestions?

 Hello,

 as far as I know there is no such thing. I could refer you to ggated(8)
 and gmirror(8), but I suppose this is not what you want. ;-)

 Björn

Many thanks.

It look like ggated + geom will do at least part of the job. Setting up
the raid part looks fairly straight forward, the question is howto manage
the swop aspect, ie machine a primary to machine b primary. I guess it is
shutdown geom + gated and starting them on the the other machine. I don't
see any way of doing this though. Perhaps I'm missing something.

The exporting the drive via NFS and swopping under haertbeat looks ok to.
It is just the gom + ggated aspect I am not sure about.

Anybody?

Rob



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


Re: installation problem.

2006-06-17 Thread bsd
 Hello,


 this is problem related to Windows while trying to install new OS.
 I know this is BSD forum, but if anyone can help. I'll appreciate.

 I want to install Linux on my laptop and I am facing following problem
 while
 installing.

 Aftet refering to other side and by experince of others experince I have
 downloaded Linux to install.

 I have Dell Inspiron E1505/6400 laptop.

 Problems are -
 1. How can I new partition / Resize partition/ or create free spance.
 It have single C: Partition by Dell. 70 GB HD space is available to use.
 It
 uses one hidden partition so I can create new partition using Partition
 magic. I downloaded Evaluation verstion of Partition magic which allow me
 to
 create partition but not resize parition.

 2. I downloaded linux on HDD from net and trying to Create bootable DVD
 from
 that. I create it using Nero and  CD burnerXP Pro 3. When I try to boot
 using that It goes to some weired prompt.
 It boot with some software called caldera 7.03 which is command prompt
 only.
 It has few command but too diff to understand. I donno what is this?
 It goes to command prompt [DR-DOS] A:\


 I will apprecite if anyone can help me with above problems.

 Thanks and Rega

Welcome to Freebsd. Linux is down the hall that way =

You will get a number of e-mail like this as Freebsd is not Linux.

Caldera is a version of Linux and you need to got to their site and
mailing list for support. However, the werid promt you have is probably
the normal prompt. With Linux and Freebsd you have to install a gui
seperatly in most cases.

If you want to try Linux have a look at Ubuntu, they have a live gui
desktop CD that runs from the CD without touching your hard drive. They
will even send you the CD free.

To create space for FreeBSD or Linux you need to shrink your current
installation, try Gost or re install leaving space.

Rob


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


Re: Moving From NAT to Multiple IPs - Server Considerations

2006-06-17 Thread bsd
 Hello,

 I've recently started to work from home so the limitations of one IP
 address are really starting to gripe me.

 I've asked my ISP to order me a block of 8 ips. What considerations so I
 be looking at when managing the IP server address change.

 I'm not too concerned about the services going offline as they are not
 used for anything critical and in any case services such as SMTP and
 incoming e-mail have fail safes provided by my dns provider.

 Do I need to install IPFirewall or will the server just close all the
 ports that it is not using and be fine and dandy that way. Any
 recommendations on good articles for installing IPFW. I've googled but I
 am looking for something which allows me to do the basics but also talks
 about the more advanced stuff such as blocking logins on SSH after x
 attempts.

 How do I manage the change from NAT to multi Ips. Does the server still
 get given an internal IP address on the lan and then the router redirects
 the external IP to that machine or does the machine have to be told that
 it is now listening on IPs x, y and z.

 Any help appreciated.

 Cheers
 Richard


 --
 Richard Collyer
 [EMAIL PROTECTED]

Hi Richard,

You have asked a number of questions in one here. There are a number of
ways to do what I think you are trying to do. The way I have my systems
setup is problably the simplest but it depends on what you want.

My setup is the modem (no NAT or Firewall) on the 1st IP of the block (my
ISP calls it this the gateway address) this connects to a switch. I have a
firewall/nat/router (smoothwall) connected to the switch which does the
NATing etc to my internal network. The servers (Web, mail etc) have 2
ethernet connections, the 1st is on the external switch with an external
IP and all the ports closed except those necessary for the function. The
2nd (if you like the control connection) on the internal network with
things like the ssh oport open.

There are plenty of Howtos on IPF etc - just use Google. Also have a look
at the smoothwall site, IPcop is also good.

Hope this has given you some ideas. However, please remember anything
connected to an external ip does need a firwall.

Rob

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


Re: X ATI driver?

2006-06-17 Thread bsd
 At 10:42 AM -0500 6/17/06, Nikolas Britton wrote:

What kind of ATI card is this?

 There's a label on what's probably an E-PROM that says

   PCI MACH32
   113-23000-110
   (C) 1995

... Here's a wild guess: it might be the
DRI/DRM crap, disable it, in xorg.conf, and try again:

Section Module
Load  extmod
Load  glx -
Load  dri -
Load  dbe
Load  record
Load  xtrap
Load  type1
Load  freetype
EndSection

 I commented out those two lines. It still fails.

 FWIW: the card worked with FreeBSD 5.3.
 --


ATI cards with X Windows are a bit of a pain. As I understand it, ATI have
not released their specs etc so that any X driver is reverse engineered.
NVIDA does provide drivers which do work. I have an old MACH32 in a server
and could only get it to work as using the Vesa drivers. It runs at
1024x768, but I was not too bothered as the machine after setting up runs
headless.

My advice is try the VESA drivers if that fails try and change to NVIDA.

Rob

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


FreeBSD equivalent to DRBD

2006-06-16 Thread bsd
Hi all,

ISTR something about a FreeBSD equivalent to DRBD on Linux ie creating a
raid device using disks on different machines, but I've not been able to
locate any info.

Does anybody have any info and or howtos. I am thinking of putting
together a HA NFS server cluster using something like heartbeat with DRBD.
As all my servers are Freebsd, I would like to stick with it. Any
suggestions?

Rob



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


Re: apache13 to 22

2006-06-08 Thread bsd
 Dag Rune Sneeggen wrote:
 Perttu Laine wrote:
 On 12/9/05, Odhiambo Washington [EMAIL PROTECTED] wrote:


 apachectl stop
 cd /usr/ports/www/apache13
 make deinstall
 cd /usr/ports/www/apache22  make install
 cd /usr/ports/www/mod_php5
 make -DWITH_APACHE2 -DFORCE_PKG_REGISTER reinstall


 Just to inform you people about this old apache13 to apache22 upgrade -
 worked just fine. I made config files ready earlier and it was only
 about
 15mins downtime and everything went nicely and smoothly without
 problems
 with this process. Except instead of ports/www/mod_php5 I used
 ports/lang/php5, but that's same. :)


 Actually www/mod_php5 and lang/php5 isn't exactly the same. www/mod_php5
 only includes the mod_php5 module, whilst lang/php5 includes the CLI php
 system as well :)

 Nice to hear it worked so smoothly for you though!


 www/mod_php5 doesn't exist any longer.

 and vehement claims that php5 is broken in ports persist, but
 aren't true as near as I can tell from both external evidence
 and personal experience.

 Kevin Kinsey


Kevin,

The latest version of php5 did not work for me. In my case I had a new
install of a minimum system cvsuped to 6.1R P1 and then portsnapped before
install. Yes I had read updating before and I had been following the posts
re PHP5 and configured PHP5 with the apache module. What ever I did,
including asking on this list did not work - PHP5 refused to run. Most of
the replies I got said read updating - I refrained from relying read the
question.

In the end I ran out of time and installed centos which worked with no
problems with an earlier version of PHP5.

Rob

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


Re: Apache22 + PHP5 installation issues

2006-06-05 Thread bsd
 php 5.1.4 seems currently broken. try portdowngrade to the last 5.1.2
 port.

 Iv.



Many thanks, I'll try that.

Rob


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


Re: is vinum in FBSD 6.0?

2006-06-02 Thread bsd
 I recently installed 6.0, and there doesn't seem to be a vinum binary.

 There is a gvinum binary, but it doesn't even implement all of the
 commands in its own help screen.

 I'm somewhat confused.  Did I screw up my install, or is this normal?

 Is there some kind of IP lawsuit over vinum or something?
 --
 Scientia Est Potentia -- Eppur Si Muove
 Security guru for rent or hire - http://www.lightconsulting.com/~travis/
 --
 GPG fingerprint: 9D3F 395A DAC5 5CCC 9066  151D 0A6B 4098 0C55 1484
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
 [EMAIL PROTECTED]

vinum has been replaced by gvinum and geom see the handbook for setup.

Rob



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


Reducing the size of /

2006-05-12 Thread bsd

Hello,

I have three partitions on my server and would like to reduce the  
size of / because I am getting quite full !


Filesystem SizeUsed   Avail Capacity  Mounted on
/dev/ar0s1a3.8G2.8G668M81%/
devfs  1.0K1.0K  0B   100%/dev
/dev/ar0s1d 60G1.9G 53G 3%/home


What are the places I could start looking in to delete not so usefull  
files, knowing that I am syncing using portsnat (and previously cvsup).



Thks.


«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§

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

«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§




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


Re: Reducing the size of /

2006-05-12 Thread bsd

Hi again,

Most of the files that are large seems to be located in /usr/ports/ 
distfiles/


What will be the effect of deleting some of these files ?



root:abcdef 18:14 ~ # find -x / -size +1 -print
/boot/kernel/kernel
/boot/kernel.old/kernel
/root/tmp/dcc.tgz
/usr/local/etc/cvsup/sup/src-all/checkouts.cvs:RELENG_5_3_RELEASE
/usr/local/etc/cvsup/sup/src-all/checkouts.cvs:RELENG_5_3_0_RELEASE
/usr/local/etc/cvsup/sup/src-all/checkouts.cvs:RELENG_5_4
/usr/local/etc/cvsup/sup/ports-all/checkouts.cvs:.
/usr/ports/INDEX-5
/usr/ports/distfiles/emacs-21.3.tar.gz
/usr/ports/distfiles/gettext-0.13.1.tar.gz
/usr/ports/distfiles/xorg/X11R6.7.0-src1.tar.gz
/usr/ports/distfiles/xorg/X11R6.7.0-src3.tar.gz
/usr/ports/distfiles/xorg/X11R6.8.1-src1.tar.gz
/usr/ports/distfiles/xorg/X11R6.8.1-src3.tar.gz
/usr/ports/distfiles/xorg/X11R6.8.2-src1.tar.gz
/usr/ports/distfiles/xorg/X11R6.8.2-src3.tar.gz
/usr/ports/distfiles/bdb/db-4.3.29.tar.gz
/usr/ports/distfiles/ezm3/ezm3-1.2-src.tar.bz2
/usr/ports/distfiles/gettext-0.14.1.tar.gz
/usr/ports/distfiles/perl-5.8.6.tar.bz2
/usr/ports/distfiles/apache21/httpd-2.1.2-alpha.tar.gz
/usr/ports/distfiles/apache21/httpd-2.1.3-alpha.tar.bz2
/usr/ports/distfiles/apache21/httpd-2.1.4-alpha.tar.bz2
/usr/ports/distfiles/python/Python-2.4.tgz
/usr/ports/distfiles/python/Python-2.4.1.tgz
/usr/ports/distfiles/python/Python-2.4.2.tgz
/usr/ports/distfiles/gettext-0.14.4.tar.gz
/usr/ports/distfiles/gettext-0.14.5.tar.gz
/usr/ports/distfiles/perl-5.8.7.tar.bz2
/usr/ports/distfiles/apache2/httpd-2.0.54.tar.bz2
/usr/ports/distfiles/bind-9.3.2.tar.gz
/usr/ports/distfiles/perl-5.8.8.tar.bz2
/usr/ports/distfiles/clamav-0.88.1.tar.gz
/usr/ports/distfiles/mysql-4.1.18.tar.gz
/usr/ports/distfiles/clamav-0.88.2.tar.gz
/usr/ports/distfiles/mysql-4.1.19.tar.gz
/usr/ports/INDEX.db
/usr/ports/INDEX-5.db
/usr/ports/INDEX
/usr/ports/INDEX-6
/usr/obj/usr/src/i386/usr/src/gnu/usr.bin/cc/cc_int/libcc_int.a
/usr/obj/usr/src/gnu/usr.bin/cc/cc_int/libcc_int.a
/usr/obj/usr/src/sys/GENERIC/kernel
/var/db/pkg/pkgdb.db
/var/db/mysql/ibdata1
/var/db/mysql/ib_logfile0
/var/db/mysql/ib_logfile1
/var/named/var/log/dns.log.0
/var/amavis/.spamassassin/auto-whitelist


Thks again.


Le 12 mai 06 à 18:20, Bill Moran a écrit :


bsd [EMAIL PROTECTED] wrote:


Hello,

I have three partitions on my server and would like to reduce the
size of / because I am getting quite full !

Filesystem SizeUsed   Avail Capacity  Mounted on
/dev/ar0s1a3.8G2.8G668M81%/
devfs  1.0K1.0K  0B   100%/dev
/dev/ar0s1d 60G1.9G 53G 3%/home


What are the places I could start looking in to delete not so usefull
files, knowing that I am syncing using portsnat (and previously  
cvsup).


Try installing pkg_cutleaves port and see if it can help you clean up
unneeded ports.  Also, consider trimming down your log files in / 
var/log.


You can also use the du -hd1 / trick to narrow down where all the
space is being used.  Depending on what's installed on the server,  
however,

I doubt you'll be able to free up much of that space.

--
Bill Moran

MAL: Hell, this job I would pull for free.
ZOE: Can I have your share?
MAL: No.
ZOE: If you die, can I have your share?
MAL: Yes.




«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§

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

«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§




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


Re: Bind as a chaching nameserver

2006-04-26 Thread bsd
 Hello,

 I've recently been getting a lot of trouble with SpamAssassin performing
 a lot of rDNS lookups which is causing network issues (timeouts etc to
 DNS servers).

 I am trying to install BIND (or djbdns) as a simple caching nameserver.
 Just to take some of the load off the networks DNS servers (my ISPs).

 However I am having trouble finding a good tutorial to follow.

 I've looked at
 http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/network-dns.html
 but its mainly going on about being a nameserver which is not what I am
 after, wanting to keep it more simple than that.

 [EMAIL PROTECTED]:/usr/local/etc] $ named -v
 BIND 9.3.1

 Can anyone suggest me a good tutorial to follow, I've googled but mostly
 they are for debain/redhat and some of the commands and files are
 different.

 Cheers
 Richard

Richard,

What you need is a caching DNS. See para 25.6.7. If you don't use
forwarders this will bypass your ISPs DNS.

There are other solutions too, try Google for them.

Rob

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


Checksum mismatch patch 010 bash-3.1.16

2006-04-18 Thread bsd

Hello,

I am trying to upgrade my version of bash ---  Upgrading  
'bash-3.1.10_1' to 'bash-3.1.16' (shells/bash)


I have a checksum mismatch for patch 010 of the package :

= MD5 Checksum mismatch for bash/bash31-010.
= SHA256 Checksum mismatch for bash/bash31-010.


** Listing the failed packages (*:skipped / !:failed)
! shells/bash (bash-3.1.10_1)   (checksum mismatch)


Here is my distinfo file :


MD5 (bash/bash-3.1.tar.gz) = ef5304c4b22aaa5088972c792ed45d72
SHA256 (bash/bash-3.1.tar.gz) =  
d6952b2c38f9bf417559dd3b071860e1099ddfb8a12c0228f22afaf47f79d3b9

SIZE (bash/bash-3.1.tar.gz) = 2533934
MD5 (bash/bash31-001) = c0d33bdfed6e4e6a9ae9200b77cd5c99
SHA256 (bash/bash31-001) =  
3b6d9151ca7a45dbcf43ebd1c6a647ef90c4b8eb54a245936fd6ffadc61fe727

SIZE (bash/bash31-001) = 2708
MD5 (bash/bash31-002) = 0c9be3bad344d04b79c4eac9eb39624c
SHA256 (bash/bash31-002) =  
ecd248b1ca027368dae967502af5b280198fa3ee8d6a0210677789658f08

SIZE (bash/bash31-002) = 7169
MD5 (bash/bash31-003) = 04750485f335972f7a980a1bfe048dba
SHA256 (bash/bash31-003) =  
96cb8a42162a5876b2392b76fbfc78d073f50735e1e8a14e67e03b6e9c2b215d

SIZE (bash/bash31-003) = 1324
MD5 (bash/bash31-004) = 0c2856794ab16a4c224223c1964140c2
SHA256 (bash/bash31-004) =  
a50ecd3f51e9a79f34855c68c61c9523fccb66da0870eade936cc1f64ba04415

SIZE (bash/bash31-004) = 1470
MD5 (bash/bash31-005) = 943233d7227071fa040c8b9eb016fa0c
SHA256 (bash/bash31-005) =  
3b057498f01cb2b528a154b9043261cb059846b23222409f7de95a7971dc6664

SIZE (bash/bash31-005) = 1322
MD5 (bash/bash31-006) = 68a41a9da7c669b4358837d06556a06f
SHA256 (bash/bash31-006) =  
d155030ed49de27812d9ae01211283f7afe5e718ea4ed9babe1f121d25acf778

SIZE (bash/bash31-006) = 1561
MD5 (bash/bash31-007) = f6ca4950256fefd88d49c5702338e501
SHA256 (bash/bash31-007) =  
fa89a6c808490e07cd7350ecb3390ce0ae6dc71d634c61c62991aafab97962c4

SIZE (bash/bash31-007) = 3254
MD5 (bash/bash31-008) = 4fd01140cb5875fe020939aab02791f0
SHA256 (bash/bash31-008) =  
c30fe9da56261c7100c5b6794d4341b6b1fb6aa0ecc25b1010ac4ac25b07d1c7

SIZE (bash/bash31-008) = 1422
MD5 (bash/bash31-009) = 37aad0d5aa57881742ec6419faf9e480
SHA256 (bash/bash31-009) =  
cfdc6dd92d0f47988ee59e2a26e8e62a87558e03908a26ee33dd0394228ac255

SIZE (bash/bash31-009) = 2000
MD5 (bash/bash31-010) = 91c52d2a51d41d4b6907758952aa0554
SHA256 (bash/bash31-010) =  
7ba8186d5e7de76c5b4e7c8905ad82b3d7cf459141eedc4ebcc6a0ca3b23cfc4

SIZE (bash/bash31-010) = 5218
MD5 (bash/bash31-011) = 37ace691fc4bd386fb764b5f53cde4a1
SHA256 (bash/bash31-011) =  
09cfa96d03b4a12bb85687e61797214222e188c4002f51962dffa51ab12ed998

SIZE (bash/bash31-011) = 1462
MD5 (bash/bash31-012) = cd5d17f0729a6da39a60039f2730e408
SHA256 (bash/bash31-012) =  
b28bf4a491658879c43d4150cf0be1c48db97a594b6657c1cdeceabc226b8231

SIZE (bash/bash31-012) = 1212
MD5 (bash/bash31-013) = 31317d6a80bed2eb9b6fd3d12d304259
SHA256 (bash/bash31-013) =  
8b9a49bd03994f789198269c80b544b04e9056973bd75f843c05e40873c97088

SIZE (bash/bash31-013) = 1133
MD5 (bash/bash31-014) = 7f4aef181659265d822c48e774834975
SHA256 (bash/bash31-014) =  
48086c8572efebfab3535dfbd4767d95eaf98e7dcb7d1dd13698a16ab0580319

SIZE (bash/bash31-014) = 2818
MD5 (bash/bash31-015) = 1c05456b278235f578009b8fb2454a9a
SHA256 (bash/bash31-015) =  
3070548adf1c6ce481000b6bb96db7511637d6aef52276fe2f83e2bcb078865c

SIZE (bash/bash31-015) = 3089
MD5 (bash/bash31-016) = fbc981edfff97a0940487937db3fb202
SHA256 (bash/bash31-016) =  
2438b71c7fadf2971141e6854d317804e143d86eefd6d7b4479d62afd385ebad

SIZE (bash/bash31-016) = 1295
MD5 (bash/FAQ) = IGNORE
SHA256 (bash/FAQ) = IGNORE



Any idea ?


«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§

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

«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§




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


Re: a few questions and concepts

2006-04-08 Thread bsd
 On Friday 07 April 2006 16:34, Giorgos Keramidas wrote:
 On 2006-04-07 15:54, Jonathan Horne [EMAIL PROTECTED] wrote:
  im still pretty new to freebsd.  ive been playing around with the
 cvsup
  tools, and they are quite fascinating.
 
  i changed my production server from Fedora to FreeBSD 6.0, about 1 day
  before the most recent sendmail exploit was published (well, published
 on
  freebsd.org anyway).

 Murphy at work, again, eh? :)

  i did download the patch and recompile it, but as some have also noted
  on this list, that it still banners as 8.13.4 when you telnet to it.
 
  so, the past couple of days, i have learned to cvsup my /usr/src
  directories.  ive just been using the standard copy of the
  stable-supfile. i have learned that if i perform the sendmail
 recompile
  after the cvsup, that it sendmail seems to proclaim 8.13.6 in the
 banner.
   on top of that, i have learned that if i recompile the kernel after
  cvsup, that it no longer says FreeBSD 6.0-RELEASE, but FreeBSD
  6.1-PRERELEASE.

 You are running RELENG_6 now, which is much more recent than
 RELENG_6_0_RELEASE.

 The first one is the top of the 6.X branch, which changes moderately
 slow, but it *does* change.  The 6.0-RELEASE source tree is frozen in
 time at the point the tag was placed on the source tree.

  my questions:
  1) after cvsup, i think i can assume that sendmail is now compiling
 from
  sourcecode that should definatly be free from the current exploit.  i
  would also assume that anything that i would need to recompile from
  /usr/src should also see the benefit of 'latest source code'?

 Yes, both true.

  2) on a production server, should i avoid recompiling a kernel that
 will
  be FreeBSD 6.1-PRERELEASE?  on the whole, how reliable is the bulk of
  these newer sources that were pulled down by cvsup?

 In general, if you a bit paranoid, you should avoid running RELENG_6 on
 a production system.  At least until you have thoroughly tested it on a
 test system and found everything working as expected.

  i can definatly see the benefits of using cvsup to take care of
  problem with some things (like sendmail), but allowing it to update
  everything under the /usr/src tree, im wondering if i could be setting
  myself up for issues (by not editing the stable-supfile and taking
  only what i need).

 This is why each FreeBSD release is associated with at least:

 * A frozen tag, like RELENG_6_0_RELEASE

 * A security branch, like RELENG_6_0

 * A stable branch, like RELENG_6

 Changes go very fast in the CURRENT FreeBSD branch.  After they settle
 in for a while, soem of them are backported to the RELENG_X branch.  The
 RELENG_X branch changes much slower than the experimental, CURRENT
 branch, but it does change every time a new feature is backported to
 RELENG_X.

 Then, when security fixes are made available, they are added both to the
 RELENG_X branch and the RELENG_X_Y security branches.

 If all you want is the frozen release sources plus changes that are
 really really necessary, because they fix a serious security bug, you
 probably want RELENG_X_Y (RELENG_6_0 in this case).

 Regards,
 Giorgos

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

 thank you kindly for your reply, that was quite informative.  ive actually
 read the document on the differences between the stable, current, and
 release
 (or whatever), and find that system quite confusing for the moment.   im
 sure
 ill grasp the method of the madness eventually.  i guess what confuses me,
 is
 that i read about those, and then try to find them on the ftp sites.  i
 assume, that only release is made into a .iso file?  and to move to a
 higher
 version (either the security RELENG_6_0 or stable RELENG_6), you do this
 thru
 the cvsup tool.

Yes, as far as I can tell that is correct, it confused me at first. The
iso image is the latest release for each branch.


 so, by your descriptions and reply to my previous comments, my system that
 is
 running what says 6.1-PRERELEASE is really RELENG_6 (stable) ?


Again correct. Don't forget 'stable' is not that stable it is a snapshot
of 'current' that is stable enough to be released.

 thanks,
 Jonathan Horne

The other confusing this is that the tags only realy refer to the
'userland' ie the core system. The ports get updated as and when.

On the system I am currently working on which will be a production server,
I don't whant too much change when in prodction so I am following the 6.0
branch at present (RELENG_6_0). I have portaudit installed which tells me
what ports have been updated through security issues and I can decide if I
need to update them. Apart from that I will probably leave it alone.

Hope this helps

Rob


___
freebsd-questions@freebsd.org mailing list

Re: something better then rsync for duplicating systems ... ?

2006-03-30 Thread bsd
 Unison? It's in ports.

 On 3/30/06, Marc G. Fournier [EMAIL PROTECTED] wrote:

 I have two servers, one of them a backup of the other ... right now, I'm
 using rsync to do it, but since rsync has to traverse both servers file
 systems to do its comparison, it puts a good load on the system, and
 takes
 awhile to run ...

 So, are there any better tools I could be using, instead of rsync?

 Thanks ...

 
 Marc G. Fournier   Hub.Org Networking Services

Snip

Snip

You may like to have a look at ggated - its in the ports.

Rob

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


Re: What is the meaning of following message

2006-03-13 Thread bsd
 I am getting the following message:

 inetd[624]: ssh/tcp: bind: Address already use

 Anyone could tell me what is the meaning of this message?

 Thanks,

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


Jeffrey,

It usually means that you have sshd set to run from /etc/rc.conf and from
inetd. Either comment out the line in /etc/rc.conf sshd=YES or if you
don't need inted comment that out.

Hope this helps

Rob

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


Re: where is mergemaster?

2006-03-13 Thread bsd

 --- Erik Norgaard [EMAIL PROTECTED] wrote:

 Peter wrote:
  Where can I find mergemaster?  I would like to upgrade my box.

 It should be in your path, but I have also had problems with my path
 not
 being set correctly in single user mode.

 That was exactly the problem.  I realized this when someone responded
 about it being at /sbin/mergemaster.


According to the manual this should work after rebooting with the -s option:

# fsck -p
# mount -u /
# mount -a -t ufs
# swapon -a

Rob

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


rebooting and crashes on dell server

2006-02-28 Thread BSD Guy
Theres alot to this problem, but I'll try to be
concise so I don't loose people.  I started out with a
cheap dell server running scsi raid and 5.x  It
crashed or locked up with a kernel panic in a
different process (everything, syslog, you name it)
ever few days.  I swapped ram around figuring it was
at fault since it was bought used on ebay.  Still no
luck.

Tired of messing with it, I bought a new dell
poweredge 2650, with scsi raid, a couple gigs of ram,
duals, and just a new system, configured it, copied
user data over and switched to it.  Sure enough still
the worst stability I've ever seen.  It has dual power
supplies, each in a different UPS. I don't believe
power is the problem or I'd see similar problems on
the other server or router I have plugged in there.  I
even upgraded to 6.0-Release-p1 but no luck.  

It panics from time to time, but usually now it just
randomly reboots.  Often at least every 36 hours. 
Often 2-3 times a few minutes apart when it does.  I
did install a debug kernel 2 weeks ago to try to get a
crash dump, but no panic's since then.

My make.conf is pretty simple:
KERNCONF=crapbox
CPUTYPE?=p4
CFLAGS= -O -pipe
NO_BLUETOOTH=   true# do not build Bluetooth
related stuff
NO_I4B= true# do not build isdn4bsd package
NO_LPR= true# do not build lpr and related
programs
NO_GAMES=true# do not build games (games/
subdir)
MAKE_IDEA= YES # IDEA (128 bit symmetric
encryption)
# added by use.perl 2005-09-29 11:26:41
PERL_VER=5.8.7
PERL_VERSION=5.8.7

Its not all that stressed of a box:
load averages: 0.14, 0.07, 0.06
Mem: 235M Active, 367M Inact, 160M Wired, 33M Cache,
99M Buf, 81M Free
Swap: 1024M Total, 1024M Free

I've tweaked all the kernel values mentioned in the
tuneable section of the manual, but the reboots
continue.  The box runs radiator (a perl based radius
server), apache+mod_ssl-1.3.x with php5, postfix-2.2,
amavisd-new-2.3, courier-imap-4.0, pure-ftp, nrpe
(nagios), net-snmp, ssh, and bind 9.3.1 all from ports
(except radiator).  

I run the same mail server setup on another server
with no problem, although it processes far less mail. 
I use radiator on another server with no problem. 
This is a unique combination of packages I'm running,
but no unique programs or configurations to this
server. Between amavis and radiator it does alot of
perl, and everything is a mysql lookup to another
server.  While all logic and experience points to a
hardware problem I feel like the complete hardware
replacement has pretty much laid the blame on
software.  

I'm open to any suggestion as to what I might need to
look at to clear this up. I'm about to have a nervous
breakdown and insteall debian in desperation heh. I've
tried a kernel without smp, I've tried disabling acpi
on boot.  If you need any more information feel free
to ask for it, I'll happily provide it.
Thanks!  

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Strange messages from daily report

2006-02-22 Thread bsd
I 've received these message in my daily report and was wondering  
what was their meaning ?



srv23.xxx.fr kernel log messages:


Timecounter ACPI-fast frequency 3579545 Hz quality 1000
Timecounter TSC frequency 2992513943 Hz quality 800





«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§

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

«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§




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


Re: Multiple DNS

2006-02-22 Thread bsd

 Le 19 févr. 06 à 08:46, Robert Slade a écrit :

 Hi,

 I am looking for some advice. I have a network which is based on a
 number of servers running FreeBsd 6.0 serving Win XP work stations.
 (yes
 I know but..) The network is large enough to use DHCP and DNS for the
 internal network, I have setup a DHCP server with a Dynamic DNS
 (Bind 9)
 on one of the servers. That server is handling the LDAP side of the
 domain.


 Is your DNS server busy resolving internal requests or external ones ?

Mostly external from what I can ascertain, it looks like the mail server
(Qmail) doing lookups.

 There appears to be a fair bit of DNS Traffic which leads to a
 secondary
 DNS being required to take some of the load as DNS lookup are slow.
 The
 question I have is should I just setup a cashing DNS on another server
 using the primary as a forwarder or even several servers eg the mail
 server and the secondary LDAP server, or should I setup a proper
 secondary DNS using my ISP as a forwarder with dynamic updates from
 the
 primary.


 You should not forward anything to your ISP. This is probably the
 main reason for your DNS beeing slow.

 You should make shure you have well defined your network in your conf
 (so that you don't resolve queries for outside users...)-
 I would not advise you to forward any queries to your ISP as this
 will disable the capacity for your own server to build It's own
 resolver database and forward all the queries to the ISP (resulting
 in slow answers)!

I've now taken out the forwarders.



 Normaly you should configure the master and the slave to be
 authoritative for your internal domains.
 And configure the master and the slave to resolve ALL the Internet
 domains for your internal network and none for outside domains.

That is how I have setup the master, it only answer's queries from the
internal network.


 DNS is very tightly related to network... And we don't have any clue
 for the topology of your Net.


 SHORT ANSWER : DON'T FORWARD -- BUILD YOUR OWN DATABASE!!


 Sorry if this is a bit vague, but I have no experience in this area.

 Rob



Thanks for the info, it has helped me. I had misunderstood the forwarders
bit.

Many thanks

Rob

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


Re: WinSCP mega-slowness

2006-02-20 Thread bsd
 Well, it's good to know I'm not the only one seing this. Right now both
 machines are running FreeBSD, since I gave up on waiting for Windows to
 copy
 the files.  The CPU load on Window when sending  1 meg per second is
 usually
 about 30%, while the Unix box is only at 1-2%.  When I have 2 Unix boxes
 sending/receiving, I think the load is like 4-5% on both.  I'm building a
 bunch of packages right now, so I can't get the exact number.  I could try
 the openssh patch later in the week, that would be great if there was a
 unix-side fix for this. Of course as I run FreeBSD more, and Windows less,
 the problem will go away, too.

 thanks!



 On 2/20/06, Andrew Pantyukhin [EMAIL PROTECTED] wrote:

 On 2/20/06, Xn Nooby [EMAIL PROTECTED] wrote:
  For about a year I have noticed that whenever my Windows boxes talk to
 my
  Unix boxes, they communicate at about 1/10 normal speed. I copy lots
 (300GB)
  of large files back and forth between machines as I try different
 OS's,
 and
  I always see this.
 
  Specifically, if I copy from FreeBSD to FreeBSD, files transfer at 11
 megs
  per second.  Between FreeBSD and Linux, at about 8 megs per
 second.  Between
  FreeBSD and Windows, about 1 megabyte per second.  This is on
 identical
  hardware.  I've told other people about this, and they usually say I
 must be
  doing something wrong, but recently a friend of mine upgraded a
 Windows
 box
  to SP2, and now they are getting this same slowness.  When I copy from
  Windows to WIndows (XP or W2k), I get 11 megs per second.
 
  My machines are two P4's with gigabit NICs, and I'm using WinSCP and
  (somtimes) pscp.exe on WIndows to talk to sshd on FreeBSD.  It's
 always
 a
  shock when I have to copy my data to WIndows, and it takes 30 hours
 instead
  of 3.
 
  Does anyone else ever see this slowness when copying files between
 FreeBSD
  and Windows?
 
  Is Windows maybe capping the transfer speed when it talks to Unix?
  ___
  freebsd-questions@freebsd.org mailing list
  http://lists.freebsd.org/mailman/listinfo/freebsd-questions
  To unsubscribe, send any mail to 
 [EMAIL PROTECTED]
 

 It is very certainly a known issue. Not that its specifics and
 origins are clearly known, but most of us stumble upon it
 sooner or later. You can usually achieve wire speed only
 between two OSes of a kind. TCP/IP optimizations are
 very important here: if they differ, performance plummets.
 Depends on a multitude of things from quality of NICs to
 weather in your area. I've never been able to get more
 than 70Mbit/s between FreeBSD and Windows XP. I
 always get 90-100Mbit/s between two BSDs or two Win's.

 As for your case, 1MB/s is a serious limit. What can you
 tell us about CPU load? Interrupts? Can you try this:
 http://www.psc.edu/networking/projects/hpn-ssh/


If you have both the XP and FreeBSD machines on the same internal network,
why not enable file sharing on the XP box and use Samba Client on the
freeBSD box. I have found SMB to be a lot faster as it is running as a
service on XP.


Rob

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


<    1   2   3   4   5   >