Re: fsck problem FreeBSD 8.3

2012-04-09 Thread Paul A. Procacci
Nothing logged in /var/log/* or crashes that exist in /var/crash would indicate 
to me some sort of hardware related problem.
Have you tested your hardware lately and know that it is in operational order?

~Paul

On Mon, Apr 09, 2012 at 09:36:54PM +0300, ??? ??? wrote:
 Hi.

 Apr  9 19:51:58 fsck: /dev/ad8s1e: UNEXPECTED INCONSISTENCY, CANNOT RUN FAST 
 FSCK
 Apr  9 19:51:58 fsck:
 Apr  9 19:51:58 fsck:
 Apr  9 19:51:58 fsck: /dev/ad8s1e: UNEXPECTED INCONSISTENCY; RUN fsck 
 MANUALLY.
 Apr  9 19:51:58 fsck: /dev/ad8s1e: CANNOT SET FS_NEEDSFSCK FLAG
 Apr  9 20:09:22 kernel:

 running manually:
 # fsck -y /dev/ad8s1e
 ** /dev/ad8s1e (NO WRITE)
 ** Last Mounted on /tmp
 ** Phase 1 - Check Blocks and Sizes
 ** Phase 2 - Check Pathnames
 ** Phase 3 - Check Connectivity
 ** Phase 4 - Check Reference Counts
 ** Phase 5 - Check Cyl groups
 99 files, 10 used, 506477 free (45 frags, 63304 blocks, 0.0% fragmentation)


 Server reboot two or three time per day
 # uname -a
 FreeBSD flux 8.3-PRERELEASE FreeBSD 8.3-PRERELEASE #3 r231881: Fri Feb 24 
 17:07:48 UTC 2012 adm@flux:/usr/obj/usr/src/sys/KES_KERN_v8  amd64

 before this it works about month without problems

 /var/crash - empty, in /var/log/messages there is no any messages before 
 crash.
 Can any help to fix problem?

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



This message may contain confidential or privileged information. If you are not 
the intended recipient, please advise us immediately and delete this message. 
See http://www.datapipe.com/legal/email_disclaimer/ for further information on 
confidentiality and the risks of non-secure electronic communication. If you 
cannot access these links, please notify us by reply message and we will send 
the contents to you.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: keep-state and divert

2009-04-02 Thread Paul A Procacci

Victor Sudakov wrote:

Colleagues,

I have read some recommendations on combining a stateful firewall with divert,
e.g. http://www.derkeiler.com/Mailing-Lists/FreeBSD-Security/2003-06/0078.html
and http://nuclight.livejournal.com/124348.html (the latter is in Russian).

Do I understand correctly that it is (mathematically?) impossible to
use the two together without also using skipto?

If we consider a simple example below, how would you replace the 600th
rule for a stateful one?

00100 divert 8668 ip from any to table(1) out via rl0
00200 deny log logamount 100 ip from 10.0.0.0/8 to any out via rl0
00300 deny log logamount 100 ip from 172.16.0.0/12 to any out via rl0
00400 deny log logamount 100 ip from 192.168.0.0/16 to any out via rl0

00500 divert 8668 ip from table(1) to any in via rl0
00600 allow ip from table(1) to any in via rl0
00700 deny log logamount 100 ip from any to 10.0.0.0/8 in via rl0
00800 deny log logamount 100 ip from any to 172.16.0.0/12 in via rl0
00900 deny log logamount 100 ip from any to 192.168.0.0/16 in via rl0

65535 allow ip from any to any

Thank you in advance for any input.




Hopefully you don't mind a response which provides a fully functioning
firewall ruleset.  It's by no means complete, but should give you the
answer to your question.

http://procacci.me/ipfw.conf

This message may contain confidential or privileged information.  If you are 
not the intended recipient, please advise us immediately and delete this 
message.  See http://www.datapipe.com/emaildisclaimer.aspx for further 
information on confidentiality and the risks of non-secure electronic 
communication. If you cannot access these links, please notify us by reply 
message and we will send the contents to you.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


mountd requests

2009-04-01 Thread Paul A Procacci

Hey All,

We have a shared nfs machine that is used between multiple client
machines.  While this in itself is ok, any client that issues a
`showmount` command can see the other mounts that are currently
established.  I can't for the life of me figure out how this is a good
thing.  I big security related `no no` comes to mind whenever I see all
mounts from all clients returned back to me from a client.  Now, mountd
doesn't have a `secure` option to turn this off, but I have developed an
untested patch for doing this.  I think the reasonable default behavior
would be to return only mounts that the physical host making the request
currently has established.

I guess my real question is, has anyone ever been concerned by this?

~Paul

This message may contain confidential or privileged information.  If you are 
not the intended recipient, please advise us immediately and delete this 
message.  See http://www.datapipe.com/emaildisclaimer.aspx for further 
information on confidentiality and the risks of non-secure electronic 
communication. If you cannot access these links, please notify us by reply 
message and we will send the contents to you.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Glob error?

2008-11-07 Thread Paul A. Procacci

Steve Watt wrote:

( Please cc: me on replies, as I can't keep up with traffic on -questions )

I did the following:

% cd /tmp
% mkdir -p a/dir1/new a/dir1/cur
% mkdir -p b/dir1/new b/dir1/cur
% mkdir -p c/dir1/new c/dir1/cur
% ls -ld */dir1/new
drwxrwxr-x  2 steve  wheel  512 Nov  7 15:10 a/dir1/new/
% 


System is:
FreeBSD wattres.Watt.COM 6.3-STABLE FreeBSD 6.3-STABLE #9: Tue May 13 16:06:34 
PDT 2008 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/WATTRES  i386

