Re: fsck_msdosfs failing

2008-01-18 Thread Ben Williams

Wojciech Puchar wrote:

fsck_msdosfs.

I am able to run top at the same time, as as far as I can tell, it 
doesn't actually run out of memory - Mem has ~564k free, and Swap has 
158mb free at its lowest when fsck_msdosfs is running. It's an old 
machine, with 192mb ram, and 359mb swap.


but ulimit's defaults possibly limit memory...
check ulimit -a


[EMAIL PROTECTED] ~]$ ulimit -a
core file size  (blocks, -c) unlimited
data seg size   (kbytes, -d) 524288
file size   (blocks, -f) unlimited
max locked memory   (kbytes, -l) unlimited
max memory size (kbytes, -m) unlimited
open files  (-n) 2656
pipe size(512 bytes, -p) 1
stack size  (kbytes, -s) 65536
cpu time   (seconds, -t) unlimited
max user processes  (-u) 1328
virtual memory  (kbytes, -v) unlimited
[EMAIL PROTECTED] ~]$

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


Re: fsck_msdosfs failing

2008-01-18 Thread Ben Williams

[EMAIL PROTECTED] wrote:

On 18/01/2008, Ben Williams [EMAIL PROTECTED] wrote:

Hi all,

I've got a problem with fsck_msdosfs. My FAT32 drive came up with errors
after a power-failure-induced reboot, and recommended that I run
fsck_msdosfs manually. However, fsck_msdosfs fails:

# fsck_msdosfs /dev/ad3s1
** /dev/ad3s1
** Phase 1 - Read and Compare FATs
No space for FAT (Cannot allocate memory)#

I've tried googling for it and I can't find anything other than a bug
being mentioned/filed for netbsd which is obviously related, but no fix
was forthcoming.

Does anyone have any ideas how I can proceed?


Are you still in single user mode at this point?


Well, I was.

I have made a tiny bit of progress - I edited /etc/fstab and turned the 
fsck at boot time off for that drive, so I can boot normally now, just 
without that drive mounted. However, I still get the same error message 
from fsck_msdosfs.


I am able to run top at the same time, as as far as I can tell, it 
doesn't actually run out of memory - Mem has ~564k free, and Swap has 
158mb free at its lowest when fsck_msdosfs is running. It's an old 
machine, with 192mb ram, and 359mb swap.


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


fsck_msdosfs failing

2008-01-18 Thread Ben Williams

Hi all,

I've got a problem with fsck_msdosfs. My FAT32 drive came up with errors 
after a power-failure-induced reboot, and recommended that I run 
fsck_msdosfs manually. However, fsck_msdosfs fails:


# fsck_msdosfs /dev/ad3s1
** /dev/ad3s1
** Phase 1 - Read and Compare FATs
No space for FAT (Cannot allocate memory)#

I've tried googling for it and I can't find anything other than a bug 
being mentioned/filed for netbsd which is obviously related, but no fix 
was forthcoming.


Does anyone have any ideas how I can proceed?

Thanks,

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


mount vs mount_msdosfs - invalid file mode

2008-01-03 Thread Ben Williams

Hi all,

I'm trying to mount a fat32 drive with the permissions so the right 
users (in the group mine) can read  write to it.


[EMAIL PROTECTED] /mnt]# l
total 8
drwxrwxrwx  19 ben   mine   4.0K Jan  1 13:21 downloads/
drwxrwxr-x   2 ben   mine   512B Jan  1 17:31 drive/

The one I want to mount is drive. I can mount it properly with 
mount_msdosfs:


[EMAIL PROTECTED] /mnt]# mount_msdosfs -m 666 -M 777 /dev/ad3s1 /mnt/drive

But I'm not sure how to get mount to call mount_msdosfs with the right 
params:


[EMAIL PROTECTED] /mnt]# mount -t msdosfs -v -o '-m 666 -M 777' /dev/ad3s1 
/mnt/drive

mount_msdosfs: invalid file mode:  666 -M 777

I've tried various combinations of quoting around the -m and -M params 
with no luck.


The end result is that I need to work out what to put in /etc/fstab to 
achieve those mount permissions for that drive (and I'm guessing that 
getting mount to pass the right params across is a start).


This is on FreeBSD 6.2-RELEASE. I'm a bit of a newbie - this is my first 
FreeBSD install :)


 - Ben

--
Everybody generalizes from one example. At least, I do.
 - Steven Brust [dreamcafe.com]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


