NFS server not responding, new in 6.0

2006-05-02 Thread David Kirchner
We recently replaced FreeBSD 4.5 with 6.0-RELEASE on a pair of servers. One of the servers runs rsync to copy its contents to the other server, over a NFS mount. Everything worked just fine under 4.5, but with 6.0, we're seeing dozens of these errors every rsync: May 2 14:00:59 xxx1 kernel: nfs

sendmail patches

2006-03-22 Thread David Kirchner
The patches listed in the recent advisory about sendmail don't currently exist on the FTP server. Does this mean: a) They're just not there yet. b) They were there, but they were taken down because of some problem with them. I'm concerned it may be b) because the advisory indicates they're not

http://www.freebsd.org/projects/bigdisk/

2005-12-30 Thread David Kirchner
Could someone help me find the contact information for the person who is responsible for the bigdisk page? I have a suggested update (related to PR kern/84589) that may help other people using multi-terabyte servers get better usability from FreeBSD. ___

Developer's Handbook DDB instructions

2005-12-30 Thread David Kirchner
I'm trying to track down a background fsck deadlock bug. I've found a thread on groups.google.com about another person having a similar problem but with snapshots. The suggestion made there was to compile a kernel with DDB, and the user was referred to the Developer's Handbook.

Re: how to see process in /proc filesystem???

2005-11-24 Thread David Kirchner
On 11/24/05, Javier Matos [EMAIL PROTECTED] wrote: Hello, I know that /proc filesystem provide an interface to see process in the computer but the problem is that mi /proc folder is empty and I donĀ“t know how to enable it. You can mount /proc with: mount -t procfs /proc /proc

Re: php mail()

2005-11-23 Thread David Kirchner
On 11/23/05, Kim johansen [EMAIL PROTECTED] wrote: I cant get the mail function in php to work. If i try to run a script with the mail() function, the script is just sleeping, doing nothing. Have enabled debug in php, but dont got any errors. sendmail works fine if i use it from commandline.

Re: background fsck

2005-11-20 Thread David Kirchner
On 11/20/05, Wojciech Puchar [EMAIL PROTECTED] wrote: what is the rule to decide if filesystem may be background checked or not? for example my / is checked foreground, while /home checked background. can't root partition be background checked too? The root partition is probably checked in

Re: pausing boot process

2005-11-17 Thread David Kirchner
On 11/17/05, Eric F Crist [EMAIL PROTECTED] wrote: On Nov 17, 2005, at 10:27 AM, James Bailie wrote: J. W. Ballantine wrote: Is there someway to pause the scrolling/process so the error is read-able?? No. After the system boots, log in as, or su to, root, and invoke dmesg to

Re: Release engineering confusion

2005-11-16 Thread David Kirchner
On 11/16/05, Steve Bertrand [EMAIL PROTECTED] wrote: Thank you. However, that entire page out of the handbook pretty much clarifies that a production environment should *not* track either STABLE or CURRENT. So I'm assuming I'm best off with RELENG_6_0 etc, etc? Does anyone here actually run

Re: Release engineering confusion

2005-11-16 Thread David Kirchner
On 11/16/05, Steve Bertrand [EMAIL PROTECTED] wrote: -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of David Kirchner D'oh. I had no idea my From header looked like that. Another gmail frustration. I do only have a handful of servers, however

Re: Need urgent help regarding security

2005-11-16 Thread David Kirchner
On 11/16/05, Mark Kane [EMAIL PROTECTED] wrote: I also see a psyBNC server listening on port 7978: server# sockstat -l4 | grep psybnc USER COMMANDPID FD PROTO LOCAL ADDRESS FOREIGN ADDRESS wicked6 psybnc 15819 3 tcp4 *:7978*:* Funny thing is there

Re: ntpdate

2005-11-15 Thread David Kirchner
On 11/15/05, dick hoogendijk [EMAIL PROTECTED] wrote: I have a ntpdate -b server rule in my rc.conf before the ntpd daemon starts up. I get error msgs that the time server cannot be found. Is named run before or after ntpdate? Should I change the rule in something like ntpdate -b ip ? What is

Re: copying standard input to standard output

2005-11-12 Thread David Kirchner
On 11/12/05, Noah [EMAIL PROTECTED] wrote: Hi there, I am wanting to copy standard output to a file. I know that 'tee' will do this fine. blah | tee it but I am find that on some occasions processes will not output when pipping to tee. other than screen what are some applications that

Re: Obtaining release 4.1

