Re: what cpu type to use for a intel duo e6850 (i386 or amd64)

2007-09-30 Thread Aryeh Friedman
On 9/29/07, RW [EMAIL PROTECTED] wrote:
 On Sat, 29 Sep 2007 16:03:05 +
 Aryeh Friedman [EMAIL PROTECTED] wrote:

  I have more then 4gb and was wondering why it didn't all show up
  is there anyway to do a in place upgrade (I have a lot of user
  data)... also someone should think about changing the naming on the
  iso/cpu types since 20 years of industry experience (15 with FreeBSD)
  and reading hardware.txt did not give a clue on this.

 What's confusing?

 i386 is for 386 compatible processors - a 32-bit OS for 32-bit
 processors, which is therefore limited to 2^32 bytes (4GiB) without the
 PAE workaround.

 amd64 is for AMD 64 compatible processors operated in 64-bit mode.

First of all there are several possible 64 bit intel like processors
to choose from for example unless one reads carefully ia64 looks like
what you want.  Second of all in many peoples minds (including mine)
we are used to there being subtle diffs between AMD and intel for the
same class of processor thus would naturally think if it was lableb
amd64 it is for Advanced Micro Devices processors only... a better
name would be 64bit_x86 or something like that

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


Re: Viewing jpegs with Mutt

2007-09-30 Thread Harry Matthiesen Jensen
On Sat, Sep 29, 2007 at 07:45:34PM -0700, Rem P Roberti wrote:
 Is it possible to view jpegs inline using the Mutt MUA?  If so, I
 would appreciate being directed to a site that would have that
 information.

To your .mailcap file, add:

