problem killing a process with its pid
I have been trying to kill the process by pulling natd.pid below are 3 typical examples among a couple dozens I tried kill -9 $(natd.pid) Illegal variable name kill -9 '/var/run/natd.pid' kill: Arguments should be jobs or process id's cat /var/run/natd.pid | kill -9 (no error returned, but natd process is still up) could someone help? thanks. -- Best Regards Richard Yang [EMAIL PROTECTED] [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: problem killing a process with its pid
Thank you :) actually, kill -9 $(cat /var/run/natd.pid |cut -d -f1) in a script will work... (4 hours of work for this) for some reason, 'kill' doesn't think 'cat natd.pid' is a valid pid. i have to specially cut the first part out to get it straight i am using csh i tried your suggestions just now and below are the result kill -9 `cat /var/run/natd.pid` kill: Arguments should be jobs or process id's kill -9 `cat /var/run/natd.pid|cut -d -f1` kill: Arguments should be jobs or process id's what do you think is the reason? i most certainly flunk my shell... hehe rich 2008/9/14 Agus [EMAIL PROTECTED] 2008/9/14 Richard Yang [EMAIL PROTECTED]: I have been trying to kill the process by pulling natd.pid below are 3 typical examples among a couple dozens I tried kill -9 $(natd.pid) Illegal variable name kill -9 '/var/run/natd.pid' kill: Arguments should be jobs or process id's cat /var/run/natd.pid | kill -9 (no error returned, but natd process is still up) could someone help? thanks. -- Best Regards Richard Yang [EMAIL PROTECTED] [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] Hi, I dont think this ways are correctly form... You probably want to kill the PID thats in that file, so the use as a variable, has no use...hehe kill -9 `cat /var/run/natd.pid` Notice the quotes aren simple..they are like an ascent towards the left that will probably work If not you can also use the xargs command in the last one u put, before the kill -9... Cheers, Brahama -- Best Regards Richard Yang [EMAIL PROTECTED] [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: problem killing a process with its pid
i just found i am on csh thanks a lot anyway :) 2008/9/14 Yury Michurin [EMAIL PROTECTED] Try: kill -9 `cat /var/run/natd.pid` (works for me on tcsh) On Sun, Sep 14, 2008 at 9:33 AM, Richard Yang [EMAIL PROTECTED]wrote: I have been trying to kill the process by pulling natd.pid below are 3 typical examples among a couple dozens I tried kill -9 $(natd.pid) Illegal variable name kill -9 '/var/run/natd.pid' kill: Arguments should be jobs or process id's cat /var/run/natd.pid | kill -9 (no error returned, but natd process is still up) could someone help? thanks. -- Best Regards Richard Yang [EMAIL PROTECTED] [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- Best Regards Richard Yang [EMAIL PROTECTED] [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: problem killing a process with its pid
[EMAIL PROTECTED]:~ top [1] 72002 [EMAIL PROTECTED]:~ echo 72002 test [1] + Suspended (tty output)top [EMAIL PROTECTED]:~ kill -9 `cat ./test` [1]Killedtop try tcsh =) On Sun, Sep 14, 2008 at 10:28 AM, Richard Yang [EMAIL PROTECTED]wrote: i just found i am on csh thanks a lot anyway :) 2008/9/14 Yury Michurin [EMAIL PROTECTED] Try: kill -9 `cat /var/run/natd.pid` (works for me on tcsh) On Sun, Sep 14, 2008 at 9:33 AM, Richard Yang [EMAIL PROTECTED]wrote: I have been trying to kill the process by pulling natd.pid below are 3 typical examples among a couple dozens I tried kill -9 $(natd.pid) Illegal variable name kill -9 '/var/run/natd.pid' kill: Arguments should be jobs or process id's cat /var/run/natd.pid | kill -9 (no error returned, but natd process is still up) could someone help? thanks. -- Best Regards Richard Yang [EMAIL PROTECTED] [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- Best Regards Richard Yang [EMAIL PROTECTED] [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: problem killing a process with its pid
Richard Yang [EMAIL PROTECTED] wrote: I have been trying to kill the process by pulling natd.pid Is the rc script, which can be used to stop natd, not working? below are 3 typical examples among a couple dozens I tried kill -9 $(natd.pid) Illegal variable name kill -9 '/var/run/natd.pid' kill: Arguments should be jobs or process id's cat /var/run/natd.pid | kill -9 (no error returned, but natd process is still up) In bash, you could: # kill -9 $(cat /var/run/natd.pid) -- Sahil Tandon [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: problem killing a process with its pid
Another question, why my $SHELL return csh, but only bash scripts work? i am really really confused... thanks rich 2008/9/14 Richard Yang [EMAIL PROTECTED] please see below 2008/9/14 Sahil Tandon [EMAIL PROTECTED] Richard Yang [EMAIL PROTECTED] wrote: I have been trying to kill the process by pulling natd.pid Is the rc script, which can be used to stop natd, not working? it is working. i am setting up natd rules, so i want to make sure updated rules apply :) below are 3 typical examples among a couple dozens I tried kill -9 $(natd.pid) Illegal variable name kill -9 '/var/run/natd.pid' kill: Arguments should be jobs or process id's cat /var/run/natd.pid | kill -9 (no error returned, but natd process is still up) In bash, you could: # kill -9 $(cat /var/run/natd.pid) for some reason, i need kill -9 $(cat /var/run/natd.pid|cut -d -f1) in a script and run the script to work... what is the equivalent, if i want to invoke it in command line under csh? thanks a lot -- Sahil Tandon [EMAIL PROTECTED] -- Best Regards Richard Yang [EMAIL PROTECTED] [EMAIL PROTECTED] -- Best Regards Richard Yang [EMAIL PROTECTED] [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: How to test an unsupported scanner (CanoScan LiDe 90)?
Peter Ulrich Kruppa schrieb: I have purchased a scanner yet unsupported by sane (CanoScan LiDe 90). It is at least detected by # sane-find-scanner -q found USB scanner (vendor=0x04a9 [Canon], product=0x1900 [CanoScan], chip=GL842) at libusb:/dev/usb1:/dev/ugen0 - No /dev/uscanner0 is produced. - # scanimage -L says no scanners were identified. I would like to test if it might work with sane-genesys backend. How can I do this? I am running FreeBSD 7.1-PRERELEASE amd64 . In the meantime I have played around a little bit: I put vendor and product id's into /usr/src/sys/dev/usb/uscanner.c and usbdevs and rebuilt my kernel. So now I get # dmesg | grep uscanner uscanner0: Canon CanoScan, class 255/255, rev 2.00/3.07, addr 2 on uhub1 which changes: # sane-find-scanner -q found USB scanner (vendor=0x04a9, product=0x1900) at /dev/uscanner0 Also I tried an appropriate entry in /usr/local/etc/sane/genesys.conf but the result of # scanimage -L remains the same (not identified) and # scanimage -d genesys:/dev/uscanner0 image.pnm scanimage: open of device genesys:/dev/uscanner0 failed: Invalid argument Greetings, Uli. Thanks for your answers, comments, help, etc.. Greetings, Uli. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: pc with 4G memory
gahn wrote: hello: the machine i am using for freebsd has 4G memory. should i add follow lines in my customized kernel file?: # Compile acpi in statically since the module isn't built properly. Most # machines which support large amounts of memory require acpi. device acpi You didn't say anything relevant to your case: which version of FreeBSD are you using?, which architecture? ACPI is pre-loaded as a kernel module in all recent versions of FreeBSD and adding it directly in the kernel wouldn't accomplish anything. I assume you're using i386 (e.g. the 32-bit variant of FreeBSD). In this case you have only two options if you want to use 4 GB or more memory: * Use a PAE kernel, which works fairly well, but doesn't support kernel modules (if you are not familiar with kernel modules then you probably don't need them so ignore this). There's a pre-packaged kernel configuration named PAE for this. * Switch to a 64-bit version (usually, this means you have to reinstall the system using the 64-bit install CD). The 64-bit version is called AMD64 and it also runs on Intel CPUs. signature.asc Description: OpenPGP digital signature
Re: x3550 ServeRAID-8k and FBSD 7, group limit
Yury Michurin wrote: We are currently considering to purchase IBM x3550 with ServeRAID-8k, in order to run FreeBSD 7 with RAID5, but it is very unclear from what I've saw on the Internet, whether the driver support on FreeBSD is stable enough for production use, I've never had problems with it, and I didn't heard of any serious problems others had. and I've left with many questions unanswered, with which I hope you'll be kind to help me =) 1. Is FreeBSD supports the device right after install or I need to recompile the kernel? It's available by default. This is the aac driver: http://www.freebsd.org/cgi/man.cgi?aac 2. Is tools for manage the RAID available? If no, how you rebuild the array on drive failure (and how to detect it)? You can use the aaccli management tool : http://www.freshports.org/sysutils/aaccli/ I've just remember i had another unanswered question, not related to x3550: 3. When I've used FreeBSD 6.2, it had a limitation, that a user can be member only of N groups (don't remember exactly, i think N = 15), however i couldn't find any official documentation of that issue, nor if it still exists in FBSD 7, so is it? =) It still exists and AFAIK it won't be changed soon because of the need to support NFS. You could try raising the issue again on the current@ list. signature.asc Description: OpenPGP digital signature
Re: server is crashing constantly
Jonathan Horne wrote: I have a new web server for a moderately high traffic website that i have recently deployed for a friend. it has apache22, php5, and mysql50 on it (latest from ports). this server is crashing 2-3 times a day, and thus far i have no idea where to start troubleshooting this. That is what im getting in the /var/log/messages. Sep 13 20:09:25 rps savecore: reboot after panic: page fault Sep 13 20:09:25 rps savecore: writing core to vmcore.0 Here is the uname: FreeBSD rps.rangerpowersports.com 7.0-RELEASE-p4 FreeBSD 7.0-RELEASE-p4 #0: Fri Sep 5 01:58:09 CDT 2008 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/RPS i386 Any ideas or recommendations about where to start looking to track this down would really be appreciated. Enable dumpdev and dumpdir in rc.conf, here's the manual excerpt: dumpdev (str) Indicates the device (usually a swap partition) to which a crash dump should be written in the event of a system crash. If the value of this variable is ``AUTO'', the first suitable swap device listed in /etc/fstab will be used as dump device. Otherwise, the value of this variable is passed as the argument to dumpon(8). To disable crash dumps, set this variable to ``NO''. dumpdir (str) When the system reboots after a crash and a crash dump is found on the device specified by the dumpdev variable, savecore(8) will save that crash dump and a copy of the ker- nel to the directory specified by the dumpdir variable. The default value is /var/crash. Set to ``NO'' to not run savecore(8) at boot time when dumpdir is set. Then, when it crashes, inspect the dump. See here: http://www.freebsd.org/doc/en/books/developers-handbook/kerneldebug-gdb.html If you suspect it's a FreeBSD problem and not a hardware problem, you'll need to send debugging data similar to that in the example in handbook. signature.asc Description: OpenPGP digital signature
KDE config not being saved at logoff
Freebsd 7.0 xorg/kde. Changes made in kde stay in effect only for the session. Logoff and log back in with startx command line command and previous config settings are gone. How do I save config setting between login sessions? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: KDE config not being saved at logoff
From Kmenu - Control Center, choose (I believe it is called) KDE Regional Settings, where there is a Session Management menu. Choose whichever one you like: Start Empty Session, Restore Last Session, etc. -- Glen Barber ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Being a shell provider - good business?
On Sun, 14 Sep 2008 09:34:16 +0200 Art Vandelay [EMAIL PROTECTED] wrote: Hello. My friend thinks that being a shell provider for IRC bots and bouncers is very good business. How do I convince him it's not? Ask him what the pay scale is. -- Jerry [EMAIL PROTECTED] Ask not what's inside your head, but what your head's inside of. J. J. Gibson signature.asc Description: PGP signature
Re: Being a shell provider - good business?
On Sun, Sep 14, 2008 at 9:34 AM, Art Vandelay [EMAIL PROTECTED] wrote: Hello. My friend thinks that being a shell provider for IRC bots and bouncers is very good business. How do I convince him it's not? Sorry for going off-topic and cross-post, but I don't know who else to ask. Thanks, NRS http://nrk.no/p3/program/national_rap_show/ I'm serious, I'm trying to get him to use his BSD servers for other purposes. Maybe webhosting. Maybe a grid to help out local universities in their supercomputing. Or just plain consulting. Isn't there any research article out there showing just how silly and profitless that whole business model is? Thanks guys, NRS http://nrk.no/p3/program/national_rap_show/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Being a shell provider - good business?
On Sun, 14 Sep 2008 15:14:38 +0200 Art Vandelay [EMAIL PROTECTED] wrote: On Sun, Sep 14, 2008 at 9:34 AM, Art Vandelay [EMAIL PROTECTED] wrote: Hello. My friend thinks that being a shell provider for IRC bots and bouncers is very good business. How do I convince him it's not? Sorry for going off-topic and cross-post, but I don't know who else to ask. I'm serious, I'm trying to get him to use his BSD servers for other purposes. Maybe webhosting. Maybe a grid to help out local universities in their supercomputing. Or just plain consulting. Isn't there any research article out there showing just how silly and profitless that whole business model is? Maybe I am missing something here. The equipment that you are referring to belongs to your friend and not you, correct? If your friend is happy with his business model and is not conclusively and adversely effecting you, what business of yours is it what he does? I would personally be quite annoyed if some buttinsky http://www.thefreedictionary.com/buttinsky continually interfered with my business. Just my 2¢. -- Jerry [EMAIL PROTECTED] Prunes give you a run for your money. signature.asc Description: PGP signature
Re: Being a shell provider - good business?
actually i agree here, running a shell server for 10 USD a head per month, is a good idea especially for your freinds who need to learn, just do the math, 100 users at 10 USD a month and guess what your making money, though its the getting users to use and abide by good usage policies is the other trick it is a great tool for universities to teach students with also On Sun, Sep 14, 2008 at 8:37 PM, Subhro [EMAIL PROTECTED] wrote: Honestly speaking, I would say its easy money. Thanks Subhro On 9/14/08, Art Vandelay [EMAIL PROTECTED] wrote: On Sun, Sep 14, 2008 at 9:34 AM, Art Vandelay [EMAIL PROTECTED] wrote: Hello. My friend thinks that being a shell provider for IRC bots and bouncers is very good business. How do I convince him it's not? Sorry for going off-topic and cross-post, but I don't know who else to ask. Thanks, NRS http://nrk.no/p3/program/national_rap_show/ I'm serious, I'm trying to get him to use his BSD servers for other purposes. Maybe webhosting. Maybe a grid to help out local universities in their supercomputing. Or just plain consulting. Isn't there any research article out there showing just how silly and profitless that whole business model is? Thanks guys, NRS http://nrk.no/p3/program/national_rap_show/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- Sent from Gmail for mobile | mobile.google.com Subhro Kar Software Engineer Dynamic Digital Technologies Pvt. Ltd. EPY-3, Sector: V Salt Lake City 700091 India ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
nvidia-xconfig
Hello! I can not make my xorg.conf work with nvidia-xconfig. I do execute the command and it gives me always the following error: (II) Primary Device is: PCI 01:00:0 (WW) NVIDIA(0): The NVIDIA GeForce2 MX/MX 400 GPU installed in this system is (WW) NVIDIA(0): supported through the NVIDIA 96.43.xx Legacy drivers. (WW) NVIDIA(0): Please visit http://www.nvidia.com/object/unix.html for (WW) NVIDIA(0): more information. The 173.14.12 NVIDIA driver will ignore (WW) NVIDIA(0): this GPU. Continuing probe... (EE) No devices detected. Fatal server error: no screens found The nvidia module it is loaded to the kernel: Id Refs AddressSize Name 1 11 0xc040 906518 kernel 21 0xc0d07000 6a32cacpi.ko 31 0xc246b000 e000 fuse.ko 41 0xc3482000 6e2000 nvidia.ko 51 0xc3b64000 22000linux.ko Both nvidia and xorg packages are up to date nyana# portversion|grep nvidia nvidia-driver = nvidia-xconfig = nyana# portversion|grep xorg xorg= xorg-apps = xorg-docs = xorg-drivers= xorg-fonts-100dpi = xorg-fonts = xorg-fonts-75dpi= xorg-fonts-cyrillic = xorg-fonts-miscbitmaps = xorg-fonts-truetype = xorg-fonts-type1= xorg-libraries = xorg-protos = xorg-server = Do you have any idea what should I try? Laci ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: nvidia-xconfig
Dánielisz László wrote: Hello! I can not make my xorg.conf work with nvidia-xconfig. I do execute the command and it gives me always the following error: (II) Primary Device is: PCI 01:00:0 (WW) NVIDIA(0): The NVIDIA GeForce2 MX/MX 400 GPU installed in this system is (WW) NVIDIA(0): supported through the NVIDIA 96.43.xx Legacy drivers. (WW) NVIDIA(0): Please visit http://www.nvidia.com/object/unix.html for (WW) NVIDIA(0): more information. The 173.14.12 NVIDIA driver will ignore (WW) NVIDIA(0): this GPU. Continuing probe... (EE) No devices detected. Fatal server error: no screens found You are using the wrong version of the driver for your hardware. Do you have any idea what should I try? Laci Uninstall the nvidia-driver, and install x11/nvidia-driver-96xx ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: nvidia-xconfig
It is working fine now! Thank you! - Original Message From: Manolis Kiagias [EMAIL PROTECTED] To: Dánielisz László [EMAIL PROTECTED] Cc: freebsd-questions@freebsd.org Sent: Sunday, September 14, 2008 4:45:05 PM Subject: Re: nvidia-xconfig Dánielisz László wrote: Hello! I can not make my xorg.conf work with nvidia-xconfig. I do execute the command and it gives me always the following error: (II) Primary Device is: PCI 01:00:0 (WW) NVIDIA(0): The NVIDIA GeForce2 MX/MX 400 GPU installed in this system is (WW) NVIDIA(0): supported through the NVIDIA 96.43.xx Legacy drivers. (WW) NVIDIA(0): Please visit http://www.nvidia.com/object/unix.html for (WW) NVIDIA(0): more information. The 173.14.12 NVIDIA driver will ignore (WW) NVIDIA(0): this GPU. Continuing probe... (EE) No devices detected. Fatal server error: no screens found You are using the wrong version of the driver for your hardware. Do you have any idea what should I try? Laci Uninstall the nvidia-driver, and install x11/nvidia-driver-96xx ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
dmesg: mute pcm0 (sound stuff) output?
hi, running -CURRENT from a few days ago. my problem: I never get verbose boot messages complete from start to end, because the output of that super-duper pcm0 driver overflows the buffer: from 1491 lines in dmesg(8), 979 are like: 'dmesg -a': (this is where dmesg output starts(!), with the beginning missing) controller mem 0xf7005000-0xf7005fff irq 21 at device 2.0 on pci0 ... pci1: serial bus, FireWire at device 14.0 (no driver attached) pcm0: NVidia MCP61 High Definition Audio Controller mem 0xf700- 0xf7003fff irq 23 at device 5.0 on pci0 pcm0: DMA Coherency: Uncacheable / vendor=0x10de pcm0: Reserved 0x4000 bytes for rid 0x10 type 3 at 0xf700 ioapic0: routing intpin 23 (PCI IRQ 23) to vector 52 pcm0: [MPSAFE] pcm0: [ITHREAD] pcm0: hdac_dma_alloc: size=1024 - roundsz=1024 pcm0: hdac_dma_alloc: size=2048 - roundsz=2048 ... pcm0: HDA_DEBUG: HDA Config: on=0x off=0x (971 more lines about pcm0 cruft deleted) how can i get rid of all that excess pcm0 info? I already tried to set: ``hw.snd.verbose=0'', ``kern.consmsgbuf_size=16384'' in boot/loader.conf, but it doesn't help. pcm(4) doesn't mention any more verboseness settings, neither does loader.conf(5). somebody got an idea? -c ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: x3550 ServeRAID-8k and FBSD 7, group limit
First of all thank you for the replay =) You have any idea what other alternatives I have for the group limit? I want to implement a webserver that running under www/www, and can read directory of user1/user1 (user/group) by adding www to user1's group, so far so good, except the group limit =) On Sun, Sep 14, 2008 at 2:47 PM, Ivan Voras [EMAIL PROTECTED] wrote: Yury Michurin wrote: We are currently considering to purchase IBM x3550 with ServeRAID-8k, in order to run FreeBSD 7 with RAID5, but it is very unclear from what I've saw on the Internet, whether the driver support on FreeBSD is stable enough for production use, I've never had problems with it, and I didn't heard of any serious problems others had. and I've left with many questions unanswered, with which I hope you'll be kind to help me =) 1. Is FreeBSD supports the device right after install or I need to recompile the kernel? It's available by default. This is the aac driver: http://www.freebsd.org/cgi/man.cgi?aac 2. Is tools for manage the RAID available? If no, how you rebuild the array on drive failure (and how to detect it)? You can use the aaccli management tool : http://www.freshports.org/sysutils/aaccli/ I've just remember i had another unanswered question, not related to x3550: 3. When I've used FreeBSD 6.2, it had a limitation, that a user can be member only of N groups (don't remember exactly, i think N = 15), however i couldn't find any official documentation of that issue, nor if it still exists in FBSD 7, so is it? =) It still exists and AFAIK it won't be changed soon because of the need to support NFS. You could try raising the issue again on the [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: logcheck doesn't work anymore
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Marco Beishuizen wrote: On Fri, 12 Sep 2008 18:02:37 -0400 Greg Larkin [EMAIL PROTECTED] wrote: Hi Marco, Right you are! In fact, after my initial logcheck commit, someone opened a PR stating something very similar to what you noted: http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/127255 The submitter's point is that the logcheck user should not be part of the wheel group, since that also confers the ability to su to root and read many files that should be private. A patch has been committed very recently to remove the logcheck user from the wheel group and change the verbiage in pkg-message: http://www.freebsd.org/cgi/cvsweb.cgi/ports/security/logcheck/files/pkg-install.in.diff?r1=1.1;r2=1.2 http://www.freebsd.org/cgi/cvsweb.cgi/ports/security/logcheck/files/pkg-message.in.diff?r1=1.1;r2=1.2 Any file that needs to be analyzed by logcheck will now have to be readable by the logcheck group instead of the wheel group. Best regards, Greg - -- Greg Larkin I upgraded to the latest version today and now there is a separate logcheck group. But logcheck still only works when the logfiles have permission 644. Most of them had permissions set to 600 but then I get the same error messages as before. Or should I change the owner of all logfiles from root to logcheck and then the permissions back to 600? Regards, Marco Hi Marco, Yes, you will need to make the files readable by logcheck, according to the instructions displayed after the port is installed, but you don't need to chance the owner of the files to be analyzed, just the group and group permissions: Please make sure that all files listed in /usr/local/etc/logcheck/logcheck.logfiles are readable to the 'logcheck' group (see also /etc/newsyslog.conf), or remove them from the aforementioned logcheck configuration file. In my installation, logcheck.logfiles contains the following. I believe this is the default when the port is first installed: # these files will be checked by logcheck # This has been tuned towards a default syslog install /var/log/messages /var/log/auth.log When I check the permissions on these files, I see: fbsd70# ls -l /var/log/messages /var/log/auth.log -rw-r- 1 root wheel 63339 Sep 14 12:44 /var/log/auth.log -rw-r--r-- 1 root wheel 47346 Sep 14 12:48 /var/log/messages I can tell that /var/log/messages is readable by the logcheck group (other = read), but /var/log/auth.log is not (other = none). To fix this problem, I change the group of the /var/log/auth.log file like so: fbsd70# chgrp logcheck /var/log/auth.log fbsd70# ls -l /var/log/messages /var/log/auth.log -rw-r- 1 root logcheck 63339 Sep 14 12:44 /var/log/auth.log -rw-r--r-- 1 root wheel 47346 Sep 14 12:48 /var/log/messages Finally, I'll add the members of the wheel group to the logcheck group so anyone in that group can still read the file as they could before: fbsd70# grep ^wheel: /etc/group wheel:*:0:root,glarkin fbsd70# grep ^wheel: /etc/group | awk -F : '{ print $4 }' | xargs \ -n1 pw groupmod logcheck -m fbsd70# grep ^logcheck: /etc/group logcheck:*:915:root,glarkin Now the logcheck, root, and glarkin user can all read /var/log/auth.log, and the logcheck script should work fine. I hope that clears everything up. If you have any further questions or problems, please post back here. Best regards, Greg - -- Greg Larkin http://www.FreeBSD.org/ - The Power To Serve http://www.sourcehosting.net/ - Ready. Set. Code. -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.7 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFIzUM+0sRouByUApARAkK5AKCfeXkA/W5+0YByPuGBqgQkZjxM3gCgybwj zs5Qhzqab1OPwA/C70yjaUs= =KRZ2 -END PGP SIGNATURE- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Sysinstall doesn't detect IDE hard drives
I believe you need to have the IDE drive as the master for your configuration. I think your problem is with mixing SATA and IDE drives, so sysinstall is choosing the default boot disk. -- Glen Barber ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: x3550 ServeRAID-8k and FBSD 7, group limit
I've looked into it, but i don't seems to understand if the the files inherit the properties... lets say if i have /home/user/ i set ACL for it, does files in it inherit the dir's ACL or i need to set it manually for each one? as it seems to me, i do, and it does not solve my problem ;\ since, lets say user1 uploads his files with sftp, i need then set somehow manually the ACL for user 'www' to read the files. Best regards, Yury. On Sun, Sep 14, 2008 at 8:12 PM, Diego F. Arias R. [EMAIL PROTECTED]wrote: On Sun, Sep 14, 2008 at 11:59 AM, Yury Michurin [EMAIL PROTECTED] wrote: First of all thank you for the replay =) You have any idea what other alternatives I have for the group limit? I want to implement a webserver that running under www/www, and can read directory of user1/user1 (user/group) by adding www to user1's group, so far so good, except the group limit =) On Sun, Sep 14, 2008 at 2:47 PM, Ivan Voras [EMAIL PROTECTED] wrote: Yury Michurin wrote: We are currently considering to purchase IBM x3550 with ServeRAID-8k, in order to run FreeBSD 7 with RAID5, but it is very unclear from what I've saw on the Internet, whether the driver support on FreeBSD is stable enough for production use, I've never had problems with it, and I didn't heard of any serious problems others had. and I've left with many questions unanswered, with which I hope you'll be kind to help me =) 1. Is FreeBSD supports the device right after install or I need to recompile the kernel? It's available by default. This is the aac driver: http://www.freebsd.org/cgi/man.cgi?aac 2. Is tools for manage the RAID available? If no, how you rebuild the array on drive failure (and how to detect it)? You can use the aaccli management tool : http://www.freshports.org/sysutils/aaccli/ I've just remember i had another unanswered question, not related to x3550: 3. When I've used FreeBSD 6.2, it had a limitation, that a user can be member only of N groups (don't remember exactly, i think N = 15), however i couldn't find any official documentation of that issue, nor if it still exists in FBSD 7, so is it? =) It still exists and AFAIK it won't be changed soon because of the need to support NFS. You could try raising the issue again on the [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] Maybe ACLs -- mmm, interesante. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: How to test an unsupported scanner (CanoScan LiDe 90)?
Hi! Seems that the CanoScan LiDe 90 is one of the scanners built by Canon that are not supported well. That's a reason to avoid them. :-) I had similar issues with a LiDE 45 (I think it was), and I did soon replace it with a SCSI scanner that worked out of the box without problems. On Sun, 14 Sep 2008 11:40:54 +0200, Peter Ulrich Kruppa [EMAIL PROTECTED] wrote: Peter Ulrich Kruppa schrieb: I have purchased a scanner yet unsupported by sane (CanoScan LiDe 90). Mayve the SANE team will get this scanner to work later on. But at this point in time, the scanner will be outdated. :-) In the meantime I have played around a little bit: I put vendor and product id's into /usr/src/sys/dev/usb/uscanner.c and usbdevs and rebuilt my kernel. So now I get # dmesg | grep uscanner uscanner0: Canon CanoScan, class 255/255, rev 2.00/3.07, addr 2 on uhub1 which changes: # sane-find-scanner -q found USB scanner (vendor=0x04a9, product=0x1900) at /dev/uscanner0 Also I tried an appropriate entry in /usr/local/etc/sane/genesys.conf but the result of # scanimage -L remains the same (not identified) and # scanimage -d genesys:/dev/uscanner0 image.pnm scanimage: open of device genesys:/dev/uscanner0 failed: Invalid argument This indicates that this scanner works differently than those usually supported by the genesys backend. I love Canon for making things complicated exactly this way. Maybe this scanner is compatible to another driver, but that's only a guess. Maybe it's not compatible to anything that exists. -- Polytropon From Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Being a shell provider - good business?
On Saturday 13 September 2008, Art Vandelay said: Hello. My friend thinks that being a shell provider for IRC bots and bouncers is very good business. How do I convince him it's not? Sorry for going off-topic and cross-post, but I don't know who else to ask. Ask him how he's going to deal with all the angry users when one of his script kiddie users gets the IP k-lined from all the irc servers. Or how he's going to deal with law enforcement after one of his accounts uses the shell for nefarious purposes. At the ISP I worked for we stopped offering shell accounts to all but our most trusted clients for those exact reasons. The only way I would even consider it would be to have a block of IPs and jail every user. Even then it's a legal and security minefield. Beech -- --- Beech Rintoul - FreeBSD Developer - [EMAIL PROTECTED] /\ ASCII Ribbon Campaign | FreeBSD Since 4.x \ / - NO HTML/RTF in e-mail | http://people.freebsd.org/~beech X - NO Word docs in e-mail | Skype: akbeech / \ - http://www.FreeBSD.org/releases/7.0R/announce.html --- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: How to test an unsupported scanner (CanoScan LiDe 90)?
Hello! Polytropon schrieb: Hi! On Sun, 14 Sep 2008 11:40:54 +0200, Peter Ulrich Kruppa [EMAIL PROTECTED] wrote: Peter Ulrich Kruppa schrieb: I have purchased a scanner yet unsupported by sane (CanoScan LiDe 90). Mayve the SANE team will get this scanner to work later on. But at this point in time, the scanner will be outdated. :-) Perhaps they can get it running before my WinXP laptop is outdated :-) Actually I wonder if I have got a general communication problem between FreeBSD and the scanner or if the sane-backend itself is unusable. If I could make the scanner react somehow I could ask people on sane-devel list for good ideas. Greetings, Uli. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Jailing net/skype
Tobias Rehbein [EMAIL PROTECTED] writes: #kdump -f ktrace.out | head 84180 skypeCALL access(0x292b2b61,R_OK) 84180 skypeNAMI /compat/linux/etc/ld.so.preload 84180 skypeNAMI /etc/ld.so.preload 84180 skypeRET access JUSTRETURN 84180 skypeCALL open(0x292b2d49,O_RDONLY,unused0) 84180 skypeNAMI /compat/linux/etc/ld.so.cache 84180 skypeNAMI /compat/linux 84180 skypeNAMI /compat/linux/etc/ld.so.cache 84180 skypeRET open 3 84180 skypeCALL freebsd6_mmap(0x3,0xbfbfe324,invalid690704336,MAP_SHARED|MAP_PRIVATE|MAP_RENAME|MAP_NORESERVE|MAP_HASSEMAPHORE|MAP_STACK|MAP_NOSYNC,0x2e6f732e,0x68636163,0x646165,0,0,0,0,0,0,0,0,0,... (lots of '0,'s) The funny thing is kdump itself coredumps when dumping the whole thing out (I guess that has something todo with this endless '...0,0,0,0,0...' sequence). You should use devel/linux_kdump here instead of the native one. WBR -- Boris Samorodov (bsam) Research Engineer, http://www.ipt.ru Telephone Internet SP FreeBSD committer, http://www.FreeBSD.org The Power To Serve ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: logcheck doesn't work anymore
On Sun, 14 Sep 2008 13:00:47 -0400 Greg Larkin [EMAIL PROTECTED] wrote: Finally, I'll add the members of the wheel group to the logcheck group so anyone in that group can still read the file as they could before: fbsd70# grep ^wheel: /etc/group wheel:*:0:root,glarkin fbsd70# grep ^wheel: /etc/group | awk -F : '{ print $4 }' | xargs \ -n1 pw groupmod logcheck -m fbsd70# grep ^logcheck: /etc/group logcheck:*:915:root,glarkin When trying to add root and marco to the logcheck group I get: ... #grep ^wheel: /etc/group | awk -F : '{ print $4 }' | xargs \ -n1 pw groupmod logcheck -m #xargs: -n1: No such file or directory ... Should I add them manually to /etc/group? Or is this not enough to make it work. Regards, Marco -- Around computers it is difficult to find the correct unit of time to measure progress. Some cathedrals took a century to complete. Can you imagine the grandeur and scope of a program that would take as long? -- Epigrams in Programming, ACM SIGPLAN Sept. 1982 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: logcheck doesn't work anymore
On Sun, 14 Sep 2008 21:34:48 +0200 Marco Beishuizen [EMAIL PROTECTED] wrote: When trying to add root and marco to the logcheck group I get: ... #grep ^wheel: /etc/group | awk -F : '{ print $4 }' | xargs \ -n1 pw groupmod logcheck -m #xargs: -n1: No such file or directory ... Should I add them manually to /etc/group? Or is this not enough to make it work. Regards, Marco Sorry, my fault, I removed the backslash and it worked. -- Met vriendelijke groet, Marco Beishuizen Marco Beishuizen Consultancy BV Koekoeklaan 8 2566JS Den Haag 06-14150567 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: [6.3] Upgrading PHP5?
On Thu, 04 Sep 2008 15:43:34 +0200, DA Forsyth [EMAIL PROTECTED] wrote: install 'portupgrade' then do portupgrade -vrR php5 That did the trick. Thanks guys. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: logcheck doesn't work anymore
On Sun, 14 Sep 2008 13:00:47 -0400 Greg Larkin [EMAIL PROTECTED] wrote: Now the logcheck, root, and glarkin user can all read /var/log/auth.log, and the logcheck script should work fine. I hope that clears everything up. If you have any further questions or problems, please post back here. Yes, all is working fine now. Thanks for the help! Regards, Marco -- Life is like a bowl of soup with hairs floating on it. You have to eat it nevertheless. -- Flaubert ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Router Web Interface?
On Sun, Sep 14, 2008 at 7:46 PM, Chris Telting [EMAIL PROTECTED]wrote: I'm searching ports for a web management router application for a firewall. Something generic that is similar to what we all find on SOHO routers. I'm searching the ports tree and other resources now. Not sure what they are calling so I'm asking the list... thanks in advance. Also I'm possibly interested in a small web server application to go along with it, don't quite see a reason for a full blown apache implementation. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] if you want a very small web server I would look at nginx it's growing in population along with popularity and the web management you could look at pfw if you use pf or use the ipfw one ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD 7.0 install on Acer Aspire AM1640-U1401A
Quoting Christer Hermansson [EMAIL PROTECTED]: Joseph Olatt wrote: Hello, I have tried installing the following versions of FreeBSD: - 7.0 Release - 6.2 Release - 6.1 Release on an ACER Aspire AM1640-U1401A computer and the install program is not detecting the SATA hard drive. Does anybody else on the list have the above computer and have they succeeded in installing FreeBSD on it? I have an Acer Aspire AMD and had issues initially installing FBSD. What are you seeing when booting the installion cd? Do you get any errors? ed Any hints or feedback will be greatly appreciated. regards, joseph ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] Maybe this is a very late reply but I haven't read this list for a while and this post/problem seems unsolved so I make a reply. Maybe you need to adjust the settings in the bios. I have the experience that to install and run Windows XP I need to *disable* native sata in the bios on some notebooks, e.g. HP 6710B, but to install and run Linux I must *enable* native sata in the bios. -- Christer Hermansson http://www.chdevelopment.se ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: CVS log
In the last episode (Sep 14), Walker said: Is there a CVS log that is web accessible and allows me to search for all changes between two releases (for example, version 7.0 and the upcoming 7.1)? http://ftp.cz.freebsd.org/pub/FreeBSD-cvs/main/CVSROOT/commitlogs/ (and some of the other regional FreeBSD sites) has all the commit entries. 7.0 was released in late February, so if you look at all the files between then and now, only looking at things committed to the RELENG_7 branch, you'll have your changes. If you install the subversion port, the command svn log -v -r '{2008-2-27}:HEAD' svn://svn.freebsd.org/base/stable/7/ will print all commits to the RELENG_7 branch between then and now. -- Dan Nelson [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
CVS log
Is there a CVS log that is web accessible and allows me to search for all changes between two releases (for example, version 7.0 and the upcoming 7.1)? Thank you. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]