2005-11-12 Thread David Kirchner
On 11/11/05, Dinh C. Nguyen [EMAIL PROTECTED] wrote: Hi, I am trying to download release 4.1 from the website and I am unable to connect to either of the ftp sites from FreeBSD.org. I was wondering if the server is down because I would like to get a copy of release 4.1. Thank you. Dinh

Re: how do I tell FreeBSD to sync, for real ?

2005-11-08 Thread David Kirchner
On 11/8/05, user [EMAIL PROTECTED] wrote: No, I'm not asking why do I need to sync ... I understand why I need to wait, or issue a sync command. No problems there. What I am asking is, why is one issuance of `sync` not enough ? Why is two not enough ? Why do I need to issue 6 or 8 of them

Re: build ports without X -- make.conf

2005-11-07 Thread David Kirchner
On 11/7/05, Dinesh Nair [EMAIL PROTECTED] wrote: On 11/08/05 02:16 Dan Mahoney, System Admin said the following: For some reason this is gone in 5.x -- what's the appropriate way to do this now (since WITHOUT_X11 still worked on a couple ports I've tried.) am also not sure if this is

Re: Which version of FreeBSD a binary was compiled for?

2005-10-27 Thread David Kirchner
On 10/27/05, Will Maier [EMAIL PROTECTED] wrote: Must be -- some flag produces unique bits in the executables. I'm a little surprised there isn't (AFAICT) anything descriptive in file(1)'s manpage or /u/s/mi/magic that would explain the discrepancy. Didn't see anything in quick looks through

Re: increasing mount size

2005-10-27 Thread David Kirchner
On 10/27/05, eoghan [EMAIL PROTECTED] wrote: oops! typo... sorry... output: nathaniel# du -s /var/* 2 /var/account 6 /var/at 8 /var/backups 4 /var/crash 4 /var/cron 71010 /var/db This is probably because the port uses /var/db/mysql as the database directory

Re: linux: command not found

2005-10-27 Thread David Kirchner
On 10/27/05, Mark Bucciarelli [EMAIL PROTECTED] wrote: I'm trying to load the linux kernel module to install java. When I type linux, I get a command not found error. Do I need to install a port or is this an issue with my kernel configuration? The linux script is no longer in FreeBSD --

i386/55603, i386/59959, kern/75850, fixed in 6.0?

2005-10-25 Thread David Kirchner
Can anyone using the Mylex A352 controller update/merge the following PRs if the bug has been fixed in 6.0? Or confirm whether or not it is still present in 6.0-RC? http://www.freebsd.org/cgi/query-pr.cgi?pr=i386/55603 http://www.freebsd.org/cgi/query-pr.cgi?pr=i386/59959

Re: i386/55603, i386/59959, kern/75850, fixed in 6.0?

2005-10-25 Thread David Kirchner
On 10/25/05, Kris Kennaway [EMAIL PROTECTED] wrote: On Tue, Oct 25, 2005 at 11:30:49AM -0700, David Kirchner wrote: Can anyone using the Mylex A352 controller update/merge the following PRs if the bug has been fixed in 6.0? Or confirm whether or not it is still present in 6.0-RC? http

Re: writing to syslog from a shell script?

2005-10-23 Thread David Kirchner
On 10/23/05, Eric F Crist [EMAIL PROTECTED] wrote: How could I write an entry to syslog from a shell script. For example, I want to write an entry stating that a command worked or didn't work, along with an error message. Check out logger(1) ___

Re: Weird SSH problem... Any ideas?!?

2005-10-20 Thread David Kirchner
On 10/20/05, Olaf Greve [EMAIL PROTECTED] wrote: Hi, Well, it all seems to be a question of granting users access to the right file. Have you checked permissions on /etc/passwd and /etc/pwd.db ? These are both 644, owned by root:wheel. These should be world readable while

Re: fsck woes: no '-b' option?

2005-10-19 Thread David Kirchner
On 10/18/05, darren david [EMAIL PROTECTED] wrote: SEARCH FOR ALTERNATE SUPER-BLOCK FAILED. YOU MUST USE THE -b OPTION TO FSCK TO SPECIFY THE LOCATION OF AN ALTERNATE SUPER-BLOCK TO SUPPLY NEEDED INFORMATION; SEE fsck(8). this is all well and good, but according to 'man 8 fsck', there

Re: Spash screen will not come up

2005-10-18 Thread David Kirchner
On 10/18/05, Daniel Rudy [EMAIL PROTECTED] wrote: Hello, I'm running FreeBSD 5.4-RELEASE. The problem that I have is that the splash screen will not come up. I have made sure that the bmp is 256 colors. I have tried uncompressed and RLE compressed bmps. The RLE compressed versions

