shell script help
I'm trying to clean up a script that controls my tape better. Among other things it sets some variable to use later. I've made an error somewhere and I'm thinking that I'm missing the obvious since I cant find the error. I want to set command line options for tar. Below taroptions has what I want. Line 12 echo's the command. When I use what line echo's to the console tar works. However, something is happening with line 13 that makes tar mad. It tells me tar can't open the archive /dev/sa0 /var/log Please advice -- I'm going blind trying understand this one. 1 #!/bin/sh 2 PATH=/bin:/usr/bin 3 backupadmin=[EMAIL PROTECTED] 4 starttime=`date +DATE: %Y-%m-%d%nTIME: %H:%M` 5 wrkdir=/root 6 tmpfile=${wrkdir}/cat.tmp 7 curfile=${wrkdir}/tapelabel 8 catalog=${wrkdir}/level1Tar.cat 9 datetime=`date +DATE: %Y-%m-%d%nTIME: %H:%M` 0 taroptions=--create --verbose --block-size 1 --read-full-blocks --block-compress --gzip --file 1 tapedev=/dev/sa0 2 echo tar ${taroptions}${tapedev} /var/log 3 tar ${taroptions}${tapedev} /var/log 4 exit -- David Bear phone: 480-965-8257 fax:480-965-9189 College of Public Programs/ASU Wilson Hall 232 Tempe, AZ 85287-0803 Beware the IP portfolio, everyone will be suspect of trespassing ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: shell script help
On Wed, 2003-07-23 at 02:04, David Bear wrote: I'm trying to clean up a script that controls my tape better. Among other things it sets some variable to use later. I've made an error somewhere and I'm thinking that I'm missing the obvious since I cant find the error. I want to set command line options for tar. Below taroptions has what I want. Line 12 echo's the command. When I use what line echo's to the console tar works. However, something is happening with line 13 that makes tar mad. It tells me tar can't open the archive /dev/sa0 /var/log Please advice -- I'm going blind trying understand this one. 1 #!/bin/sh 2 PATH=/bin:/usr/bin 3 backupadmin=[EMAIL PROTECTED] 4 starttime=`date +DATE: %Y-%m-%d%nTIME: %H:%M` 5 wrkdir=/root 6 tmpfile=${wrkdir}/cat.tmp 7 curfile=${wrkdir}/tapelabel 8 catalog=${wrkdir}/level1Tar.cat 9 datetime=`date +DATE: %Y-%m-%d%nTIME: %H:%M` 0 taroptions=--create --verbose --block-size 1 --read-full-blocks --block-compress --gzip --file 1 tapedev=/dev/sa0 2 echo tar ${taroptions}${tapedev} /var/log 3 tar ${taroptions}${tapedev} /var/log 4 exit How about: 0 taroptions=--create --verbose --block-size 1 --read-full-blocks --block-compress --gzip --file 1 tapedev=/dev/sa0 2 echo tar ${taroptions} ${tapedev} /var/log 3 tar ${taroptions} ${tapedev} /var/log Works for me. Joe -- PGP Key : http://www.marcuscom.com/pgp.asc signature.asc Description: This is a digitally signed message part
Re: virus scanner for email
sophos + amavis + postfix http://ezine.daemonnews.org/200212/sophos-amavis.html My only other comment would be to build the amavis port mentioned with make fetch-recursive which should do the same as the 'make install and break with ^C' mentioned, but do it cleaner.. On Tue, 2003-07-22 at 04:37, Martin Schweizer wrote: Hello I search a scanner which works with Sophos and Sendmail. Is there something in the ports? Do you have some experience? -- Murray Taylor Special Projects Engineer - Bytecraft Systems Entertainment P: +61 3 8710 2555 F: +61 3 8710 2599 D: +61 3 9238 4275 M: +61 417 319 256 E: [EMAIL PROTECTED] or visit us on the web http://www.bytecraftsystems.com http://www.bytecraftentertainment.com This Email has been scanned for Viruses by MailMarshal. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
tftpd startup
Hi, I'm trying to get tftpd running ( FreeBSD 4.7 ) and I keep getting this error message in syslog: tftpd[82755]: recvfrom: Socket operation on non-socket This leads me to my next question which is, is there a way to startup inetd from the command line because I'm almost sure the above error is related. I have made the necessary changes to /etc/inetd.conf Kind regards, Nelis ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
libgtk-1.2.so.0 not found
bash-2.05b$ xmms Shared object libgtk-1.2.so.0 not found Shared object libgtk-1.2.so.0 not found anyone knows where i can download from ports this libgtk-1.2.so.0, cause i cant play my xmms mp3 player, i did search for the missing libgtk-1.2.so.0 but i cant find it. thanks __ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: libgtk-1.2.so.0 not found
On Wed, 2003-07-23 at 02:53, marlon corleone wrote: bash-2.05b$ xmms Shared object libgtk-1.2.so.0 not found Shared object libgtk-1.2.so.0 not found anyone knows where i can download from ports this libgtk-1.2.so.0, cause i cant play my xmms mp3 player, i did search for the missing libgtk-1.2.so.0 but i cant find it. Make sure you have the latest x11-toolkits/gtk12 installed, then reinstall xmms from ports. Joe thanks __ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- PGP Key : http://www.marcuscom.com/pgp.asc signature.asc Description: This is a digitally signed message part
[no subject]
in which directory in ports i can find windowmaker? __ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: can't compile kde3.1.2
On Tue, Jul 22, 2003 at 10:48:48PM -0400, Antoine Solomon wrote: I am having problems building and installing kde3.1.2 from the ports collection Here is the error that I get checking for libXext... no === Script configure failed unexpectedly. Please report the problem to [EMAIL PROTECTED] [maintainer] and attach the /usr/ports/x11/kdelibs3/work/kdelibs-3.1.2/config.log including the output of the failure of your make command. Also, it might be a good idea to provide an overview of all packages installed on your system (e.g. an `ls /var/db/pkg`). *** Error code 1 Stop in /usr/ports/x11/kdelibs3. You didn't follow these instructions. Kris pgp0.pgp Description: PGP signature
RE:
in which directory in ports i can find windowmaker? man whereis man find whereis windowmaker ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: RE:
also man locate and cd /usr/port make search key=windowmaker Cheers, Mark On Wed, 2003-07-23 at 17:01, Scott Muller wrote: in which directory in ports i can find windowmaker? man whereis man find whereis windowmaker ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-isp To unsubscribe, send any mail to [EMAIL PROTECTED] -- Mark Sergeant [EMAIL PROTECTED] SNSOnline Technical Services ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: [kde-freebsd] can't compile kde3.1.2
On Wednesday 23 July 2003 05:48, Antoine Solomon wrote: I am having problems building and installing kde3.1.2 from the ports collection Here is the error that I get checking for libXext... no === Script configure failed unexpectedly. Please report the problem to [EMAIL PROTECTED] [maintainer] and attach the /usr/ports/x11/kdelibs3/work/kdelibs-3.1.2/config.log including the output of the failure of your make command. Also, it might be a good idea to provide an overview of all packages installed on your system (e.g. an `ls /var/db/pkg`). *** Error code 1 Stop in /usr/ports/x11/kdelibs3. Okay, as Kris pointed out, there's not enough info to go on here... However, remove the existing arts package, as it's very outdated, and could potentially cause a build problem. Do that, try another kdelibs build, and if you still run into the same problem please follow the instructions that the build system gives you. A. -- Andy Fawcett | [EMAIL PROTECTED] | [EMAIL PROTECTED] In an open world without walls and fences, | [EMAIL PROTECTED] we wouldn't need Windows and Gates. -- anon | [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
[no subject]
- Omar ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: MP3 Steamer with Web Control
On Tue, Jul 22, 2003 at 04:33:32PM +0200, Rus Foster wrote: Hi All, Is there a program in ports which can stream MP3 but also has a web interface so I could skip songs, rewind etc? You could try /usr/ports/www/p5-Apache-MP3 . Karel. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: tftpd startup - solved
Solved this one on my own. If I'd bothered to test using the tftp client I would have noticed it was actually was running. Due to the fact it doesn't show as a process I'd just assumed it wasn't running forgetting it falls under inetd. Sorry for the question :) Nelis -Forwarded Message- From: Nelis Lamprecht [EMAIL PROTECTED] To: FreeBSD Questions Mail List [EMAIL PROTECTED] Subject: tftpd startup Date: 23 Jul 2003 08:52:48 +0200 Hi, I'm trying to get tftpd running ( FreeBSD 4.7 ) and I keep getting this error message in syslog: tftpd[82755]: recvfrom: Socket operation on non-socket This leads me to my next question which is, is there a way to startup inetd from the command line because I'm almost sure the above error is related. I have made the necessary changes to /etc/inetd.conf Kind regards, Nelis ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Cron job dump requires tape change
I thought I had answered this before, but AFAIK, dump just doesn't support multiple volumes. You'll either need to get a higher capacity tape drive, resize your partitions, or use another backup utility. - Original Message - From: Bob Collins [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, July 18, 2003 6:19 PM Subject: Cron job dump requires tape change I hope I am not asking a NewB question, but I read through dump and cron and see no obvious way to run a nightly dump through cron AND allow user intervention to change the tape. I am running a DDS2 tape drive and trying to backup around 12GB. The tape runs to the end, issues the end of tape, and then dump fails. TIA Bob ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Terminal emulation with DOS
On Tuesday, Jul 22, 2003, at 19:23 US/Pacific, James Dietrich wrote: Sorry if this post is a litte off-topic. I am trying to set up an old DOS laptop as a terminal to my FreeBSD firewall/nat box. Has anyone come across good (read: free) terminal emulation software for DOS? If so could you point me in the right direction? You mean for serial connection? Kermit, Qmodem, Procomm, Crosstalk... start with those and you can Google up a bunch more, I'm sure. KeS ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: make depend fails, cc1: no such file
On Tue, 22 Jul 2003 08:12 am, Stephen G Smith wrote: I am running FreeBSD 5.1-RELEASE, and I want to add firewall support to my kernel. So, I carefully read and followed the instructions in section 9.3 of the FreeBSD Handbook. But when I run make depend i get this error: cc: installation problem, cannot exec 'cc1': no such file or directory *** Error code 1 I know I have a file /usr/bin/cc, but obviously no 'cc1' anywhere. Any hints? Thanks, Stephen ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] I had a similar problem it resolved when I read the next bit in the manual Procedure 2. Building a kernel the ``new'' way Change to the /usr/src directory. # cd /usr/src Compile the kernel. # make buildkernel KERNCONF=MYKERNEL Install the new kernel. # make installkernel KERNCONF=MYKERNEL ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
mod_php4 build fails on fontconfig?
Hi List, I should probably consult the mod_php mail list for this but I thought I'd try my luck here first since this is on FreeBSD 4.7 and I've had pretty good responses before from this list. I see now mod_php now requires XFree86 libraries ? I am not using X on this machine... Anyway, I'm updating Apache and on the mod_php build I get the following error from fontconfig which I hope someone can help me on: === Applying FreeBSD patches for mod_php4-4.3.3.r1_1,1 === mod_php4-4.3.3.r1_1,1 depends on file: /usr/local/sbin/apxs - found === mod_php4-4.3.3.r1_1,1 depends on file: /usr/local/libexec/libtool14/libtool - found === mod_php4-4.3.3.r1_1,1 depends on executable: bison - found === mod_php4-4.3.3.r1_1,1 depends on shared library: freetype.9 - found === mod_php4-4.3.3.r1_1,1 depends on shared library: png.5 - found === mod_php4-4.3.3.r1_1,1 depends on shared library: jpeg.9 - found === mod_php4-4.3.3.r1_1,1 depends on shared library: Xpm.4 - not found ===Verifying install for Xpm.4 in /usr/ports/x11/XFree86-4-libraries snip cc -O -pipe -o .libs/fc-cache fc-cache.o ../src/.libs/libfontconfig.so -L/usr/local/lib -lfreetype -lexpat -Wl,--rpath -Wl,/usr/X11R6/lib ../src/.libs/libfontconfig.so: undefined reference to `FT_Get_PS_Font_Info' gmake[2]: *** [fc-cache] Error 1 gmake[2]: Leaving directory `/usr/ports/x11-fonts/fontconfig/work/fontconfig-2.2.90/fc-cache' gmake[1]: *** [all-recursive] Error 1 gmake[1]: Leaving directory `/usr/ports/x11-fonts/fontconfig/work/fontconfig-2.2.90' gmake: *** [all-recursive-am] Error 2 *** Error code 2 Stop in /usr/ports/x11-fonts/fontconfig. /snip I am using ctype, gd, gettext, mysql, mcrypt, openssl, overload, pcre, posix, session, tokenizer, xml and zlib in my configuration options installed via /usr/ports/www/mod_php4 Is any of the above causing mod_php4 to use XFree86 libraries or does it use it by default now? Thanks for your help. Nelis ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
intalling mysql on bsd5.0
Hi, While installing mysql on freebsd5.0 (scripts/mysql_install_db) i encountered the following error: - Installing all prepared tables /usr/libexec/ld-elf.so.1: Shared object libc_r.so.4 not found Installation of grant tables failed How can i get rid of this problem. Thanks anil. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: [kde-freebsd] can't compile kde3.1.2
On Wednesday 23 July 2003 12:18 am, Andy Fawcett wrote: On Wednesday 23 July 2003 05:48, Antoine Solomon wrote: I am having problems building and installing kde3.1.2 from the ports collection Here is the error that I get checking for libXext... no === Script configure failed unexpectedly. Please report the problem to [EMAIL PROTECTED] [maintainer] and attach the /usr/ports/x11/kdelibs3/work/kdelibs-3.1.2/config.log including the output of the failure of your make command. Also, it might be a good idea to provide an overview of all packages installed on your system (e.g. an `ls /var/db/pkg`). *** Error code 1 Stop in /usr/ports/x11/kdelibs3. Okay, as Kris pointed out, there's not enough info to go on here... However, remove the existing arts package, as it's very outdated, and could potentially cause a build problem. Do that, try another kdelibs build, and if you still run into the same problem please follow the instructions that the build system gives you. His dependancy tree is really out of date. For example, he has XFree86-libraries-4.3.0_5 installed but everything else is still version 4.2. A portupgrade -R XFree86 would be a good start and then run a -R on kde. Kent -- Kent Stewart Richland, WA http://users.owt.com/kstewart/index.html ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: MP3 Steamer with Web Control
Karel J. Bosschaart [EMAIL PROTECTED] writes: On Tue, Jul 22, 2003 at 04:33:32PM +0200, Rus Foster wrote: Hi All, Is there a program in ports which can stream MP3 but also has a web interface so I could skip songs, rewind etc? gnump3 or ample (both in /usr/ports/audio) -- Dan Pelleg ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: SMC - 2402W wireless PCI ethernet card
On Sun, Jul 20, 2003 at 10:52:51PM +0300, Alin-Adrian Anton wrote: Hi guys, anyone knows if this *SMC - 2402W *is supported by FreeBSD? I am going to buy 2 x wireless cards. If any other are better supported or one knows that they work well, please tell me, so I can buy the right one. Thanks for all, Alin. Hi Alin, I'm pretty sure the answer is no... The wi(4) driver supports most cards with common 802.11b chipsets, but this device provides some nonstandard 22Mbps mode with a TI chipset that I doubt is supported in FreeBSD. The wi(4) manpage contains a reasonable list of supported chipsets and cards, although some of these are probably hard to find these days. Cheers, Scott ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re:
Hi, dear All! as usual, before the kernel begins to load it waits for your pushing SPACE for 10 seconds (by default). so you just push SPACE, then, when you see prompt ok, type boot -s. The kernel must load, then you'll be asked about the shell you want to get into /bin/sh, just push Enter and then type mount -a. This is a single user mode. after all these magic machinations you might have a possibility to repare your /etc/rc.conf :) -- Error Code=-1 Continue? Yes | No -- Dear sirs, please, help me to solve such problem: during configuration I had made an error in rc.conf (unterminated quoted string). After rebooting kernel was loaded successfully (without remarks), but when reading rc.conf system reports about error and breaks during mounting root. So I have a read-only file system without any possibility to correct rc.conf. Say, whether I must install FreeBSD from the very beginning, or I can repair rc.conf ? Yours, I.A. Kudriavtcev ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: intalling mysql on bsd5.0
Hi, Hi, While installing mysql on freebsd5.0 (scripts/mysql_install_db) i encountered the following error: - Installing all prepared tables /usr/libexec/ld-elf.so.1: Shared object libc_r.so.4 not found Installation of grant tables failed What mysql did you installed? From the precompiled packadges downloaded from one of the mirrors of mysql.com? How can i get rid of this problem. If so, then you can't. Becouse the precompiled version of mysql for 5.0 doesn't exist as yet. Just take the source and compile it by yourself. -- Error Code=-1 Continue? Yes | No -- Thanks anil. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: BIND 9
Hello: Hi, I'm trying to configure both a master and slave DNS on the same machine. My approach is to run the master by setting named_enable=YES and it will use the config file in /etc/named. To start the slave I will In rc.local and it would use the config files in /etc/named/slave. Does this seems ok? Is there a better way. I can't follow your point... Are you going to run TWO named daemons? I can't see why you're doing this. master and slave are configured in named.conf and doesn't matter where you're going to start the daemon from, besides, the named daemon can process both master and slave zone at the same time, you don't have to run TWO named daemons. try to make yourself clearer, I suspect I failed to understand the idea... :( as for starting named from rc.conf here is a record from my rc.conf ### BIND 9.1.2 named_enable=YES named_program=/usr/local/sbin/named named_flags=-t /etc/namedb ### -- Error Code=-1 Continue? Yes | No -- P.S. How to jail named read in handbooks on www.freebsd.org Also, does anyone have any pointers to info on BIND/DNS. I have the book, seen the freebsd pages and article. Thanks. Cheers, Tony ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Apache help
- Original Message - From: Adam [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, July 22, 2003 11:36 PM Subject: Re: Apache help On Mon, 2003-07-21 at 16:33, Dzevad Fazlic wrote: I just installed freeBSD 4.8 with apache 1.3.27 Everthing works perfect but when i shutdown system or when i startup system i am receiving this apache error (/usr/local/etc/rc.d/apache.sh:120: Syntax error :Unterminated quoted string ) Selfobvious! file /usr/local/etc/rc.d/apache.sh line 120 check it! may be you forgot to terminate quoting: or ' Can somebudy help please But if i start apache with this command on shell apachectl start It will work fine Just a thought, did you ever edit that script with a Win32 text editor? Those kind of weird errors are frequently caused by Win32 terminating characters. Might be worth checking out, just to rule it out. Or just when copying text files from windows to UNIX-like, copy them in ASCII mode so that not to have ^M at the end of each line... or develop good habits and begin to edit scripts in vi or so... -- Adam [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
How to drive an NE2000 compatible isa card
Hello, I have an NE2000 (10M) compatible isa card with io=0x300 irq=5 (under win98). But I fail to drive it under a FreeBSD 4.8. I have recompiled kernel with ed support. dmesg does not contain recognition message and kldstat -v |grep ed gives: pci/ed 145 isa/ed 146 pccard/ed 147 ed/miibus How to drive my NE2000 card, any tips? = Sincerely yours, Zhang Le _ Do You Yahoo!? !~ http://cn.rd.yahoo.com/mail_cn/tag/?http://cn.messenger.yahoo.com/ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
windowmaker problem
bash-2.05b$ pkg_info | grep -i windowmaker wmtop-0.84 Windowmaker dock app to display top 3 CPU consuming process bash-2.05b$ windowmaker bash: windowmaker: command not found why wont windowmaker run? i did install the packaged, as you can see. i hope anyone got a tip. thanks __ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: windowmaker problem
yOn Wed, 23 Jul 2003, marlon corleone wrote: bash-2.05b$ pkg_info | grep -i windowmaker wmtop-0.84 Windowmaker dock app to display top 3 CPU consuming process bash-2.05b$ windowmaker bash: windowmaker: command not found why wont windowmaker run? i did install the packaged, as you can see. i hope anyone got a tip. Try wmaker.inst then wmaker Rgds Rus Foster -- www: http://jvds.com | Virtual Servers from just $15/mo MSNM: [EMAIL PROTECTED] | Totally Customizable Technology e: [EMAIL PROTECTED] | FreeBSD Linux 10% donation to FreeBSD.org on each purchase ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Interrupts percentage high + packetloss
Hi, there is a gw on 100mbit bandwidth, and interrupt is damn high on it even though the bandwidth utilization is only about 20%, and it is an AMD 2Ghz machine with 0,5Gb of DDR Ram though the network card is a D-Link DL10050 (one pci card with 4 ports), so maybe this is the problem, you will let me know I have queried with some commands the system stats, let me know if someone interested in any other details and which command gives me the result. Any ideas why is this percentage so high ? Or how can I see this in more detail ? I wouldn't be excited about it, but packet loss occour (I can see if I ping the machine from outside network), it's running a quake server behind this gw and it has quiet much amount of LAG last pid: 1162; load averages: 0.42, 0.10, 0.03up 0+03:10:57 21:53:35 30 processes: 2 running, 28 sleeping CPU states: 36.7% user, 0.0% nice, 10.5% system, 37.5% interrupt, 15.2% idle Mem: 10M Active, 12M Inact, 22M Wired, 10M Buf, 456M Free Swap: 1024M Total, 1024M Free I have checked with trafshow It was 2680 pkt/sec 2128450 bytes/sec so about 2mbyte/sec ~20mbit netstat NameMtu Network Address Ipkts IerrsOpkts Oerrs Coll ste0* 1500 Link#1 00:05:5d:e6:0c:3d0 00 0 0 ste1 1500 Link#2 00:05:5d:e6:0c:3e 5978838 0 6481883 0 0 ste1 1500 localnet/21 gw.localnet 13771 - 5785 - - ste2 1500 Link#3 00:05:5d:e6:0c:3f76912 065964 0 0 ste2 1500 dmz/21 gw.dmz 554 - 6339 - - ste3 1500 Link#4 00:05:5d:e6:0c:40 6606007 0 6035123 0 0 ste3 1500 outside www.dmz44190 -41819 - - ste3 1500 gwgw 3536 -0 - - lo0 16384 Link#5 4 04 0 0 lo0 16384 your-net localhost.localnet 0 -0 - - iostat tty ad0 acd0 cpu tin tout KB/t tps MB/s KB/t tps MB/s us ni sy in id 0 137 15.95 0 0.00 0.00 0 0.00 0 0 0 6 94 here is the dmesg output Copyright (c) 1992-2003 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD 5.1-RELEASE #0: Mon Jun 30 17:47:48 GMT 2003 [EMAIL PROTECTED]:/usr/src/sys/i386/compile/kernelke Preloaded elf kernel /boot/kernel/kernel at 0xc038b000. Timecounter i8254 frequency 1193182 Hz Timecounter TSC frequency 1797286592 Hz CPU: AMD Athlon(tm) XP 2200+ (1797.29-MHz 686-class CPU) Origin = AuthenticAMD Id = 0x681 Stepping = 1 Features=0x383fbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE AMD Features=0xc040AMIE,DSP,3DNow! real memory = 536805376 (511 MB) avail memory = 517505024 (493 MB) Pentium Pro MTRR support enabled npx0: math processor on motherboard npx0: INT 16 interface pcibios: BIOS version 2.10 Using $PIR table, 11 entries at 0xc00fdeb0 pcib0: Host to PCI bridge at pcibus 0 on motherboard pci0: PCI bus on pcib0 pci0: memory, RAM at device 0.1 (no driver attached) pci0: memory, RAM at device 0.2 (no driver attached) pci0: memory, RAM at device 0.3 (no driver attached) pci0: memory, RAM at device 0.4 (no driver attached) pci0: memory, RAM at device 0.5 (no driver attached) isab0: PCI-ISA bridge at device 1.0 on pci0 isa0: ISA bus on isab0 pci0: serial bus, SMBus at device 1.1 (no driver attached) pcib1: PCIBIOS PCI-PCI bridge at device 8.0 on pci0 pci1: PCI bus on pcib1 pcib2: PCI-PCI bridge at device 6.0 on pci1 pci2: PCI bus on pcib2 ste0: D-Link DL10050 10/100BaseTX port 0xd000-0xd07f irq 11 at device 4.0 on pci2 ste0: Ethernet address: 00:05:5d:e6:0c:3d miibus0: MII bus on ste0 ukphy0: Generic IEEE 802.3u media interface on miibus0 ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto ste1: D-Link DL10050 10/100BaseTX port 0xd400-0xd47f irq 5 at device 5.0 on pci2 ste1: Ethernet address: 00:05:5d:e6:0c:3e miibus1: MII bus on ste1 ukphy1: Generic IEEE 802.3u media interface on miibus1 ukphy1: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto ste2: D-Link DL10050 10/100BaseTX port 0xd800-0xd87f irq 12 at device 6.0 on pci2 ste2: Ethernet address: 00:05:5d:e6:0c:3f miibus2: MII bus on ste2 ukphy2: Generic IEEE 802.3u media interface on miibus2 ukphy2: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto ste3: D-Link DL10050 10/100BaseTX port 0xdc00-0xdc7f irq 10 at device 7.0 on pci2 ste3: Ethernet address: 00:05:5d:e6:0c:40 miibus3: MII bus on ste3 ukphy3: Generic IEEE 802.3u media interface on miibus3 ukphy3: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto pci1: display, VGA at device 10.0 (no driver attached) atapci0: nVidia nForce2 UDMA133 controller port 0xf000-0xf00f at device 9.0 on pci0 ata0: at 0x1f0 irq 14 on atapci0 ata1: at 0x170 irq 15 on atapci0 pcib3: PCIBIOS
Re: windowmaker problem
Well, the pkg_info should display something like windowmaker-0.80.2 GNUStep-compliant NeXTStep window manager clone and the command is /usr/X11R6/bin/wmaker wmtop is just an app that docks under Windowmaker. You want to install /usr/ports/x11-wm/windowmaker. Cheers, -Jhon marlon corleone wrote: bash-2.05b$ pkg_info | grep -i windowmaker wmtop-0.84 Windowmaker dock app to display top 3 CPU consuming process bash-2.05b$ windowmaker bash: windowmaker: command not found why wont windowmaker run? i did install the packaged, as you can see. i hope anyone got a tip. thanks __ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
ppp connection problem
Greetings all: I am connecting to my isp with the following ppp.conf using the command ppp -auto isp when i run the command i usually connect on the second try. for some reason the connection drops after the first try, but my true problem is i can ping internal ips and not ips outside the network. I think my problem is with my default route is not setup properly. here is a snip of my ifconfig, for some reason i have two tun devices. i think that is caused by trying to dial up twice? any thought on how to setup my default route properly? Thanks, brian ifconfig tun0: flags=8051UP,POINTOPOINT,RUNNING,MULTICAST mtu 1500 inet 199.17.4.229 -- 199.17.4.4 netmask 0xff00 Opened by PID 111 tun1: flags=8051UP,POINTOPOINT,RUNNING,MULTICAST mtu 1500 inet 10.0.0.1 -- 10.0.0.2 netmask 0xff00 Opened by PID 121 Routing tables Internet: DestinationGatewayFlagsRefs Use Netif Expire default199.17.4.4UGSc4 2620 tun0 10.0.0.2 10.0.0.1 UH 00 tun1 127.0.0.1 127.0.0.1 UH 00lo0 199.17.4.4199.17.4.229 UH 40 tun0 /etc/ppp/ppp.conf - default: set device /dev/cuaa1 set speed 115200 set dial ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \ \\ AT OK-AT-OK ATE1Q0 OK \\dATDP\\T TIMEOUT 40 CONNECT set timeout 180 enable dns isp: set phone xxx set authname xxx set authkey xxx set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0 0.0.0.0 add default HISADDR ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
problems do configure monitor in my notebook
Hi, I have a notebook Satellite 3000-214, and now I want to install the freeBSD SO, together with windows XP that came with my notebook. I made a partition to install the new SO, and I with the FreeBSD install program I made the swap and FS partitions. I manage to install the system, but the graphic mode doesn't work anyway! I tryed all, but I didn't manage put it in work! even the mouse (USB - a thing that I thought that could be difficult to set in this system...) works in text mode... I tryed to setup in the sysinstall the XF86Config, and after in text mode with the vi. I think that the problem is with the is the configuration of the monitor, in the horizsync and vertRefresh parameters I tryed many confs that I found in the internet... h: 31,5- 62; v: 30-50 ... and many other combinations... but it doesn't work! When I try startx, apper in the many thin vertical shining color lines on the monitor. Could you give a help? Thank you, Edison Pignaton de Freitas. _ MSN Messenger: converse com os seus amigos online. http://messenger.msn.com.br ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Installing FreeBSD onto Vinum-volumes?
Hello. I'm about to install a new machine which will have 2 IDE-disks. I'd like to mirror some volumes between those disks while other volumes should be striped. I'd like to do this with FreeBSD 5.1. There's no data on the disks that I want/have to keep. Is it at all possible to configure Vinum and then install FreeBSD or will I have to install FreeBSD first and then convert to Vinum-volumes by manually editing the disklabel (with bsdlabel), calculating offsets etc.? In other words, is there an easy way to do this? :) (I already tried installing FreeBSD and then converting to Vinum but failed miserably and am now looking for an easy way out.) -- Eivind Olsen [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: windowmaker problem
On Wed, 2003-07-23 at 08:29, marlon corleone wrote: bash-2.05b$ pkg_info | grep -i windowmaker wmtop-0.84 Windowmaker dock app to display top 3 CPU consuming process bash-2.05b$ windowmaker bash: windowmaker: command not found why wont windowmaker run? i did install the packaged, as you can see. i hope anyone got a tip. Ah-hem, you do *not* have windowmaker installed. You have wmtop installed. Read! cd /usr/ports/x11-wm/windowmaker; make install clean -- Adam [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: ppp connection problem
On Wed, 2003-07-23 at 09:10, Brian Henning wrote: I am connecting to my isp with the following ppp.conf using the command ppp -auto isp when i run the command i usually connect on the second try. for some reason the connection drops after the first try, but my true problem is i can ping internal ips and not ips outside the network. I think my problem is with my default route is not setup properly. Removing the 'set ifaddr' line fixed some weird problems for me. However, I use ppp for PPPoE. It might be worth a try, though. I know several people that have removed that line successfully. -- Adam [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: windowmaker problem
On Wed, 2003-07-23 at 08:29, marlon corleone wrote: bash-2.05b$ pkg_info | grep -i windowmaker wmtop-0.84 Windowmaker dock app to display top 3 CPU consuming process bash-2.05b$ windowmaker bash: windowmaker: command not found why wont windowmaker run? i did install the packaged, as you can see. i hope anyone got a tip. Ah-hem, you do *not* have windowmaker installed. You have wmtop installed. Read! cd /usr/ports/x11-wm/windowmaker; make install clean -- Adam [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: mod_php4 build fails on fontconfig?
On Wed, Jul 23, 2003 at 12:05:34PM +0200, Nelis Lamprecht wrote: I should probably consult the mod_php mail list for this but I thought I'd try my luck here first since this is on FreeBSD 4.7 and I've had pretty good responses before from this list. I see now mod_php now requires XFree86 libraries ? I am not using X on this machine... I noticed this too... ;/ Not sure what changed - http://www.freshports.org/lang/php4/ suggests GD support for animated gifs changed actually... perhaps it was this? How about uninstalling GD and the rebuilding it without support for X11 or XPM: cd /usr/ports/gd2 make -DWITHOUT_X11 -DWITHOUT_XPM clean install then make clean install the mod_php4 port again? You could perhaps try installing /usr/ports/gd instead even, it doesn't look like that port depends on any X related ports from looking at it's Makefile. If you wanted to try and resolve the fontconfig issue (which I seem to remember having as well recently) you could try a make clean install in /usr/ports/x11-fonts/fontconfig (after cvsupping first). -- Jez http://www.munk.nu/ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: windowmaker problem
Don't know much about bash, but do you need to update your shell's path? For instance, running rehash under csh will tell the shell to update its list of executables found in the path. HTH Michael On Wed, 2003-07-23 at 08:32, Rus Foster wrote: yOn Wed, 23 Jul 2003, marlon corleone wrote: bash-2.05b$ pkg_info | grep -i windowmaker wmtop-0.84 Windowmaker dock app to display top 3 CPU consuming process bash-2.05b$ windowmaker bash: windowmaker: command not found why wont windowmaker run? i did install the packaged, as you can see. i hope anyone got a tip. Try wmaker.inst then wmaker Rgds Rus Foster ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: windowmaker problem
[ removed freebsd-isp@ from CC-list ] yOn Wed, 23 Jul 2003, marlon corleone wrote: bash-2.05b$ pkg_info | grep -i windowmaker wmtop-0.84 Windowmaker dock app to display top 3 CPU consuming process bash-2.05b$ windowmaker bash: windowmaker: command not found You didn't install windowmaker, just wmtop (which is an applet for the windowmaker dock). If you want to run wmtop, just type wmtop in an xterm. If you want to install windowmaker, then cd /usr/ports/x11-wm/windowmaker make install. Then you can put exec wmaker into your ~/.xinitrc or your ~/.xsession. regards, le -- Lukas Ertl eMail: [EMAIL PROTECTED] UNIX Systemadministrator Tel.: (+43 1) 4277-14073 Vienna University Computer Center Fax.: (+43 1) 4277-9140 University of Vienna http://mailbox.univie.ac.at/~le/ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Installing FreeBSD onto Vinum-volumes?
At 2003-07-23T13:51:28Z, Eivind Olsen [EMAIL PROTECTED] writes: There's no data on the disks that I want/have to keep. Is it at all possible to configure Vinum and then install FreeBSD or will I have to install FreeBSD first and then convert to Vinum-volumes by manually editing the disklabel (with bsdlabel), calculating offsets etc.? I've had great success with configuring an initial tiny partition as '/' and doing a minimal installation (and I mean *minimal*, as in, there's nothing else you can remove and still have it boot). The first step after booting the new system is then configuring vinum, adding volumes for /usr, /var, and so on, and moving the (small!) amount of data from the physical filesystem to their vinum counterparts. Once that's up, I do a more complete install with /stand/sysinstall. Out of curiosity, what offsets have you had to calculate? -- Kirk Strauser pgp0.pgp Description: PGP signature
Crash with bpf
Hello. I've got a production server which keeps crashing if I use bpfs to much. I usually only use bpf0 for dhcp server, but if I start e.g. snort and ntop, the machine will soon reboot. The same happens if I run tcpdump. uname -a gives: FreeBSD x..zz 4.7-RELEASE-p9 FreeBSD 4.7-RELEASE-p9 #2: Sat Mar 22 19:25:28 CET 2003 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/X i386 The hardware is an Athlon with 128MB RAM, 4 SCSI HD building two mirrored vinum volumes and two Intel NIC (one of which is currently unused, but was when it all began and probably will be again soon). The problem has started to show after an upgrade to 4.6 or 4.7 I believe (but I cannot recall exactly). I might as well try an upgrade to 4.8, but I'd rather have more insight. Following is the output of bt from gdb. Anyone can suggest where do I look next? #0 dumpsys () at ../../kern/kern_shutdown.c:487 #1 0xc015b2ef in boot (howto=260) at ../../kern/kern_shutdown.c:316 #2 0xc015b714 in poweroff_wait (junk=0xc02594cc, howto=-1071280145) at ../../kern/kern_shutdown.c:595 #3 0xc021c30a in trap_fatal (frame=0xc8344abc, eva=3230566052) at ../../i386/i386/trap.c:974 #4 0xc021bfdd in trap_pfault (frame=0xc8344abc, usermode=0, eva=3230566052) at ../../i386/i386/trap.c:867 #5 0xc021bbc7 in trap (frame={tf_fs = 16, tf_es = 16, tf_ds = 16, tf_edi = 6704128, tf_esi = 1, tf_ebp = -936097008, tf_isp = -936097048, tf_ebx = -1065849344, tf_edx = -1066233856, tf_ecx = -1607974912, tf_eax = 1832612, tf_trapno = 12, tf_err = 2, tf_eip = -1072206401, tf_cs = 8, tf_eflags = 66066, tf_esp = -1066083072, tf_ss = -1066180606}) at ../../i386/i386/trap.c:466 #6 0xc0176dbf in m_getcl (how=1, type=1, flags=2) at ../../kern/uipc_mbuf.c:589 #7 0xc012f2e7 in fxp_add_rfabuf (sc=0xc0a54e00, oldm=0xc074dd00) at ../../dev/fxp/if_fxp.c:1867 #8 0xc012df28 in fxp_intr_body (sc=0xc0a54e00, statack=64 '@', count=-1) at ../../dev/fxp/if_fxp.c:1327 #9 0xc012de3d in fxp_intr (xsc=0xc0a54e00) at ../../dev/fxp/if_fxp.c:1228 #10 0xc0211ec2 in vec10 () #11 0xc0182eb3 in biowait (bp=0xc3394184) at ../../kern/vfs_bio.c:2638 #12 0xc018081d in bread (vp=0xc7fc00c0, blkno=360576, size=8192, cred=0x0, bpp=0xc8344c6c) at ../../kern/vfs_bio.c:525 #13 0xc01cc5c2 in ffs_update (vp=0xc8256700, waitfor=0) at ../../ufs/ffs/ffs_inode.c:99 #14 0xc01d5fed in ffs_fsync (ap=0xc8344cd0) at ../../ufs/ffs/ffs_vnops.c:273 #15 0xc01d48cb in ffs_sync (mp=0xc0b99400, waitfor=2, cred=0xc0731900, p=0xc02b94e0) at vnode_if.h:558 #16 0xc018b0df in sync (p=0xc02b94e0, uap=0x0) at ../../kern/vfs_syscalls.c:576 #17 0xc015b08a in boot (howto=256) at ../../kern/kern_shutdown.c:235 #18 0xc015b714 in poweroff_wait (junk=0xc02594cc, howto=-1071280145) at ../../kern/kern_shutdown.c:595 #19 0xc021c30a in trap_fatal (frame=0xc8344df0, eva=3230566052) at ../../i386/i386/trap.c:974 #20 0xc021bfdd in trap_pfault (frame=0xc8344df0, usermode=0, eva=3230566052) at ../../i386/i386/trap.c:867 #21 0xc021bbc7 in trap (frame={tf_fs = 16, tf_es = 16, tf_ds = 16, tf_edi = 0, tf_esi = -1065680640, tf_ebp = -936096172, tf_isp = -936096228, tf_ebx = -1065680640, tf_edx = -1066233856, tf_ecx = -1607974912, tf_eax = 1832612, tf_trapno = 12, tf_err = 2, tf_eip = -1072194409, tf_cs = 8, tf_eflags = 66066, tf_esp = -1058056832, tf_ss = -947913056}) at ../../i386/i386/trap.c:466 #22 0xc0179c97 in sosend (so=0xc7c168c0, addr=0x0, uio=0xc8344ed4, top=0x0, control=0x0, flags=0, p=0xc77ffea0) at ../../kern/uipc_socket.c:567 #23 0xc016d624 in soo_write (fp=0xc0ef5580, uio=0xc8344ed4, cred=0xc0c2e800, flags=0, p=0xc77ffea0) at ../../kern/sys_socket.c:81 #24 0xc016a2b5 in dofilewrite (p=0xc77ffea0, fp=0xc0ef5580, fd=3, buf=0x8092000, nbyte=8240, offset=-1, flags=0) at ../../sys/file.h:162 #25 0xc016a16e in write (p=0xc77ffea0, uap=0xc8344f80) at ../../kern/sys_generic.c:329 #26 0xc021c5b9 in syscall2 (frame={tf_fs = 47, tf_es = 47, tf_ds = 47, tf_edi = 671784156, tf_esi = 8240, tf_ebp = -1077937636, tf_isp = -936095788, tf_ebx = 671771728, tf_edx = 671784156, tf_ecx = 3, tf_eax = 4, tf_trapno = 0, tf_err = 2, tf_eip = 673124360, tf_cs = 31, tf_eflags = 646, tf_esp = -1077937680, tf_ss = 47}) at ../../i386/i386/trap.c:1175 #27 0xc02109b5 in Xint0x80_syscall () #28 0x8050a5c in ?? () #29 0x804e065 in ?? () #30 0x804d413 in ?? () #31 0x804c0bd in ?? () bye Thanks av. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: windowmaker problem
-BEGIN PGP SIGNED MESSAGE- ~ On 23-Jul-2003, marlon corleone wrote message windowmaker problem ~ bash-2.05b$ pkg_info | grep -i windowmaker wmtop-0.84 Windowmaker dock app to display top 3 CPU consuming process bash-2.05b$ windowmaker bash: windowmaker: command not found why wont windowmaker run? i did install the packaged, as you can see. i hope anyone got a tip. Why do you say you have installed the package? Since pkg_info doesn't show it, we can see that you have *not* installed Window Maker, although you appear to have successfully installed the wmtop dock app. Also, as someone pointed out already, the binary is wmaker, not windowmaker. And you need to be sure you've run wmaker.inst while logged in as your regular login account first. ~~ Andy Harrison -BEGIN PGP SIGNATURE- Version: PGP 6.5.8 iQCVAwUBPx6lAVPEkLgodAWVAQEbegP/V8J9a2bM6u5wx4YzHS69M9eso4aQNmuQ XhJKk0JL6DriEt29p6REuicxmZZabNjvjZDAGxN7rXn7zTgOXIAANfyJT+P9P0P+ iTyXOUeyhgZ3OHErsqM6yBmdguyrUKQfKsiLfjid7jXtWkQcnOer8w8phofI4hOC JGzMjPD7H64= =Yn9E -END PGP SIGNATURE- ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: help with ide cd burner
I am trying to use xcdroast with my ide burner but it cat see it. I think i need to enable scsi emulation ...well according to some links on google but anyway i cant find how to do this in the handbook. Would someone please inform on how to achieve this. Thanks in advance. ps: both my burner, dvd, and cdrom are on the ide bus. Do you have 'device atapicam' in your kernel configuration? Bye, Sascha ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
mod_perl
-BEGIN PGP SIGNED MESSAGE- I'd like to install mod_perl from ports on freebsd, but even if I do something as simple as 'make extract' it complains: Error: you don't have the right version of perl in /usr/bin. This is correct, I want to install it against the version of perl in /usr/local/bin *not* against the version in /usr/bin. Any advice? I cannot use the 'use.perl' script because that takes over the /usr/bin/perl binary which I must leave untouched. ~~ Andy Harrison -BEGIN PGP SIGNATURE- Version: PGP 6.5.8 iQCVAwUBPx6olVPEkLgodAWVAQExLgQAp07lJMh3McSuhkjsNvZsJux8P99o641e IDKQ5Y1/ktTJVmcBENDaolJ92jY2juJWxqIfNOwJOe68OgTV+ELN2fBDU7Xs4Snk +u99EkyPIFK7Kh5PI5jhl3Yseg8q5J+fn4GAzIie8sVcFQZe29uTLM7YyS34HGqi abe2kLp7BTU= =pAoR -END PGP SIGNATURE- ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: maildir with softupdates
Attila Nagy wrote: Hello, Is this statement still valid? ext3 is unsafe for maildir, and with softupdates, so is ffs. http://www.irbs.net/internet/postfix/0202/0358.html Yes, It's also true that any form of write-caching is unsafe, so disable the caches on your SCSI and ATA hard drives. Simply accept the terrible performance hit if you want super-reliability. Also, make sure you have redundant power supplies, UPSes and a diesel generator out back to cover power problems. In reality, anything comes with a certain amount of risk, and that statement is too vague to be useful. To my knowledge, ext3 is not unsafe by nature, it is simply unsafe by default because the default mount is async - which will generally be corrupted in the event of hardware failure. UFS+softupdates generally survives hardware failure without corruption, although it has a funny habit of losing files that were saved right before the failure. Result being that you could lose emails. However ... even a sync mount can become corrupt in the event of hardware failure, although it's much less likely. So you need to determine the risk level you're willing to accept as well as the performance you require. And you probably need to do more research than accepting that one-line statement, as it's too vague to properly describe the potential risk/benefits. This reminds me of the days when DOS first got disk-caching via a TSR (what was the name of that thing) and all the IT folks kept saying Don't use it, it's dangerous without understanding why it was dangerous. I used it anyway, because it improved performance considerably. Also, this is off-topic for -CURRENT, please remove -CURRENT from the CCs if you respond. I'm redirecting to -QUESTIONS for future discussion. -- Bill Moran Potential Technologies http://www.potentialtech.com ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: maildir with softupdates
Basically, if you want to ensure that email wont get lost, put the maildirs and mail queue on separate partitions and mount them sync. This is what I do. If you have to speed things, try first a battery backed raid controler and enable the write cache on it. Of course, you should always use an UPS and some will say you can take the risk of enabling soft-updates anyway. But realise that if you have only a small load on the mail server, then having the partition mounted sync wont make such a big difference. If you are under high load, when you need performance, you also need to mount sync, as the potential of loss is much greater... just my two cents Raphael Le Mercredi, 23 juil 2003, à 17:38 Europe/Zurich, Bill Moran a écrit : Attila Nagy wrote: Hello, Is this statement still valid? ext3 is unsafe for maildir, and with softupdates, so is ffs. http://www.irbs.net/internet/postfix/0202/0358.html Yes, It's also true that any form of write-caching is unsafe, so disable the caches on your SCSI and ATA hard drives. Simply accept the terrible performance hit if you want super-reliability. Also, make sure you have redundant power supplies, UPSes and a diesel generator out back to cover power problems. In reality, anything comes with a certain amount of risk, and that statement is too vague to be useful. To my knowledge, ext3 is not unsafe by nature, it is simply unsafe by default because the default mount is async - which will generally be corrupted in the event of hardware failure. UFS+softupdates generally survives hardware failure without corruption, although it has a funny habit of losing files that were saved right before the failure. Result being that you could lose emails. However ... even a sync mount can become corrupt in the event of hardware failure, although it's much less likely. So you need to determine the risk level you're willing to accept as well as the performance you require. And you probably need to do more research than accepting that one-line statement, as it's too vague to properly describe the potential risk/benefits. This reminds me of the days when DOS first got disk-caching via a TSR (what was the name of that thing) and all the IT folks kept saying Don't use it, it's dangerous without understanding why it was dangerous. I used it anyway, because it improved performance considerably. Also, this is off-topic for -CURRENT, please remove -CURRENT from the CCs if you respond. I'm redirecting to -QUESTIONS for future discussion. -- Bill Moran Potential Technologies http://www.potentialtech.com ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
kernel files
Hi, I would like to know, if it is safe to remove these files from /: kernel.GENERIC kernel.old Since there is already a /kernel (which should be the current one, right?) Version: 4.8-RC FreeBSD Regards Schalk Erasmus Incredible Networks ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: kernel files
I assume, the same applies to /tmp directory. What type of Maintenance is required on a BSD Server, from time to time? Regards Schalk -Original Message- From: Schalk Erasmus [mailto:[EMAIL PROTECTED] Sent: 23 July 2003 05:05 PM To: '[EMAIL PROTECTED]' Subject: kernel files Hi, I would like to know, if it is safe to remove these files from /: kernel.GENERIC kernel.old Since there is already a /kernel (which should be the current one, right?) Version: 4.8-RC FreeBSD Regards Schalk Erasmus Incredible Networks ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: ppp connection problem
Please post /var/log/ppp.log be sure to empty ppp.log before you run last test so log only contains last 2 dials Try starting using this command ppp -background -nat isp Also post your /etc/rc.conf Add this to your ppp.conf isp section set timeout 0 # no idle time out, will not disconnect disable pred1 deflate lqr# compression features line quality reporting denypred1 deflate lqr # compression features line quality reporting set log Phase Chat LCP IPCP CCP tun command #use for testing #set log Phase tun #use to avoid excessive log sizes -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Brian Henning Sent: Wednesday, July 23, 2003 9:10 AM To: freebsd Subject: ppp connection problem Greetings all: I am connecting to my isp with the following ppp.conf using the command ppp -auto isp when i run the command i usually connect on the second try. for some reason the connection drops after the first try, but my true problem is i can ping internal ips and not ips outside the network. I think my problem is with my default route is not setup properly. here is a snip of my ifconfig, for some reason i have two tun devices. i think that is caused by trying to dial up twice? any thought on how to setup my default route properly? Thanks, brian ifconfig tun0: flags=8051UP,POINTOPOINT,RUNNING,MULTICAST mtu 1500 inet 199.17.4.229 -- 199.17.4.4 netmask 0xff00 Opened by PID 111 tun1: flags=8051UP,POINTOPOINT,RUNNING,MULTICAST mtu 1500 inet 10.0.0.1 -- 10.0.0.2 netmask 0xff00 Opened by PID 121 Routing tables Internet: DestinationGatewayFlagsRefs Use Netif Expire default199.17.4.4UGSc4 2620 tun0 10.0.0.2 10.0.0.1 UH 00 tun1 127.0.0.1 127.0.0.1 UH 00lo0 199.17.4.4199.17.4.229 UH 40 tun0 /etc/ppp/ppp.conf - default: set device /dev/cuaa1 set speed 115200 set dial ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \ \\ AT OK-AT-OK ATE1Q0 OK \\dATDP\\T TIMEOUT 40 CONNECT set timeout 180 enable dns isp: set phone xxx set authname xxx set authkey xxx set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0 0.0.0.0 add default HISADDR ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
usb device problem
Dear list I am running 4.8stable and I have a problem with a USB disk on key. When I insert it into one of the USB ports, I get the error message: uhub0: device problem, disabling port 1 In the kernel, both da and umass are enabled. Any suggestion? thanks -- Giuseppe Pagnoni, Ph.D. Dept. of Psychiatry and Behavioral Sciences 1639 Pierce Drive, Suite 4000 WMB Bldg., Atlanta, GA 30322, U.S. phone: 404-712-8431 fax: 404-727-3233 e-mail: [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: kernel files
Sure you can delete those files and not hurt any thing. But they do have purpose in FBSD. Lets say you recompile kernel and for some reason when you go to boot new kernel it does not boot, you are stuck. You can reboot and select the kernel.Generic or kernel.old to bring box back to life and fix problem, so that being said, it's highly recommended to not delete those files. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Schalk Erasmus Sent: Wednesday, July 23, 2003 12:05 PM To: [EMAIL PROTECTED] Subject: kernel files Hi, I would like to know, if it is safe to remove these files from /: kernel.GENERIC kernel.old Since there is already a /kernel (which should be the current one, right?) Version: 4.8-RC FreeBSD Regards Schalk Erasmus Incredible Networks ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: maildir with softupdates
On Wed, Jul 23, 2003 at 11:38:44AM -0400, Bill Moran wrote: Attila Nagy wrote: Hello, Is this statement still valid? ext3 is unsafe for maildir, and with softupdates, so is ffs. http://www.irbs.net/internet/postfix/0202/0358.html Yes, It's also true that any form of write-caching is unsafe, so disable the caches on your SCSI and ATA hard drives. Simply accept the terrible performance hit if you want super-reliability. Forget Unix, go get VMS or (better) a Tandem ;) -- | / o / /_ _ [EMAIL PROTECTED] |/|/ / / /( (_) Bulte ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: BIND 9
On Tue, 2003-07-22 at 23:33, Kirk Strauser wrote: At 2003-07-23T03:55:47Z, Tony Sterrett [EMAIL PROTECTED] writes: I'm trying to configure both a master and slave DNS on the same machine. My approach is to run the master by setting named_enable=YES and it will use the config file in /etc/named. To start the slave I will In rc.local and it would use the config files in /etc/named/slave. Does this seems ok? Is there a better way. This seems to come up every now and then. Before we start, is there any reason you want to have two seperate named process running, instead of having one process serving as master to some domains and slave to others? No, it's generally considered {easier,better,more manageable,...} to only have one instance of BIND. BIND can be master for some domains and slave for others, so there really is no need. j. -- Jeremy L. Gaddis [EMAIL PROTECTED] http://www.gaddis.org ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Any way to stop a remote box gone crazy?
Hello I have a remote machine running FreeBSD 4.8 that runs my internet radio station (http://www.itsallgoodradio.com) and it has gone wacky. It will be several hours before anyone can get to it to reboot it. I have a ssh login prompt that is still live, but anytime I try to execute a command I get either a Segmentation Fault or if I try to su I get an Abort trap. If I try to ssh into it now I get: ssh_exchange_identification: Connection closed by remote host The bad thing is that it is still streaming the same songs over and over (I hope the RIAA doesn't find out ;-). Does anybody have any ideas I could try to stop, kill, or reboot it before we can get to it physically? Thanks -Scott ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
make world aborts with Operation not permitted
Hello all, I've been playing with the bleeding edge stuff. And so, of course, I'm bleeding. System is FREEBSD 5.1-CURRENT. make world aborts at: install -s -o root -g wheel -m 444 -fschg libcrypt.so.2 /usr/lib install: /usr/lib/libcrypt.so.2: Operation not permitted *** Error code 71 Stop in /usr/src/lib/libcrypt. *** Error code 1 Stop in /usr/src/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. (apologies if I mistyped something.) This is off of updates from last night and this morning. -- David Benfell, LCP [EMAIL PROTECTED] --- Resume available at http://www.parts-unknown.org/resume.html pgp0.pgp Description: PGP signature
httpd -l and suexec error
Any pointers FBSD 5.1 Release Apache 1.3.28 type following command to view compiled modules #httpd -l and get- Compiled-in modules: http_core.c mod_so.c suexec: disabled; invalid wrapper /usr/local/sbin/suexec This is from a straight install of apache. Shouldn't I be getting more info for installed modules? __ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Any way to stop a remote box gone crazy?
On Wed, 23 Jul 2003 [EMAIL PROTECTED] wrote: Hello I have a remote machine running FreeBSD 4.8 that runs my internet radio station (http://www.itsallgoodradio.com) and it has gone wacky. It will be several hours before anyone can get to it to reboot it. I have a ssh login prompt that is still live, but anytime I try to execute a command I get either a Segmentation Fault or if I try to su I get an Abort trap. If I try to ssh into it now I get: ssh_exchange_identification: Connection closed by remote host Hi, OK can you run dmesg at all? I guess you can. Which shell are you running as you might be able to use some of the builtin commands Cheers Rus ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
setting up arson...help please!
Anybody have arson working with a IDE Burner via SCSI emu in freebsd 5.1? I added SCSI emulation to my kernel: # ATA and ATAPI devices device ata device atadisk # ATA disk drives device atapicd # ATAPI CDROM drives device atapifd # ATAPI floppy drives device atapist # ATAPI tape drives options ATA_STATIC_ID #Static device numbering Other apps such as gcombust and xcdroast work but i cant seem to configure arson for the burner. Xcdroast recognized the drive upon startup, for gcombust i had to manually set the drive 1,0,0. In arson it wont let me add any SCSI devices such as 1,0,0 and when I press scan SCSI bus it turns up nothing. The only add button that works is IOCTL, so i tried acd0 and 1,0,0 but nothing. anyways if anyone has this working i would appreciate the assistance. Thanks, and have a great day all!! ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: HP or Compaq servers.
On Tue, Jul 15, 2003 at 08:57:17PM +0200, Grzegorz Czaplinski wrote: That would be good to have a webpage with server configurations that run under FreeBSD. Don't you think so? Keeping the list of supported individual components up-to-date is a significant challenge. Trying to keep a list of complete system configurations available is exponentially more difficult, but you're welcome to try. You first might want to compute the number of permutations from choosing, say, 6 components per system out of 1000 components. I hope everyone will help to keep this list up to date. I hope you too. Components are listed in supported hardware but I will ask people to send me the updates. I will do it as soon as I get my new servers done. Hi there! I have done the page. Here is the link: http://prioris.mini.pw.edu.pl/~gregory/FreeBSD/ Anyone who wants to share his/her experience is more than welcome the send me the hardware spec and few words on experience. I have few HP servers, three Sun workstations. I guess we need Dell, IBM, and ?. :) Cheers, gregory -- Grzegorz Czaplinski gregory at prioris.mini.pw.edu.pl The Power to Serve, Right for the Power Users! - http://www.FreeBSD.org/ Fingerprint: EB77 E19D CFA2 5736 810F 847C A70F A275 2489 469F pgp0.pgp Description: PGP signature
Re: Installing FreeBSD onto Vinum-volumes?
--On 23. juli 2003 09:19 -0500 Kirk Strauser [EMAIL PROTECTED] wrote: I've had great success with configuring an initial tiny partition as '/' and doing a minimal installation (and I mean *minimal*, as in, there's nothing else you can remove and still have it boot). The first step after booting the new system is then configuring vinum, adding volumes for /usr, /var, and so on, and moving the (small!) amount of data from the physical filesystem to their vinum counterparts. Once that's up, I do a more complete install with /stand/sysinstall. Are you able to have a mirrored root-device (/) with this approach? Or will you end up with having a single copy of / on one drive? Out of curiosity, what offsets have you had to calculate? I've read a bit of a chapter from the 4th edition of The Complete FreeBSD: http://www.vinumvm.org/cfbsd/vinum.pdf (or, as text http://www.vinumvm.org/cfbsd/vinum.txt). It suggests to install the swap-partition first on the drive, setup a slice for vinum to cover the entire drive and then run bsdlabel and change the offset and size for the swap and vinum partitions. -- Regards / Hilsen Eivind Olsen [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
virtual pcm mixing
Howdy list, Does anyone know if it's possible to mix virtual PCM devices? (i.e. /dev/dsp0.1, /dev/dsp0.2, etc...) I'm trying to run XMMS at a different volume level than my KDE SFX volume level. XMMS is using /dev/dsp0.2 and KDE is using /dev/dsp0.3. Thanks! -- Jesse Guardiani, Systems Administrator WingNET Internet Services, P.O. Box 2605 // Cleveland, TN 37320-2605 423-559-LINK (v) 423-559-5145 (f) http://www.wingnet.net ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Mozilla and long time in resolving Hostnames
--- Matthew Seaman [EMAIL PROTECTED] ha scritto: On Tue, Jul 22, 2003 at 10:04:30PM +0200, Mica ehi , I've tried the last version of Mozilla (1.4) installed via Ports updated with CVSUP , and It works perfectly with INET6 enabled . I think that mozilla team have solved ;) Bye Marcello Telodico wrote: This is a screen with mozilla working: 62.211.128.246.1246 80.20.6.36.domain: 23267+ ? www.mozilla.org. (33) 22:03:23.098096 PPPoE [ses 0xd4eb] 62.211.128.246.1247 212.216.112.112.domain: 23267+ ? www.mozilla.org. (33) 22:03:28.108364 PPPoE [ses 0xd4eb] 62.211.128.246.hermes 80.20.6.36.domain: 23267+ ? www.mozilla.org. (33) I see quite a few lookups, but no responses. It seems to be a problem with the nameservers you are using: Compare this lookup against 80.20.6.36: happy-idiot-talk:~:% dig @80.20.6.36 www.mozilla.org IN ; DiG 8.3 @80.20.6.36 www.mozilla.org IN ; (1 server found) ;; res options: init recurs defnam dnsrch ;; res_nsend to server 80.20.6.36 80.20.6.36: Operation timed out With this A lookup: happy-idiot-talk:~:% dig @80.20.6.36 www.mozilla.org IN A ; DiG 8.3 @80.20.6.36 www.mozilla.org IN A ; (1 server found) ;; res options: init recurs defnam dnsrch ;; got answer: ;; -HEADER- opcode: QUERY, status: NOERROR, id: 4 ;; flags: qr rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 0, ADDITIONAL: 0 ;; QUERY SECTION: ;; www.mozilla.org, type = A, class = IN ;; ANSWER SECTION: www.mozilla.org.0S IN CNAME gila.mozilla.org. gila.mozilla.org. 55m33s IN A 207.200.81.215 ;; Total query time: 48 msec ;; FROM: happy-idiot-talk.infracaninophile.co.uk to SERVER: 80.20.6.36 80.20.6.36 ;; WHEN: Wed Jul 23 08:39:37 2003 ;; MSG SIZE sent: 33 rcvd: 68 Note that the nameserver of 212.216.112.112 responds correctly: happy-idiot-talk:~:% dig @212.216.112.112 www.mozilla.org IN ; DiG 8.3 @212.216.112.112 www.mozilla.org IN ; (1 server found) ;; res options: init recurs defnam dnsrch ;; got answer: ;; -HEADER- opcode: QUERY, status: NOERROR, id: 4 ;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 1, ADDITIONAL: 0 ;; QUERY SECTION: ;; www.mozilla.org, type = , class = IN ;; ANSWER SECTION: www.mozilla.org.50m50s IN CNAME gila.mozilla.org. ;; AUTHORITY SECTION: mozilla.org.28m8s IN SOA meer.meer.net. hostmaster.meer.net. ( 2003060101 ; serial 3H ; refresh 1H ; retry 1W ; expiry 30M ) ; minimum ;; Total query time: 63 msec ;; FROM: happy-idiot-talk.infracaninophile.co.uk to SERVER: 212.216.112.112 212.216.112.112 ;; WHEN: Wed Jul 23 08:43:03 2003 ;; MSG SIZE sent: 33 rcvd: 112 Recommendations: 1) Complaint to your ISP or whoever it is that provides you nameservice via 80.20.6.36 (which looks like somebodies' home machine: host36-6.pool8020.interbusiness.it) Ask them if they can provide a standards compliant nameservice. 2) Reorder the nameserver lines in /etc/resolv.conf so that: nameserver 212.216.112.112 appears before nameserver 80.20.6.36 Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way PGP: http://www.infracaninophile.co.uk/pgpkey Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK ATTACHMENT part 2 application/pgp-signature __ Yahoo! Mail: 6MB di spazio gratuito, 30MB per i tuoi allegati, l'antivirus, il filtro Anti-spam http://it.yahoo.com/mail_it/foot/?http://it.mail.yahoo.com/ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: BIND 9
Unless you have a different instances listening on different interfaces/IPs as master/slave for the same domain if you only have one machine--some registrars will not permit master slave on the same IP. Or can BIND9 handle this in a single instance? Cheers, -John Jeremy Gaddis wrote: On Tue, 2003-07-22 at 23:33, Kirk Strauser wrote: At 2003-07-23T03:55:47Z, Tony Sterrett [EMAIL PROTECTED] writes: I'm trying to configure both a master and slave DNS on the same machine. My approach is to run the master by setting named_enable=YES and it will use the config file in /etc/named. To start the slave I will In rc.local and it would use the config files in /etc/named/slave. Does this seems ok? Is there a better way. This seems to come up every now and then. Before we start, is there any reason you want to have two seperate named process running, instead of having one process serving as master to some domains and slave to others? No, it's generally considered {easier,better,more manageable,...} to only have one instance of BIND. BIND can be master for some domains and slave for others, so there really is no need. j. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: BIND 9
At 2003-07-23T17:17:41Z, Jeremy Gaddis [EMAIL PROTECTED] writes: No, it's generally considered {easier,better,more manageable,...} to only have one instance of BIND. BIND can be master for some domains and slave for others, so there really is no need. I agree completely. That question was pointed at the OP; I was trying to see if there was something they were trying to accomplish that was out of the ordinary. -- Kirk Strauser pgp0.pgp Description: PGP signature
Re: make world aborts with Operation not permitted
On Wed, Jul 23, 2003 at 10:36:56AM -0700 or thereabouts, David Benfell wrote: Hello all, I've been playing with the bleeding edge stuff. And so, of course, I'm bleeding. System is FREEBSD 5.1-CURRENT. make world aborts at: install -s -o root -g wheel -m 444 -fschg libcrypt.so.2 /usr/lib install: /usr/lib/libcrypt.so.2: Operation not permitted *** Error code 71 Stop in /usr/src/lib/libcrypt. *** Error code 1 Stop in /usr/src/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. (apologies if I mistyped something.) This is off of updates from last night and this morning. Your securelevel is set higher than 0. Please reboot into single-user mode for the installworld. (You won't have to rebuild anything. Hopefully. As long as you make installworld not just world.) -- Josh -- David Benfell, LCP [EMAIL PROTECTED] --- Resume available at http://www.parts-unknown.org/resume.html ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: BIND 9
John Morgan Salomon wrote: Unless you have a different instances listening on different interfaces/IPs as master/slave for the same domain if you only have one machine--some registrars will not permit master slave on the same IP. Or can BIND9 handle this in a single instance? The requirement to have seperate nameservers is for redundancy: you are expected to actually have two real, seperate machines on two different IP addresses, so that DNS continues to work even if one nameserver fails. -- -Chuck ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: BIND 9
On Wed, 2003-07-23 at 13:45, John Morgan Salomon wrote: Unless you have a different instances listening on different interfaces/IPs as master/slave for the same domain if you only have one machine--some registrars will not permit master slave on the same IP. Isn't the requirement of providing two nameservers when registering a domain to ensure redundancy in case one is down/unreachable/etc.? Having two instances of BIND (bound to separate IP addresses) on a single machine throws this redudancy right out the window. If one only has one physical nameserver, there are web sites devoted to matching up people who agree to provide secondary DNS for each other. This has the added benefit of having your nameservers greatly separated (both physically and network wise). j. -- Jeremy L. Gaddis [EMAIL PROTECTED] http://www.gaddis.org ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: set user-id
From: Dan Nelson [EMAIL PROTECTED] To: Ryan Thompson [EMAIL PROTECTED] CC: Gerald S. Stoller [EMAIL PROTECTED], [EMAIL PROTECTED], FreeBSD Questions [EMAIL PROTECTED] Subject: Re: set user-id Date: Tue, 22 Jul 2003 14:37:29 -0500 In the last episode (Jul 22), Ryan Thompson said: If you *really* want to have suid scripts, your binary wrapper idea is quite a common trick. Don't get fancy with it, though. A one-liner to execve(2) should really be all you need. Either that, or re-code the whole thing in C (or some other compiled language). C can introduce insecurities of its own, but at least you'd (arguably) have put them there yourself. :-) I use sudo for stuff like this. I add a line like this in sudoers: I don't understand the next line! ALL ALL = NOPASSWD: /usr/local/bin/thescript ??? Setting a variable?? Okay, invoking the script and put this it the top of thescript: #! /bin/sh if [ $(id -u) -ne 0 ] ; then if [ $TRYINGSUDO = 1 ] ; then echo Cannot get admin priviledges! Exiting exit 1 else export TRYINGSUDO=1 exec sudo $0 $@ fi fi -- Dan Nelson [EMAIL PROTECTED] I tried a suggestion by Ryan (slipping in something from his email) Well, why don't you just chmod 4755 /bin/ksh, then. :-D with a slight change, I copied ksh to /bin with the name kshroot , made sure that the group on it is the group of root , and then did chmod 4750 /bin/kshroot Thus only the users who are 'close to' root (e.g., generally users who have the root password so they can become root if necessary) can run this shell whenever they need to act as root , and can use it in scripts (first line: #!/bin/kshroot). Again note that these scripts can only be invoked by users who are 'close to' root. For the other users, I'd have to use a sudo. _ MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*. http://join.msn.com/?page=features/virus ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Installing FreeBSD onto Vinum-volumes?
At 2003-07-23T18:21:42Z, Eivind Olsen [EMAIL PROTECTED] writes: Are you able to have a mirrored root-device (/) with this approach? Or will you end up with having a single copy of / on one drive? I end up with a single copy of '/'. However, I partition (both,all) drives identically, so that each has a 200MB-or-so slice at the beginning. I use rsync from a cron job to make backups of '/' to the starting slice of each drive. The reasons I do this are that: 1) Any old FreeBSD boot floppy/CD can read the mirrors of '/' in the event that the root drive dies, regardless of the state of vinum. Makes disaster recovery that much easier. 2) You get a little bit of versioning for free. Accidentally overwrite /etc/master.passwd with mergemaster? Just grab the copy from /rootbackup. Out of curiosity, what offsets have you had to calculate? I've read a bit of a chapter from the 4th edition of The Complete FreeBSD: http://www.vinumvm.org/cfbsd/vinum.pdf (or, as text http://www.vinumvm.org/cfbsd/vinum.txt). It suggests to install the swap-partition first on the drive, setup a slice for vinum to cover the entire drive and then run bsdlabel and change the offset and size for the swap and vinum partitions. Weird. I've never bothered with any of that. I always just call create with: sd length 0 drive myDrive1 and let vinum calculate the correct sizes. -- Kirk Strauser pgp0.pgp Description: PGP signature
Re: Installing FreeBSD onto Vinum-volumes?
On Wed, Jul 23, 2003 at 03:51:28PM +0200 or thereabouts, Eivind Olsen wrote: Hello. I'm about to install a new machine which will have 2 IDE-disks. I'd like to mirror some volumes between those disks while other volumes should be striped. I'd like to do this with FreeBSD 5.1. There's no data on the disks that I want/have to keep. Is it at all possible to configure Vinum and then install FreeBSD or will I have to install FreeBSD first and then convert to Vinum-volumes by manually editing the disklabel (with bsdlabel), calculating offsets etc.? In other words, is there an easy way to do this? :) Maybe. Either you get to do it the hard way, or you get to use beta software for it :-) (I already tried installing FreeBSD and then converting to Vinum but failed miserably and am now looking for an easy way out.) I think Mondo http://www.mondorescue.org might do the job here. Yeah, I'm biased (I ported the thing to BSD :-), but it seriously might work. Note that the FreeBSD port is beta, and the links on the downloads page for it are BROKEN. [*don't use them -- use CVS*] Install system to one HD. Make sure you have the ports collection, CVS, and the devtools. Install these ports: + devel/gmake + devel/newt + lang/perl + shells/bash + sysutils/afio + sysutils/cdrtools $ export CVSROOT=:pserver:[EMAIL PROTECTED]:/mondorescue $ cvs login Password: press enter $ cvs checkout mindi-fbsd [snip] $ cvs checkout mondo-devel [snip] $ unset CVSROOT $ su Password: # cd mindi-fbsd bash install.sh cd .. # cd mondo-fbsd ./configure make make install cd .. # mondoarchive : follow prompts reboot : insert CD : interactive mode [yes, you CAN type that command :-] If it asks you whether to backup the MBR raw, say yes. Make sure you set up some Vinum partitions in the mountlist editor. Add some partitions type + mountpoint raid, put in /dev/vinum/something as the device (replace something with the volume name you want, of course), press OK, edit that entry, select mountpoint, press RAID.., follow prompts. Delete all non-RAID partitions, except maybe a /boot partition or /. Note that the RAID editor is a bit suboptimal (only uses one subdisk per partition). Still, it works. Do you want to partition your disks? Yes. Do you want to format your disks? Yes. Do you want to restore everything? Yes. If it doesn't work, and you feel like it, email me the problem, along with /var/log/mondo-archive.log. HTH, -- Josh -- Eivind Olsen [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: set user-id
In the last episode (Jul 23), Gerald S. Stoller said: From: Dan Nelson [EMAIL PROTECTED] To: Ryan Thompson [EMAIL PROTECTED] CC: Gerald S. Stoller [EMAIL PROTECTED], [EMAIL PROTECTED], FreeBSD Questions [EMAIL PROTECTED] Subject: Re: set user-id Date: Tue, 22 Jul 2003 14:37:29 -0500 In the last episode (Jul 22), Ryan Thompson said: If you *really* want to have suid scripts, your binary wrapper idea is quite a common trick. Don't get fancy with it, though. A one-liner to execve(2) should really be all you need. Either that, or re-code the whole thing in C (or some other compiled language). C can introduce insecurities of its own, but at least you'd (arguably) have put them there yourself. :-) I use sudo for stuff like this. I add a line like this in sudoers: I don't understand the next line! ALL ALL = NOPASSWD: /usr/local/bin/thescript ??? Setting a variable?? Okay, invoking the script The sudoers file has a really weird syntax, but what that means is that any user (the first ALL keyword) may run thescript as root on any machine (the second ALL keyword; this allows the same file to be replicated to multiple machines) without a password prompt (the NOPASSWD: keyword). Well, why don't you just chmod 4755 /bin/ksh, then. :-D with a slight change, I copied ksh to /bin with the name kshroot , made sure that the group on it is the group of root , and then did chmod 4750 /bin/kshroot Thus only the users who are 'close to' root (e.g., generally users who have the root password so they can become root if necessary) can run this shell whenever they need to act as root , and can use it in scripts (first line: #!/bin/kshroot). Again note that these scripts can only be invoked by users who are 'close to' root. For the other users, I'd have to use a sudo. That will work, too. -- Dan Nelson [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Dead hard drive I think
Hey *, A couple weeks ago I posted some error code and someone said it was probably a dying hard drive. I believe he was correct and that the drive is actively getting worse (it's in a lights-out center in another state so I wish I could poke at it but I can't). I'm hoping someone can confirm that it is the hard drive that needs to be replaced since I will have to tell management what to buy (and accounting is CHEAP) and it would really be embarrassing to have to order a second piece of hardware. Basically these are the messages I found in /var/log/messges and dmesg (da0 is the first SCSI drive). == Jul 23 10:40:31 mas02 /kernel: (da0:ahc0:0:0:0): Invalidating pack Jul 23 10:41:01 mas02 last message repeated 454274 times Jul 23 10:41:27 mas02 last message repeated 383695 times Jul 23 10:41:28 mas02 /kernel: (da0:ahc0:0:0:0): SCB 0x2a - timed out Jul 23 10:41:28 mas02 /kernel: ahc0: Dumping Card State while idle, at SEQADDR 0x8 Jul 23 10:41:28 mas02 /kernel: ACCUM = 0x0, SINDEX = 0x38, DINDEX = 0xe4, ARG_2 = 0x0 Jul 23 10:41:28 mas02 /kernel: HCNT = 0x0 SCBPTR = 0xa Jul 23 10:41:28 mas02 /kernel: SCSISEQ = 0x12, SBLKCTL = 0xa Jul 23 10:41:28 mas02 /kernel: DFCNTRL = 0x0, DFSTATUS = 0x89 Jul 23 10:41:28 mas02 /kernel: LASTPHASE = 0x1, SCSISIGI = 0x0, SXFRCTL0 = 0x80 Jul 23 10:41:28 mas02 /kernel: SSTAT0 = 0x0, SSTAT1 = 0x8 Jul 23 10:41:28 mas02 /kernel: SCSIPHASE = 0x0 Jul 23 10:41:28 mas02 /kernel: STACK == 0x3, 0x108, 0x160, 0x0 Jul 23 10:41:28 mas02 /kernel: SCB count = 70 Jul 23 10:41:28 mas02 /kernel: Kernel NEXTQSCB = 30 Jul 23 10:41:28 mas02 /kernel: Card NEXTQSCB = 30 Jul 23 10:41:28 mas02 /kernel: QINFIFO entries: Jul 23 10:41:28 mas02 /kernel: Waiting Queue entries: Jul 23 10:41:28 mas02 /kernel: Disconnected Queue entries: 3:42 Jul 23 10:41:28 mas02 /kernel: QOUTFIFO entries: Jul 23 10:41:28 mas02 /kernel: Sequencer Free SCB List: 10 19 28 7 29 2 18 22 26 31 9 24 6 15 4 21 27 0 12 30 8 14 16 25 13 11 17 20 23 5 1 Jul 23 10:41:28 mas02 /kernel: Sequencer SCB Info: 0(c 0x60, s 0x17, l 0, t 0xff) 1(c 0x60, s 0x7, l 0, t 0xff) 2(c 0x60, s 0x17, l 0, t 0xff) 3(c 0x66, s 0x7, l 0, t 0x2a) 4(c 0x60, s 0x17, l 0, t 0xff) 5(c 0x60, s 0x17, l 0, t 0xff) 6(c 0x60, s 0x17, l 0, t 0xff) 7(c 0x62, s 0x17, l 0, t 0xff) 8(c 0x60, s 0x17, l 0, t 0xff) 9(c 0x60, s 0x17, l 0, t 0xff) 10(c 0x60, s 0x17, l 0, t 0xff) 11(c 0x60, s 0x17, l 0, t 0xff) 12(c 0x60, s 0x17, l 0, t 0xff) 13(c 0x60, s 0x17, l 0, t 0xff) 14(c 0x60, s 0x17, l 0, t 0xff) 15(c 0x60, s 0x17, l 0, t 0xff) 16(c 0x60, s 0x17, l 0, t 0xff) 17(c 0x60, s 0x7, l 0, t 0xff) 18(c 0x60, s 0x17, l 0, t 0xff) 19(c 0x62, s 0x17, l 0, t 0xff) 20(c 0x60, s 0x17, l 0, t 0xff) 21(c 0x60, s 0x17, l 0, t 0xff) 22(c 0x60, s 0x17, l 0, t 0xff) 23(c 0x60, s 0x7, l 0, t 0 xff) 24(c 0x60, s 0x17, l 0, t 0xff) 25(c 0x60, s 0x17, l 0, t 0xff) 26(c 0x60, s 0x17, l 0, t 0xff) 27(c 0x60, s 0x17, l 0, t 0xff) 28(c 0x60, s 0x17, l 0, t 0 xff) 29(c 0x62, s 0x17, l 0, t 0xff) 30(c 0x60, s 0x17, l 0, t 0xff) 31(c 0x60, s 0x17 Jul 23 10:41:28 mas02 /kernel: 0xff) Jul 23 10:41:28 mas02 /kernel: Pending list: 42(c 0x62, s 0x7, l 0) Jul 23 10:41:28 mas02 /kernel: Kernel Free SCB list: 56 3 36 61 32 60 22 21 23 15 12 19 62 67 8 14 13 9 55 69 39 52 18 64 50 25 26 35 34 31 28 29 24 58 7 38 4 5 9 43 2 49 5 16 40 0 68 17 57 65 6 20 37 44 66 53 11 54 41 47 45 63 27 10 46 1 33 51 48 Jul 23 10:41:28 mas02 /kernel: sg[0] - Addr 0xcebc000 : Length 4096 Jul 23 10:41:28 mas02 /kernel: sg[1] - Addr 0xcefd000 : Length 4096 Jul 23 10:41:28 mas02 /kernel: sg[2] - Addr 0xcebe000 : Length 4096 Jul 23 10:41:28 mas02 /kernel: sg[3] - Addr 0xcedf000 : Length 4096 Jul 23 10:41:28 mas02 /kernel: (da0:ahc0:0:0:0): Queuing a BDR SCB Jul 23 10:41:28 mas02 /kernel: (da0:ahc0:0:0:0): no longer in timeout, status = 34a Jul 23 10:41:31 mas02 last message repeated 44141 times Jul 23 10:41:31 mas02 /kernel: (da0:ahc0:0:0:0): Invalidating pack = --- Emo is what happens when the glee club goes punk. --- __ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
search replace on multiple files
Hello... I'm trying to figure out a way to pull off the following: I have a subdir with many different sorts of text files (some nested in additional subdirs, so recursion would be necessary) that need to have a search replace done on them. What's a quick way to script a global search replace on many/all text files in nested subirs? Thanks! ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Mozilla Thunderbird under Linux compatibility?
I'm trying to run a current Thunderbird build for Linux under compatibility. It's quitting with: [EMAIL PROTECTED]:~ $ ./thunderbird/thunderbird ./thunderbird/thunderbird-bin: error while loading shared libraries: libgtk-x11-2.0.so.0: cannot open shared object file: No such file or directory [EMAIL PROTECTED]:~ $ I have installed linux_base-6.1, linux_base-6.1_1 and linux_base-7.1_3. The last of these was enough to make Mozilla Firebird work properly ... Anyone else gotten Thunderbird to work? (I'd just use Mozilla 1.4 or 1.5a except that I can't run that and Firebird simultaneously ...) - d. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: search replace on multiple files
In the last episode (Jul 23), Scott I. Remick said: Hello... I'm trying to figure out a way to pull off the following: I have a subdir with many different sorts of text files (some nested in additional subdirs, so recursion would be necessary) that need to have a search replace done on them. What's a quick way to script a global search replace on many/all text files in nested subirs? find . -type f | xargs sed -i.bak s/oldtext/newtext/g -- Dan Nelson [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: search replace on multiple files
On Wed, Jul 23, 2003 at 10:56:19AM -0400 or thereabouts, Scott I. Remick wrote: Hello... I'm trying to figure out a way to pull off the following: I have a subdir with many different sorts of text files (some nested in additional subdirs, so recursion would be necessary) that need to have a search replace done on them. What's a quick way to script a global search replace on many/all text files in nested subirs? Hard way (tested): #!/usr/bin/env perl use File::Find; find sub { -f $_ or return; my $file = $_; my $filebak = ${file}~; rename $file, $filebak or die Can't rename $file to $filebak: $!\n; open FILEBAK, $filebak or die Can't open $filebak: $!\n; open FILE, $file or die Can't write to $file: $!\n; while (FILEBAK) { # Replace OLD with the search for -- a regexp # Replace NEW with the replace with s/OLD/NEW/g; print FILE $_; } }, .; # end replace.pl Easy way (not tested): find . -type f | perl -pi~ -e 's/OLD/NEW/g;' -- Josh Thanks! ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: HP or Compaq servers.
On Wed, 23 Jul 2003, Grzegorz Czaplinski wrote: On Tue, Jul 15, 2003 at 08:57:17PM +0200, Grzegorz Czaplinski wrote: That would be good to have a webpage with server configurations that run under FreeBSD. Don't you think so? Keeping the list of supported individual components up-to-date is a significant challenge. Trying to keep a list of complete system configurations available is exponentially more difficult, but you're welcome to try. You first might want to compute the number of permutations from choosing, say, 6 components per system out of 1000 components. I hope everyone will help to keep this list up to date. I hope you too. Components are listed in supported hardware but I will ask people to send me the updates. I will do it as soon as I get my new servers done. Hi there! I have done the page. Here is the link: http://prioris.mini.pw.edu.pl/~gregory/FreeBSD/ Anyone who wants to share his/her experience is more than welcome the send me the hardware spec and few words on experience. I have few HP servers, three Sun workstations. I guess we need Dell, IBM, and ?. :) Fujitsu-Siemens is sometimes quite popular, and the servers are quite reasonable. (Typing this mail from an old Primergy 351, 200MHz) Olaf -- Olaf Hoyer[EMAIL PROTECTED] Fuerchterliche Erlebniss geben zu raten, ob der, welcher sie erlebt, nicht etwas Fuerchterliches ist. (Nietzsche, Jenseits von Gut und Boese) ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: search replace on multiple files
On Wed, Jul 23, 2003 at 01:20:40PM -0700 or thereabouts, [EMAIL PROTECTED] wrote: On Wed, Jul 23, 2003 at 10:56:19AM -0400 or thereabouts, Scott I. Remick wrote: Hello... I'm trying to figure out a way to pull off the following: I have a subdir with many different sorts of text files (some nested in additional subdirs, so recursion would be necessary) that need to have a search replace done on them. What's a quick way to script a global search replace on many/all text files in nested subirs? Hard way (tested): #!/usr/bin/env perl use File::Find; find sub { -f $_ or return; my $file = $_; my $filebak = ${file}~; rename $file, $filebak or die Can't rename $file to $filebak: $!\n; open FILEBAK, $filebak or die Can't open $filebak: $!\n; open FILE, $file or die Can't write to $file: $!\n; while (FILEBAK) { # Replace OLD with the search for -- a regexp # Replace NEW with the replace with s/OLD/NEW/g; print FILE $_; } }, .; # end replace.pl Easy way (not tested): find . -type f | perl -pi~ -e 's/OLD/NEW/g;' ^ OOPS, sorry, there should be an `xargs' here -- Josh -- Josh Thanks! ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: SMC - 2402W wireless PCI ethernet card
Scott Mitchell wrote: On Sun, Jul 20, 2003 at 10:52:51PM +0300, Alin-Adrian Anton wrote: Hi guys, anyone knows if this *SMC - 2402W *is supported by FreeBSD? I am going to buy 2 x wireless cards. If any other are better supported or one knows that they work well, please tell me, so I can buy the right one. Thanks for all, Alin. Hi Alin, I'm pretty sure the answer is no... The wi(4) driver supports most cards with common 802.11b chipsets, but this device provides some nonstandard 22Mbps mode with a TI chipset that I doubt is supported in FreeBSD. The wi(4) manpage contains a reasonable list of supported chipsets and cards, although some of these are probably hard to find these days. Cheers, Scott That is true, I tested and it doesn't. Pretty hard to find the ones listed in hardware compatibility. Thanks. Alin. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
OpenSSH 3.6.1 support in RELENG_5_0?
Greetz, I just updated from 5.0 release per the RELENG_5_0 tag. I had expected that the source tree would then contain openssh-3.6.1p but after a make installworld I see that it is still at 'OpenSSH_3.5p1 FreeBSD-20021029' (according to a scanssh query.) Should I be seeing 3.6.1 or is it not in the tree? TIA -- Darren Spruell Sento I.S. Department [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: HP or Compaq servers.
On Wed, Jul 23, 2003 at 10:21:03PM +0200, Olaf Hoyer wrote: Hi there! I have done the page. Here is the link: http://prioris.mini.pw.edu.pl/~gregory/FreeBSD/ Anyone who wants to share his/her experience is more than welcome the send me the hardware spec and few words on experience. I have few HP servers, three Sun workstations. I guess we need Dell, IBM, and ?. :) Fujitsu-Siemens is sometimes quite popular, and the servers are quite reasonable. (Typing this mail from an old Primergy 351, 200MHz) Good point! I may have an access to Fujitsu-Siemens' servers in a very near future. ;) Cheers, gregory -- Grzegorz Czaplinski gregory at prioris.mini.pw.edu.pl The Power to Serve, Right for the Power Users! - http://www.FreeBSD.org/ Fingerprint: EB77 E19D CFA2 5736 810F 847C A70F A275 2489 469F ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: OpenSSH 3.6.1 support in RELENG_5_0?
In the last episode (Jul 23), Darren Spruell said: I just updated from 5.0 release per the RELENG_5_0 tag. I had expected that the source tree would then contain openssh-3.6.1p but after a make installworld I see that it is still at 'OpenSSH_3.5p1 FreeBSD-20021029' (according to a scanssh query.) Should I be seeing 3.6.1 or is it not in the tree? RELENG_5_0 is the branch for people that are running 5.0 on production systems and only want security patches. I doubt RELENG_5_0 has many differences from RELENG_5_0_0_RELEASE. You probably want to track either HEAD or RELENG_5_1, since openssh 3.6.1 got imported before FreeBSD 5.1 was released. Or if you want to stick with 5.0, install the openssh port. $ uname -r 5.1-CURRENT $ /usr/bin/ssh -V OpenSSH_3.6.1p1 FreeBSD-20030423, SSH protocols 1.5/2.0, OpenSSL 0x0090701f $ _ -- Dan Nelson [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Any way to stop a remote box gone crazy?
I get the same Segmentation fault when I try to run dmesg. I'm using the bash shell. Oddly enough I can run sh though. Another odd thing if I try to use cat with bash I get: -bash: cat: command not found but I get this if I run cat from sh: cat: no such device or address Thanks -Scott Quoting Rus Foster [EMAIL PROTECTED]: On Wed, 23 Jul 2003 [EMAIL PROTECTED] wrote: Hello I have a remote machine running FreeBSD 4.8 that runs my internet radio station (http://www.itsallgoodradio.com) and it has gone wacky. It will be several hours before anyone can get to it to reboot it. I have a ssh login prompt that is still live, but anytime I try to execute a command I get either a Segmentation Fault or if I try to su I get an Abort trap. If I try to ssh into it now I get: ssh_exchange_identification: Connection closed by remote host Hi, OK can you run dmesg at all? I guess you can. Which shell are you running as you might be able to use some of the builtin commands Cheers Rus ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Any way to stop a remote box gone crazy?
On Wed, 23 Jul 2003 [EMAIL PROTECTED] wrote: I get the same Segmentation fault when I try to run dmesg. I'm using the bash shell. Oddly enough I can run sh though. Another odd thing if I try to use cat with bash I get: -bash: cat: command not found but I get this if I run cat from sh: cat: no such device or address Thanks -Scott Try cd / echo * Rgds Rus ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Any way to stop a remote box gone crazy?
On Wed, Jul 23, 2003 at 03:28:38PM -0600 or thereabouts, [EMAIL PROTECTED] wrote: I get the same Segmentation fault when I try to run dmesg. I'm using the bash shell. Oddly enough I can run sh though. Another odd thing if I try to use cat with bash I get: -bash: cat: command not found but I get this if I run cat from sh: cat: no such device or address Wild guess: do you have LD_PRELOAD set? Quick test: unset LD_PRELOAD cat /dev/null -- Josh Thanks -Scott Quoting Rus Foster [EMAIL PROTECTED]: On Wed, 23 Jul 2003 [EMAIL PROTECTED] wrote: Hello I have a remote machine running FreeBSD 4.8 that runs my internet radio station (http://www.itsallgoodradio.com) and it has gone wacky. It will be several hours before anyone can get to it to reboot it. I have a ssh login prompt that is still live, but anytime I try to execute a command I get either a Segmentation Fault or if I try to su I get an Abort trap. If I try to ssh into it now I get: ssh_exchange_identification: Connection closed by remote host Hi, OK can you run dmesg at all? I guess you can. Which shell are you running as you might be able to use some of the builtin commands Cheers Rus ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Huge load average on mail server
I recently became responsible for our mail server, and lately, the load average on the thing has been running consistently high, in mid-20's to mid-30's. And at the same time, sendmail has become extremely sluggish in terms of responding to connections on port 25. There's got to be a bottleneck somewhere, but my experience leaves me ill-equipped to seek it out. What procedures would folks recommend for me to follow in order to try and determine the problem? Thank you, john -- +---+ | John Fox [EMAIL PROTECTED] |System Administrator | InfoStructure | +---+ | The people and friends that we have lost, the dreams that have faded... | | never forget them. -- Yuna, Final Fantasy X| +---+ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Any way to stop a remote box gone crazy?
Quoting Rus Foster [EMAIL PROTECTED]: On Wed, 23 Jul 2003 [EMAIL PROTECTED] wrote: Try cd / echo * Rgds Rus cd seems to work (I can cd to directories that I know exist, but get an error if I try to cd to a directory that doesn't), but echo always just returns * -Scott ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Any way to stop a remote box gone crazy?
cd seems to work (I can cd to directories that I know exist, but get an error if I try to cd to a directory that doesn't), but echo always just returns * hmm strange...it could be the shell as echo * on mine does and ls Rus -- www: http://jvds.com | Virtual Servers from just $15/mo MSNM: [EMAIL PROTECTED] | Totally Customizable Technology e: [EMAIL PROTECTED] | FreeBSD Linux 10% donation to FreeBSD.org on each purchase ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Any way to stop a remote box gone crazy?
Quoting [EMAIL PROTECTED]: On Wed, Jul 23, 2003 at 03:28:38PM -0600 or thereabouts, [EMAIL PROTECTED] wrote: I get the same Segmentation fault when I try to run dmesg. I'm using the bash shell. Oddly enough I can run sh though. Another odd thing if I try to use cat with bash I get: -bash: cat: command not found but I get this if I run cat from sh: cat: no such device or address Wild guess: do you have LD_PRELOAD set? Quick test: unset LD_PRELOAD cat /dev/null -- Josh I love computers, they have such a strange sense of humor. ;-) This is what happened: [EMAIL PROTECTED]:sedwards$ unset LD_PRELOADConnection to itsallgoodradio.net closed by remote host. Connection to itsallgoodradio.net closed. [EMAIL PROTECTED] sedwards]$ ssh itsallgoodradio.net ssh_exchange_identification: Connection closed by remote host Is there anything besides dmesg that I should check when someone gets to the console (assuming they can login at the console), before rebooting? Thanks -Scott ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
FreeBSD 4.8-STABLE #0, atapicam, and cdparanoia problems
cdparanoia gets stuck at the point it begins to write the first wav file. I've rebuilt the the 4-stable branch, including the atapicam device and the kernel. This is so close to working it's driving me crazy. I don't know what to do next! Does anyone have any suggestions or can confirm cdparanoia works with 4.8? Here's a cut/paste from the session. FreeBSD 4.8-STABLE #0 wotan# cdparanoia -vsB cdparanoia III release 9.8 (March 23, 2001) (C) 2001 Monty [EMAIL PROTECTED] and Xiphophorus FreeBSD porting (c) 2003 Simon 'corecode' Schubert [EMAIL PROTECTED] Report bugs to [EMAIL PROTECTED] http://www.xiph.org/paranoia/ Checking /dev/cd0c for cdrom... CDROM model sensed: PLEXTOR CD-R PX-W1210A 1.10 Checking for ATAPICAM... Drive is ATAPI (using ATAPICAM) Checking for MMC style command set... Drive is MMC style Setting default read size to 26 sectors (61152 bytes). Verifying CDDA command set... Expected command set reads OK. Table of contents (audio tracks only): tracklength begincopy pre ch === 1. 7323 [01:37.48]1 [00:00.01]no no 2 2. 8215 [01:49.40] 7324 [01:37.49]no no 2 snip 27. 8635 [01:55.10] 177812 [39:30.62]no no 2 TOTAL 186446 [41:25.71](audio only) Ripping from sector 0 (track 0 [0:00.00]) to sector 186446 (track 27 [1:55.09]) outputting to track00.cdda.wav -- Joe Sotham praxis makes Perfect. - Meister Eckhart ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Any way to stop a remote box gone crazy?
Quoting Rus Foster [EMAIL PROTECTED]: cd seems to work (I can cd to directories that I know exist, but get an error if I try to cd to a directory that doesn't), but echo always just returns * hmm strange...it could be the shell as echo * on mine does and ls Rus I guess it got tired of talking to me and hung up ;-) This is too funny, it's still out there just crankin' out the tunes. Reminds me of those stories where some rebel DJ barracaded himself in the studio and played Bob Dylan's Rainy Day Women 12 35 over and over. Anyway, thanks for your help -Scott ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Printing problems
frank brierley [EMAIL PROTECTED] writes: I have a HP deskjet 640c attached to a freebsd 4.8 box. This printer doesn't do plain text real easy, something to do with carrage return and line feed. There are a few simple printing filters on the web that help print plain text with lpd, but ghostscript has me beaten. There is a port /usr/ports/print/hpijs that I've installed but it is setup for a different HP printer. Does anyone know how to set all the ijs settings in the printing filter? Personally, I find that the apsfilter port configures my DeskJet just fine... ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Any way to stop a remote box gone crazy?
In the last episode (Jul 23), Rus Foster said: cd seems to work (I can cd to directories that I know exist, but get an error if I try to cd to a directory that doesn't), but echo always just returns * hmm strange...it could be the shell as echo * on mine does and ls echo * in an empty directory will print *, since /bin/sh passes unmatched patterns through. -- Dan Nelson [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Make Permission errors! Most odd.
Brad [EMAIL PROTECTED] writes: I've been experiencing permission errors with make intermittently. It's happening with quite a few users on the box but it's just random. It's never a certain application or a certain user/group so it's been very hard to pinpoint what the problem is, hence why I'm posting here. What is happening is basically a user will untar a file and type make after a ./configure and get make: Permission denied. When I first encountered this I believe I chmod -R 777 * in the directory that the file was untared in and that worked for me, but for some of my users who are less experienced with freeBSD won't know how and don't know how to resolve this and it shouldn't be happening in the first place. Other users say they have gotten the error and simply logged out and back in and resolved it. Anyone have any ideas what is causing this and how to fix it? tar(1) stores permissions as well as the files themselves. By default, it doesn't seem (according to a quick manual check I just did) to try to recreate those permissions when it extracts the files; it uses the umask instead. So make sure that the users have a reasonable umask by default. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Any way to stop a remote box gone crazy?
Quoting Dan Nelson [EMAIL PROTECTED]: In the last episode (Jul 23), Rus Foster said: cd seems to work (I can cd to directories that I know exist, but get an error if I try to cd to a directory that doesn't), but echo always just returns * hmm strange...it could be the shell as echo * on mine does and ls echo * in an empty directory will print *, since /bin/sh passes unmatched patterns through. -- Dan Nelson [EMAIL PROTECTED] But I would think that this means the shell couldn't open the directory to get the filenames to match? -Scott ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Tape errors
Hi, I have HP SureStore C1557A tape device. Kernel detect my drive succesfully. I run tar -c somedir and got this errors: (sa0:ahc0:0:0:0): WRITE FILEMARKS. CDB: 10 0 0 0 2 0 (sa0:ahc0:0:0:0): Deferred Error: MEDIUM ERROR asc:3b,0 (sa0:ahc0:0:0:0): Sequential positioning error field replaceable unit: 2 But I has good test pages from company where I buy this drive. And for this tapes. How can I resolve this problem? I'm off the list. -- Thursday, July 24, 2003 8:00:22 AM Best regards, Igor Kulemzin Amursky Crystall, http://www.kristal.ru E-mail: [EMAIL PROTECTED] ICQ# 165511323 - .? - ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Any way to stop a remote box gone crazy?
In the last episode (Jul 23), [EMAIL PROTECTED] said: Quoting Dan Nelson [EMAIL PROTECTED]: In the last episode (Jul 23), Rus Foster said: cd seems to work (I can cd to directories that I know exist, but get an error if I try to cd to a directory that doesn't), but echo always just returns * hmm strange...it could be the shell as echo * on mine does and ls echo * in an empty directory will print *, since /bin/sh passes unmatched patterns through. -- Dan Nelson [EMAIL PROTECTED] But I would think that this means the shell couldn't open the directory to get the filenames to match? That's also a possibility. You can use cat to tell the difference though.. Here's a ls shell function that knows the difference between an empty directory and one it can't read. Unfortunately, it requires cat, whereas plain echo * is done without forking: ls () { cat . /dev/null echo * ; } -- Dan Nelson [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Trouble reading BSD formatted HD in USB hard drive... but it worksfine in Linux!
I recently decided to move one of the drives in my main system into an external USB 2.0 case. This was done so that I could take this drive between several systems (it is primarily used for backup and data archival). Yes, I know that 1394 (FireWire) would be faster, but not all of my machines are capable of it. And some of them literally do *not* have any free PCI slots which I could insert a 1394 card into. Like I said, the drive I installed in my USB case was already formatted as a FreeBSD drive. However, once I inserted it into a USB case, I am now unable to mount the drive again. Here are the appropriate dmesg printouts: umass0: Acer Labs USB 2.0 Storage Device, rev 2.00/1.03, addr 2 da0 at umass-sim0 bus 0 target 0 lun 0 da0: USB 2.0 Storage Device 0100 Fixed Direct Access SCSI-0 device da0: 650KB/s transfers da0: 76319MB (156301488 512 byte sectors: 64H 32S/T 10783C) da0: reading primary partition table: error reading fsbn 0 da0: reading primary partition table: error reading fsbn 0 (The reading primary partition table errors appear when I try the following mount command: mount -t ufs /dev/da0s1 /mnt/backup) Now, here's the kicker: I took the same drive over to a friend's Linux box (he is running Mandrake 9.1, with Linux kernel 2.4.21-0.13mdk). Linux has had the ability, for some time now, to mount UFS partitions. So I figured what the heck and decided that I'd try mounting it on his system. Here is the dmesg printouts from when I plugged in the USB hard drive to this Linux box: hub.c: new USB device 00:11.3-1, assigned address 2 usb.c: USB device 2 (vend/prod 0x402/0x5621) is not claimed by any active driver. Initializing USB Mass Storage driver... usb.c: registered new driver usb-storage scsi2 : SCSI emulation for USB Mass Storage devices Vendor: USB 2.0 Model: Storage DeviceRev: 0100 Type: Direct-Access ANSI SCSI revision: 02 Attached scsi disk sda at scsi2, channel 0, id 0, lun 0 SCSI device sda: 156301488 512-byte hdwr sectors (80026 MB) /dev/scsi/host2/bus0/target0/lun0: p1 p1: bsd: Aha! It seems that it is able to detect this disk just fine, and it does see a BSD filesystem on it. And sure enough, issuing the command mount -t ufs -o ro,ufstype=44bsd /dev/sda1 /mnt/bsd works fine!! I am able to read any and all files on this drive. I'd really like to get this sucker going under FreeBSD, but I am frankly out of ideas and at my wit's end. I am grateful to anyone who can offer any assistance or hints/clues at this point. The kernel configuration from my FreeBSD machine is available if anyone would like to see it. In short, I enabled all USB options in the kernel config file, as well as the SCSI base code. The USB case in question is a generic case labeled only ME-320 Series 3.5/5.25 External Enclosure. It is available in several configurations; mine is the single-port USB 1.1/2.0 configuration. It apparently uses an Acer Labs USB-to-IDE bridge chip, tho I can't tell what the chip's part number is. Thanks!! -- Donald Burr of Borg [EMAIL PROTECTED] | FreeBSD: The Power to Serve! Website: http://www.borg-cube.com/| http://www.freebsd.org/ PO Box 91212, Santa Barbara CA 93190-1212 \- Tel: (805)563-0672 ICQ# 16997506 Present Day... Present Time! ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Huge load average on mail server
At 2003-07-23T21:37:46Z, John Fox [EMAIL PROTECTED] writes: What procedures would folks recommend for me to follow in order to try and determine the problem? Step one: run `top' and see what process(es) are using the most CPU. It may be something not directly related to Sendmail. For example, one of my associates wrote his own bulk mail delivery program to inject a huge number of messages into the outgoing mail (he works with an ecommerce site with a large opt-in newsletter list). A minor error in his code: if (numberOfRunningProcesses != 10) { fork(); } instead of: if (numberOfRunningProcesses = 10) { fork(); } caused his program to occasionally flip out and large several hundred running copies of itself (hi, Aaron!). -- Kirk Strauser pgp0.pgp Description: PGP signature