Re: Disabling ssh timeouts?

2009-05-12 Thread Josh Carroll
On Tue, May 12, 2009 at 10:03 PM, Steve Kargl s...@troutmask.apl.washington.edu wrote: Is there anyway to disable sshd from timing out a connection? I've tried setting  ClientAliveCountMax and ClientAliveInterval and TCPKeepAlive in sshd.conf, but no combination that I've tried has worked. My

Re: mount_cd9660 - /dev/md0: Invalid Arguement

2009-04-20 Thread Josh Carroll
On Mon, Apr 20, 2009 at 12:32 PM, Евгений Л root1...@gmail.com wrote: Hello everyone, I am trying to mount an ISO image (which was converted with with help from ccd2iso tool), I used mdconfig -a -t vnode -f ./isoimage.iso -u 3 mount -t cd9660 /dev/md3 /cdrom and mdconfig -a -f

Re: Flash 10

2009-04-19 Thread Josh Carroll
On Sun, Apr 19, 2009 at 10:32 PM, Christopher Chambers ccha...@interchange.ubc.ca wrote: Hi, Nspluginwrapper's website says that version 1.2.2 is capable of installing flash 10. When I tried it, I got the message: no appropriate viewer found. Any ideas? I just installed it with success on

Re: find command question

2009-04-09 Thread Josh Carroll
On Thu, Apr 9, 2009 at 8:01 AM, Jay Hall jh...@socket.net wrote: When using the find command with the -exec option, does the find command wait for the command being executed to finish before returning the next result? For example, if I am using find -exec {} to copy files to tape, will find

Re: memtest question on 8 GB RAM AMD64 system

2009-04-09 Thread Josh Carroll
On Thu, Apr 9, 2009 at 2:43 PM, Dino Vliet dino_vl...@yahoo.com wrote: Dear freebsd people, I have just installed 4 x 2gb kingston memory banks (Kingston HyperX 4GB 800mhz DDR2 Non-ECC CL5 (5-5-5-15) DIMM) onto my AMD 64 system with a X2 5200 CPU. The motherboard I have in this system is

Re: Why?? (prog question)

2009-03-30 Thread Josh Carroll
On Mon, Mar 30, 2009 at 10:57 PM, Gary Kline kl...@thought.org wrote: people, i've been under the weather for days and will probably be for a few more. new  and TEMPORARY meds dont like me, ugh. can anybody clue me in why the followin joinline program fails to catch if argc == 1? /*  *

Re: hardware list in a machine

2009-03-09 Thread Josh Carroll
On Mon, Mar 9, 2009 at 2:59 PM, gahn ipfr...@yahoo.com wrote: Hi all: How could I find out the list of hardware in my machine? I used dmesg and var/run/dmesg.boot, it didn't seem to help that much as I expected. which file lists all of hardware in the machine? Thanks. Give the

Re: gpac-libgpac port not building on amd64

2009-02-14 Thread Josh Carroll
On Sat, Feb 14, 2009 at 1:42 PM, Troy t...@twisted.net wrote: I just did a successful portupgrade of multimedia/gpac-libgpac but when trying to upgrade the exact same port on amd64, it fails with the following error. Thanks cc -O3 -O2 -fno-strict-aliasing -pipe -fPIC -pthread

Re: gpac-libgpac port not building on amd64

2009-02-14 Thread Josh Carroll
http://pflog.net/~floyd/gpac-libgpac.patch Oops, if anyone grabbed that patch, grab it again, I ran the diff against the wrong original Makefile that had my --disable-opengl hard-coded in there during testing. Sorry for the trouble. Josh ___

Re: coretemp for AMD?

2009-01-25 Thread Josh Carroll
On Sun, Jan 25, 2009 at 11:21 AM, Chris Whitehouse cwhi...@onetel.com wrote: Hello, Can I read cpu die temperature for my AMD Athlon 64 X2 cpu with coretemp? According to http://www.alcpu.com/CoreTemp/supportlist.html it includes AMD processors but when I load coretemp.ko sysctl still

Re: make -jN build with portmaster

2009-01-25 Thread Josh Carroll
On Sun, Jan 25, 2009 at 4:44 PM, cpghost cpgh...@cordula.ws wrote: To build ports in parallel on a 4 core machine, I usually do this manually: # cd /usr/ports/some/port # make configure make -j5 build make install clean because all steps except make build are not compatible with -jN

Re: Portupgrade thru SSH session