Source was probably updated a few hours before the kernel build time.

Shell doesn't seem to matter (have tried both tcsh and bash).

My cygwin installation seems to get it right.

Known issue?  A quick glance for glob in gnats didn't show anything promising.
  


I too can't reproduce this on any of my machines:

nat# mkdir -p {a,b,c}/dir/{cur,new}
nat# ls -ld */dir/*
drwxr-xr-x  2 root  wheel  512 Nov  7 19:07 a/dir/cur
drwxr-xr-x  2 root  wheel  512 Nov  7 19:07 a/dir/new
drwxr-xr-x  2 root  wheel  512 Nov  7 19:07 b/dir/cur
drwxr-xr-x  2 root  wheel  512 Nov  7 19:07 b/dir/new
drwxr-xr-x  2 root  wheel  512 Nov  7 19:07 c/dir/cur
drwxr-xr-x  2 root  wheel  512 Nov  7 19:07 c/dir/new

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


Re: a quick?

2008-11-05 Thread Paul A. Procacci

david mellick wrote:

how long does it normally take GNOME to install?



Thanks 
Dave




  
___

freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]
  
This is quite an open-ended question that has lots of variables.  The 
answer is, it depends on your system in which no one will be able to 
provide any specifics; more or less.


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


Re: Images-only webserver, lighttpd vs NginX

2008-11-03 Thread Paul A. Procacci

Francis Dubé wrote:

Hi everyone,

I posted last week about my webserver hitting the kernel's max process 
allowed (error : collecting pv entries -- suggest increasing 
PMAP_SHPGPERPROC).


As a part of the solution, I decided to build a jail with a light 
webserver dedicated to images requests, the biggest part of the 
requests the server have to process. Most of the websites hosted on 
the server have approximately 200 small images with a size between 1k 
and 32k each. I'm currently hesitating between NginX and lighttpd, 
which both seems to offer similar benchmarks for this job. The 
questions :


Is someone doing something similar to this with one of the two ?
Which one do you suggest and why ?
I've read about a memory leak in lighttpd, is anyone is having issues 
with this under FreeBSD ?


Any ideas regarding our situation is appreciated,

Thanks !


Francis Dube
R  D
Optik Securite
www.optiksecurite.com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
[EMAIL PROTECTED]
They are both good static content servers.  You can easily max out a 
GiGe link using either.  We use lighttpd more extensively than nginx, 
however we do use both.  Quite frankly, it's truthfully up to you.  
Performance wise, they are on par with once another.


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


Re: Images-only webserver, lighttpd vs NginX

2008-11-03 Thread Paul A. Procacci

Sam Fourman Jr. wrote:

They are both good static content servers.  You can easily max out a GiGe
link using either.  We use lighttpd more extensively than nginx, however we
do use both.  Quite frankly, it's truthfully up to you.  Performance wise,
they are on par with once another.

~Paul


at the risk of being slightly OT

is there a recent toutorial that anyone knows of for lighthttpd on
FreeBSD 7, I have used Google and
I can't turn up anything recent

Sam Fourman Jr.
Fourman Networks
  
What kind of tutorial are you looking for?  Their documentation is quite 
extensive.


~Paul
___
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 FreeBSD

2008-11-03 Thread Paul A. Procacci

J MPZ wrote:

Hi guys,

I have some problem with my FreeBSD server. I have this:

####  #
# Linux1  #  - ASA  - Internet  - # FreeBSD  #  - # Linux2 #
####  #

If I run a ssh for Linux1 to FreeBSD, my connection freeze when the return
of some command is a big text. Example:

I make a ssh connection in the from the Linux1 to FreeBSD server, then, I
execute some commands, like: 'pwd', 'whoami', 'ls /'... this work perfectly.
But, if I run some command that return a big text, like as: 'ls /dev/', or
top, my connection freeze.

In other terminal, the tcpdump continues showing packets in this connection
that was freeze.

If I try to access the Linux2, throught FreeBSD (redirect port on natd or
redirect port with rinetd), the same thing happens.

Is this a problem with FreeBSD? Someone know how I can fix it? Some sysctl?

Regards,
J.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]
  
The tcpdump that you say continues showing packets..are the packets 
leaving the freeBSD machine or arriving at the FreeBSD machine.
My guess is you meant leaving the FreeBSD destined for your linux 
machine.  If this is the case, then the problem most likely lies with 
the ASA.
If you monitor the ASA's external interface during your testing, do you 
see packets arriving?  If so, do you see packets leaving the internal 
interface going back to your Linux1 machine?

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


Re: calendar software wanted

2008-10-22 Thread Paul A. Procacci

http://www.mozilla.org/projects/calendar/sunbird/


Marco wrote:

hello list,

anybody has experience with calendar software which runs on freebsd. i
maybe would integrate it also in thunderbird/mutt,but thats not
necessary, or use a stand alone software.
minimum requirements to the software would be making entries, getting
alarms for appointments.

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


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


Re: kernel: Approaching the limit on PV entries...

2008-10-10 Thread Paul A. Procacci

Bob Johnson wrote:

A web server with several jailed copies of Apache is having problems
that seem to be caused by incorrect IPFW rules, but in the process of
working on that, I find in the log the following repeated many times:

Oct  8 23:29:50 spider kernel: Approaching the limit on PV entries,
consider increasing either the vm.pmap.shpgperproc or the
vm.pmap.pv_entry_max sysctl.
Oct  8 23:30:52 spider kernel: Approaching the limit on PV entries,
consider increasing either the vm.pmap.shpgperproc or the
vm.pmap.pv_entry_max sysctl.

sysctl gives me:

