mass word find/replace

2004-01-07 Thread M.D. DeWar
I am trying to find a way to replace one word in a file with another word, like windows wordpad find/replace. I need to change pn_ to nuke_ and have a 188000 lines to do it on. ugh thanks Mark ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org

Re: swap space

2003-12-12 Thread M.D. DeWar
0 5708K 308K select 0:02 0.00% 0.00% sshd 77888 root 2 0 5708K 0K sbwait 0:00 0.00% 0.00% - Original Message - From: "Alexander Haderer" <[EMAIL PROTECTED]> To: "M.D. DeWar" <[EMAIL PROTECTED]>; "freebsd" <[EM

swap space

2003-12-12 Thread M.D. DeWar
I seem to be running out of swap space swapinfo shows 80-95% filled. Mostly from mrtg. is there a way to see whats else is eating it up ? I guess a ls doesn't work on it . this machine has 256megs of ram and 512MB swap space. anything I can do ? Mark ___

the proces that can be monitored

2003-12-05 Thread M.D. DeWar
Hello, I am trying to get net-smnp setup on my system. I'm at the point were it asks for process to monitor but am not sure what ones I can and what they are are called. In the example says httpd for http so I know that one but not sure what it is for memory disk space etc a google search got me no

snmpd problems

2003-12-05 Thread M.D. DeWar
net-snmp: 1 error(s) in config file(s) Error opening specified endpoint "161" Server Exiting with code 1 or Error opening specified endpoint "udp:161" Server Exiting with code 1 I don't know were to look for or how to fix. any help appreciated. ___ [

Re: swapspace errors

2003-12-02 Thread M.D. DeWar
I # out all my mrtg statements in /etc/crontab and now I have no issue with swapspace. So MRTG is causing my problem. Running systat I see that I have like 5 perl commands running which is my mrtg statements. Mark - Original Message - From: "Kris Kennaway" <[EMAIL PROTECT

swapspace errors

2003-12-02 Thread M.D. DeWar
I am getting these in /var/log/messages. Not sure why, or what is causing it (But did not see them till I installed MRTG/RRDTOOL) How can I fix this or what can be done ? Dec 2 10:01:00 spiderman /kernel: swap_pager_getswapspace: failed Dec 2 10:01:12 spiderman /kernel: swap_pager_getswapspace:

Re: Remove ^M characters from xhtml file

2003-12-01 Thread M.D. DeWar
I found this one that works cat [filename] | tr -d '/r' > out; mv out [new filename] Mark - Original Message - From: "Big Daddy EBK" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, December 01, 2003 4:51 PM Subject: Re: Remove ^M characters from xhtml file > Hello everyone, I'

Re: newbie: use in RE?

2003-11-24 Thread M.D. DeWar
i find this and seems to work good. cat {filename} | tr -d '/r' > out; mv out {new filename} It gets rid of all them ^M from the files for me. HTH Mark - Original Message - From: "Zhang Weiwu" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Saturday, November 22, 2003 8:00 AM Subject:

more than one library possible ??

2003-11-21 Thread M.D. DeWar
Hello, I was going to install mrtg from the ports. As it started to install I saw that it did not find GD and was d/l 1.84 even tho I have 2.0.15 (or whatever it actually is) installed. So I d/l the actual mrtg files and was trying to install it. but it does not like my GD install. Will the mrtg

Re: what is this for

2003-11-19 Thread M.D. DeWar
Thanks All. Is it worth installing ? esp for a newbie ? Thanks mark - Original Message - From: "Jason Stewart" <[EMAIL PROTECTED]> To: "M.D. DeWar" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Wednesday, November 19, 2003 10:31 AM Subject: Re:

what is this for

2003-11-19 Thread M.D. DeWar
[ -x /usr/games/fortune ] && /usr/games/fortune freebsd-tips why and what is this command for. I found it in the /home/user directory in the .profile file. no such thing in usr/games. no errors in the message files and searching freebsd ports shows no game called fortune. I assume its a x game b

Re: statvfs.h

2003-11-13 Thread M.D. DeWar
> spiderman# find / -name statvfs.h -print >>spiderman# > > > >comes up empty. > >now what ? > >Thanks > >Mark > > > > > > Hmm, dunno. Do you have full system sources > installed? Maybe a cvsup > > Ahh, what version are you running? statvfs.h > didn't exist in FBSD before 8-21-2002, and t

statvfs.h

2003-11-11 Thread M.D. DeWar
were do yo u get header files ? or can't you ? I am trying to load a webmin module and it needs some perl modules and one filesys::statvfs needs the header file statsvfs.h and I donthave it. thanks mark ___ [EMAIL PROTECTED] mailing list http://lists.

owner of dir/files

2003-11-11 Thread M.D. DeWar
Hello, A simple question for you in the know unix guys. I just noticed that when I d/led a program and un-tarred it and set it up that the directory in the apache web root has as owner something like 501:www . I also noticed some others that were mysql:mysql or 500:100 for the user/group. I am no

OT:php error

2003-11-04 Thread M.D. DeWar
I am hoping someone might know what this issue is. I really really don't want to have to join other lists. I am reconfiguring php. This is the ./configure I am using ./configure --with-mysql --with-apxs2=/usr/local/apache2/bin/apxs --w ith-jpeg-dir=/usr/local --with-png-dir=/usr/local --with-zlib-

configure option should be which

2003-11-03 Thread M.D. DeWar
Hello, When installing a program that needs the --with-gd or --with-png etc directories am I to put the directory of the .h files (/usr/local/include) or to were the make install put the executables for each (/usr/local/bin) ? Thanks Mark ___ [EMAIL PR

what happens when connection is lost ?

2003-10-31 Thread M.D. DeWar
Hello, If I am logged in on a FreeBSD machine with ssh. And doing say a ./configure or make and I lose connection does that stop what I was doing ? data get corrupted etc ? Thanks Mark ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailma

ports out of date error

2003-10-30 Thread M.D. DeWar
I am trying to install java. Finally with some help from another person on the java freebsd list I am getting there. However I have run into this error and not sure how to fix it. Your libtool installation is out of date. Please remove and reinstall /usr/ports/devel/libtool. In /usr/local/bin I h

why is it known as unknown

2003-10-29 Thread M.D. DeWar
for curiosity and exciting dinner banter, why is it I see programs/application etc referring to FreeBSD as i386-unknown-freebsd4.8 system or when doing a configure it shows as that ? thanks curious cat ___ [EMAIL PROTECTED] mailing list http://lists.

Re: X11 and Xfree86

2003-10-28 Thread M.D. DeWar
from microsoft. thanks mark - Original Message - From: "Payne" <[EMAIL PROTECTED]> To: "M.D. DeWar" <[EMAIL PROTECTED]>; "freebsd-questions" <[EMAIL PROTECTED]> Sent: Tuesday, October 28, 2003 5:11 PM Subject: Re: X11 and Xfree86 >

X11 and Xfree86

2003-10-28 Thread M.D. DeWar
What is the difference between x11r6 and xfree86 ? I went to xfree site and ended up at x.org and the d/l are not the same. thanks newbie mark ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe,

rsync help

2003-10-27 Thread M.D. DeWar
I would like to backup some website directorys on one machine to another machine. I have read the rsync man pages and some sites but am still confused about how the command line should be. I will only run it from the command line every so often. I have tried several ways but can't figure it out. I

Re: wrong name on emails

2003-10-24 Thread M.D. DeWar
erson" <[EMAIL PROTECTED]> To: "M.D. DeWar" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Friday, October 24, 2003 10:13 AM Subject: Re: wrong name on emails > > - Original Message - > From: "M.D. DeWar" <[EMAIL PROTECTED]> >

wrong name on emails

2003-10-24 Thread M.D. DeWar
Hello, When I first setup from FreeBSD 4.8 box I gave it one name, badboy. Then later to due to dns issues I changed it to match DNS. Now when I get an email from the box it says [EMAIL PROTECTED] instead of the new name. I searched every file I can think of. rc.local,rc.conf , resolv.conf and othe

d/l,compiling question

2003-10-23 Thread M.D. DeWar
Hello, I may have missed this. Sometimes in the docs for a application it will say at a point " you need to be root or have superuser permissions to do this " I normally login in as user then su - over to superuser. (I hope thats the right terminology). Then I do the ./configure makes etc. Is tha