2009-01-20 Thread Josh Carroll
On Tue, Jan 20, 2009 at 9:10 AM, Jos Chrispijn j...@webrz.net wrote: Can someone tell me what I should attend for when I am disconnected in the middle of a portupgrade and the terminal session is aborted? The portupgrade was halted by a [yes/no] prompt, on which I had to react. Unfortunately

Re: 7.1 release / apache22 / php5

2009-01-05 Thread Josh Carroll
On Mon, Jan 5, 2009 at 7:52 PM, Jim Pazarena fqu...@ccstores.com wrote: for some odd reason, with this latest install (7.1), apache22 complains that it cannot find libphp5.so I usually compile php5 from ports and apache22 from ports after I think about it, I have never actually placed

Re: 7.1 release / apache22 / php5

2009-01-05 Thread Josh Carroll
the httpd config file isn't the issue. it hasn't changed in a few years. yes, I do have the correct entries. what I do NOT have is the actual libphp5.so library file! it doesn't exist on my system, so apache complains that it can't open it. Did you build the lang/php5 port with the Build

Re: Setting per processor (/core) affinity from within FreeBSD

2008-12-15 Thread Josh Carroll
On Mon, Dec 15, 2008 at 7:34 PM, Garrett Cooper yanef...@gmail.com wrote: Hi guys, I was wondering if anyone has written a utility for FreeBSD to tie a particular process group to a processor / core, similar to what Linux has done with taskset, so that affinity can be properly set with

Re: Mounting ext3fs partition

2008-12-03 Thread Josh Carroll
On Wed, Dec 3, 2008 at 2:45 PM, Fernando Apesteguía [EMAIL PROTECTED] wrote: Hi all, I'm running FreeBSD 7.1-BETA2. I have several partitions/filesystems in my computer and I would like to have full access to all of them. I've mounted the NTFS partition without problems (though it is

Re: Mounting ext3fs partition

2008-12-03 Thread Josh Carroll
Hi josh, Exactly, it is 256. So according to you, I can't use the mounted filesystem, right? Could you please explain in more detail, what the problem is? Thanks in advance. I believe around e2fsprogs version 1.40.5 or so, they changed the default inode size from 128 to 256. The current

Re: Xeon Quad Core (Was: Server Freezing Solid)

2008-11-24 Thread Josh Carroll
Sorry, I wasn't very clear. I am currently running FreeBSD 7.0 the regular i386 release. I would prefer to keep it that way if migration to the 64bit release would mean rebuilding from scratch (there is probably an easier way to convert an i386 release to a amd64 release). Another poster

Re: distributed shell (dancers shell)

2008-11-24 Thread Josh Carroll
On Mon, Nov 24, 2008 at 7:31 PM, Evuraan::ഏവൂരാന്‍ [EMAIL PROTECTED] wrote: How/where can I get dsh for Freebsd? attempts to compile it afresh have been failing, hence this question. thx. checking for endnetgrent... yes checking for open_dshconfig in -ldshconfig... no configure: error:

Re: Xeon Quad Core (Was: Server Freezing Solid)

2008-11-24 Thread Josh Carroll
I always thought AMD was Intel compatible. In this case, it's the reverse. Intel's EM64T extensions are compatible with AMD's X86-64. Josh ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To

Re: irq256 ????

2008-10-09 Thread Josh Carroll
I've just found in my machine's vmstat -i output: irq256: em042054 2 *snip* $ dmesg|fgrep em0 em0: Intel(R) PRO/1000 Network Connection 6.9.5 port 0x30c0-0x30df mem 0x9030-0x9031,0x90324000-0x90324fff irq 20 at device 25.0 on pci0 em0: Using MSI

Re: More RAM for buffers?

2008-10-02 Thread Josh Carroll
inactive, cache, and buffer are all different types of buffer. That is my understanding as well. I'm fairly sure that inactive is memory used by program code. When the program terminates, the memory is marked as inactive, which means the next time the program starts the code can simply be

Re: help with AWk

2008-09-27 Thread Josh Carroll
dig +short -x 1.2.3.4 | awk '{if ( $0 == ) {print PTR_NUL } else {print $0 } }' If you run the dig command without the pipe, it should give you an idea of why what you're trying is not working. dig +short -x 1.2.3.4 | wc 0 0 0 Josh

Re: Conflicting packages installing to same dir

2008-08-31 Thread Josh Carroll
there both needed as a dependency by X.Org so although your suggestionis good in theory, unf not going to work in prac, although i had tried it :) They are both dependencies because you've told it so. cd /usr/ports/x11-drivers/xorg-drivers make config Deselect either the i810 or intel