internal isa pnp modem unrecognized

2004-03-01 Thread Ben Williams
I got tired of surfing the web at 28.8 and recently purchased an isa 56k modem
which ended up being a plug-n-pray modem. I know the modem works, but I'm
having trouble getting my fbsd machine which is
  # uname -a
  FreeBSD variable.homeip.net 4.9-STABLE FreeBSD 4.9-STABLE #0: Mon Mar  1 08:00:35 
EST 2004 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/VARIABLE_2004-03-01_01  i386
to see it on boot. In dmesg I get these possibly relevant messages:

  isa0: too many dependant configs (8)
  ...
  sio1: configured irq 5 not in bitmap of probed irqs 0
  ...
  unknown: PNP can't assign resources
  unknown: PNP0303 can't assign resources
  unknown: PNP0501 can't assign resources
  unknown: PNP0401 can't assign resources
  unknown: PNP0700 can't assign resources
  unknown: PNP0c02 can't assign resources

 I think the isa message may be the pointer to the problem but I don't know
what it really means or how to troubleshoot/fix it.

pnpinfo(8) sees the modem (and nothing else).

The modem has been flash upgraded to a ``Zoom/Lucent Internal ISA V.90 modem
model 2919-00-00L'' but does not have jumpers like Zoom's pdf shows.

How can I get my server to see/use this modem? Do I need to install the upnp
port?
 
TIA,
-- 
Ben  mailto:[EMAIL PROTECTED]

PS - Please cc me directly.



---
avast! Antivirus: Outbound message clean.
Virus Database (VPS): 0402-5, 02/29/2004
Tested on: 3/1/2004 8:34:35 PM
avast! is copyright (c) 2000-2003 ALWIL Software.
http://www.avast.com



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


make word / make buildworld fails in libtelnet ...

2004-02-08 Thread Ben Williams
   ... if your make.conf specifies WARNS_WERROR=  yes and may fail
if any CFLAGS are specified there too.

In file included from /usr/obj/usr/src/i386/usr/include/openssl/ui_compat.h:63,
 from /usr/obj/usr/src/i386/usr/include/openssl/des_old.h:439,
 from /usr/obj/usr/src/i386/usr/include/openssl/des.h:101,
 from 
/usr/src/secure/lib/libtelnet/../../../crypto/telnet/libtelnet/encrypt.h:64,
 from 
/usr/src/secure/lib/libtelnet/../../../crypto/telnet/libtelnet/misc.c:53:
/usr/obj/usr/src/i386/usr/include/openssl/ui.h:220: warning: function declaration 
isn't a prototype
*** Error code 1

Stop in /usr/src/secure/lib/libtelnet.
*** Error code 1

Stop in /usr/src/secure/lib.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.
#


I've been trying to buildworld for RELENG_4 for quite some time now
and until I found http://docs.freebsd.org/cgi/mid.cgi?20031027002704.GA50830
last night none of the mailing list archives seemed to help me. My
buildworld succeeded this morning while I was still asleep so I
decided to post a message to the lists detailing the answer that fixed
it for me.

Hope this helps someone else too!

-- 
Ben  mailto:[EMAIL PROTECTED]

PS - I am not subscribed to the lists right now because my 33.6 dialup
can't hack the message volume.

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


Re: amnesiac is disklabel?

2003-02-02 Thread Ben Williams
Sunday, February 2, 2003, 1:50:20 PM, you wrote:

P Hello... I have three hard drives in my system.  One of them (the first)
P is the system disk.  I'm trying to get the other two ready to be a
P mirrored volume.  No matter which of the last two drives is last, that
P one always is listed as amnesiac when I do a disklabel on it:

P ==
P [root@archive 13:44:07 root]# disklabel ar2
P # /dev/ar2:
P type: unknown
P disk: amnesiac
P label: fictitious
P flags:
P bytes/sector: 512
P sectors/track: 63
P tracks/cylinder: 255
P sectors/cylinder: 16065
P cylinders: 3737
P sectors/unit: 60036417
P rpm: 3600
P interleave: 1
P trackskew: 0
P cylinderskew: 0
P headswitch: 0   # milliseconds
P track-to-track seek: 0  # milliseconds
P drivedata: 0

P 8 partitions:
P #size   offsetfstype   [fsize bsize bps/cpg]
P   c: 600364170unused0 0 # (Cyl.0 - 3737*)
P ==

