Re: jls usage
On 12/07/2013 02:33, Teske, Devin wrote: On Jul 11, 2013, at 6:19 PM, Fbsd8 wrote: In a .sh script I'm trying to get the jid for a single jail using this code jid=`jls -j jailname | cut -f 1- | awk '{print $1}'` Looks a little over complicated... why not just.. jls -j jailname jid I've never got the -j option to work on jail names, only jail IDs. I've tried using the actual jail name, and the hostname to be sure - nothing - and on checking (jls -v) I'm somehow ending up with the Name being the same as the ID. I just put this down to a quirk/bug (it's there in 8.2-9) but it sounds like it's not an issue for anyone else. I'm defining them in rc.conf: jail_enable=yes jail_list=one two three jail_agnet_rootdir=/usr/jail/one jail_agnet_hostname=one.mydomain.com jail_agnet_ip=123.123.123.123 jail_agnet_devfs_enable=yes jail_agnet_devfs_ruleset=devfsrules_jail etc... jls -v produces: JID Hostname Path Name State CPUSetID IP Address(es) 1 one.mydomain.com /usr/jail/one 1 ACTIVE 2 123.123.123.123 Everything works just fine, and has done for years, except jls -j jailname. It's zero-impact on me as it's no problem referring to them by number (which doesn't change) but if anyone could tell me what I'm doing wrong I'd be very interested to know. Or at least it'd be good to know I'm not the only one with the problem. Thanks, Frank. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
sed Guru wanted
Hello, I can delete in a text file with sed '/pattern1/,/pattern2/d' file all lines between the lines with the given patterns, including themself also; how could I specify that the deletion should exclude the line with /pattern1/, i.e. the addr is something like /pattern1/+1 ? Thx matthias -- Matthias Apitz | /\ ASCII Ribbon Campaign: www.asciiribbon.org E-mail: g...@unixarea.de | \ / - No HTML/RTF in E-mail WWW: http://www.unixarea.de/ | X - No proprietary attachments phone: +49-170-4527211 | / \ - Respect for open standards ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
pkg: Unable to open ports directory /usr/ports: No such file or directory
When I run portsnap fetch update pkg version -vIL= It returns pkg: Unable to open ports directory /usr/ports: No such file or directory The directory is there and I can list the contents. What's going on? Thanks /Leslie ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
FreeBSD 9.1 fails to boot from CD on Notebook
Hey, after failing to get FreeBSD working with my ASUS F70SL Notebook I tried to get it to work on [I][COLOR=Blue]Toshiba Tecra A10-M14[/COLOR][/I]. I downloaded the [FILE]FreeBSD-9.1-REALEASE-disc1.iso[/FILE] from the official FreeBSD homepage and burnt it with [I][COLOR=Blue]Ashampoo Burning Studio 2013[/COLOR][/I]. Now, if I select Boot from CD-ROM in my notebooks BIOS it detects the CD, starts to boot from, it but only for about 1 second. After this the screen blackens, the notebook reboots and boots normally from HDD (even tough I still have the CD inserted and the CD-ROM drive is still the first boot device). This happens that fast I don't even have a chance to get a picture of the error that might occur. Any ideas about BIOS settings I may change? I burnt the CD twice by the way, with different burning software, to avoid damaged or incomplete disc. Thanks in advance! ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: FreeBSD 9.1 fails to boot from CD on Notebook
Hi On Fri, 12 Jul 2013 14:56:12 +0200 Martin Siebel msie...@gmx.de wrote: Any ideas about BIOS settings I may change? find out how how the CD drive is connected and then play with the settings fir this interface Erich I burnt the CD twice by the way, with different burning software, to avoid damaged or incomplete disc. Thanks in advance! ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: FreeBSD 9.1 fails to boot from CD on Notebook
seems that some notebooks the bios loads part of the boot from the HD first before trying to boot from the CD, so when the CD boots, the system expects some windows stuff, when it sees FreeBSD, it reboots... Solution I found: 1) get/buy another HD for notebook (here a 320GB costs U$100) 2) make sure the HD is NOT INITIALIZED (blank) 3) install the FreeBSD in the HD in a desktop machine that for sure boots FreeBSD 4) open the notebook, install the FreeBSD HD in the notebook, usually a door under the notebook 5) boot from the HD Here for me it worked.. Beware that some notebooks you may void warranty if you install another OS than windows... that is why I still have the original HD with windows8 inside.. If there is a problem with the notebook, I can always replace the original HD and return it to factory.. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: jls usage
On Jul 12, 2013, at 2:35 AM, Frank Leonhardt wrote: On 12/07/2013 02:33, Teske, Devin wrote: On Jul 11, 2013, at 6:19 PM, Fbsd8 wrote: In a .sh script I'm trying to get the jid for a single jail using this code jid=`jls -j jailname | cut -f 1- | awk '{print $1}'` Looks a little over complicated... why not just.. jls -j jailname jid I've never got the -j option to work on jail names, only jail IDs. Misconfiguration; keep reading. I've tried using the actual jail name, and the hostname to be sure - nothing - and on checking (jls -v) I'm somehow ending up with the Name being the same as the ID. I just put this down to a quirk/bug (it's there in 8.2-9) but it sounds like it's not an issue for anyone else. I'm defining them in rc.conf: jail_enable=yes jail_list=one two three jail_agnet_rootdir=/usr/jail/one jail_agnet_hostname=one.mydomain.com jail_agnet_ip=123.123.123.123 jail_agnet_devfs_enable=yes jail_agnet_devfs_ruleset=devfsrules_jail You've configured one and two and three in your jail_list, but quite oddly... You have not defined jail_one_* or jail_two_* or jail_three_*. I'm extremely confused as to how your jail even started! -- Devin etc... jls -v produces: JID Hostname Path Name State CPUSetID IP Address(es) 1 one.mydomain.com /usr/jail/one 1 ACTIVE 2 123.123.123.123 Everything works just fine, and has done for years, except jls -j jailname. It's zero-impact on me as it's no problem referring to them by number (which doesn't change) but if anyone could tell me what I'm doing wrong I'd be very interested to know. Or at least it'd be good to know I'm not the only one with the problem. Thanks, Frank. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org _ The information contained in this message is proprietary and/or confidential. If you are not the intended recipient, please: (i) delete the message and all copies; (ii) do not disclose, distribute or use the message in any manner; and (iii) notify the sender immediately. In addition, please be aware that any message addressed to our domain is subject to archiving and review by persons other than the intended recipient. Thank you. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: jls usage
On 12/07/2013 15:20, Teske, Devin wrote: On Jul 12, 2013, at 2:35 AM, Frank Leonhardt wrote: On 12/07/2013 02:33, Teske, Devin wrote: On Jul 11, 2013, at 6:19 PM, Fbsd8 wrote: In a .sh script I'm trying to get the jid for a single jail using this code jid=`jls -j jailname | cut -f 1- | awk '{print $1}'` Looks a little over complicated... why not just.. jls -j jailname jid I've never got the -j option to work on jail names, only jail IDs. Misconfiguration; keep reading. I've tried using the actual jail name, and the hostname to be sure - nothing - and on checking (jls -v) I'm somehow ending up with the Name being the same as the ID. I just put this down to a quirk/bug (it's there in 8.2-9) but it sounds like it's not an issue for anyone else. I'm defining them in rc.conf: jail_enable=yes jail_list=one two three jail_agnet_rootdir=/usr/jail/one jail_agnet_hostname=one.mydomain.com jail_agnet_ip=123.123.123.123 jail_agnet_devfs_enable=yes jail_agnet_devfs_ruleset=devfsrules_jail You've configured one and two and three in your jail_list, but quite oddly... You have not defined jail_one_* or jail_two_* or jail_three_*. I'm extremely confused as to how your jail even started! Sorry - should have said I'd obfuscated the IP addresses and hostnames (it's not really one.mydomain.com ;-) ) Unfortunately I forgot to obfuscate the jail name as fully as I thought in the startup lines. It should have read jail_one_rootdir c. As I said, it's been working happily for years on lots of different installations and they're all configured the same. The only weirdness is that the jail name appears in the table as it's number. Regards, Frank. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: jls usage
I've tried using the actual jail name, and the hostname to be sure - nothing - and on checking (jls -v) I'm somehow ending up with the Name being the same as the ID. I just put this down to a quirk/bug (it's there in 8.2-9) but it sounds like it's not an issue for anyone else. I'm defining them in rc.conf: jail_enable=yes jail_list=one two three jail_agnet_rootdir=/usr/jail/one jail_agnet_hostname=one.mydomain.com jail_agnet_ip=123.123.123.123 jail_agnet_devfs_enable=yes jail_agnet_devfs_ruleset=devfsrules_jail You've configured one and two and three in your jail_list, but quite oddly... You have not defined jail_one_* or jail_two_* or jail_three_*. I'm extremely confused as to how your jail even started! Sorry - should have said I'd obfuscated the IP addresses and hostnames (it's not really one.mydomain.com ;-) ) Unfortunately I forgot to obfuscate the jail name as fully as I thought in the startup lines. It should have read jail_one_rootdir c. As I said, it's been working happily for years on lots of different installations and they're all configured the same. The only weirdness is that the jail name appears in the table as it's number. A further clarification - I know using the jail utility defaults the jail name to that of its ID if you don't specify one, and presume this is the mechanism messing it up here. However as I've gone to the trouble of configuring them in rc.conf with names, listing said names in jail_list and when commands like: service jail start one service jail stop one work just fine, I don't see what I'm doing wrong! Incidentally, it doesn't matter if I start them at boot time or start/stop later - the jail name always sets to the jail-iD, and not the name specified. I suspect a bug in the rc.d script, but I can't be the first person to notice, can I??? I'll take a look. Regards, Frank. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: sed Guru wanted
From owner-freebsd-questi...@freebsd.org Fri Jul 12 05:13:11 2013 Date: Fri, 12 Jul 2013 11:04:04 +0200 From: Matthias Apitz g...@unixarea.de To: freebsd-questions@freebsd.org Subject: sed Guru wanted Hello, I can delete in a text file with sed '/pattern1/,/pattern2/d' file all lines between the lines with the given patterns, including themself also; how could I specify that the deletion should exclude the line with /pattern1/, i.e. the addr is something like /pattern1/+1 ? IF you use ed(1) style commands, then '/pattern1/+1,/pattern2/d' _is_ the answer. GRIN See: 'man 1 ed', specifically the LINE ADDRSSING section. That said, it is also trivial with a simple 'state machine' construct in awk(1): /pattern2/ { skipping = 0; next; } skipping{ next; } /pattern1/ { skipping = 1; next; } Note: omit the 'next;' from the 'pattern' line if you want that line to be INCLUDED in the output; Note: the order of the lines shown is important. Comment: one _can_ implement something similar to the above state machine in ed (making use of looping and conditional executin commands, and the 'hold' buffer to track state), but it gets (*very*) messy, difficult to maintain, and presents a 'decoding' problem for the =next= person who has to maintain it. _I_ find awk to be generally preferable (more easily maintainable) for any situation involving anything more than trivial line range specifications. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: jls usage
On 12/07/2013 16:32, Frank Leonhardt wrote: I've tried using the actual jail name, and the hostname to be sure - nothing - and on checking (jls -v) I'm somehow ending up with the Name being the same as the ID. I just put this down to a quirk/bug (it's there in 8.2-9) but it sounds like it's not an issue for anyone else. I'm defining them in rc.conf: jail_enable=yes jail_list=one two three jail_agnet_rootdir=/usr/jail/one jail_agnet_hostname=one.mydomain.com jail_agnet_ip=123.123.123.123 jail_agnet_devfs_enable=yes jail_agnet_devfs_ruleset=devfsrules_jail You've configured one and two and three in your jail_list, but quite oddly... You have not defined jail_one_* or jail_two_* or jail_three_*. I'm extremely confused as to how your jail even started! Sorry - should have said I'd obfuscated the IP addresses and hostnames (it's not really one.mydomain.com ;-) ) Unfortunately I forgot to obfuscate the jail name as fully as I thought in the startup lines. It should have read jail_one_rootdir c. As I said, it's been working happily for years on lots of different installations and they're all configured the same. The only weirdness is that the jail name appears in the table as it's number. A further clarification - I know using the jail utility defaults the jail name to that of its ID if you don't specify one, and presume this is the mechanism messing it up here. However as I've gone to the trouble of configuring them in rc.conf with names, listing said names in jail_list and when commands like: service jail start one service jail stop one work just fine, I don't see what I'm doing wrong! Incidentally, it doesn't matter if I start them at boot time or start/stop later - the jail name always sets to the jail-iD, and not the name specified. I suspect a bug in the rc.d script, but I can't be the first person to notice, can I??? I'll take a look. Okay - answering my own question and solved... It's a bug (or is that a feature?). In /etc/rc.d/jail line 647 it currently reads: eval ${_setfib} jail ${_flags} -i ${_rootdir} ${_hostname} \ \${_addrl}\ ${_exec_start} ${_tmp_jail} 21 \ /dev/null And it should (IMHO) read: eval ${_setfib} jail ${_flags} -n ${_jail} -i ${_rootdir} ${_hostname} \ \${_addrl}\ ${_exec_start} ${_tmp_jail} 21 \ /dev/null Once changed, everything works find and your jails are named as per the rc.conf file definitions. Can anyone think of a reason for NOT fixing this? Regards, Frank. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: jls usage
On 13-07-12 9:56 AM, Frank Leonhardt wrote: On 12/07/2013 16:32, Frank Leonhardt wrote: I've tried using the actual jail name, and the hostname to be sure - nothing - and on checking (jls -v) I'm somehow ending up with the Name being the same as the ID. I just put this down to a quirk/bug (it's there in 8.2-9) but it sounds like it's not an issue for anyone else. I'm defining them in rc.conf: jail_enable=yes jail_list=one two three jail_agnet_rootdir=/usr/jail/one jail_agnet_hostname=one.mydomain.com jail_agnet_ip=123.123.123.123 jail_agnet_devfs_enable=yes jail_agnet_devfs_ruleset=devfsrules_jail You've configured one and two and three in your jail_list, but quite oddly... You have not defined jail_one_* or jail_two_* or jail_three_*. I'm extremely confused as to how your jail even started! Sorry - should have said I'd obfuscated the IP addresses and hostnames (it's not really one.mydomain.com ;-) ) Unfortunately I forgot to obfuscate the jail name as fully as I thought in the startup lines. It should have read jail_one_rootdir c. As I said, it's been working happily for years on lots of different installations and they're all configured the same. The only weirdness is that the jail name appears in the table as it's number. A further clarification - I know using the jail utility defaults the jail name to that of its ID if you don't specify one, and presume this is the mechanism messing it up here. However as I've gone to the trouble of configuring them in rc.conf with names, listing said names in jail_list and when commands like: service jail start one service jail stop one work just fine, I don't see what I'm doing wrong! Incidentally, it doesn't matter if I start them at boot time or start/stop later - the jail name always sets to the jail-iD, and not the name specified. I suspect a bug in the rc.d script, but I can't be the first person to notice, can I??? I'll take a look. Okay - answering my own question and solved... It's a bug (or is that a feature?). In /etc/rc.d/jail line 647 it currently reads: eval ${_setfib} jail ${_flags} -i ${_rootdir} ${_hostname} \ \${_addrl}\ ${_exec_start} ${_tmp_jail} 21 \ /dev/null And it should (IMHO) read: eval ${_setfib} jail ${_flags} -n ${_jail} -i ${_rootdir} ${_hostname} \ \${_addrl}\ ${_exec_start} ${_tmp_jail} 21 \ /dev/null Once changed, everything works find and your jails are named as per the rc.conf file definitions. Can anyone think of a reason for NOT fixing this? Regards, Frank. I see where you are defining a hostname, but not a jail name. Jail name cannot contain the . character. -Markham ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Error upgrading sysutils/nepomuk-core - Could not find parser plugin for encoding trig
Could anyone advise how to get round this problem? [ 3%] Generating nie.h, nie.cpp cd /usr/ports/sysutils/nepomuk-core/work/.build/libnepomukcore /usr/local/bin/onto2vocabularyclass --name NIE --encoding trig --namespace Nepomuk2::Vocabulary --export-module nepomuk /usr/local/share/ontology/nie/nie.trig Could not find parser plugin for encoding trig *** [libnepomukcore/nie.h] Error code 1 Stop in /usr/ports/sysutils/nepomuk-core/work/.build. *** [libnepomukcore/CMakeFiles/nepomukcore.dir/all] Error code 1 Stop in /usr/ports/sysutils/nepomuk-core/work/.build. *** [all] Error code 1 Stop in /usr/ports/sysutils/nepomuk-core/work/.build. *** [do-build] Error code 1 Stop in /usr/ports/sysutils/nepomuk-core. -- Mike Clarke ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: OT: rsync on Mac OSX
On Tue, Jul 2, 2013 at 3:11 PM, Chris Maness ch...@chrismaness.com wrote: Since you are going to wait anyway, why don't you try peeking at some of the file checksums while this is running? MacOS X comes with a shasum utility which implements SHA-256 checksums, so you should be able to look at a few random samples of these files, e.g. by running on the source disk: shasum -a 256 source_directory/file/path/to/some/file.ext shasum -a 256 copied_directory/file/path/to/some/file.ext If these are the same, then the applications look elsewhere, e.g. in the 'hidden' .DS_Store stuff some MacOS directories contain. But if the checksums are different, well, then there's your problem. Checksums are the same. All other files still work however the HUGE rendered Final Cut Pro output, so I guess it is something in .DS_Store. Last time I just gave up and recopied everything by a simple cut and paste and that solved the problem. I made a small change on the project today, and I don't want to have to copy the WHOLE thing again just for a small delta. I already synced the directories, but the new rendered files are still un-openable in any application even though the checksums match. Really weird. However, the project will still open and work on FCP. Just the 12Gb rendered movie files will not play on anything even FCP. If I delete .DS_Store will the system regenerate it with the appropriate file associations? I know this is a little off topic, but Mac OSX is based on BSD. You guys are also the smartest around :D Thanks, Chris Maness ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: OT: rsync on Mac OSX
On 12 July 2013, at 10:49, Chris Maness ch...@chrismaness.com wrote: On Tue, Jul 2, 2013 at 3:11 PM, Chris Maness ch...@chrismaness.com wrote: Since you are going to wait anyway, why don't you try peeking at some of the file checksums while this is running? MacOS X comes with a shasum utility which implements SHA-256 checksums, so you should be able to look at a few random samples of these files, e.g. by running on the source disk: shasum -a 256 source_directory/file/path/to/some/file.ext shasum -a 256 copied_directory/file/path/to/some/file.ext If these are the same, then the applications look elsewhere, e.g. in the 'hidden' .DS_Store stuff some MacOS directories contain. But if the checksums are different, well, then there's your problem. Checksums are the same. All other files still work however the HUGE rendered Final Cut Pro output, so I guess it is something in .DS_Store. Last time I just gave up and recopied everything by a simple cut and paste and that solved the problem. I made a small change on the project today, and I don't want to have to copy the WHOLE thing again just for a small delta. I already synced the directories, but the new rendered files are still un-openable in any application even though the checksums match. Really weird. However, the project will still open and work on FCP. Just the 12Gb rendered movie files will not play on anything even FCP. If I delete .DS_Store will the system regenerate it with the appropriate file associations? I know this is a little off topic, but Mac OSX is based on BSD. You guys are also the smartest around :D Rsync on the Mac only opens and copies the data forks. It does not copy the resource forks. There are still a few applications that use resource forks. Likewise the checksum apps work on the data forks only. There is a utility that is a modified rsync that does handle resource forks. I no longer remember what its name is. Its been a number of years since I last used it. I normally rsync from FreeBSD systems to Mac systems. I use Minis as off-site backups. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: OT: rsync on Mac OSX
On Fri, Jul 12, 2013 at 11:12 AM, Paul Kraus p...@kraus-haus.org wrote: Dropping the list … On Jul 12, 2013, at 1:49 PM, Chris Maness ch...@chrismaness.com wrote: Checksums are the same. All other files still work however the HUGE rendered Final Cut Pro output, so I guess it is something in .DS_Store. Last time I just gave up and recopied everything by a simple cut and paste and that solved the problem. I made a small change on the project today, and I don't want to have to copy the WHOLE thing again just for a small delta. I already synced the directories, but the new rendered files are still un-openable in any application even though the checksums match. Really weird. However, the project will still open and work on FCP. Just the 12Gb rendered movie files will not play on anything even FCP. If I delete .DS_Store will the system regenerate it with the appropriate file associations? The .DS_Store files are created by the Finder when you view a directory. Are both source and destination on Mac HFS+ volumes ? If so, then you are probably missing the resource forks. Back in the very old days of Mac OS (way before 10.x), Mac OS files had two parts, the data part that contained the, well, data, and the resource fork that contained the meta-data that Mac OS used to associate a file with an application. HFS+ volumes on Mac OS X still include the resource forks, but foreign filesystems (NFS, UFS, FAT, etc.) do not. The work around that Apple came up with is to create .DS_Store and ._foo files to store this metadata on non HFS+ volumes. You could try using ditto instead of rsync. ditto is a BSD derived copy utility similar to rysnc, but I know that the Mac OS X version understands resource forks and copies them as necessary. ditto may not be able to just copy changed blocks within a file, so you may still have to recopy the entire file. But…. I am also a little puzzled because applications on Mac OS X do not NEED the resource fork to open a file, just to know which application to use (and what options to hand it) to open a given file. A complete video file, even without resource forks, should be able to be opened if you explicitly telly he application to File - Open …. With the checksums matching it is even odder. I expect that the large sizes (over 4 GB) are a contributing factor. Good luck and let me know what you find. -- Paul Kraus Deputy Technical Director, LoneStarCon 3 Sound Coordinator, Schenectady Light Opera Company Thank you for the detailed description of what resource forks are. One more clue in this mystery is that appending .mov extension to it fixes the problem. I have never ran into this before, and I have even used rsync to back up movie projects before. It is not a big deal, but I always try to take the time to understand why things behave the way they do. I also suspect it has something to do with file size since all of the smaller files do not have this issue. Thanks, Chris Maness ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
ab failing with Operation not permitted
Hi, I'm having some trouble with ab shipped with apache22 from 9.1 binary packages. I am currently running a trial to replace our Debian kit with FreeBSD as we've had numerous problems. It will be hosting a few web apps, postfix, dovecot virtual, postgres, SVN etc. I'm a little rusty as I'm coming back to FreeBSD from a long holiday in Linux-land since FreeBSD 4.4 :) Anyway, ab is failing as follows: # ab -n 1 -c 50 http://hostname/ ...usual junk scrolls past Completed 4000 requests Test aborted after 10 failures apr_socket_connect(): Operation not permitted (1) Total of 4531 requests completed # I suspect this is a sysctl that needs poking somewhere or a limit somewhere. Any help appreciated on this one. -- Chris Smith http://pointyhat.org.uk/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: jls usage
On 13/07/2013 01:26, Frank Leonhardt wrote: Okay - answering my own question and solved... It's a bug (or is that a feature?). In /etc/rc.d/jail line 647 it currently reads: eval ${_setfib} jail ${_flags} -i ${_rootdir} ${_hostname} \ \${_addrl}\ ${_exec_start} ${_tmp_jail} 21 \ /dev/null And it should (IMHO) read: eval ${_setfib} jail ${_flags} -n ${_jail} -i ${_rootdir} ${_hostname} \ \${_addrl}\ ${_exec_start} ${_tmp_jail} 21 \ /dev/null Once changed, everything works find and your jails are named as per the rc.conf file definitions. Can anyone think of a reason for NOT fixing this? Go with bug ;-) - fix (improvement?) is working it's way through. You mentioned running 8.2 so I wondered if it has changed. If you look through the source tree you will find in 8.4 that line has the -n ${_jail} addition plus some other extras. Looks like it showed up in stable/8 at r242083 as part of a larger improvement. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org