Re: Is it possible to run i386 only, on a amd64 freebsd 7?

2008-08-19 Thread Josh Carroll
O.K I understand that. So I can see that unless I have an i386 FreeBSD build, I really cannot install those i386 only software titles. In that situation I assume I can only use amd64 ports and software. I have an idea though, would it be possible to build a i386 FreeBSD on an another

Re: security updates

2008-08-15 Thread Josh Carroll
of course, for such use I will take the or stable version :-) I was sure it was easy :-) thanks jdd Just to clarify, X-STABLE does not indicate end-user stability. It indicates the ABI is (generally) stable (ABI-compatibility is maintained within a branch). There are exceptions, but this

Re: ATi Intel graphics

2008-08-13 Thread Josh Carroll
Jail. I suspect I could build the base system plus X and copy everything over to a jailed dir. Once there, I could set -m32 in the CFLAGS and CXXFLAGS of the system make.conf. Build WINE in the jail, add a /usr/local... bin32, lib32 and libexec32 to the main (non-jail) part of the OS, and

Re: F7: base system reinstall, no (open)ssh anymore...

2008-08-08 Thread Josh Carroll
Am I missing some essential settings in /etc/make.conf? What is needed there in order to get (Open)SSH from the base system? Thanks! Rob. It should be there by default. Check that /etc/make.conf (or /etc/src.conf) does not set/define: WITHOUT_OPENSSH There are other knobs that implicitly

Re: x11/kde4 tries to install kde3?

2008-08-08 Thread Josh Carroll
On Fri, Aug 8, 2008 at 10:14 AM, Kirk Strauser [EMAIL PROTECTED] wrote: When attempting to install KDE4, I get: $ cd /usr/ports/x11/kde4 $ sudo make install === Installing for kde-3.5.8_2 [...] === Checking if x11/kde4 already installed === kde-3.5.8_2 is already installed [...] Stop

Re: FreeBSD 7.0 on Xen

2008-08-08 Thread Josh Carroll
On Fri, Aug 8, 2008 at 12:04 PM, OutBackDingo [EMAIL PROTECTED] wrote: I have a working config for non-HVM systems, its stable enough to play with but not for production, if you have however a HVM machine, FreeBSD runs great under linux KVM What host OS are you using for dom0? I'm

Re: Questions about healthd and mprime

2008-08-07 Thread Josh Carroll
OK, so _now_ I've looked around and found out that a lot of folks these days heat up their CPUs by running the mprime thingy. Swell. But I don't know diddly poo about this program. So can somebody please tell me the set of best command line options for the thing if your only goal is to

Re: Questions about healthd and mprime

2008-08-07 Thread Josh Carroll
Try sysutils/k8temp. When run with -n, it only prints the CPU's temperature. U... On the system I'm most interested in at the moment, which has only _one_ athlon64 _single core_ processor in the whole system, k8temp -n prints this: 19 10 Well it may not work properly on your particular

Re: undocumented tar --unlink switch

2008-08-02 Thread Josh Carroll
Around line 37 of /usr/src/usr.sbin/pkg_install/add/extract.c there's an invocation of /usr/bin/tar with a --unlink switch, which I don't see mentioned in the tar(1) manpage. Anyone happen to know what this does, or do I need to dig into the code? My guess was that it was the long option

Re: Extracting tracks as WAV from a worn-out CD

2008-07-19 Thread Josh Carroll
Sorry this is truncated, the google mail application on blackberry doesn't include the full mail. Anyway, I would highly suggest using cdparanoia from ports. I have had great success recovering very scratched discs with it in the past. Good luck! Josh On 7/19/08, Razmig K [EMAIL PROTECTED]

Re: Core(TM)2 Quad and TOP output

2008-07-14 Thread Josh Carroll
I have new server(webserver) quad core but performans is not well (according our old webserver pent IV ). Maybe its performans depends on our web page sourcecode. FreeBSD 6.3 stable is running on it. dmesg is in below. Can you provide some more detail here? How is it slower? Serving less

Re: Core(TM)2 Quad and TOP output

2008-07-14 Thread Josh Carroll
I have new server(webserver) quad core but performans is not well (according our old webserver pent IV ). Maybe its performans depends on our web page sourcecode. FreeBSD 6.3 stable is running on it. dmesg is in below. I'm sorry, I completely missed that you were running 6.3 and not a

Re: Core(TM)2 Quad and TOP output