Re: Is dump different?

2005-10-18 Thread David Kirchner
On 10/18/05, vittorio [EMAIL PROTECTED] wrote: I have a new desktop with netbsd 2.0.2 and a portable with freebsd 5.4 (my pet OS but it didn't boot on the compaq evo 510 box; therefore netbsd!). Now, I had dumped my previous old desktop with freebsd 5.4 to a samba share and then

Re: root can't write to NFS mounted directory

2005-10-18 Thread David Kirchner
On 10/18/05, Mohan Singh [EMAIL PROTECTED] wrote: I have some home directories that is mounted over NFS. The users who log in via NIS can write to their respective home directories, but root on the NFS client can't. The NFS directories are exported via a NAS. I know it is not a

Re: interesting past 4 hours...

2005-10-15 Thread David Kirchner
On 10/15/05, Gary Kline [EMAIL PROTECTED] wrote: You know, what I'd like my wm to be able to do is set whatever app (say xload) /usr/bin/nice -n -17 xload -g 50x90+0+0 so that I'll be able to nice it down to some low value, control the placing and

Re: Help With 'for' Loop

2005-10-14 Thread David Kirchner
On 10/14/05, Drew Tomlinson [EMAIL PROTECTED] wrote: Sorry to be such a pest today. I'm working on a sh script that uses a for loop. To test, I've written the following: for i in `/usr/bin/find /multimedia/Pictures -iname *.jpg -or -iname *.gif -print` do echo -e \n$i

Re: Help Understanding While Loop

2005-10-14 Thread David Kirchner
On 10/14/05, Drew Tomlinson [EMAIL PROTECTED] wrote: OK, I've been working on an sh script and I'm almost there. In the script, I created a 'while read' loop that is doing what I want. Now I want to keep track of how many times the loop executes. Thus I included this line between the 'while

Re: Patch vs. Upgrade

2005-10-13 Thread David Kirchner
On 10/12/05, David Kirchner [EMAIL PROTECTED] wrote: On 10/12/05, Andrew P. [EMAIL PROTECTED] wrote: That's just not true. Cvsupping to something like RELENG_5_4 will do exactly the same thing as a patch, only it's the hassle-free way. You see a sec-advisory, you type cvsup -g -L 2 mysup

Re: Patch vs. Upgrade

2005-10-13 Thread David Kirchner
On 10/13/05, Andrew P. [EMAIL PROTECTED] wrote: I don't see a single reason why I shouldn't ask the BSD daemon to flame the hell out of you :-) Try again to verify. And again. Again then. And if you think that 5 times are enough, you might be right. But they are not enough for you. You're

Re: Is there a FreeBSD equivalent of this?

2005-10-12 Thread David Kirchner
On 10/12/05, Odhiambo Washington [EMAIL PROTECTED] wrote: Hello everyone, I am snooping on the squid-users mailing list and something interesting (maybe not!) is mentioned: http://www.faqs.org/docs/securing/chap6sec73.html Do we have an equivalent on this in any branch (4.x, 5.x, 6.x) bar

Re: Patch vs. Upgrade

2005-10-12 Thread David Kirchner
On 10/12/05, Cody Holland [EMAIL PROTECTED] wrote: I'm still pretty new to the BSD world and wanted to throw out a question to see what kind of responses I get. What is everyones take on what to do when security vulnerabities are discovered. Do you upgrade your source (not always the easiest

Re: Patch vs. Upgrade

2005-10-12 Thread David Kirchner
On 10/12/05, Andrew P. [EMAIL PROTECTED] wrote: If things are not too tight on yout hard drive, consider the cvsup way. It's very easy - and very clearly described in the handbook. I've seen many people say this, but I suspect they haven't tried looking for information on patching using cvsup

Re: Patch vs. Upgrade

2005-10-12 Thread David Kirchner
On 10/12/05, Cody Holland [EMAIL PROTECTED] wrote: Thanks for the response. I did a terrible job of asking the correct question to get the response I wanted. I do know to cvsup the source and build/make world. I currently have 4 FreeBSD servers in production serving various tasks. The

Re: Patch vs. Upgrade

2005-10-12 Thread David Kirchner
On 10/12/05, Andrew P. [EMAIL PROTECTED] wrote: That's just not true. Cvsupping to something like RELENG_5_4 will do exactly the same thing as a patch, only it's the hassle-free way. You see a sec-advisory, you type cvsup -g -L 2 mysup recompile what's suggested in the advisory, or the whole

Re: Patching to FreeBSD 5.4-p7