# sysctl vm.pmap
vm.pmap.pmap_collect_active: 0
vm.pmap.pmap_collect_inactive: 0
vm.pmap.pv_entry_spare: 45818
vm.pmap.pv_entry_allocs: 595716945
vm.pmap.pv_entry_frees: 595133939
vm.pmap.pc_chunk_tryfail: 0
vm.pmap.pc_chunk_frees: 3543052
vm.pmap.pc_chunk_allocs: 3546795
vm.pmap.pc_chunk_count: 3743
vm.pmap.pv_entry_count: 583006
vm.pmap.shpgperproc: 200
vm.pmap.pv_entry_max: 2243305

The system:
FreeBSD  7.0-RELEASE-p5 FreeBSD 7.0-RELEASE-p5 #0: Wed Oct  1
07:51:58 UTC 2008
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC  amd64

Can someone briefly explain what this is telling me and how to decide
which sysctl to increase? I have found some old postings that predate
the sysctls that suggested increasing shpgperproc in the kernel
configuration, about 50 at a time until the problem goes away, but I
still have no clue what that is accomplishing.

Also, the system has been rebooted since I collected those messages,
and they aren't happening any more, but I expect they will reappear
eventually. Until then I probably can't actually test anything.

Thanks for your time,

-- Bob Johnson
   [EMAIL PROTECTED]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]
  
For what it's worth, I just came across a machine with the same exact 
problem, except when I do finally run out of entries, I get a kernel panic.


FBSD 7-RELEASE-p4

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


Re: GCC Compliler

2008-09-17 Thread Paul A. Procacci

Dean Huffaker wrote:
I need to compile a c module called camerad.  I have a makefile that is suppose to be used to perform this compile job.  Problem is that I get an error and I don't understand exactly what the problem is.  Here is the execution of the makefile with the error and then I did a cat on the makefile itself.  
 
CameraMgr2# ./makefile

camerad.o:: not found
CameraMgr2# cat makefile
camerad : camerad.o ../shared/util.o
gcc -o camerad camerad.o ../shared/util.o

camerad.o: camerad.c camerad.h ../shared/util.h
gcc -I../shared -c camerad.c
 
 
The first part of the makefile makes sense to me.  Create a camerad using camera.o and stuff from .shared/util.o

camerad : camerad.o ../shared/util.o
gcc -o camerad camerad.o ../shared/util.o
 
And that part works fine.  If I just run those two statements it works OK.  
 
But the second part does not make sense. and It gets the error camerad.o not found.

camerad.o: camerad.c camerad.h ../shared/util.h
gcc -I../shared -c camerad.c  
 
 
Any idea what might be going on?



  
___

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

Try using the make utility.

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


General Mysql Performance Question

2008-08-29 Thread Paul A. Procacci

Hey All,

Recently I've been asked to do performance testing of postgres and mysql 
on FreeBSD.  Kris' page 
(http://people.freebsd.org/~kris/scaling/mysql.html) was extremely 
useful in giving me a starting point for my own comparisons.  
Additionally, his name is splattered all over the web with patches, 
tuning tips, etc.  For that, I thank you Kris.  With that said, I've 
come across something that I can not find the answer to and I'm hoping I 
have missed something incredibly simple.  If this has been mentioned 
before, then I apologize in advance.


http://paul.procacci.me/benchmarks/freebsd7-Release.html

My question is in reference to the 1st and 2nd graphs on this page.  
While testing the performance of the databases given in this graph, the 
one thing that sticks out is that when Mysql uses the myisam engine with 
the ULE schedular, performance drops quite considerably regardless of 
mysql version.  The clearly shows ULE to perform worst at higher work 
loads than 4BSD, at least in this one example.


Now, I read that lockmgr code is still a work in progress, but I'm 
unsure if that applies specifically to this specific problem that I'm 
providing.  What I'm hoping for quite frankly is a yes, this is 
because type of response.


This isn't a problem per se, but rather a curiosity type of question.

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


Re: General Mysql Performance Question

2008-08-29 Thread Paul A. Procacci

Kris Kennaway wrote:

Paul A. Procacci wrote:
My question is in reference to the 1st and 2nd graphs on this page.  
While testing the performance of the databases given in this graph, 
the one thing that sticks out is that when Mysql uses the myisam 
engine with the ULE schedular, performance drops quite considerably 
regardless of mysql version.  The clearly shows ULE to perform worst 
at higher work loads than 4BSD, at least in this one example.


Now, I read that lockmgr code is still a work in progress, but I'm 
unsure if that applies specifically to this specific problem that I'm 
providing.  What I'm hoping for quite frankly is a yes, this is 
because type of response.


This isn't a problem per se, but rather a curiosity type of question.


myisam has huge lock contention, so probably ULE is more efficiently 
scheduling the processes and increasing contention yet further, 
leading to a net drop of performance.  That kind of thing is fairly 
common when you have a workload with high contention; if you improve 
performance at one bottleneck the performance at a later bottleneck 
can get worse. Performance will still be better on other workloads, or 
when further work improves the other bottlenecks.


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


Kris,

Thanks for your prompt response.  I was aware that myisam had pretty 
huge lock contention, but didn't think ULE, because it's doing it's job 
better, is actually making things worse.


I appreciate your insight.

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


Re: Mysql Performance Question 4.1.22 vs 5.1.26.rc

2008-08-29 Thread Paul A. Procacci

Jim Pazarena wrote:

I changed from 4.1.22 to 5.1.26.rc and my performance in a very busy db,
tanked!

could the use of an 'rc' possibly be my issue?

is there any chance that the 'rc' has debugging enabled which is 
slowing me down?

Hello,

I've ran some tests just this past week (in fact I emailed 
freebsd-general about this yesterday), unfortunately however it was 
comparing performance between 5.0.51 and 5.1.26.