2008-07-14 Thread Josh Carroll
He is already running with SMP, look at this part of his dmesg: ad10: 343399MB Seagate ST3360320AS 3.AAM at ata5-master SATA300 ad12: 343399MB Seagate ST3360320AS 3.AAM at ata6-master SATA300 acd0: DVDR ASUS DRW-2014S1T/1.01 at ata7-master SATA150 SMP: AP CPU #1 Launched! SMP: AP CPU #3

Re: Too Much Context Switching? - FIXED

2008-06-30 Thread Josh Carroll
I will, probably as part of upgrading to 7.0 (which I may accelerate, given this point). I'm just ecstatic at the difference I'm already seeing, and specifically wanted to make note of it in the archives. Point very much taken, though. :-) It's trivial to change to libthr, as pointed out

Re: CPU temp's on core 2 duo, should they be significantly different?

2008-06-23 Thread Josh Carroll
I've noticed that cpu.0 is consistently hotter than cpu.1, even on an unloaded machine. Is that because that core's doing housekeeping work whilst the other is truly idle? dev.cpu.0.temperature: 44 dev.cpu.1.temperature: 29 I notice some differences on my quad-core (Q6600) CPU, too:

Re: CPU temp's on core 2 duo, should they be significantly different?

2008-06-23 Thread Josh Carroll
Not sure if the core duos work the same as older 2 CPU and 4 CPU motherboards, but there are some BIOS functions that always use the first CPU. So you never get true SMP because the hardware uses the first CPU more to service interrupts. True, but interrupt handling and minimal background

Re: mrtg peak on reboot / snmp-issue?

2008-06-15 Thread Josh Carroll
Sorry the blackberry is truncating your original mail, but yes I have noticed the same thing on my setup. In my case I am using a custom rrdtool perl script. While not a fix for the actual problem, my workaround has been to use a CDEF in my rrdgraph command to set the value to 0 if it exceeds a

Re: new hardware - compatible?

2008-06-12 Thread Josh Carroll
Intel Quad Core Extreme 3Ghz, LGA775 Asus P5K-E Motherboard (P35 chipset, Onboard LAN) I have the same motherboard, and it runs great on 7.0-RELEASE (amd64). I do not, however, use the onboard ethernet controller. I use a pair of em cards, so I can't speak to the Marvell Gigabit chipset and

Re: Make buildworld

2008-06-08 Thread Josh Carroll
I did some testing, at least for me, I get the most improvements when the number of cores or processors equals the -j number. You can make it higher, even double it, withoout hurting things, but 95% of the improvements come from matching the number of processes to the number of available

Re: telnet to mail server from outside does not get 220, telnet from inside works

2008-05-12 Thread Josh Carroll
On Mon, May 12, 2008 at 10:04 AM, brad davison [EMAIL PROTECTED] wrote: Is there something I need to configure in telnetd or sendmail to allow 'outside' IP addresses to telnet to the mail server and get a 220 response? When I 'telnet localhost 25' i get: email# telnet localhost 25

Re: coretemp 70C = CPU too hot?

2008-05-09 Thread Josh Carroll
On Thu, May 8, 2008 at 10:55 PM, Nerius Landys [EMAIL PROTECTED] wrote: Howdy. I purchased a 1U 10 inch deep server machine a few months ago: http://www.abmx.com/1u-10inch-deep-supermicro-mini-server-p-366.html?osCsid=80f3951929d5a7ae27a51733627ee18a The CPU is a Xeon 3xxx dual core 2.4 GHz.

Re: growisofs: inapropriate ioctl for device

