make package-recursive yields empty packages?
Hi all, I'm creating php/apache packages for my setup. Everytime I create a new package, I do make package-recursive. For some reason, some of my php5-* packages have been getting overwritten with empty packages. -rw-r--r-- 1 root wheel 2421 May 17 18:57 php5-ctype-5.2.9.tbz -rw-r--r-- 1 root wheel 2443 May 17 18:57 php5-extensions-1.3.tbz -rw-r--r-- 1 root wheel 2454 May 17 18:57 php5-filter-5.2.9.tbz -rw-r--r-- 1 root wheel 2436 May 17 18:57 php5-hash-5.2.9.tbz -rw-r--r-- 1 root wheel 2442 May 17 18:57 php5-iconv-5.2.9.tbz -rw-r--r-- 1 root wheel 2471 May 17 02:36 php5-mysql-5.2.9.tbz -rw-r--r-- 1 root wheel 2447 May 17 02:40 php5-openssl-5.2.9.tbz -rw-r--r-- 1 root wheel 2424 May 17 18:57 php5-pcre-5.2.9.tbz -rw-r--r-- 1 root wheel 2432 May 17 18:58 php5-session-5.2.9.tbz -rw-r--r-- 1 root wheel 2439 May 17 18:58 php5-simplexml-5.2.9.tbz -rw-r--r-- 1 root wheel 2455 May 17 18:58 php5-spl-5.2.9.tbz -rw-r--r-- 1 root wheel 2432 May 17 18:58 php5-xml-5.2.9.tbz The more times I do make package-recursive (for instance, on cacti, nagios, etc.), the more and more packages are replaced with empty packages. Does anyone have any idea why this is happening? Thanks, Matt ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: MySQL 5.0 on FreeBSD 7
Yes. Linux threads is a port of the linux threading library (devel/linuxthreads). OK... this setup still seems to underperform 64 bit RHEL 5.x for at least our setup. Unless I'm missing something. Our sites are higher traffic - 100-300 threads/connections at any given time. Perhaps that's where the lag lies? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: MySQL 5.0 on FreeBSD 7
You're confusing linux-threads with pthreads. The performance boosts mentioned are done using the FreeBSD Posix threads ("pthreads") library, in FreeBSD 7.x they are implemented using libthr(3). The benchmarks also assume you are using SCHED_ULE, rather then SCHED_4BSD. Nothing should be configured if you run GENERIC later then 7.0-RELEASE. Mel, So, from a standard FreeBSD 7.x install: - Recompile kernel to use SCHED_ULE - In the port, use: BUILD_OPTIMIZED=yes - In the port, use: WITH_PROC_SCOPE_PTH=yes - In the port, use: BUILD_STATIC=yes And that should be it? So the "libpthread" they discuss in the description for WITH_PROC_SCOPE_PTH is different than the linux pthreads? -M ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
MySQL 5.0 on FreeBSD 7
Hi all, About a year ago, I setup MySQL 5.0.45 on a FreeBSD 6.x box (64 bit). I read at the time that the use of pthreads with FreeBSD would significantly improve performance, but as I was running the 64 bit version of FreeBSD, I could not use them. Fast forward to today - a different setup and new opportunity has allowed me to research this combination again. This time, some reading I have done on the use of FreeBSD 7 with MySQL has shown significant performance increases, but none of them really mention in detail how MySQL was setup. I decided to install a 64 bit version of FreeBSD 7.x (to address the 8 GB RAM in the box) and attempt to build with pthreads enabled, as well as a static build and optimized compiler options. Once again, got the error/warning in ports that the linux pthreads only works with the i386 32 bit setup. So I'm wondering if anyone here has successfully seen a MySQL 5.x performance boost with FreeBSD 7 compared to that of FreeBSD 6 on a 64 bit architecture, and if so, what they did to enable that boost. Thanks! -Matt ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Verizon VZAccess and FreeBSD
Hi all, I have a blackberry with Tethering support. The only thing keeping me from switching fully over to FreeBSD from Windows is that I use VZAccess Manager with my Blackberry to connect to the net from wherever I am. I'm just wondering if this is supported in FreeBSD at all (and if so, is the high speed EVDO also supported? I know some that have gotten it working as a modem at slower speeds). Thank you, Matt ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Issue with freebsd 6.2 and disk drives
Hi all, My dedicated server company is deploying me a new FreeBSD 6.2 server. The box uses SATA drives, and is an AMD Athlon box. I was getting the following error flooding my dmesg: ad4: TIMEOUT - WRITE_DMA retrying (1 retry left) LBA=* so they replaced all the hardware in the box. Still, with entirely different hardware, I am getting the same error: ad4: TIMEOUT - WRITE_DMA retrying (1 retry left) LBA=106848207 The hard drive in the new box is: ad4: 76319MB at ata2-master SATA150 Before I start telling them that this new hardware is also bad, I figured I would see if there are any known problems/bugs with 6.2, or possibly a known compatibility issue with SATA (and maybe if I should ask them to switch to IDE). Thanks all, Matt ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Remote Server FSCK
fsck_y_enable="YES" Just add that into the /etc/rc.conf, reboot and wait awhile. After the machine is up and running, fsck it and see if it throws any errors. Let us know how it goes. Worked great. Thanks. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Remote Server FSCK
Well, did it run the fsck? Those messages look pretty routine and should be handled by the regular fsck done on a normal boot. Usually the regular fsck will run and clean up most simple stuff. Try rebooting the machine again and see if it still has the same messages. If so, then see if they will do the single-user fsck for you. But, I am guessing that it actually already cleaned up for you. Rebooted and no more errors so I guess it did fix them. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Remote Server FSCK
Hi all, I have a dedicated box with a hosting company. The power supply failed in the box this morning, and the company replaced it and brought the box back up. In my logs, I have: Trying to mount root from ufs:/dev/ad0s1a WARNING: / was not properly dismounted WARNING: /home was not properly dismounted WARNING: /tmp was not properly dismounted WARNING: /usr was not properly dismounted /usr: mount pending error: blocks 80 files 1 WARNING: /var was not properly dismounted WARNING: /var/tmp was not properly dismounted In my opinion, this calls for an fsck in single user mode. Unfortunately, I don't have access to the box. Is htis something I should have them do? It seems /usr is affected, and the /var/log/messages shows a few other errors as well. What's the best way to go about fixing this. Should I ask them to `fsck -y` from console in single user mode since I can't be there to look at the prompts? Thanks, Matt ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: portsdb error
saturn# make describe On FreeBSD before 6.2 ports system unfortunately can not set default X11BASE by itself so please help it a bit by setting X11BASE=${LOCALBASE} in make.conf. On the other hand, if you do wish to use non-default X11BASE, please set variable USE_NONDEFAULT_X11BASE. *** Error code 1 I guess I need to set a variable in make.conf. odd though, I have WITHOUT_X11 set in make.conf On Fri, 1 Jun 2007, Kris Kennaway wrote: On Fri, Jun 01, 2007 at 03:55:14PM -0400, Matt Juszczak wrote: Hi all, While running portsdb -uU, I'm getting the following: This is with no refuse files, nothing ignored, and a full up-to-date ports collection. Any ideas? saturn# portsdb -uU Updating the ports index ... Generating INDEX.tmp - please wait..===> arabic/ae_fonts_mono failed *** Error code 1 ===> accessibility/at-poke failed *** Error code 1 2 errors What happens when you run make describe in those directories? Kris !DSPAM:466080b0780589774317175! ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
portsdb error
Hi all, While running portsdb -uU, I'm getting the following: This is with no refuse files, nothing ignored, and a full up-to-date ports collection. Any ideas? saturn# portsdb -uU Updating the ports index ... Generating INDEX.tmp - please wait..===> arabic/ae_fonts_mono failed *** Error code 1 ===> accessibility/at-poke failed *** Error code 1 2 errors Before reporting this error, verify that you are running a supported version of FreeBSD (see http://www.FreeBSD.org/ports/) and that you have a complete and up-to-date ports collection. (INDEX builds are not supported with partial or out-of-date ports collections -- in particular, if you are using cvsup, you must cvsup the "ports-all" collection, and have no "refuse" files.) If that is the case, then report the failure to [EMAIL PROTECTED] together with relevant details of your ports configuration (including FreeBSD version, your architecture, your environment, and your /etc/make.conf settings, especially compiler flags and WITH/WITHOUT settings). Note: the latest pre-generated version of INDEX may be fetched automatically with "make fetchindex". *** Error code 1 Stop in /usr/ports. *** Error code 1 Stop in /usr/ports. failed to generate INDEX! portsdb: index generation error saturn# ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
portaudit problem
For some reason, portaudit is now showing 0 problems with my ports when yesterday it was showing about 9. Did something happen that is going to cause me a lot of headaches? -Matt ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
RE: Restricting access to home directory
rssh supports chroots it seems, but no way to actually tie them to their home dir. -Matt On Mon, 25 Sep 2006, Gouverneur, Thomas wrote: Have a look to: http://www.pizzashack.org/rssh Regards, -- Thomas Gouverneur Junior UNIX Administrator TI Automotive -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Matt Juszczak Sent: lundi 25 septembre 2006 8:28 To: Marwan Sultan Cc: freebsd-questions@freebsd.org Subject: Re: Restricting access to home directory Well... If there was an easy way to restrict users to their home directories using SCP or SCPONLY, I would love that instead. I don't really feel like installing an FTP server just so users can connect to my server when they are already used to using sftp-server. Is there anyway? -Matt On Sun, 24 Sep 2006, Marwan Sultan wrote: Hi Matt! If you are talking about givin FTP access only, then the easiest way to do it is just adding the user to the file /etc/ftpchroot and thats all!! if the file does not exist. then create it. add to /etc/ftpchroot all users that you want them to ftp but never see any upper level of shell. have fun, Marwan Sultan System Administrator. On Sun, 24 Sep 2006 15:09:23 -0400 (EDT) Matt Juszczak <[EMAIL PROTECTED]> wrote: I would like to give a user access to my box via some kind of FTP but restrict him to his home directory. I have seen scponlyc, which supposedly can do this, but can't seem to get it working. _ Express yourself instantly with MSN Messenger! Download today it's FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/ ___ 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]" The information contained in this transmission may contain privileged and confidential information. It is intended only for the use of the person(s) named above. If you are not the intended recipient, you are hereby notified that any review, dissemination, distribution or duplication of this communication is strictly prohibited. If you are not the intended recipient, please contact the sender by reply email and destroy all copies of the original message. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]" !DSPAM:4517c88b8285209328925! ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Restricting access to home directory
Well... If there was an easy way to restrict users to their home directories using SCP or SCPONLY, I would love that instead. I don't really feel like installing an FTP server just so users can connect to my server when they are already used to using sftp-server. Is there anyway? -Matt On Sun, 24 Sep 2006, Marwan Sultan wrote: Hi Matt! If you are talking about givin FTP access only, then the easiest way to do it is just adding the user to the file /etc/ftpchroot and thats all!! if the file does not exist. then create it. add to /etc/ftpchroot all users that you want them to ftp but never see any upper level of shell. have fun, Marwan Sultan System Administrator. On Sun, 24 Sep 2006 15:09:23 -0400 (EDT) Matt Juszczak <[EMAIL PROTECTED]> wrote: > I would like to give a user access to my box via some kind of FTP but > restrict him to his home directory. > > I have seen scponlyc, which supposedly can do this, but can't seem to > get it working. _ Express yourself instantly with MSN Messenger! Download today it's FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]" !DSPAM:4517000f901501537419863! ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Restricting access to home directory
Hi all, I would like to give a user access to my box via some kind of FTP but restrict him to his home directory. I have seen scponlyc, which supposedly can do this, but can't seem to get it working. I have also read up on protftpd + ssl, and configuring it to lock users into their home directories. What would all of you recommend as a viable secure solution to this? Thanks! -Matt ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Multiple monitors with Dell Latitude D810
Hi all, I'm trying to use a Dell D810 with xorg and multiple monitors. The two monitors I have are the internal laptop screen, and an external Dell monitor hooked up through the docking station. Windows was able to display content on both monitors, so I'm sure there's a way to do it with xorg and freebsd. However, I am not sure where to start because of the fact that I'm using a docking station Can anyone point me to any documentation or ideas? Thanks! -Matt ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
USB mouse not working after move
Hi all, I moved, and now I can't seem to get my USB mouse to work. I keep getting "/dev/psm0: no such file or directory" when trying to start moused. dmesg shows proper detection of the mouse, with no errors. Any ideas? Thanks! -Matt ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Removing arplookup from syslog
Does anyone know what arplookup comes to syslog as? (info, warning, etc.) I get A LOT of: arplookup xxx.xxx.xxx.xxx failed: host is not on local network arplookup xxx.xxx.xxx.xxx failed: host is not on local network arplookup xxx.xxx.xxx.xxx failed: host is not on local network arplookup xxx.xxx.xxx.xxx failed: host is not on local network and I'd like to disable the messages. The host that is communicating with the server is indeed NOT on the local network, its a "forwarded IP" (in my opinion, an incorrectly setup network, but I don't have access to that area). Thanks, Regards, Matt Juszczak ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
More chkrootkit errors
Hi all, Now, on top of the time error i was receiving (earlier post last week), I am now getting: Checking `z2'... chklastlog in malloc(): error: recursive call Abort trap (core dumped) After running chkrootkit. Can someone help me understand z2 and why I'm getting all these errors? Thanks! -Matt ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Output of nightly chkrootkit odd...
Hi all, Got the following line in recent check root kits: Checking `z2'... Remaining time: 51480.00 seconds chklastlog: nothing deleted Not sure what it means... it usually just says "chklastlog: nothing deleted". Should this be a cause for concern? A search of google yielded little to no help, Thanks! -Matt ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Thinkpad wireless problem
Hi all, My thinkpad wifi card is being a bit odd... When I do this: ifconfig wi0 wepmode on ssid wepkey 0x1231231234 up It shows status as "associated", and a tcpdump shows activity on the network, but I can't ping anywhere nor can I get anywhere (of course I set an IP manually and also do a route add default 192.168.0.1 to add the default gateway). When I disable wep on the router, and do: ifconfig wi0 wepmode off ssid up it works fine. I can run dhclient wi0, etc. all works fine. So something is up with wep on this IBM Thinkpad T23 internal wireless card. Any ideas? Maybe I'm being dumb, but the laptop says the key is a 40 bit wep key while the router says its a 64 bit hex... although I think these are identical because one is decimal and one is hex, correct? Or is this where my problem is? Regards, Matt ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
PF default to deny
hi all, I have a firewall on my FreeBSD machine. Someone must have taken it down for testing or something because I just checked today, and realized that it was disabled. Checking the auth logs, attempts to login from overseas IP's, etc. have been occuring for at least a week. Two quick questions: 1) SSH, SMUX, CVSPSERVER, and MYSQL were open to the world for about a week. I've checked through the auth.log file, done a chkrootkit, checked lastlogin, etc nothing seems out of the ordinary other than unsuccessful attempts at random usernames, etc. Does anyone have any other ideas on what I can check? 2) Is there a way to set pf to default to deny? That way, if I disable it for testing, it wont kick my existing SSH session out (I'll have keep state set), but it will DENY any new connections. I'd rather have to go to the colo place cause I messed up then get something hacked because I messed up. Thanks! -Matt ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Drives Dieing
Mounting root from ufs:/dev/ad0s1a WARNING: /tmp was not properly dismounted WARNING: /usr was not properly dismounted WARNING: /var was not properly dismounted WARNING: /hd2 was not properly dismounted ad1: FAILURE - READ_DMA status=51 error=40 LBA=2 29575903 ad1: FAILURE - READ_DMA status=51 error=40 LBA=2 29575903 ad1: FAILURE - READ_DMA status=51 error=40 LBA=2 29575903 ad1: FAILURE - READ_DMA status=51 error=40 LBA=2 29575903 ad1: FAILURE - READ_DMA status=51 error=40 LBA=2 29575903 I had this problem too. (Look in the current archive, in september, for a thread called "Problem with deleting files" I was told to shutdown dma with atacontrol, and fsck -f However, I had no chance to test it. I just copied everything I needed, made a newfs, reinstalled the system (that's fast as you have all your config files), and today, it's working fine, again. (I previously tried to use the copy of the /usr I had made, but I experienced lots of problem with X. However, you may try to do it) If you are able to backup, I think that it's a good solution. But smartctl (smart test) shows drive failure in the short test? Isn't that internal to the drive? Also, if this is the case, could this just be bad luck of two drives in a row? Or could something be wrong with my hardware causing these drives to die? (controller?) -Matt ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Drives Dieing
Here is some info from smartctl: Error 52 occurred at disk power-on lifetime: 56 hours (2 days + 8 hours) When the command that caused the error occurred, the device was active or idle. After command completion occurred, registers were: ER ST SC SN CL CH DH -- -- -- -- -- -- -- 40 51 20 df 0c af fd Error: UNC 32 sectors at LBA = 0x0daf0cdf = 229575903 Commands leading to the command that caused the error were: CR FR SC SN CL CH DH DC Powered_Up_Time Command/Feature_Name -- -- -- -- -- -- -- -- c8 00 20 df 0c af fd 00 00:02:39.192 READ DMA c8 00 04 3f 2f 00 f0 00 00:02:39.192 READ DMA c8 00 20 1f 01 00 f0 00 00:02:39.187 READ DMA c8 00 04 3f ce 9d fd 00 00:02:39.178 READ DMA c8 00 20 ff ce 9d fd 00 00:02:39.170 READ DMA Error 51 occurred at disk power-on lifetime: 56 hours (2 days + 8 hours) When the command that caused the error occurred, the device was active or idle. After command completion occurred, registers were: ER ST SC SN CL CH DH -- -- -- -- -- -- -- 40 51 01 df 0c af fd Error: UNC 1 sectors at LBA = 0x0daf0cdf = 229575903 Commands leading to the command that caused the error were: CR FR SC SN CL CH DH DC Powered_Up_Time Command/Feature_Name -- -- -- -- -- -- -- -- c8 00 01 df 0c af fd 00 00:02:27.781 READ DMA c8 00 20 df 0c af fd 00 00:02:27.777 READ DMA c8 00 10 ff 44 b0 fd 00 00:02:27.769 READ DMA c8 00 04 f7 40 b0 fd 00 00:02:27.763 READ DMA c8 00 04 ef 40 b0 fd 00 00:02:27.754 READ DMA Error 50 occurred at disk power-on lifetime: 56 hours (2 days + 8 hours) When the command that caused the error occurred, the device was active or idle. After command completion occurred, registers were: ER ST SC SN CL CH DH -- -- -- -- -- -- -- 40 51 20 df 0c af fd Error: UNC 32 sectors at LBA = 0x0daf0cdf = 229575903 Commands leading to the command that caused the error were: CR FR SC SN CL CH DH DC Powered_Up_Time Command/Feature_Name -- -- -- -- -- -- -- -- c8 00 20 df 0c af fd 00 00:02:27.781 READ DMA c8 00 10 ff 44 b0 fd 00 00:02:27.777 READ DMA c8 00 04 f7 40 b0 fd 00 00:02:27.769 READ DMA c8 00 04 ef 40 b0 fd 00 00:02:27.763 READ DMA c8 00 04 7b 35 b0 fd 00 00:02:27.754 READ DMA Error 49 occurred at disk power-on lifetime: 56 hours (2 days + 8 hours) When the command that caused the error occurred, the device was active or idle. After command completion occurred, registers were: ER ST SC SN CL CH DH -- -- -- -- -- -- -- 40 51 01 df 0c af fd Error: UNC 1 sectors at LBA = 0x0daf0cdf = 229575903 Commands leading to the command that caused the error were: CR FR SC SN CL CH DH DC Powered_Up_Time Command/Feature_Name -- -- -- -- -- -- -- -- c8 00 01 df 0c af fd 00 00:01:31.550 READ DMA c8 00 80 df 0c af fd 00 00:01:31.548 READ DMA c8 00 80 5f 0c af fd 00 00:01:31.546 READ DMA c8 00 80 df 0b af fd 00 00:01:31.545 READ DMA c8 00 80 5f 0b af fd 00 00:01:31.535 READ DMA Error 48 occurred at disk power-on lifetime: 56 hours (2 days + 8 hours) When the command that caused the error occurred, the device was active or idle. After command completion occurred, registers were: ER ST SC SN CL CH DH -- -- -- -- -- -- -- 40 51 80 df 0c af fd Error: UNC 128 sectors at LBA = 0x0daf0cdf = 229575903 Commands leading to the command that caused the error were: CR FR SC SN CL CH DH DC Powered_Up_Time Command/Feature_Name -- -- -- -- -- -- -- -- c8 00 80 df 0c af fd 00 00:01:31.550 READ DMA c8 00 80 5f 0c af fd 00 00:01:31.548 READ DMA c8 00 80 df 0b af fd 00 00:01:31.546 READ DMA c8 00 80 5f 0b af fd 00 00:01:31.545 READ DMA c8 00 80 df 0a af fd 00 00:01:31.535 READ DMA Matt Juszczak wrote: Hi all, I recently bought a 160 gig hard drive at the store after my 40 gig started failing with similar messages to the ones below. The 40 gig eventually actually died after a few days (as in click click, boom, no longer detecting). Now the 160 GB is giving me fsck errors all of a sudden, as seen below. Is my luck just that bad? Is the drive in the store also bad? This just seems like it could be a bad controller or something too, since its happened to two drives in a row.. and one of them was a new drive. Any ideas would be appreciated if I'm gonna take the drive back to the store, I'd like to do it soon. Regards, Matt Juszczak Mounting root from ufs:/dev/ad0s1a WARNING: /tmp was not properly dismounted WARNING: /usr was not properly dismounted WARNING: /var was not properly dismounted WARNING: /hd2 was not properly dismounted ad1: FAILURE - READ_DMA status=51 error=40 LBA=2 29575903 ad1: FAILURE - READ_DMA status=51 error=40 LBA=
Drives Dieing
Hi all, I recently bought a 160 gig hard drive at the store after my 40 gig started failing with similar messages to the ones below. The 40 gig eventually actually died after a few days (as in click click, boom, no longer detecting). Now the 160 GB is giving me fsck errors all of a sudden, as seen below. Is my luck just that bad? Is the drive in the store also bad? This just seems like it could be a bad controller or something too, since its happened to two drives in a row.. and one of them was a new drive. Any ideas would be appreciated if I'm gonna take the drive back to the store, I'd like to do it soon. Regards, Matt Juszczak Mounting root from ufs:/dev/ad0s1a WARNING: /tmp was not properly dismounted WARNING: /usr was not properly dismounted WARNING: /var was not properly dismounted WARNING: /hd2 was not properly dismounted ad1: FAILURE - READ_DMA status=51 error=40 LBA=2 29575903 ad1: FAILURE - READ_DMA status=51 error=40 LBA=2 29575903 ad1: FAILURE - READ_DMA status=51 error=40 LBA=2 29575903 ad1: FAILURE - READ_DMA status=51 error=40 LBA=2 29575903 ad1: FAILURE - READ_DMA status=51 error=40 LBA=2 29575903 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
overlapping UID crisis
hi all, we had an overlapping uid crisis at work today. I ended up writing a script to start at 3 and increment by 1, to change all user's UID's (except system accounts) Then I wrote a script that did a recursive: chown -R $username:users /home/$username chown $username:users /var/mail/$username Is there anything i am missing? We've been up all night and I just need to make sure my tired mind isn't forgetting anything. Thanks, Matt ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
See what raid arrays are?
Hi all, I was wondering if there is a way to see the RAID setup of a freebsd machine without rebooting it. I Know I've got 5 drives in the system, and I know that da0 is 36 gig, da1 is 140 gig, and da2 is 18 gig, but I dont know how the five drives play out among those arrays. I'm PRETTY sure (pretty sure!) that da0 is a raid 1 and da1 is a raid 1 and da2 is just a stand alone 18 gig drive, but I'd love to know for sure. dmesg doesn't say much, probably because this is hardware raid so the system itself only sees one drive even if there is more. was wondering if there's a way to go above that restriction. Thanks! -Matt ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
OT: Removing 14 day old messages, my script...
Hi all, I've created the following script to remove 14 day old messages. expunge-check.pl (not shown here, but CALLED from the script below) takes a single email messages on STDIN and then checks whether the date of that message is 14 days old or greater. If it is, it skips it. If it is NOT, it writes it to a file. So at the end of the formmail -s call below, there is now a Spam.tmp file in $HOME/mail for the user. The script below then moves that file to their productive Spam folder, and it moves onto the next user. I wish there was an easier way to do this. Instead of creating a NEW file with just the messages we have to keep, I wish that we could just remove the specific mail message from the actual Spam folder (maybe by passing the From: or the message itself possibly). That way, we wouldn't have to do moving, chowning, and a bunch of locking (and I know I'm not locking with flock below either, which is also a problem). With 3000 users, the script below takes all day to run, about 2 minutes per user. Reason being is it has to go through ALL messages, even if they are 3 days old, because it has to write those to a separate file. Is there an easier way to do this? Thanks! -Matt --- begin snip --- for x in `ls /home/*/mail/Spam` do USERNAME=`echo $x | awk -F'/' '{ print $3 }'`; SIZE=`du $x | awk -F' ' '{ print $1 }'`; if [ "$SIZE" -lt "5120" ] then echo "Skipping $USERNAME ($SIZE)"; else echo "Analyzing $USERNAME ($SIZE)"; # Remove existing Spam.tmp if [ -f "/home/$USERNAME/mail/Spam.tmp" ] then rm /home/$USERNAME/mail/Spam.tmp; fi # Create locks touch /home/$USERNAME/mail/Spam.lock # Call Formmail recursively formail -s /usr/local/mailclean/expunge-check.pl $USERNAME < $x # Remove locks rm /home/$USERNAME/mail/Spam.lock # Move Spam.tmp and CHOWN! if [ -f "/home/$USERNAME/mail/Spam.tmp" ] then mv /home/$USERNAME/mail/Spam.tmp /home/$USERNAME/mail/Spam; chown $USERNAME:users /home/$USERNAME/mail/Spam; fi fi done; ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: LDAP/nss_ldap adduser script
Primarily, my aim is to keep it simple, do the basics, thats the itch that needs scratching for me at the moment. It could be the base of a more encompassing management system, but that would be a different project. Count me in on helping you with this. A nice command line utility for ldap is definitely needed. Something like ldapctl :) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: OT: Removal of old 14+ mail from mbox-based mail spool (not maildir)
procmail ruleset, as long as you have tested the ruleset and found that it works exactly like you want it to work. - Giorgos I'm actually trying to write a script with formail, but its being annoying: orion$ formail -s "parse.pl" < Spam parse.pl: 3: Syntax error: ")" unexpected parse.pl: 3: Syntax error: ")" unexpected parse.pl: 3: Syntax error: ")" unexpected orion$ parse.pl is: #!/usr/bin/perl while () { print } and when I run parse.pl manually: orion$ echo "Yo" | ./parse.pl Yo orion$ Weird eh? Any ideas? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: OT: Removal of old 14+ mail from mbox-based mail spool (not maildir)
| Also, a script in sh(1), or do you have some other language available? I have a short PHP script that does something similar and could be modded, perhaps. OTOH, somebody around here could probably give you a one-liner with sh, sed, grep, awk, date, test, etc., but I was at the hospital last night until 2 a.m. and don't think I can pull it off ATM Kevin Kinsey I want to clean out an IMAP "folder" (actually file $HOME/mail/Spam). We have about 10,000 users and our users don't check their spam quarantine often, so our policy is to remove messages after 14 days. I know how to: 1) recursively pull each Spam folder in existance (for x in `ls /home/*/mail/Spam`; do ; done) 2) Use grep and awk to pull each message and its relative data (grep the date, parse it) What I'm not sure of is how to remove a message from the spool itself. Should I just use grep and/or sed to "pull until new From header", then remove those lines from the spool manually? This would be easier if I could use IMAP, because then I could use the built-in PHP functions for imap to check dates and remove messages. Problem is, we don't know the user's passwords (they are hashed). Any other ideas? Thanks! -Matt ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
OT: Removal of old 14+ mail from mbox-based mail spool (not maildir)
Hi all, Sorry this is off topic, just didn't really know where else to post this other than to fellow sys-admins. I need a script that will analyze a mail spool file and remove email from it that is more than 14 days old. I found a couple; however, they require perl modules I couldn't seem to find. Does anyone have any ideas? If not, I'll go ahead and write one. Thanks! -Matt ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
cat /dev/urandom
Hi all, Quick question. shell# cat /dev/urandom can that executed as root cause any harm to the system? What if a random sequence of `rm *` was generated... would it be executed? I tried that to fix my terminal and forgot it might cause damage as root, even if its just being cat'd to the screen. I thought I saw some files fly by which would indicate an execution of `ls` Just curious Thanks, Matt ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Completely removing a port
Hi all, I am about to remove the amavisd-new port from our main mail server. We've recently setup two relay servers and do not need the port anymore. Problem is, I know that the amavisd-new port installed a lot of packages along with it, and if I just do `make deinstall clean` in the port, its only going to remove amavisd-new first, not the dependencies it installed to work correctly. Is there anyway I can deinstall the port and say "remove all packages that depend on amavisd-new and amavisd-new ONLY" (so it wont affect other stuff). Thanks, Matt ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: OT: Helpdesk/Call tracking software (now VERY off topic)
While I'm here, anyone know something that can integrate with LDAP to pull customer info? Of course the tickets would be stored in MySQL, etc but a way to search for customers, etc. via ldap would be awesome Philip Hallstrom wrote: Never used it, but RT always seems to get good praise... http://www.bestpractical.com/rt/ On Thu, 21 Jul 2005, Cezar Fistik wrote: Dear group, Sorry for OT, but I'm sure someone in this group can help me. I'm looking for an open source helpdesk/call tracking application for use in an ISP customer support dept. We need something that will allow us to register all incomming calls, to assign tasks to different admnis/engineers according to customer's problem, to be able to see the status of each opened issue and so on. Nothing unusual. I made a search and found a number of such applications, but there are so many...it wouldn't be possible to test all of them. So please just tell me what you are using and how would you rate it. Thank you very much. -- Best regards, Cezar mailto:[EMAIL PROTECTED] ___ 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]" !DSPAM:42ded945986391657816232! ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: amavisd-port
| //etc/rc.d/amavisd that's right. Why is it doing double slash and why is it installing to /etc/rc.d? Why not /usr/local/etc/rc.d where other apps and ports reside? I know it has to start first, but it could have named it something like 0amavisd.sh. I dont really like ports putting things in the system's rc.d directory How does one go about modifying this so that the port will install in /usr/local? Just modify the makefile? | //etc/rc.d/amavis-milter Are you using sendmail ?? the amavis-milter is only used for sendmail, not needed by postfix. (dual smtp) The file is just installed. I'm not using it in /etc/rc.conf. -Matt ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
RE: amavisd-port
Still not working :-( installing to //etc/rc.d still. ---snip--- This port has installed the following startup scripts which may cause these network services to be started at boot time. //etc/rc.d/amavisd //etc/rc.d/amavis-milter ---snip--- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Billing Server
Hi all, We're setting up a billing server on a Xeon 3.06 ghz with IDE drives (but it doesn't need to be amazingly fast). The billing system we're using supports freebsd 4.11 natively with 5.x support. I need this machine to be tight, and although it will have a public IP, pf will be installed to keep SSH access to our network only as well as the web interface of the billing system. I'm wondering whether to install 4.11 on this machine or go with 5.4. I need something stable, rock solid, and secure, and I know 5.4 is this also, but it is updated more often than 4.11. What does everyone recommend? Thanks! -Matt ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: procmail kill problems in dmesg?
Can you run memtest on the machine? This could be caused by failing physical memory chips :-/ Memtest comes through OK. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: FreeBSD 5.4-STABLE, some core dumps
Lately my dual xeon server has been core dumping with signal 10 with a lot of programs: I'm experiencing this also. See my recent post. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: procmail kill problems in dmesg?
I assume that you've checked that you're running the latest version (or ports version) of procmail? Yes, I've checked. It seems to be doing it more often now too. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
security report messages
Hi all, Receiving the following... I assume this is just because of a portupgrade that we did that tried to upgrade cyrus, and I assume this is the "automated port" account creation/deletion that it does but I wanted to run it by everyone. Jul 9 15:29:52 mercury saslpasswd: failed to set plaintext secret for cyrus: generic failure Jul 9 15:29:52 mercury saslpasswd: failed to set APOP secret for cyrus: generic failure Jul 9 15:29:52 mercury saslpasswd: PLAIN: failed to set secret for cyrus: generic failure Jul 9 15:29:52 mercury saslpasswd: failed to disable account for cyrus: user not found Jul 9 15:29:52 mercury saslpasswd: failed to disable APOP account for cyrus: user not found Jul 9 15:29:52 mercury saslpasswd: PLAIN: failed to set secret for cyrus: user not found Anything to be concerned about? Thanks, Matt ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: procmail kill problems in dmesg?
Do the segfaults only happen when you run procmail? If other programs fail randomly with segfaults, then it's more likely to be a general memory-hardware problem. If it's only procmail that fails it could be just a procmail bug. Procmail is the only one segfaulting with signal 11. POP3 has exiting with signal 6 a few times, but only a few, and its been sporadic. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: procmail kill problems in dmesg?
Signal 11 is a segmentation fault. This _might_ be an indication of hardware/memory problems. Actually all the seg faults signal 11 happened at one time (within 20 seconds), after checking messages it hasn't happened since. Could it have been a fluke? -Matt ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
procmail kill problems in dmesg?
Getting flooded with: pid 65128 (procmail), uid 3005: exited on signal 11 pid 65138 (procmail), uid 806: exited on signal 11 pid 65142 (procmail), uid 24112: exited on signal 11 pid 65143 (procmail), uid 11977: exited on signal 11 pid 65146 (procmail), uid 29601: exited on signal 11 pid 65149 (procmail), uid 18864: exited on signal 11 pid 65239 (procmail), uid 19458: exited on signal 11 pid 65240 (procmail), uid 22242: exited on signal 11 pid 65242 (procmail), uid 2005: exited on signal 11 pid 65244 (procmail), uid 14209: exited on signal 11 pid 65243 (procmail), uid 22118: exited on signal 11 pid 65246 (procmail), uid 17854: exited on signal 11 pid 65247 (procmail), uid 18156: exited on signal 11 pid 65248 (procmail), uid 16655: exited on signal 11 pid 65249 (procmail), uid 18389: exited on signal 11 pid 65250 (procmail), uid 11977: exited on signal 11 pid 65251 (procmail), uid 0: exited on signal 11 pid 65267 (procmail), uid 1762: exited on signal 11 pid 65349 (procmail), uid 11977: exited on signal 11 pid 65350 (procmail), uid 1982: exited on signal 11 pid 65351 (procmail), uid 15324: exited on signal 11 pid 65433 (procmail), uid 3183: exited on signal 11 pid 65435 (procmail), uid 12280: exited on signal 11 pid 65436 (procmail), uid 11977: exited on signal 11 pid 65534 (procmail), uid 2005: exited on signal 11 pid 65535 (procmail), uid 22662: exited on signal 11 pid 65537 (procmail), uid 24477: exited on signal 11 pid 65538 (procmail), uid 1397: exited on signal 11 pid 65540 (procmail), uid 11645: exited on signal 11 pid 65612 (procmail), uid 21744: exited on signal 11 pid 65621 (procmail), uid 24147: exited on signal 11 pid 65724 (procmail), uid 2005: exited on signal 11 pid 65725 (procmail), uid 580: exited on signal 11 pid 65726 (procmail), uid 11977: exited on signal 11 This is a high traffic mail server is this normal? Why does procmail sometimes exit on signal 11 like this? Thanks! -Matt ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Remote access to a user's mail spool
Hi all, We're an ISP, and we are currently looking for a way for our tech support guys to access customer's email without having shell access to the server, or knowing the customer's password. We'd like to install a custom webmail client on our private internal LAN webserver that would only show the user's inbox and the ability to delete the messages (couldn't read messages, etc.). The problem is that we would have to know the user's password in order for my PHP script to go out and fetch the mail. Is there a way I can setup and/or patch one of the POP3 clients (of course I would firewall this and do an SSH tunnel with the pop3d running on localhost only on the mail server, so I would keep things secure) so that it could be given any random password and would authenticate? Or is this some kind of patch I would need to write? Maybe a better option would be to write a custom client/server interface via ssh to interact with the mail spool (possibly calling "mail" over ssh remotely, with public/private key authentication and sudo access to mail for the remote account) Any ideas? Thanks, Matt PS: I can admit that I originally posted this to the dovecot mailing list, but am now seeing it might be a system-related issue vs. a pop3 daemon issue. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Syn TCP Retries equivelent?
snip- We figured out that if the primary LDAP server is online but the slapd process is down, the client (in this case NSS/PAM) immediately gets a "connection refused" and fails over to the secondary. On the other hand, if the machine is really down (i.e. powered off) and is in the same network, the underlying TCP will exponentially try five times (on Linux) to access that server before abandoning it. Solution on Linux is to set the kernel parameter (tcp_syn_retries) to some lower value, although this might break something else. We've been running for a few weeks with /proc/sys/net/ipv4/tcp_syn_retries set to 1 and have had no headaches (YMMV). snip Is there an equivelent to this in FreeBSD? If so, is it possible to set it for certain services? If I set it globally will it break something else? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Lock up problems fixed??? not sure...
Hi all, Well, after removing IPF and having a week of stability, we decided to put our mail server to the test. I began flooding it with tons of mail messages using smtp-source at about 2 pm today. The server load jumped up to about 4.50 average. It eventually started denying requests, but after waiting a few minutes, it would accept them again (I was literally flooding it, I sent in all 1.2 million emails). I wrote a scipt to hammer it, so even after it would refuse the connection, it would hammer it again. Eventually, the machine started to not respond. I could ping it with successful replies, but could not SSH into it. The last message on the screen was "Could not write to /var/mail/thissucks", which was the account we were testing. I rebooted the machine, and all is fine. I'm not sure if this is still a sign of instability, or if this is a "Any idiot who would sent 1.2 million emails and a full flood for hours to a mail server should expect something like this to happen" message. Any input? Thanks! -Matt ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re-generate lastlog
Woops, I wiped out lastlog. How do I regenerate it? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: On recent crashes
I can't reproduce the crash with a non-SMP GENERIC kernel. Gary So does this mean my problem is nagios? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: FreeBSD Machines dieing, we've tried so much....
Personally, I would update to RELENG_5 as of today. There are a lot of bug fixes and its quite solid.. Did the upgrade earlier to two of five machines (the ones that were crashing). We'll see what happens :) Thanks! Any planned date for 5.5-RELEASE? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: FreeBSD Machines dieing, we've tried so much....
I had same situation with to different high loaded servers (both SMP, with 8Gb of ram, and HT enabled,), with 5.4 Release, after disabeling HT and cvsup OS to 5.4-stable all working fine without any problems, last reboot was 28 days ago. That's exactly our config. SMP, 4 gb RAM, HT was enabled, no longer. Should I upgrade to 5.4-STABLE? Is there a bug ? Is 5.4-STABLE "stable" enough? :) Also, if I cvsup to 5.4-STABLE right now, would I be able to upgrade to 5.5-RELEASE with no probs, or would I forever be at -STABLE? Thanks, Matt ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: FreeBSD Machines dieing, we've tried so much....
The vast majority of panics are hardware-related. It is rare nowadays for a usermode program to make the system panic. In particular you said the problem happens more under load. That really points even more to a hardware problem - bad CPU cache ram, bad ram, scsi termination, that sort of thing. Ted This is kind of going to be a blanket post to all the recent suggestions to me. I appreciate suggestions :) Ted, sorry, my other posts had dmesg and hardware specs, etc. I just couldn't remember the subject line of that thread. I'll be more descriptive here. We have two different servers crashing. Both are SMP, but on different hardware. We have five freeBSD servers in total, and only two are affected. That is why I do not believe this is a hardware problem. In any case, the machines are in a cold room where the temperature is constantly maintained. 20 other servers in there are perfectly stable, with no probs. This particular machine that crashed last night while running portsdb -uU is a Super Micro machine, with hyperthreading disabled in the bios, dual CPU 3.06 ghz, with 4 gigs memory. We ran mem test on orion (the machine that crashed last night) a week or so ago, and it found 70,000 ECC errors. Those were fixed and that machine has been stable until last night. I've now disabled SMP support, we'll see if that keeps it stable or not. Portsdb -uU ran without problems after I disabled SMP. As far as uranus, the other box (we keep a planet scheme for a certain set of servers), we ran memtest86 and found no errors at all. That box crashed about two days ago but has been stable since. It has not lasted more than a week without doing a kernel trap and freezing. It seems that both these servers have this problem. Out of the five FreeBSD servers we have, these two are the ones with the highest load. Maybe a higher load on the other three servers would cause the same problem. I agree with you that this is a hardware problem, but on more than one server with two different architectures and our highest load makes me re-consider. If this is truly a bug in FreeBSD 5.4-RELEASE, maybe this is something that has been fixed in -stable? I will compile a debug kernel today and try to provide a trace to the problem. I'll do it on which ever server crashes next. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
FreeBSD dieing, now has died doing portsdb -uU
Hi all, In relation to my previous post(s) (I no longer know the subject line), my freebsd mail server died again, this time while I was doinga portsdb -uU ... it got halfway through and crapped out. Any ideas would help as we're kind of in the middle of a mail transfer, Regards, Matt ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: FreeBSD Machines dieing, we've tried so much....
I would start by disabling Hyperthreading in the BIOS. It doesnt really have much benefit with the default scheduler (might make some things slower), and seems to cause problems. ---Mike But I have hyperthreading disabled in the sysctl variable for hyperthreading (can't remember it off the top of my head, but its disabled by default in 5.4 according to UPDATING)... Am I wrong? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: FreeBSD Machines dieing, we've tried so much....
Attached is the dmesg as requested Copyright (c) 1992-2005 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD 5.4-RELEASE-p1 #0: Mon May 16 21:25:42 EDT 2005 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/orionkern Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: Intel(R) Xeon(TM) CPU 3.06GHz (3065.80-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0xf29 Stepping = 9 Features=0xbfebfbff Hyperthreading: 2 logical CPUs real memory = 4160225280 (3967 MB) avail memory = 4073291776 (3884 MB) ACPI APIC Table: FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs cpu0 (BSP): APIC ID: 0 cpu1 (AP): APIC ID: 1 cpu2 (AP): APIC ID: 6 cpu3 (AP): APIC ID: 7 ioapic0 irqs 0-23 on motherboard ioapic1 irqs 24-47 on motherboard ioapic2 irqs 48-71 on motherboard ioapic3 irqs 72-95 on motherboard ioapic4 irqs 96-119 on motherboard npx0: on motherboard npx0: INT 16 interface acpi0: on motherboard acpi0: Power Button (fixed) Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000 acpi_timer0: <24-bit timer at 3.579545MHz> port 0x1008-0x100b on acpi0 cpu0: on acpi0 cpu1: on acpi0 cpu2: on acpi0 cpu3: on acpi0 pcib0: port 0xcf8-0xcff on acpi0 pci0: on pcib0 pci0: at device 0.1 (no driver attached) pcib1: at device 2.0 on pci0 pci1: on pcib1 pci1: at device 28.0 (no driver attached) pcib2: at device 29.0 on pci1 pci2: on pcib2 pci1: at device 30.0 (no driver attached) pcib3: at device 31.0 on pci1 pci3: on pcib3 em0: port 0x3000-0x303f mem 0xf820-0xf821 irq 28 at device 2.0 on pci3 em0: Ethernet address: 00:30:48:2c:60:5c em0: Speed:N/A Duplex:N/A em1: port 0x3040-0x307f mem 0xf822-0xf823 irq 29 at device 2.1 on pci3 em1: Ethernet address: 00:30:48:2c:60:5d em1: Speed:N/A Duplex:N/A pcib4: at device 3.0 on pci0 pci4: on pcib4 pci4: at device 28.0 (no driver attached) pcib5: at device 29.0 on pci4 pci5: on pcib5 pci4: at device 30.0 (no driver attached) pcib6: at device 31.0 on pci4 pci6: on pcib6 asr0: mem 0xfc00-0xfdff,0xfb00-0xfbff,0xf840-0xf84f irq 72 at device 1.0 on pci6 asr0: ADAPTEC 2010S FW Rev. 3B0A, 2 channel, 256 CCBs, Protocol I2O uhci0: port 0x2000-0x201f irq 16 at device 29.0 on pci0 usb0: on uhci0 usb0: USB revision 1.0 uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered uhci1: port 0x2020-0x203f irq 19 at device 29.1 on pci0 usb1: on uhci1 usb1: USB revision 1.0 uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub1: 2 ports with 2 removable, self powered uhci2: port 0x2040-0x205f irq 18 at device 29.2 on pci0 usb2: on uhci2 usb2: USB revision 1.0 uhub2: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub2: 2 ports with 2 removable, self powered pcib7: at device 30.0 on pci0 pci7: on pcib7 pci7: at device 1.0 (no driver attached) isab0: at device 31.0 on pci0 isa0: on isab0 atapci0: port 0x2060-0x206f,0x376,0x170-0x177,0x3f6,0x1f0-0x1f7 at device 31.1 on pci0 ata0: channel #0 on atapci0 ata1: channel #1 on atapci0 pci0: at device 31.3 (no driver attached) acpi_button0: on acpi0 atkbdc0: port 0x64,0x60 irq 1 on acpi0 atkbd0: irq 1 on atkbdc0 kbd0 at atkbd0 sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0 sio0: type 16550A sio1: <16550A-compatible COM port> port 0x2f8-0x2ff irq 3 on acpi0 sio1: type 16550A fdc0: port 0x3f7,0x3f0-0x3f5 irq 6 drq 2 on acpi0 fd0: <1440-KB 3.5" drive> on fdc0 drive 0 ppc0: port 0x778-0x77f,0x378-0x37f irq 7 drq 3 on acpi0 ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode ppc0: FIFO with 16/16/9 bytes threshold ppbus0: on ppc0 ppi0: on ppbus0 plip0: on ppbus0 lpt0: on ppbus0 lpt0: Interrupt-driven port orm0: at iomem 0xe-0xe3fff,0xc9000-0xcefff,0xc8000-0xc8fff,0xc-0xc7fff on isa0 pmtimer0 on isa0 sc0: at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> vga0: at port 0x3c0-0x3df iomem 0xa-0xb on isa0 Timecounters tick every 10.000 msec IP Filter: v3.4.35 initialized. Default = pass all, Logging = disabled acd0: CDROM at ata1-master PIO4 ses0 at asr0 bus 0 target 6 lun 0 ses0: Fixed Processor SCSI-2 device ses0: SAF-TE Compliant Device da0 at asr0 bus 0 target 0 lun 0 da0: Fixed Direct Access SCSI-2 device da0: Tagged Queueing Enabled da0: 35003MB (71686144 512 byte sectors: 255H 63S/T 4462C) da1 at asr0 bus 0 target 2 lun 0 da1: Fixed Direct Access SCSI-2 device da1: Tagged Queueing Enabled da1: 140014MB (286748672 512 byte sectors: 255H 63S/T 17849C) da2 at asr0 bus 0 target 4 lun 0 da2: Fixed Direct Access SCSI-3 device da2: Tagged Queueing Enabled da2: 17357MB (35548303 512 byte sectors: 255H 63S/T 2212C) SMP: AP CPU #2 Launched! SMP: AP CPU #1 Launched! SMP: AP CPU #3 Launched! Mounting root from ufs:/dev/da0s1a em0: Link is up 100 Mbps Full Duplex Time adjustment clamp
RE: FreeBSD Machines dieing, we've tried so much....
On Mon, 20 Jun 2005, Ted Mittelstaedt wrote: Please post dmesg output from both systems. The systems end up crashing so I can't do a dmesg or do you mean a general dmesg when they are stable? Here is the output from Caliban: http://paste.atopia.net/126. The machine crashed again today. The new error message was like the above link, it had the same process (slapd), etc. This time; however, it gave some different data. Here's the error: Fatal Trap 12: page fault while in kernel mode cpuid=0; apc id=0 fault virtual address = 0x24 fault code = supervisor read, page not present instruction pointer = 0x8:0xc0644eff stack pointer = 0x10:0xdaa1bb48 frame pointer = 0x20:0xdaa1bb5c code segment = base 0x0, limit 0xf, type 0x1b = dpc0, pres1, def321, gran 1 processoreflags = resume, IOPL = 0 current process = 442 (slapd) trap number = 12 panic: page fault cpuid = 0 boot() called on cpu #0 uptime: 4d4h33m1s cannot dump. No dump device defined. Automatic reboot in 15 seconds - press a key on the console to abort rebooting cpu_reset called on cpu #0 cpu-reset: stopping other cpus spin lock sched lock held by 0xc1fd4900 for 75 seconds The machine never rebooted. Thought this error might help. This is on the other server that keeps dieing with slapd. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
FreeBSD Machines dieing, we've tried so much....
Hi all, OK, we're still having the FreeBSD machines die on us. Its two specific machines we've noticed, both FreeBSD 5.4, different hardware, different purposes. Originally, orion, our mail server, started getting kernel traps and dieing. Then, our primary ldap server, a week later, started doing it. Now they both are dieing atleast once every couple days, at random times. Orion has been up solid for five days, and Caliban (our primary ldap server) has been up for about seven, before this evening at 2:00 am when it died again. Here is the output from Caliban: http://paste.atopia.net/126. Orion has a similar message on the console when it hard locks, but the process usually says "procmail". I've never had instability problems with FreeBSD. These machines are both in the same location, but on different power supplies. They are controlled with high-level Air Conditioning. We've got three other FreeBSD 5.4 machines which haven't shown any sign of instability, but they dont receive anywhere near as much traffic as Caliban and Orion ... those servers get hammered constantly. The ONLY similarity between Orion and Caliban software-wise is that they both are involved in LDAP. Caliban acts as a primary LDAP server and Orion has LDAP configured via pam and nss. Please let me know any suggestions you can think of. The hardware is fairly new in both machines, but they are completely different kinds of boxes. Both machines are multiprocessor. Thanks in advance, Matt ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: OT: Procmail crashing with FreeBSD
Can you see your message at http://lists.freebsd.org/pipermail/freebsd-questions/2005-June/date.html ? Yep :) I was able to see it, thanks. Does anyone know why the machine keeps doing a kernel trap 12? Someone suggested that it could be hyperthreading, but I've got: orion# sysctl machdep.hyperthreading_allowed machdep.hyperthreading_allowed: 0 I've never experienced this kind of instability with FreeBSD before and I dont know why the machine keeps dieing.. any suggestions? Thanks! -Matt ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: df: root partition at 108% capacity! Can't find why...
df: root partition at 108% capacity! Can't find why... After searching google freebsd.org I am no nearing to figuring this out, other than this is a "known" problem. Either I or the system managed to get the root partition back to under 100% but only just... I have looked for any large files that might be taking up space but have yet to locate anything over 3meg. Any suggestions, ideas, thoughts gratefully received. My understanding is that you want to know what is taking up the 108%, not why its at 108% Have you tried utilizing du? Maybe something in /root ? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
OT: Procmail crashing with FreeBSD
Did my previous post with the actual error message post? It never came through to me and I dont see it in my outgoing mailbox can anyone confirm it came through to the list? Thanks, Matt ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: procmail keeps dieing on freebsd 5.4 with postfix
Ports ... I always use ports. On Wed, 15 Jun 2005, Warren Block wrote: On Wed, 15 Jun 2005, Matt Juszczak wrote: We are currently moving to a new mail server that is FreeBSD-based. Our old mail server is a chrooted slackware box that hasn't been upgraded in years because no one even had access to it for a while (the management of the company I work for used to stink, its better now). Our new mail server has 3000 accounts on it, that are active, but only about 50 of them are actually functioning (one of our virtual domains). We haven't switched the MX record for our main ISP yet, we're waiting to make sure the box is stable first. So to answer your question, there is only about a 50-user lynch mob and most of those users are internal to our ISP (employees, etc.) I would not make a change on something that had more live users, especially paying customers. Our current mail server supports procmail, and we have about 50 users who use it. Therefore, thats why I was turning it on on the new server. We're working on basically mirroring the old server to the new one and making sure that our change will be swift and efficient. I've considered using postfix's internal LDA and just calling procmail from inside a .forward file for those users who need it/want it ... this might end up fixing the problems. Did you build procmail from ports or bare? Just asking because there are ten patch files included with the port... -Warren Block * Rapid City, South Dakota USA !DSPAM:42b076c8956801608011501! ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: procmail keeps dieing on freebsd 5.4 with postfix
OK, here's the funny thing. We did a mail flood test, and our mail server stood up fine, but our LDAP server (which was handling all the queries) ended up crashing with a similar message ... so now I've got two machines running 5.4 with the same behavior. Here's the message. Remember, this is on the LDAP machine, not the Postfix/Procmail machine, but the error we received earlier was similar. Kernel Trap 12 with interrupts disabled Fatal trap 12: page fault while in kernel mode CPUID=1, apic ID=00 fault virtual address = 0x24 fault code = supervisor read, page not present instruction pointer = 0x8:0xc6644eff stack pointer = 0x10: 0xdaa86b48 frame pointer = 0x10 :0xdae86b5c code segment: base 0x0 limit 0xf type 0x1d, def32, 1 processes eflags = resume, IOPL=0 current process = 44091 (slapd) trap number = 12 panic page fault cpuid = 1 Hope that helps. I dont think FreeBSD should crash like this because it was getting hit hard with queries . but I could be wrong. -Matt ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: procmail keeps dieing on freebsd 5.4 with postfix
Appreciate the response :) Here's my message the way it should have been originally Seriously though, you need to provide some more detailed information if you want anyone here to be able to help you. Start with explaining why you decided to change MDAs in the first place since I'm sure I'm not the only one thinking you must be nuts to make such a major change on a production system with a potential 3000-user lynch mob waiting in the wings. What were you using for local delivery before this? Was there a problem with it or were you looking for new features, etc.? We are currently moving to a new mail server that is FreeBSD-based. Our old mail server is a chrooted slackware box that hasn't been upgraded in years because no one even had access to it for a while (the management of the company I work for used to stink, its better now). Our new mail server has 3000 accounts on it, that are active, but only about 50 of them are actually functioning (one of our virtual domains). We haven't switched the MX record for our main ISP yet, we're waiting to make sure the box is stable first. So to answer your question, there is only about a 50-user lynch mob and most of those users are internal to our ISP (employees, etc.) I would not make a change on something that had more live users, especially paying customers. Our current mail server supports procmail, and we have about 50 users who use it. Therefore, thats why I was turning it on on the new server. We're working on basically mirroring the old server to the new one and making sure that our change will be swift and efficient. I've considered using postfix's internal LDA and just calling procmail from inside a .forward file for those users who need it/want it ... this might end up fixing the problems. If you're not around to see the console messages how do you know "procmail is always the error causer"? Perhaps this is conveyed to you by your co-workers but if so, why don't they tell you the complete error message so you can convey it to us? Leaving that aside, however, what about the logs? Certainly /var/log/maillog should provide some clues if the problem is really your MDA (more on this below). Also we'd need to know something about your configuration (i.e. contents of main.cf and master.cf for starters) to help you with a MTA/MDA problem. Its happened twice now. The first time this problem happened was late at night, about 2 days after I made the change to the LDA. The machine would not respond to ping, and nagios was alerting us like crazy that the box was down. The machine was non-responsive to the keyboard, and the console had a "dump" on it, about 15 lines long, with procmail written all over it. I turned procmail off after rebooting the machine, running fsck, restoring postfix to a functioning state, etc. Procmail remained disabled for about three weeks, in which the box ran fine. Yesterday afternoon we switched the LDA back to procmail, and the machine ran fine over night. On my way into work today, I got paged that the box was down from nagios and called. The tech that was here rebooted the machine, but before he did he said, in his own words "There was a bunch of crap on the screen with procmail this and procmail that, and the machine was locked hard.". I've disabled procmail again and it seems to be running stable. As far as logs, nothing the maillog cuts out at 11:14 AM and cuts back in at 11:21 AM, with no "errors" in between. FWIW this doesn't sound like a software issue (except maybe a massive memory leak(??)) but then again, I'm saying this with very little useful information provided by you. Have you done any basic hardware checks (e.g. memtest, case and cpu cooling, power supply integrity, etc.)? Yes, the machine has been checked. We ran memtest on it, etc., with no problems. The machine is about 2 months old; however, so its passed its burn in test but could have issues, but I doubt thats the problem. You've stated that these lock-ups occur every week at the beginning of your post then you say later it's every couple of days. Which is it? Also, please try to precisely define "locking up" and "crashes". It's unclear to me based on your description and the (possibly misleading) subject line what portions of the system are affected. Precision matters IMHO. See above. Its occured twice in a one month span but most of that time procmail was not running. It occurs usually within 24-48 hours of switching procmail back on. Thanks, hope this helps a little more! -Matt ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Mail server with 3500 active accounts
We're running a mail server with 3500 active accounts. Are there any kernel variables I should set with sysctl in loader.conf that will make the system more efficient, etc.? Right now I'm just running with the defaults. I found a site online that says if you run hundreds of postfix processes then you need to change things. Our count right now is about 34 when I do ps auxw | grep postfix | wc -l ... but of course that includes other processes like clean, etc. Thanks! -Matt ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
procmail keeps dieing on freebsd 5.4 with postfix
Hi all, We had a mail server running with FreeBSD 5.4, about 3,000 accounts, and postfix. Recently, I turned procmail on in postfix (mailbox_command=/usr/procmail) and the machine has been locking up weekly ever since. And when this machines crashes, it crashes hard ... and "procmail" is always on the screen as the error causer when it happens. I know you all want messages, but I never seem to be here and my co workers reboot the box on me to fix it. Both times; however, we've had to run fsck from single user mode and also refresh the postfix queue. Does anyone have any ideas why procmail could be causing my system to completely hard lock every other couple of days? I disabled procmail for now and I know (knock on wood) the machine should be fine like it used to be ... but all these hard locks could eventually drive the freebsd box mad, and I wouldn't want to do a reinstall. Thanks! -Matt ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Moving mail spools
Hi all, We've got a new freebsd server setup, and an old mail server with slackware on it. We need to move the mail spools from the slack machine to the freebsd machine. if I just copy them over to var/mail will it automatically work or does freebsd use a different format? Thanks! -Matt ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: backup
Problem with this is that I have to then create a tar file on the remote machine, because if I login with sftp from my remote machine, that account wont have access to read all the files it needs to read. -Matt On Fri, 13 May 2005, Hexren wrote: Howdy, My server has an 18 gig drive in it. I'm looking to do incremental backups every night, where my entire /ext partition will be mirrored elsewhere (/ext is the only thing with anything special on it that would need to be recreated). I was thinking of either backing up to my home machine, which for the most part has a static IP (dynamic every 3-4 months), or getting an external hard drive. The server is a 1U. Does anyone have any suggestions, both for how to do this, and what kind of media to use? (External hard drive, tape drive, remote backup to my home machine, etc.) Thanks! Regards, Matt - Imho if possible a remote location should be the backup site as that gives you a backup even if the Server is destroyed by *insert something nasty here* pull the backup from your homemaschine and you need not worry about dynamic ips. Regards Hexren ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]" !DSPAM:42846692602911013311699! ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
backup
Howdy, My server has an 18 gig drive in it. I'm looking to do incremental backups every night, where my entire /ext partition will be mirrored elsewhere (/ext is the only thing with anything special on it that would need to be recreated). I was thinking of either backing up to my home machine, which for the most part has a static IP (dynamic every 3-4 months), or getting an external hard drive. The server is a 1U. Does anyone have any suggestions, both for how to do this, and what kind of media to use? (External hard drive, tape drive, remote backup to my home machine, etc.) Thanks! Regards, Matt ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
finger not working, service very slow with ldap
Howdy, Finger is working for some of my system accounts, and not others. A check of the log displays the following: Apr 7 16:50:29 uranus slapd[57684]: conn=85 op=0 BIND dn="cn=pamclient,ou=SystemAccounts,dc=mydomain,dc=net" method=128 Apr 7 16:50:29 uranus slapd[57684]: conn=85 op=0 BIND dn="cn=pamclient,ou=SystemAccounts,dc=mydomain,dc=net" mech=SIMPLE ssf=0 Apr 7 16:50:29 uranus slapd[57684]: conn=85 op=0 RESULT tag=97 err=0 text= Apr 7 16:50:29 uranus slapd[57684]: conn=85 op=1 SRCH base="ou=People,dc=mydomain,dc=net" scope=1 deref=0 filter="(objectClass=posixAccount)" Apr 7 16:50:29 uranus slapd[57684]: conn=85 op=1 SRCH attr=uid userPassword uidNumber gidNumber cn homeDirectory loginShell gecos description objectClass Apr 7 16:50:30 uranus slapd[57684]: conn=85 op=1 SEARCH RESULT tag=101 err=4 nentries=500 text= Apr 7 16:50:30 uranus slapd[57684]: conn=85 fd=19 closed and it returns "user mjuszczak not found". Whats funny is that it returns 500 entries, even though there is only one mjuszczak user. This could also be the reason that logging into the server is taking absolutely forever. A login takes about a minute, and the tail -f of ldap.log with loglevel 128 shows it searching every single user, all 7000 ... for some reason. Could my indexes in slapd.conf possibly be off, or is this something I messed up in freebsd's pam.d? Here is the index list btw for slapd.conf, but of course if this is an ldap problem I will be contacting that email list anyway. index objectClass eq index sudoUserpres,eq index uid pres,eq Thanks in advance! -Matt ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: IPFILTER and NFS
Erik, I already have that :-( ---snip--- # Default pass out pass out quick on em0 all keep state # Fragmented/Short/Opts/Fprinting packets block in quick on em0 all with ipopts block in quick on em0 all with frag block in quick on em0 proto tcp all with short block in quick on em0 proto tcp all flags FUP # Block local nets block in quick on em0 from 255.255.255.255/32 to any block in quick on em0 from 192.168.0.0/16 to any block in quick on em0 from 172.16.0.0/12 to any block in quick on em0 from 127.0.0.0/8 to any block in quick on em0 from 10.0.0.0/8 to any block in quick on em0 from 0.0.0.0/32 to any ---snip--- Erik NÃrgaard wrote: Matt Juszczak wrote: I dont have access to the nfs server... only the client. Your configuration info showed me making changes on the server. is there a way to make the client work ok? Just let your client connect to any port on the server - keep state so you can block incoming connections: pass out quick on proto tcp from /32 \ to /32 flags S keep state pass out quick on proto udp from /32 \ to /32 keep state Erik ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: IPFILTER and NFS
Problem is that I need to firewall the client. I dont have access to the nfs server... only the client. Your configuration info showed me making changes on the server. is there a way to make the client work ok? -Matt Erik NÃrgaard wrote: Matt Juszczak wrote: Howdy, Trying to get IPFILTER and NFS working. A google search didn't show much about my specific issue. With ipfilter working, nfs initially works, until someone tries to login. Then it stops working. With my firewall down on the NFS-CLIENT machine, it works fine. Any ideas? It appears to be an issue with random ports It is, NFS is an RPC service where the RPC deamon is requested to for info on which port mountd binds to. I wrote an howto for diskless clients, www.daemonsecurity.com/pxe/ - here's what to do: Enable nfs in /etc/rc.conf: rpcbind_enable="YES" # Run the portmapper service (YES/NO). nfs_server_enable="YES" # This host is an NFS server (or NO). mountd_enable="YES" # Run mountd (or NO). mountd_flags="-r -p 59" # Force mountd to bind on port 59 As a minimum you need to enable rpcbind, nfsserver and mountd. lockd and statd provides file locking and status monitoring. By default, when mountd starts it binds to some arbitrary port, and rpc is used to discover which, making it imposible to firewall. With option '-p' mountd can be forced to bind to a specific port. Port 59 is assigned to "any private file service" (see /etc/services). This limits the number of ports relevant to 59, 111 and 2049. You can't force lockd and statd to bind to specific ports (they are alos RPC services) and AFAIK you can't have disk quotas work correctly because of this. AFAIK NFS4 should address these problems, but the NFS4 server is still experimental. Till then, RPC is a security nightmare. Erik ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
IPFILTER and NFS
Howdy, Trying to get IPFILTER and NFS working. A google search didn't show much about my specific issue. With ipfilter working, nfs initially works, until someone tries to login. Then it stops working. With my firewall down on the NFS-CLIENT machine, it works fine. Any ideas? It appears to be an issue with random ports Thanks, Matt ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Clean install of FreeBSD, many ports wont compile
Ended up being a time synching issue, in case anyone wanted to know. -Matt Chuck Robey wrote: Matt Juszczak wrote: I think everyone is misunderstanding my issue here. I setup 5 FreeBSD servers at once, we are converting our mail server, web server, DNS server, spam gateway, and transparent proxy machine over all at once to FreeBSD (well, in steps...but...). My experience with freebsd is considered intermediate. I installed all these boxes from the ISO. The FIRST thing I did after the install was complete was a: pkg_add -r cvsup-without-gui cvsup /etc/ports-supfile (I made the supfile) cvsup /etc/ports-supfile cd /usr/ports/shells/bash2 make install cd /usr/ports/editors/pico make install I did not type anything else in between in the initial install and those commands above. The pico and bash installs failed, and only happened on this one machine. The other machines work fine. Therefore, in my opinion, either something is wrong with the hardware of the box, or something was wrong with the ISO I downloaded, because I didn't type enough commands to be able to mess anything up. Thanks for your help in advance. Matt, I have a bad habit of misreading mails. I know I dod it, I try pretty hard, but I know i do it, and so I'll admit that right up front here, and tell you that the chances are pretty good that I did it here, although I re-read the first mail, and still don't see where I did that. It seemed to me that you were saying that you were doing a fist time install, but approachig it as if you were doing a kernel rebuild for the first time. I think (from your response) that you are probably telling me what's wrong, incorrectly. Like I said, I know I do that, and I want to admit it so that you do understand me. I know I probably deleted earlier mails that explained it better, because I don't see anywhere in your mail any comment about 5 systems ... is that it? -Matt Chuck Robey wrote: Matt Juszczak wrote: Still can't figure out how to get my FreeBSD machine to work properly. I've tried everything. Download the ISO on Wednesday, Mar 23rd, from ftp.freebsd.org. standard install, cvsup'd the ports, and tried to install /usr/ports/editors/pico, /usr/ports/shells/bash2, and a couple other ports. The output of the bad compile of pico and bash are below: http://paste.atopia.net/108 http://paste.atopia.net/109 http://paste.atopia.net/110 http://paste.atopia.net/111 I tried memtest, a hard drive test, etc. I don't understand how a clean install of freebsd 5.3 - RELEASE could be doing this. Looking at your listings, you aren't trying to do a clean install, you're trying to do a complete rebuild. If you don't have your system completely built ALREADY at this point, it's a bit like trying to buy a car by putting one together, armed with a nice screwdriver. Back up, tell us if you have a system installed. IF that's true, then stop complaining about trying to install a system, because you have that, instead begin researching (by using the FreeBSD handbook) how to recompile a kernel. If you aren't at least somewhat of a programmer, then you're going to need to get a friend who IS one to help you out ... maybe, learn how to use the FreeBSD IRC channel, it's fairly good. The way it goes is, first yo uget yourself a system installed, then you worry about getting a system recompiled. Along the way you will do a whole lot of learning. BUT stop complaining about not getting your system to "work properly" unless that really is your problem, cause all you're going to do is confuse and upset people who want to help you. For the record, I cvsup'd to cvsup2, and I've tried that server on another already installed 5.3-RELEASE and it worked fine. Please, any suggestions would be appreciated. I've never seen anything like this before. regards, Matt ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]" !DSPAM:4245e997402276760979586! ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Clean install of FreeBSD, many ports wont compile
I think everyone is misunderstanding my issue here. I setup 5 FreeBSD servers at once, we are converting our mail server, web server, DNS server, spam gateway, and transparent proxy machine over all at once to FreeBSD (well, in steps...but...). My experience with freebsd is considered intermediate. I installed all these boxes from the ISO. The FIRST thing I did after the install was complete was a: pkg_add -r cvsup-without-gui cvsup /etc/ports-supfile (I made the supfile) cvsup /etc/ports-supfile cd /usr/ports/shells/bash2 make install cd /usr/ports/editors/pico make install I did not type anything else in between in the initial install and those commands above. The pico and bash installs failed, and only happened on this one machine. The other machines work fine. Therefore, in my opinion, either something is wrong with the hardware of the box, or something was wrong with the ISO I downloaded, because I didn't type enough commands to be able to mess anything up. Thanks for your help in advance. -Matt Chuck Robey wrote: Matt Juszczak wrote: Still can't figure out how to get my FreeBSD machine to work properly. I've tried everything. Download the ISO on Wednesday, Mar 23rd, from ftp.freebsd.org. standard install, cvsup'd the ports, and tried to install /usr/ports/editors/pico, /usr/ports/shells/bash2, and a couple other ports. The output of the bad compile of pico and bash are below: http://paste.atopia.net/108 http://paste.atopia.net/109 http://paste.atopia.net/110 http://paste.atopia.net/111 I tried memtest, a hard drive test, etc. I don't understand how a clean install of freebsd 5.3 - RELEASE could be doing this. Looking at your listings, you aren't trying to do a clean install, you're trying to do a complete rebuild. If you don't have your system completely built ALREADY at this point, it's a bit like trying to buy a car by putting one together, armed with a nice screwdriver. Back up, tell us if you have a system installed. IF that's true, then stop complaining about trying to install a system, because you have that, instead begin researching (by using the FreeBSD handbook) how to recompile a kernel. If you aren't at least somewhat of a programmer, then you're going to need to get a friend who IS one to help you out ... maybe, learn how to use the FreeBSD IRC channel, it's fairly good. The way it goes is, first yo uget yourself a system installed, then you worry about getting a system recompiled. Along the way you will do a whole lot of learning. BUT stop complaining about not getting your system to "work properly" unless that really is your problem, cause all you're going to do is confuse and upset people who want to help you. For the record, I cvsup'd to cvsup2, and I've tried that server on another already installed 5.3-RELEASE and it worked fine. Please, any suggestions would be appreciated. I've never seen anything like this before. regards, Matt ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]" !DSPAM:4245e4b9399096707511630! ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Clean install of FreeBSD, many ports wont compile
Still can't figure out how to get my FreeBSD machine to work properly. I've tried everything. Download the ISO on Wednesday, Mar 23rd, from ftp.freebsd.org. standard install, cvsup'd the ports, and tried to install /usr/ports/editors/pico, /usr/ports/shells/bash2, and a couple other ports. The output of the bad compile of pico and bash are below: http://paste.atopia.net/108 http://paste.atopia.net/109 http://paste.atopia.net/110 http://paste.atopia.net/111 I tried memtest, a hard drive test, etc. I don't understand how a clean install of freebsd 5.3 - RELEASE could be doing this. For the record, I cvsup'd to cvsup2, and I've tried that server on another already installed 5.3-RELEASE and it worked fine. Please, any suggestions would be appreciated. I've never seen anything like this before. regards, Matt ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Issue with FreeBSD, Compact Flash
Adding to my response below, I'd like to also say that we have two of these units, and both units have failed (with two different readers, and cards). -Matt > We're trying to run m0n0wall on a Nexcom Nexgate 1045. > > > The card that came with it is a Sandisk card. The card works in other > devices (we can extract the full image to it with no problems). > > I prefer experimenting too, but the boss really wants it up :-( :-( > > > I can try to hunt down some other cards, but please let me know if you > have any other suggestions. > >> Am Freitag, 25. März 2005 15:32 schrieb Matt Juszczak: >> >> >>> These options were already set. Any other ideas? otherwise we're >>> going to have to skip the flash card option and put a hard drive in >>> this box >> >> Well, I have no idea other than replacing the card with a generally >> knwon working one. I had no problems with Kingston CF cards and if you >> prefer DMA-capable cards I'd recommend SanDisk ultraII. But if your >> CF-Connector >> hasn't the neccessary DMA hardwired lines you need to disable ata_dma, >> though it's working fine. I'd perfer experimenting, using a rotating HD >> is no solution. Have you checked your card in any other (ata-mode) >> device? In what kind of hardware do you plug in your card, Soekris, >> EPIA, WRAP, or >> general IDE-CF adapter? >> >> -Harry >> >> >> >>> >>> :-( :-( >>> >>> >>> >>> Thank you, >>> >>> >>> >>> Matt >>> >>> >>> >>> Emanuel Strobl wrote: >>> >>> >>>> Am Mittwoch, 23. März 2005 21:02 schrieb Matt Juszczak: >>>> >>>> >>>>> Howdy, >>>>> >>>>> >>>>> >>>>> Does anyone have any ideas on the following? Trying to load >>>>> m0n0wall, which uses a FreeBSD 5 kernel. Keep getting the boot >>>>> errors you see in the paste link below. >>>>> >>>>> http://paste.atopia.net/107 >>>>> >>>>> >>>>> >>>>> We really dont want to have to switch back to a hard drive :-( >>>>> Any >>>>> ideas are appreciated in advance. >>>> >>>> Maybe your CF-Card doesn't implement the ATA-Mode correctly. I once >>>> had a card which had wrong ATA-mode support but it didn't even >>>> boot. But I don't know why these errors occur, I'd suggest trying >>>> the following in /boot/loader.conf: hw.ata.ata_dma=0 hw.ata.wc=0 >>>> >>>> Good luck, >>>> >>>> >>>> >>>> -Harry >>>> >>>> >>>> >>>>> Thanks, >>>>> >>>>> >>>>> >>>>> Matt >>>>> >>>>> >>>>> >>>>> ___ >>>>> 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]" >>> >>> >> > > > > !DSPAM:4244570e98971663317813! > > ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Issue with FreeBSD, Compact Flash
We're trying to run m0n0wall on a Nexcom Nexgate 1045. The card that came with it is a Sandisk card. The card works in other devices (we can extract the full image to it with no problems). I prefer experimenting too, but the boss really wants it up :-( :-( I can try to hunt down some other cards, but please let me know if you have any other suggestions. > Am Freitag, 25. März 2005 15:32 schrieb Matt Juszczak: > >> These options were already set. Any other ideas? otherwise we're >> going to have to skip the flash card option and put a hard drive in this >> box > > Well, I have no idea other than replacing the card with a generally knwon > working one. I had no problems with Kingston CF cards and if you prefer > DMA-capable cards I'd recommend SanDisk ultraII. But if your CF-Connector > hasn't the neccessary DMA hardwired lines you need to disable ata_dma, > though it's working fine. I'd perfer experimenting, using a rotating HD is > no solution. Have you checked your card in any other (ata-mode) device? In > what kind of hardware do you plug in your card, Soekris, EPIA, WRAP, or > general IDE-CF adapter? > > -Harry > > >> >> :-( :-( >> >> >> Thank you, >> >> >> Matt >> >> >> Emanuel Strobl wrote: >> >>> Am Mittwoch, 23. März 2005 21:02 schrieb Matt Juszczak: >>> >>>> Howdy, >>>> >>>> >>>> Does anyone have any ideas on the following? Trying to load >>>> m0n0wall, which uses a FreeBSD 5 kernel. Keep getting the boot >>>> errors you see in the paste link below. >>>> >>>> http://paste.atopia.net/107 >>>> >>>> >>>> We really dont want to have to switch back to a hard drive :-( Any >>>> ideas are appreciated in advance. >>> >>> Maybe your CF-Card doesn't implement the ATA-Mode correctly. I once >>> had a card which had wrong ATA-mode support but it didn't even boot. >>> But I don't know why these errors occur, I'd suggest trying the >>> following in /boot/loader.conf: hw.ata.ata_dma=0 hw.ata.wc=0 >>> >>> Good luck, >>> >>> >>> -Harry >>> >>> >>>> Thanks, >>>> >>>> >>>> Matt >>>> >>>> >>>> ___ >>>> freebsd-questions@freebsd.org mailing list >>>> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >>>> To unsubscribe, send any mail to >>>> "[EMAIL PROTECTED]" >>>> >>>> >>>> >>>> --- >>>> - >>>> >>>> >>>> !DSPAM:42425048649491091553215! >>>> >> >> ___ >> 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: Issue with FreeBSD, Compact Flash
These options were already set. Any other ideas? otherwise we're going to have to skip the flash card option and put a hard drive in this box :-( :-( Thank you, Matt Emanuel Strobl wrote: Am Mittwoch, 23. März 2005 21:02 schrieb Matt Juszczak: Howdy, Does anyone have any ideas on the following? Trying to load m0n0wall, which uses a FreeBSD 5 kernel. Keep getting the boot errors you see in the paste link below. http://paste.atopia.net/107 We really dont want to have to switch back to a hard drive :-( Any ideas are appreciated in advance. Maybe your CF-Card doesn't implement the ATA-Mode correctly. I once had a card which had wrong ATA-mode support but it didn't even boot. But I don't know why these errors occur, I'd suggest trying the following in /boot/loader.conf: hw.ata.ata_dma=0 hw.ata.wc=0 Good luck, -Harry Thanks, Matt ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]" !DSPAM:42425048649491091553215! ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: xfce4 error
I should read more. Thanks. :) J. Martin Petersen wrote: Matt Juszczak wrote: Installed xorg and xfce4 Then I get the following. Any ideas? Thank you! -Matt ---snip--- heather$ startxfce4 /usr/X11R6/bin/startxfce4: Starting X server X Window System Version 6.8.2 Release Date: 9 February 2005 X Protocol Version 11, Revision 0, Release 6.8.2 Build Operating System: FreeBSD 5.3 i386 [ELF] Current Operating System: FreeBSD heather 5.3-RELEASE FreeBSD 5.3-RELEASE #0: Fri Nov 5 04:19:18 UTC 2004 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC i386 Build Date: 25 March 2005 Before reporting problems, check http://wiki.X.Org to make sure that you have the latest version. Module Loader present Markers: (--) probed, (**) from config file, (==) default setting, (++) from command line, (!!) notice, (II) informational, (WW) warning, (EE) error, (NI) not implemented, (??) unknown. (==) Log file: "/var/log/Xorg.0.log", Time: Fri Mar 25 03:26:15 2005 (==) Using config file: "/etc/X11/XF86Config" xscreensaver: not found Agent pid 18253 ** (xfce-mcs-manager:18257): CRITICAL **: find_master: assertion `mixer_handle != -1' failed ** (xfce-mcs-manager:18257): WARNING **: oss: No master volume _IceTransmkdir: ERROR: euid != 0,directory /tmp/.ICE-unix will not be created. _IceTransSocketUNIXCreateListener: mkdir(/tmp/.ICE-unix) failed, errno = 2 _IceTransMakeAllCOTSServerListeners: failed to create listener for local xfce4-session: Unable to establish ICE listeners: Cannot establish any listening sockets Agent pid 18253 killed waiting for X server to shut down The application 'xfce-mcs-manager' lost its connection to the display :0.0; most likely the X server was shut down or you killed/destroyed the application. Maybe the following from /usr/ports/UPDATING can help? |20050126: | AFFECTS: users of x11-wm/xfce4 | AUTHOR: [EMAIL PROTECTED] | | If you use Xorg 6.8.1: Make shure there is an /tmp/.ICE-unix with | propper rights. For further informations about that, please refer to | 2004122 | Please update all your plugins as well when you update from 4.0.6 to | 4.2. They all need recompiling to link against the new xfce libraries Cheers, Martin ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]" !DSPAM:4243cd6916672801758732! ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
xfce4 error
Installed xorg and xfce4 Then I get the following. Any ideas? Thank you! -Matt ---snip--- heather$ startxfce4 /usr/X11R6/bin/startxfce4: Starting X server X Window System Version 6.8.2 Release Date: 9 February 2005 X Protocol Version 11, Revision 0, Release 6.8.2 Build Operating System: FreeBSD 5.3 i386 [ELF] Current Operating System: FreeBSD heather 5.3-RELEASE FreeBSD 5.3-RELEASE #0: Fri Nov 5 04:19:18 UTC 2004 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC i386 Build Date: 25 March 2005 Before reporting problems, check http://wiki.X.Org to make sure that you have the latest version. Module Loader present Markers: (--) probed, (**) from config file, (==) default setting, (++) from command line, (!!) notice, (II) informational, (WW) warning, (EE) error, (NI) not implemented, (??) unknown. (==) Log file: "/var/log/Xorg.0.log", Time: Fri Mar 25 03:26:15 2005 (==) Using config file: "/etc/X11/XF86Config" xscreensaver: not found Agent pid 18253 ** (xfce-mcs-manager:18257): CRITICAL **: find_master: assertion `mixer_handle != -1' failed ** (xfce-mcs-manager:18257): WARNING **: oss: No master volume _IceTransmkdir: ERROR: euid != 0,directory /tmp/.ICE-unix will not be created. _IceTransSocketUNIXCreateListener: mkdir(/tmp/.ICE-unix) failed, errno = 2 _IceTransMakeAllCOTSServerListeners: failed to create listener for local xfce4-session: Unable to establish ICE listeners: Cannot establish any listening sockets Agent pid 18253 killed waiting for X server to shut down The application 'xfce-mcs-manager' lost its connection to the display :0.0; most likely the X server was shut down or you killed/destroyed the application. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Pico & Bash2 ports wont install, others also affected
You are right. Here are the correct URL's: pkg_info ---> http://paste.atopia.net/108 pico install (ispell step) ---> http://paste.atopia.net/109 bash2 install --> http://paste.atopia.net/110 cat /etc/make.conf ---> http://paste.atopia.net/111 Those are correct. Any further ideas would help me greatly! Regards, Matt Kris Kennaway wrote: On Thu, Mar 24, 2005 at 11:34:28PM -0500, Matt Juszczak wrote: I did the following steps today: Download 5.3-RELEASE iso from ftp.freebsd.org Installed from the ISO, standard install, kernel source, binaries, no games. rebooted, typed in my one page of stuff to make sshd key gen secure logged in as root did pkg_add -r cvsup-without-gui did cvsup /etc/ports-supfile (which I created, used cvsup2.freebsd.org) did cd /usr/ports/editors/pico && make install failed did cd /usr/ports/shells/bash2 && make install failed did cd /usr/ports/security/sudo && make install --- succeeded I described this because I wanted to let everyone know that this system is as base as it could be. I don't have anything installed on it yet. Here are some outputs: http://paste.atopia.net/108 --> make.conf http://paste.atopia.net/109 --> pico install http://paste.atopia.net/110 --> bash install http://paste.atopia.net/111 --> pkg list Any help would be appreciated. Thanks! The URLs appear to be uncorrelated with your annotations. Kris !DSPAM:424396f4915261538227401! ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Pico & Bash2 ports wont install, others also affected
I did the following steps today: Download 5.3-RELEASE iso from ftp.freebsd.org Installed from the ISO, standard install, kernel source, binaries, no games. rebooted, typed in my one page of stuff to make sshd key gen secure logged in as root did pkg_add -r cvsup-without-gui did cvsup /etc/ports-supfile (which I created, used cvsup2.freebsd.org) did cd /usr/ports/editors/pico && make install failed did cd /usr/ports/shells/bash2 && make install failed did cd /usr/ports/security/sudo && make install --- succeeded I described this because I wanted to let everyone know that this system is as base as it could be. I don't have anything installed on it yet. Here are some outputs: http://paste.atopia.net/108 --> make.conf http://paste.atopia.net/109 --> pico install http://paste.atopia.net/110 --> bash install http://paste.atopia.net/111 --> pkg list Any help would be appreciated. Thanks! -Matt ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Issue with FreeBSD, Compact Flash
Howdy, Does anyone have any ideas on the following? Trying to load m0n0wall, which uses a FreeBSD 5 kernel. Keep getting the boot errors you see in the paste link below. http://paste.atopia.net/107 We really dont want to have to switch back to a hard drive :-( Any ideas are appreciated in advance. Thanks, Matt ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Content Filtering setup for 2000 ISP users
Hello all, Setting up a content filtering machine (two nics, ipnat, ipf) with a transparent proxy and Dan's guardian. ipnat and or ipf will RDR all outgoing packets on port 80 to the localhost proxy server which is Dan's guardian. Question is, I've got a base distro of freebsd running a custom kernel at securelevel=2. I've got ipfilter compiled into the kernel with default set to deny all. Any other suggestions on this one? Should I jail the proxy? Thx, Matt ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: X not loading in full screen
The monitor is a laptop LCD screen. See my xorg.conf at http://www.atopia.net/scratch/xorg.conf. I also tried stretching the screen in my bios, that stretches the console but X still starts in a small window in the middle of my screen. My laptop is a Toshiba Satellite 2675DVD. The log file doesn't say much at all. Did you want me to post that as well? -Matt On Sun, 6 Mar 2005, Warren Block wrote: On Sun, 6 Mar 2005, Matt Juszczak wrote: I've done that already. Native is 800x600, and I put that in /etc/X11/XF86Config. When I do startx, it pulls from that file (I see it saying "loading from /etc/X11/XF86Config" I've also done defaultdepth 24, etc. Still the same issue. So what does /var/log/Xorg.0.log say? I'd guess that it's not finding what it thinks is an acceptable refresh rate for the monitor. -Warren Block * Rapid City, South Dakota USA !DSPAM:422be32b492768281814088! ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: X not loading in full screen
Edit the xorg.conf file to match the native resolution of your notebook screen. For example, something like this: I've done that already. Native is 800x600, and I put that in /etc/X11/XF86Config. When I do startx, it pulls from that file (I see it saying "loading from /etc/X11/XF86Config" I've also done defaultdepth 24, etc. Still the same issue. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
X not loading in full screen
Hello, I've installed Gnome2 and xorg on my laptop, and it wont load in a full screen window. There is about an inch of black border on each side of the window. I've googled and tried possible suggestions (such as changing the xorg.conf file, etc.) but still no dice. Any ideas? Thanks! Regards, -- Matthew Juszczak [EMAIL PROTECTED] http://www.atopia.net 908 229 9024 HOSTING SPECIALS: http://www.atopia.net/hosting/specials.htm -- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Streaming, real time MRTG solution?
That's why I put real time in double quotes. What I'm asking for is output of the current readings from snmp, much like the SVG viewer does in m0n0wall. Even if the data was a few seconds delayed... -Matt Ted Mittelstaedt wrote: Hmm, perhaps this will help: A student one day came to a Zen master and said "Master, I want to build the shortest road to Miyako, how should it be built" "The shortest road to Miyako is the straightest" replied the master. So the student built a road to Miyako. When it was done he went back to the master in despair and said "Master, I cannot tell if the road I built is straight" The master replied "Climb to the top floor of this house and look" So, the student did so and when he was done he went back to the master in despair and said "Master, I can see it better but I still cannot tell if the road I built is straight" The master replied "Build a tall tower and climb to the top and look" So, the student did so and when he was done he went back to the master in despair and said "Master, I can see it better but I still cannot tell if the road I built is straight" The master replied "Build the tallest tower possible and climb to the top and look" So, the student did so and when he was done he went back to the master in despair and said "Master, I can see it better but I still cannot tell if the road I built is straight" The master replied "climb to the top of that hill and look" So, the student did so and when he was done he went back to the master in despair and said "Master, I can see it better but I still cannot tell if the road I built is straight" The master replied "climb to the top of that tall mountain and look" So, the student did so and when he was done he went back to the master in despair and said "Master, I can see it better but I still cannot tell if the road I built is straight" The master replied "climb to the top of the tallest mountain in the world and look" So, the student did so and when he was done he went back to the master in despair and said "Master, I can see it better but I still cannot tell if the road I built is straight. I can't climb any higher I will have to grow wings and fly to go higher" The master replied "you are not a bird" At that moment, the student was enlightened. How many measurements are in 'real time'? Ted -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Matt Juszczak Sent: Monday, December 27, 2004 9:06 PM To: freebsd-questions@freebsd.org Subject: Streaming, real time MRTG solution? Hello all, I've seen the Adobe SVG viewer work with traffic stats to show real time traffic statistics, such as the one found in m0n0wall. Does anyone know of a real time, web based software package that can communicate with SNMP (much like MRTG does), except it shows "real time" data instead of 5 minute averages? Possibly a self moving graph so the page wouldn't have to be reloaded? Thanks for any help anyone can provide, -Matt ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]" !DSPAM:41d11c51873801468516577! ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Streaming, real time MRTG solution?
Hello all, I've seen the Adobe SVG viewer work with traffic stats to show real time traffic statistics, such as the one found in m0n0wall. Does anyone know of a real time, web based software package that can communicate with SNMP (much like MRTG does), except it shows "real time" data instead of 5 minute averages? Possibly a self moving graph so the page wouldn't have to be reloaded? Thanks for any help anyone can provide, -Matt ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
accidental fdisk -BI
I accidently did an accidental fdisk -BI on /dev/da0, which is where my main freebsd root is. I meant to do it on da1 but my twiddle fingers typed 0 instead of 1. I rebooted the box thinking I'd have to reinstall (luckily my user data is on a different drive), but the box came back up fine ... I was shocked. Can I continue to use it? Did I just not mess anything up some how? Or have I messed something up secretly and even though the box runs fine a reinstall should still occur? Thanks! -Matt ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
m0n0wall not booting after switch to mdconfig
Hello, As of yesterday I stopped using m0n0image by Michael I and took most of the commands from m0n0image and the hackers guide, along with the FreeBSD handbook, and tried to write a new shell script that worked with mdconfig. The shell script works great. It can successfully "decompress" an image and "recompress" an image without any errors. However, whenever I boot from an image that the shell script creates, it doesn't load. The boot up process stops at the kernel loading and it says it can't find kernel or kernel.old. I'm pretty sure I'm doing everything right. Maybe there's one mistake I'm completely missing. Could someone please look at it and let me know? Shell script is attached. Thanks, Matt # /dev/md0c: type: unknown disk: amnesiac label: flags: bytes/sector: 512 sectors/track: 32 tracks/cylinder: 64 sectors/cylinder: 2048 cylinders: 5 sectors/unit: 12288 rpm: 3600 interleave: 1 trackskew: 0 cylinderskew: 0 headswitch: 0 # milliseconds track-to-track seek: 0 # milliseconds drivedata: 0 8 partitions: #size offsetfstype [fsize bsize bps/cpg] a:1228804.2BSD 1024 819226 # (Cyl.0 - 4) c:122880unused0 0 # (Cyl.0 - 4) #!/usr/local/bin/bash printf "Image Generator/Decompressor\n\n" ls -al | grep "\.img" | grep -v " \." ls -al | grep "drwx" | grep -v " \." printf "\n(G)enerate an image or (D)ecompress one?: " read REQUEST if [ "$REQUEST" = "d" ] then printf "Source Name (without extension): " read image printf "Output Directory: " read image_dir if [ \( -f $image.img -a $image_dir \) ] then printf "Decompressing $image ... 0%%\b\b" mkdir $image_dir mkdir $image_dir/fs mkdir $image_dir/kern printf "10%%\b\b\b" mv $image.img $image.bin.gz gzip -d $image.bin.gz printf "20%%\b\b\b" mdconfig -a -t vnode -f $image.bin -u 0 mount /dev/md0a /mnt printf "30%%\b\b\b" cp -p /mnt/kernel.gz $image_dir/kern/ printf "35%%\b\b\b" cp -p /mnt/mfsroot.gz $image_dir printf "40%%\b\b\b" cp -Rp /mnt/boot $image_dir/boot printf "45%%\b\b\b" cp -Rp /mnt/conf $image_dir/conf printf "50%%\b\b\b" umount /mnt mdconfig -d -u 0 printf "60%%\b\b\b" gzip -9 $image.bin mv $image.bin.gz $image.img printf "70%%\b\b\b" gzip -d $image_dir/mfsroot.gz printf "80%%\b\b\b" mdconfig -a -t vnode -f $image_dir/mfsroot -u 0 mount /dev/md0c /mnt cp -Rp /mnt/* $image_dir/fs printf "90%%\b\b\b" umount /mnt mdconfig -d -u 0 rm $image_dir/mfsroot printf "100%%" fi elif [ "$REQUEST" = "g" ] then printf "Output Name (without extension): " read outfile printf "Source Directory: " read directory if [ \( -d $directory -a -n $outfile \) ] then printf "Compressing $directory ... 0%%\b\b" mkdir tmp dd if=/dev/zero of=tmp/mfsroot.bin bs=1k count=12288 > /dev/null 2>&1 printf "10%%\b\b\b" mdconfig -a -t vnode -f tmp/mfsroot.bin -u 0 disklabel -r -w md0 auto newfs -b 8192 -f 1024 /dev/md0c > /dev/null 2>&1 printf "20%%\b\b\b" mount /dev/md0c /mnt cp -Rp $directory/fs/* /mnt umount /mnt printf "30%%\b\b\b" mdconfig -d -u 0 gzip -9 tmp/mfsroot.bin printf "40%%\b\b\b" mv tmp/mfsroot.bin.gz tmp/mfsroot.gz dd if=/dev/zero of=tmp/$directory.bin bs=1k count=6144 > /dev/null 2>&1 mdconfig -a -t vnode -f tmp/$directory.bin -u 0 printf "50%%\b\b\b" disklabel -BR md0 label.proto newfs -b 8192 -f 1024 /dev/md0a > /dev/null 2>&1 mount /dev/md0a /mnt printf "60%%\b\b\b" cp -Rp $directory/boot /mnt cp -Rp $directory/conf /mnt printf "70%%\b\b\b" cp -p tmp/mfsroot.gz $directory/kern/kernel.gz /mnt umount /mnt printf "80%%\b\b\b" mdconfig -d -u 0 gzip -9 tmp/$directory.bin printf "90%%\b\b\b" mv tmp/$directory.bin.gz $outfile.img rm -rf tmp printf "100%%"; fi else printf "You must choose G or D" printf fi echo
vnconfig vs mdconfig
I have a script that uses vnconfig instead of mdconfig. Are the two interchangable? What are the main differences? Is my vnconfig script useless now with mdconfig or are there only simple changes? The man pages dont seem to help as this stuff confuses the heck out of me. Thanks, matt ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
CDRW trouble
Hello everyone, Having some trouble with my cdrw ... deputy# burncd -f /dev/acd0c -s 1 data /home/matt/devel/monodevel/cd.iso fixate next writeable LBA 0 writing from file /home/matt/devel/monodevel/cd.iso size 12064 KB only wrote -1 of 32768 bytes err=5 fixating CD, please wait.. burncd: ioctl(CDRIOCFIXATE): Input/output error deputy# Might also want to see http://paste.atopia.net/58 Console displays WRITE_BIG and CLOSE_TRAC/SESSION errors using burncd. I've tried changing: -CD RW drive -CD RW Media -Hardware (got an entirely new machine in here) -cables The only thing I havben't changed is the hard drive (haven't tried a new install of bsd or a different OS). Running 4.10-RELEASE. Any ideas? Thanks! -Matt ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
FreeBSD 4.0 with ipnat/ipfw2 1:1 NAT
Hello all, Was just wondering everyone's opinion on this subject Got a FreeBSD box ... 2.4 ghz Xeon with 1 gig RAM and two gb nic cards. This box's job is to do a 1:1 NAT for about 2000 workstations. In everyone's opinion, is IPNAT and IPFW2 a good solution for this? Also, will that box handle that (I'm pretty sure it will), and if so, any security recommendations? (other than custom kernel, local firewall, and securelevel 2). Thanks! -Matt ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: [from newbies] RE: IPFW2 + 4.10
Matt, IPFW2 is not compiled into 4.10 by default. At a shell, type "man ipfw", then a single forward slash (to bring up the search tool), then search for STABLE a couple of times directions are in there Here it is anyway USING IPFW2 IN FreeBSD-STABLE ipfw2 is standard in FreeBSD CURRENT, whereas FreeBSD STABLE still uses ipfw1 unless the kernel is compiled with options IPFW2, and /sbin/ipfw and /usr/lib/libalias are recompiled with -DIPFW2 and reinstalled (the same effect can be achieved by adding IPFW2=TRUE to /etc/make.conf before a buildworld). Hope that helps, Matt clayton rollins wrote: On June 28, 2004, Matt <[EMAIL PROTECTED]> wrote: Hello freebsd-newbies, I am still fairly new at the BSD level, migrated from linux. The question that I have is, is Version 4.10 kernel compiled with IPFW2, I know the doc's say that CURRENT version has and that it was implemented in 2002, yet the doc's say that STABLE does not have it compiled into the kernel. Can some one please clarify -- Best regards, Matt mailto:[EMAIL PROTECTED] Hi Matt, (Can't reply on -newbies, it's a list charter thing :).) 4.x versions come from the STABLE branch and, so, do not have ipfw2 compiled in the kernel by default. (Instead, they use the older, and more tested, ipfw.) If you want ipfw2, refer to 'man 8 ipfw', the section "using ipfw2 on freebsd-stable," for very good instructions. Regards, Clayton _ FREE pop-up blocking with the new MSN Toolbar – get it now! http://toolbar.msn.click-url.com/go/onm00200415ave/direct/01/ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]" !DSPAM:40df08f8545962012013677! ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Redirection with a bridge ?
What are some of the other approaches (if you dont mind). I can't really do a NAT, I'd really like to stay with a bridge and not do any routing. Charles Swiger wrote: On Jun 21, 2004, at 5:10 PM, Matt Juszczak wrote: [ ... ] So basically, I either have to use some other form of redirecting web packets (a bogus DNS server maybe), or switch to a NAT instead of a bridge. Correct? Yes, more or less. There are other approaches which could be taken which are more complex, but the basic answer is that NAT is probably the right approach. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Redirection with a bridge ?
Renato Marques wrote: Hmmm.. I really can't think about some solution... All of them involve a router before, in or after the bridge. How about proxying before the bridge? I think that my be an option. I'll have to think on it, I appreciate your help though. Thanks! ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Redirection with a bridge ?
I know its layer 3 ... my point is that FreeBSD's bridge supports IPFW, and IPFW allows for some IP-related things ...filtering by source IP, destination IP, etc. etc. But in the man page for ipfw, it says that the "forward" command in ipfw is not supported on layer 2 (bridging, etc.). So I was wondering if there was a way to forward specific IP traffic without using NAT or routing (just strictly bridging). Someone on IRC mentioned that its possible, but would require a custom program Thanks, -Matt Lowell Gilbert wrote: Matt Juszczak <[EMAIL PROTECTED]> writes: Is there a way to do IP redirection without using layer 3? IP *is* layer 3. !DSPAM:40d3a0f4293241197476410! ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Redirection with a bridge ?
So in summary, do I basically either have to do routing or a NAT, or find another alternative? There's no way to just bridge the traffic and do what i want? Thanks! :) -Matt Renato Marques wrote: Well, in the TCP/IP Model, IP is layer 2 and TCP/UDP layer3. I dont think a bridge could do some like that. A bridge see only IP packets, where are no information about ports, ports are used in TCP and UDP. Actualy, I think Layer 3 is where the IP protocol besides. NAT is done on layer 4... but i could be wrong... Hello all, Is there a way to do IP redirection without using layer 3? (IPNAT or routing)? I have a bridge setup and want to redirect any port 80 traffic outgoing through the bridge to a specific server but it seems I can only do this with ipfw's forward/fwd or ipnat's rdr commands ... which are all layer 3 oriented and dont work with just a bridge... Any ideas? Thank you in advance for anyone's help, Matt ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]" ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]" ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]" !DSPAM:40d37ad3273001065514757! ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"