P What does this mean?  Whichever drive is last, that's the one I cannot
P disklabel -e to set its fstype to vinum.

P Thanks,
P pete

Maybe I'm being obvious here but have you tried a different cable
and/or controller?

First step: eliminate hardware as the cause.

-- 
Benmailto:[EMAIL PROTECTED]


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re[2]: amnesiac is disklabel?

2003-02-02 Thread Ben Williams
Monday, February 3, 2003, 1:59:52 AM, you wrote:

GgL On Monday,  3 February 2003 at  1:34:02 -0500, Ben Williams wrote:
 Sunday, February 2, 2003, 1:50:20 PM, you wrote:

 P Hello... I have three hard drives in my system.  One of them (the first)
 P is the system disk.  I'm trying to get the other two ready to be a
 P mirrored volume.  No matter which of the last two drives is last, that
 P one always is listed as amnesiac when I do a disklabel on it:

 P ==
 P [root@archive 13:44:07 root]# disklabel ar2
 P # /dev/ar2:
 P type: unknown
 P disk: amnesiac

 Maybe I'm being obvious here but have you tried a different cable
 and/or controller?

 First step: eliminate hardware as the cause.

GgL This isn't a hardware issue.

GgL Greg
GgL --
GgL When replying to this message, please copy the original recipients.
GgL If you don't, I may ignore the reply or reply to the original recipients.
GgL For more information, see http://www.lemis.com/questions.html
GgL See complete headers for address and phone numbers


Ok. I haven't had the time/need to use vinum yet so I wasn't sure if
this was possibly an esoteric FBSD error.

-- 
Benmailto:[EMAIL PROTECTED]


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: X server for Windows

2003-01-31 Thread Ben Williams
Friday, January 31, 2003, 3:55:02 AM, you wrote:

AWA Hi,
AWA I need to connect to my FreeBSD box from a Windows PC using some kind of X 
AWA server for Windows. I was wondering if someone could be so kind and give me 
AWA a few recommendations?

AWA I only need a simple server, no print or stuff - just the plain (vnc-like) 
AWA thing.

AWA Thanks!
AWA /Andreas


AWA ---
AWA Andreas Widerøe Andersen [EMAIL PROTECTED]
AWA Pragma AS


X-Win32 by Starnet is the nicest win32 X Server I've seen, but you have to
buy it after the trial's up.

If you're into hacking around at things a bit there's an X Server
that'll run on cygwin (free) too. This is what I use.

IIRC there's a VNCserver in ports somewhere too

-- 
Benmailto:[EMAIL PROTECTED]


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re[2]: X server for Windows

2003-01-31 Thread Ben Williams
Friday, January 31, 2003, 8:08:00 AM, you wrote:

PG Ben Williams schrieb:
 Friday, January 31, 2003, 3:55:02 AM, you wrote:
 
 AWA Hi,
 AWA I need to connect to my FreeBSD box from a Windows PC using some kind of X 
 AWA server for Windows. I was wondering if someone could be so kind and give me 
 AWA a few recommendations?
 
 AWA I only need a simple server, no print or stuff - just the plain (vnc-like) 
 AWA thing.
 
 AWA Thanks!
 AWA /Andreas
 
 X-Win32 by Starnet is the nicest win32 X Server I've seen, but you have to
 buy it after the trial's up.
 
 If you're into hacking around at things a bit there's an X Server
 that'll run on cygwin (free) too. This is what I use.

PG Could you elaborate on Cygwin, please? Is there a tutorial on setup 
PG available (for X-Server, not Cygwin)? I remember i tried this long time 
PG ago, but couldn't manage to run it.


Don't have time to look up my exact steps right now, but I believe all
I needed to do was install the X stuff listed in the cygwin setup.exe

I modified my startxwin.bat script to call wmaker as the window
manager too cause IMO the default wm that comes with it (twm I think)
sucks very much badly.

The biggest issue I've had with using a cygwin X server is that it
maintains a seperate clipboard so copy/paste between win32 and the X
server involves an intermediate file.

-- 
Benmailto:[EMAIL PROTECTED]


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re[2]: HELP! root partition full!

2003-01-30 Thread Ben Williams
Thursday, January 30, 2003, 3:56:58 PM, you wrote:

BR - Original Message - 
BR From: Jason Morgan [EMAIL PROTECTED]
BR To: [EMAIL PROTECTED]
BR Sent: Thursday, January 30, 2003 8:05 AM
BR Subject: HELP! root partition full!


 I got a strange error from my server this morning - root partition full.
 I then looked at my email and had this in my inbox (of course I get
 this every day):
 
 Disk status:
 Filesystem1K-blocksUsedAvail Capacity  Mounted on
 /dev/ad0s1a  516062  505036   -30258   106%/
 /dev/ad2s1a  516062  117638   35714025%/rootbackup
 procfs4   40   100%/proc
 /dev/vinum/usr 19850256 1112316 17149920 6%/usr
 /dev/vinum/var 235792039623 21683244 0%/var
 /dev/vinum/public  29776085 116 27393883 0%/public
 
 This was yesterday:
 
 Disk status:
 Filesystem1K-blocksUsedAvail Capacity  Mounted on
 /dev/ad0s1a  516062  135492   33928629%/
 /dev/ad2s1a  516062  117638   35714025%/rootbackup

 procfs4   40   100%/proc
 /dev/vinum/usr 19850256 1108980 17153256 6%/usr
 /dev/vinum/var 235792039323 21683544 0%/var
 /dev/vinum/public  29776085 116 27393883 0%/public
 
 How do I determine what's going on? This is really strange.
 
 Thanks,
 
 Jason
 
 To Unsubscribe: send mail to [EMAIL PROTECTED]
 with unsubscribe freebsd-questions in the body of the message
 
 


BR Use df to find the file thats filling your root:

BR  du -a -x /usr | sort -rn | tee /tmp/root-space

   Wont the tee will cause this to fail because:
 /dev/ad0s1a  516062  505036   -30258   106%/
?

-- 
Benmailto:[EMAIL PROTECTED]


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: portsentry

2003-01-29 Thread Ben Williams
Wednesday, January 29, 2003, 2:03:03 PM, you wrote:


PS Quick question...

PS What's the best way to start portsentry on reboot?

PS Many thanks,

PS phillip.


I use a script in /usr/local/etc/rc.d

-- 
Benmailto:[EMAIL PROTECTED]


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re[2]: IMAP

2003-01-27 Thread Ben Williams
Monday, January 27, 2003, 12:32:29 PM, you wrote:

 What is this kill -HUP inetd?
 
 kill -HUP pid is the standard command to reload a daemon in Unix. 
GJ Replacing
 the 'pid' with the process id number of the daemon in question (listed 
GJ when
 you do a 'ps aux') will force the daemon to reload it's configuration.
 
GJ My problem is that the ps aux doesn't lists the inetd daemon. So this 
GJ kill thing doesn't works as well.
GJ How can I check IMAP or POP3 is really listening?

For IMAP:
sockstat | grep :143

For POP3:
sockstat | grep :110

For both/either:
sockstat | egrep :143|:110

-- 
Benmailto:[EMAIL PROTECTED]


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re[3]: IMAP

2003-01-27 Thread Ben Williams
Monday, January 27, 2003, 9:47:07 PM, you wrote:

NR On Mon, 27 Jan 2003, Ben Williams wrote:

 Monday, January 27, 2003, 12:32:29 PM, you wrote:

  What is this kill -HUP inetd?
 
  kill -HUP pid is the standard command to reload a daemon in Unix.
 GJ Replacing
  the 'pid' with the process id number of the daemon in question (listed
 GJ when
  you do a 'ps aux') will force the daemon to reload it's configuration.
 
 GJ My problem is that the ps aux doesn't lists the inetd daemon. So this
 GJ kill thing doesn't works as well.
 GJ How can I check IMAP or POP3 is really listening?

 For IMAP:
 sockstat | grep :143

 For POP3:
 sockstat | grep :110

 For both/either:
 sockstat | egrep :143|:110


NR Alternatively, if sockstat isn't available (like on another OS),
NR then:

NR # netstat -an

NR Works on a lot of OS's (including windows).


True. This being a BSD list I didn't bother with a portable
solution.

-- 
Benmailto:[EMAIL PROTECTED]


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: openoffice.org build on 5.0

2003-01-27 Thread Ben Williams
Monday, January 27, 2003, 11:30:38 PM, you wrote:



LV trying to build openoffice and get this===

LV I cant find the file it is looking for on the net although the 
LV /nonexistant bothers me
LV that it is really the problem.


LV ERROR below