http://paul.procacci.me/benchmarks/freebsd7-Release.html

5.1 performs worse than 5.0 at higher workloads.  I'm unsure about 4, 
but am quite sure moving to 5.0 is probably the best decision you could 
make.


~Paul
___
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 wrong with tcpdump?

2008-08-28 Thread Paul A. Procacci
EdwardKing wrote:
 I want to watch ip:172.0.10.2 port:19 TCP information,so I use following 
 command:
 #tcpdump tcp port 19 host 172.0.10.2
 tcpdump: syntax error

 Why? How to do it?

 Thanks


 --
 Confidentiality Notice: The information contained in this e-mail and any
 accompanying attachment(s) is intended only for the use of the intended
 recipient and may be confidential and/or privileged of Neusoft Corporation, 
 its subsidiaries and/or its affiliates. If any reader of this communication 
 is not the intended recipient, unauthorized use, forwarding, printing, 
 storing, disclosure or copying is strictly prohibited, and may be unlawful. 
 If you have received this communication in error, please immediately notify 
 the sender by return e-mail, and delete the original message and all copies 
 from your system. Thank you. 
 ---

 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
   
tcpdump tcp port 19 and host 172.0.10.2

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


Re: Regular Expression Trouble

2008-08-26 Thread Paul A. Procacci

Martin McCormick wrote:

I am trying to isolate only the MAC addresses that appear in
dhcpd logs.
For anyone who is interested, the sed construct that should do
this looks like:

 sed 's/.*\([[ your regular expression ]]\).*/\1/' 


The \1 tells sed to only print what matched and skip all the rest.

I am doing something wrong with the regular expression
that is supposed to recognise a MAC address. MAC addresses look
like 5 pairs of hex digits followed by :'s and then a 6TH pair
to end the string.

I have tried:

[[:xdigit:][:xdigit:][:punct:]

Sorry. It won't all fit on a line, but there should be a string
of 5 pairs and the : and then the 6TH pair followed by the
closing ] so the expression ends with ]]

One should also be able to put:

[[:xdigit:][:xdigit:][:punct:]]\{5,5\}[[:xdigit:][:xdigit]]

Any ideas as to what else I can try?

What happens is I get single characters per line that look like
the first or maybe the last character in that line, but
certainly nothing useful or nothing that remotely looks like a
MAC address.

Any ideas as to what's wrong with the regular
expression?

Many thanks.

Martin McCormick WB5AGZ  Stillwater, OK 
Systems Engineer

OSU Information Technology Department Telecommunications Services Group
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]
  


I don't have a seperate dhcp log and you didn't make it clear if you do, 
but I do have something similar written for awk that parses the system 
log file.


awk ' /DHCPREQUEST/ { print $10 } '  /var/log/messages

Maybe that will help.

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


Re: sed html tags

2008-08-25 Thread Paul A. Procacci

siran wrote:

Hi, I have the string

span  111 /span  span   /span

And i wish to use sed to strip *only* the span  tag and its
contents... is this possible ? I'm trying this expression, but it
doesn't work...

sed 's/span [^\(/span\)]+\/span//g' file

is there anything like it ?

I would like to obtain





I hope someone can help,

thank you,

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

sed -E 's/\/?span[^]*//g'

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


Re: /etc/groups gone

2008-08-21 Thread Paul A. Procacci

John Nielsen wrote:
I would start by comparing the contents of /usr/ports/GIDs with the ports 
you have installed (as listed in /var/db/pkg). You can get a stock group 
file from src/etc/group. Reinstalling ports will recreate the groups they 
use (though you could do most of it manually), and you may be on your own 
for any custom groups you have.


On Thursday 21 August 2008 12:05:49 pm [EMAIL PROTECTED] wrote:
  

Hi,

Yesterday night at 1 a.m. I have managed to remove /etc/groups (rm
instead of vi, was already sleepying). Luckily only a few groups (2-3)
was created earlier. No backup, of course.

I believe the file system is still correct, it uses group IDs instead
of names (?). Though ls does not show the correct group names (only
IDs) and creating new groups will reuse the old group IDs.

Is there any better way of rebuilding /etc/groups than guessing and
manually adding one-by-one.

Can I somehow list all group IDs used by the file system?

Many thanks.

Balazs
_
News, entertainment and everything you care about at Live.com. Get it
now! http://www.live.com/getstarted.aspx
___
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]
  
/var/backups might have various backups of those important files.  
Might want to tcheck that out.

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


Re: making FreeBSD phone home via SSH

2008-03-26 Thread Paul A. Procacci

Elliot Finley wrote:

Hello all,

I have an interesting project.  I have several FreeBSD servers that I
will be deploying to remote locations.  They will be sitting behind a
NAT.  I would like them to make a SSH connection to a local server
sitting on a public IP.  I need them connected in a way that will give
me remote shell access.

Has anyone done this before?  I'd rather not re-invent the wheel.

TIA for any pointers.

Elliot
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]
  
I've been using vtund for just that.  Simple, easy, effectivejust 
another option of course.


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


No buffer space available

2008-03-20 Thread Paul A. Procacci

Hello,

Since moving over ftp traffic to a 6-STABLE from 9/20/2007 to a machine 
of ours, we've been getting the above errors in the logs.  Obviously the 
machine becomes unresponsive from the network and requires a console to 
log in and reboot.  I generally can fix these types of problems rather 
quickly (or thought I did), as I've handled these problems before in the 
past quite frequently.  However, this particular machine is giving me a 
really hard time.  I have to reboot the machine every 2ish weeks due to 
the above.   It's my hopes that after reading through the output that 
follows, someone can point out a crucial piece that I am 
missing...cause I am stumped.


