Re: disaster recovery - did I do the right thing?
On Monday 07 May 2007 11:16 pm, Ian Smith wrote: snip Ray, I've been watching this thread, and you've had some good advice about backups etc, but if you really did 'rm -f *' in /usr/local (NOT 'rm -rf *') then it's very likely that you deleted no files at all. snip sorry, should have said rm -rf * The only file 'rm -f *' in /usr/local would remove here is a comment I made for myself with 'touch moved_portsnap_from_var_db'; 'rm *' (with or without -f) does not remove directories (unless you also use -r). I can't say what was in _your_ /usr/local, but I've just checked on 4.8, 4.10, 5.5-STABLE and 6.1-RELEASE systems, and none of them install plain files in /usr/local at all, just directories. So you may be lucky .. This was a postmortem question, by the time I'd posted, I'd already reinstalled from scratch. The machine wasn't in production yet and I had made good notes on paper, so It wasn't the end of the world. Ray Cheers, Ian ___ 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]
harddisk failed strangely, badly need to recover data
Dear list. I added a 160 GB harddisk to the FreeBSD server several days ago. I have setup only one slice on it (/dev/ad6s1) and it has two partitions on it. /dev/ad6s1c is used as swap /dev/ad6s1d is used as /var Today I decided to reboot the FreeBSD server because I messed up nfs settings. After restart /var/ failed to mount. I was brought to a shell where I am suggested to do fsck manually. fsck manually couldn't help either: [EMAIL PROTECTED] /home/zhangweiwu]# fsck /dev/ad6s1d ** /dev/ad6s1d Cannot find file system superblock LOOK FOR ALTERNATE SUPERBLOCKS? [yn] y 32 is not a file system superblock 28780512 is not a file system superblock 57560992 is not a file system superblock 86341472 is not a file system superblock 115121952 is not a file system superblock 143902432 is not a file system superblock 172682912 is not a file system superblock 201463392 is not a file system superblock 230243872 is not a file system superblock 259024352 is not a file system superblock 287804832 is not a file system superblock SEARCH FOR ALTERNATE SUPER-BLOCK FAILED. YOU MUST USE THE -b OPTION TO FSCK TO SPECIFY THE LOCATION OF AN ALTERNATE SUPER-BLOCK TO SUPPLY NEEDED INFORMATION; SEE fsck(8). I tried to fix it by do inga harddisk bad-sector checking for the beginning 1GB of the harddisk (result is successful, no bad sector in the beginning 1GB). The data on the harddisk is not modified/erased during checking Use 'dd if=/dev/ad6 bs=32k | hd -v | grep 19 01 54 19' to locate the super block and do some calculation to get the superblock sector number (following an Internet article) and pass it to fsck_ufs like this: 'fsck_ufs -b 12032 /dev/ad6s1d'. Under a lot of time pressure I confirmed twice with 'y' for the following questions of whether or not to set some values to default without fully understanding the questions, later seeing more questions I stopped fsck by Ctrl+C. Before running fsck I tried to backup the first 100MB data of /dev/ad6 using dd which should help me recover even if I destroyed superblock of /dev/ad6s1d. Later I realized I have by mistake only backed up the beginning 4.0MB of /dev/ad6 Is it possible now for me to recover the data in /var/ (especially /var/backups)? Thanks a lot in advance! P.S. I am being really unlucky because this harddisk is mostly used for backup purpose and thus is not backed up (who back up the back-up harddisk?) and when I today failed to mount this harddisk, 0.5 hour later the server being backed up by it has got an accident and need the backup data to recover. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Problem with RRDTool reinstallation
Hello guys, I'm a new freebsd user and love the freebsd environment very much that I've not given up though I've been in some serious trouble, usually reinstalling the whole thing everytime it gets screwed. :) This server is close to deployment so I can't afford to reinstall. I get the following error when I try to reinstall/install RRDTool. Must be caused by a failed portupgrade I did earlier. uname -a yields: FreeBSD localhost 6.2-RELEASE FreeBSD 6.2-RELEASE #0: Sun May 6 19:08:14 MYT 2007 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/DVSMP i386 Thanks in advance for any help, guys. localhost# pwd /usr/ports/net/rrdtool localhost# make reinstall clean === Building for rrdtool-1.2.23 gmake all-recursive gmake[1]: Entering directory `/usr/ports/net/rrdtool/work/rrdtool-1.2.23' Making all in src gmake[2]: Entering directory `/usr/ports/net/rrdtool/work/rrdtool-1.2.23 /src' gmake[2]: Nothing to be done for `all'. gmake[2]: Leaving directory `/usr/ports/net/rrdtool/work/rrdtool-1.2.23/src' Making all in doc gmake[2]: Entering directory `/usr/ports/net/rrdtool/work/rrdtool-1.2.23 /doc' gmake[2]: Nothing to be done for `all'. gmake[2]: Leaving directory `/usr/ports/net/rrdtool/work/rrdtool-1.2.23/doc' Making all in examples gmake[2]: Entering directory `/usr/ports/net/rrdtool/work/rrdtool-1.2.23 /examples' gmake[2]: Nothing to be done for `all'. gmake[2]: Leaving directory `/usr/ports/net/rrdtool/work/rrdtool-1.2.23 /examples' Making all in bindings gmake[2]: Entering directory `/usr/ports/net/rrdtool/work/rrdtool-1.2.23 /bindings' gmake[3]: Entering directory `/usr/ports/net/rrdtool/work/rrdtool-1.2.23 /bindings' cd perl-piped gmake gmake[4]: Entering directory `/usr/ports/net/rrdtool/work/rrdtool-1.2.23 /bindings/perl-piped' gmake[4]: Leaving directory `/usr/ports/net/rrdtool/work/rrdtool-1.2.23 /bindings/perl-piped' cd perl-shared gmake gmake[4]: Entering directory `/usr/ports/net/rrdtool/work/rrdtool-1.2.23 /bindings/perl-shared' gmake[4]: Leaving directory `/usr/ports/net/rrdtool/work/rrdtool-1.2.23 /bindings/perl-shared' cd ruby /usr/local/bin/ruby extconf.rb gmake EPREFIX=/usr/local sitedir=/usr/local/lib/ruby checking for rrd_create() in -lrrd... yes creating Makefile gmake[4]: Entering directory `/usr/ports/net/rrdtool/work/rrdtool-1.2.23 /bindings/ruby' Makefile:144: Commands were specified for file `RRD.so' at Makefile:114, Makefile:144: but `RRD.so' is now considered the same file as `/usr/local/lib/ruby/1.8/i386-freebsd6/RRD.so'. Makefile:144: Commands for `/usr/local/lib/ruby/1.8/i386-freebsd6/RRD.so' will be ignored in favor of those for `RRD.so'. gmake[4]: Circular /usr/local/lib/ruby/1.8/i386-freebsd6/RRD.so - /usr/local/lib/ruby/1.8/i386-freebsd6/RRD.so dependency dropped. /usr/bin/install -c -o root -g wheel -m 0755 RRD.so/usr/local/lib/ruby/1.8/i386-freebsd6 install: RRD.so: No such file or directory gmake[4]: *** [/usr/local/lib/ruby/1.8/i386-freebsd6/RRD.so] Error 71 gmake[4]: Leaving directory `/usr/ports/net/rrdtool/work/rrdtool-1.2.23 /bindings/ruby' gmake[3]: *** [ruby] Error 2 gmake[3]: Leaving directory `/usr/ports/net/rrdtool/work/rrdtool-1.2.23 /bindings' gmake[2]: *** [all-recursive] Error 1 gmake[2]: Leaving directory `/usr/ports/net/rrdtool/work/rrdtool-1.2.23 /bindings' gmake[1]: *** [all-recursive] Error 1 gmake[1]: Leaving directory `/usr/ports/net/rrdtool/work/rrdtool-1.2.23' gmake: *** [all] Error 2 *** Error code 2 Stop in /usr/ports/net/rrdtool. *** Error code 1 Stop in /usr/ports/net/rrdtool. *** Error code 1 Stop in /usr/ports/net/rrdtool. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: disaster recovery - did I do the right thing?
Martin Tournoij typed on 06/05/07 05:23: On Sat 05 May 2007 18:05, Garrett Cooper wrote: Martin Tournoij wrote: On Sat 05 May 2007 17:05, Ray wrote: Hello all, I did something stupid the other day (sleep deprivation combined with a clever hack were the main reasons), and I'm just curious if I did the right thing afterwards. The mistake: /usr/local/# rm -f * note that root was running bash as a shell at the time, found in /usr/local/bin or something. What I did was to start over, reinstall from scratch. my question, was there an easier way? thanks, Ray You can use pkg_info -ga to check for missing files in your packages. For (t)csh: alias rm rm -i For (ba)sh: alias rm=rm -i Now that you've learned :). Martin's suggestion is good though -- would have done that considering that all that lived in /usr/local were ports. -Garrett The problem with this is that it will ask confirmation for every file it deleted. Which is gets pretty annoying after a while, also, if you delete a directory containing a 100 files, you will have to press 'y' a 100 times. This will probably lead to the habit of using 'rm -f', and/or simply pressing y all the time without actually looking at the confirmation message. In any case, it's not likely to prevent any such accidents. For the sake of it: You could use rm -I: quoting the rm man page: -I Request confirmation once if more than three files are being removed or if a directory is being recursively removed. This is a far less intrusive option than -i yet provides almost the same level of protection against mistakes. Output looks like this: # rm -fI * remove 10 files? Would even be better if it would list e.g. 2 or 3 files. A better solution would be to write a script that would move files instead of deleting them. You should name this script to something else than rm, when you're working with a new or foreign system, you will expect rm to move files, instead of deleting them ... and we can all see another disaster coming there... true, sometimes fingers have a memory of their own ;) Another hint would be the 'rmstar' option in tcsh, when set, tcsh will ask confirmation before executing 'rm *'. Note that aliasing 'cp' and 'mv' to 'cp -i' and 'mv -i' is an *extremely* wise idea, in the past I have often accidentally overwritten files that should not have been overwritten, leading to various problems. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: ppp.conf + resolv.conf
On Sun, 2007-05-06 at 18:32 +0100, Matthew Seaman wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 JD Bronson wrote: I am using 6.2 as a DSL (PPPoE) router and also run my own internal DNS on the same machine. I would like to APPEND my ISP's dished out DNS servers to my current resolv.conf but anytime I enable dns in my ppp.conf it nukes my entire resolv.conf! I am looking to end up with this: % cat /etc/resolv.conf domain mydomain nameserver 192.168.1.1 nameserver ISP's DNS nameserver ISP's DNS How do I do this and still retain my own entries in resolv.conf? If I was using DHCPclient, I could edit dhclient.conf of course but PPPoE does not consult this file during negotiation that I am aware of. Any comments will be appreciated... As you say, PPP doesn't let you append extra servers to what it receives automatically. Your best recourse then is to find out the IP numbers of your ISPs DNS machines -- either by consulting the ISP's documentation or web site, by asking their support team or by looking at the results obtained by running PPP with 'enable dns'. Then make sure your ppp.conf does not overwrite your /etc/resolv.conf on connection, and just edit resolv.conf to insert the IP numbers you've discovered. A static resolv.conf will serve you well enough. After all, it's not like your ISP will be changing their DNS servers every few hours. Cheers, Matthew - -- Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.3 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFGPhE08Mjk52CukIwRCHDoAJ93yd9gz56ky1YZHKTfHo6FZINmcQCeMsqI 6tA7krSkXceKhswQO/As+eo= =ITCJ -END PGP SIGNATURE- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] Not actually tested this, ip-up might be a little early for this $ cat /etc/ppp/ppp-linkup #!/bin/sh ( /bin/echo -e domain foo\nnameserver 192.168.1.1\n; /usr/bin/grep nameserver /etc/resolv.conf ) /tmp/resolv.conf /bin/mv /tmp/resolv.conf /etc/resolv.conf ^D $ chmod +x /etc/ppp/ppp.linkup Or add resolv readonly to your ppp.conf, and maintain your resolv.conf yourself. signature.asc Description: This is a digitally signed message part
Re: Problem with RRDTool reinstallation
This server is close to deployment so I can't afford to reinstall. I get the following error when I try to reinstall/install RRDTool. Must be caused by a failed portupgrade I did earlier. There are already 3 PRs for this problem : - http://portsmon.droso.net/portoverview.py?category=netportname=rrdtool -- julien. http://blog.thilelli.net/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: Peak SOHO wired network camera.
Checking out the peakhardware's website I see this camera is distributed by a single company in the USA and their website does not list the camera for sale. I would pass on this camera. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of mal content Sent: Monday, May 07, 2007 2:55 PM To: freebsd-questions@freebsd.org Subject: Peak SOHO wired network camera. Hello. I'm thinking of buying a few of these cameras for security reasons and I'd like to know if anybody has them working under FreeBSD. I'm after the wired model, not the wireless model. http://www.peakhardware.com/products/productdetail.asp?Id=32A=3B=15C=45 I'm told that the included software for viewing multiple cameras is Windows-only, and the web interface uses a Java applet and therefore would work on Linux. Ideally if, the camera streams video over standard HTTP instead of some proprietary protocol, I'll throw away all the included software and just write a basic viewer. Anybody got any opinions on the cameras? MC ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Peak SOHO wired network camera.
On 08/05/07, Bob [EMAIL PROTECTED] wrote: Checking out the peakhardware's website I see this camera is distributed by a single company in the USA and their website does not list the camera for sale. I would pass on this camera. Yes, I think you're right... MC ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: (no subject)
Am Dienstag, den 08.05.2007, 02:58 +0400 schrieb Иван Алешкович: Good day I have a problem with compilation kernel. when i do make with attach file configuration novellkernel(GENERIC-original file configuration), i get error: -8 messages..., messages..., messages... -8 ncp_rq.o(.text+0x45a): In function `ncp_request_int': ../../../netncp/ncp_rq.c:273: undefined reference to `mb_fixhdr' ncp_rq.o(.text+0x712):../../../netncp/ncp_rq.c:399: undefined reference to `md_initm' ncp_rq.o(.text+0x75f):../../../netncp/ncp_rq.c:410: undefined reference to `md_get_mem' *** Error code 1 Stop in /usr/src/sys/i386/compile/novellkernel. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] I've done a diff between your fiel GENERIC and novellkernel: %diff GENERIC novellkernel 22,23c22,23 cpu I486_CPU cpu I586_CPU --- #cpu I486_CPU #cpu I586_CPU 25c25 ident GENERIC --- ident novellkernel 287a288,298 #Novell options NWFS options NCP options IPX deviceef # Multiple ethernet frames support options ETHER_II# enable Ethernet_II frame options ETHER_8023 # enable Ethernet_802.3 (Novell) frame options ETHER_8022 # enable Ethernet_802.2 frame options ETHER_SNAP # enable Ethernet_802.2/SNAP frame % Can you say me where do you got theses options from? I can not find any documents! Give me a hint! With regards Stevan Tiefert ___ Telefonate ohne weitere Kosten vom PC zum PC: http://messenger.yahoo.de ___ 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 make Apache (2.2.4) less greedy, or Sendmail less polite? [semi-solved]
Hiya all, Well, I promised you guys a follow-up on this, and here's what I have found out (first the situation and solution, and then two small questions) The situation: Firstly, I took some measures to figure out where the issues came from, and using Apache's server-status handler (tnx for that recommendation!), I noticed the script that caused Apache to choke up (i.e. grab an excessive amount of resources), was a PHP script that shows entries of photographic events that I organise from time to time. This didn't happen for all entries, but only for specific ones. I then wondered why, as this script never caused trouble before, and while checking the server status I did already notice that the store comments script (allowing visitor's feedback to the entries) was called very often. Too often. I checked out the sizes of the comments files (which normally are very small plain text files, of perhaps some 4Kb size at most), and lo and behold: some of them were as big as 18Mb! The main issue then becoming that when these files were parsed as text by PHP when an entry is shown, this either took a long time to complete, or in the worst case caused even a core dump to be generated by the over-excessive load on the server's resources. Next, when checking the contents of those files, it became apparent that they were completely hammered with all sorts of typical commercial spam, referring to vi*gr* websites, etc. I think this is known as forum spam (or so), but my site uses custom scripts, so someone must have found the URL, and made use of it by manually figuring out the parameters and it's functionality. The (partial) solution: For now, I have configured the webserver so, that ANY call to this store comments script is forbidden, and will simply generate a standard server error (hopefully the spammers will signal these server errors, and will stop the hack attempt), while I am looking into a better solution (e.g. by having to type additional text (anti- spam challenges) when posting a comment). But then, as mentioned above, someone went through the trouble of figuring out how to manipulate my code, and hence caused me a LOT of time being wasted, so I want to reward them for their trouble, by punishing the responsible people as much as possible. Therefore, I will go through the Apache access log to work out the IP addresses of the machines that were used for this, and I will report them to the proper anti spam authorities, such that they will be blacklisted Internet wide. If anyone knows of good places to do so (the more, the merrier), I welcome hearing about them... The questions: -Can anyone recommend me proper anti spam authorities to whom I can report the IP addresses that caused the issues on my machine? -At present, in Apache I have added: Location ~ store_comments_script.php Order deny,allow Deny from all /Location Can anyone tell me of a good way to only ever allow calls to this script coming from the proper previous script, or should this be handled from PHP itself? Perhaps this question isn't very clear, but what I'm looking for is a way to block any and all direct calls to this script, that originate from anywhere but from the photography site itself. Can anyone help me perhaps with those two thingies? Tnx once more, and cheers! Olafo ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Wierd interface issues
Hello, I am running FBSD 6.2 Release #0 . We are seeing wierdness while connected to the machine with ssh. As long as my session stays active..i dont get connected but if i stay idle for more than 2-3 minutes ill get disconnected. Im seeing this in my daily log output, web.whatever.com kernel log messages: +++ /tmp/security.ynpbiEvk Tue May 8 03:02:22 2007 +xl0: link state changed to DOWN +xl0: link state changed to UP +xl0: link state changed to DOWN +xl0: link state changed to UP Im not sure if this is a driver issue with this release of FBSD or hardware issue. I thought i remember a few threads with issues like this. FreeBSD web.whatever.com 6.2-RELEASE FreeBSD 6.2-RELEASE #0: Fri Jan 12 10:40:27 UTC 2007 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC i386 anyway...thanks in advance for your help. -- Brent ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Sysinstall Drive Geometry
Hello List, I am installing FreeBSD 6.2 on a DELL 2900 with a PERC 5i controller. There are three 750GB SATA drives using Hardware Raid 5. When I try to install FreeBSD I get errors when fdisking the drive. I have never had that problem with FreeBSD so I don't know what to do. Of course I have never had the opportunity to install FreeBSD on this kind of hardware. I first thought maybe it was because I was using a FreeBSD x86 install CD. But the system has a Quad Zeon and that is a 64bit chip right? So I downloaded the X86-64 (The one that says AMD64. I read the docs on that and on ia64 and I think I chose the correct CD). However I still get the same problem. I realize it was dumb for me to think it was due to the architecture. But I was kind of grasping at straws. Dell claims they don't support FreeBSD. And I have read on the list just yesterday that you either get lucky or not when using Dell and FreeBSD. This is a test box at home for messing around. So I can do anything to the system. Reinstall or what ever. My goal was to install FreeBSD and then the VMware server port and use it as a lab/firewall for my internal network. The funny thing is I can fdisk the drive auto create the /, /swap, / temp, /var, /usr and just keep going no biggie. The system installs fine and boots and is doing a cvsup as we speak. So I don't even know if I should worry about it. Thanks for any input. The FreeBSD list has always been a great help. So again thanks in advance. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
camcontrol
Hi all, I have a disk that may be going bad, SCSI. How do I tell camcontrol to stop using parts of the disk that show errors? such as: (da0:ahc0:0:1:0): READ(10). CDB: 28 0 3 ab d5 c1 0 0 e 0 (da0:ahc0:0:1:0): MEDIUM ERROR info:3abd5c1 asc:11,1 (da0:ahc0:0:1:0): Read retries exhausted sks:80,3f ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
[solved] Re: harddisk failed strangely, badly need to recover data
Actually this is not solved. I have discovered that it will not be easy to solve this problem and decided to accept the lose of data, that's how it solved/ Basically the accident took place because one line in /etc/fstab was wrong. in /etc/fstab /dev/ad6s1c is used as swap, when FreeBSD boots, it use /dev/ad6s1c as swap, destroying data blocks around these sectors. [EMAIL PROTECTED] /var/backups]# disklabel /dev/ad6s1 # /dev/ad6s1: 8 partitions: #size offsetfstype [fsize bsize bps/cpg] c: 3125766420unused0 0 # raw part, don't edit d: 31257664204.2BSD 2048 16384 28552 So in this case the 'c' partition as far as I can understand should not be used for any purpose. I didn't intentionally create 'c' partition, nor can I see this partition in Disk Label Editor of sysinstall. I don't know why it's there. Zhang Weiwu On Tue, 2007-05-08 at 16:42 +0800, Zhang Weiwu wrote: Dear list. I added a 160 GB harddisk to the FreeBSD server several days ago. I have setup only one slice on it (/dev/ad6s1) and it has two partitions on it. /dev/ad6s1c is used as swap /dev/ad6s1d is used as /var Today I decided to reboot the FreeBSD server because I messed up nfs settings. After restart /var/ failed to mount. I was brought to a shell where I am suggested to do fsck manually. fsck manually couldn't help either: [EMAIL PROTECTED] /home/zhangweiwu]# fsck /dev/ad6s1d ** /dev/ad6s1d Cannot find file system superblock LOOK FOR ALTERNATE SUPERBLOCKS? [yn] y 32 is not a file system superblock 28780512 is not a file system superblock 57560992 is not a file system superblock 86341472 is not a file system superblock 115121952 is not a file system superblock 143902432 is not a file system superblock 172682912 is not a file system superblock 201463392 is not a file system superblock 230243872 is not a file system superblock 259024352 is not a file system superblock 287804832 is not a file system superblock SEARCH FOR ALTERNATE SUPER-BLOCK FAILED. YOU MUST USE THE -b OPTION TO FSCK TO SPECIFY THE LOCATION OF AN ALTERNATE SUPER-BLOCK TO SUPPLY NEEDED INFORMATION; SEE fsck(8). I tried to fix it by do inga harddisk bad-sector checking for the beginning 1GB of the harddisk (result is successful, no bad sector in the beginning 1GB). The data on the harddisk is not modified/erased during checking Use 'dd if=/dev/ad6 bs=32k | hd -v | grep 19 01 54 19' to locate the super block and do some calculation to get the superblock sector number (following an Internet article) and pass it to fsck_ufs like this: 'fsck_ufs -b 12032 /dev/ad6s1d'. Under a lot of time pressure I confirmed twice with 'y' for the following questions of whether or not to set some values to default without fully understanding the questions, later seeing more questions I stopped fsck by Ctrl+C. Before running fsck I tried to backup the first 100MB data of /dev/ad6 using dd which should help me recover even if I destroyed superblock of /dev/ad6s1d. Later I realized I have by mistake only backed up the beginning 4.0MB of /dev/ad6 Is it possible now for me to recover the data in /var/ (especially /var/backups)? Thanks a lot in advance! P.S. I am being really unlucky because this harddisk is mostly used for backup purpose and thus is not backed up (who back up the back-up harddisk?) and when I today failed to mount this harddisk, 0.5 hour later the server being backed up by it has got an accident and need the backup data to recover. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- Zhang Weiwu Real Softservice http://www.realss.com +86 592 2091112 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Rough go moving from 5.4-RELEASE to 6.X
On Monday 07 May 2007 20:58, RW wrote: On Mon, 7 May 2007 20:07:09 -0500 Lane [EMAIL PROTECTED] wrote: I'm trying to upgrade from 5.4 to ANYTHING and I'm confounded by I've tried with (in /etc/cvsupfile) tag= each of RELENG_5, RELENG_5_5, RELENG_6, and several others. It even fails when I try to just get the source to RELENG_5_4. Did you check UPDATING to see that you actually had the source for RELENG_5_4? Yes. I can cvsup or make update to any valid release. I can verify this by, as I mentioned, wiping out /usr/src and then running cvsup. Have you tried using an empty make.conf file? Yes. Build still fails. I can make buildkernel make installkernel and reboot into 5.4, 5.5, 6.0, 6.1 or 6.2 The errors occur only when I use make buildworld There is this note in /usr/src/UPDATING, which I am currently tracking as the root of my problems. However it is a bit of a stretch since I built this system AFTER 7/2004 ... still ... it may be the root ... But then that doesn't explain why the kernel installs ... UGH! I'm weary ... 20040728: System compiler has been upgraded to GCC 3.4.2-pre. As with any major compiler upgrade, there are several issues to be aware of. GCC 3.4.x has broken C++ ABI compatibility with previous releases yet again and users will have to rebuild all their C++ programs with the new compiler. A new unit-at-a-time optimization mode, which is default in this compiler release, is more aggressive in removing unused static symbols. This is the likely cause of 'make buildworld' breakages with non-default CFLAGS where optimization level is set to -O2 or higher. With the upgrade of the system compiler, the kernel has been upgraded to match the new system compiler. This makes it impossible to build a new kernel with the old compiler. Upgrade your system via make buildworld and make kernel (see below) to fix this problem. Thanks for taking a look. lane ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: clock problem
On Tue, 8 May 2007 15:33:51 +0200 (CEST), Martin Dieringer wrote: On Tue, 8 May 2007, Oliver Fromme wrote: Martin Dieringer wrote: My clock is now _15 minutes_ late, after about 1 day with powerd running. ntpd is running also. Can nobody tell where the problem is here? Are you sure that your /etc/ntp.conf ist correct? # cat /etc/ntp.conf server time.fu-berlin.de iburst maxpoll 9 driftfile /var/db/ntp.drift logfile /var/log/ntpd Add a few more servers, for example reloj.kjsl.com (I run it). Also add: server 127.127.1.0 fudge 127.127.1.0 stratum 4 It should improve the clock stability while you're not connected to the Internet. -jav ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: ppp is broken???
Bob írta: The method you are using is obsolete. The following is all you need. Take special note of rc.conf statements to use. start of DSL ppp.conf ### default: set log Phase tun #use to avoid excessive log sizes set timeout 0 # no idle time out, will not disconnect dialisp: set device PPPoE:XXX # replace xxx with your NIC device name set authname YOURLOGINNAME# Replace with your ISP account username set authkey YOURPASSWORD # Replace with your ISP account password add default HISADDR # Add a (sticky) default route (Mandatory) enable dns # Gets the ISP's DNS IP address places them # in resolv.conf for reference by FBSD box. ### End of DSL ppp.conf # Replace the XXX in the [set device PPPoE:XXX] statement with the NIC's FBSD interface name. Sometimes it will be necessary to use a service tag to establish your connection depending on how your ISP and/or the phone company has its DSL network configured. Service tags are used to distinguish between different PPPoE servers attached to a given network. You should have been given any required service tag information in the documentation provided by your ISP. If you cannot locate it there, ask your ISP's tech support personnel. This is the format of the command with the service tag added: set device PPPoE::service_tag The is the FBSD interface name used by PPPoE. The interface must be UP (IE: enabled). It is only used as a transport, and does not need to be assigned an IP address. This can be done automatically at boot time by updating the /etc/rc.conf file. The format of the statement to add is ifconfig_=up where is the NIC's FBSD interface name used by PPPoE that you specified in the /etc/ppp/ppp.conf file. ee /etc/rc.conf # add following statements ifconfig_=up ifconfig_tun0=DHCP# get your ISP assigned IP address Dear Bob, I installed a new OS (release 6.1) just for testing ADSL so others can work. What you wrote works fine, except that I had to use papchap label instead of dialisp and I also had to include ppp_enable=YES in /etc/rc.conf. Now my only question is that, why my configuration was obsolete? I noticed that the example file installed by default is from 1999. :-) Thanks, Laszlo ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Problem with RRDTool reinstallation
In the last episode (May 08), Julien Gabel said: This server is close to deployment so I can't afford to reinstall. I get the following error when I try to reinstall/install RRDTool. Must be caused by a failed portupgrade I did earlier. There are already 3 PRs for this problem : - http://portsmon.droso.net/portoverview.py?category=netportname=rrdtool My suggestion is to remove the USE_GMAKE line from the port Makefile. The port doesn't require gnumake at all, and our make builds the port to completion. -- Dan Nelson [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Rough go moving from 5.4-RELEASE to 6.X
On Tuesday 08 May 2007 16:43, Lane wrote: On Monday 07 May 2007 20:58, RW wrote: On Mon, 7 May 2007 20:07:09 -0500 Lane [EMAIL PROTECTED] wrote: I'm trying to upgrade from 5.4 to ANYTHING and I'm confounded by I've tried with (in /etc/cvsupfile) tag= each of RELENG_5, RELENG_5_5, RELENG_6, and several others. It even fails when I try to just get the source to RELENG_5_4. Did you check UPDATING to see that you actually had the source for RELENG_5_4? Yes. I can cvsup or make update to any valid release. I can verify this by, as I mentioned, wiping out /usr/src and then running cvsup. Have you tried using an empty make.conf file? Yes. Build still fails. I can make buildkernel make installkernel and reboot into 5.4, 5.5, 6.0, 6.1 or 6.2 The errors occur only when I use make buildworld You do rm -r /usr/obj, everytime right? There is this note in /usr/src/UPDATING, which I am currently tracking as the root of my problems. However it is a bit of a stretch since I built this system AFTER 7/2004 ... still ... it may be the root ... But then that doesn't explain why the kernel installs ... UGH! I'm weary ... 20040728: System compiler has been upgraded to GCC 3.4.2-pre. As with any major compiler upgrade, there are several issues to be aware of. GCC 3.4.x has broken C++ ABI compatibility with previous releases yet again and users will have to rebuild all their C++ programs with the new compiler. A new unit-at-a-time optimization mode, which is default in this compiler release, is more aggressive in removing unused static symbols. This is the likely cause of 'make buildworld' breakages with non-default CFLAGS where optimization level is set to -O2 or higher. With the upgrade of the system compiler, the kernel has been upgraded to match the new system compiler. This makes it impossible to build a new kernel with the old compiler. Upgrade your system via make buildworld and make kernel (see below) to fix this problem. Did you try building 5.4-RELEASE? Just to rule out the possibility of a broken update mechanism? Just a few wild guesses... Nikos ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: [solved] Re: harddisk failed strangely, badly need to recover data
On Tue, May 08, 2007 at 09:27:56PM +0800, Zhang Weiwu wrote: Actually this is not solved. I have discovered that it will not be easy to solve this problem and decided to accept the lose of data, that's how it solved/ Basically the accident took place because one line in /etc/fstab was wrong. in /etc/fstab /dev/ad6s1c is used as swap, when FreeBSD boots, it use /dev/ad6s1c as swap, destroying data blocks around these sectors. [EMAIL PROTECTED] /var/backups]# disklabel /dev/ad6s1 # /dev/ad6s1: 8 partitions: #size offsetfstype [fsize bsize bps/cpg] c: 3125766420unused0 0 # raw part, don't edit d: 31257664204.2BSD 2048 16384 28552 So in this case the 'c' partition as far as I can understand should not be used for any purpose. I didn't intentionally create 'c' partition, nor can I see this partition in Disk Label Editor of sysinstall. I don't know why it's there. There is always a c: partition. Note that it is marked 'unused' in the fstype column. That is the way it should be. The c: partition is how the system keeps track of the whole slice regardless of the other partitions - and as such needs to be left alone. I think sysinstall just leaves it out of the display to reduce confusion for newbies. But, it is really there and bsdlabel (disklabel in old systems) shows it. If you used sysinstall and it assigned 'c:' to some data or swap partition in the slice, then something bad happened that should never happen. If you can reproduce it, then you should report it as a serious bug using sendpr. Something is definitely wrong if your /etc/fstab lists ad6s1c as a swap partition. If you did that, you will have to undo it and create a different partition for swap. 'b:' is commonly the identifier used for swap. If sysinstall did it, try to reproduce the error and make a Problem Report. Zhang Weiwu On Tue, 2007-05-08 at 16:42 +0800, Zhang Weiwu wrote: Dear list. I added a 160 GB harddisk to the FreeBSD server several days ago. I have setup only one slice on it (/dev/ad6s1) and it has two partitions on it. /dev/ad6s1c is used as swap /dev/ad6s1d is used as /var Well, that means you or something did something wrong. As indicated above, 'c:' should not be used here.If you divided the s1 slice in to two partitions with one being assigned to swap, then you should see three partitions indicated in a bsdlabel display. They should be 'c:' which refers to the entire slice, plus the partition you created for swap and the other partition you created. Likely those two would be either 'a:' and 'b:' or 'b:' and 'd:' with either a or d being the data partition and b being the swap. First thing to do is get that line that specifiec partition 'c:' as swap.Then, I don't know if you will be able to recover anything from d: or not. If the swapper wrote over it already - which it looks like it did - then just start over with the building of that disk. It looks like no filesystem as created by newfs is on the d: partition which could possibly be the result of the swapper overwriting the slice - eg c: partition. Once you have reproduced the error and made the Problem Report, then I would suggest manually recreating the disk system. First, use dd to wipe out the mess. dd if=/dev/zero of=/dev/ad6 bs=512 count=28780514 Then fdisk the drive and create one slice. fdisk -I ad6 Initialize a base label in the slice bsdlabel -w ad6s1 Now, edit the slice label and make your two partitions. bsdlabel -e ad6s1 You will be put in to an edit session - probably 'vi' depending on which editor is your default. Ignore anything above the line that says '8 partitions' Below that you should have one line with the c: info looking something like: 8 partitions: # sizeoffset fstype [fsize bsize bps/cpg] c: 312576642 0unused 0 0 # raw part, don't edit Duplicate that line so there are three of them. Edit the first one so it is called 'b:' and replace 'unused' with 'swap' and make the size you want to use for swap on this disk. Then edit the third line so it is 'd:' and make it contain all of the remainder of the slice and have reasonable fsize, bsize and bps/cpg. I think if you leave them blank, the system will calculate reasonable values for fsize, bsize and bps/cpg, but I haven't tried it that way. It will look something like: 8 partitions: #size offsetfstype [fsize bsize bps/cpg] b: 20971520 swap c: 3125766420unused 0 0 # raw part, don't edit d: **4.2BSD2048 16384 8 (By using the '*' for size and offset the system will calculate offset for you (which, in this case would be 2097152) and make the size the rest of the usable space in the slice) Then, write and exit the editor. Modify your /etc/fstab to add that extra swap partition as the
Re: Sysinstall Drive Geometry
On 08 May Lewis Joshua wrote: The funny thing is I can fdisk the drive auto create the /, /swap, / temp, /var, /usr and just keep going no biggie. The system installs fine and boots and is doing a cvsup as we speak. So I don't even know if I should worry about it. I have seen this question SO many times.. It's all in the archives. Simple remark: don't worry about it. -- Dick Hoogendijk -- PGP/GnuPG key: F86289CE ++ http://nagual.nl/ | Solaris 10 11/06 ++ ___ 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 make Apache (2.2.4) less greedy, or Sendmail less polite? [semi-solved]
Here's what I do with spammers and others I want to keep out of my server... I make an IP entry into my /etc/hosts.deny file of those I want to deny access to my server. Then I make an entry in my /etc/hosts.allow file that denies access to all in my hosts.deny file. That entry is the first non-commented entry in the hosts.allow file and looks like: ALL: /etc/hosts.deny: deny ...howard Olaf Greve wrote: Hiya all, Well, I promised you guys a follow-up on this, and here's what I have found out (first the situation and solution, and then two small questions) The situation: Firstly, I took some measures to figure out where the issues came from, and using Apache's server-status handler (tnx for that recommendation!), I noticed the script that caused Apache to choke up (i.e. grab an excessive amount of resources), was a PHP script that shows entries of photographic events that I organise from time to time. This didn't happen for all entries, but only for specific ones. I then wondered why, as this script never caused trouble before, and while checking the server status I did already notice that the store comments script (allowing visitor's feedback to the entries) was called very often. Too often. I checked out the sizes of the comments files (which normally are very small plain text files, of perhaps some 4Kb size at most), and lo and behold: some of them were as big as 18Mb! The main issue then becoming that when these files were parsed as text by PHP when an entry is shown, this either took a long time to complete, or in the worst case caused even a core dump to be generated by the over-excessive load on the server's resources. Next, when checking the contents of those files, it became apparent that they were completely hammered with all sorts of typical commercial spam, referring to vi*gr* websites, etc. I think this is known as forum spam (or so), but my site uses custom scripts, so someone must have found the URL, and made use of it by manually figuring out the parameters and it's functionality. The (partial) solution: For now, I have configured the webserver so, that ANY call to this store comments script is forbidden, and will simply generate a standard server error (hopefully the spammers will signal these server errors, and will stop the hack attempt), while I am looking into a better solution (e.g. by having to type additional text (anti-spam challenges) when posting a comment). But then, as mentioned above, someone went through the trouble of figuring out how to manipulate my code, and hence caused me a LOT of time being wasted, so I want to reward them for their trouble, by punishing the responsible people as much as possible. Therefore, I will go through the Apache access log to work out the IP addresses of the machines that were used for this, and I will report them to the proper anti spam authorities, such that they will be blacklisted Internet wide. If anyone knows of good places to do so (the more, the merrier), I welcome hearing about them... The questions: -Can anyone recommend me proper anti spam authorities to whom I can report the IP addresses that caused the issues on my machine? -At present, in Apache I have added: Location ~ store_comments_script.php Order deny,allow Deny from all /Location Can anyone tell me of a good way to only ever allow calls to this script coming from the proper previous script, or should this be handled from PHP itself? Perhaps this question isn't very clear, but what I'm looking for is a way to block any and all direct calls to this script, that originate from anywhere but from the photography site itself. Can anyone help me perhaps with those two thingies? Tnx once more, and cheers! Olafo ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-amd64 To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: ppp is broken???
On Mon, 7 May 2007 10:25:20 -0400 Bob [EMAIL PROTECTED] wrote: The format of the statement to add is ifconfig_=up where is the NIC's FBSD interface name used by PPPoE that you specified in the /etc/ppp/ppp.conf file. ee /etc/rc.conf # add following statements ifconfig_=up I've not needed to do this, ifconfig_tun0=DHCP# get your ISP assigned IP address PPP has its own mechanism for getting an IP address and dns server addresses. You don't normally need to specify DHCP for the interface. ___ 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 make Apache (2.2.4) less greedy, or Sendmail less polite? [semi-solved]
On May 8, 2007, at 5:51 AM, Olaf Greve wrote: [ ... ] -Can anyone recommend me proper anti spam authorities to whom I can report the IP addresses that caused the issues on my machine? Try doing a WHOIS lookup on the IP address, and send a report containing sample httpd-access log lines or the message-board spam to the abuse contacts, if listed. In some cases, WHOIS does not return useful info-- in which case, doing a traceroute and noting the ISP used for the last few hops will probably do. -At present, in Apache I have added: Location ~ store_comments_script.php Order deny,allow Deny from all /Location Can anyone tell me of a good way to only ever allow calls to this script coming from the proper previous script, or should this be handled from PHP itself? Perhaps this question isn't very clear, but what I'm looking for is a way to block any and all direct calls to this script, that originate from anywhere but from the photography site itself. Add something like Allow from localhost to the Location block quoted above? -- -Chuck ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Open Source Streaming Tools
Is there any open source software to create playlists, hinted movies, encoding, etc for use with Darwin Streaming Server running on FreeBSD. I have the Streaming Server working but would like the tools to be open source as well such as quicktime pro, broadcaster, qtss publisher. Thanks ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Rough go moving from 5.4-RELEASE to 6.X
On Tuesday 08 May 2007 09:51, Nikos Vassiliadis wrote: You do rm -r /usr/obj, everytime right? There is this note in /usr/src/UPDATING, which I am currently tracking snip buildworld and make kernel (see below) to fix this problem. Did you try building 5.4-RELEASE? Just to rule out the possibility of a broken update mechanism? Just a few wild guesses... Nikos ___ Nikos, I am simultaneoulsy overjoyed ... and deeply ashamed. rm -r /usr/obj was apparently erased from my memory, but using it allowed make buildworld to succeed on RELENG_5_5 Thanks for taking the time to hold my hand :) lane ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Another slightly OT q...
Hey Guys, Does anybody have any websites where I can look up the latest in compression technology? I've got a very thin ISDL link so pulling streams over is like looking at postage-stamp images. There were whispers about fractal-compression as being the golden goal, but I can't find much about this one. Anybody have any clues here? thanks up front, gary -- Gary Kline [EMAIL PROTECTED] www.thought.org Public Service Unix ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Open Source Streaming Tools
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 2007-05-08 12:51, Sean Murphy wrote: Is there any open source software to create playlists, hinted movies, encoding, etc for use with Darwin Streaming Server running on FreeBSD. I have the Streaming Server working but would like the tools to be open source as well such as quicktime pro, broadcaster, qtss publisher. Thanks Hi Sean, I'd recommend VideoLAN's streaming solution (VLC). It may accomplish what you need. I've had great success with it in the past. Reference: http://www.videolan.org/vlc/streaming.html I hope this helps. Thanks! - -- Chris Slothouber ([EMAIL PROTECTED]) -=- Mercenary Sysadmin BIZ: http://www.hier7.com -=- building.better.ideas PGP: 7A83 F021 5AC3 4BD7 6738 21D8 B348 0B16 79C0 C27F -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.7 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFGQMLqs0gLFnnAwn8RAhVFAJ9LzY1zX5nXiyAJaiBTQDxhvnkKrwCgsKDS 6LJm70Rk05OrlSsm2l82i6k= =VkWK -END PGP SIGNATURE- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Open Source Streaming Tools
On 5/8/07, Sean Murphy [EMAIL PROTECTED] wrote: Is there any open source software to create playlists, hinted movies, encoding, etc for use with Darwin Streaming Server running on FreeBSD. I have the Streaming Server working but would like the tools to be open source as well such as quicktime pro, broadcaster, qtss publisher. Thanks ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] Check out kplaylist. It's a php script, so it might not be what you're looking for. But it indexes your music database into a MySQL db and lets you search, stream, and stuff like that. It even has it's own login system. http://www.kplaylist.net/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Open Source Streaming Tools
On 5/8/07, Schiz0 [EMAIL PROTECTED] wrote: On 5/8/07, Sean Murphy [EMAIL PROTECTED] wrote: Is there any open source software to create playlists, hinted movies, encoding, etc for use with Darwin Streaming Server running on FreeBSD. I have the Streaming Server working but would like the tools to be open source as well such as quicktime pro, broadcaster, qtss publisher. Thanks ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] Check out kplaylist. It's a php script, so it might not be what you're looking for. But it indexes your music database into a MySQL db and lets you search, stream, and stuff like that. It even has it's own login system. http://www.kplaylist.net/ Oh, sorry. I mis-read your question. I thought you were talking about streaming music. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Another slightly OT q...
On 5/8/07, Gary Kline [EMAIL PROTECTED] wrote: Hey Guys, Does anybody have any websites where I can look up the latest in compression technology? I've got a very thin ISDL link so pulling streams over is like looking at postage-stamp images. There were whispers about fractal-compression as being the golden goal, but I can't find much about this one. Anybody have any clues here? thanks up front, gary see: http://nl.wikipedia.org/wiki/Jan_Sloot about the Sloot Digital Coding System. great stuff. regards, usleep ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Anyone dual booted freebsd/vista yet?
O/H Jerry McAllister έγραψε: On Fri, May 04, 2007 at 07:09:16PM -0500, Jonathan Horne wrote: On Friday 04 May 2007 16:01:38 Jeff Palmer wrote: At 03:26 PM 5/4/2007, Jonathan Horne wrote: Has anyone successful configured a freebsd/vista dual boot, and if so, how did you get around this issue? Thanks, -- Jonathan Horne In vista there is a command-line tool for editing the boot sector: *bcdedit* http://technet2.microsoft.com/WindowsVista/en/library/08d64d13-4f45-4a05-bd86-c99211a93dd91033.mspx?mfr=true And as you might expect there is a GUI for this tool by a third-party provider: *EasyBCD* http://neosmart.net/gallery/v/neosmart/EasyBCD/1_50/ It claims to be able to allow for vista/BSD dual boot but I haven't tested yet. *Screenshot* http://neosmart.net/gallery/v/neosmart/EasyBCD/1_50/Add-Remove+Entries.png.html All I did was dual boot vista and xp with the help of this utility. RTFM and STFW before anything bad happens _ Thanos Rizoulis Electronic Computing Systems Engineer Larissa, Greece FreeBSD/PCBSD user ___ 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 make Apache (2.2.4) less greedy, or Sendmail less polite? [semi-solved]
On Tue, May 08, 2007 at 02:51:45PM +0200, Olaf Greve wrote: The questions: -Can anyone recommend me proper anti spam authorities to whom I can report the IP addresses that caused the issues on my machine? 99.99% of the hits will be from zombie PCs which have one or more virus infections. Reporting them might get the ISP to get their customer to clean up their PC, but I doubt it. You can try. -At present, in Apache I have added: Location ~ store_comments_script.php Order deny,allow Deny from all /Location Can anyone tell me of a good way to only ever allow calls to this script coming from the proper previous script, or should this be handled from PHP itself? Perhaps this question isn't very clear, but what I'm looking for is a way to block any and all direct calls to this script, that originate from anywhere but from the photography site itself. Can anyone help me perhaps with those two thingies? You cannot assume the referrer header is truthful. The only way to try to do this is to have a hidden form field on the photography site with a randomly generate number in it. The number should also be stored in the session. If the number in the session does not match the number in the hidden form field, refuse the post. If you want to be really nasty, randomise the hidden field name also. But basically you need to start researching PHP security - none of these issues are new and are addressed in a variety of books and online documents. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Open Source Streaming Tools
On 5/8/07, Sean Murphy [EMAIL PROTECTED] wrote: Is there any open source software to create playlists, hinted movies, encoding, etc for use with Darwin Streaming Server running on FreeBSD. I have the Streaming Server working but would like the tools to be open source as well such as quicktime pro, broadcaster, qtss publisher. Thanks My DSS work flow looks like: 1) mencoder 2 passes, h264 video aac audio, output is an avi file, the mencoder manual has a section on creating quicktime compatible files: http://www.mplayerhq.hu/DOCS/HTML/en/menc-feat-quicktime-7.html 2) use mplayer's dumpaudio and dumpvideo options to split the h264 and aac into seperate files 3) mp4creator to remux the h264 and aac into a hinted mp4 file -- The biggest problem with communication is the illusion that it has occurred. G. B. Shaw www.thelastcitadel.com ___ 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 make Apache (2.2.4) less greedy, or Sendmail less polite? [semi-solved]
On Tuesday 08 May 2007 1:57 pm, Gary Palmer wrote: On Tue, May 08, 2007 at 02:51:45PM +0200, Olaf Greve wrote: The questions: -Can anyone recommend me proper anti spam authorities to whom I can report the IP addresses that caused the issues on my machine? 99.99% of the hits will be from zombie PCs which have one or more virus infections. Reporting them might get the ISP to get their customer to clean up their PC, but I doubt it. You can try. -At present, in Apache I have added: Location ~ store_comments_script.php Order deny,allow Deny from all /Location Can anyone tell me of a good way to only ever allow calls to this script coming from the proper previous script, or should this be handled from PHP itself? Perhaps this question isn't very clear, but what I'm looking for is a way to block any and all direct calls to this script, that originate from anywhere but from the photography site itself. Can anyone help me perhaps with those two thingies? You cannot assume the referrer header is truthful. The only way to try to do this is to have a hidden form field on the photography site with a randomly generate number in it. The number should also be stored in the session. If the number in the session does not match the number in the hidden form field, refuse the post. If you want to be really nasty, randomise the hidden field name also. and if you're ultra paranoid, encrypt the number in the session. Ray But basically you need to start researching PHP security - none of these issues are new and are addressed in a variety of books and online documents. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Another slightly OT q...
On Tue, May 08, 2007 at 09:16:11PM +0200, [EMAIL PROTECTED] wrote: On 5/8/07, Gary Kline [EMAIL PROTECTED] wrote: Hey Guys, Does anybody have any websites where I can look up the latest in compression technology? I've got a very thin ISDL link so pulling streams over is like looking at postage-stamp images. There were whispers about fractal-compression as being the golden goal, but I can't find much about this one. Anybody have any clues here? thanks up front, gary see: http://nl.wikipedia.org/wiki/Jan_Sloot about the Sloot Digital Coding System. great stuff. Danke. I found the english wkik entry so I could understand the piece. Since Sloot is dead, no way of knowing. But this is the kind of leap forward that would save, oh, a few measley $Billions. And give millions of us faster and broader access. cheers! gary regards, usleep -- Gary Kline [EMAIL PROTECTED] www.thought.org Public Service Unix ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
ip refresh, resolv.conf and local scripts on startup?
I have a script that updates some dynamic DNS records (can be run as non-root if needed). It needs to be run on startup - after network is configured and after rc.firewall (it'll get blocked if it's run before the firewall is setup). What is a good place to put this? I could put it at the end of rc.firewall, but is there a better place to put it? Also how do I refresh a dynamic IP without rebooting? Sometimes my cable modem gets messed up and under windows I just do: ipconfig /release ipconfig /renew and it gets new IP and sets everything up. In FreeBSD is there a way to reconfigure everything without rebooting? (rc.firewall uses this to get network info: onet=`ifconfig xl0 | grep inet | awk '{print $6}'` oip=`ifconfig xl0 | grep inet | awk '{print $2}'` Meaning, rc.firewall would also have to be re-ran if the IP is new). [also to make things more complicated, I think I need a rule in rc.firewallto allow for DHCP clients to go out? It gets blocked on external interface when firewall comes up??] Also how do I override /etc/resolv.conf? DHCP client configures it I think and sets it up to point to my ISP DNS servers (which suck) and would like to give it mine instead of there, but it keeps getting over written on startup when it gets a DHCP lease? thanks. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Another slightly OT q...
Gary, On 5/8/07, Gary Kline [EMAIL PROTECTED] wrote: On Tue, May 08, 2007 at 09:16:11PM +0200, [EMAIL PROTECTED] wrote: On 5/8/07, Gary Kline [EMAIL PROTECTED] wrote: Hey Guys, Does anybody have any websites where I can look up the latest in compression technology? I've got a very thin ISDL link so pulling streams over is like looking at postage-stamp images. There were whispers about fractal-compression as being the golden goal, but I can't find much about this one. Anybody have any clues here? thanks up front, gary see: http://nl.wikipedia.org/wiki/Jan_Sloot about the Sloot Digital Coding System. great stuff. Danke. that seems to be German, in Dutch Bedankt would be appropiate. i appreciate the effort though. I found the english wkik entry so I could understand the piece. Since Sloot is dead, no way of knowing. actually there is. the Dutch wiki-article has much more detail about the case. this Sloot guy claimed he could compress any movie into 1kb ( 1024 bytes ). he stored this 1kb movies on smartcards, which he would feed into his magic machine to show the movies. in The Netherlands there was press-coverage about this, and he was able to attract investors and even a ( up to then ) reputable IT-guru assiocated with Philips to back him. they found silicon-valley investors who were interested. he died / killed himself / was murdered before his hoax could be uncovered. sounds a lot like the perpetuum mobile stories. But this is the kind of leap forward that would save, oh, a few measley $Billions. And give millions of us faster and broader access. good luck! regards, usleep ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: Manual mount root issue
My FreeBSD 5.2.1 server had a 4.5 GB HDD. I decided to upgrade it with a larger drive. I installed a new drive on the second IDE channel which made it ad2, of course, my original drive was ad0. I created a partition, boot loader and matching slices on the new drive. Then I copied the old drive to the new drive. Once finished, I removed the original drive and installed the new one on the primary channel. When I booted up everything appeared normal, but when the system starts to mount / it gives no error or warning and just drops to a Manual mount root specification prompt. If type ufs:ad0s1a it boots up and everything is perfect. This is the same slice / was on the old drive as well. I have tried the following with no success: Checked /etc/fstab boot0cfg -v -B ad0 bsdlabel -B ad0s1 tried booting from a cd, going into post install config, fdisk, and set the partition as bootable, it already was. Since upgrading the hard disk, I have upgraded the system to 5.5 and then to 6.2. This system has been working great for over a week now, just have this boot problem. -- Here is my fstab: /dev/ad0s1b noneswapsw 0 0 /dev/ad0s1a / ufs rw 1 1 -- Output from bsdlabel # bsdlabel ad0s1 # /dev/ad0s1: 8 partitions: #size offsetfstype [fsize bsize bps/cpg] a: 585018626 10485764.2BSD 2048 16384 28552 b: 10485760 swap c: 5860672020unused0 0 # raw part, don't edit -- Output from boot0cfg # boot0cfg -v ad0 # flag start chs type end chs offset size 1 0x80 0: 1: 1 0xa5 1023:254:63 63586067202 version=1.0 drive=0x80 mask=0xf ticks=182 options=nopacket,update,nosetdrv default_selection=F1 (Slice 1) Thanks, David ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
how could I add perl to my FreeNAS install?
Hi, Does anyone have any idea how I could do this? I see that some people are building custom binaries...are there pre-fabbed ones? Thx, J __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
dual monitors?
anyone out there running dual monitors in FreeBSD? if so, what is your setup? single display adapter/2 heads, or 2 seperate adapters? i have a nvidia 7300 GS with 2 heads, and im thinking about picking up another monitor like im currently runing, before the *blip* off the market, but im hoping that it wont be a problem to set up xorg for 2 monitors, with just a single adapter. any success stories out there? -- Jonathan Horne http://dfwlpiki.dfwlp.org [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: dual monitors?
On Tuesday, 8 May 2007 at 18:15:52 -0500, Jonathan Horne wrote: anyone out there running dual monitors in FreeBSD? Yes. if so, what is your setup? single display adapter/2 heads, or 2 seperate adapters? I'm using separate adaptors. Take a look at http://www.lemis.com/grog/hardware.html for more details. i have a nvidia 7300 GS with 2 heads, and im thinking about picking up another monitor like im currently runing, before the *blip* off the market, but im hoping that it wont be a problem to set up xorg for 2 monitors, with just a single adapter. X.org is getting better at this all the time. You have a good chance that it will run first time, even without a config file. Greg -- When replying to this message, please copy the original recipients. If you don't, I may ignore the reply or reply to the original recipients. For more information, see http://www.lemis.com/questions.html See complete headers for address and phone numbers. pgpQUyjZF5PTt.pgp Description: PGP signature
Re: FreeBSD Java and Openoffice.org 2.0.3
Robert Huff wrote: I've never tried OO 2.*+JDK 1.4; however, OO 2.*+JDK 1.5 and OO 1.1+JDK 1.4 have both worked for me. YOu might get better information on the openoffice@ list. Thanks for the tip. The 1.4 build wasn't that tough. I'll try the 1.5 build and see how it goes. Congrats to the FreeBSD Java Team on that. -- Chris -- __o All I was doing was trying to get home from work. _`\,_ -Rosa Parks ___(*)/_(*)___ Christopher Sean Hiltonchris | at | vindaloo.com pgp key: D0957A2D/f5 30 0a e1 55 76 9b 1f 47 0b 07 e9 75 0e 14 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: dual monitors?
I'm running 2 monitors with the 7600GS. Configuration is easy, you can email me privately if you have problems getting things set up. This URL should answer a lot of config questions for you. http://http.download.nvidia.com/freebsd/1.0-9625/README/index.html I've only got a couple of 'problems' that I haven't been able to fix so far. 1. Mplayer in full screen displays everything to the left and in letterbox format. Totem doesn't have this problem. 2. Overclocking using the nvidia config utility doesn't work so well, but for Google earth and fgfs the 7600 is plenty fast anyway. Regards, Bruce On Tue, 2007-05-08 at 18:15 -0500, Jonathan Horne wrote: anyone out there running dual monitors in FreeBSD? if so, what is your setup? single display adapter/2 heads, or 2 seperate adapters? i have a nvidia 7300 GS with 2 heads, and im thinking about picking up another monitor like im currently runing, before the *blip* off the market, but im hoping that it wont be a problem to set up xorg for 2 monitors, with just a single adapter. any success stories out there? signature.asc Description: This is a digitally signed message part
Re: dual monitors?
--On May 8, 2007 6:15:52 PM -0500 Jonathan Horne [EMAIL PROTECTED] wrote: anyone out there running dual monitors in FreeBSD? Of course. if so, what is your setup? single display adapter/2 heads, or 2 seperate adapters? Single adaptor, two heads. i have a nvidia 7300 GS with 2 heads, and im thinking about picking up another monitor like im currently runing, before the *blip* off the market, but im hoping that it wont be a problem to set up xorg for 2 monitors, with just a single adapter. any success stories out there? I'm using ATI Radeon X300, but the setup was quite simple. One monitor section. One device section. One screen section. Section ServerLayout Identifier X.org Configured Screen 0 Screen0 0 0 InputDeviceMouse0 CorePointer InputDeviceKeyboard0 CoreKeyboard EndSection Section Device Identifier Card0 Driver radeon VendorName ATI Technologies Inc BoardName Radeon X300 BusID PCI:1:0:0 Option MergedFB true Option CRT2Position RightOf EndSection Paul Schmehl ([EMAIL PROTECTED]) Senior Information Security Analyst The University of Texas at Dallas http://www.utdallas.edu/ir/security/
Re: dual monitors?
On Wed, 9 May 2007, Greg 'groggy' Lehey wrote: On Tuesday, 8 May 2007 at 18:15:52 -0500, Jonathan Horne wrote: anyone out there running dual monitors in FreeBSD? Yes. if so, what is your setup? single display adapter/2 heads, or 2 seperate adapters? I'm using separate adaptors. Take a look at http://www.lemis.com/grog/hardware.html for more details. i have a nvidia 7300 GS with 2 heads, and im thinking about picking up another monitor like im currently runing, before the *blip* off the market, but im hoping that it wont be a problem to set up xorg for 2 monitors, with just a single adapter. X.org is getting better at this all the time. You have a good chance that it will run first time, even without a config file. Greg You will have to specify the screen layout properly though in your xorg.conf. -Garrett ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: dual monitors?
On Tuesday, 8 May 2007 at 17:22:15 -0700, [EMAIL PROTECTED] wrote: On Wed, 9 May 2007, Greg 'groggy' Lehey wrote: If you follow up on something I wrote, please copy me. See http://www.lemis.com/questions.html for more details. On Tuesday, 8 May 2007 at 18:15:52 -0500, Jonathan Horne wrote: i have a nvidia 7300 GS with 2 heads, and im thinking about picking up another monitor like im currently runing, before the *blip* off the market, but im hoping that it wont be a problem to set up xorg for 2 monitors, with just a single adapter. X.org is getting better at this all the time. You have a good chance that it will run first time, even without a config file. You will have to specify the screen layout properly though in your xorg.conf. My understanding is that if you don't specify a layout, X.org will choose one for you. If you're happy, that's fine. This is the same proviso as for many other configuration parameters, notably screen resolution. Greg -- When replying to this message, please copy the original recipients. If you don't, I may ignore the reply or reply to the original recipients. For more information, see http://www.lemis.com/questions.html See complete headers for address and phone numbers. pgptyZDeZ0PeO.pgp Description: PGP signature
FOSS movement in Eugene Oregon is looking for help.
Attention Free and Open Source Software advocates!! The City of Eugene, Oregon, U.S.A. is currently looking for an *Infrastructure and Service Desk Manager*. What I, an anonymous employee and free and open source software advocate is looking for is someone to apply for this job who canA) Handle the insanity of a bureaucracy. And B) Has a strong back ground in FOSS, and understands the subtle art* introducing FOSS into a locked-in Microsoft fortress. This is a full-time regular job that pays $57,387.20 - $71,489.60 annually. *Subtle art: When ever the subject of FOSS is brought up in the office, the answer is a resounding NO! or NEVER!. Having an ally at the managerial level would be an asset to the cause of freeing Eugene from the tyranny of closed software systems. What I mean by subtle art is that it would not be wise to announce at the job interview that you are a FOSS advocate. Perhaps, it would not be wise to mention it at all, but instead be tactical, wait for opportunity, and focus on molding the culture of the division to fit more in the communal spirit of FOSS. These are only suggestions, of course. I think you may realize what I am driving at Please, we need your help, and Eugene is a wonderful place to live. Whether you are looking for outdoor adventure or a quiet corner in our beautiful new library, Broadway productions or home-spun repertory theater, political activism or a peaceful sense of community, Eugene has it all. Here is a link to the applications: (the URL (below) is complements of the outrageously priced Plumtree portal software. This should tell you something about what you might be up against.) Please, pass this along to other FOSS newsgroups, Linux forums, and the like http://www.eugene-or.gov/portal/server.pt/gateway/PTARGS_0_2_5529_244_0_43/http%3B/agency.governmentjobs.com/eugene/default.cfm?action=viewjobJobID=65008hit_count=Yesheaderfooter=1promo=0transfer=0WDDXJobSearchParams=%3CwddxPacket%20version%3D%271%2E0%27%3E%3Cheader%2F%3E%3Cdata%3E%3Cstruct%3E%3Cvar%20name%3D%27FIND%5FKEYWORD%27%3E%3Cstring%3E%3C%2Fstring%3E%3C%2Fvar%3E%3Cvar%20name%3D%27TRANSFER%27%3E%3Cstring%3E0%3C%2Fstring%3E%3C%2Fvar%3E%3Cvar%20name%3D%27PROMOTIONALJOBS%27%3E%3Cstring%3E0%3C%2Fstring%3E%3C%2Fvar%3E%3C%2Fstruct%3E%3C%2Fdata%3E%3C%2FwddxPacket%3E OR follow the links to Human Resources from here: http://www.eugene-or.gov Thank you, Anonymous ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Anyone dual booted freebsd/vista yet?
On Fri, 4 May 2007 19:09:16 -0500 Jonathan Horne [EMAIL PROTECTED] wrote: On Friday 04 May 2007 16:01:38 Jeff Palmer wrote: 2) as i was installing the gag per recommendation, this ended what appeared to be successfully, but in the end, i didnt have gag. Gag runs on a floppy or other removable media. It some stage you have to have it write itself onto the hard-drive, rather than back to the floppy. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
cannot email to the jail from the host
i have a host, that runs a jail that is my network's email server. the host, cannot send mails to the jail. (host is canopus, jail is pollux) example: [EMAIL PROTECTED] ~]$ mail No mail for jhorne [EMAIL PROTECTED] ~]$ ifconfig|mail [EMAIL PROTECTED] then, in my host's maillog, i see: [EMAIL PROTECTED] ~]$ tail /var/log/maillog|grep sm-mta May 8 19:51:24 canopus sm-mta[4523]: l490pONL004523: from=[EMAIL PROTECTED], size=1372, class=0, nrcpts=1, msgid=[EMAIL PROTECTED], proto=ESMTP, daemon=Daemon0, relay=localhost.dfwlp.com [127.0.0.1] May 8 19:51:24 canopus sm-mta[4524]: l490pONL004523: to=[EMAIL PROTECTED], ctladdr=[EMAIL PROTECTED] (1001/1001), delay=00:00:00, xdelay=00:00:00, mailer=local, pri=31654, relay=local, dsn=2.0.0, stat=Sent May 8 19:53:46 canopus sm-mta[4554]: l490rjLf004554: from=[EMAIL PROTECTED], size=1372, class=0, nrcpts=1, msgid=[EMAIL PROTECTED], proto=ESMTP, daemon=Daemon0, relay=localhost.dfwlp.com [127.0.0.1] May 8 19:53:46 canopus sm-mta[4555]: l490rjLf004554: to=[EMAIL PROTECTED], ctladdr=[EMAIL PROTECTED] (1001/1001), delay=00:00:01, xdelay=00:00:00, mailer=local, pri=31654, relay=local, dsn=2.0.0, stat=Sent and of course, nothing at all in the maillog of pollux. back on canopus, is the where the email in question has been delivered: [EMAIL PROTECTED] ~]$ mail Mail version 8.1 6/6/93. Type ? for help. /var/mail/jhorne: 1 message 1 unread U 1 [EMAIL PROTECTED] Tue May 8 19:53 41/1723 problem appears to be related to canopus using localhost as its relay, possibly amplified by the fact that canopus and pollux share the same mac address. is there a way around this? on my host (canopus) i have sendmail_enable=NO in /etc/rc.conf. also, local DNS is correctly configured, and resolves the correct ip from canopus im totally stumped here, is there a way around this caveat? thanks, -- Jonathan Horne http://dfwlpiki.dfwlp.org [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: FOSS movement in Eugene Oregon is looking for help.
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Chad Thompson Sent: Tuesday, May 08, 2007 5:39 PM To: freebsd-questions@freebsd.org Subject: FOSS movement in Eugene Oregon is looking for help. Attention Free and Open Source Software advocates!! The City of Eugene, Oregon, U.S.A. is currently looking for an *Infrastructure *Subtle art: When ever the subject of FOSS is brought up in the office, the answer is a resounding NO! or NEVER!. Hmm - I guess Eugene probably doesen't even know they are utterly dependent on it! whois# nslookup Default Server: dns1.ipinc.net Address: 65.75.192.10 set type=soa eugene-or.gov Server: dns1.ipinc.net Address: 65.75.192.10 Non-authoritative answer: eugene-or.gov origin = cens.ci.eugene.or.us mail addr = dnsadmin.ris.lane.or.us serial = 12 refresh = 900 (15M) retry = 600 (10M) expire = 86400 (1D) minimum ttl = 3600 (1H) Authoritative answers can be found from: eugene-or.gov nameserver = phloem.uoregon.edu eugene-or.gov nameserver = cesrvddw.ci.eugene.or.us phloem.uoregon.edu internet address = 128.223.32.35 exit whois# nmap -O -v phloem.uoregon.edu Starting nmap 3.93 ( http://www.insecure.org/nmap/ ) at 2007-05-08 18:18 PDT Initiating SYN Stealth Scan against phloem.uoregon.edu (128.223.32.35) [1668 ports] at 18:18 Discovered open port 53/tcp on 128.223.32.35 The SYN Stealth Scan took 26.59s to scan 1668 total ports. For OSScan assuming port 53 is open, 67 is closed, and neither are firewalled Host phloem.uoregon.edu (128.223.32.35) appears to be up ... good. Interesting ports on phloem.uoregon.edu (128.223.32.35): (The 1665 ports scanned but not shown below are in state: filtered) PORT STATE SERVICE 53/tcp open domain 67/tcp closed dhcpserver 68/tcp closed dhcpclient Device type: general purpose|broadband router Running: Linux 2.4.X|2.5.X, D-Link embedded OS details: Linux 2.4.0 - 2.5.20, Linux 2.4.18 - 2.4.20, Linux 2.4.26, Linux 2.4.27 or D- ^^^ Link DSL-500T (running linux 2.4) Uptime 470.190 days (since Mon Jan 23 12:45:26 2006) TCP Sequence Prediction: Class=random positive increments Difficulty=3780165 (Good luck!) IPID Sequence Generation: All zeros Nmap finished: 1 IP address (1 host up) scanned in 35.632 seconds Raw packets sent: 3355 (135KB) | Rcvd: 20 (1032B) whois# Ted ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
7 install
Hi I am doing a fresh install of 7.0 When I get the part when it asks for install media. I select cd/dvd disk And It claims it can't find it??? This is the disk I booted off TIA User Iam ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Another slightly OT q...
On Tue, May 08, 2007 at 11:22:31PM +0200, [EMAIL PROTECTED] wrote: Gary, On 5/8/07, Gary Kline [EMAIL PROTECTED] wrote: On Tue, May 08, 2007 at 09:16:11PM +0200, [EMAIL PROTECTED] wrote: On 5/8/07, Gary Kline [EMAIL PROTECTED] wrote: Hey Guys, Does anybody have any websites where I can look up the latest in compression technology? I've got a very thin ISDL link so pulling streams over is like looking at postage-stamp images. There were whispers about fractal-compression as being the golden goal, but I can't find much about this one. Anybody have any clues here? thanks up front, gary see: http://nl.wikipedia.org/wiki/Jan_Sloot about the Sloot Digital Coding System. great stuff. Danke. that seems to be German, in Dutch Bedankt would be appropiate. i appreciate the effort though. Yes. As far as I know, on my father's side, I'm .5 German and .5 Hollander. But I'm also a linguistic moron. So I'm infinitely grateful that so many folk are speak English.. I found the english wkik entry so I could understand the piece. Since Sloot is dead, no way of knowing. actually there is. the Dutch wiki-article has much more detail about the case. this Sloot guy claimed he could compress any movie into 1kb ( 1024 bytes ). he stored this 1kb movies on smartcards, which he would feed into his magic machine to show the movies. Aha! Were these smartcards like microprint? One of my favorite philsophy texts has 400+ pages and is compressible into one small thinfilm. *Or*, by smartcard do you mean something non-optical? in The Netherlands there was press-coverage about this, and he was able to attract investors and even a ( up to then ) reputable IT-guru assiocated with Philips to back him. they found silicon-valley investors who were interested. he died / killed himself / was murdered before his hoax could be uncovered. sounds a lot like the perpetuum mobile stories. So it *was* a hoax? Rats. Some weeks ago on Public Broadcasting, a few sentences were spoken on the potential of fractal geometry to achieve [I'm guessing] data-compression on the order of what Sloot was claiming. So far, no one has figured it out. It may be a dream... . But this is the kind of leap forward that would save, oh, a few measly $Billions. And give millions of us faster and broader access. good luck! regards, usleep Same! and bedankt; ciao, gary -- Gary Kline [EMAIL PROTECTED] www.thought.org Public Service Unix ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: Another slightly OT q...
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Gary Kline Sent: Tuesday, May 08, 2007 7:19 PM To: [EMAIL PROTECTED] Cc: Gary Kline; FreeBSD Mailing List Subject: Re: Another slightly OT q... So it *was* a hoax? Rats. Some weeks ago on Public Broadcasting, a few sentences were spoken on the potential of fractal geometry to achieve [I'm guessing] data-compression on the order of what Sloot was claiming. So far, no one has figured it out. It may be a dream... . There's some cool math out there that explains all of this but I never liked math, but it isn't necessary to know the math to understand the issue. Just consider the problem for a while and you will realize that the compression ratio of a specific data stream varies dependent on the amount of repetition in the input datastream. A perfectly unrandom datastream, like a constant series of logical 1's, carries no information, but has a compression ratio that is infinite. A perfectly random datastream, on the other hand, also carries no information, but has a compression ratio that is zero. I believe that a datastream that is 50% of the way between either extreme carries the most information, and I believe your typical datastream is much closer to the perfectly unrandom side than the perfectly random side, compression is merely the process of pushing the randomness of the stream closer to the random side. Thus, if the input datastream is very close to the perfectly unrandom side - meaning it has a very high amount of repetition in it, you can get some pretty spectacular compression ratios. But as you move closer to unrandom, you carry less data. So, the better applications emit datastreams that are less unrandom, therefore compression does not work as well on them. This of course is completely ignoring the other data issue, is the application data efficient to begin with? For example, you can transfer about a page of information in ASCII that consumes about 1K of data, that same page of information in a MS Word file consumes a hundred times that amount of space - Word is therefore extremely inefficient with data. Probably the worst offender of this are the news websites like www.cnn.com. They insist on putting more and more news articles into videos rather than just a couple screens of text. I just do not see any benefit to the consumer of a video of an interview with someone like George Bush, when the video consists of 2 sentence fragments. The entire story could be written on a webpage, sans video. Do they really think the typical reader doesen't know what he looks like already? I see this a lot with audio files, also. For example, how many times have you come across an .mp3 file that was of speech only - perhaps a professor's lecture - that's been recorded in CD quality full stereo? A .wav file recorded at the lowest sampling rate in mono, which is perfectly acceptable for speech, would be smaller. Ted ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]