LVExtracting for openoffice-1.0.2
LV   Checksum OK for openoffice/OOo_1.0.2_source.tar.bz2.
LV   Checksum OK for openoffice/gpc231.tar.Z.
LV   Checksum OK for openoffice/patch-openoffice-mozilla101-2002-10-14.
===   openoffice-1.0.2 depends on executable: zip - found
===   openoffice-1.0.2 depends on executable: unzip - found
===   openoffice-1.0.2 depends on file: /usr/local/bin/ant - not found
===Verifying install for /usr/local/bin/ant in 
LV /usr/ports/devel/jakarta-ant
===  Extracting for jakarta-ant-1.5.1_3
LV   Checksum OK for jakarta/jakarta-ant-1.5.1-bin.tar.gz.
===   jakarta-ant-1.5.1_3 depends on file: /usr/local/jdk1.2.2/bin/java 
LV - not found
===Verifying install for /usr/local/jdk1.2.2/bin/java in 
LV /usr/ports/java/jdk12
===  Extracting for jdk-1.2.2p11
LV   Checksum OK for jdk1_2_2-src.tar.gz.
LV   Checksum OK for bsd-jdk122-patches-11.tar.gz.
===   jdk-1.2.2p11 depends on executable: gm4 - found
===   jdk-1.2.2p11 depends on executable: zip - found
===   jdk-1.2.2p11 depends on file: /usr/local/jdk1.1.8/bin/javac - found
===   jdk-1.2.2p11 depends on file: /usr/X11R6/lib/libXm.so - found
===   jdk-1.2.2p11 depends on file: /nonexistent - not found
===Verifying extract for /nonexistent in /usr/ports/java/jfc
===  jfc-1.1.1 'You must manually fetch the standard zip format 
LV distribution from http://www.javasoft.com/products/jfc/download.html and 
LV place it in /usr/ports/distfiles then run make again.'.
LV *** Error code 1

LV Stop in /usr/ports/java/jfc.
LV *** Error code 1

LV Stop in /usr/ports/java/jdk12.
LV *** Error code 1

LV Stop in /usr/ports/devel/jakarta-ant.
LV *** Error code 1

LV Stop in /usr/ports/editors/openoffice.
LV amd2000#


Have you done this?

  ===  jfc-1.1.1 'You must manually fetch the standard zip format
  distribution from http://www.javasoft.com/products/jfc/download.html and
  place it in /usr/ports/distfiles then run make again.'.

-- 
Benmailto:[EMAIL PROTECTED]


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: phoenix

2003-01-25 Thread Ben Williams

  Looks like you don't have gtk 1.2 installed. You can install it from
ports.

-- 
Benmailto:[EMAIL PROTECTED]

Saturday, January 25, 2003, 12:28:06 AM, you wrote:

A Ok, I am not sure why, but I can not get phoenix to work.  I have
A untar'd it and try:

A [asenchi@temple:~/phoenix] $ ./phoenix
A /phoenix-bin: error while loading shared libraries: libgtk-1.2.so.0:
A cannot open shared object file: No such file or directory

A FreeBSD temple.attbi.com 4.7-RELEASE FreeBSD 4.7-RELEASE #0:
A Mon Jan 20 06:53:53 EST 2003 [EMAIL PROTECTED]:
A /usr/obj/usr/src/sys/ASENCHI  i386

A Thanks


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re[2]: phoenix

2003-01-25 Thread Ben Williams
In your first message you said:
VL I have untar'd it and try:

 In my experience with ports you don't manually untar anything as
that's handled automatically. Did you build phoenix from ports?

-- 
Benmailto:[EMAIL PROTECTED]

Saturday, January 25, 2003, 4:18:25 AM, you wrote:

VL On Sat, 2003-01-25 at 11:07, Ben Williams wrote:

   Looks like you don't have gtk 1.2 installed. You can install it from
 ports.

VL FreeBSD should take care of the dependencies no?
VL So when he installed phoenix, the system should grab gtk also...

VL Liviu


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re[2]: phoenix

2003-01-25 Thread Ben Williams
Saturday, January 25, 2003, 11:20:28 AM, you wrote:

A I have tried to install gtk1.2 but get an error similar to this:

A Error, no iconv in C or libiconv (sorry I am writing this from my windows
A machine so not sure of the exact error, but can post if necessary)

A I am showing the port is broken however, it isn't even listed.  I am looking
A here: /usr/ports/www/phoenix

A Thank you,

A Curt

//snippage//