With the above said, and while looking through tons of output, I came 
across what I believe to 'be the gem'.  I'm hoping that this can be 
either confirmed or denied:


ITEM SIZE LIMIT USED FREE REQUESTS FAILURES
mbuf_cluster: 2048, 64000, 1024, 10, 1024, 0## While 
machine is borked
mbuf_cluster: 2048, 64000, 1532, 246, 1823214, 0## While the 
machine is not borked


The above is output from vmstat -z obviously trimmed just to show the 
specific lines.  The first line quite frankly makes no sense to me 
whatsoever.  In fact, it's ?artifically? stuck at 1024 for both the 
'used' and 'requests' fields.  Formatting bug? or integer overflow of 
some kind?  Maybe..but it's ironic that the network is locking up at 
the same time.  That and the values simply don't add up.


Additionally, I have netstat -m output that follows which again shows 
strange values for requests for I/O initiated by sendfile and calls 
to protocol drain routines:

---
522/888/1410 mbufs in use (current/cache/total)
516/518/1034/64000 mbuf clusters in use (current/cache/total/max)
516/508 mbuf+clusters out of packet secondary zone in use (current/cache)
0/0/0/0 4k (page size) jumbo clusters in use (current/cache/total/max)
0/0/0/0 9k jumbo clusters in use (current/cache/total/max)
0/0/0/0 16k jumbo clusters in use (current/cache/total/max)
1162K/1258K/2420K bytes allocated to network (current/cache/total)
0/0/0 requests for mbufs denied (mbufs/clusters/mbuf+clusters)
0/0/0 requests for jumbo clusters denied (4k/9k/16k)
0/5/8704 sfbufs in use (current/peak/max)
0 requests for sfbufs denied
0 requests for sfbufs delayed
0 requests for I/O initiated by sendfile
0 calls to protocol drain routines
---

0 ??  Those items mentioned above are counters which increment extremely 
slowly.  I can't imagine this ever being an integer rollover type of 
problem.  Something is weird here as well.


---

Lastly, em0 shows no errors to speak of:

NameMtu Network   Address  Ipkts IerrsOpkts 
Oerrs  Coll
em01500 Link#1  00:0e:0c:b1:a7:0e23104 027905 
0 0
01:00:5e:00:00:01  
744  0

---

Would certainly appreciate any help whether in the form of links, 
patches, or other non aggressive types of responses  ;)


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


Re: i have questions

2008-03-20 Thread Paul A. Procacci

Lawyer Q8 wrote:

Hello,
 
Please i have FreeBSD 6.3 RELEASE i want to upgrade to 7.0 stable 
 
if upgrade stable my files is lose and removed or not ?

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


If you follow /usr/src/UPDATING you should be ok.  However keep in mind 
it's HIGHLY suggested you `dump` your files first!


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


Re: Can one list permission bits numerically...

2008-03-15 Thread Paul A. Procacci

Modulok wrote:

Perhaps I missed it somewhere in the man page, but is there a way to
list files with their permission bits displayed as numeric (octal, as
in chmod(1)), instead of symbolic? Something like:

ls -lF -imaginaryFlag

0755  4 Modulok  Modulok 512 Dec 17 18:39 dir1/
0644  1 Modulok  Modulok  101786 Feb 23 05:53 file1
0644  1 Modulok  Modulok  140097 Feb 13 23:38 file2


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

Maybe something like this will suit you:

stat -f %p %l %u %g %z %m %N *

It produces output similar to the following:

100755 1 0 0 64 1201845218 blah

The fields that I choose are in the man page, so it should be easy 
reading, and is pretty close to `ls -l`.


As for as `ls` having this ability, it doesn't.

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


Re: mount: /dev/ad1s1e: Operation not permitted

2008-03-13 Thread Paul A. Procacci

Fira wrote:

Hi list,

I want to mount my /dev/ad1s1e, but it produce error output :
root# mount /dev/ad1s1e /data1/
mount: /dev/ad1s1e: Operation not permitted

I've checked my /var/log/messages, but it doesn't show any message related
to that.
I've fsck that slice, and retried to remount, but it failed again.
Then, I add in my fstab this entry :
...snip..
/dev/ad1s1e /data1 ufsrw  2   2

and reboot my machine, but still the system didn't want to mount it.

This is my bsdlabel output :
root# /dev/ad1s1:
8 partitions:
#size   offsetfstype   [fsize bsize bps/cpg]
  c: 4883920020unused0 0 # raw part, don't
edit
  d: 1638404.2BSD 2048 16384 28552
  e: 12288 163844.2BSD 2048 16384 28552
  f: 16384 286724.2BSD 2048 16384 28552
  g: 37832002 450564.2BSD 2048 16384 28552

In my understanding, ad1s1e has been formatted into ufs, and I think there
should be no problem to mount it.

So, where is the point of my mistake?

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

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


Re: QMail Help

2008-03-12 Thread Paul A. Procacci

Victor Farah wrote:

Hello
I'm running qmail and I created an smtproutes file, inside my 
/var/qmail/control/ directory.  I then sent a killall -ALRM 
qmail-send, but it doesn't seem like it uses that smtproutes file I 
made.  I start qmail using supervise scripts.


Also in my smtproutes file can I use IP's, and do they have to be 
enclosed inside brackets?

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

Hello,

This isn't the right place to ask this question.  Irregardless of that, 
since you are using supervise to manage the daemon, try the following:


svc -h /path/to/service/directory

OR

svc -a /path/to/service/directory


If neither of those work, you can restart the daemon altogether

svc -d /path/to/service/directory

followed by

svc -u /path/to/service/directory

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