2005-10-09 Thread David Kirchner
On 10/9/05, Deepak Naidu [EMAIL PROTECTED] wrote: Hi, I want to know ow to upgarde or patch my FreeBSD 5.4 version to FreeBSD 5.4-p7 Cheers, Deepak Naidu. The common response to this is that it's in the handbook. I'm trying to find it there, though, and am having a lot of trouble.

Re: port version

2005-10-09 Thread David Kirchner
On 10/9/05, eoghan [EMAIL PROTECTED] wrote: Hello I have done some searching but not really found my answer. I was wondering if there is a way to check port version? I cvsup'd my ports and id like to check version of some ports before I install them... I know many have the version in the dir

Re: tunefs problem

2005-10-08 Thread David Kirchner
On 10/8/05, Sasa Stupar [EMAIL PROTECTED] wrote: I am trying to enable tunefs for my filesystem but I get the following: - # tunefs -n enable / tunefs: soft updates cannot be enabled until fsck is run tunefs: /dev/ad2s1a: failed to write superblock - But AFAIK fsck

Re: Security risk associated with a NIC's promiscuous mode?

2005-10-07 Thread David Kirchner
On 10/7/05, Chuck Swiger [EMAIL PROTECTED] wrote: A mild one. For example, I believe there was recently a security bug in tcpdump's string handling which could be exploited by tcpdump seeing a maliciously-crafted packet. Running the NIC in promisc mode means that packet just has to go by,

Re: Re: Problem upon upgrade ...

2005-10-07 Thread David Kirchner
On 10/7/05, Aleksandar Kacanski [EMAIL PROTECTED] wrote: /dev/console problem : I found a bit more on this issue. /var/log/messages: Oct 7 10:42:14 nyfbsds01 kernel: Mounting root from ufs:/dev/ad0s1a Oct 7 10:42:16 nyfbsds01 init: can't get /dev/console for controlling terminal:

Re: NFS no longer works?

2005-10-07 Thread David Kirchner
On 10/7/05, Garrett Cooper [EMAIL PROTECTED] wrote: No dice, but thanks for trying =). -Garrett Some other questions then: Is rpcbind running? Does it show mountd registered? Try rpcinfo p to check. You should see something like: 151 udp 1022 mountd 153 udp

Re: xine / kaffeine core dumps with bus error

2005-10-04 Thread David Kirchner
On 10/4/05, Ian Moore [EMAIL PROTECTED] wrote: On Wednesday 05 October 2005 00:44, Brian John wrote: I think I'm having a similar problem with totem (which uses xine) and vlc. Can you try installing /usr/ports/multimedia/vlc and see what that does? If that gives a bus error as well then I

sysinstall MEDIA_TIMEOUT pretty high

2005-10-04 Thread David Kirchner
MEDIA_TIMEOUT is used to determine how long it will wait between retrying a DNS lookup. Would there be any objection to modifying the defaults sysinstall to lower its default MEDIA_TIMEOUT from 300 seconds to something more like 10, and then increasing the retry count from 2 to 30? The net result

Re: xine / kaffeine core dumps with bus error

2005-10-04 Thread David Kirchner
On 10/4/05, Brian John [EMAIL PROTECTED] wrote: It probably is. However, I'm not sure how to go about figuring out which one of these dependencies it is, let alone how to fix it. Could you help us troubleshoot this? BTW, I used portmanager to upgrade my ports. I don't know if I can be much

Re: xine / kaffeine core dumps with bus error

2005-10-04 Thread David Kirchner
On 10/4/05, Ian Moore [EMAIL PROTECTED] wrote: OK, I've done that for xine, here's the last bit: 1935 xine RET read 4096/0x1000 1935 xine CALL mmap(0,0x5e000,0x5,0x20002,0x6,0,0,0) 1935 xine RET mmap 692838400/0x294be000 1935 xine CALL

Re: Complete hangs while extracting source

2005-10-03 Thread David Kirchner
On 10/3/05, Jakob Breivik Grimstveit [EMAIL PROTECTED] wrote: The logfile can be found at http://www.grimstveit.no/jakob/files/temp/vmstat.log. Are you able to parse anything usable from it? I don't see anything wrong with the figures from that log. The only other thing I can think of to

Re: Complete hangs while extracting source

2005-10-02 Thread David Kirchner
On 10/2/05, Jakob Breivik Grimstveit [EMAIL PROTECTED] wrote: How can I tell? I doubt this to be the problem, since I experience same problem on two other machines as well. Only thing they share (except same lousy administrator :-) is that they all run on AMD CPUs (1700+, 1800+ and 3500+).