2008-05-09 Thread Josh Carroll
On Fri, May 9, 2008 at 4:31 PM, Steve Franks [EMAIL PROTECTED] wrote: I get the following from growisofs -Z/dev/acd0=image.iso: :-( unable to CAMGETPASSTHRU for /dev/acd0: Inappropriate ioctl for device Use /dev/cd0, not /dev/acd0. Josh ___

Re: Cross compiling i386 packages on amd64

2008-05-06 Thread Josh Carroll
On Tue, May 6, 2008 at 12:21 PM, Andrew Cid [EMAIL PROTECTED] wrote: Hi all, I have an i386 jail running on an amd64 host that I use to build packages. Most packages build fine, however I have a few that fail. This includes xorg (dri won't build) and mplayer. In all cases I get an

Re: make buildworld

2008-05-04 Thread Josh Carroll
On Sun, May 4, 2008 at 10:03 AM, Aguiar Magalhaes [EMAIL PROTECTED] wrote: Hi list, How can i fix the error below ? Thanks, Aguiar # make buildworld - - - - - - - - - - - - - - - - - - - - - cc -O2 -fno-strict-aliasing -pipe -I/usr/src/lib/libc/include -I/usr/src/lib/li

Re: How to switch scheduler on 7.0?

2008-04-15 Thread Josh Carroll
n Tue, Apr 15, 2008 at 9:59 PM, Daniel Tourde [EMAIL PROTECTED] wrote: Hi! I would like to switch scheduler on my FreeBSD 7.0 box but I don't know how to do that. The scheduler by default has terrible performances under KDE/Gnome and I would like to test the new one. See the following

Re: How to switch scheduler on 7.0?

2008-04-15 Thread Josh Carroll
What made you believe it is the scheduler? -- Mel There were some reports of problems with responsiveness with the 4BSD scheduler in 7.0 leading up to its release, so it's certainly a possibility. Josh ___ freebsd-questions@freebsd.org mailing

Re: which ports tag should i follow?

2008-03-31 Thread Josh Carroll
On Tue, Apr 1, 2008 at 12:26 AM, CY Teng [EMAIL PROTECTED] wrote: Hi, i'm a newbie to freebsd. after reading handbook, i chose 7.0-stable and cvsup src-all, and now i don't know which ports tag to cvsup? does ports cvs tree have RELENG_7 tag too, or i should follow tag .? Generally, you

Re: Any software that can do X windows screen capture (with mouse cursor)

2008-03-18 Thread Josh Carroll
On Tue, Mar 18, 2008 at 12:54 PM, Patrick Dung [EMAIL PROTECTED] wrote: Hello As title, I have tried xwd, it can't capture mouse curosr. The import program that's part of the ImageMagick port can do so: import image.png Then draw a box around whatever you want to screen shot. Alternatively,

Re: pkg_list mypackage?

2008-03-13 Thread Josh Carroll
The online FreeBSD manual in the 4.4 Using the Packages System part doesn't mention a command to list the files that were installed through a package. What is the equivalent of eg. pkg_list mypackage? Have a look at the pkg_info man page. The option you're looking for is -L. Regards,

Re: libicui18n.so.36 not found, required by evolution

2008-02-09 Thread Josh Carroll
On Feb 9, 2008 12:17 PM, E. J. Cerejo [EMAIL PROTECTED] wrote: Running FBSD 6.3 and after updating the ports where icu was one of the ports to be updated I'm getting the libexec/ld-elf.so.1: Shared object libicui18n.so.36 not found, required by evolution error, I can see that the new version

Re: passive ftp transfer with pkg_add

2008-01-27 Thread Josh Carroll
Thank you very much! When I want to revert it, will it suffice to type: export FTP_PASSIVE_MODE=false unset FTP_PASSIVE_MODE will unset the variable. Regards, Josh ___ freebsd-questions@freebsd.org mailing list

Re: home dir executable (!/bin/sh, chmod+x) shell scripts won't run without sh script

2008-01-07 Thread Josh Carroll
I keep reading about making sh scripts executable with #!/bin/sh on the first line and chmod to executable. That works with all my system scripts (rc, etc.) or my system would be DOA, no doubt. When I do it in my home folder, however, running script gives command not found. That typically

Re: home dir executable (!/bin/sh, chmod+x) shell scripts won't run without sh script

2008-01-07 Thread Josh Carroll
How are you running the commands? The problem is probably to do with your path. Your home directory isn't typically and shouldn't be in your PATH (try echo $PATH). You need to specify the full path to your scripts or place a ./ in front of the script name if in the same directory. e.g.

Re: Help for very bad perf for MySQL

2007-11-27 Thread Josh Carroll
Is Hyperthreading enabled (by default it is not under FreeBSD) mysql is heavily dependent on threading, if it is not built and linked into the freebsd threads package you will get poor performance. Some folks have installed the linux compat libs and linked mysql into the linux threads

Re: FreeBSD Production Release ISO images

2007-11-19 Thread Josh Carroll
I'm wondering if the FreeBSD 6.2 Production Release ISO images get updated periodically when there are important patches, or is it better to download the latest snapshot to save the trouble of updating everything after installing? No, the ISOs remain the same as when the release happens. You

Re: semi-OT: awk - field separator

2007-11-15 Thread Josh Carroll
What is the canonical way to get (FreeBSD default) awk to use a single double-quote as the field separator? I have tried variations on -F\\\ and -F\ and the best I can get is: + awk -F {print $2} ./script.sh: 1: Syntax error: word unexpected awk -F'' That's a single quote, then a

Re: Installing ports to /usr

2007-11-14 Thread Josh Carroll
Would there be any negative ramifications to installing ports in /usr instead of /usr/local? Like could they potentially clobber system binaries and other files or is this pretty safe to do? More importantly, why do you want/need to do this? I personally like the separation of world and ports.

Re: disk drive serial number

2007-11-11 Thread Josh Carroll
is there a way to get the serial number from a drive from within the OS? im trying to audit the drives in my file server, but without pulling the thing from the rack and cracking it open. they are just standard sata drives, not on any sort of raid controller (ie, i know 3ware cards are

Re: disk drive serial number

2007-11-11 Thread Josh Carroll
That's the _model_ number, not the _serial_ number, yes? Oops. Indeed. I misread the question. :/ Josh ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to

Re: C compiler cannot create executables

2007-11-06 Thread Josh Carroll
configure: error: C compiler cannot create executables I googled for awhile and found the suggestion to reinstall libtool, but that also fails with the same error. Can you paste the config.log from the port's work source directory (where configure is located)? Can you try the following and

Re: Dangers of using a non-base shell

2007-10-30 Thread Josh Carroll
It's been drawn to my attention not to use bash from the ports collection, because if one of it's dependencies (gettext or libiconv) fails or is updated significantly, it could break, and prevent login. The suggested solution was to use a base shell (such as sh) and append 'bash -l' to .shrc

Re: Problem with VNC on AMD64

2007-10-29 Thread Josh Carroll
What version of VNC are you running.. ? vnc-4.1.2_2 from ports. I wonder if this is related to it compiling against ancient XFree86 source? Josh ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions

Re: Problem with VNC on AMD64

2007-10-29 Thread Josh Carroll
vnc-4.1.2_2 from ports. I wonder if this is related to it compiling against ancient XFree86 source? The tightvnc port has the same problem, actually. Same message in the vnc log, but also another: X Error of failed request: BadValue (integer parameter out of range for operation) Major

Re: Problem with VNC on AMD64

2007-10-28 Thread Josh Carroll
So VNC server will run, and I can connect to it from a VNC-client, but the window manager fails to start correctly. I am having the same problem. My vnc log looks similar: *snip* X Error of failed request: BadValue (integer parameter out of range for operation) Major opcode of failed

Re: forcing compilation/run time linking of lib32 on amd64

2007-10-24 Thread Josh Carroll
I am writing some demo code (for teaching C) and need to have the same program run on a 32 bit machine and a 64 bit machine (showing that int's are always word length)... I have 8-current amd64 how do I force it to compile with 32 bit words? Add the following to your gcc command line: -m32

Re: Per-port options in make.conf?

2007-10-23 Thread Josh Carroll
Is there any way to specify options in make.conf on a per-port basis? Yes, something like this should work: .if ${.CURDIR:M*/portnamehere*} WITHOUT_X11=yes .endif Josh ___ freebsd-questions@freebsd.org mailing list

Re: Can login using root password, but not remotely with SSH

2007-10-22 Thread Josh Carroll
At computer terminal: PAM authentication error for root from 192.168.XXX.XXX ssh access for root is disabled by default, for good reason. ssh as a normal user, then su to root instead. Josh ___ freebsd-questions@freebsd.org mailing list

Re: defend from - :() { ::; } ;

2007-10-22 Thread Josh Carroll
Please do not try to execute this: :() { ::; } ;: on your BSD machine. I ask all who already tried it how to defend from this? man login.conf Josh ___ freebsd-questions@freebsd.org mailing list

Re: Strange perl script

2007-10-17 Thread Josh Carroll
The stangest thing is that I cann't find sploger on my system. After a reboot sploger doesn't appear anymore, which makes it more stranger. So you have done a: find / -name sploger -type f And nothing comes up? If that's the case, it sounds like it was a perl script that was run, then

sshd+pam problem on a fresh 6.2-RELEASE (amd64) install

2007-09-29 Thread Josh Carroll
On a fresh install of FreeBSD 6.2 (amd64), I've run into a problem with sshd and PAM. When the box first boots up, I cannot ssh in. I am immediately disconnected. If I look in /var/log/auth.log, I see: Sep 29 03:20:47 pflog sshd[68798]: in openpam_load_module(): no pam_opieaccess.so found Sep 29

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

2007-09-29 Thread Josh Carroll
On 9/29/07, Aryeh Friedman [EMAIL PROTECTED] wrote: I have more then 4gb and was wondering why it didn't all show up is there anyway to do a in place upgrade (I have a lot of user data)... also someone should think about changing the naming on the iso/cpu types since 20 years of industry

Re: sshd+pam problem on a fresh 6.2-RELEASE (amd64) install

2007-09-29 Thread Josh Carroll
Any ideas? I tried doing an ldd on /usr/lib/pam* inside the /etc/rc.d/sshd script, but the output is identical when it starts up on boot as when I restart it. No missing libraries/etc. Problem solved! In going from 32-bit to 64-bit, my login.conf really needed to change. I had a default memory

Re: End-of-life for my amd64 ?

2007-09-19 Thread Josh Carroll
Thanks for the feedback. It's always good to hear it works fine anti-bug-reports :) Kris This is getting a bit off topic, so pardon me. :) I picked a bad time to try to move to 7-CURRENT, just after the gcc 4.2.1 integration. Many ports would not compile properly, etc. I hope that stabilizes

Re: GAIM??

2007-09-19 Thread Josh Carroll
On my ubuntu srver I've used gaim for quite awhile. When I looked for it with locate on my new server the file said it was going away by fall. Is there ea new, improved port? gary It was renamed to pidgin, which is in ports here: /usr/ports/net-im/pidgin

Re: Building a new workstation - dual or quad-core CPU for FreeBSD 7?

2007-09-15 Thread Josh Carroll
In general, if you are running a multi-process or multi-threaded workload, FreeBSD 7 will be able to make good use of 8 CPU cores. Over the past 2 years we have done extensive benchmarking and optimizations that have resulted in *huge* performance improvements on many common workloads on

Re: Building a new workstation - dual or quad-core CPU for FreeBSD 7?

2007-09-15 Thread Josh Carroll
Yes, 4BSD is still the default, although you definitely want to use ULE for performance reasons (NB: only on 7, dont use ULE on 6). I don't know whether the release engineers plan to change that default, but I will check. Great, thanks for the info. Good to know, I'll be sure to use ULE when

Re: Building a new workstation - dual or quad-core CPU for FreeBSD 7?

2007-09-15 Thread Josh Carroll
That's good to know. You should be using libthr for threaded performance though :) That benchmark is probably almost all userland though, so performance may not suffer much from libpthread. Oh I wasn't sure if libthr was the preferred thread library for 6.2 also (I'd heard that was the case

Re: FreeBSD 4.7 make question

2007-09-07 Thread Josh Carroll
On 9/7/07, Jason Lieurance [EMAIL PROTECTED] wrote: Hi, I didn't keep our 4.7 up to date and now 'make' errors out whenever you try to update ports or install any software. How do I fix this issue? Update your ports tree with the RELEASE_4_EOL tag, then try again. Note that FreeBSD 4.x is no

Re: Monitoring CPU usage on multi-core system

2007-08-27 Thread Josh Carroll
On 8/27/07, Paul Hoffman [EMAIL PROTECTED] wrote: Hi again. On a dual-core system, how do I tell how much of each of the CPU cores are in use? Is the CPU usage in 'top' for the two CPUs at once? Is there something in ports (that works without X...) that will give good info? The CPU states

Re: Building UNSTRIPPED binaries in ports?

2007-08-21 Thread Josh Carroll
Is there some make.conf or compile time flag that I can set that would prevent the stripping from happening? Or would I just have to manually edit the makefile someplace -- and if so, can anyone give a pointer as to where? Setting the strip command to /bin/true or something, perhaps -- but

Re: freebsd 7 release date :)

2007-08-20 Thread Josh Carroll
I'm not suggesting we lay out a strict timeline, as I'd much prefer the releases when they're ready, but simply a page saying, 'Hey, FreeBSD x.y release is coming soon, we're currently working on 'blah.'' Something more than what's here then? http://www.freebsd.org/releng/ Josh

Re: Bizzare routing table entry.

2007-08-07 Thread Josh Carroll
root# route delete 00xc0a80132 [1] 37343 route: writing to routing socket: No such process delete net 0: not in table 0xc0a80132: Command not found. [1] + Exit 1route delete 0 root# route delete 00xc0a80132 [1] 37343 route: writing to routing

Re: Forcing a port to install?

2007-08-02 Thread Josh Carroll
On 8/2/07, Chris Maness [EMAIL PROTECTED] wrote: If a port has been black listed by portaudit, how do you install it anyway? From the ports(7) man page: DISABLE_VULNERABILITIES If defined, disable check for security vulnerabilities using portaudit(1)

Re: Waiting for BIND security announcement

2007-08-01 Thread Josh Carroll
You need wait no longer...the security advisory just went out with a patch: http://security.freebsd.org/advisories/FreeBSD-SA-07:07.bind.asc Josh ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions

Re: Why doesn't FreeBSD clear /tmp on bootup?

2007-05-03 Thread Josh Carroll
I've seen OpenBSD and some other variants of Unix clearing /tmp on bootup. But FreeBSD doesn't seem to do so. Is there any specific reason for this variation or is it just a matter of taste between these different Operating Systems? You can put the following in rc.conf to do this:

find processes with pages in swap

2007-04-19 Thread Josh Carroll
Hello, I was wondering if there is a utility that allows you to query swap and determine which processes currently have virtual pages in swap. I couldn't find any way from the pstat/swapinfo man pages, but hopefully I'm overlooking something. Regards, Josh

Re: completly remove (or modify) a port

2007-04-18 Thread Josh Carroll
what is the way to either remove the stored configuration file, or to manually pass the parameters to make. A look at the Makefile and the other files in /usr/ports/mail/postfix didn't turn up any hints. You can either: make rmconfig or just: make config Then re-build/install it. Josh

Re: Migrating from i386 to AMD64

2007-04-17 Thread Josh Carroll
Now.. Can I just use the same SMP kernel I have currently (assuming the correct drivers are loaded) for the X2 processor if I just want to run it in 32 bit mode? Yes, it should work fine. You may need to update /etc/fstab of course, and any other settings that need to change along with the

Re: No CD/DVD devices found after booting from FreeBSD 6.2 CD 1

2007-04-11 Thread Josh Carroll
Because before it starts it relies on BIOS to provide services (in 16-bit x86 mode), but after the kernel starts, it must use its own drivers (32-bit or 64-bit, depending on your choice) and it seems it doesn't have the right drivers. Most CD/DVD drives are standard and register as ATA or SCSI

Re: script perl with sed command

2007-04-08 Thread Josh Carroll
Interesting. Is that old perl syntax (v4, etc)? Just curious because most of the documentation and examples switched to: No, he's using a function prototype. In this particular case, he's saying the supfile_set_default_host function will take two scalars as arguments. For more info: perldoc

Re: Problem with portupgrade

2007-04-06 Thread Josh Carroll
deimos# portupgrade -PR libmpeg2 [Updating the portsdb format:bdb_btree in /usr/ports ... - 16851 port entries found {lines cut} . done] [missing key: categories: Cannot read the portsdb! database file error {following some ruby errors regarding the fact that the db can't be read?!} Try

Re: automatically starting PostgreSQL

2007-04-02 Thread Josh Carroll
Execute rights, yes, but you shouldn't rename it to foo.sh under 6.2 -- that's not how things are supposed to work in recent releases. Without the PROVIDE: in the rc script, it won't get executed unless it has an .sh extension. man rc has details, but .sh should still work and I think is

Re: Help Finding Disk Drive Usage

2007-03-30 Thread Josh Carroll
So why does du report only 2.0 GB of usage while df reports over 6 GB? Where has my storage gone? Or do I not understand proper usage of du? If you removed files that still had open file handles (e.g. from /var/log), they are likely still allocated and showing up in df, but not du since

Re: SATA DVD-RW drive not recognised by FreeBSD

2007-03-29 Thread Josh Carroll
I have some trouble with my SATA-DVDRW. It's not recognised in the boot process, although I think all kernel settings are correct. A SATA harddisk works fine. Is there a general issue with SATA-dvd burners? At least in 6.x and I assume 6-STABLE (unless support has been MFC'd), SATA ATAPI

Re: LD_LIBRARY_PATH

2007-03-28 Thread Josh Carroll
New to FreeBSD. How can I update my LD_LIBRARY_PATH? In Linux I modify my /etc/ld.so.conf file and run ldconfig. Is there an equivalent here? A pointer to docs would be fine. There are a couple of ways. First, you can look at /etc/defaults/rc.conf for the default value of ldconfig_paths. On

Re: the art of pkgdb -F

2007-03-27 Thread Josh Carroll
Stale dependency: p5-Authen-SASL-2.09 - p5-GSSAPI-0.24 (security/p5-GSSAPI): p5-Geography-Countries-1.4 (score:26%) ? ([y]es/[n]o/[a]ll) [no] Well this one is pretty obvious. Look at what the stale dependency is, and what it's suggesting? :) Sometimes it can be less clear, though. You just

  1   2   >