I need to control a bunch of files.
Hi, All! There is a question, sorry if you find it stupid. I need to control a bunch of files. As soon as any of these files changes it should be immediately rechecked and correct chmod and chown reset on this file(s). Though I can do it from a simple script executed by the cron every five minutes or so, I'd like them to be controlled by a process which would monitor any possible changes in these files and would do the job upon the event. Can anybody give me a hint? Thanks. WBR Vitali ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Newer names
Vitali Malicky wrote: OK, Hendrik! On monday I'll take A Student's Guide To UNIX(C) by Harley Hann which I began with 5 years ago, and I'll quote for you and for all dear All the whole paragraph where it's explained. Deal? Why not? :) But I was more interested what the single letters in dragon mean, because you already explained a dragon itself. I don't think this is a right place to share bookchapters. It's not a chapter :) Hendrik - WHAT'S IN A NAME? Daemons and Dragons Although the name is pronounced dee-mon, it is correctly spelled daemon. Nobody knows if the name used to be an acronym or why we use a British variation of the spelling. (In Celtic mythology, a daemon is usually good or neutral, merely a spirit or inspiration. A demon, however, is always an evil spirit entity.) You may occasionally read that the name stands for Disk and Executing Monitor, a term from old DEC 10 and 20 computers. However, this explanation was made up after the fact. The name daemon was first used by MIT programmers who worked in CTSS (the Compatible Time-Sharing System), developed in 1963. They coined the name to refer to what were called DRAGONS by other programmers who worked on ITS (the Incompatible Time-Sharing System). (CTSS and ITS were both ancestors of UNIX. ITS was an important, but strange, operationg system that developed a cult following at MIT. To this day, ITS is still revered among aging east-coast hackers.) Strictly speaking, a dragon is a daemon that is not invoked explicitly but is always there, waiting in the background to perfofrm some task. The cron daemon, for example, might be called a dragon. Although many Unix users have heard of daemons, very few people know about dragons. (But now you do.) Harley Hahn A Student's Guide To UNIX ISBN 0-07-025511-3 (page 286) - Vitali Malicky Zone3000 TechSupport http://www.geocities.com/vitali_malicky http://search.yahoo.com.au - Yahoo! Search - Looking for more? Try the new Yahoo! Search ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Newer names
Please read entire article before sending any comment to me. Read. Why would any one wish to change the term DAEMON, D.A.E.Mon., and Disk and execution monitor, to a more fitting title. In practice this term has grown outdated. For today it stands that many people in the world abroad don't profusely rely on the veritable disk based storage as a complete solution. There are other storage mediums which are without a disk. For example: Flash cards, USB pen drives and the sort have no circular rotary disks. In my, I hope, humble opinion, this term will be preserved due to traditional inclines of human nature. Very few individuals know the meaning of DAEMON term. And, as I've much heard from other admins, many of them, including me, refer to DAEMON using another term - PROCESS. The snmpd process worked much time..., There are 340 httpd processes... and so on... It would be more fitting to address the storage units as media or storage media. Thus the title DAEMON could be reverted to SMAEMON or Storage Media And Executon MONitor. What about DRAGON? There is also such a term as DRAGON. Yes, I'm all serious. cron is a DRAGON, for example. DRAGON is a process which may run other processes periodically under a user specified. What about it? And many my colleagues, and me as well, refer to it also as PROCESS. Even further involved is the choice of the term execution. The term execution, is not as precise as Tasks or Processes for a naming convention. For example, in Windows 2000, there is a task manager. In that task manager there are processes and applications that can be canceled. Open top, and (s)he who can read the top output can see anything needed from there. If it turns out insufficent information then use ps. After close study of the output from these two commands you can kill a process (ie to cancel it), in other words you use kill command to send a signal to the process of your interest: -1, -9 , -15, and there many more to your choice. Read man page signal(3). By the way, are there, among my dear audience, women-feminists, who would like to replace the man (short for manual) command for, say, wom (short for wonderful manual)? Hey! Any ideas? Sure, MIT's CTSS people came up with the term, DAEMON, as noted in www.dictionary.com, but would you want to keep it? In this world, would you like to have a term in the future that connotes a certain religious involvement? It could provoke any further controversy in the public if the Unix and Linux community goes even further into the Desktop market. Particularly groups of people could simply dismiss the operating system, since it has many references to a program that connotes an adverse spirits. Thus dissuading them from purchasing, developing, or involving there self in such a product. The mere suggestion of an affiliation or like thereof of an offending spirit, based on their preference of relation/religion with this life, would turn them away from such product. In other words, why would a spiritually right person want to associate with a daemon [demon]? As a Russian saying goes Each thinks according to the measure of his/her dissoluteness. When a doctor hears a term penis he has no bad or pervert emotions. For him/her it's just a medical term. When a jerk or a pervert hears it... Well, you know what (s)he can imagine and do with the subject signifed by the term... :( So, let's come out with an idea of total replacement of the terms penis, womb, sheath. etc... Any ideas? Furthermore, society in general would benefit from a newer name than DAEMON. MS Windows, Novell NetWare, OS/2 Warp, Ecomstation, Sun's Solaris and several other operating system don't need this incorrect term floating around in their operating systems. As a practical usage this term adjustment sounds very much needed and desired when proposed to the IT community and the rest of the world. Sincerely yours Vitali Malicky Zone3000 TechSupport http://www.geocities.com/vitali_malicky ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Newer names
Vitali Malicky wrote: What about DRAGON? There is also such a term as DRAGON. Yes, I'm all serious. cron is a DRAGON, for example. DRAGON is a process which may run other processes periodically under a user specified. What about it? And many my colleagues, and me as well, refer to it also as PROCESS. You've made me curious. Can you explain me the acronym DRAGON? Or did you just make that up? OK, Hendrik! On monday I'll take A Student's Guide To UNIX(C) by Harley Hann which I began with 5 years ago, and I'll quote for you and for all dear All the whole paragraph where it's explained. Deal? Hendrik Vitali ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: virtual users for mail?
Hello All, I am on FreeBSD 4.8-R, I would like to run on the mail system virtual users mail. i just dunt want to create a _real_ users on system, and I would prefer it virtual for certain domain(s) So, brethren, qmail (www.qmail.org) + vpopmail+qmailadmin+ezmlm+autoresponder (www.inter7.com) is for you :) Can someone exaplain what to install by order? can i run it under sendmail daemon? Thank you. Marwan. _ Add photos to your e-mail with MSN 8. Get 2 months FREE*. http://join.msn.com/?page=features/featuredemail ___ [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]
Re: Correct syntax for ipfw to allow local traffic?
Hi all, Hi! I have 00100 allow ip from any to any via lo0 in my firewall script. But although I get lines like silakka /kernel: Connection attempt to TCP 127.0.0.1:2000 from 127.0.0.1:3914 into my messages log. It is jsst like the firewall although blocks local traffic. What should I add or modify to allow traffic via loopback and/or from and to 127.0.0.1 ? /sbin/ipfw -q add 1 allow ip from 127.0.0.1 to 127.0.0.1 via lo0 = I usually configure tyhe firewall in /etc/rc.firewall. when I modify firewall rules on the remote servers I responsible of, first I make a copy of rc.firewall, say, rc.firewall.new and make all necessary changes in _this_ file, then I run shutdown -r +5min and only after that I execute /etc/rc.firewall.new # /etc/rc.firewall.new nohup if it's alright and I'm still there on the server I just kill the shutdown process, if not, the machine reboots with the old rules... Best of luck! Regards, Johan Paul ___ [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]
Re: Large memory issues
I hope that optionsMAXMEM=(4096*1024) should help... ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Cron job question
cause perusal of the documentation, which is plenty for seeking mind, is not you nature, sir... crontab(1) i.e. [EMAIL PROTECTED] man 1 crontab I am getting this message every 5 minutes. Can somebody explain to me why root apparently is not found here? X-Original-To: [EMAIL PROTECTED] Delivered-To: [EMAIL PROTECTED] From: [EMAIL PROTECTED] (Cron Daemon) To: [EMAIL PROTECTED] Subject: Cron [EMAIL PROTECTED] root /usr/libexec/atrun X-Cron-Env: SHELL=/bin/sh X-Cron-Env: PATH=/etc:/bin:/sbin:/usr/bin:/usr/sbin X-Cron-Env: HOME=/root X-Cron-Env: LOGNAME=root X-Cron-Env: USER=root Date: Fri, 22 Aug 2003 19:05:00 +0200 (CEST) root: not found Thanks! Rick ___ [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]
Re: Kernel - maxusers, NMBCLUSTERS etc.
Hi! On Wed, Aug 13, 2003 at 10:46:59AM -0400, Grant Peel wrote: 1. Does anyone use the maxusers=0 parm? If so is it safe, ie does it dynamicly set maxusers on-the-fly, or does it only set at boot time based on the current number of users? Yes and Yes, the setting is assigned at boot time and depends on an algorithm which you can read about in tuning(7) IIRC. I would say give it a go and see how it fairs. Check out sysctl -a for your current settings and see how it changes when you set MAXUSERS to 0. Also check out fstat(1) to see what open files you currently have and what is consuming your file descriptors - perhaps you can cut down the number of open files. You should have read the documentation more attentively. there it says: begin The maxusers option sets the size of a number of important system tables. This number is supposed to be roughly equal to the number of simultaneous users you expect to have on your machine. Starting with FreeBSD 4.5, the system will auto-tune this setting for you if you explicitly set it to 0. In FreeBSD-5.x, maxusers will default to 0 if not specified. If you are using an version of FreeBSD earlier than 4.5, or you want to manage it yourself you will want to set maxusers to at least 4, especially if you are using the X Window System or compiling software. The reason is that the most important table set by maxusers is the maximum number of processes, which is set to 20 + 16 * maxusers, so if you set maxusers to 1, then you can only have 36 simultaneous processes, including the 18 or so that the system starts up at boot time, and the 15 or so you will probably create when you start the X Window System. Even a simple task like reading a manual page will start up nine processes to filter, decompress, and view it. Setting maxusers to 64 will allow you to have up to 1044 simultaneous processes, which should be enough for nearly all uses. If, however, you see the dreaded proc table full error when trying to start another program, or are running a server with a large number of simultaneous users (like ftp.FreeBSD.org), you can always increase the number and rebuild. Note: maxusers does not limit the number of users which can log into your machine. It simply sets various table sizes to reasonable values considering the maximum number of users you will likely have on your system and how many processes each of them will be running. One keyword which does limit the number of simultaneous remote logins and X terminal windows is pseudo-device pty 16. --- end --- also, at the bottom of the page there is a little note: ---begin--- The auto-tuning algorithm sets maxuser equal to the amount of memory in the system, with a minimum of 32, and a maximum of 384. ---end--- Hence, gentlemen, assigning 0 (ZERO) to the MAXUSERS options signifies options MAXUSERS=384 So, if you need more you can assign max allowed value to the MAXUSERS option: options MAXUSERS=512 As for NMBCLUSTERS, comment it out in you kernel config file and the system will be tuning it automatically according to the REAL needs. WRB -- Error Code=-1 Continue? Yes | No -- -- Jez http://www.munk.nu/ ___ [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]
Re: semaphores
Hi, Hi! I was installing perl 5.8 and it would fails. Lost the error message, sorry. However, running a google search on the error message gave only one result suggesting that my system was running out of semaphores. So, `ipcs` showed that postgresql was using them and so stopping this db allowed perl to be installed. Now I can run both perl5.8 and postgresql, but, how do I know whether my system is low on semaphores, and if so, how do I increase it ? rebuild the kernel with options like these (take mine for exmaple) ### options SYSVSHM #SYSV-style shared memory options SHMMAXPGS=65535 ### for Oracle... options SHMALL=8192 options SHMMAX=(SHMMAXPGS*PAGE_SIZE+1) options SHMMIN=2 options SHMMNI=512 ### for Oracle... options SHMSEG=512 ### for Oracle... ### options SYSVSEM #SYSV-style semaphore options SEMMAP=512 options SEMMNI=512 ### for Oracle... options SEMUME=512 options SEMMNS=1024 ### for Oracle... options SEMMNU=512 options SEMMSL=256 ### for Oracle... options SEMOPM=256 ### options SYSVMSG #SYSV-style messages. options MSGMNB=16384 options MSGMNI=256 options MSGSEG=8196 options MSGSSZ=16 options MSGTQL=256 read www.freebsd.org and LINT for more info -- Error Code=-1 Continue? Yes | No -- Here are some outputes: uname -a: FreeBSD 4.8-STABLE ipcs : [EMAIL PROTECTED] [/home/pars/perl] $ ipcs Message Queues: T ID KEYMODE OWNERGROUP Shared Memory: T ID KEYMODE OWNERGROUP m 655365432001 --rw---pgsqlpgsql Semaphores: T ID KEYMODE OWNERGROUP s 1310725432001 --rw---pgsqlpgsql s 1310735432002 --rw---pgsqlpgsql s 1310745432003 --rw---pgsqlpgsql Thanks. ___ [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]
Re: SNMP
I've been happily using ucd-snmp-4.2.6 for a couple of years. -- Error Code=-1 Continue? Yes | No -- Hi, I am new to SNMP. I was asked to set up SNMP agents and a manager on some of the computers in the lab. Can someone recommend some SNMP programs that I can use or a good link on the Internet? I need it for both FreeBSD and Windows machines. Thank you very much for you time. Best regards Artem ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-config 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]
Re: mod_frontpage - question
it said in readme_apache_dso.txt + begin To compile the FrontPage Apache module using apxs, change to the directory containing the FrontPage Apache module source code, and use For Apache 1.3: ${httpd_root}/bin/apxs -c mod_frontpage.c For Apache 2.0 ${httpd_root}/bin/apxs -c mod_frontpage.c mod_fpcgid.c where ${httpd_root} is the root of your Apache installation tree. (This is for standard Apache installations. Other installation layouts may place the apxs utility in a different directory.) This command will compile the FrontPage Apache module source code, leaving the DSO file in the same directory tree. To install the FrontPage Apache module into Apache, from the same directory as above: For Apache 1.3: ${httpd_root}/bin/apxs -i -a -n frontpage ./mod_frontpage.so For Apache 2.0: ${httpd_root}/bin/apxs -i -a -n frontpage ./mod_frontpage.la This command will copy the Apache module into the appropriate directory in the Apache installation tree, and will automatically edit your configuration file to include an appropriate LoadModule command. ++ end +++ i installed with no problem, and that was DSO apache and I didn't changed httpd file for frontpage's httpd. that httpd I had compiled picked up mod_frontpage.so as it were its own for ages... good luck! -- Error Code=-1 Continue? Yes | No -- running 4.7 stable. cd /usr/ports/www/mod_frontpage make make install. Was successful. followed instructions on the screen after the install completed. The last step was to run /usr/local/frontpage/version5.0/fp_install.sh I ran that and answered the questions. All seemed well, but it did not replace the httpd I had. looked at the install script and then looked in /usr/local/frontpage/version5.0/apache_fp. There was no httpd in that directory. Where is the patches httpd with the frontpage extensions ? thanks a ton. -Darryl ___ [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]
Re: Can you help me find a small (old ?) FreeBSD release?
Hi, Hi, will this be ok? http://people.freebsd.org/~picobsd/picobsd/doc/intro.html My name is Dorin Scutarasu. I recently read some really interesting articles about Unix and the open source comunity and I want to install a BSD on my computer. I have an old computer (an AMD 80486 DX2 at 80Mhz) with very little disk space available(about 50MB). It is running Windows 95 but I really want to install an Unix based OS on it (preferably FreeBSD). I have been searching for an old FreeBSD release on the web that is small enough to fit on my computer but I couldn't find one. Could you please help me find some old releases I could try ? The smallest I could find is release 2.2.8 but it's to big, so I need an older one. It should be a 10 -15 MB download. I don't mind if it woun't have a graphical interface and I'll just be typing at the command prompt :-) . It would be great if the release would include a C/C++ compiler too. Thank you, Dorin Scutarasu - Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software ___ [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]
Re: new search tool for FreeBSD community
- Original Message - From: Adam [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, July 28, 2003 3:04 PM Subject: Re: new search tool for FreeBSD community On Mon, 2003-07-28 at 07:58, Vlad Shabanov wrote: Rambler (www.rambler.ru) developed new search tool working with FreeBSD project mail archives. You can try it at http://freebsd.rambler.ru/ Index contains messages from all mail archives including cvs commits, bug reports, etc. We plan to update database daily. Any comments, suggestions, bug-reports welcome. I just tried it out and it seems to work just fine. I'll be bookmarking this one. Thanks. -- Adam [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]
Re: new search tool for FreeBSD community
ditto! I just tried it out and it seems to work just fine. I'll be bookmarking this one. Thanks. -- Adam [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]
Re: I want using FreeBSD, but...
...i'm a christian. Why is the Logo of FreeBSD an devil What have an oparating System to do with the devil Of course, there is something like daemon's (under Windows called services) but this is not the meaning of deamon!!! I think the meaning of daemon is d=disk a=and e=? (i don't know) mon=monotoring DiskAndExecuteMONitor :) relax, Rissland So what has this to with an Deamon??? Please answer me. ___ [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]
Re: udp packets dropping
Hello, Hi. try to assign sysctl vars like mine... net.local.dgram.maxdgram=4096 net.local.dgram.recvspace=8192 net.inet.udp.maxdgram=9216 net.inet.udp.recvspace=41600 net.inet.raw.maxdgram=32767 net.inet.raw.recvspace=16384 net.inet.udp.log_in_vain=1 check if you netcard works in full duplex (though i think is's a stupid remark of mine... ;)), try to rebuild the kernel and add extra network buffering. with extra buffering it all might work much better. sorry if I was of no help... -- Error Code=-1 Continue? Yes | No -- I have a DNS server with a lot of traffic. After just a couple of minutes of resetting the netstat -s counters, I get the following output: 130670 datagrams received 0 with incomplete header 0 with bad data length field 1 with bad checksum 30 with no checksum 0 dropped due to no socket 12 broadcast/multicast datagrams dropped due to no socket 4226 dropped due to full socket buffers 0 not for hashed pcb 126431 delivered 136753 datagrams output As time goes by, the dropped due to full socket buffers number goes up. I have increased the sysctl variable net.inet.udp.recvspace to 10, I don't think I might solve the problem... up from about 4. This did not make any difference, the number goes up with time. The server is running FreeBSD 4.6 RELEASE with Bind 9.2.2. I went through the newsgroups and did not find any solutions to this problem. Any help will be greatly appreciated. Arie Kachler SysAdmin/Telcom.Net ___ [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]
Re: Problem with periodically done scripts
It seems now, that my /etc/master.passwd is really broken. Have anybody an idea, how to recreate it ? if you have a backup in /var/backups then you might extricate yourself of the situation. but there are backups only for two days... Pls, help. Peter Rosa ___ [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]
Re: Promise Ultra100 TX2 support broken?
Hi. Hi! I have a Promise Ultra100 TX2 card with 2 brand new Maxtor drives. The setup should work in UDMA100 mode, but is downgraded to PIO mode 4 under FreeBSD 5.1 and 4.8. Hardware is definitely OK, I have 2 controllers, 6 different 80 wire IDE cables, shielded and unshielded and no irq conflicts. Always the same problem. Disks work perfectly on an onboard VIA controller. The Promise BIOS is the latest. NetBSD also downgrades to PIO mode 4, in an i386 and an alpha. Maybe some registers not setup correctly by the driver(s)? dmesg excerpt: [...] atapci0: Promise TX2 ATA100 controller port 0xe080-0xe08f,0xe0a0-0xe0a3,0xe090-0xe097,0xe0a4-0xe0a7,0xe098-0xe09f mem 0x8400-0x84003fff irq 10 at device 14.0 on pci 0 [...] ad4: 39205MB Maxtor 6E040L0 [79656/16/63] at ata2-master UDMA100 [...] ad4: UDMA ICRC error reading fsbn 0 (ad4 bn 0; cn 0 tn 0 sn 0) retrying ad4: UDMA ICRC error reading fsbn 0 (ad4 bn 0; cn 0 tn 0 sn 0) retrying ad4: UDMA ICRC error reading fsbn 0 (ad4 bn 0; cn 0 tn 0 sn 0) retrying ad4: UDMA ICRC error reading fsbn 0 (ad4 bn 0; cn 0 tn 0 sn 0) falling back to PIO mode Sorry, friend, your HDD is to be thrown out. Purche a new one (highly desirable not from China... :() and if you saw, or if you see something like this: ad2s1f: hard error reding fsbn 28247911 (ad2s1 bn 28247911; cn 1758 tn 89 sn 34) status=59 error=40 ad2s1f: hard error reding fsbn 28247911 (ad2s1 bn 28247911; cn 1758 tn 89 sn 34) status=59 error=40 THE FOLLOWING DISK SECTORS COULD NOT BE READ: 28247900, 28247903, 28247904, 28247905, 28247906, 28247907, 28247908, 28247909, 28247910, 28247911 ** Phase 2 - Check Pathnames ** Phase 3 - Check Connectivity ** Phase 4 - Check Reference Counts ** Pahse 5 - Checl Cyl groups 219480 files, 28790271 used, 2584481 free (63457 frags, 315128 blocks, %0.2 fragmantation) * FILE SYSTEM STILL DIRTY * * PLEASE RERUN FSCK * then sure no doubt that the disk is broken After clever HDD's which burn the information about their bad blocks by themselves came to the scene FreeBSD, AFAIK, stopped supporting such a feature as searching and marking bad blocks. So, if you see these errors it means only one thing - the disk is dead, or will be dead tomorrow or so... :( Good luck! -- Error Code=-1 Continue? Yes | No -- Help would be greatly appreciated! Regards Felix ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Promise Ultra100 TX2 support broken?
Vitali Malicky wrote: Sorry, friend, your HDD is to be thrown out. Purche a new one (highly desirable not from China... :() What are you talking about? Read my previous mail carefully! The drives are NEW, and work PERFECTLY on a VIA onboard controller. Two week ago I was given a NEW remote server and told to prepare it for hosting. I encountered this very same problem. After that NEW HDD was replaced for a another NEW one everything got alright with no hitch. On monday the hosting got its gogogo. I just shared my experienced with you, Felix, you choose to pay attention or not. Best regards Vitali -- Error Code=-1 Continue? Yes | No -- Regards Felix ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Virus Scanners
What are the best virus scanners for freebsd? Kaspersky has been working excellent for the third year in my boxes, but it's a bit expensive, anyway if you find a key on astalavista.box.sk then it'll be free to you ;) You will have to patch sendmail and modify its sendmail.cnf (which is a nightmare to me), but I'm lucky to have been working with qmail where one has to rm native qmail-queue to qmail-que and instead of the native qmail-queue put the qmail-queue from Kavdaemon suite (there is rich documentation in the package) ftp://ftp.kaspersky.ru/beta/KAVUnix/FreeBSD/ -- Error Code=-1 Continue? Yes | No -- ___ [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]
Re: marking bad blocks on a hard disk drive
I?m installing FreeBSD 4.8 on a 8GB HDD, but it has some bad sectors. How can I tell FreeBSD not to use these bad sectors? I'm afraid you can't... :( this is from one of my previous posting Re: Promise Ultra100 TX2 support broken? From: Vitali Malicky [EMAIL PROTECTED] To: Felix Deichmann [EMAIL PROTECTED], [EMAIL PROTECTED] References: [EMAIL PROTECTED] Date: Thu, 24 Jul 2003 16:43:33 +0300 === After clever HDD's which burn the information about their bad blocks by themselves came to the scene FreeBSD, AFAIK, stopped supporting such a feature as searching and marking bad blocks === Good luck! Thanks in advance de nada ALfonso Romero ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re:
Hi, dear All! as usual, before the kernel begins to load it waits for your pushing SPACE for 10 seconds (by default). so you just push SPACE, then, when you see prompt ok, type boot -s. The kernel must load, then you'll be asked about the shell you want to get into /bin/sh, just push Enter and then type mount -a. This is a single user mode. after all these magic machinations you might have a possibility to repare your /etc/rc.conf :) -- Error Code=-1 Continue? Yes | No -- Dear sirs, please, help me to solve such problem: during configuration I had made an error in rc.conf (unterminated quoted string). After rebooting kernel was loaded successfully (without remarks), but when reading rc.conf system reports about error and breaks during mounting root. So I have a read-only file system without any possibility to correct rc.conf. Say, whether I must install FreeBSD from the very beginning, or I can repair rc.conf ? Yours, I.A. Kudriavtcev ___ [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]
Re: intalling mysql on bsd5.0
Hi, Hi, While installing mysql on freebsd5.0 (scripts/mysql_install_db) i encountered the following error: - Installing all prepared tables /usr/libexec/ld-elf.so.1: Shared object libc_r.so.4 not found Installation of grant tables failed What mysql did you installed? From the precompiled packadges downloaded from one of the mirrors of mysql.com? How can i get rid of this problem. If so, then you can't. Becouse the precompiled version of mysql for 5.0 doesn't exist as yet. Just take the source and compile it by yourself. -- Error Code=-1 Continue? Yes | No -- Thanks anil. ___ [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]
Re: BIND 9
Hello: Hi, I'm trying to configure both a master and slave DNS on the same machine. My approach is to run the master by setting named_enable=YES and it will use the config file in /etc/named. To start the slave I will In rc.local and it would use the config files in /etc/named/slave. Does this seems ok? Is there a better way. I can't follow your point... Are you going to run TWO named daemons? I can't see why you're doing this. master and slave are configured in named.conf and doesn't matter where you're going to start the daemon from, besides, the named daemon can process both master and slave zone at the same time, you don't have to run TWO named daemons. try to make yourself clearer, I suspect I failed to understand the idea... :( as for starting named from rc.conf here is a record from my rc.conf ### BIND 9.1.2 named_enable=YES named_program=/usr/local/sbin/named named_flags=-t /etc/namedb ### -- Error Code=-1 Continue? Yes | No -- P.S. How to jail named read in handbooks on www.freebsd.org Also, does anyone have any pointers to info on BIND/DNS. I have the book, seen the freebsd pages and article. Thanks. Cheers, Tony ___ [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]
Re: Apache help
- Original Message - From: Adam [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, July 22, 2003 11:36 PM Subject: Re: Apache help On Mon, 2003-07-21 at 16:33, Dzevad Fazlic wrote: I just installed freeBSD 4.8 with apache 1.3.27 Everthing works perfect but when i shutdown system or when i startup system i am receiving this apache error (/usr/local/etc/rc.d/apache.sh:120: Syntax error :Unterminated quoted string ) Selfobvious! file /usr/local/etc/rc.d/apache.sh line 120 check it! may be you forgot to terminate quoting: or ' Can somebudy help please But if i start apache with this command on shell apachectl start It will work fine Just a thought, did you ever edit that script with a Win32 text editor? Those kind of weird errors are frequently caused by Win32 terminating characters. Might be worth checking out, just to rule it out. Or just when copying text files from windows to UNIX-like, copy them in ASCII mode so that not to have ^M at the end of each line... or develop good habits and begin to edit scripts in vi or so... -- Adam [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]
Re: ctrl+alt+del shutdown/reboot
Hi, I install linux freebsd servers, and I'd like to shutdown (and not reboot) my servers pressing ctrl+alt+del. I know how to in linux (inittab) but not in freebsd, because reading manuals I have seen only how to disable the function through kernel reconfiguration. Please help me there is such a good command shutdown -r now (-r means to reboot -h means to halt) you're discouraged to use halt and reboot cauz it's not a good way to stop FreeBSD,... also there command fasthalt, fastboot... Luca Massarenti ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: ctrl+alt+del shutdown/reboot
you're discouraged to use halt and reboot cauz it's not a good way to stop FreeBSD,... also there command fasthalt, fastboot... Why isn't it a good way? cauz reboot and halt don't execute the scripts in /etc nor in /usr/local/etc/rc.d -Pierrick ___ [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]
Re: Getting X to work in FreeBSD 4.8 in VMware 4.0
Greetings !! Welcom aboard, Mick! I have got the system up and running, just using the command line (which is good), as I am told that the command line is the most important part of the FreeBSD system. Any help will be appreciated - I am a complete newbie in this regard. try to begin from typing in the command line man man, then man vi, man ls man cd, man lock, man window if you don't know exactly a command you can enter apropos command (ex. apropos cd) and it will give you a list of all the man-pages where this letter combination (cd, I mean) is found giving you a good possibility to find out about many other commands. see what file there are in the /bin, /sbin, /usr/bin, /usr/sbin directories. for example you saw an interesting file: /usr/bin/bzip2 you've got interested what it might be... don't hesitate and type man bzip2... :) Have fun! :) -- Error Code=-1 Continue? Yes | No -- ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: mysql-server-4.1.0_1 refuse to start on 5.1
after you inittialized the mysql.* tables do chown -R mysqluser:mysqlgroup /path/to/mysqldatadir and read REDME and INSTALL before you install something :) -- Error Code=-1 Continue? Yes | No -- Hello! MySQL on my server just refuse to start with the following error, the permission is what i se set correctly, anyone got a clue?? // Mats marvin# cat marvin.err 030718 01:03:21 mysqld started 030718 1:03:21 bdb: /var/db/mysql: Permission denied 030718 1:03:21 bdb: /var/db/mysql/log.01: Permission denied 030718 1:03:21 bdb: PANIC: Permission denied 030718 1:03:21 bdb: PANIC: DB_RUNRECOVERY: Fatal error, run database recovery 030718 1:03:21 bdb: fatal region error detected; run recovery 030718 1:03:21 bdb: /var/db/mysql: Permission denied 030718 1:03:21 Can't init databases 030718 1:03:21 Aborting 030718 1:03:21 /usr/local/libexec/mysqld: Shutdown Complete 030718 01:03:21 mysqld ended marvin# ls -la /var/db/ | grep mysql drw--- 2 mysql mysql 512 Jul 18 01:03 mysql marvin# pw usershow mysql mysql:*:88:88::0:0:MySQL Daemon:/var/db/mysql:/sbin/nologin marvin# pw groupshow mysql mysql:*:88: ___ [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]
Re: building a routing machine
Hi folks, hi, man. I've enabled routed on both systems, (-s on the webserver, -q on the it not necessary at all! set your default router in rc.conf (ask your University admin about its IP) you just look at sysctl -a net.inet.ip.forwarding if it equals 0 then sysctl -w net.inet.ip.forwarding=1 (in rc.conf this variable is set by gateway_enable=YES) then you need a natd just touch /etc/natd.conf and edit it so that it contained something like log yes #log_denied yes port 8668 use_sockets yes same_ports yes unregistered_only yes alias_address ???.???.???.??? #your PUBLIC IP ### #EOF ### run natd /sbin/natd -f /etc/natd.conf edit /etc/rc.firewall to contain approximately the following #!/bin/sh /bin/echo -n Firewall... Flush All Chains And Pipes /sbin/ipfw -q -f flush /sbin/ipfw -q -f pipe flush lo0 ### /sbin/ipfw -q add 1 allow ip from 127.0.0.1 to 127.0.0.1 via lo0 public # /sbin/ipfw -q add 2 divert natd all from any to any in recv fxp0 #change fxp0 to your NIC name /sbin/ipfw -q add 3 divert natd all from any to any out xmit fxp0 #change fxp0 to your NIC name Firewall (icmp) ### # /sbin/ipfw -q add 65527 deny icmp from any to ${LocalNET} # /sbin/ipfw -q add 65528 deny icmp from ${LocalNET} to any /sbin/ipfw -q add 65529 allow icmp from any to any Firewall Logging ### /sbin/ipfw -q add 65530 deny log all from any to any ipopt rr /sbin/ipfw -q add 65531 deny log all from any to any ipopt ts /sbin/ipfw -q add 65532 deny log all from any to any ipopt ssrr /sbin/ipfw -q add 65533 deny log all from any to any ipopt lsrr /sbin/ipfw -q add 65534 deny log all from any to any echo configured. ### (this is a fragment of my ip.firewall which is too long to quote here...) and execute the file (chmod 500 rc.firewall, you know, first... ;)) it should work. if not, ufff... than you will have to rebuild the FBSD kernel with IPDIVERT, IPFIREWALL and things, and things, and things... and repeat the said above... I envy you if you're gonna do the kernel rebuid for the first time :) it's a fascinating, absorbing and captivating procedure like playing chess with a very strong chessplayer :) see here http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-confi g.html and good luck!!! -- Error Code=-1 Continue? Yes | No -- desktop) but that doesn't seem to be enough. I've read something about routing and gateways in the handbook, but I didn't quite get it. So can anyone help me out? Please CC me, I'm not (anymore) a user on this list. Thanks! -- tcGB Fi-Ji ___ [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]
Re: /etc/services and NIS
Does anyone know if you need to reboot for the + in /etc/services to definitely not at all! -- Error Code=-1 Continue? Yes | No -- take effect? I've added a + at the end of /etc/services on my FreeBSD 4.8-RELEASE box but getservbyname calls still fail unless I have the service entries explictly entered into the file. A ypcat services works fine so NIS is okay. Is this supposed to work? -- Callum Gibson [EMAIL PROTECTED] Global Markets IT, Deutsche Bank, Australia 61 2 9258 1620 ### The opinions in this message are mine and not Deutsche's ### ___ [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]
Re: Help! Is this an attack or a virus? Qmail on FBSD is flooding
G'day Vitali, Thanks for your advice I'll look into it I was thinking about it last night and figured that there must be messages in the Q. A quick check showed that one such message was Qd to send a couple of jpgs to dozens of CCd addresses! That does look like a virus on one of my internal clients...(using their address book) What say you? why not a virus? if so, then look at the From: field. knowing your user and what machine he/she is working at localize the machine and clean it, that's not a problem. by the way how do your clients send mail? Since my clients can't send mail but to themselves on this very same server until they take their mail from the pop3 server (I use tcpserver, vpopmail supervised by svscan). Until the users authorize on the pop3 they can't send any mail (dynamic relaying). As soon as they're authorized they are granted permission for 20 minutes to send mail. In 20 minutes (unless their email clients automatically jerk the pop3 server every 5 or so minutes) the relaying permition for the client's IP is nulled. the moral of the fable is: viruses can't make e-mail client application tease the pop3 every 5 minutes, nor authorize on pop3, but some of the clever viruses can send mail even if the e-mail client application is closed (Exited from, I mean)... and what if the relay were closed for the IP where the virus lives? if it's open i can cat /path/to/vpopmail/etc/open-smpt 10.1.1.36:allow,RELAYCLIENT=,RBLSMTPD= 1058539366 10.1.1.12:allow,RELAYCLIENT=,RBLSMTPD= 1058539411 10.1.1.5:allow,RELAYCLIENT=,RBLSMTPD= 1058539321 10.1.1.22:allow,RELAYCLIENT=,RBLSMTPD= 1058538971 and localize all the IP's of the clients who are actively using mail server now. whithout guesswork... Best regards Vitali. -- Error Code=-1 Continue? Yes | No -- Keith Hi, dear All! qmail-remote sends mail to remote hosts as long as qmail-local sends local mail (inside the box). how many qmail-remote processes do you have (ps ax|grep qmail-remote|wc -l)? did you try to delete the messages from the queue, if so you should have done it correctly. please, obtain the qmail-remove package (find it on Google), there is an instruction how to delete the queued messages. and see the log file (grep qmail-remote /var/log/maillog | more), as this information is not nuff WBR -- Error Code=-1 Continue? Yes | No -- http://www.geocities.com/vitali_malicky Hi Victor thanks, I had deleted that one persons account but it staill happens! What is the qmail-remote thing?? Any ideas? Keith ___ [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]
Re: Help! Is this an attack or a virus? Qmail on FBSD is flooding
Hi, dear All! qmail-remote sends mail to remote hosts as long as qmail-local sends local mail (inside the box). how many qmail-remote processes do you have (ps ax|grep qmail-remote|wc -l)? did you try to delete the messages from the queue, if so you should have done it correctly. please, obtain the qmail-remove package (find it on Google), there is an instruction how to delete the queued messages. and see the log file (grep qmail-remote /var/log/maillog | more), as this information is not nuff WBR -- Error Code=-1 Continue? Yes | No -- http://www.geocities.com/vitali_malicky Hi Victor thanks, I had deleted that one persons account but it staill happens! What is the qmail-remote thing?? Any ideas? Keith ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]