Re: Checksum failed

2005-10-01 Thread David Kirchner
On 10/1/05, Hamza Eraldi [EMAIL PROTECTED] wrote: Yes, it is same: cat distinfo MD5 (php-4.4.0.tar.bz2) = e85b606fe48198bfcd785e5a5b1c9613 I have already updated the ports. The command was also make install clean distclean. After a reboot and a new make install, the file (zlib.so) has been

Re: sftp connection problems

2005-09-30 Thread David Kirchner
On 9/30/05, Vittorio [EMAIL PROTECTED] wrote: I've just sent a PR suggesting a fix to http://www.freebsd. org/cgi/query-pr.cgi?pr=86759 The problem is: Trying to connect with a client to an sshd server using sftpd the client fails connection invariably complaining: sftp-server:

Re: Weird Real memory reported with 5.4 PAE support

2005-09-30 Thread David Kirchner
On 9/30/05, Tamouh H. [EMAIL PROTECTED] wrote: Hello, We have a Supermicro that has Winston 4GB of ECC Registered DDR333 RAM. Dual Xeon Processors. With PAE enabled, it seems the system reports 6GB of realmemory instead of 4GB, as below: We've seen similar stuff with Supermicro servers.

Re: Intel 2U server 4GB RAM showing only 3GB

2005-09-28 Thread David Kirchner
On 9/28/05, Nelis Lamprecht [EMAIL PROTECTED] wrote: Hi, I have a new dual Xeon Intel 2U server which I'm configuring with FreeBSD 5.4 and I can't get it to see more than 3GB RAM. If I try use the MAXMEM=(4096*1024) option it fails to boot up and just resets itself. Do I need to use the PAE

Re: tcp connections not showing up anymore on netstat?

2005-09-23 Thread David Kirchner
On 9/23/05, Alex [EMAIL PROTECTED] wrote: Hello list, I've got a rather strange problem. Yestoday, when I rebooted my box I was still able to ping the box, but no services started (apache,ssh etc), nor did they show up on netstat. So I rebooted it again, now I could connect to the box on

Re: Shell scripting question

2005-09-12 Thread David Kirchner
On 9/12/05, Paul Schmehl [EMAIL PROTECTED] wrote: How can I strip the leading character from the string so that I can test to see if it's zero? This'll strip the 0, while leaving other numbers intact: $ X=09 $ echo ${X#0} 9 ___

Re: server name QDN

2005-08-31 Thread David Kirchner
On 8/31/05, Dark Star [EMAIL PROTECTED] wrote: Hello everyone, Well, Im on FreeBSD 4.8-R Fresh installation, and i have a simple question Lets say I named my box Xname so in rc.conf the hostname =xname When the machine start, the logs will start to complain /var/log/messages

Re: Turning off file flags during restore

2005-08-30 Thread David Kirchner
On 8/30/05, Freminlins [EMAIL PROTECTED] wrote: -rw-r--r-- 1 www www schg 73 Jul 27 22:04 foo.txt I understand that some of the attributes on the NetApp may be confusing restore. I don't really have a problem with that. Is there a way to not set the file flags during restore? I don't really

Re: mouse wheel problem

2005-08-30 Thread David Kirchner
On 8/30/05, Efren Bravo [EMAIL PROTECTED] wrote: Section InputDevice Identifier Mouse0 Driver mouse Option Protocol auto Option Device /dev/sysmouse Option Buttons 5 Option ZAxisMapping 4 5 EndSection But the

Re: How to get /etc/ssh back

2005-08-30 Thread David Kirchner
On 8/30/05, Sean P. Malone [EMAIL PROTECTED] wrote: The system does ask for entropy upon the next reboot but the generation of the keys and startup of sshd fail since there is no /etc/ssh. If the install program doesn't create /etc/ssh, what does and how do I get it back? Thanks! Sean

Re: mysqld startup problems

2005-08-29 Thread David Kirchner
On 8/29/05, Norberto Meijome [EMAIL PROTECTED] wrote: Not directly, but when I find myself in this pickle, I try to see what exactly is the process doing: $ ktrace /usr/local/etc/rc.d/mysql-server.sh start ( wait for it to finish ) kdump -f ./ktrace.out | less and look for any errors

Re: file permission question

2004-09-24 Thread David Kirchner
/etc/passwd (probably really /etc/pwd.db) are used for several user-land programs including 'ls'. It's highly recommended that /etc/passwd stay readable to the world. Btw, the output of 'ps' can be easily reconstructed via access to the /proc filesystem. You can unmount this partition, but ps