Re: named questions.

2008-03-12 Thread Paul A. Procacci

jekillen wrote:

Hello:
I have named running as secondary server on v6.2
It will not start without a specific configuration file set
on the command line. After doing some investigation
it appears that that is because it runs chrooted and
there is not a symlink from /etc/namedb. Is that a correct
assumption? I read the man page and it specifies
the default configuration file as /etc/namedb/named.conf
and along with this file there are master and slave directories.
Would I make the /etc/namedb/named.conf file to be a symlink
to /var/named/etc/namedb/named.conf?



What you've read is correct.  chroot'ing does in fact prevent the 
program from traversing higher in the file hiarchy.
This makes sense as to why you need to specify the configuration file on 
the command line.  I presume named will
read the configuration file prior to chrooting.  I don't use named 
though as I have my preference, and can't be 100%

without looking at the source code.

A symlink does you no good do to my explanation above.  If you chroot, 
you lose the ability to get into /var or vica versa.

That's the whole purpose of 'change root'.


There are some other entries in rc.conf related to named that
appear in my primary nameserver rc.conf file that relate to getting
it up at boot but I have lost root access to that machine so I cannot
recover the rc.conf details and I do not remember what document-
ation I was using to set it up.

I was advised to start named as a user other than root but when I
tried that named would not start because the user I set it to does
not have write permission in the directory that has the pid file.

named must be started as root in order to bind to port 53.  Afterwards I 
assume it changes it's uid using some
configuration setting.  This is a standard practice now adays amongst 
utilities needing to bind to reserved ports.
Check your config file to set the user you want to run the daemon as 
after it's done with it's initialization
(i.e. binding to the port and creating the /var/run file), but remember 
you must physically start named as root in

order to get named working correctly.

When named starts at boot what user does it run as, by default?


bind

That's a guess based on the following:

nat# fgrep bind /etc/passwd
bind:*:53:53:Bind Sandbox:/:/usr/sbin/nologin


Thank you for any guidance.
Jeff K

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


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


Re: email pop3 question

2008-03-12 Thread Paul A. Procacci

David Banning wrote:

I am using dovecot email on my server - Users can connect via IMAP or POP3.

I have a user who is using pop3 but not removing the email from the 
server - so the email stays on the server, -and- it is collecting on their

computer - as the emails build up, will there be a problem with this?

For IMAP it stays on the server, so I assume the server will not be presented
with any problem - but will the user suffer any problem eventually?  
  


The assumption that just because the user is using IMAP will alleviate 
any problems isn't necessarily true.
I'd suggest getting over to the dovecot mailling lists and asking them 
specifically the same question.


I don't use dovecot exclusively where I work, but generally when there 
is a problem, it's because of a user
having way too much email.  Whether the user keeps their mail on the 
server via pop or uses imap exclusively, the
majority of the time it takes to grab headers and/or parse through all 
the emails is limited by disk.


It's not uncommon for some of our users to have 4000+ emails in their 
inbox, and it's not uncommon for me to tell them

why their pop/imap client is slow.

~Paul

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


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


Re: USB printer

2008-03-10 Thread Paul A. Procacci

Gligor Lucian wrote:

Does FreeBSD support a USB printer?


   
-

Be a better friend, newshound, and know-it-all with Yahoo! Mobile.  Try it now.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]
  


Yes, usb printers are attached as normal in FreeBSD.  It's up to you to 
provide the necessary utilities for speaking to it.  CUPS for instance.

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


[FreeBSD 7] 3 Terabyte Array Doesn't Attach

2008-03-10 Thread Paul A. Procacci

Howdy,

Been searching mailling lists and reading the FBSD documentation, but 
couldn't find an answer.  I'm hoping this list can point me in the 
correct direction.


I have a client that wants a raid 6 array, w/ 6 x 750G drives (i.e. 
3Terabytes).


The machine has a 'HP Smart Array P400' controller (ciss), which we use 
quite often, just not on an array of this magnitute before.


Configuring the array through the raid bios is pretty simple as it's 
just like any other you would setup.  However, the kernel is unable to 
`attach` the device as is.  I am wondering if a) anyone has run into 
this issue before, and/or b) knows of any good workaround.


Here are errors from the logs:

Mar  6 01:58:40 store1 kernel: (da1:ciss0:0:1:0): got CAM status 0x4
Mar  6 01:58:40 store1 kernel: (da1:ciss0:0:1:0): fatal error, failed to 
attach to device

Mar  6 01:58:40 store1 kernel: (da1:ciss0:0:1:0): lost device
Mar  6 01:58:40 store1 kernel: (da1:ciss0:0:1:0): removing device entry

Some things I have tried:
2 raid5 arrays w/ gstripe - This yields a usable 3Terabyte partition but 
this isn't an option due to client restrictions.
zfs - works like a charm, but client unwilling to use something 'new'.  
Restrictions can sometimes be a pain I tell ya.


I should mention the mahcine is amd64, not sure if this has any relavance.

Help?  -P

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


Re: [FreeBSD 7] 3 Terabyte Array Doesn't Attach

2008-03-10 Thread Paul A. Procacci

Paul A. Procacci wrote:

Howdy,

Been searching mailling lists and reading the FBSD documentation, but 
couldn't find an answer.  I'm hoping this list can point me in the 
correct direction.


I have a client that wants a raid 6 array, w/ 6 x 750G drives (i.e. 
3Terabytes).


The machine has a 'HP Smart Array P400' controller (ciss), which we 
use quite often, just not on an array of this magnitute before.


Configuring the array through the raid bios is pretty simple as it's 
just like any other you would setup.  However, the kernel is unable to 
`attach` the device as is.  I am wondering if a) anyone has run into 
this issue before, and/or b) knows of any good workaround.