I just looked at the phoenix makefile and the only place I see
'broken' it says it wants the ports version of perl. Do you have perl
5.006_01 or greater? If not install that (/usr/ports/lang/perl5/) first.

Did you try to install gtk12 (/usr/ports/x11-toolkits/gtk12) from ports?



-- 
Benmailto:[EMAIL PROTECTED]


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: Web based e-mail.

2003-01-24 Thread Ben Williams
Friday, January 24, 2003, 4:08:19 PM, you wrote:

GJ I want to have a web based e-mail service. So I don't have
GJ to ssh to my computer all the time just browse a web page.
GJ What I seen already is that IMP is a very good one. What do
GJ you think of it? What do you use?
GJ I have never used php and cgi things before, but these
GJ things need it.  :((
GJ I deleted these cgi releated things from my httpd.conf file.
GJ And now I am in trouble. What parts should I add to my
GJ httpd.conf file to make for example IMP work? And where
GJ should I put the (IMP) files so I can access it throught the
GJ internet? Because there is no index.html file in the
GJ package.


GJ My http.conf file:
//snipped//

I believe IMP, part of the Horde framework (www.horde.org), uses
php4 so you'll need something like mod_php. The 'index' pages iirc are
index.php.

-- 
Benmailto:[EMAIL PROTECTED]


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: spam relay

2003-01-22 Thread Ben Williams
www.sendmail.org could be a good starting point if you're using
sendmail.

I can't be more specific than that right now because I don't
know what your target mail scheme is and I don't know if you want to
stay with sendmail or try another mta such as exim or postfix.

You might also want to look at ports/mail/rblcheck or somethign
similar to help control who your server listens to.

--
Ben W.

Wednesday, January 22, 2003, 7:47:36 PM, you wrote:

JV All,

JV I think this is more freebsd related than just sendmail, but please forgive
JV if I'm wrong,

JV I have a server with virtual hosts  using freebsd 4.0 and sendmail 8.9.3

JV and find the server domain user mail flooded with messages , definitely
JV spam messages,

JV that appear to be relayed by [EMAIL PROTECTED]

JV I put [EMAIL PROTECTED] 550 in /etc/mail/access and did makemap,

JV and this stops the emails. I'm not comfortable doing this even though it
JV works because as you can see,

JV I have a general idea what I want to do but, really dont know proper way to
JV handle this.

JV any advise would be great!

JV thanks

JV Jan
 
JV Jan

JV To Unsubscribe: send mail to [EMAIL PROTECTED]
JV with unsubscribe freebsd-questions in the body of the message


-- 
Benmailto:[EMAIL PROTECTED]


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: Upload question

2003-01-22 Thread Ben Williams
You could enable ftp or (better from a security standpoint) use
SecureCoPy (scp) part of ssh. A free win32 ssh you might like is
putty.

Wednesday, January 22, 2003, 8:21:42 PM, you wrote:

sc Hi:

sc Does anyone know how to upload the files from my windows os to the freebsd 
sc box.Just like the Zmodem.

sc Thanks

sc Shen Chao




sc _
sc STOP MORE SPAM with the new MSN 8 and get 2 months FREE* 
sc http://join.msn.com/?page=features/junkmail


sc To Unsubscribe: send mail to [EMAIL PROTECTED]
sc with unsubscribe freebsd-questions in the body of the message


-- 
Benmailto:[EMAIL PROTECTED]


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: about the kernel location

2003-01-14 Thread Ben Williams
As stated in the FreeBSD Handbook - Chapter 9 - Section 3 ( 
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-building.html )

   First, let us take a quick tour of the kernel build directory. All
   directories mentioned will be relative to the main /usr/src/sys directory, 
   ...
   Note: If there is not a /usr/src/sys directory on your system, then the 
   kernel source has not been installed. The easiest way to do this is by 
   running /stand/sysinstall as root, choosing Configure, then Distributions, 
   then src, then sys.
   ...
   Next, move to the arch/conf directory and copy the GENERIC configuration 
   file to the name you want to give your kernel. For example:
 # cd /usr/src/sys/i386/conf
 # cp GENERIC MYKERNEL


Thus on i386 (intel, amd, cyrix) hardware the base configuration file will be 
/usr/src/sys/i386/conf/GENERIC. In the same directory you will find a LINT file 
that contains all the (mostly nicely commented) options you can possibly set 
for your kernel. On an alpha system the directory is /usr/src/sys/alpha/conf/.

HTH,
Benmailto:[EMAIL PROTECTED]

Tuesday, January 14, 2003, 9:50:02 PM, you wrote:

sc Hi:

sc I can not find the kernel file.only under /.
sc and  i don't know why there nothing under /usr/src. the version of freebsd 
sc is 4.7-stable.
sc Which tool can edit the kernel?

sc Can someone direct me?
sc Thanks

sc Shen Chao

sc _
sc Help STOP SPAM: Try the new MSN 8 and get 2 months FREE* 
sc http://join.msn.com/?page=features/junkmail


sc To Unsubscribe: send mail to [EMAIL PROTECTED]
sc with unsubscribe freebsd-questions in the body of the message


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re[2]: Problems w NIC

2003-01-11 Thread Ben Williams
Do you have IPFW or IPFilter compiled into the kernel? If so what do
`ipfw list` and/or `ipfstat -ion` show?

-- 
Benmailto:[EMAIL PROTECTED]

Saturday, January 11, 2003, 12:53:49 PM, you wrote:

Yes, right.  Sorry, I somehow missed that point in the original post!
When you ping, do you see any activity at all on your hub/switch?  I
suppose that this would minimally let you know that the card is
transmittig something.


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



make world fails in libiberty

2003-01-09 Thread Ben Williams
I have 2 identical (hardware-wise) boxes I'm trying to get current
with STABLE. They're AMD Athlon 700mhz machines w/ 128mb  256mb of
RAM. Both are dying in a buildworld with:

-- begin buildworld dies --
cc1: warnings being treated as errors
/usr/src/gnu/usr.bin/binutils/libiberty/../../../../contrib/binutils/libiberty/choose-temp.c:
 In function `choose_temp_base':
/usr/src/gnu/usr.bin/binutils/libiberty/../../../../contrib/binutils/libiberty/choose-temp.c:68:
 warning: implicit declaration of function `mktemp'
*** Error code 1

Stop in /usr/src/gnu/usr.bin/binutils/libiberty.
*** Error code 1

Stop in /usr/src/gnu/usr.bin/binutils.
*** Error code 1

Stop in /usr/src/gnu/usr.bin.
*** Error code 1

Stop in /usr/src/gnu.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.
-- end buildworld dies --

My /etc/make.conf contains:
-- begin /etc/make.conf --
CPUTYPE=i686
CFLAGS= -O -pipe
WARNS_WERROR=   yes

NO_CVS= true# do not build CVS
NO_BIND=true# do not build BIND
NO_FORTRAN= true# do not build g77 and related libraries
NO_I4B= true# do not build isdn4bsd package
NO_LPR= true# do not build lpr and related programs
NO_SENDMAIL=true# do not build sendmail and related programs
NO_X=   true# do not compile in XWindows support (e.g. doscmd)
NOGAMES=true# do not build games (games/ subdir)
NOPROFILE=  true# Avoid compiling profiled libraries
NOUUCP= true# do not build uucp related programs
WANT_OPENSSL_MANPAGES=  true
MAKE_IDEA=  YES # IDEA (128 bit symmetric encryption)
COMPAT22=   yes
COMPAT3X=   yes
COMPAT4X=   yes
BOOTWAIT=0
USA_RESIDENT=   YES
SUP_UPDATE= yes
SUP=/usr/local/bin/cvsup
SUPFLAGS=   -g -L 2
SUPHOST=cvsup2.FreeBSD.org
SUPFILE=/usr/local/etc/stable-supfile
PORTSSUPFILE=   /usr/local/etc/ports-supfile
DOCSUPFILE= /usr/local/etc/doc-supfile
DOC_LANG=   en_US.ISO8859-1 
-- end /etc/make.conf --

All I have done to the boxes in question is
  installed the OS,
  set up networking,
  installed some packages/ports I'll be needing on them when they're functional
  copied /usr/share/examples/(doc|ports|stable)-supfile to /usr/local/etc
  edited said supfiles to point to a mirror close to me (cvsup2)
  cp /etc/defaults/make.conf /etc/make.conf
  edited /etc/make.conf to reflect my situation
  cd /usr/src
  make update
  make buildworld

  I have read UPDATING, updated the sources, searched the list archives, I have
rm -rf /usr/src/gnu/usr.bin/binutils/, re-updated and always the error
you see above. Why doesn't libiberty like me? What am I doing wrong?

-- 
Ben  mailto:[EMAIL PROTECTED]


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message