Re: Mail back-up system
Since every mail is stored in its own file (versus concatenation in Mbox), it's much cheaper to backup. Just copy all the new/touched files, not all your mail. Yes, that's a good point. Because these files are *already* backups, I assumed that they wouldn't be backed up themselves, but that may well not be the case. Actually, as I have an Amanda server floating around, I also do tape archive of the back-up :)) Olivier ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: HDTV card for FreeBSD
Is there any HDTV card which works for FreeBSD? If I am not confused on what is HDTV, sort of satellite receiver card to get TV on your PC, there is a company http://udgateway.com/ that sells embeded systems based on FreeBSD that does that sot of things, so the drivers should exists somewhere. Olivier ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Mail back-up system
I guess if they had deleted it before the next rsync, you could just copy the individual mails back to the main, or have a script/trigger to do that. What if they deleted the email before it got a chance to get synched? However, in this case, it sounds like error exists between keyboard and chair... But that is of course the kind of problem I want to address :) Olivier ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: need some advice on our cisco routers..
3. How do you secure your cisco routers in your office?? Our director said that we should look for best practices in securing our routers. The very first step would be to limit where from you can telnet to the router. There is no good reason why whole internet could telnet to the router. The following shoud do access-list 30 permit 192.168.0.0 ! one unique machine ins9ide my network access-list 30 deny any log line vty 0 4 access-class 30 in exec-timeout 0 0 login local refuse-message ^Cnauthorized access prohibited ^C 1. Is it possible to think that they still haven't cracked the enable password yet or they already know it and just silently been playing with our router?? What for? If you are a hacker, what would you do if you got an access to an ISP's router??:-) If you have a back-up of your configuration, you can check if anything has been changed. You can alos check the config change time stamp in Cisco show run. In any case, play it safe, restore the last running configuration and change the enable password. The router could be a good sniffing point to grab hold on some username/password from the ISP customers. Olivier ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Mail back-up system
Hi, As a sys-admin, I am often bugged by users who had mistakenly deleted some very important email, and could I recover it from the tape back-up. I try to explain to them that back-up is only run once per 24 hours and maybe their message arrived since the last run, and that tapes are there to recover disk crash, not user bad moves, it still eats up quite some amount of my time (and it is a stupid task). So I came up with a system whereby messages are duplicated on a second server and users can use a web page to browse that second server and recover emails. Kust in case someone maybe interested, the system is explained there: http://www.cs.ait.ac.th/laboratory/email/mailback.shtml Bests, Olivier ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Kaspersky AND FreeBSD
In this search I found out there are Kaspersky anti spam and Kaspersky anti virus for UNIX-like. What do you think about this? We have been usiong Kaspersky for 3 or 4 years without any trouble. Once a worm amanged to get through, but at that time it got through all antiviruses we could try (seemed it was specially crafted for me?) We have seen a dramatic fall of infected machines since the email are checked on the server, I am not aware of any machine that got infected that way since then. Kaspersky has a daemonized version, so it is reasonably fast. And the price for education is OK. I don't use the anti spam. Olivier ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Optimize shell
Thanks for the suggestions. I am setting up a machine to work as a mail back-up. It receives copy of every email for every user. When the disk is almost full, I want to delete older messages up to a total size of 40. Going to database storing was a good idea, but not an issue as the system is already running. Using delete functions from other tools could be a solution though I doubt it goes accross all the users. Using bash could be a way to go, as using locate (possible, but then it would need a second command to get the file size, so I am not sure that it would save much). And my assumption was wrong, the most time consumption was in the sed, not in the sort. In fact I did not need the sed as I could split the fields on the / for sort and pick up the correct argument in awk. Using xargs also speed up the things a small bit. Here is the final solution: mailbackroot66: cat func5 #!/bin/sh /usr/bin/find /home -mindepth 5 -ls | /usr/bin/grep /Maildir/cur/ | /usr/bin/sort -t/ -n +6 | /usr/bin/awk '{sum+=$7; if (sum 2) print $11;}'|xargs cat /dev/null mailbackroot67: time ./func5 0.806u 3.086s 0:35.69 10.8% 67+405k 9864+21io 5pf+0w And the original one: mailbackroot68: cat func1 #!/bin/sh for i in `/usr/bin/find /home -mindepth 5 -ls | /usr/bin/grep /Maildir/cur/ | /usr/bin/sed -E 's/^ *[0-9]+ +[0-9]+ +[-rwx]+ +[0-9]+ +[^ ]+ +[^ ]+ +([0-9]+) +.*(\/home\/.*\/)([0-9]+)(\..*)$/\3 \1 \2\3\4/' | /usr/bin/sort -n +0 -1 | /usr/bin/awk '{sum+=$2; if (sum 2) print $3;}'`; do cat $i /dev/null done mailbackroot69: time ./func1 223.665u 12.341s 4:53.42 80.4% 48+315k 9100+13io 0pf+0w 35 seconds is OK. Best regards, Olivier Original question: I am setting up a machine to work as a mail back-up. It receives copy of every email for every user. When the disk is almost full, I want to delete older messages up to a total size of 40. Messages are stored in /home/sub_home/user/Maildir/cur in maildir format. Message name is of the form 1137993135.86962_0.machine.cs.ait.ac.th where the first number is a Unix time stamp. I came up with the following sheel to find the messages of all users, sort them by date and compute the total size up to 4gB. for i in `/usr/bin/find /home -mindepth 5 -ls | /usr/bin/grep /Maildir/cur/ | /usr/bin/sed -E 's/^ *[0-9]+ +[0-9]+ +[-rwx]+ +[0-9]+ +[^ ]+ +[^ ]+ +([0-9]+) +.*(\/home\/.*\/)([0-9]+)(\..*)$/\3 \1 \2\3\4/' | /usr/bin/sort -n +0 -1 | /usr/bin/awk '{sum+=$2; if (sum 40) print $3;}'`; do /bin/rm $i done find /home -mindepth 5 -ls makes a list of all files and directory at a depth of 5 and more because my directory structure is so that messages are store at level 6 grep /Maildir/cur/ because courrierimapo tends to put things in other directories it creates when it needs too These two commads give me a list of the form: 13974908 -rw---1 on staff3124 Jan 27 15:23 /home/java/on/Maildir/cur/1138350182.1413_1.mackine.cs.ait.ac.th where 3124 is the size The sed command transforms the line into date, size, filname: 1137994623 2466 /home/java/on/Maildir/cur/1137994623.87673_0.mail.cs.ait.ac.th Then it sorts on the date field and awk is used to sum on the size field and print the filename until the total of 4gB is reached. That works OK, but it is damn slow: for 200 users, 7800 messages and 302MB it takes something like 3+ minutes... For 25 GB of email it should take more than 4 hours, this is too much. It sems that the long part is the sort: without sort time /usr/bin/find /home -mindepth 5 -ls | /usr/bin/grep /Maildir/cur/ | /usr/bin/sed -E 's/^ *[0-9]+ +[0-9]+ +[-rwx]+ +[0-9]+ +[^ ]+ +[^ ]+ +([0-9]+) +.*(\/home\/.*\/)([0-9]+)(\..*)$/\3 \1 \2\3\4/' | cat /dev/null 0.026u 0.035s 0:07.67 0.6% 51+979k 0+0io 0pf+0w with sort time /usr/bin/find /home -mindepth 5 -ls | /usr/bin/grep /Maildir/cur/ | /usr/bin/sed -E 's/^ *[0-9]+ +[0-9]+ +[-rwx]+ +[0-9]+ +[^ ]+ +[^ ]+ +([0-9]+) +.*(\/home\/.*\/)([0-9]+)(\..*)$/\3 \1 \2\3\4/' | /usr/bin/sort -n +0 -1 | cat /dev/null 0.281u 0.366s 3:44.75 0.2% 39+1042k 0+0io 0pf+0w Any idea how to speed up the things? Thanks in advance, Olivier ___ 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]
Optimize shell
Hello, I am setting up a machine to work as a mail back-up. It receives copy of every email for every user. When the disk is almost full, I want to delete older messages up to a total size of 40. Messages are stored in /home/sub_home/user/Maildir/cur in maildir format. Message name is of the form 1137993135.86962_0.machine.cs.ait.ac.th where the first number is a Unix time stamp. I came up with the following sheel to find the messages of all users, sort them by date and compute the total size up to 4gB. for i in `/usr/bin/find /home -mindepth 5 -ls | /usr/bin/grep /Maildir/cur/ | /usr/bin/sed -E 's/^ *[0-9]+ +[0-9]+ +[-rwx]+ +[0-9]+ +[^ ]+ +[^ ]+ +([0-9]+) +.*(\/home\/.*\/)([0-9]+)(\..*)$/\3 \1 \2\3\4/' | /usr/bin/sort -n +0 -1 | /usr/bin/awk '{sum+=$2; if (sum 40) print $3;}'`; do /bin/rm $i done find /home -mindepth 5 -ls makes a list of all files and directory at a depth of 5 and more because my directory structure is so that messages are store at level 6 grep /Maildir/cur/ because courrierimapo tends to put things in other directories it creates when it needs too These two commads give me a list of the form: 13974908 -rw---1 on staff3124 Jan 27 15:23 /home/java/on/Maildir/cur/1138350182.1413_1.mackine.cs.ait.ac.th where 3124 is the size The sed command transforms the line into date, size, filname: 1137994623 2466 /home/java/on/Maildir/cur/1137994623.87673_0.mail.cs.ait.ac.th Then it sorts on the date field and awk is used to sum on the size field and print the filename until the total of 4gB is reached. That works OK, but it is damn slow: for 200 users, 7800 messages and 302MB it takes something like 3+ minutes... For 25 GB of email it should take more than 4 hours, this is too much. It sems that the long part is the sort: without sort time /usr/bin/find /home -mindepth 5 -ls | /usr/bin/grep /Maildir/cur/ | /usr/bin/sed -E 's/^ *[0-9]+ +[0-9]+ +[-rwx]+ +[0-9]+ +[^ ]+ +[^ ]+ +([0-9]+) +.*(\/home\/.*\/)([0-9]+)(\..*)$/\3 \1 \2\3\4/' | cat /dev/null 0.026u 0.035s 0:07.67 0.6% 51+979k 0+0io 0pf+0w with sort time /usr/bin/find /home -mindepth 5 -ls | /usr/bin/grep /Maildir/cur/ | /usr/bin/sed -E 's/^ *[0-9]+ +[0-9]+ +[-rwx]+ +[0-9]+ +[^ ]+ +[^ ]+ +([0-9]+) +.*(\/home\/.*\/)([0-9]+)(\..*)$/\3 \1 \2\3\4/' | /usr/bin/sort -n +0 -1 | cat /dev/null 0.281u 0.366s 3:44.75 0.2% 39+1042k 0+0io 0pf+0w Any idea how to speed up the things? Thanks in advance, Olivier ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Screen Capture
On Mon, 2006-01-30 at 10:51 -0800, ross wrote: I can't seem to figure out how to make a screen capture. Is there an =20 ability hidden in X11 or do I need to install a port? I'm running 6.0 and= =20 also fluxbox as my window manager. I am using xwd that is (I beleive) part of standard X distribution To capture to a file: /usr/X11R6/bin/xwd -frame -out ~/.wdump To send to a printer: /usr/X11R6/bin/xwd | /usr/X11R6/bin/xpr -device ps|/usr/bin/lpr Olivier ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Connection refused when trying do download ports
I've updated the ports tree with portsnap and then I try and install a new port such as ImageMagick and it can't find the source anywhere. For almost all the locations, I get the message that my connection is refused. Does anybody have any idea what's going on? Did you try to download the ports by hand? That would help to make sure you are allowed to connect. When you are trying to make a port you should see something like: banyanon: make = atk-1.10.3.tar.bz2 doesn't seem to exist in /usr/ports/distfiles/gnome2. = Attempting to fetch from ftp://ftp.belnet.be/mirror/ftp.gnome.org/sources/atk/1.10/. Just try to fetch that URL: fetch ftp://ftp.belnet.be/mirror/ftp.gnome.org/sources/atk/1.10/ What is the error message? Maybe you have forgotten to configure a proxy or something? Olivier ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Connection refused when trying do download ports
connecting to ftp.tw.FreeBSD.org:2100 I'd say, why 2100? The port for ftp is 21, not 2100, check your personnal settoings, including the environment variable FTP_PROXY Olivier ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Elegant delete of word ~tmp files in all sub / dirs
Hi Mathieu, useless to do -r while you search only files (-type f) the delete function of find seems more apropriate to me But the -exec mode is more general (understand you put whatever command you want there) and beside, the first question was refeering to a syntax using {}. But I guess that Graham has already deleted all his directories anyway :) Olivier ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Bridging Firewall Machine Questions
I've also had problems with the bridge running out of dynamic rules. I've raised them to silly figures however I'm always wary that if a machine had a Trojan or some other form of malware that attempted a DoS attack, the bridge would probably fall over after exhausting its dynamic rule count and cause I beleive other firewall solution (iptable or ipchain whatever is the newest) have rate limiting for specific kind of traffic, so this should prevent DoS, but as far as I remember ipfw has no such feature. Olivier ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Elegant delete of word ~tmp files in all sub / dirs
removing all the word ~tmp files on our Samba server find /your/file-system -type f -name '*~tmp*' -print0 | xargs -0 rm -f or something like that. find /your/file-system -type f -name '*~tmp*' -delete Or, Graham wanted something with {} find /your/file-system -type f -name '*~tmp*' -exec /bin/rm -rf {} \; Olivier ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Where are the config files stored?
I install a soft like postfix for example and I cant find the sample config files which normally comes with the packages. Under linux the Depending how you installed the soft. If it is through the ports, samples usually go into /usr/local/etc Olivier ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Courier-imap and NIS
Hi, I want to set-up a simple courier-imap server that can authenticate with plain passwords from NIS. I installed courier-imap from the ports, but authentication of the style 1 login name password is refused each time: * BYE Temporary problem, please try again later An by the way, where/how to tell courier-imap that it should look for the mailboxes in a directory different from /var/mail? TIA Olivier ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: webmail solution
I'm looking for experiences with a webmail solution. I want to use postfix as my mta and on a freebsd6 machine. The users who will be using the server probably would do better with a webmail package so they can get to it from anywhere. The box already has apache and php so i don't think that'll be an issue. One thing i'm uncertain is whether to offer direct pop/imap or their equivalent encrypted counterparts or just do it all through webmail. I am using imp from the ports. It need some pop/imap to access the mailboxes. Olivier ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: PAM and OPIE and su
This would probably require modifications to either telnetd or sshd, as most of the playing I've done with PS to make a proof-of-concept shows both daemons as listing their terminals as ??, as opposed to showing the terminalid's being used. If I am not wrong, ssh do not use the same library as telnet to authentify on the password. I used to have OPIE installed with telnet and ssh, one time passwords were valid only for telnet, ssh never heard of it. In fact, I think that OPIE hooks in telnetd before the test for the password. Olivier ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Bacula vs. Amanda vs. whatever ...
This information is very important, but you only say windows, but i like to know wich one...? All...? Because i want to try bacula+mysql-5 to backup 1 win2k3, 2 WinNT4 and 1 Linux box. I try once bacula on freebsd 5.4-p8 with bacula using some simple tape drive and backup the win2k3 box and it works, but my doubt is winNT4+Linux, you have some winNT4+Linux on your list with bacula or amanda...? Amanda I use is with FreeBSD since 3 someting and win9x, nt, 2k, xp, whatever win that Samba knows to talk to. I have no Linux so I cannot say, but I see no reason it would not work. Olivier ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Bacula vs. Amanda vs. whatever ...
I have a home network with two FreeBSD servers (web- and file-server), a = number of Windows desktops and a wireless FreeBSD laptop all connected to o= ne another using Samba.=20 Advantage of Amanda, if I understand well, is that you don't need to install anything on your Windows machines. I have been using Amanda to backup various Unixes and Windows for years now and it is very satisfactory. I even wrote some web interface so that Windows user could add some shares to back-up, without any sys admin help. OK that bit has not been tested with XP... Olivier ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
SCSI problem?
Hi, How to read this error message? It happens more and more lately :(( This machine is running 5.4 with one hard disk SCSI 72 MB TIA Olivier Nov 22 17:42:50 ufo kernel: Copied 18 bytes of sense data offset 12: 0xf1 0x0 0x3 0x0 0x51 0x3b 0x9f 0xa 0x0 0x0 0x0 0x0 0xc 0x0 0xd3 0x80 0x0 0x18 Nov 22 17:42:50 ufo kernel: (da0:ahd1:0:0:0): WRITE(10). CDB: 2a 0 0 51 ac 7f 0 0 4 0 Nov 22 17:42:50 ufo kernel: (da0:ahd1:0:0:0): CAM Status: SCSI Status Error Nov 22 17:42:50 ufo kernel: (da0:ahd1:0:0:0): SCSI Status: Check Condition Nov 22 17:42:50 ufo kernel: (da0:ahd1:0:0:0): Deferred Error: MEDIUM ERROR info:513b9f asc:c,0 Nov 22 17:42:50 ufo kernel: (da0:ahd1:0:0:0): Write error field replaceable unit: d3 actual retry count: 24 Nov 22 17:42:50 ufo kernel: (da0:ahd1:0:0:0): Retrying Command (per Sense Data) N ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Building Perl 5.8.7
Hi, I am trying to build perl 5.8.7 from the ports. On some machines it goes OK. On my 5.3 machines I get: BSDPAN -fno-strict-aliasing -pipe -I/usr/local/include -O -pipe -Wall `sh cflags optimize='-O -pipe' toke.o` -fpic toke.c CCCMD = gcc -DPERL_CORE -c -DAPPLLIB_EXP=/usr/local/lib/perl5/5.8.7/BSDPAN -fno-strict-aliasing -pipe -I/usr/local/include -O -pipe -Wall toke.c: In function `S_scan_formline': toke.c:10392: error: invalid operands to binary + toke.c:10392: error: invalid lvalue in unary `' toke.c:10392: error: invalid lvalue in unary `' *** Error code 1 Stop in /usr/ports/lang/perl5.8/work/perl-5.8.7. *** Error code 1 Stop in /usr/ports/lang/perl5.8. FreeBSD banyan.cs.ait.ac.th 5.3-RELEASE-p18 FreeBSD 5.3-RELEASE-p18 #6: Thu Jul 7 10:43:43 ICT 2005 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/SMALL i386 Any help appreciated. TIA Olivier ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: RAS
Can freeBSD be used as RAS server for windows boxes? Yes I used to do that, having pluged in an interface card with 2 serial ports (for a total of 4 ports and 4 modems) The thing was to configure PPP to use Chap authentication (but you need to keep clear text password on your RAS machine). It worked OK, even if from time to time the connection was not released properly, making a port unavailable. That's a poorman solution anyway, as you cannot expect faster access than 33kbps. I cannot give much more details than that as I replaced that machine with a real RAS a couple of years back, that real RAS being an embeded machine running... FreeBSD (version 1.something!) So RAS and FreeBSD? Definitely yes :)) Olivier ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Antivir for mail server
I'm doubting about to install CLAM or DR.WEB antivir in the mail server. Install both :) Olivier ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Slow file transfer
Hello, I am suffering from slow file transfer on a FreeBSD machine. The set-up is as follow: Router1 is connected to Router2 that is connected to sFTP server Router1 and Router2 are the same motherboard, same BIOS configuration, same CPU, both have same type hard disk (Seagate ATA 10 and 20 GB) and both are running the same version of freeBSD 4.10-RELEASE-p16 with the same softwares (Zebra and xorp basically). Router2 has 128MB ram while Router1 has only 64MB. Both machine load are close to 0.00 When I do a file transfer from Router1 to sFTP server (through Router2) I get a transfer rate of 511 KB/s. When I do a file transfer from Router2 to sFTP server (one less hop) I can only get 87 KB/s. The transfer rates remains the same all along the day (this is not due at a specific traffic high load at the time I gathered data). While the setup has not changed for months, the slowness is very recent. I must admitthat I am clueless about what could be the reason and help would be greatly appreciated. TIA, Olivier ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Fast diff command for large files?
Don't underestimate the strength of the word legacy. To be honest, if we= had the manhours to rewrite it, we'd take the opportunity to run it=20 directly against the PostgreSQL server. What we're gaining out of this system is the ability to migrate our old=20 applications at our leisure, and the opportunity to write new applications= OK, I didn't get that it was a temporary solution (during the migration period). My comment was more in the spirit of a permanent solution. Goo dluck, Olivier ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Slow file transfer
Could be a duplex mismatch. Look for collision statistics. I checked that already, and as router1 must cross router2 to reach the FTP server, if there was a network issue between router2 and the FTP server, both transfer would be slow, not only the on from router2. Thanks, Olivier ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
SSH X11 forwarding fail
Hi, I am SSH'ing to a FreeBSD machine and enable X11 forwarding. Everything was working fine untill I rebooted this morning. Since then: # xterm X Error of failed request: BadAtom (invalid Atom parameter) Major opcode of failed request: 20 (X_GetProperty) Atom id in failed request: 0x17 Serial number of failed request: 3 Current serial number in output stream: 3 # env|grep DISPLAY DISPLAY=localhost:10.0 What could that be? Olivier ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: SSH X11 forwarding fail
I am SSH'ing to a FreeBSD machine and enable X11 forwarding. Everything was working fine untill I rebooted this morning. Since then: # xterm X Error of failed request: BadAtom (invalid Atom parameter) Bad me to reply to my own question... I need to add ForwardX11Trusted yes in SSH config (/etc/ssh/ssh_config) of the SSH client. Olivier ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Network strangeness only with incoming email
Only during _incoming_ email there are a lot of network errors/pauses, including 'tcp retransmission' errors. This seems to cause sendmail Do you receive your email straigh from internet, or do you receive email from a gateway, say at your ISP? If there is a mail server that is in charge of receiving all your email before forwarding to you,the problem could lie between that machine and yours. Olivier ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Fast diff command for large files?
We do the mirroring by running a program that dumps the FoxPro tables out as tab-delimited files. Thus far, we'd been using PostgreSQL's copy from command to read those files into the database. In reality, though, a very, very small percentage of rows in those tables actually change. So, I wrote a program that takes the output of diff and converts it into a series of I think the problem could be considered another way. if you have access to the legacy/FoxPro application, it should be modifed to add a timestamp to each reccord modification. Then you could only dump those reccords that were modified since the last change. That seems to me the only long term viable solution that could sizeup nicely with your set of data. Not to mention that once implemented it would be much much faster. Olivier ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: SPAM Filter
I'm installing an old laptop with freeBSD 5.4. It's going to be my mail server (postfix) and a simple ftp Server. I need some suggestions for a spam filter. SpamAssassin (.org) Olivier ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
True Type fonts
Hi, Is there any free source for True Type fonts (the common ones like Times and etc) in order to use them with PDFLib. TIA Olivier ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Printing quota ?
LPRng calls the script with user information as command line options and the document on STDIN. The script determines the user from the command line option and counts pages in postscript documents by parsing STDIN. If the document doesn't look enough like postscript it is discarded. Windows users have a hard time getting it right. What I wrote will query the printer for page count before and afterthe job. Olivier ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Printing quota ?
What I wrote will query the printer for page count before and afterthe job. We tried that also, however, then you have problems if printerjobs are cancelled halfway. For us it is OK to forget to count a job from time to time, as the filter queries the printer before and after, the next job will start a new count anyway. Also, the sanity check works against accepting print jobs that will cause the the printer to print endless pages with strange characters untill it runs out of paper or the job is cancelled. We had a lot of those because of misconfigured windows machines. Well, I have my guy install the printers on the machines for the users, so they use the right driver :) Olivier ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Imap-uw and openssl certificate
Common Name (FQDN of your server) []: fstaals.net The first answer that come to my mind is that your IMAP{ server is certainly NOT called fstaals.net, but it should rather be imap.fstaals.net or mail.fstaals.net or something. You must put the exact name of your server, as it is known by DNS and reverse DNS. Olivier ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Apache log rotation
Hi, If one install Apache from the ports, the logs go in /var/log, namely in: ssl_request_log httpd-access.log ssl_engine_log httpd-error.log Is there a clean way to rotate these logs a la newsyslog? I know I can use newsyslog to rotate them, but then how to notify Apache to use the new log files? I don't expect a signal HUP sent to httpd would be enough. Best regards, Olivier ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Installing 2nd CPU on SMP board
Well, I have dmesg output and the output from dmidecode. I may be dense but I don't see the sSpec number in the output. Can it be derived from these data? from what I understand you get the sSpec number from CPU: Intel(R) Xeon(TM) CPU 2.80GHz (2793.01-MHz 686-class CPU) Origin = GenuineIntel Id = 0xf34 Stepping = 4 ^^ Features=0xbfebfbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE use that figure to lookup in Intel chart like http://download.intel.com/design/Xeon/specupdt/30240216.pdf and using that f34 and the speed you should find the sSpec in the left most column. Another sure way is to take the CPU from the socket. On the side with the pins you have 3 printed lines, sSpec number is the first word of the middle line. Now that I am considering upgradding 2 machines, I seriously think about buying a pair of matching Xeon for each board as it has been suggested earlier. But at same time I had my hardware vendor try to sortout the problem for me with Intel (1 year old CPU, not manufactured any more). Olivier ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: possible breakin attempt?
Oct 17 16:13:43 lupin sshd[51883]: reverse mapping checking getaddrinfo for 211-234-119-139.kidc.net failed - POSSIBLE BREAKIN ATTEMPT! Oct 17 16:13:55 lupin sshd[51885]: reverse mapping checking getaddrinfo for 211-234-119-139.kidc.net failed - POSSIBLE BREAKIN ATTEMPT! Hummm, I may be wrong, but I'd say that it is someone that try to connect from an ISP that provides no or faulty reverse DNS. So the risk is zero. Olivier ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Moving down from amd64 to i386 ??
We are having troubles with MySQL 4.1 on a amd64 (it's crashing randomly with Seg fault, signal 11. gdb bt says: Cannot access memory at address I am using Mysql 4.1.13 build from the ports, with options BUILD_OPTIMIZED=yes BUILD_STATIC=yes WITH_LINUXTHREADS=yes on an amd64 machine without any trouble. olivier ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Moving down from amd64 to i386 ??
From what I understand linuxthreads isn't available on amd64 ? What Oops you are too true about linuxthread. So I cannot tell you what option I used for building the ports, but mysql never crashed on me. Olivier ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Port perl 5.8.7 on FreeBSD 4.10
Hi, I have been trying to install theport of perl 5.8 on a FreeBSD machine 4.10 RELENG. Every time I try to execute the new perl I get: /usr/libexec/ld-elf.so.1: perl: Undefined symbol PL_exit_flags This happens on 2 different machines, both 4.10 FreeBSD fw2.cs.ait.ac.th 4.10-RELEASE-p16 FreeBSD 4.10-RELEASE-p16 #17: Thu Sep 29 16:04:04 ICT 2005 [EMAIL PROTECTED]:/usr/src/sys/compile/SMALL i386 and FreeBSD test.cs.ait.ac.th 4.10-RELEASE FreeBSD 4.10-RELEASE #17: Thu Sep 29 16:04:04 ICT 2005 [EMAIL PROTECTED]:/usr/src/sys/compile/SMALL i386 Thanks for any pointer on how to solve that. Olivier ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: OT: New design
Hi, As there is a thread on that topic... here my 2 cents. I find it sort of painfull to have to go 2 clicks to find sings like the handbook that used to be linked from the home page. The design is certainly nicer, but maybe not as usefull as it used to be. That say, I can survive :) Olivier ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Spam Assassin Reject
It is possible to reject during the connection during the DATA phase. Using exim and sa-exim glue, with spamassassin, this is what I do. The sender gets a 5xx rejection with the message: UCE not OK it is possible, but what I meant was it is highly not advisable. You never know what the end of the message will give to. The message can look like spam at the begining and end-up being non-spam. Olivier ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Spam Assassin Reject
I've installed Spam Assassin and MIMEDefang with Sendmail however I would like Spam Assassin to tell sendmail to Reject Spam on the connection. 1) SpamAssassin cannot detect spam until it has received and analyzed the FULL message, so rejecting on connection is not possible. 2) that is phylosophy of SA to only MARK the spam. Olivier ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Examine IP packet
Hi, Could you recommend a tool that I can use to examine the validity of the headers in an IP packet? One of the things I need to check is the IP header checksum. TIA. Olivier - --2874F43D48.1121392997/mx1.FreeBSD.org-- --- End of forwarded message --- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Need advice on building a system with a Raid drive
I am building a new system and plan to use two 300GB drives in a raid 1 configuration. However, I have read where fbsd can't boot from a raid drive, but it is not clear why. Is that hardware raid or software raid? Hardware RAID there is no restriction as FreeBSD will see your RAID set as one single big disk. Software RAID, I think it is feasible (I remember reading something about that) with some tricks (at boot time the boot disk should be seen un RAIDed until the RAID software is activated or something like that). Olivier ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: securing FreeBSD
or by setting the actual hdd to secondary and plug an other primary hdd Once the hardware is compromised, it is really tricky to keep secure. If you cannot protect your hardware (secure room) then your hard disk has to auto protect itself: encrypt the data, and have no saved password on the disk itself (means you will have to enter a passphrase each time your disk is mounted). I'd have 2 physical disks, one for the system and one for the data. The system disk is cleartext, the data is encrypted. And I'd have the private key on a removable device (like USB for exeample). Be sure that your system does not dump any memory image in case of panic. Another solution (expensive and only valid for a limited amount of data) have a RAM disk (and secure your electric power supply). An intruder would have to turn off the power to grab the memory. Doing so he would delete the data... Depends what is your level of paranoia :) Olivier ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Expire undeleted mail older than specified age
Seems not work. So i run the command manually and found that /usr/local/sbin/expire_mail: Command not found. Look at the 1st line of the script and check whether it is /usr/bin/perl or /usr/local/bin/perl and if second that you have a /usr/local/bin/perl. Olivier ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: How to add CPU on server
Do I need to recompile the kernel? Any hints? Yes you'd do, unless you enabled SMP in the kernel of the sincle CPU machine. options SMP in /sys/i386/conf/YOURKERNEL I think that is enough (rebuild and reinstall the kernel of course). Olivier ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Expire undeleted mail older than specified age
The 1st line is /usr/local/bin/perl . Trying to put in usr/local/bin/perl same problem. Command not found. Where is your perl interpreter? $ which perl and use the reult in the first line. i expect the result to be /usr/bin/perl so the 1st line should be #!/usr/bin/perl Olivier ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Expire undeleted mail older than specified age
Hummm, Are you sure you have execute rights to expire_mail.pl? ls -l expire_mail.pl Olivier ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Interface aliases
As a general rule, you should have one IP per NIC. Putting thousands of IP addresses on a single box is a misuse of limited IP space, unless you are using RFC-1918 addresses. What is the actual problem you are trying to solve? That is not true. As a web hosting company, you may want to have one IP per web site (to allow SSL for example) but all hosting on a single machine. Olivier ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: how to install desired port
-bash-2.05b# cd /usr/ports/ -bash-2.05b# cd graphics/png -bash: cd: cd: No such file or directory The problem is there. Try: cd /usr/ports/graphics/png There may be a stranger character on your second line Any way you are not in the right directory when you try the command make Olivier ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Using regex(3)
I must missunderstand how to use regex(3). To add a bit, running the same program on Linux gives the expected results: regexpr=a(.)c number of substrings=1 return from regexec=0 nmatch=0 p0.so=0 p0.eo=0 p1.so=0 p1.eo=0 p2.so=0 p2.eo=0 p3.so=0 p3.eo=0 return from regexec=0 nmatch=1 p0.so=0 p0.eo=3 p1.so=0 p1.eo=0 p2.so=0 p2.eo=0 p3.so=0 p3.eo=0 return from regexec=0 nmatch=2 p0.so=0 p0.eo=3 p1.so=1 p1.eo=2 p2.so=0 p2.eo=0 p3.so=0 p3.eo=0 Olivier ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Using regex(3)
Thanks Titus, no, you're misunderstanding regoff_t or printf. I definitely misunderstand printf. Until now I thought that each place holder (%d) was associated with one variable and if the type missmatched, the display could be incorrect. But in that case, printf seems to take 2 successive %d and split the variable upon them to make it a %lld. I am no C guru, but that sound very bad to me. Bests, Olivier ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Sshd problem
Changed ip address to public address and made the box live so to speak. Ever since the ip was changed i am unable to ssh into the box , logs show error : Fatal timeout before authentication could occur. Did you, by any chance, used the IP from a previous box that was already configured with SSH server? In that case your ssh client would have the public key for the old server in it's table of known hosts, and would find a missmatch with the public key of the new server. Olivier ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Possible Attack?
Jun 21 21:50:55 mx1 /kernel: Limiting closed port RST response from 230 to 200 packets per second Jun 21 21:51:23 mx1 /kernel: Limiting closed port RST response from 222 to 200 packets per second Jun 21 21:53:02 mx1 /kernel: Limiting closed port RST response from 230 to 200 packets per second That is a guy scanning your machine a bit too fast, or a tentative of DoS. If the problem persis, run tcpdump on that machine to try to locate the source. A tentative connection to an unexisting service should return such RST packet, from host amanda I tried to connect TCP 27 on the host sysl, on the host sysl I can see: syslroot44: tcpdump host amanda tcpdump: listening on fxp0 10:27:39.891050 amanda.xx.yy.net.1758 sysl.xx.yy.net.nsw-fe: S 3520569314:3520569314(0) win 57344 mss 1460,nop,wscale 0,nop,nop,timestamp 68799367 0 (DF) [tos 0x10] 10:27:39.891122 sysl.xx.yy.net.nsw-fe amanda.xx.yy.net.1758: R 0:0(0) ack 3520569315 win 0 The second packet it the RST Olivier ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Using regex(3)
Hi, I must missunderstand how to use regex(3). From what I read in the man page, pmatch[i].rm_so is the begining of the i-th match in the regular expression and pmatch[i].rm-so is the end. So if I try to match the regex a(.)c on the string abc I should have: pamtch[1].rm_so=1 and pmatch[1].rm_eo=2, that is matching the substring b. I have run the short programm as follow: #include sys/types.h #include regex.h #include stdio.h main() { int ret; regex_t *preg; size_t nmatch; regmatch_t * pmatch; char * buffer=a(.)c; char * string=abc; preg=(regex_t*)malloc(sizeof(regex_t)); if(preg==NULL) exit(-1); ret=regcomp(preg, buffer, REG_EXTENDED); printf(number of substrings=%d\n, preg-re_nsub); pmatch=(regmatch_t *)malloc(5000); /* make it big enough */ if (pmatch==NULL) exit(-1); nmatch=0; ret=regexec(preg, string, nmatch, pmatch, 0); printf(return from regexec=%d\nnmatch=%d\np0.so=%d p0.eo=%d\np1.so=%d p1.eo=%d\np2.so=%d p2.eo=%d\np3.so=%d p3.eo=%d\n, ret, nmatch, pmatch[0].rm_so, pmatch[0].rm_eo, pmatch[1].rm_so, pmatch[1].rm_eo, pmatch[2].rm_so, pmatch[2].rm_eo, pmatch[3].rm_so, pmatch[3].rm_eo ); nmatch=1; ret=regexec(preg, string, nmatch, pmatch, 0); printf(return from regexec=%d\nnmatch=%d\np0.so=%d p0.eo=%d\np1.so=%d p1.eo=%d\np2.so=%d p2.eo=%d\np3.so=%d p3.eo=%d\n, ret, nmatch, pmatch[0].rm_so, pmatch[0].rm_eo, pmatch[1].rm_so, pmatch[1].rm_eo, pmatch[2].rm_so, pmatch[2].rm_eo, pmatch[3].rm_so, pmatch[3].rm_eo ); nmatch=2; ret=regexec(preg, string, nmatch, pmatch, 0); printf(return from regexec=%d\nnmatch=%d\np0.so=%d p0.eo=%d\np1.so=%d p1.eo=%d\np2.so=%d p2.eo=%d\np3.so=%d p3.eo=%d\n, ret, nmatch, pmatch[0].rm_so, pmatch[0].rm_eo, pmatch[1].rm_so, pmatch[1].rm_eo, pmatch[2].rm_so, pmatch[2].rm_eo, pmatch[3].rm_so, pmatch[3].rm_eo ); } And the results I get are: banyanon33: ./test number of substrings=1 return from regexec=0 nmatch=0 p0.so=0 p0.eo=0 p1.so=0 p1.eo=0 p2.so=0 p2.eo=0 p3.so=0 p3.eo=0 return from regexec=0 nmatch=1 p0.so=0 p0.eo=0 p1.so=3 p1.eo=0 p2.so=0 p2.eo=0 p3.so=0 p3.eo=0 return from regexec=0 nmatch=2 p0.so=0 p0.eo=0 p1.so=3 p1.eo=0 p2.so=1 p2.eo=0 p3.so=2 p3.eo=0 banyanon34: Both on 4.10 releng and 5.3 releng, rm_eo is always empty and the result is pushed in the next rm_so. Any help appreciated. Olivier ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Spy on a socket
Hi, I have an application with two processes that communicate using a Unix Socket. Is there a way, similar to tcpdump, to spy on the traffic excahnged on that socket? TIA Olivier ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
OT: Crypyography
Hi, This is unrelated but if there is any cryptography guru around, I know the crypted text, I know the decrypted text, but I am looking for the algorythm, or a direction where to look for. Each pair is crypted then decrypted text. TIA Olivier ^WWQFNY:([EMAIL PROTECTED](^Qc5/;J]XIYV(3aA)OP:6[XaFFI6?1)-G4Gb6Q*V^YZ/) /var/spool/avmilter/incoming/df-17453-29175713 c2-E3I3L0]U^P0)S:1G[$FVQ3SC?)5-^3,HG9 /etc/avmilter.conf 50F\]43+**3\A-GK/(^$[EMAIL PROTECTED]@AF4(@8O0-Y`$V;,5B8STc(Ab[^cFF9[X-aY,[EMAIL PROTECTED],7VY /var/spool/avmilter/incoming/qf-19442-10976272 \,-NT'_.U)_PATZ2SK_'R-\3VM=C=Q*O;b\+/,:aO4\G+AUDI[(8)YGc_R$8J:;X\/'TID;Na1A8NFR(aR?`W /var/spool/avmilter/incoming/qf-26690-96174225 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: OT: usage of split
2. How does one rejoin the resulting split files to recreate the original file? I assume you can cat text files into a new file using redirection (); but can you do that with a binary file? I'd say yes, you can cat a binary file (though it is likely to mess-up your screen). Olivier ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: How to disable quoting of lines starting with From in email body?
Every time I read an email that has a line in the message body that starts with the word From, the line is quoted with a character. I'd say that 1) when you read an email the was added by the sender, before the email was send to you, so it is normal that you cannot find where it was added. 2) when you are sending and email, you have to add the else you will not conform to email format anymore and you would be liklely to create problems to the recipient... So leave the where it is :) Olivier ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Spam reporting tool
Hi, I'm working with SpamAssassin to separate mails from SPAMs and it works pretty well. My question is about a spam reporting tool, which can parse mail headers and report the SPAMs to [EMAIL PROTECTED] I searched on the net but I didn't find useful informations. Does somebody know if such a tool exists, and where can I get it actually ? Spamcop is a solution, but avoid any automatic tool, as SpamAssassin can also make mistakes and classify a valid message as spam. Olivier ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: printing
how can i print a document in a windows shared I do that using samba, only samba client is needed. Olivier can you explaime how? 0) I installed samba from the ports /usr/ports/net/samba 1) I have a shared printer on my windows machine, the printer share is named APPLE, as I use win2k, the printer is accessible to the user printer, the win2k machine name is olivier. I set-up a password to protect my win2k printer. For win98, it would be the same, but there is not user. 2) I create an entry in /etc/printcap, the entry is like: # printers attached to users machine (Windows) on-printer:\ :sd=/var/spool/on-printer:\ :mx=0:rs:sh:\ :lp=/dev/null:\ :if=/usr/spool/smb-printer: 3) I create the directory /var/spool/on-printer 4) I create the configuration file /var/spool/on-printer/.config that contains (please put the password as defined in 1): server = olivier service = APPLE password = *** user = printer domain = olivier Note that server and domain are the same! 5) I installed the script /usr/spool/smb-printer. This script works for win98 and win2k. It does a little bit of file coding, changing CR into CRLF for the files that are not PostScript or PCL. #!/usr/bin/perl require flush.pl; ## $logfile=smb-print.log; ## # or $logfile=/dev/null; $logfile=/dev/null; ## ## open LOG, $logfile; ## print LOG `/bin/ls -a`; ## for ($i=0; $i=$#ARGV; $i++) { ## print LOG $ARGV[$i]\n; ## } $loggererr=/usr/bin/logger -i -t print_quota -p lpr.err; $loggerinfo=/usr/bin/logger -i -t print_quota -p lpr.info; $mess=SMB print job: -wd .`pwd`; for ($i=0; $i=$#ARGV; $i++) { $mess.=$ARGV[$i] ; } # read the config file # the config file should consist of: # # server=servername # service=printername # password=something (be omitted if empty) # open IN, .config; $password=; while (IN) { chop; s/\s*//g; @t=split /=/; $ar{$t[0]}=$t[1]; } close IN; #print LOG `ps auwx|grep perl`; # read standard input and try to guess if we have a PCL or PostScript file # or just plain text # in case of plain text, we should translate CR- CR/LF # and add a ctrl-l at the end # open IN, -; $l=IN; $t=0; $t=1 unless $l=~/^([EMAIL PROTECTED])|(%!PS)/; $l=~s/([^\r])?\n/$1\r\n/g if $t; #print LOG $t\n; $command=|/usr/local/bin/smbclient \//$ar{'server'}/$ar{'service'}\ ; if (exists $ar{user}) { # we are in Win NT world $command.=-U \$ar{'user'}\%$ar{'password'}\ -W \$ar{'domain'}\; } else { # we are in win 9x world $command.=\$ar{'password'}\; } $command.= -N $logfile; #$command.= -N -P $logfile; # hide the user and password for the LOG $obf=$command; $obf=~s/[\w]+%[\w]+/%/; $mess.=$obf; open SMB, $command; print SMB print -\n; print SMB $l; while (IN) { s/([^\r])?\n/$1\r\n/g if $t; print SMB $_; $last=$_; } print SMB if $t $last!~/\r\n$/; close IN; flush(SMB); close SMB; system $loggerinfo \'$mess\'; ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: printing
how can i print a document in a windows shared I do that using samba, only samba client is needed. Olivier ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
sendmail update
Hi, I have 2 questions about the update procedure and sendmail. 1) where is the equivalent of sendmail-x.y.z/devtools/Site/site.config.m4 in FreeBSD installation of sendmail? I need to add some features to the site.config.m4 file to build the version of sendmail I want. So far, I have to rebuild sendmail by hand, independently from FreeBSD, after each system update. 2) I have a patch that I want to apply to sendmail source tree, before I build sendmail. I would like to have that patch applied automatically to /usr/src/contrib/sendmail before it builds. How do i do that? Best regards, Olivier ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: sendmail update
Take a peek at /usr/ports/mail/Sendmail/Makefile. There are tons of flags to be thrown, and I'm willing to bet that you can make a couple of tweaks there to get the result you wish. If it's just throwing it on the command line, you might want to consider putting the flags in /etc/make.conf. But then, how that port/sendmail will interact with the system sendmail. When re-installing the system, will I have to install the port again? Olivier ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Main web site out of date
I say, is there a good reason why the main FreeBSD web site (www.freebsd.org) is always out of date by comparison with the mirrors? Anyone relying on your main site will still not know about the availability of 4.11 or 5.4. Hu? I only access the main site and it reads on the right: Production Release: 5.4 · Installation Guide · Release Notes · Hardware Notes · Installation Notes · Errata · Migration Guide Production (Legacy) Release: 4.11 · Installation Guide · Release Notes · Hardware Notes · Installation Notes · Errata Olivier ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Apache libraries/modules
Did you do a make install No problem so far, then I try to: # work/apache_1.3.33/src/httpd -t -DSSL I think you need to do make install then httpd should be in /usr/local/sbin/httpd and the libraries should also be int he right place. Whether there is an additional change/setting I am not sure, but I do think that trying to run a port from the work directory is unlikely to work. Yes I did (in a previous install that I did not deinstall). But anyway I found it: the directive ServerRoot in apache conf file taht is a bit more than the place where to find the log and conf file. It is also where to find the modules... Thanks olivier ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: 3C905B-TX problems on fresh install
Thanks, Ted. Exactly what I needed to know. The easiest card for me to pick up to replace it with is a realtek 8139d. Any opinion on that card or the rl driver? lately I tend to go for intel when it is a production machine. But I still have some 3c905 floating around. Olivier ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Apache libraries/modules
Hi, I am running Apache/moddssl/php a 5.3 RELENG server. I build the distribution by hand from the source: everything installed in /usr/local/apache For simplicity/compatibility/upgradability, I want to switch to the ports. But when I try to run the new apache, it always looks for the modules in /usr/local/apache/libexec/apache instead of the expected /usr/local/libexec/apache I build apache13-modssl with: # nice make WITH_APACHE_SUEXEC=yes APACHE_SUEXEC_CALLER=httpd APACHE_SUEXEC_DOCROOT=/usr/local/apache/sites APACHE_SUEXEC_UIDMIN=80 APACHE_SUEXEC_GIDMIN=30 PREFIX=/usr/local PORTDIR=/usr/local No problem so far, then I try to: # work/apache_1.3.33/src/httpd -t -DSSL Syntax error on line 38 of /usr/local/etc/apache/httpd.conf: Cannot load /usr/local/apache/libexec/apache/mod_mmap_static.so into server: Cannot open /usr/local/apache/libexec/apache/mod_mmap_static.so # ls /usr/local/libexec/apache httpd.exp mod_cgi.so mod_mime_magic.so libphp4.so mod_define.so mod_mmap_static.so libproxy.so mod_digest.so mod_negotiation.so [...] I beleive it is something with the order of the libraries but I don't know where to go from here. TIA Olivier ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Ethernet over FireWire: How?
Hi Rob, Can someone give me a layman's answer to how I can use the firewire as the second ethernet card? The backside of the computer has a socket labeled '1394', but this is not a RJ-45 connector. Do I need a converter cable from firewire to RJ-45? I'd say that Ethernet over Firewire is really what it says it is, Ethernet is encapsulated in Firewire, so at the other end you also need to attach to a Ethernet over Firewire device. Beside, Firewire is much slower than Ethernet I guess. If you build a router for your lab, I'd recommend that you buy proper Ethernet cards, they will prove much more reliable (last longer, deliver higher bandwidth, attach nicely to some weird Ethernet switches...) than cheap solution like over Firewire. Is it worth saving 50$ on a machine that is supposed to handle a good share of your lab infrastructure? Olivier ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: changing from dhcp to static ip, changing hostname, etc.
now I'm hoping to have a hostname of bagus.org gateway of 204.251.1.185 ip address of 204.251.1.186 netmask of 255.255.255.248 in /etc/rc.conf ifconfig_fxp0=inet 204.251.1.186 netmask 255.255.255.248 defaultrouter=204.251.1.185 hostname=bagus.org in /etc/resolv.conf dunno, what do you expect to have? olivier ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Mon noyau ne marche pas!
La commande make depend ne marche pas du tout! Que faire pour ce cas? Sur la liste, il vaut mieux parler anglais alors si personne ne t'a repondu directement, contacte moi en particulier. On the list you better use English, so if nobody replied to you, you can contact me directly. Olivier ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: DLT tape / no streaming
I use a Benchmark DLT tape drive to backup data on my DELL PowerEdge 2650 system [...] The problem I see is that data flow is not steadily streaming; the tape drive is operating in start-stop-mode. I use team(1) (/usr/ports/misc/team) to bufferize the acces to a tape drive, in a command like: tar cf - /mydisk | team 1m 16 /dev/tape_drive It usually does the trick. Olivier ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Sendmail - massive logs
I have found that my /var dir is filling up with logs caused by sendmail. I have no desire to use sendmail at the moment, and would like to turn it off completely (including logs). How might i do this. Presently, I have the following line in my rc.conffile. sendmail_enable=NONE That's the way to do it. Now if you want to avoid any log, you must make sure you are not trying to send any email either, that is no cron, no periodic, no nothing. Because all these do send result by email, which means sendmail by default. Bests, Olivier ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Multicast and security
I'm looking at adding MROUTING to my gateway/firewall box (Soekris 4801 running 5.4 RC2). However having not played with multicast before I'm looking for pointers on the security issues (I don't want to create a gaping hole in my FW). It depends on how your ISP is doing his multicast routing. Here we are using PIM and it means: PIM proto 103 from router to router and from router to 224.0.0.13/32 IGMP proto 2 from client to 224/4 UDP from client to 224/4 Olivier ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Testing/repairing IDE drive
Hi Hi have an IDE drive (bit old) that is starting to develop bad blocks. Is there a tool to scan the disk and reassign/block (I don't care loosing some space on that disk) the bad bocks? Best regards, Olivier ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Channel Bonding on FreeBSD without peer support
However, these approaches require support from the other peer (the ISP), which is not possible in my situation. I would say that no solution exist that do not have the colaboration of the other part. You can do as much load balancing on your end, but that is your ISP that will decide to send one packet on one line and the next packet on the other line. There would always be a way to affect few machines of your LAN to one of the line and the rest to the other line, but that will never be full load balancing. Olivier ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Perl modules
Thanks it seems to do the trick. olivier ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Apache + modssl + mod_php4 +++
Hi, I am loston the procedure to install php4 with some extension and apache 1.3 with modssl and mod_php4. I found in the ports: lang/php4 lang/php4-extension www/mod_php4 www/apache13-modssl There must be a specific order to build/install these, but i cannot figure it out. TIA olivier ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Apache + modssl + mod_php4 +++
lang/php4 lang/php4-extension www/mod_php4 www/apache13-modssl There must be a specific order to build/install these, but i cannot figure it out. OK, php4 can pull in Apache. You want to install apache13-modssl. I'd install apache, then install php4-extensions, then install mod_php4. It looks like a good guess. install apache-modssl, then php-extension then php (it seems that mod-php is only the loadable module for Apache, while phpo contains both loadablemodule and standalone interpreter). Thanks, olivier ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Openoffice 1.1 - compile errors even without Java
Has anybody sucessfully built OO 1.1.4 from ports - either with our without Java? I am not sure about java (all default), but building OO from the ports was almost painless. I think I had installed Java beforehand anyway. Olivier ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Dumb question about ports/packages
How would I upgrade just one package part of the core like that? Or multiple ones for that matter. Can you use the ports/packages system? Or do you have to do an entire system upgrade (i.e. 4.10 to 4.11). I'd say, given that ssh is part of the ports (/usr/ports/security/ssh), you could ust upgrade that port and install that port. I'd cvsup ports/security then make make install for ssh Olivier ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Valid statement in hosts.allow
Is this valid in hosts.allow: ALL : 151.103.xxx.xxx-151.103.xxx.xxx : allow Not that I know. i ue the configuration net-address/netmask would be: allow a range of ip's like 192.168.0.1-192.168.64.254. 192.168.0.0/255.255.192.0 for the range 192.168.0.0 to 192.168.63.255 192.168.64.0/255.255.255 for the range 192.168.64.0 to 192.168.64.255 Olivier ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: vinum in 4.x poor performer?
and it performs worse then any of my other servers, and I have less running on it then the other servers ... What are you other servers? What RAID system/level? Of course a software RAID5 is slower than a plain file system on a disk. Olivier ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: vinum in 4.x poor performer?
All servers run RAID5 .. only one other is using vinum, the other 3 are using hardware RAID controllers ... Come on, of course a software solution will be slower than an hardware solution. What would you expect? :)) (Given it is same disk type/speed/controler...) Olivier ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Libtool15 missing --tag
Hi, I am trying to compile mysql40-client on FreeBSD 5.3 p4 It hangs with the error message: Making all in libmysql_r if /usr/local/bin/libtool15 --preserve-dup-deps --mode=compile gcc -DDEFAULT_CHARSET_HOME=\/usr/local\ -DDATADIR=\/var/db/mysql\ -DSHAREDIR=\/usr/local/share/mysql\ -DDONT_USE_RAID -DMYSQL_CLIENT -I. -I. -I.. -I./../include -I../include -I./.. -I.. -I.. -DDBUG_OFF -O -pipe -MT password.lo -MD -MP -MF .deps/password.Tpo -c -o password.lo password.c; then mv -f .deps/password.Tpo .deps/password.Plo; else rm -f .deps/password.Tpo; exit 1; fi libtool15: compile: unable to infer tagged configuration libtool15: compile: specify a tag with `--tag' *** Error code 1 If I do the gcc manually, itis OK, so it looks really like it is caused by libtool. Any clue? uname -a FreeBSD xxx.net 5.3-RELEASE-p4 FreeBSD 5.3-RELEASE-p4 #2: Tue Jan 11 07:28:49 CET 2005 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/OMC amd64 TIA Olivier ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: raid 1 hotswap on freebsd
I have on-board hardware that supports RAID 1, hotswap. How do I install it on FreeBSD 4.10 as in, during installation Since you use hardware RAID, your OS sees only one disk, it ignores that there is multiple physical disks. So you just go and install the usual way, as with no RAID. Olivier ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Libtool15 missing --tag
Try updating your ports via cvsup. In my experience if something works when done by hand but doesn't work from make install that's a good place to start.=20 I'll try, but ports are cvsup'ed from less than 24 hours ago. Olivier ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Perl modules
Hi, Are you aware of any magical formula that would list the Perl modules installed in a configuration? I have to set-up a new machine and would need to re-install (newer version of) all themodules used on the old machine. Olivier ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: spamassassin
pass out quick on rl0 proto tcp from any to any port = 2703 flags S keep state Yes, here I have: pass in log first quick proto tcp from x.x.x.x to any port = 2703 flags S keep state group 200 Olivier ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Witch apache, mysql and php do i need ?
Also can everybody make a ssl connection or do you have to register a key or something ? You can make self signed certificate, that means that when accessing your site, a user will be prompted to accept your certificate, saying that no known authority has signed it. Hopefully, he will save the certificate and will not be asked anymore. Olivier ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: A simple CGI question
If a cgi script is in my /usr/local/www/cgi-bin directory, what url would i use to access the cgi from the web. Would i need to copy the cgi into my data directory? - i tried this and the browser treated it as a download. I think we need a bit of your Apache configuration file to reply. Olivier ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: /var is lack of space!!
Thanks all of you,with your instruction,i found that it's /var/spool/clientmqueue use almost all of my disk space!!And i delete this directory,every thing is ok! But which program produce those rubish?and how can i stop that program? That would be sendmail. Hmm. That directory contains only files which represent e-mail messages in flight. You could check the files that name start with a 'q' somewhere toward rge top of the file it will tell you why that specific email is on hold. [the file which corresponding name starts with a 'd' is the body of the message]. Then use your judgement to decide what message you could delete (both 'd' and 'q' files). You can also try /usr/sbin/sendmail -q to expunge the queue. Olivier ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
firefox in 5.3
Hi, I have installed firefox from the ports, I try to launch it from an xterm, where the $DISPLAy is defined, but nothing happens. The command silently exit after one second. Any clue? TIA Olivier ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Cut and paste in Emacs
I, personally, still don't completely understand the entire unix/X cut buffer system. First, there is more than one cut buffer, but I doubt that that's your problem. Second, there is select-to-copy and select+right click.../ctrl+c/... to copy. These use two different X11 cutpaste is a mess.. the OP might try to use xclipboard as an intermediate target. It often works, when two programs use different mechanisms for selections. If that can help to bring some light: I run xcutsel, and when I click on copy o to PRIMARy, then the copied selection from Emacs becomes available in Windows. Olivier ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
ACPI error at boot
Hi, When the machine boots, I get those messages about ACPI. I am clueless about the meaning/gravity. Machine is a SE7501WV2 from Intel, with dual Xeon. Help please. Bests, Olivier Copyright (c) 1992-2004 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.3-RELEASE-p4 #0: Wed Jan 12 10:59:15 ICT 2005 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/SMALL ACPI APIC Table: INTEL SWV25 Timecounter i8254 frequency 1193182 Hz quality 0 CPU: Intel(R) Xeon(TM) CPU 3.06GHz (3056.82-MHz 686-class CPU) Origin = GenuineIntel Id = 0xf29 Stepping = 9 Features=0xbfebfbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,C MOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE Hyperthreading: 2 logical CPUs real memory = 2147418112 (2047 MB) avail memory = 2100158464 (2002 MB) 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 ACPI-0697: *** Warning: Type override - [DEB_] had invalid type (Integer) fo r Scope operator, changed to (Scope) ACPI-0697: *** Warning: Type override - [MLIB] had invalid type (Integer) fo r Scope operator, changed to (Scope) ACPI-0697: *** Warning: Type override - [DATA] had invalid type (String) for Scope operator, changed to (Scope) ACPI-0697: *** Warning: Type override - [SIO_] had invalid type (String) for Scope operator, changed to (Scope) ACPI-0697: *** Warning: Type override - [LEDP] had invalid type (String) for Scope operator, changed to (Scope) ACPI-0697: *** Warning: Type override - [GPEN] had invalid type (String) for Scope operator, changed to (Scope) ACPI-0697: *** Warning: Type override - [GPST] had invalid type (String) for Scope operator, changed to (Scope) ACPI-0697: *** Warning: Type override - [WUES] had invalid type (String) for Scope operator, changed to (Scope) ACPI-0697: *** Warning: Type override - [WUSE] had invalid type (String) for Scope operator, changed to (Scope) ACPI-0697: *** Warning: Type override - [SBID] had invalid type (String) for Scope operator, changed to (Scope) ACPI-0697: *** Warning: Type override - [SWCE] had invalid type (String) for Scope operator, changed to (Scope) ioapic0 Version 2.0 irqs 0-23 on motherboard ioapic1 Version 2.0 irqs 24-47 on motherboard ioapic2 Version 2.0 irqs 48-71 on motherboard lapic0: Forcing LINT1 to edge trigger npx0: [FAST] npx0: math processor on motherboard npx0: INT 16 interface acpi0: INTEL SWV25 on motherboard acpi0: Power Button (fixed) acpi_ec0: Embedded Controller: GPE 0x8 port 0xca7,0xca6 on acpi0 Timecounter ACPI-fast frequency 3579545 Hz quality 1000 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Hyperthreading hurts 5.3?
Did it start up when you replaced the fan, or was it gone for good? It was dead for good, well it is still dead as a matter of fact :) I thought all the boxed P4 processors came with their own fan, so there should never be a case in which a PC is sold with a P4 but no CPU fan. So did I, so did I, but one sees strange things when buying a machine from a cheap assembly shop (I was not the first buyer, I just got the machine when it became unusable and then I was curious so I opened it, what the first owner never did). Olivier ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]