Here are errors from the logs:

Mar  6 01:58:40 store1 kernel: (da1:ciss0:0:1:0): got CAM status 0x4
Mar  6 01:58:40 store1 kernel: (da1:ciss0:0:1:0): fatal error, failed 
to attach to device

Mar  6 01:58:40 store1 kernel: (da1:ciss0:0:1:0): lost device
Mar  6 01:58:40 store1 kernel: (da1:ciss0:0:1:0): removing device entry

Some things I have tried:
2 raid5 arrays w/ gstripe - This yields a usable 3Terabyte partition 
but this isn't an option due to client restrictions.
zfs - works like a charm, but client unwilling to use something 
'new'.  Restrictions can sometimes be a pain I tell ya.


I should mention the mahcine is amd64, not sure if this has any 
relavance.


Help?  -P

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

Well, I've done more research and came across this:

http://lists.freebsd.org/pipermail/freebsd-bugs/2008-January/027855.html

This is disappointing.

Thanks!
___
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 a EOF or NL

2008-03-08 Thread Paul A. Procacci

Bob Falanga wrote:

I have been a long time trying to print anything on freebsd, as some know.
Everything seems to be working new but nothing is printed. Today I reboot
the computer and behold a page printed.  This implied to me that the printer
never receives a New Line or EOF or whatever the printer requires to proceed
printing what it has just received.
My question is where do I configure an option to print.


Sounds like to me your print daemon wasn't running.  The reboot started 
it automagically, and henceforth started the job.

As for configuration this depends entirely on the daemon you are using.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: devd

2008-03-07 Thread Paul A. Procacci

E. J. Cerejo wrote:
How do I find out if this daemon got loaded at boot time?  
I do have it on my rc.conf but I don't see anything in dmesg that tells me that it got loaded
  

nat# ps -auxww | fgrep devd
root 876  0.0  0.2  1888   420  ??  Is   Sun07PM   0:00.02 
/sbin/devd


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


Re: RAM not recognized

2008-03-04 Thread Paul A. Procacci

Robert Huff wrote:

RW writes:

  

 And also bear in mind that amd64 uses memory less efficiently
 than i386



Would you care to elaborate?  (A pointer will do.)



Robert Huff


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]
  
The only 'less efficient' thing 64-bit programs have, are larger 
pointers as well as other potenial data items.  Though I'm not sure I'd 
consider this 'less efficient'.
Ok, so we have larger binaries and a bit more ram usage for the 
aforementioned, but isn't that all?  I'd guess to say yes, and if it is, 
then that's not so bad.  In fact, I don't think I'd even call is an 
inefficiency.


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


Re: Is there a Relay proxy port can do this?

2008-03-04 Thread Paul A. Procacci

Norman Maurer wrote:

Hi,

maybe mod_proxy can help you ( apache module ) or rinetd.

Cheers
Norman

Am Dienstag, den 04.03.2008, 01:49 -0800 schrieb Abdullah Ibn Hamad
Al-Marri:
  

Hello Network Gurus,
 
I have Adobe Flex 2 application which hosts the flash applet on apache 2.2.8, then flash applet will connect to port 28001 but users who are behind firewalls and proxies which only allow connections to port 80.


So I need a daemon to work around this problem and allow these users to connect 
to my application.

Is there a port can do this?


Regards,

-Abdullah Ibn Hamad Al-Marri
Arab Portal
http://www.WeArab.Net/





  

Never miss a thing.  Make Yahoo your home page. 
http://www.yahoo.com/r/hs

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


Provided you have ip's to space AND the port of your flash applet is 
modifiable, you *could* bind apache to one address tcp:10.5.21.1:80 (for 
example), and bind the flash applet to another tcp:10.5.21.2:80.  If tis 
isn't an option, than Normans suggestion is right on.

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


Re: RAM not recognized

2008-03-03 Thread Paul A. Procacci

Cesar Amaya wrote:
Hello every one, I have installed FreeBSD-7.0_RELEASE on Dell Power 
Edge 1950 Quad Core and 4GB of RAM.


The problem is that FreeBSD does not recognize all of the RAM.
This is part of the dmesg.
# dmesg
CPU: Intel(R) Xeon(R) CPU   E5420  @ 2.50GHz (2496.28-MHz 
686-class CPU)

 Origin = GenuineIntel  Id = 0x10676  Stepping = 6
 
Features=0xbfebfbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE 

 
Features2=0xce3bdSSE3,RSVD2,MON,DS_CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,DCA,b19 


 AMD Features=0x2010NX,LM
 AMD Features2=0x1LAHF
 Cores per package: 4
real memory  = 3484745728 (3323 MB)
avail memory = 3405631488 (3247 MB)
ACPI APIC Table: DELL   PE_SC3  
FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs
cpu0 (BSP): APIC ID:  0
cpu1 (AP): APIC ID:  1
cpu2 (AP): APIC ID:  2
cpu3 (AP): APIC ID:  3
ioapic0: Changing APIC ID to 4
ioapic0 Version 2.0 irqs 0-23 on motherboard

Can anyone give me some light in this issue?
Thank you very much!!!

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

Forgot to CC list

This is not a problem of FreeBSD but of i386/x86 architecture which max 
memory limit is 4GB i theory and 3-3.5GB in practice, you can use PAE to 
use 36bit addressing (instead of default 32bit) for memory to get full 
4GB on i386 but you will not be able to have loadable kernel modules for 
example, other sollution for this is using amd64/64bit FreeBSD, where 
you will have full 4GB and even more without any problems.

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


Re: Spam mails

2008-03-02 Thread Paul A. Procacci