# This maps all types of images (image/gif, image/jpeg, etc.)
# to the viewer 'display'.
image/*; display %s


I'm using the display command from ImageMagick, so you just have
replace that command to your preferable viewer.

Also remember you have to select v from within the e-mail in Mutt, and
then select the jpeg.

See also:
http://www.pantz.org/os/linux/programs/muttsetup.shtml

-- 
Mvh/Brgds Harry
FreeBSD mugin.localhost 7.0-CURRENT #8: i386
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: too late to change to security branch?

2007-09-30 Thread Rakhesh Sasidharan


Hi Bill!


I have servers running 6.1 and 6.2.  I use freebsd-update in cron jobs to
install binary security update to the base system, and use cvsup/portupgrade
in cron jobs to install port updates.  By default, cvsup uses CURRENT
branch.


The ports system doesn't have any branches. The same tree is used between 
all the different FreeBSD branches so you can't just track security 
updates only. You track it using portupgrade/ cvsup.


The base system has many branches. In your case, you seem to be following 
the security branches for 6.1 and 6.2 using freebsd-update.



I am tired of some updates breaking something unnecessarily, and am thinking
of changing to SECURITY branch in cvsup.  Is that possible?  Some of my
ports are already locally compiled with customized options.


Maybe you can provide more info on what's breaking?

I use FreeBSD for a couple of headless machines. No X and other stuff, but 
I haven't had any breakages so far. *touchwood* Do go though the UPDATING 
file to check out any gotchas before updating.


HTH,


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


Re: too late to change to security branch?

2007-09-30 Thread Rakhesh Sasidharan



I run freebsd-update and my cvsup configuration uses *default release=cvs
tag=..  I am actually following security branch, since I do not recompile
the kernel, right?  This cvs tag only matters if I compile the kernel,
right?


If you are using freebsd-update then you are following the security 
branch.


Even if you were using cvs and had to recompile the kernel (coz of some 
patch there) you would still be following the security branch (**if** you 
are tracking the security branch, that is).


In FreeBSD, the base system and the 3rd party apps are separate. The base 
system has the concept of branches. The 3rd party apps (ports) are shared 
amongst all, there's no concept of branches. So you can't just follow 
security updates for the 3rd party apps.


HTH,

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


Re: Enlighten me nt Please

2007-09-30 Thread Rakhesh Sasidharan



Would it be easy, or maybe not too difficult to setup Enlightenment
with FreeBSD which I am determined to get back into soon? Even possibly
use the Elive approach, or is that a specific Linux executable?


You can install enlightenment from ''x11-wm/enlightenment'' or 
''x11-wm/enlightenment-devel''. But I don't know if you'll get the same 
experience as Elive. Quite possible that the Elive ppl have a bunch of 
customizations and integrations stuff of their own ...


Regards,

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


Re: How to restart a freezed tty?

2007-09-30 Thread Bahman M.
On Sun, 30 Sep 2007 00:09:40 -0400 Brian A. Seklecki
[EMAIL PROTECTED] wrote:
 
 On Sat, 2007-09-29 at 13:16 +0330, Bahman M. wrote:
  Hi all,
  
  For some reason all the ttys are frozen up; I can switch between X
  and them back and forth but not between the ttys themselves using
  ALT+Fn.
 
 Can you start new xterms?  When you say 'frozen', do they not accept
 keyboard input?  Is it possible scroll-lock is enabled?  What about
 the TTY that you started Xorg from?
  
 Is this temporal? When did it start happening?  
 
 Is there anything in /var/log/messages?
 
Good questions; I should have explained the situation a bit more.

I can start as many xterm as I'd like to.  In fact when I'm in X
everything is alright.

I was doing some ports compilation on ttyv2 and
in the midst of that I remembered I forgot to pass a switch to compiler.
I pressed CTRL+C and it stopped but ttyv2 also stopped responding to any
keyboard events (even the mouse doesn't appear there).  

Now when I switch to ttyvn by pressing ALT+Fn, it always switches
to ttyv2 with the same text shown as the moment it stopped working.

I killed all the ttyvn processes.  They terminated and restarted as
expected.  Now they all have different PIDs than before but still I
can't use them.

It's the first time I'm encountering such a problem.

I looked through dmesg output or in /var/log/messages but there was
nothing unsual out there.

 Did you try: $ sudo pkill -HUP init ?

Will give it a try.

BTW, this is the my home machine just for personal use; it thus doesn't
hurt anyone if I restart the system but I'm just curious to know how
one can get out of such situation.

 
  I tried killing them; they terminate and restart but still
  frozen.  I don't believe the only way out is to restart the system.
  
  How to make ttys behave normally?  I'd appreciate any idea.
  FreeBSD 6.2-RELEASE-p7 
  xorg-7.2
  fluxbox-1.0rc3_3
  

Thanks,

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


oops (was Re: what cpu type to use for a intel duo e6850 (i386 or amd64))

2007-09-30 Thread Aryeh Friedman
well the procedure *ALMOST* worked turns out that sysinstall
clobbers any unmodified bsdlabels (bug?)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


(amd64) kernel reconizes sound card but no dev nodes are made

2007-09-30 Thread Aryeh Friedman
My kernel reconizes my sound card:

monster# kldload snd_hda
monster# kldstat
Id Refs AddressSize Name
 1   12 0x8010 b2b1d0   kernel
 21 0x80c2c000 9dc0 linprocfs.ko
 32 0x80c36000 3a060linux.ko
 41 0xb11ac000 e3de snd_hda.ko
 51 0xb11bb000 33c10sound.ko
monster# sysctl -a|grep snd

hw.snd.latency_profile: 1
hw.snd.latency: 5
hw.snd.report_soft_formats: 1
hw.snd.compat_linux_mmap: 0
hw.snd.feeder_buffersize: 16384
hw.snd.feeder_rate_round: 25
hw.snd.feeder_rate_max: 2016000
hw.snd.feeder_rate_min: 1
hw.snd.verbose: 1
hw.snd.maxautovchans: 16
hw.snd.default_unit: 0
hw.snd.version: 2007061600/amd64
hw.snd.default_auto: 0
monster# ls /dev
acd0cuad0.lock  mixer0  stdout  ttyvb
acpidcons   net sysmousettyvc
ad10devctl  net1ttyd0   ttyvd
ad10s1  devstat net2ttyd0.init  ttyve
ad10s1a dgdbnet3ttyd0.lock  ttyvf
ad10s1b fd  network ttyp0   ums0
ad10s1c fidonfs4ttyp1   urandom
ad10s1d geom.ctlnfslock ttyp2   usb
ad10s1e io  nullttyv0   usb0
ad10s1f kbd0nvram   ttyv1   usb1
ata kbd1pci ttyv2   usb2
atkbd0  kbdmux0 ppi0ttyv3   usb3
audit   klogptyp0   ttyv4   usb4
bpf0kmemptyp1   ttyv5   usb5
console lpt0ptyp2   ttyv6   usb6
consolectl  lpt0.ctlrandom  ttyv7   usb7
cttymdctl   sndstat ttyv8   xpt0
cuad0   mem stderr  ttyv9   zero
cuad0.init  midistatstdin   ttyva

% cat /dev/sndstat
FreeBSD Audio Driver (newpcm: 64bit 2007061600/amd64)
Installed devices:
pcm0: Intel 82801I High Definition Audio Controller at memory
0xfcdf8000 irq 22 kld snd_hda [20070710_0047] [MPSAFE] (1p:1v/1r:1v
channels duplex default)

But doesn't create the device node for it:
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


the continuing adventures of nvidia vs. xord 7.3

2007-09-30 Thread Aryeh Friedman
Normally I wouldn't mention this this may point to a deeper set of
bugs in xorg/nv/nvidia/freebsd 7-current.

Where things stood:

1. I had xorg 7.3 on freebsd 7-current (i386)
2. It did not reconize any nvidia card in anyway shape or form (nv,
nvidia (even he latest beta's posted on 9/26), etc.)
3. As soon I upgraded to 7-current (amd64) and reinstalled xorg 7.3
the nv driver works

My hardware:

intel e6850
p35 mobo
4 gb of ram
nvidia geforce 5200 GT (pci) (but had the same issue and I think
actually physically damaged a 8500 gs (pci-e)) [once nvidia comes out
with a stable closed source driver I will probally get an other

Lessons for other people:

1. If you have a 64bit x86 like processor you should try using amd64
instead of i386 binaries

2. The xorg (and/or freebsd kernel team) need to figure out why there
should be any diff between amd64 and i386 (I removed one dimm and
remade xorg and it still failed on i386)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Viewing jpegs with Mutt

2007-09-30 Thread Rem P Roberti
On Sun, Sep 30, 2007 at 09:03:37AM +0200, Harry Matthiesen Jensen wrote:
 On Sat, Sep 29, 2007 at 07:45:34PM -0700, Rem P Roberti wrote:
  Is it possible to view jpegs inline using the Mutt MUA?  If so, I
  would appreciate being directed to a site that would have that
  information.
 
 To your .mailcap file, add:
 
 # This maps all types of images (image/gif, image/jpeg, etc.)
 # to the viewer 'display'.
 image/*; display %s
 
 
 I'm using the display command from ImageMagick, so you just have
 replace that command to your preferable viewer.
 
 Also remember you have to select v from within the e-mail in Mutt, and
 then select the jpeg.
 
 See also:
 http://www.pantz.org/os/linux/programs/muttsetup.shtml
 
 -- 
 Mvh/Brgds Harry
 FreeBSD mugin.localhost 7.0-CURRENT #8: i386



Wow!  That really worked well just the way it is.  Thank you very much.

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


Re: How to restart a freezed tty?

2007-09-30 Thread Bahman M.
On Sun, 30 Sep 2007 00:09:40 -0400
Brian A. Seklecki [EMAIL PROTECTED] wrote:

 On Sat, 2007-09-29 at 13:16 +0330, Bahman M. wrote:
  Hi all,
  
  For some reason all the ttys are frozen up; I can switch between X
  and them back and forth but not between the ttys themselves using
  ALT+Fn.
 
 Can you start new xterms?  When you say 'frozen', do they not accept
 keyboard input?  Is it possible scroll-lock is enabled?  What about
 the TTY that you started Xorg from?
 
 Is this temporal? When did it start happening?  
 
 Is there anything in /var/log/messages?
 
 Did you try: $ sudo pkill -HUP init ?

Yes.  It killed X and got me to the frozen terminals.  There I could do
nothing (no shell) but pressing the power button!

The case is closed :-)

  I tried killing them; they terminate and restart but still
  frozen.  I don't believe the only way out is to restart the system.
  
  How to make ttys behave normally?  I'd appreciate any idea.
  FreeBSD 6.2-RELEASE-p7 
  xorg-7.2
  fluxbox-1.0rc3_3

Thanks for your time.

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


Re: Security report question

2007-09-30 Thread Chuck Swiger

Kurt Buff wrote:
[ ... ]

+Limiting closed port RST response from 283 to 200 packets/sec

I don't know what this means, though I suspect it could mean that I'm
being port scanned. Is this a reasonable guess?


Yes.  It could also be something beating really hard on a single closed port, 
too.

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


Re: using the date command

2007-09-30 Thread Bruce Cran

Brian A. Seklecki wrote:

To set time:

$ sudo /usr/sbin/ntpdate pool.ntp.org
29 Sep 23:48:31 ntpdate[9404]: adjust time server 66.250.45.2 offset
0.001289 sec
  
ntpdate is deprecated, you should use ntpd -q instead if you want ntpd 
to set the time once then exit.  From ntpdate(8):


Note: The functionality of this program is now available in the ntpd(8)
program.  See the -q command line option in the ntpd(8) page.  After a
suitable period of mourning, the ntpdate utility is to be retired from
this distribution.

Also, ntpd wil refuse to update the time if the delta is more than 1000s 
by default, but you can use the -g option to override this.   To set the 
date to within a reasonable delta, use something like date 
200709282027.  If you want to set the time more accurately using NTP, 
edit /etc/ntp.conf and add server pool.ntp.org to it.  Save it then 
run ntpd -q.  If you need to configure the time zone, an easy way to 
do this is to run sysinstall and select Configuration -- Time Zone.

To date info about your timezone settings:

$ zdump /etc/localtime 
/etc/localtime  Sat Sep 29 23:49:19 2007 EDT


Options:

$ ls /usr/shaoneinfo/ | egrep -v ^d
total 78
-rw-r--r--   1 root  wheel755 Aug 22 11:11 CET
-rw-r--r--   1 root  wheel837 Aug 22 11:11 CST6CDT
-rw-r--r--   1 root  wheel679 Aug 22 11:11 EET
-rw-r--r--   1 root  wheel 56 Aug 22 11:11 EST
-rw-r--r--   1 root  wheel837 Aug 22 11:11 EST5EDT
[...]

To set timezone:

$ ln -s /share/zoneinfo/$WHATEVER /etc/localtime

For you probably PST8PDT.

For your best NTP experience, use OpenNTP from
ports: /usr/ports/net/openntpd/

~BAS



On Sat, 2007-09-29 at 20:33 -0700, jekillen wrote:
  

Hello all;
I have built 4 machines and installed FreeBSD 6.0 in one and 6.2
in the other three. They are all using the wrong date and time.
The last one (v6.2 on ecs mb with AMD64) is the worst. It is telling
me today is Jan 3 2003 PST (I am on the west coast and it is still PDT).
These machines are all web servers. So up until now this has not been
a big issue but a configuration of software is complaining that the 
files

it creates have an older date than the files in the software bundle,
it is time to do something about it. So I am looking at man date and as
I interpret the instructions #date ccyymmddHHMM.ss  (20079282027.00 or
200709282027.00 for instance) is supposed to set the
clock to the current date. But when I run a command with the
current date and time in the above format I get the complaint that
the format string is wrong.
Can anyone be kind enough to give me a quick tutorial on this?
I will be looking seriously into using NTP, but for now I need to
get the date straight. I have entries in apache error log gener
ated by php scripts that are supposed to use its date command.
Thanks in advance for assistance.
Jeff K


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


pci serial card issues

2007-09-30 Thread chris.scott

Hi

i'm running freebsd stable (last build 28th) and am having a few issues 
with 2 pci serial cards. Basically I'm trying to build a serial server. 
However the driver doesn't seem to work correctly.


Sep 28 22:18:56 boxster puc0: NetMos NM9845 Hex UART port 
0xce00-0xce07,0xcc00-0xcc07,0xca00-0xca07,0xc800-0xc807,0xc600-0xc607,0xc400-0xc40f 
irq 9 at device 8.0 on pci0
Sep 28 22:18:56 boxster puc1: NetMos NM9845 Hex UART port 
0xde00-0xde07,0xdc00-0xdc07,0xda00-0xda07,0xd800-0xd807,0xd600-0xd607,0xd400-0xd40f 
irq 10 at device 11.0 on pci0

Sep 28 22:18:56 boxster puc1: could not get resource


they are both 6 port serial pci cards, and are listed in the puc driver 
as supported. The  pc is quite old so Im not sure if whats causing any 
issues. I have tried the bios with pnpos enables and disabled but it 
makes little difference. I have also tried with one card and the issue 
is the same.


I have also disabled the pcs onboard serial ports and still no go

I have disabled  ACPI with hint.acpi.0.disabled=1 this seems to stop 
the resource error but I dont get any additional cuad devices



$ pciconf -l -v | grep -B 4 UART
[EMAIL PROTECTED]:8:0:  class=0x070002 card=0x00061000 chip=0x98459710 rev=0x01 
hdr=0x00

  vendor = 'MosChip Semiconductors (Was: Netmos Technology)'
  device = 'Nm9845 Parallel/Serial Port Adapter'
  class  = simple comms
  subclass   = UART
--
[EMAIL PROTECTED]:11:0: class=0x070002 card=0x00061000 chip=0x98459710 rev=0x01 
hdr=0x00

  vendor = 'MosChip Semiconductors (Was: Netmos Technology)'
  device = 'Nm9845 Parallel/Serial Port Adapter'
  class  = simple comms
  subclass   = UART



Any help much appreciated

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


Forcing buffer cache to use available memory

2007-09-30 Thread Peter Schuller
Hello,

Is there a way to force the buffer cache to be more aggressive when
caching reads? Or even just plain force a certain number of megabytes
to be dedicated to the buffer cache?

-- 
/ Peter Schuller

PGP userID: 0xE9758B7D or 'Peter Schuller [EMAIL PROTECTED]'
Key retrieval: Send an E-Mail to [EMAIL PROTECTED]
E-Mail: [EMAIL PROTECTED] Web: http://www.scode.org



pgpB9FEhefHvV.pgp
Description: PGP signature


Re: Portupgrading cups-base gives compiler error

2007-09-30 Thread Don Read
On Sat, 29 Sep 2007 00:06:37 + Aryeh Friedman said:

 When will this be in cvsup?
 
 --Aryeh

About 30 hours ago.

localhost.root# ls -l /var/log/cvsup.log
-rw-r--r--  1 root  wheel  41979 Sep 29 03:19 /var/log/cvsup.log

localhost.root# grep cups-base /var/log/cvsup.log
 Edit ports/print/cups-base/Makefile
 Edit ports/print/cups-base/distinfo
 Delete ports/print/cups-base/files/patch-CVE-2007-3387
 Checkout ports/print/cups-base/files/patch-Makedefs.in
 Delete ports/print/cups-base/files/patch-Makefile
 Checkout ports/print/cups-base/files/patch-auth.c
 Checkout ports/print/cups-base/files/patch-configure
 Edit ports/print/cups-base/pkg-plist
localhost.root# 

Regards,
-- 
Don Read  [EMAIL PROTECTED]
-- It's always darkest before the dawn. So if you are going to 
   steal the neighbor's newspaper, that's the time to do it.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: newby needing help

2007-09-30 Thread neal

Hi Roland,

thanks for the guidance, you've helped me sort out some 
confusions too.


I shall try later this afternoon to mount my /home ext3 
partition, after having another attempt to understand the 
man page for this command.


anyway, your help has been useful and is greatly appreciated.

neal.


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


cups-base fails to compile

2007-09-30 Thread E. J. Cerejo
I'm running FreeBSD 6-stable and I just updated the ports tree using 
cvsup and the portupgrade tools, but now I get this error when I try to 
build cups-base:


cc  -Wshadow -Wunused -Wall -Wno-format-y2k -fPIC -Os -g -I.. 
-I/usr/local/include -O -pipe -march=pentium4 -D_LARGEFILE_SOURCE 
-D_LARGEFILE64_SOURCE -D_THREAD_SAFE -D_REENTRANT -I../.. 
`/usr/local/bin/php-config --includes` -I/usr/local/include 
-I/usr/local/include -I/usr/local/include -D_LARGEFILE_SOURCE 
-D_LARGEFILE64_SOURCE -D_THREAD_SAFE -D_REENTRANT -I../.. 
`/usr/local/bin/php-config --includes` -c phpcups.c

In file included from /usr/local/include/php/main/php.h:38,
from phpcups.c:33:
/usr/local/include/php/Zend/zend_API.h:327: warning: declaration of 
'index' shadows a global declaration

/usr/include/strings.h:50: warning: shadowed declaration is here
In file included from /usr/local/include/php/main/php.h:416,
from phpcups.c:33:
/usr/local/include/php/TSRM/tsrm_virtual_cwd.h:202: warning: declaration 
of 'link' shadows a global declaration

/usr/include/unistd.h:348: warning: shadowed declaration is here
In file included from /usr/local/include/php/main/php.h:418,
from phpcups.c:33:
/usr/local/include/php/Zend/zend_constants.h:63: warning: declaration of 
'strlen' shadows a global declaration

/usr/include/string.h:90: warning: shadowed declaration is here
phpcups.c: In function `zm_startup_phpcups':
phpcups.c:163: error: `CUPS_PRINTER_DISCOVERED' undeclared (first use in 
this function)

phpcups.c:163: error: (Each undeclared identifier is reported only once
phpcups.c:163: error: for each function it appears in.)
gmake[1]: *** [phpcups.o] Error 1
gmake[1]: Leaving directory 
`/usr/ports/print/cups-base/work/cups-1.3.3/scripting/php'

gmake: *** [all] Error 1
*** Error code 2

Stop in /usr/ports/print/cups-base.
*** Error code 1

Stop in /usr/ports/print/cups-base.

Does anyone know how to fix this?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Adding CR/LF

2007-09-30 Thread Giorgos Keramidas
On 2007-09-28 18:34, [EMAIL PROTECTED] wrote:
 I know this should be easy, but I cannot get it to work right.
 Basically, I have a list of items, and I need to place each one on a
 separate line.
 
 Here is the script I am using.
 #!/bin/sh
 FILENAMES=test1 test2 test3
 FILELIST=
 for filename in ${FILENAMES}
 do
 FILELIST=${FILELIST}${filename}$'\n\r'
 echo ${FILELIST}
 done
 
 And, here is the output I am getting.
 test1$\n\r
 test1$\n\rtest2$\n\r
 test1$\n\rtest2$\n\rtest3$\n\r
 
 The output I would like to see is:
 test1
 test2
 test3

How about skipping the trick with '\n\r' altogether?

This should work better:

#!/bin/sh

FILENAMES=test1 test2 test3

for fname in ${FILENAMES}
do
echo ${fname}
done

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


Re: cups-base fails to compile

2007-09-30 Thread E. J. Cerejo

Pablo Mora wrote:

On 9/30/07, E. J. Cerejo [EMAIL PROTECTED] wrote:
  

I'm running FreeBSD 6-stable and I just updated the ports tree using
cvsup and the portupgrade tools, but now I get this error when I try to
build cups-base:

cc  -Wshadow -Wunused -Wall -Wno-format-y2k -fPIC -Os -g -I..
-I/usr/local/include -O -pipe -march=pentium4 -D_LARGEFILE_SOURCE
 

Does anyone know how to fix this?



Update your ports tree.

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

  

I did that before, I still get the same error.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Forcing buffer cache to use available memory

2007-09-30 Thread Chuck Swiger

Peter Schuller wrote:

Is there a way to force the buffer cache to be more aggressive when
caching reads? Or even just plain force a certain number of megabytes
to be dedicated to the buffer cache?


You want to adjust the vfs.read_max sysctl, I believe, or the vfs.maxbufspace 
for your second question.  sysctl -d vfs is likely to be informative


--
-Chuck


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


Re: Adding CR/LF

2007-09-30 Thread Ray
On Sunday 30 September 2007 9:04:40 am Giorgos Keramidas wrote:
 On 2007-09-28 18:34, [EMAIL PROTECTED] wrote:
  I know this should be easy, but I cannot get it to work right.
  Basically, I have a list of items, and I need to place each one on a
  separate line.
 
  Here is the script I am using.
  #!/bin/sh
  FILENAMES=test1 test2 test3
  FILELIST=
  for filename in ${FILENAMES}
  do
  FILELIST=${FILELIST}${filename}$'\n\r'
  echo ${FILELIST}
  done
 
  And, here is the output I am getting.
  test1$\n\r
  test1$\n\rtest2$\n\r
  test1$\n\rtest2$\n\rtest3$\n\r
 
  The output I would like to see is:
  test1
  test2
  test3


I haven't seen anybody mention this yet, but once you get the line break 
figured out, you may want to move the echo, lprint, whatever line to be below 
the do loop. That's why you get the first two lines of output.
Ray

 How about skipping the trick with '\n\r' altogether?

 This should work better:

   #!/bin/sh

   FILENAMES=test1 test2 test3

   for fname in ${FILENAMES}
   do
   echo ${fname}
   done

 ___
 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: Security report question

2007-09-30 Thread Kurt Buff
On 9/30/07, Chuck Swiger [EMAIL PROTECTED] wrote:
 Kurt Buff wrote:
 [ ... ]
  +Limiting closed port RST response from 283 to 200 packets/sec
 
  I don't know what this means, though I suspect it could mean that I'm
  being port scanned. Is this a reasonable guess?

 Yes.  It could also be something beating really hard on a single closed port, 
 too.

 --
 -Chuck

Thanks. This, coupled with some invalid SSH login attempts from a
known user, has made me quite suspicious. I think, though, that this
is all that I can call it at this point - suspcious.

Anything further I could turn up to monitor/log what's going on?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: 7.0-CURRENT Ports Collection?

2007-09-30 Thread Giorgos Keramidas
On 2007-09-29 20:15, Aryeh Friedman [EMAIL PROTECTED] wrote:
On 9/29/07, Kris Kennaway [EMAIL PROTECTED] wrote:
Aryeh Friedman wrote:
 Are you attempting to download ports on 6.2 before you move to 7 or on
 7?  If the and your on a SMP (dual core don't know about physically
 seperate) there are some known issues in the protocol stack

 Er, what issues, pray tell? :)

 Namely hangs and lacks of connects (in some cases you will need to
 manually fetch the dist file [it may take several attempts {*DO NOT*
 erase the old dist file after each attempt}])

That's odd.  Are you sure this is a bug in 6.2, and not some local
networking setup problem?

If you have tcpdumps and/or other useful data to track this down, then
please open a bug report, as 6.2 is used by _many_ people and a bug like
this would be annoying.

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


Re: oops (was Re: what cpu type to use for a intel duo e6850 (i386 or amd64))

2007-09-30 Thread Giorgos Keramidas
On 2007-09-30 07:24, Aryeh Friedman [EMAIL PROTECTED] wrote:
 well the procedure *ALMOST* worked turns out that sysinstall
 clobbers any unmodified bsdlabels (bug?)

Which 'procedure' would that be?

You haven't quoted anything from the previous messages, and your mailer
hasn't included an In-Reply-To header to help us track down previous
posts of the same thread by searching the list archives.

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


Re: what cpu type to use for a intel duo e6850 (i386 or amd64)

2007-09-30 Thread RW
On Sun, 30 Sep 2007 06:55:15 +
Aryeh Friedman [EMAIL PROTECTED] wrote:

 Second of all in many peoples minds (including mine)
 we are used to there being subtle diffs between AMD and intel for the
 same class of processor thus would naturally think if it was lableb
 amd64 it is for Advanced Micro Devices processors only... 

Architectures don't differ subtly, if they did we would have
hundreds. That's why we have cpu-type variants within each
architecture.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Forcing buffer cache to use available memory

2007-09-30 Thread Peter Schuller
 You want to adjust the vfs.read_max sysctl, I believe, or the 
 vfs.maxbufspace for your second question.  sysctl -d vfs is likely to be 
 informative

Thanks! That looks like what I'm after.

-- 
/ Peter Schuller

PGP userID: 0xE9758B7D or 'Peter Schuller [EMAIL PROTECTED]'
Key retrieval: Send an E-Mail to [EMAIL PROTECTED]
E-Mail: [EMAIL PROTECTED] Web: http://www.scode.org



pgp7jXUOdGw4S.pgp
Description: PGP signature


keep track of a text file

2007-09-30 Thread Jeff Laine
Hi to all.
---
I'm using FreeBSD 6.1-RELEASE-p17

Just wonder about one catch: is it possible to keep track of any text file's
contents in a real time?
For example, I open ttyv1 and via some magic command :) I get my file's
contents updating in real time if any modifications occured.

Any advices will be very much appreciated.
-- 
Jeff
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: keep track of a text file

2007-09-30 Thread N.J. Mann
In message [EMAIL PROTECTED], Jeff Laine wrote:
 
 Just wonder about one catch: is it possible to keep track of any text file's
 contents in a real time?
 For example, I open ttyv1 and via some magic command :) I get my file's
 contents updating in real time if any modifications occured.
 
 Any advices will be very much appreciated.

tail -f filename

man tail(1) for details


Cheers,
   Nick.
-- 

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


Re: keep track of a text file

2007-09-30 Thread Jeff Laine
On 30/09/2007, N.J. Mann [EMAIL PROTECTED] wrote:

 In message [EMAIL PROTECTED],
 Jeff Laine wrote:
 
  Just wonder about one catch: is it possible to keep track of any text
 file's
  contents in a real time?
  For example, I open ttyv1 and via some magic command :) I get my file's
  contents updating in real time if any modifications occured.
 
  Any advices will be very much appreciated.

 tail -f filename

 man tail(1) for details


 Cheers,
Nick.
 --


Thanks! Just forgot about tail

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


Re: 6.2 amd64 ufs_dirbad

2007-09-30 Thread Eric Osterweil


On Sep 29, 2007, at 2:16 PM, Brian A. Seklecki wrote:


Can you post your dmesg(8) from /var/run/dmesg(8) so that we can see
your SATA controller information?

Can you try loading /usr/obj and /usr/src onto an alternate disk to  
see

if the problem is controller/HBA/sata cable/disk related?



Attached, thnx in advance,



dmesg.boot
Description: Binary data


Eric


~BAS

On Fri, 2007-09-28 at 10:33 -0700, Eric Osterweil wrote:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1



I've been chasing my tail with a problem for a few days now and I'm
about to throw in the towel.  I have a Tyan Thunder K8SR w/ 2
amd64's, 6GB of mem, and a 250 GB SATA drive.

I've been trying to get FreeBSD 6.2 amd64 on it.  When I do the
install, if I try to put the ports on, it reliably crashes with a
ufs_dirbad.  I can install w/o the ports.  I found a ref to booting
with:
set hw.physmem=4G
and that gets me through (w/ the ports).

When I buildworld, I eventually get the same ufs_dirbad.

I have swapped out the drive and tried a new one (same problem).
WHenever I reboot (at all) if I fsck I see lots of filesystem
errors.  I just did a memtest86 over night, and found no problems.

Can anyone help me out here?  I can provide any other info that would
help.

Thanks,

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

iD8DBQFG/Tr8K/tq6CJjZQIRAjwKAJ48hBPeFwnSBQaykw7rJsNW49Rt3wCeO0HY
yxThKkuyCTPJOjfTw2KWsp4=
=syDq
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions- 
[EMAIL PROTECTED]









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




PGP.sig
Description: This is a digitally signed message part


best spam filter port(s) for postfix?

2007-09-30 Thread Joe in MPLS
I'm running 6.2-STABLE with postfix with cyrus-sasl, imap-uw  horde for 
mail. I'd like to stop depending on clients(Thunderbird  PDAs) for  
primary spam control (especially because our PDAs don't do any). AV 
scanning would be a plus too.


   ...jgm



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


Re: best spam filter port(s) for postfix?

2007-09-30 Thread Derek Ragona

At 03:20 PM 9/30/2007, Joe in MPLS wrote:
I'm running 6.2-STABLE with postfix with cyrus-sasl, imap-uw  horde for 
mail. I'd like to stop depending on clients(Thunderbird  PDAs) for
primary spam control (especially because our PDAs don't do any). AV 
scanning would be a plus too.


   ...jgm


I use mailscanner with sendmail which uses spamassasin with clamav.  All 
from the ports.


-Derek


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

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


Re: best spam filter port(s) for postfix?

2007-09-30 Thread Pollywog
On Sunday 30 September 2007 20:28:23 Derek Ragona wrote:
 At 03:20 PM 9/30/2007, Joe in MPLS wrote:
 I'm running 6.2-STABLE with postfix with cyrus-sasl, imap-uw  horde for
 mail. I'd like to stop depending on clients(Thunderbird  PDAs) for
 primary spam control (especially because our PDAs don't do any). AV
 scanning would be a plus too.
 
 ...jgm

 I use mailscanner with sendmail which uses spamassasin with clamav.  All
 from the ports.

I used Mailscanner at one time, but it is not recommended for use with Postfix 
because mail can be lost.  It never happened to me, but it has happened to 
others.  I believe the Postfix website mentions these problems.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: best spam filter port(s) for postfix?

2007-09-30 Thread Roland Smith
On Sun, Sep 30, 2007 at 03:20:58PM -0500, Joe in MPLS wrote:
 I'm running 6.2-STABLE with postfix with cyrus-sasl, imap-uw  horde for 
 mail. I'd like to stop depending on clients(Thunderbird  PDAs) for  
 primary spam control (especially because our PDAs don't do any). AV 
 scanning would be a plus too.

I've been using bogofilter for some years now, and it works very well
once you've trained it properly. I'm calling it from procmail just
before the mail is delivered, but that's because my desktop has just a
single local user. Bogofilter comes with a 'integrating-with-postfix'
document that shows you how to call it from postfix directly.

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


pgp9up46A8KoQ.pgp
Description: PGP signature


Re: 7.0-CURRENT Ports Collection?

2007-09-30 Thread NetOpsCenter

James Jeffery wrote:


Does 7.0 come with a disk for the Ports Collection or would they have
to be downloaded from the internet?

Im having trouble getting packages from the web, lots of errors when i
try to install them. Everything seems dependant on everything else.

Once i get the SSH to work i will post some output. But for now, is there
a problem installing packages on 7.0?

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

 


Aloha,

I have been down loading various ports for 7.0 CURRENT since January. 2007
Only problems I have had were with the Open Office Download  and the Sun 
licensing. I have never been able to clear the errors on that issue.
All the other down loads from Ports and the OS itself have been flawless 
on several boxes with different motherboards.
Some older motherboards can give you grief with downloads and using  
HD's over  10 gigs or so.



~Al Plant - Honolulu, Hawaii - Phone: 808-284-2740

 + http://hawaiidakine.com + http://freebsdinfo.org + [EMAIL PROTECTED] +
 + http://internetohana.org   - Supporting - FreeBSD 6.* - 7.* +
All that's really worth doing is what we do for others.- Lewis Carrol


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


Configuring FBSD to use HP Photosmart C6180

2007-09-30 Thread White Hat
I just purchased a HP Photosmart C6180 All-in-One
printer. It is connected to my network via a wireless
network. The FBSD PC is hardwired to the router. The
printer works flawlessly from the WinXP machines on
the network.

I installed the 'hplip' port without any difficulties.
I tried snmpwalk and it worked fine. The problem is
that I do not know how to configure FBSD to use the
printer to print with. There does not seem to be any
real information on how to configure a remote printer
using the configuration that I have. I have tried
different setting in '/etc/printcap' but without
success. I cannot find any documentation on how to
configure this port correctly.

Perhaps, if someone is using this port they could
assist me.

Thanks

-- 
White Hat 
[EMAIL PROTECTED]


   

Pinpoint customers who are looking for what you sell. 
http://searchmarketing.yahoo.com/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


php failing to produce phpinfo()

2007-09-30 Thread bob
My business has been using PHP for years.  Mysql outputs to my browser, 
where I can print invoices, bills and any business statitic.


Suddenly, my browser started acting funny.  I don't know how to use the 
repair disk to fix a problem, so I reinstalled FreeBSD-6.1.  It still 
works the same except I can't get phpinfo() to display in the browser.  
I can do php -i, which displays several pages of PHP code.  That means 
PHP is working.  I don't use CGI or PHP scripts.  If phpinfo() doesn't 
show up in my browser, I can't do anything.


The following is in /usr/local/etc/apache/httpd.conf:

LoadModule php5_module
AddModule mod_php5.c
DirectoryIndex index.php index.html
DirectoryIndex index.html
AddType application/x-httpd-php .php
AddType application/x-httpd-php-source .phps

The httpd.error.log doesn't show any problems.  Thre are 35 modules in 
/usr/local/libexec/apache including libphp5.so and httpd.exp.  Php.ini 
is installed at /usr/local/lib


This time I installed mysql-5.1, apache-1.3 and PHP-5.1.  I used 
pkg_add -r to install apache and mysql.  Apache and mysql work 
excellent.  I installed PHP from www.php.net. Both PHP4 and PHP5 would 
fail to load the phpinfo() file. I installed PHP-5.1 from the ports 
directory.  Same problem.   I ordered FreeBSD-6.1, before it was 
available.  The FreeBSD Mall had it, but wasn't promoting it yet.



About 2 years ago when I first installed FreeBSD-6.1, I installed 
mysql-4.0, PHP-4 and apache-1.3 on FreeBSD-6.1.  I used pkg_add -r to 
install apache and mysql and I downloaded PHP-4 from www.php.net.  
Everything worked, including PHP.  Two years ago, www.php.net was 
supplying any version of PHP including older versions of PHP-4.  I 
installed  older versions because they worked.

Now www.php.net only supplies the latest version.

thanks for any help,
bob




---
uname -a says: FreeBSD localhost 6.1-RELEASE FreeBSD 6.1-RELEASE #0: SUN 
MAY 7 04:32:43 UTC 20 06 
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC i386


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


Re: Configuring FBSD to use HP Photosmart C6180

2007-09-30 Thread Roland Smith
On Sun, Sep 30, 2007 at 02:12:55PM -0700, White Hat wrote:
 I just purchased a HP Photosmart C6180 All-in-One
 printer. It is connected to my network via a wireless
 network. The FBSD PC is hardwired to the router. The
 printer works flawlessly from the WinXP machines on
 the network.
 
 I installed the 'hplip' port without any difficulties.
 I tried snmpwalk and it worked fine. The problem is
 that I do not know how to configure FBSD to use the
 printer to print with.

According to
http://www.openprinting.org/show_printer.cgi?recnum=HP-PhotoSmart_C6180 
it should work. You might find the rest of the OpenPrinting site
informative as well.

What I would recommend is that you install CUPS, with
CUPS_OVERWRITE_BASE=true set in /etc/make.conf. After installing CUPS
and activating it in /etc/rc.conf, start it and surf to http://localhost:631/ 
Press the Add Printer button and follow the instructions.

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


pgpWFfEvwXdy5.pgp
Description: PGP signature


Re: best spam filter port(s) for postfix?

2007-09-30 Thread Pollywog
On Sunday 30 September 2007 21:03:06 Roland Smith wrote:
 On Sun, Sep 30, 2007 at 03:20:58PM -0500, Joe in MPLS wrote:
  I'm running 6.2-STABLE with postfix with cyrus-sasl, imap-uw  horde for
  mail. I'd like to stop depending on clients(Thunderbird  PDAs) for
  primary spam control (especially because our PDAs don't do any). AV
  scanning would be a plus too.

 I've been using bogofilter for some years now, and it works very well
 once you've trained it properly. I'm calling it from procmail just
 before the mail is delivered, but that's because my desktop has just a
 single local user. Bogofilter comes with a 'integrating-with-postfix'
 document that shows you how to call it from postfix directly.

I call Bogofilter from Procmail and I did not know it could be called directly 
from Postfix.  I use Bogofilter and Spamassassin and very little spam gets 
through undetected.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: php failing to produce phpinfo()

2007-09-30 Thread eoghan

bob wrote:
My business has been using PHP for years.  Mysql outputs to my browser, 
where I can print invoices, bills and any business statitic.


Suddenly, my browser started acting funny.  I don't know how to use the 
repair disk to fix a problem, so I reinstalled FreeBSD-6.1.  It still 
works the same except I can't get phpinfo() to display in the browser.  
I can do php -i, which displays several pages of PHP code.  That means 
PHP is working.  I don't use CGI or PHP scripts.  If phpinfo() doesn't 
show up in my browser, I can't do anything.


The following is in /usr/local/etc/apache/httpd.conf:

LoadModule php5_module
AddModule mod_php5.c
DirectoryIndex index.php index.html
DirectoryIndex index.html
AddType application/x-httpd-php .php
AddType application/x-httpd-php-source .phps

The httpd.error.log doesn't show any problems.  Thre are 35 modules in 
/usr/local/libexec/apache including libphp5.so and httpd.exp.  Php.ini 
is installed at /usr/local/lib


This time I installed mysql-5.1, apache-1.3 and PHP-5.1.  I used 
pkg_add -r to install apache and mysql.  Apache and mysql work 
excellent.  I installed PHP from www.php.net. Both PHP4 and PHP5 would 
fail to load the phpinfo() file. I installed PHP-5.1 from the ports 
directory.  Same problem.   I ordered FreeBSD-6.1, before it was 
available.  The FreeBSD Mall had it, but wasn't promoting it yet.



About 2 years ago when I first installed FreeBSD-6.1, I installed 
mysql-4.0, PHP-4 and apache-1.3 on FreeBSD-6.1.  I used pkg_add -r to 
install apache and mysql and I downloaded PHP-4 from www.php.net.  
Everything worked, including PHP.  Two years ago, www.php.net was 
supplying any version of PHP including older versions of PHP-4.  I 
installed  older versions because they worked.

Now www.php.net only supplies the latest version.

thanks for any help,
bob


Hi
Not sure but whats your php info page look like? Think short tags are 
either off or on by default... do you have ?php .. ? ?


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


Re: php failing to produce phpinfo()

2007-09-30 Thread Miguel Segura

bob wrote:
My business has been using PHP for years.  Mysql outputs to my 
browser, where I can print invoices, bills and any business statitic.


Suddenly, my browser started acting funny.  I don't know how to use 
the repair disk to fix a problem, so I reinstalled FreeBSD-6.1.  It 
still works the same except I can't get phpinfo() to display in the 
browser.  I can do php -i, which displays several pages of PHP code.  
That means PHP is working.  I don't use CGI or PHP scripts.  If 
phpinfo() doesn't show up in my browser, I can't do anything.


The following is in /usr/local/etc/apache/httpd.conf:

LoadModule php5_module
AddModule mod_php5.c
DirectoryIndex index.php index.html
DirectoryIndex index.html
AddType application/x-httpd-php .php
AddType application/x-httpd-php-source .phps

The httpd.error.log doesn't show any problems.  Thre are 35 modules in 
/usr/local/libexec/apache including libphp5.so and httpd.exp.  Php.ini 
is installed at /usr/local/lib


This time I installed mysql-5.1, apache-1.3 and PHP-5.1.  I used 
pkg_add -r to install apache and mysql.  Apache and mysql work 
excellent.  I installed PHP from www.php.net. Both PHP4 and PHP5 would 
fail to load the phpinfo() file. I installed PHP-5.1 from the ports 
directory.  Same problem.   I ordered FreeBSD-6.1, before it was 
available.  The FreeBSD Mall had it, but wasn't promoting it yet.



About 2 years ago when I first installed FreeBSD-6.1, I installed 
mysql-4.0, PHP-4 and apache-1.3 on FreeBSD-6.1.  I used pkg_add -r 
to install apache and mysql and I downloaded PHP-4 from www.php.net.  
Everything worked, including PHP.  Two years ago, www.php.net was 
supplying any version of PHP including older versions of PHP-4.  I 
installed  older versions because they worked.

Now www.php.net only supplies the latest version.

thanks for any help,
bob




--- 

uname -a says: FreeBSD localhost 6.1-RELEASE FreeBSD 6.1-RELEASE #0: 
SUN MAY 7 04:32:43 UTC 20 06 
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC i386


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



Did you stop and start apache ?

apachectl stop
apachectl start


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


Re: using the date command

2007-09-30 Thread jekillen


On Sep 29, 2007, at 8:52 PM, Brian A. Seklecki wrote:


To set time:

$ sudo /usr/sbin/ntpdate pool.ntp.org
29 Sep 23:48:31 ntpdate[9404]: adjust time server 66.250.45.2 offset
0.001289 sec

To date info about your timezone settings:

$ zdump /etc/localtime
/etc/localtime  Sat Sep 29 23:49:19 2007 EDT

Options:

$ ls /usr/shaoneinfo/ | egrep -v ^d
total 78
-rw-r--r--   1 root  wheel755 Aug 22 11:11 CET
-rw-r--r--   1 root  wheel837 Aug 22 11:11 CST6CDT
-rw-r--r--   1 root  wheel679 Aug 22 11:11 EET
-rw-r--r--   1 root  wheel 56 Aug 22 11:11 EST
-rw-r--r--   1 root  wheel837 Aug 22 11:11 EST5EDT
[...]

To set timezone:

$ ln -s /share/zoneinfo/$WHATEVER /etc/localtime

For you probably PST8PDT.

For your best NTP experience, use OpenNTP from
ports: /usr/ports/net/openntpd/

~BAS

Thanks for the info, very helpful;
Jeff K



On Sat, 2007-09-29 at 20:33 -0700, jekillen wrote:

Hello all;
I have built 4 machines and installed FreeBSD 6.0 in one and 6.2
in the other three. They are all using the wrong date and time.
The last one (v6.2 on ecs mb with AMD64) is the worst. It is telling
me today is Jan 3 2003 PST (I am on the west coast and it is still 
PDT).

These machines are all web servers. So up until now this has not been
a big issue but a configuration of software is complaining that the
files
it creates have an older date than the files in the software bundle,
it is time to do something about it. So I am looking at man date and 
as

I interpret the instructions #date ccyymmddHHMM.ss  (20079282027.00 or
200709282027.00 for instance) is supposed to set the
clock to the current date. But when I run a command with the
current date and time in the above format I get the complaint that
the format string is wrong.
Can anyone be kind enough to give me a quick tutorial on this?
I will be looking seriously into using NTP, but for now I need to
get the date straight. I have entries in apache error log gener
ated by php scripts that are supposed to use its date command.
Thanks in advance for assistance.
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: using the date command

2007-09-30 Thread jekillen


On Sep 30, 2007, at 12:48 AM, Bruce Cran wrote:


Brian A. Seklecki wrote:

To set time:

$ sudo /usr/sbin/ntpdate pool.ntp.org
29 Sep 23:48:31 ntpdate[9404]: adjust time server 66.250.45.2 offset
0.001289 sec

ntpdate is deprecated, you should use ntpd -q instead if you want 
ntpd to set the time once then exit.  From ntpdate(8):


Note: The functionality of this program is now available in the ntpd(8)
program.  See the -q command line option in the ntpd(8) page.  
After a
suitable period of mourning, the ntpdate utility is to be retired 
from

this distribution.

Also, ntpd wil refuse to update the time if the delta is more than 
1000s by default, but you can use the -g option to override this.   To 
set the date to within a reasonable delta, use something like date 
200709282027.  If you want to set the time more accurately using NTP, 
edit /etc/ntp.conf and add server pool.ntp.org to it.  Save it then 
run ntpd -q.  If you need to configure the time zone, an easy way to 
do this is to run sysinstall and select Configuration -- Time Zone.

To date info about your timezone settings:

$ zdump /etc/localtime /etc/localtime  Sat Sep 29 23:49:19 2007 EDT

Options:

$ ls /usr/shaoneinfo/ | egrep -v ^d
total 78
-rw-r--r--   1 root  wheel755 Aug 22 11:11 CET
-rw-r--r--   1 root  wheel837 Aug 22 11:11 CST6CDT
-rw-r--r--   1 root  wheel679 Aug 22 11:11 EET
-rw-r--r--   1 root  wheel 56 Aug 22 11:11 EST
-rw-r--r--   1 root  wheel837 Aug 22 11:11 EST5EDT
[...]

To set timezone:

$ ln -s /share/zoneinfo/$WHATEVER /etc/localtime

For you probably PST8PDT.

For your best NTP experience, use OpenNTP from
ports: /usr/ports/net/openntpd/

~BAS



On Sat, 2007-09-29 at 20:33 -0700, jekillen wrote:


Thanks, more very helpful info;
Jeff K

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


Re: Adding CR/LF

2007-09-30 Thread Chad Perrin
On Fri, Sep 28, 2007 at 03:09:52PM -0600, Warren Block wrote:
 On Fri, 28 Sep 2007, [EMAIL PROTECTED] wrote:
 
 The output I would like to see is:
 test1
 test2
 test3
 
 String manipulation in sh is painful at best.  Any of the scripting 
 languages are better at this.

A Ruby example, almost a direct translation of the sh code:

  #!/usr/local/bin/ruby

  filenames = %w[test1 test2 test3]

  filenames.each { |fn| print file_list  fn }

That'll give output that looks like:

  test1
  test2
  test3

. . . using CRLF line endings.  If you actually just want newlines in the
Unix style, of course, you can just do this instead of the filenames.each
line:

  puts filenames

That'll automatically output each element of the filenames array with a
newline at the end.

In Perl, that code (for the same output) might look something like this:

  #!/usr/local/bin/perl
  use strict;
  use warnings;

  my @filenames = qw(test1 test2 test3);

  for my $fn (@filenames) { print $fn, \r\n };

Again, in Perl you can do this more easily if Unix-style newlines are
what you want instead of CRLF.  In the case of Perl, you'd use the -l
option in the shebang line:

  #!/usr/local/bin/perl -l

. . . and replace the for loop with this:

  print for @filenames;

Of course, this is all moot if you actually have a specific need for
using sh instead of Ruby or Perl.  By the way, though, I think the CRLF
characters were backwards in the original post of this thread, which used
\n\r.  I'm pretty sure it's \r\n as I've done it.  I may just be
having a stupid day, though, and be getting them backwards myself.

-- 
CCD CopyWrite Chad Perrin [ http://ccd.apotheon.org ]
Ben Franklin: As we enjoy great Advantages from the Inventions of others
we should be glad of an Opportunity to serve others by any Invention of
ours, and this we should do freely and generously.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Mutt Help

2007-09-30 Thread Rem P Roberti

Hi All...I am a newbie using Mutt, and I have Fetchmail running as daemon.  
Fetchmail is doing its job, periodically
retreiving my pop3 mail, but I am so far unable to find the correct entry for 
the .muttrc file which will result
in Mutt automatically retrieving mail from fetchmail.  Any help would be 
appreciated.

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


Re: using the date command

2007-09-30 Thread RW
On Sun, 30 Sep 2007 16:17:30 -0700
jekillen [EMAIL PROTECTED] wrote:

 
 On Sep 30, 2007, at 12:48 AM, Bruce Cran wrote:

  ntpdate is deprecated, you should use ntpd -q instead if you want 
  ntpd to set the time once then exit.  From ntpdate(8):
 
  Note: The functionality of this program is now available in the
  ntpd(8) program.  See the -q command line option in the ntpd(8)
  page. After a
  suitable period of mourning, the ntpdate utility is to be
  retired from
  this distribution.
 
  Also, ntpd wil refuse to update the time if the delta is more than 
  1000s by default, but you can use the -g option to override this.
  To set the date to within a reasonable delta, use something like
  date 200709282027.  If you want to set the time more accurately
  using NTP, edit /etc/ntp.conf and add server pool.ntp.org to it.
  Save it then run ntpd -q. 

And if you then add 

ntpd_enable=YES
ntpdate_enable=YES

to rc.conf, it will all work automatically thereafter. ntpdate will run
at boot-time followed by ntpd. 

The removal of ntpdate is something I'll believe in when it happens.
ntpd -q is a superior drop-in replace for ntpdate when it's being run
from cron. OTOH if you run ntpd -q in place of ntpdate at boot (before
starting ntpd), it adds about 15 seconds to the boot-time for no
significant benefit.

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


Re: Mutt Help

2007-09-30 Thread Daniel Bye
On Sun, Sep 30, 2007 at 05:54:37PM -0700, Rem P Roberti wrote:
 
 Hi All...I am a newbie using Mutt, and I have Fetchmail running as daemon.  
 Fetchmail is doing its job, periodically retreiving my pop3 mail, but I am 
 so far unable to find the correct entry for the .muttrc file which will 
 result in Mutt automatically retrieving mail from fetchmail.  Any help 
 would be appreciated.

mutt can fetch mail from your POP3 server itself - without any need to
use fetchmail at all.

http://www.mutt.org/doc/manual/manual-4.html#ss4.10

If you need fetchmail for other reasons, then make sure it delivers 
messages to mutt's spoolfile.

Dan

-- 
Daniel Bye
 _
  ASCII ribbon campaign ( )
 - against HTML, vCards and  X
- proprietary attachments in e-mail / \


pgpi4TGzQZtF9.pgp
Description: PGP signature


Re: using the date command

2007-09-30 Thread jekillen


On Sep 30, 2007, at 6:13 PM, RW wrote:


On Sun, 30 Sep 2007 16:17:30 -0700
jekillen [EMAIL PROTECTED] wrote:



On Sep 30, 2007, at 12:48 AM, Bruce Cran wrote:



ntpdate is deprecated, you should use ntpd -q instead if you want
ntpd to set the time once then exit.  From ntpdate(8):

Note: The functionality of this program is now available in the
ntpd(8) program.  See the -q command line option in the ntpd(8)
page. After a
suitable period of mourning, the ntpdate utility is to be
retired from
this distribution.

Also, ntpd wil refuse to update the time if the delta is more than
1000s by default, but you can use the -g option to override this.
To set the date to within a reasonable delta, use something like
date 200709282027.  If you want to set the time more accurately
using NTP, edit /etc/ntp.conf and add server pool.ntp.org to it.
Save it then run ntpd -q.


And if you then add

ntpd_enable=YES
ntpdate_enable=YES

to rc.conf, it will all work automatically thereafter. ntpdate will run
at boot-time followed by ntpd.

The removal of ntpdate is something I'll believe in when it happens.
ntpd -q is a superior drop-in replace for ntpdate when it's being run
from cron. OTOH if you run ntpd -q in place of ntpdate at boot (before
starting ntpd), it adds about 15 seconds to the boot-time for no
significant benefit.


Thanks for the info.
So ntp, as I understand it, has to have time servers to reference, and 
of course
the system has to be connected to the  public network to contact the 
time servers.
Are there any security issues with ntp? Or, where can I find info on 
security issues

related to ntp?
Update on original question related to the use of date in FreeBSD; I 
finally brightened

up and set the time in the bios.
Jeff K

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


Re: Security report question

2007-09-30 Thread Ian Smith
On Sun, 30 Sep 2007 09:41:00 -0700 Kurt Buff [EMAIL PROTECTED] wrote:
  On 9/30/07, Chuck Swiger [EMAIL PROTECTED] wrote:
   Kurt Buff wrote:
   [ ... ]
+Limiting closed port RST response from 283 to 200 packets/sec
   
I don't know what this means, though I suspect it could mean that I'm
being port scanned. Is this a reasonable guess?
  
   Yes.  It could also be something beating really hard on a single closed 
   port, too.
  
   --
   -Chuck
  
  Thanks. This, coupled with some invalid SSH login attempts from a
  known user, has made me quite suspicious. I think, though, that this
  is all that I can call it at this point - suspcious.
  
  Anything further I could turn up to monitor/log what's going on?

It may help in spotting unwanted stuff getting past your firewall,
to either add to /etc/rc.conf:
 log_in_vain=1

or (coming to the same thing) add to /etc/sysctl.conf:
 net.inet.tcp.log_in_vain=1
 net.inet.udp.log_in_vain=1

You can set the latter two sysctls immediately, of course.

Cheers, Ian

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


hpiod (hplip version) dies immediatly on freebsd

2007-09-30 Thread Aryeh Friedman
 uname -a
FreeBSD monsert 7.0-CURRENT FreeBSD 7.0-CURRENT #2: Sun Sep 30
20:57:46 UTC 2007 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC
amd64
monsert# hpiod
can't open or create : m io/hpiod/hpiod.cpp 195
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


X on ThinkPad crashes after sleeping (zzz'ing)

2007-09-30 Thread C Thala
Hardware: IBM ThinkPad T41
OS: FreeBSD 6.2-RELEASE-p7

My laptop recently started exhibiting very weird behavior.

Sleeping still works fine, but when I bring it back from sleep, X
Windows seems to have crashed. Whatever is on the screen (fvwm,
xscreensaver, etc.) will still be there, but there is a few lines of
weird red symbols accross the top. It will be in a frozen state, and
there is nothing I can do to get the machine to respond apart from
doing a cold boot.

Any ideas why this is happening or how to debug it?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: php failing to produce phpinfo()

2007-09-30 Thread Ian Smith
On Sun, 30 Sep 2007 13:52:58 -0600 bob [EMAIL PROTECTED] wrote:
  My business has been using PHP for years.  Mysql outputs to my browser, 
  where I can print invoices, bills and any business statitic.
  
  Suddenly, my browser started acting funny.  I don't know how to use the 
  repair disk to fix a problem, so I reinstalled FreeBSD-6.1.  It still 
  works the same except I can't get phpinfo() to display in the browser.  
  I can do php -i, which displays several pages of PHP code.  That means 
  PHP is working.  I don't use CGI or PHP scripts.  If phpinfo() doesn't 
  show up in my browser, I can't do anything.
  
  The following is in /usr/local/etc/apache/httpd.conf:
  
   LoadModule php5_module

LoadModule php5_modulelibexec/apache/libphp5.so

   AddModule mod_php5.c
   DirectoryIndex index.php index.html
   DirectoryIndex index.html

Last match wins: remove latter DirectoryIndex to have index.php work.

   AddType application/x-httpd-php .php
   AddType application/x-httpd-php-source .phps
  
  The httpd.error.log doesn't show any problems.  Thre are 35 modules in 
  /usr/local/libexec/apache including libphp5.so and httpd.exp.  Php.ini 
  is installed at /usr/local/lib

php.ini (from the default php5 port) installs in /usr/local/etc:

paqi% ll -rt /usr/local/etc/|grep php
-r--r--r--  1 root   wheel   39243 May  5  2006 php.ini.php4.05May06
drwxr-xr-x  2 root   wheel 512 Dec 17  2006 php
-rw-r--r--  1 root   wheel   27669 Dec 17  2006 diff_php.ini.4vs5rec
-r--r--r--  1 root   wheel   46221 Dec 18  2006 php.ini-recommended
-r--r--r--  1 root   wheel   42919 Dec 18  2006 php.ini-dist
-r--r--r--  1 root   wheel  49 Dec 18  2006 php.conf
-r--r--r--  1 root   wheel   43278 Dec 19  2006 php.ini

  This time I installed mysql-5.1, apache-1.3 and PHP-5.1.  I used 
  pkg_add -r to install apache and mysql.  Apache and mysql work 
  excellent.  I installed PHP from www.php.net. Both PHP4 and PHP5 would 
  fail to load the phpinfo() file. I installed PHP-5.1 from the ports 
  directory.  Same problem.   I ordered FreeBSD-6.1, before it was 
  available.  The FreeBSD Mall had it, but wasn't promoting it yet.
  
  About 2 years ago when I first installed FreeBSD-6.1, I installed 
  mysql-4.0, PHP-4 and apache-1.3 on FreeBSD-6.1.  I used pkg_add -r to 
  install apache and mysql and I downloaded PHP-4 from www.php.net.  
  Everything worked, including PHP.  Two years ago, www.php.net was 
  supplying any version of PHP including older versions of PHP-4.  I 
  installed  older versions because they worked.
  Now www.php.net only supplies the latest version.

The php5 port applies heaps of patches to the php.net sources; I think
you'll save yourself lots of grief by using the port.

I suggest (saving configs and) uninstalling php, then install it from
lang/php5.  Assuming your ports tree is up to date - and it had probably
better be regarding dependencies - then install php5 (5.2.something).

Make sure to set the apache module on (it's turned off by default, for
some bizarre reason, so pkg_add -r php5* is broken), by running make
config first, though the options screen should come up on the initial
install anyway.  You may want to install lang/php5-extensions too .. 

Cheers, Ian

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


Re: X on ThinkPad crashes after sleeping (zzz'ing)

2007-09-30 Thread Aryeh Friedman
If this has always been true then it is a known issue (happens on both
desktops [p4 w/ 6.2 and dual-core w/ 7-current amd64] I have also)

On 10/1/07, C Thala [EMAIL PROTECTED] wrote:
 Hardware: IBM ThinkPad T41
 OS: FreeBSD 6.2-RELEASE-p7

 My laptop recently started exhibiting very weird behavior.

 Sleeping still works fine, but when I bring it back from sleep, X
 Windows seems to have crashed. Whatever is on the screen (fvwm,
 xscreensaver, etc.) will still be there, but there is a few lines of
 weird red symbols accross the top. It will be in a frozen state, and
 there is nothing I can do to get the machine to respond apart from
 doing a cold boot.

 Any ideas why this is happening or how to debug it?
 ___
 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: Stress testing/burning in HDDs

2007-09-30 Thread Thodoris

O/H Don O'Neil ??:

I have an array that has a drive that keeps timing out/failing... So I need
to replace it. However, I want to stress test/burn in a replacement disk
first.

What is the best way to do this?

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


I think that the best way to do this is by using the vendors specific 
test utility. All known HDD vendors have made utilities to test and find 
out some basic stats for their products. A very good way to get all the 
known utilities and much more small usefull programs to test hardware is 
the Ultimate boot CD. A very nice work has been done and very usefull 
small programms like memtest, maxtor(sea tools), western digital (dlg 
diag) etc are included. You can run a surface scan for your disk (that 
will surely get it to an edge) and find out its temperature, afterwards, 
and how responds in general. I have been using that for years to find 
hardware problems.


http://www.ultimatebootcd.com/


--
Thodoris

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


Upgrade to imap-uw 2006j Breaks Logins

2007-09-30 Thread Tim Daneliuk

As part of a portupgrade, one of my servers just picked up the latest
version of imap-uw (2006j).   Now users can no longer login as imapd
claims they are providing incorrect passwords.   I manually copied the
version I was using (2004g) to /usr/local/libexec/imapd, and all is
well, so it is definitely the new release.

I did try manually reinstalling the imap-uw and cclient ports using
the make option to enable both SSL and plain text passwords.  Still
no joy.

'Anyone else seeing this/have a workaround?
--

Tim Daneliuk [EMAIL PROTECTED]
PGP Key: http://www.tundraware.com/PGP/

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


/etc/fstab

2007-09-30 Thread Kuselan Sugumaran
Hi,
   
  What is the range of values in 5th and 6th column in /etc/fstab? 
  What is the meaning for each value?
   
  I¡¯ve gone through man pages and lot of books. I couldn¡¯t get the answer. 
Can you help me? Thanks.

   
-
Boardwalk for $500? In 2007? Ha! 
Play Monopoly Here and Now (it's updated for today's economy) at Yahoo! Games.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: best spam filter port(s) for postfix?

2007-09-30 Thread Martin Hepworth
Mailscanner and postfix is perfect combination...no problems with the
correct installation type.

http://wiki.mailscanner.info/doku.php?id=documentation:configuration:mta:postfix:politics

--
Martin

On 9/30/07, Pollywog [EMAIL PROTECTED] wrote:

 On Sunday 30 September 2007 20:28:23 Derek Ragona wrote:
  At 03:20 PM 9/30/2007, Joe in MPLS wrote:
  I'm running 6.2-STABLE with postfix with cyrus-sasl, imap-uw  horde
 for
  mail. I'd like to stop depending on clients(Thunderbird  PDAs) for
  primary spam control (especially because our PDAs don't do any). AV
  scanning would be a plus too.
  
  ...jgm
 
  I use mailscanner with sendmail which uses spamassasin with clamav.  All
  from the ports.

 I used Mailscanner at one time, but it is not recommended for use with
 Postfix
 because mail can be lost.  It never happened to me, but it has happened to
 others.  I believe the Postfix website mentions these problems.
 ___
 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: /etc/fstab

2007-09-30 Thread Martin Tournoij
On Sun 30 Sep 2007 19:09, Kuselan Sugumaran wrote:
 Hi,

   What is the range of values in 5th and 6th column in /etc/fstab? 
   What is the meaning for each value?

   I��ve gone through man pages and lot of books. I couldn��t get the answer. 
 Can you help me? Thanks.
 

0 - Do nothing
1 - dump/fsck first (Used for root filesystem)
2 - dump/fsck this filesystem

See fstab(5) for a longer description.

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


Re: Upgrade to imap-uw 2006j Breaks Logins

2007-09-30 Thread Joe Marcus Clarke
On Sun, 2007-09-30 at 23:50 -0500, Tim Daneliuk wrote:
 As part of a portupgrade, one of my servers just picked up the latest
 version of imap-uw (2006j).   Now users can no longer login as imapd
 claims they are providing incorrect passwords.   I manually copied the
 version I was using (2004g) to /usr/local/libexec/imapd, and all is
 well, so it is definitely the new release.
 
 I did try manually reinstalling the imap-uw and cclient ports using
 the make option to enable both SSL and plain text passwords.  Still
 no joy.
 
 'Anyone else seeing this/have a workaround?

Try the fix I just committed.  It's now working for me.

Joe

-- 
PGP Key : http://www.marcuscom.com/pgp.asc


signature.asc
Description: This is a digitally signed message part