Server wide blocking w/ an rbl of your choice:

http://cr.yp.to/ucspi-tcp/rblsmtpd.html

Server wide or inbox specific filtering w/ bayes capabilities:

http://spamassassin.apache.org/

Or, don't run a mail server...which is the most effective.  ;)
Obviously there are many other programs you can use, however I just 
provided two off the top of my head.


~Paul

Ming Tang wrote:

Hi -

My email server is on FreeBSD 5.4 Release. I got a lot spam mails every day
and it is really a headache to clean these mails in my pop mail client
software daily.

Is there any effective way to reduce and block these spam emails? Please
help to provide me hint or direction.

Thank you in advance.


- Ming
 
___

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


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


Re: Motherboard: Gigabyte GA-N650SLI-DS4

2008-02-20 Thread Paul A. Procacci

Frank Shute wrote:

On Wed, Feb 20, 2008 at 01:06:30PM +0200, David Naylor wrote:
  

Hi,

I am currently replacing my defunct motherboard, I am unable to test
the hardware before purchase and I am seeking advice on which
motherboard to get.

Upon review I have selected a Gigabyte GA-N650SLI-DS4, does FreeBSD
work with this board.  It does have a nForce 650i (and I am not sure
FreeBSD works with it?)



I just built a workstation with a Gigabyte GA-P35-DS3L (P35/ICH9)
board and am running a core 2 duo on it with AMD 7.0RC1. Everything works
including ACPI which is very important if you want to run more than 1
core. 

  

If anyone has an alternative suggestion please let me know.  The
motherboard will have to support (my budget is about  ZAR2000 ~
USD275): 



  
o) Intel Core 2 Quad Q6600 



Mine supports that with up to 1333MHz FSB.

  

o) 4x 800Mhz DDR2 Ram



Yep. I've got 4GB, don't know whether it will go to 8, the handbook is no
help.

  

o) 2x SATA HDD



Yep. 4 Channels.

  

o) 2x IDE CDROM Drive



Yes. Only 1 IDE channel but supports 2 devices

  

o) 2x nVidia 7600 GT



I guess that's SLI which I don't know a lot about or whether FreeBSD
(X) can make any use of it. Only 1 PCI-E x 16 on my board so I guess
not for me.

  

Thank you all for your help



I don't know anything about your nForce650i chipset but as a rule of
thumb, if the technology is more than 6 months old, it's likely to
work unless there's non-disclosure by the manufacturer (I think Nvidia
are quite good in that respect).

May be somebody else can comment on whether it will work. Or if you
can drop one of the video cards you can use the same motherboard as
me since I've tested it (apart from sound). And it's probably cheaper!
About 65 quid (130 USD).

  
Just to add additional information for the OP.  I too have a Gigabyte 
P35-DS3R (slight difference in model, but nearly the same) rev. 2.1 
board, and it works like a champ.


My specs (whether relavant or not to you):

o) Core 2 Q6600 Quad Core OC'd to 1333 FSB.
o) 4x 1066Mhz DDR2 Ram
o) IDE channel(s) not in use.
o) 4 SATA drives in raid 0+1 in use, 1 SATA CDROM drive in use
o) Floppy Controller / Drive in use.
o) nVidia 8800 GTX obviously in use.

Like Frank mentioned, my video card doesn't run in Sli mode, however 
I've had nothing but luck thus far.


I hope this little bit helps.  Maybe next time if otherwise.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: java decoder?

2008-02-18 Thread Paul A. Procacci

Gary Kline wrote:

Guys,

I doubt this but is there anything that will take a foo.jar and turn in back 
into java?  Or at least assembler?   


gary

  

http://java.sun.com/developer/Books/javaprogramming/JAR/basics/

I went to google and typed:  'unpack jar'.  There are many other results 
that you may be interested it.

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


Re: two links

2008-02-10 Thread Paul A. Procacci

Suprema Informática Ltda - Leandro wrote:

Good morning,

I need active two links of internet, but i don´t know do this.
I have 3 interfaces

internet 1 adsl gateway = 172.168.0.254   -   ip interface = 
172.168.0.253
internet 2 adsl gateway = 192.168.1.254   -   ip interface = 
192.168.1.253


interface to lan internal = 10.0.0.254

My default gateway is 172.168.0.254.

I need active the second link (192.168.1.254) only access port 22, 
just port 22.



Freebsd 6.3 + ipfw


Thanks for all.t
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
[EMAIL PROTECTED]
First explictly allow transmission on the interface in question, and 
deny everything else.  Additionally, you probably want to keep state 
within the ruleset as well.


ipfw add some_num allow tcp from any to me 22 in via interface
ipfw add some_num+2 deny tcp from any to me 22
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Password file migration help

2008-01-30 Thread Paul A. Procacci

Sean Murphy wrote:
I have a FreeBSD 5.4 system and would like to migrate users in the 
password file with UIDs 3000 through 5000 to a FreeBSD 6.3 system on a 
running on a separate box.  Is there a way to export just those users?


Thanks
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
[EMAIL PROTECTED]
Open vi/vim/etc on both machines via `vipw`, and copy 'n' paste.  Repeat 
for the group file in necessary.

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


Re: phpinfo(); not working

2007-10-26 Thread Paul A. Procacci

Tipper wrote:
I have FreeBSD-6.2 and I'm having trouble setting up apache, mysql and 
php for my business. I can't get  phpinfo(); to display. If I run php 
-i, I get several pages of information which means php is working.  
This only means you have the php binary installed, and that's it.  It's 
unrelated to the apache module.


cd into /usr/ports/lang/php4 or /usr/ports/lang/php5

Do a 'make config'.  Ensure that the WITH_APACHE item is checked.

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