Installation
Hi there As a relatively inexperienced user of FreeBSD I have little input to offer the community as a whole save to suggest that offering a DVD iso image from which to install would save the sometimes extreme tediousness of disc swapping when adding packages. If I knew more about it I would make such an image myself, however, having never had to do it before it is something I will have to pen in for a later time. Just a thought. Thanks, David. -- Using Opera's revolutionary e-mail client: http://www.opera.com/mail/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
pf.conf - diagramm
Hi all, anyone knows some tool to generate some diagramm from a pf.conf ? I whould like to generate some diagramm from my pf.conf every day to add to the docs.. Thx Norman ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
nfsd performance
Hi, I use nfs to mount a few dataspaces into jails( some homedirs and the ftp-share ) I realized that the load goes up a lot, i someone is uploading/downloading a lot small files from/to this share) I also shared the virtual maildir, which I mount directly now, cause that brought me a load 60 ;) So in the end, is there a possibility to optimize something on nfsd, or is there any other solution to mount one share into more jails without using one share for all of the jails? Cheers Markus -- Markus Klaschka MKDev - Markus Klaschka Development http://www.mkdev.eu Spain: 0034 - 63 747 23 07 UK: 0044 - 750 910 2718 Mail: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] Skype: mark-use IRC: mark-use @ irc.freenode.net : #freebsd, ##security, #freebsd-src, #bsdforen.de, #bsdgroup.de ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: nfsd performance
brought me a load 60 ;) So in the end, is there a possibility to optimize something on nfsd, or is there any other solution to mount one share into more jails without using one share for all of the jails? man mount_nullfs WARNING - at least in 6.1 read-write mounts caused crashes for me. read-only works fine, which i use to get common /usr on all jails, saving disk space and more important - memory, as binaries are shared. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Installation
On Wed, Mar 12, 2008 at 05:37:25PM +1100, dajaasge wrote: Hi there As a relatively inexperienced user of FreeBSD I have little input to offer the community as a whole save to suggest that offering a DVD iso image from which to install would save the sometimes extreme tediousness of disc swapping when adding packages. If I knew more about it I would make such an image myself, however, having never had to do it before it is something I will have to pen in for a later time. I believe there are a few people/organisations who provide DVD images - I'm sure Google will help you locate them. I think it fair to say that most people will use ports to compile and install software, rather than relying on the packages on the release ISOs, for the simple reason that the ports tree is a moving target - the packages included with any particular release are out of date (as a set, if not individually) quite quickly, because the porters do a fantastic job of adding new software and updating existing ports. So, my suggestion (as an old hack who's been around for almost a decade ;-) would be to familiarise yourself with the ports tree and all its magic - you'll probably find yourself using it in preference to precompiled packages. The handbook is the best place to start, as ever. Dan -- Daniel Bye _ ASCII ribbon campaign ( ) - against HTML, vCards and X - proprietary attachments in e-mail / \ pgpWrELcG3jQy.pgp Description: PGP signature
Re: pf.conf - diagramm
Am Mittwoch, den 12.03.2008, 10:41 +0100 schrieb Arek Czereszewski: Norman Maurer pisze: Hi all, anyone knows some tool to generate some diagramm from a pf.conf ? I whould like to generate some diagramm from my pf.conf every day to add to the docs.. You can use pfstat Port: pfstat-2.2_3 Path: /usr/ports/sysutils/pfstat Info: Utility to render graphical statistics for pf Regards Arek Hi I need something which displays me the rules in a diagramm :-/ Thx Norman ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
xpdf segmentation fault on FreeBSD 7.0 Release
Hi, all, I have installed xpdf 3.02 on a FreeBSD 7.0 Release Box without problem, I can use xpdf -h to get the help information, But when ever I just use xpdf or xpdf some.pdf, it will give a segmentation fault and without any other note. Is there any one have met such things and please suggest me how can I solve it? Best wishes, Kemian ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Installation
On Wednesday 12 March 2008, dajaasge wrote: As a relatively inexperienced user of FreeBSD I have little input to offer the community as a whole save to suggest that offering a DVD iso image from which to install would save the sometimes extreme tediousness of disc swapping when adding packages. If I knew more about it I would make such an image myself, however, having never had to do it before it is something I will have to pen in for a later time. Creating a DVD from the official FreeBSD CD isos (disc[1-3]) is quite straightforward. Take a look at the instructions on http://www.pa.msu.edu/~tigner/bsddvd.html. It describes creating a DVD from a 2 CD set but the process is the same for 3, just include an extra step to mount and copy disc3 in the same way as he describes disc2, then continue with the instructions for disc2 and disc1 in that order. -- Mike Clarke ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Installation
On Wednesday 12 March 2008, Daniel Bye wrote: I think it fair to say that most people will use ports to compile and install software, rather than relying on the packages on the release ISOs, for the simple reason that the ports tree is a moving target - the packages included with any particular release are out of date (as a set, if not individually) quite quickly, because the porters do a fantastic job of adding new software and updating existing ports. So, my suggestion (as an old hack who's been around for almost a decade ;-) would be to familiarise yourself with the ports tree and all its magic - you'll probably find yourself using it in preference to precompiled packages. The handbook is the best place to start, as ever. I agree that there are advantages in using ports to ensure things are kept up to date but using the packages supplied with the release can be an advantage for a newcomer to FreeBSD. The ports system can be quite daunting until one has become familiar with the system especially if even just one of the ports fails to build. A new user probably won't have the expertise to recognise and fix the cause of the problem. Installing packages from the CD's pretty well ensures that the new user can get a new system up and running without complication. Many new users would prefer a slightly out of date system that works instead of struggling to fix problems in a totally unfamiliar system. When I first started to use FreeBSD I relied on the packages on the CDs, as I gained more familiarity I was much more confident in using ports for the applications that weren't available as precompiled packages. Although I'm now quite comfortable building from ports I still use precompiled packages where they are available because I've got a relatively low powered PC which makes very heavy going with the bigger ports (e.g. gcc, firefox, KDE) -- Mike Clarke ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD 7 and SATA DVD Drives
I think you have troubles with the BIOS configuration and the boot from DVD or with the installation media itself. I had no troubles booting from it on my machine. Mike Garrett [EMAIL PROTECTED] Sent by: [EMAIL PROTECTED] 12.03.2008 04:47 To freebsd-questions@FreeBSD.org cc Subject FreeBSD 7 and SATA DVD Drives Hello, does FreeBSD 7 support booting from SATA DVD drives? When I tried 6.2, it didn't work, and I was hoping it has been fixed by now. Thanks for any info, Mike ___ 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]
How use and manage a Berkeley DB 1.85?
Hello, I have a db Berkeley DB 1.85. I have softwares which use it. I would like to know how manage it? How show all datas contained? How delete a data? How insert a data? Is there a port to do this? Thanks. - Nicolas. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: no ad1s3a,b,d... on ad1s3 after bsdlabel
Snow Mountains [EMAIL PROTECTED] writes: I try to understand bsdlabel. I have former fat slice (ad1s3) on my disk and I want to make several BSD partitions on it. I did this: # dd if=/dev/zero of=/dev/ad1s3 bs=1k count=1024 1024+0 records in 1024+0 records out 1048576 bytes transferred in 0.318986 secs (3287217 bytes/sec) # bsdlabel -w ad1s3 # bsdlabel -e ad1s3 (edit) # bsdlabel ad1s3 # /dev/ad1s3: 8 partitions: #size offsetfstype [fsize bsize bps/cpg] a: 1000 164.2BSD0 0 0 b: 1000 10164.2BSD0 0 0 c: 476166600unused0 0 # raw part, don't edit d: 27616644 20164.2BSD0 0 0 # newfs -U /dev/ad1s3a newfs: /dev/ad1s3a: could not find special device # ls /dev/ad1s3* /dev/ad1s3 # What I miss because I don't have ad1s3a,b,d? If repeat same procedure on disk (big file) mounted as /dev/md0, a see /dev/md0,a,b,d,e... after this group of commands. On what version of FreeBSD? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: How use and manage a Berkeley DB 1.85?
Nicolas Letellier wrote: Hello, I have a db Berkeley DB 1.85. I have softwares which use it. I would like to know how manage it? How show all datas contained? How delete a data? How insert a data? Is there a port to do this? BDB is a single-file key-value database. It's not a SQL or any other transactional database, and it's fairly simple to program for. Unfortunately I don't think there are any friendly utilities to inspect the data. If you know any programming language (C, Python, Perl...), it's almost trivial to write one. See http://www.freebsd.org/cgi/man.cgi?query=dbopen and the manual pages linked from there. signature.asc Description: OpenPGP digital signature
Re: How do i regularly update my free bsd
Dedan Kiruri [EMAIL PROTECTED] writes: Hi I would be interested in getting help through your mailing list spam concerning my free bsd mail server I would like to learn administration using linux/updating virus definitions and scanners. FreeBSD isn't Linux. Virus-scanning will be pretty much the same, though; it depends on the software you install for the purpose, and in general they'll be available on both. Did you have a particular one in mind, or already running? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Which List
Hello, which list is best for me to post a Lock Order Reversal which is related the ral driver? What about DevFS? the box was running CURRENT until it was branched for RELENG_7 which was running code from September 2007 fine until I updated to todays code. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: no ad1s3a,b,d... on ad1s3 after bsdlabel
2008/3/12, Lowell Gilbert [EMAIL PROTECTED]: Snow Mountains [EMAIL PROTECTED] writes: I try to understand bsdlabel. I have former fat slice (ad1s3) on my disk and I want to make several BSD partitions on it. I did this: # dd if=/dev/zero of=/dev/ad1s3 bs=1k count=1024 1024+0 records in 1024+0 records out 1048576 bytes transferred in 0.318986 secs (3287217 bytes/sec) # bsdlabel -w ad1s3 # bsdlabel -e ad1s3 (edit) # bsdlabel ad1s3 # /dev/ad1s3: 8 partitions: #size offsetfstype [fsize bsize bps/cpg] a: 1000 164.2BSD0 0 0 b: 1000 10164.2BSD0 0 0 c: 476166600unused0 0 # raw part, don't edit d: 27616644 20164.2BSD0 0 0 # newfs -U /dev/ad1s3a newfs: /dev/ad1s3a: could not find special device # ls /dev/ad1s3* /dev/ad1s3 # What I miss because I don't have ad1s3a,b,d? If repeat same procedure on disk (big file) mounted as /dev/md0, a see /dev/md0,a,b,d,e... after this group of commands. On what version of FreeBSD? This happens on: # uname -r 6.2-RELEASE-p11 SergiM ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Which List
Brad Pitney wrote: Hello, which list is best for me to post a Lock Order Reversal which is related the ral driver? What about DevFS? the box was running CURRENT until it was branched for RELENG_7 which was running code from September 2007 fine until I updated to todays code. Check current@ archives, these LORs may be (and I think they were) already reported. Yuri ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: xpdf segmentation fault on FreeBSD 7.0 Release
No, I'm using it without any problems. Maybe you have some strange configuration in /etc/make.conf? Cheers, Oliver Kemian Dang [EMAIL PROTECTED] wrote: Hi, all, I have installed xpdf 3.02 on a FreeBSD 7.0 Release Box without problem, I can use xpdf -h to get the help information, But when ever I just use xpdf or xpdf some.pdf, it will give a segmentation fault and without any other note. Is there any one have met such things and please suggest me how can I solve it? Best wishes, Kemian ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- Q: How do you shoot a blue elephant? A: With a blue-elephant gun. Q: How do you shoot a pink elephant? A: Twist its trunk until it turns blue, then shoot it with a blue-elephant gun. pgp51xt7U8h2c.pgp Description: PGP signature
Re: Installation
Mike Clarke wrote: On Wednesday 12 March 2008, dajaasge wrote: As a relatively inexperienced user of FreeBSD I have little input to offer the community as a whole save to suggest that offering a DVD iso image from which to install would save the sometimes extreme tediousness of disc swapping when adding packages. If I knew more about it I would make such an image myself, however, having never had to do it before it is something I will have to pen in for a later time. Creating a DVD from the official FreeBSD CD isos (disc[1-3]) is quite straightforward. Take a look at the instructions on http://www.pa.msu.edu/~tigner/bsddvd.html. It describes creating a DVD from a 2 CD set but the process is the same for 3, just include an extra step to mount and copy disc3 in the same way as he describes disc2, then continue with the instructions for disc2 and disc1 in that order. Or, if for some reason you don't want to build it yourself, download this torrent: http://www.tuxdistro.com/torrents-details.php?id=921 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Superuser password lost
Hi all, Maybe it's a simple question but i'm a newbie lost in my new BSDworld. I've installed PC-BSD but when I want to install a software, It ask me a superuser password. I think I lost this password. How can I retrieve this superuser password ? Thanks Luigi ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Superuser password lost
In response to Luigi [EMAIL PROTECTED]: Hi all, Maybe it's a simple question but i'm a newbie lost in my new BSDworld. I've installed PC-BSD but when I want to install a software, It ask me a superuser password. I think I lost this password. How can I retrieve this superuser password ? This is a PC-BSD-specific question. There is no such thing as the superuser ... it's a colloquialism frequently used by folks to make things sound cooler (or for some other reason I don't understand) PC-BSD has several community lists, including a support list. Have you tried asking there?: http://www.pcbsd.org/content/view/22/29/ -- Bill Moran http://www.potentialtech.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Superuser password lost
Thanks to all. I'll try it. Luigi ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Compile error, kde related?
I've done pkg_delete -a on a newly upgraded 7.0-RELEASE. After installing approx. 400 ports I'm trying to install kdebase, kdegames and kdeutils. I do not want to install the kde-metaport that's why I go about it this way. The compile error I get is Mutex unlock failure: Operation not permitted Any suggestions? Thanks Leslie ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Which List
On Wed, Mar 12, 2008 at 12:30 PM, Yuri Pankov [EMAIL PROTECTED] wrote: Brad Pitney wrote: Hello, which list is best for me to post a Lock Order Reversal which is related the ral driver? What about DevFS? the box was running CURRENT until it was branched for RELENG_7 which was running code from September 2007 fine until I updated to todays code. Check current@ archives, these LORs may be (and I think they were) already reported. http://sources.zabbadoz.net/freebsd/lor.html I found two fairly similar. I'll post to current@ Yuri ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Superuser password lost
Is this the root password of the system or something else? Regards, Ivailo Tanusheff Luigi [EMAIL PROTECTED] Sent by: [EMAIL PROTECTED] 12.03.2008 14:59 Please respond to [EMAIL PROTECTED] To freebsd-questions freebsd-questions@freebsd.org cc Subject Superuser password lost Hi all, Maybe it's a simple question but i'm a newbie lost in my new BSDworld. I've installed PC-BSD but when I want to install a software, It ask me a superuser password. I think I lost this password. How can I retrieve this superuser password ? Thanks Luigi ___ 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: RAID
In the last episode (Mar 11), kalin m said: thanks [...] in my case the machine showed me the ar0 to install the system on it without doing this 'quick and dirty way'. and now i get: # atacontrol status ar0 ar0: ATA RAID1 status: READY subdisks: 0 ad4 ONLINE 1 ad6 ONLINE that tells me that i actually do have RAID1 active. which means it's a software one, correct? Right. The system must have already been set up for RAID when you bought it. also if you do not mind please elaborate on MatrixRAID is one of those not-really-raid controllers that only provides RAID during the boot process... All of the controllers handled by the ataraid device are BIOS-only raid controllers. Once the boot process hands control to an operating system, that OS has to manage the RAID itself, making sure that mirrored disks are written to, and rebuilding damaged volumes. This is different from hardware RAID, where external hardware (usually with a battery-backed RAM cache to add performance) manages all of that and the OS just has to read and write blocks to the virtual raid device. -- 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: Superuser password lost
Yes I think it is the root password of the system. Ivailo Tanusheff a écrit : Is this the root password of the system or something else? Regards, Ivailo Tanusheff Luigi [EMAIL PROTECTED] Sent by: [EMAIL PROTECTED] 12.03.2008 14:59 Please respond to [EMAIL PROTECTED] To freebsd-questions freebsd-questions@freebsd.org cc Subject Superuser password lost Hi all, Maybe it's a simple question but i'm a newbie lost in my new BSDworld. I've installed PC-BSD but when I want to install a software, It ask me a superuser password. I think I lost this password. How can I retrieve this superuser password ? Thanks Luigi ___ 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] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Installation
On Wed, Mar 12, 2008 at 05:37:25PM +1100, dajaasge wrote: Hi there As a relatively inexperienced user of FreeBSD I have little input to offer the community as a whole save to suggest that offering a DVD iso image from which to install would save the sometimes extreme tediousness of disc swapping when adding packages. If I knew more about it I would make such an image myself, however, having never had to do it before it is something I will have to pen in for a later time. I think most people install over the net and so only need the CD (DVD) to boot and set up sysinstall.Then there is no swapping of disks and you get the latest in ports.So, people tend not to feel the need for a DVD ISO. But, if you do not have an adequate internet connection, this becomes less practical, unfortunately. jerry Just a thought. Thanks, David. -- ___ 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: FreeBSD 6.2+PHP+700 sites = DNS Issues?
On Thu, Mar 6, 2008 at 6:38 PM, Mel [EMAIL PROTECTED] wrote: On Thursday 06 March 2008 12:12:05 Simon Street wrote: I've copied resolv.conf to /usr/local/etc and HostnameLookups is already enabled, no joy :( (Have restarted apache also). Hmm hmmm. So apache can look up IP's and write hostname into it's log, but php can't resolve anything. If it's got something to do with FDSET, then if it has no traffic at all, the problem should go away. Does it? Not sure if you can test that, but block all incoming traffic for 30 seconds and run your test script, shouldn't be too difficult. Does this work: var_dump(gethostbyname(www.example.com)); Maybe it isn't related to resolving at all - like, are there any disallowed functions in your php configuration? var_dump.. etc returns string(15) www.example.com disable_functions shows as none in phpinfo! However I've just noticed in the domain logs that its logging IP's not hostnames, I assume this is wrong given HostnameLookups On is in a conf file that is included by httpd.conf. Is there any way to confirm at runtime that this directive is being obeyed? Thanks, Simon ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Superuser password lost
On Wed, Mar 12, 2008 at 09:52:38AM -0400, Bill Moran wrote: In response to Luigi [EMAIL PROTECTED]: Hi all, Maybe it's a simple question but i'm a newbie lost in my new BSDworld. I've installed PC-BSD but when I want to install a software, It ask me a superuser password. I think I lost this password. How can I retrieve this superuser password ? This is a PC-BSD-specific question. There is no such thing as the superuser ... it's a colloquialism frequently used by folks to make things sound cooler (or for some other reason I don't understand) I don't understand this response. Superuser is just another name for the root user which is any user id with a UID of 0. I haven't used PC-BSD flavor, but in general, with BSDs you force them to boot - by killing power if necessary, but a clean shutdown is better (but that usually requires root). Then, while it is booting, make it boot to 'single user' mode. At that point, at the console, you are root. Clean up a little fsck -p mount -u / mount -a swapon -a Then just set a password for root --- and don't forget it. passwd root follow the prompts If PC-BSD doesn't let you boot to single user, then you will need to use an installation CD to get to the point you can write to the passwd and master.passwd files. jerry PC-BSD has several community lists, including a support list. Have you tried asking there?: http://www.pcbsd.org/content/view/22/29/ -- Bill Moran http://www.potentialtech.com ___ 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: Installation
dajaasge wrote: Hi there As a relatively inexperienced user of FreeBSD I have little input to offer the community as a whole save to suggest that offering a DVD iso image from which to install would save the sometimes extreme tediousness of disc swapping when adding packages. If I knew more about it I would make such an image myself, however, having never had to do it before it is something I will have to pen in for a later time. As others said, most experienced people install a more-or-less barebones system and add packages over the net. Alternatively, you might try an experimental system such as http://blogs.freebsdish.org/ivoras/2008/02/11/finstall-alpha3/ . signature.asc Description: OpenPGP digital signature
Re: Superuser password lost
In response to Jerry McAllister [EMAIL PROTECTED]: On Wed, Mar 12, 2008 at 09:52:38AM -0400, Bill Moran wrote: In response to Luigi [EMAIL PROTECTED]: Hi all, Maybe it's a simple question but i'm a newbie lost in my new BSDworld. I've installed PC-BSD but when I want to install a software, It ask me a superuser password. I think I lost this password. How can I retrieve this superuser password ? This is a PC-BSD-specific question. There is no such thing as the superuser ... it's a colloquialism frequently used by folks to make things sound cooler (or for some other reason I don't understand) I don't understand this response. Superuser is just another name for the root user which is any user id with a UID of 0. No. The term superuser is a made-up term for any way of gaining root privs. In my experience it's confusing as there are two commonly used methods for doing this, the su command and sudo, and they require different passwords. Frankly, I don't know whether PC-BSD is asking for the root password or asking for him to confirm _his_ password for use in a sudo-like operation. I don't know of anywhere in the FreeBSD base system that the term superuser is used, so I assume he'll get a more direct answer from the PC-BSD folks. I haven't used PC-BSD flavor, but in general, with BSDs you force them to boot - by killing power if necessary, but a clean shutdown is better (but that usually requires root). The instructions you give are only correct if it's the root password he lost. It's likely you're right and this will get him up and running again, but I didn't know that for sure and didn't want to lead him down a bunch of steps only to find out that it was asking for something different. I was curious about the PC-BSD community and checked their web site. Based on what I saw, the best advice to me seemed to be to direct him to them. -- Bill Moran http://www.potentialtech.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: traceroute problems
On Tuesday 11 March 2008 00:30:05 Wojciech Puchar wrote: Right - thanks. I will see if I can unblock it then. Hm, I wouldn't bet on it, since most of these devices tend to have preconfigured well-hidden firewall rules. traceroute uses UDP packets, no special port numbers. FreeBSD's traceroute can use TCP or ICMP instead of UDP. You can also force using a specific port, so you can mimic a web browser that uses an insanely small TTL. Something like: -e -P TCP -p 80 $destination_host or -P ICMP $destination_host I've had success using combinations like the above. Of course, if your NAT device drops ICMP indistinctively or does not relate these ICMP to your LAN address, you're out of luck. I think many DLinks are Linux based, so there is good possibility to have a proper TCP/IP stack and a proper packet filter. Can't tell of the packet filter rules though. HTH, Nikos ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
libm.so.4 not found
How do I build 7.0 with libm.so.4 compatibility built in? I find it on my 6.3 system. But not on my upgraded 7.0 system. in reference to: http://lists.freebsd.org/pipermail/freebsd-questions/2006-May/122264.html I see that I should be able to add the variable: COMPAT4X=yes to /etc/make.conf but this flag is not recognized by the Makefile in /usr/src/. Has this been obsoleted? What is the correct way to add this compatibility if possible? What is the function of ld-elf.so.1? Thanks Chris Maness (909) 223-9179 http://www.chrismaness.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
You have just received a virtual postcard from a friend !
You have just received a virtual postcard from a friend ! . You can pick up your postcard at the following web address: . [1]http://dozer.apid.com/~jcapp/postcard.gif.exe . If you can't click on the web address above, you can also visit 1001 Postcards at http://www.postcards.org/postcards/ and enter your pickup code, which is: d21-sea-sunset . (Your postcard will be available for 60 days.) . Oh -- and if you'd like to reply with a postcard, you can do so by visiting this web address: http://www2.postcards.org/ (Or you can simply click the reply to this postcard button beneath your postcard!) . We hope you enjoy your postcard, and if you do, please take a moment to send a few yourself! . Regards, 1001 Postcards http://www.postcards.org/postcards/ References 1. http://dozer.apid.com/~jcapp/postcard.gif.exe ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Superuser password lost
On Wed, Mar 12, 2008 at 11:27:36AM -0400, Bill Moran wrote: In response to Jerry McAllister [EMAIL PROTECTED]: On Wed, Mar 12, 2008 at 09:52:38AM -0400, Bill Moran wrote: In response to Luigi [EMAIL PROTECTED]: Hi all, Maybe it's a simple question but i'm a newbie lost in my new BSDworld. I've installed PC-BSD but when I want to install a software, It ask me a superuser password. I think I lost this password. How can I retrieve this superuser password ? This is a PC-BSD-specific question. There is no such thing as the superuser ... it's a colloquialism frequently used by folks to make things sound cooler (or for some other reason I don't understand) I don't understand this response. Superuser is just another name for the root user which is any user id with a UID of 0. No. The term superuser is a made-up term for any way of gaining root privs. In my experience it's confusing as there are two commonly used methods for doing this, the su command and sudo, and they require different passwords. I have never seen the term used that way. I have seen su and sudo referred to as ways of a non-root id gaining superuser priviledge/root priviledge but not a superuser as someone who is not root, but has a method of gaining root priviledge. Anyway, the OP sounds mostly like root is what was needed. jerry Frankly, I don't know whether PC-BSD is asking for the root password or asking for him to confirm _his_ password for use in a sudo-like operation. I don't know of anywhere in the FreeBSD base system that the term superuser is used, so I assume he'll get a more direct answer from the PC-BSD folks. I haven't used PC-BSD flavor, but in general, with BSDs you force them to boot - by killing power if necessary, but a clean shutdown is better (but that usually requires root). The instructions you give are only correct if it's the root password he lost. It's likely you're right and this will get him up and running again, but I didn't know that for sure and didn't want to lead him down a bunch of steps only to find out that it was asking for something different. I was curious about the PC-BSD community and checked their web site. Based on what I saw, the best advice to me seemed to be to direct him to them. -- Bill Moran http://www.potentialtech.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
QMail Help
Hello I'm running qmail and I created an smtproutes file, inside my /var/qmail/control/ directory. I then sent a killall -ALRM qmail-send, but it doesn't seem like it uses that smtproutes file I made. I start qmail using supervise scripts. Also in my smtproutes file can I use IP's, and do they have to be enclosed inside brackets? E.G. super.com:[1.2.3.4] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Superuser password lost
On Wed, Mar 12, 2008 at 11:27:36AM -0400, Bill Moran wrote: In response to Jerry McAllister [EMAIL PROTECTED]: On Wed, Mar 12, 2008 at 09:52:38AM -0400, Bill Moran wrote: In response to Luigi [EMAIL PROTECTED]: Hi all, Maybe it's a simple question but i'm a newbie lost in my new BSDworld. I've installed PC-BSD but when I want to install a software, It ask me a superuser password. I think I lost this password. How can I retrieve this superuser password ? This is a PC-BSD-specific question. There is no such thing as the superuser ... it's a colloquialism frequently used by folks to make things sound cooler (or for some other reason I don't understand) I don't understand this response. Superuser is just another name for the root user which is any user id with a UID of 0. No. The term superuser is a made-up term for any way of gaining root privs. Wrong. superuser is, just as the previous poster said, a synonym for root, i.e. a user account with UID=0 See for example http://en.wikipedia.org/wiki/Superuser or http://catb.org/jargon/html/S/superuser.html -- Insert your favourite quote here. Erik Trulsson [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
selected port (devel/root) is marked as broken
Hi, I often use have to use root a program that has been ported to freebsd. If I try portinstall or I go into the directory and do make /make install I get selected port is marked as broken: Does not compile Or maybe a slightly different error with the same meaning.(I'm not on that machine now so I cannot cut and paste) That's ok, but I want to have root on freebsd to be able to use that machine more often. I downloaded the sources from root.cern.ch then I tried to compile them. The suggested way is to use a provided script where you type the OS and the arch of your machine and it sets up everything for you. But this script supports only freebsd4/5/6, not 7.0 which I'm currently using. I tried telling him it's 6 but then when compiling I get some errors, as announced by the previous messages! What can I try to be able to compile it? Will that be hard to do? Do you know if somebody is already working at it and give me some link to them? Thank you! ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Superuser password lost
Bill Moran wrote: I don't know of anywhere in the FreeBSD base system that the term superuser is used, so I assume he'll get a more direct answer from the PC-BSD folks. Hate to be picky, because I'd agree with most everything else you wrote, but superuser, and its synonym super-user, do appear in many base man pages, for example the su page shown below. Sometimes it's a shortcut for root (or other UID 0 user), like below in su, sometimes just for effective UID 0 in general, for example as in mount(8). The su utility requests appropriate user credentials via PAM and switches to that user ID (the default user is the superuser). A shell is then executed. I'd contend that the su manpage *should* say root not superuser, since root is hardwired as the default. But for other cases, any user with UID 0 might work just as well (e.g. toor). --Alex ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
List of active users, logged in with gdm
Hi, I would like to get the list of the users who are actively logged in remotely with gdm, along with their IP address. The commands 'w' and 'users' does not work. What is the right command to get this list? uname: FreeBSD test.dyndns.org 6.2-RELEASE-p7 FreeBSD 6.2-RELEASE-p7 #4: Wed Aug 29 14:01:04 CEST 2007 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/DARKSUN i386 (The computer is an application server, serving applications to diskless machines with gdm + gnome.) 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: QMail Help
Victor Farah wrote: Hello I'm running qmail and I created an smtproutes file, inside my /var/qmail/control/ directory. I then sent a killall -ALRM qmail-send, but it doesn't seem like it uses that smtproutes file I made. I start qmail using supervise scripts. Also in my smtproutes file can I use IP's, and do they have to be enclosed inside brackets? E.G. super.com:[1.2.3.4] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] Hello, This isn't the right place to ask this question. Irregardless of that, since you are using supervise to manage the daemon, try the following: svc -h /path/to/service/directory OR svc -a /path/to/service/directory If neither of those work, you can restart the daemon altogether svc -d /path/to/service/directory followed by svc -u /path/to/service/directory ~Paul ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: selected port (devel/root) is marked as broken
On Wednesday 12 March 2008 16:59:48 Luca Presotto wrote: Hi, I often use have to use root a program that has been ported to freebsd. If I try portinstall or I go into the directory and do make /make install I get selected port is marked as broken: Does not compile Or maybe a slightly different error with the same meaning.(I'm not on that machine now so I cannot cut and paste) That's ok, but I want to have root on freebsd to be able to use that machine more often. I downloaded the sources from root.cern.ch then I tried to compile them. The suggested way is to use a provided script where you type the OS and the arch of your machine and it sets up everything for you. But this script supports only freebsd4/5/6, not 7.0 which I'm currently using. I tried telling him it's 6 but then when compiling I get some errors, as announced by the previous messages! What can I try to be able to compile it? Will that be hard to do? It fails on gcc3 specific classes. FreeBSD 7 uses gcc 4.x, so the problem lies with root developers. Or...you could install lang/gcc34, then: make -DTRYBROKEN CC=gcc34 CXX=g++34 I'm not sure it'll work though. -- Mel Problem with today's modular software: they start with the modules and never get to the software part. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Compile error, kde related?
On Wednesday 12 March 2008 15:28:25 Leslie Jensen wrote: The compile error I get is Mutex unlock failure: Operation not permitted Any suggestions? Details maybe? Just one line that's a pretty generic error message, that's likely to be caused by system limits, isn't gonna get you much help. The entire compilation line, the failure up until make returns control back to the shell, that's what you'll need to provide at minimum. -- Mel Problem with today's modular software: they start with the modules and never get to the software part. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: QMail Help
Paul A. Procacci wrote: Victor Farah wrote: Hello I'm running qmail and I created an smtproutes file, inside my /var/qmail/control/ directory. I then sent a killall -ALRM qmail-send, but it doesn't seem like it uses that smtproutes file I made. I start qmail using supervise scripts. Hello, This isn't the right place to ask this question. Irregardless of that, since you are using supervise to manage the daemon, try the following: svc -h /path/to/service/directory OR svc -a /path/to/service/directory ~Paul I Agree, this would be better posted to a qmail list, but anyway: I think -ALRM tells qmail to re-run the queue, what you need is to send a HUP signal to the qmail-send, like pkill -HUP qmail-send, so it will read the control files again. Have you read the Life With Qmail docs? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: OT: how to get make to run a script before each build
On Tue, Mar 11, 2008 at 5:46 PM, Mel [EMAIL PROTECTED] wrote: On Wednesday 12 March 2008 01:15:52 Steve Franks wrote: I'd like to keep track of how many times I've run make for a given source. I'm sure someone knows how to get make to run a script before doing anything else, but using the regular build rules (aka. only if a source file has changed). Of course typing any permutation of this question into google gives me 10^life of universe in microseconds hits. mysource.c.o: count=`cat /var/db/makecounter.${.IMPSRC}` count=$$(($$count+1)) echo $$count /var/db/makecounter.${.IMPSRC} ${CC} ${CFLAGS} -c ${.IMPSRC} or something to that effect, key being, change/override the compilation rule for your specific or all files. Default single/double suffix rules are in /usr/share/mk/sys.mk. -- Mel Problem with today's modular software: they start with the modules and never get to the software part. Ah! Sorry, I was asking for the make rule, not the script. Which is to say, what am I doing wrong here: %.elf: $(TARGET)BuildNum $(AOBJARM) $(AOBJ) $(COBJARM) $(COBJ) $(CPPOBJ) $(CPPOBJARM) $(LIBS) ... #increment build number $(TARGET)BuildNum: %$(TARGET)BuildNum : *.h *.hpp *.c *.cpp btracer $(TARGET) gives: gmake: *** No rule to make target `*.h', needed by `MainBuildNum'. Stop. Thanks, Steve ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: List of active users, logged in with gdm
Laszlo Nagy wrote: I would like to get the list of the users who are actively logged in remotely with gdm, along with their IP address. The commands 'w' and 'users' does not work. What is the right command to get this list? Let me turn that question around slightly: How can I get gdm(8) to record user logins in /var/run/utmp ? It's the utmp file that commands like w(1) and users(1) read in order to present the list of logged-in users. As far as I know this is the only effective means the system uses to record who is logged in when -- I'm not aware of any gdm(1) specific equivalent. Now, in order for a login to be recorded in utmp(5) it should suffice to have a line like: session requiredpam_lastlog.so no_fail in the appropriate file under /etc/pam.d or /usr/local/etc/pam.d I'm using /etc/pam.d/xdm as a reference -- xdm(8) is functionally similar to gdm(8) and I'd think it would have a very similar PAM configuration. However I haven't positively verified that, and you'ld do well to search for PAM-related info in gdm documentation and so forth. 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 signature.asc Description: OpenPGP digital signature
Re: Superuser password lost
On Wednesday 12 March 2008 16:27:36 Bill Moran wrote: I don't know of anywhere in the FreeBSD base system that the term superuser is used In the kernel even! suser(9), suser_cred(9), vfs_suser(9) -- Mel Problem with today's modular software: they start with the modules and never get to the software part. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: selected port (devel/root) is marked as broken
On Wed, 12 Mar 2008, Mel wrote: It fails on gcc3 specific classes. FreeBSD 7 uses gcc 4.x, so the problem lies with root developers. Or...you could install lang/gcc34, then: make -DTRYBROKEN CC=gcc34 CXX=g++34 I'm not sure it'll work though. Well, on other OSes they have been compiling new releases with gcc4.2 without any problems for months, so it's not a gcc problem. I have discovered that someone has already submitted a case to the root developing team in middle january. They think the problem lies within the gcc command line options, but from that moment on no new updates are available. I renewed the request to them. So that now they will know that there are 2 people using both root and fbsd! ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Source Upgrade to FreeBSD 7 fails
Hi, I cvsup the RELENG_7_0 tree today and tried to build the system with make buildworld but I got the following error message: cc -O1 -pipe -march=pentiumpro -I/usr/src/kerberos5/libexec/ipropd-master/../../../crypto/heimdal/lib/krb5 -I/usr/src/kerberos5/libexec/ipropd-master/../../../crypto/heimdal/lib/asn1 -I/usr/src/kerberos5/libexec/ipropd-master/../../../crypto/heimdal/lib/roken -I. -I/usr/local/include -DOPENLDAP=1 -DHAVE_CONFIG_H -I/usr/src/kerberos5/libexec/ipropd-master/../../include -L/usr/local/lib -Wl,-rpath,/usr/local/lib -o ipropd-master ipropd_master.o -lkadm5srv -lhdb -lkrb5 -lroken /usr/obj/usr/src/kerberos5/libexec/ipropd-master/../../lib/libvers/libvers.a -lasn1 -lcrypto -lcrypt -lcom_err -lldap -llber /usr/obj/usr/src/tmp/usr/bin/ld: warning: libssl.so.4, needed by /usr/local/lib/libldap.so, not found (try using -rpath or -rpath-link) /usr/obj/usr/src/tmp/usr/bin/ld: warning: libcrypto.so.4, needed by /usr/local/lib/libldap.so, not found (try using -rpath or -rpath-link) /usr/local/lib/libldap.so: undefined reference to `SSL_CTX_set_tmp_rsa_callback' ... *** Error code 1 Stop in /usr/src/kerberos5/libexec/ipropd-master. *** Error code 1 How can I solve that? Thanks, Matthias -- Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the universe trying to produce bigger and better idiots. So far, the universe is winning. -- Rich Cook ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
UFS2 optimization for many small files
I recently upgraded the disk of my mail server. The server was initially installed with a single 36GB RAID1 volume with FreeBSD 5 (summer 2004). Over the years I upgraded to FreeBSD 6, and some months ago I added another 36GB RAID1 volume and one 72GB RAID1 volume. I then proceeded to copy my cyrus-imapd partition from /usr/local/mail (on /dev/da0s1f) to the new 76GB /mail (/dev/da2s1d). During this copy I noticed the disk usage of the mailboxes (as reported by du(8)) growing about 20% larger in the process. Please note that cyrus stores mailboxes with 1 file per message, 1 directory per IMAP-folder, and the moved files are in the order of the hundred-thousands, with half of them less than 8 KB large. I tried understanding where the difference was, but I cannot work-out any cause in the file systems: [EMAIL PROTECTED] /data]# disklabel da0s1 # /dev/da0s1: 8 partitions: #size offsetfstype [fsize bsize bps/cpg] a: 52428804.2BSD 2048 16384 32776 b: 4142832 524288 swap c: 711196920unused0 0 # raw part, don't edit d: 4194304 46671204.2BSD 2048 16384 28552 e: 1048576 88614244.2BSD 2048 16384 8 f: 61209692 9914.2BSD 2048 16384 28552 [EMAIL PROTECTED] /data]# disklabel da2s1 # /dev/da2s1: 8 partitions: #size offsetfstype [fsize bsize bps/cpg] c: 1422532480unused0 0 # raw part, don't edit d: 14225324804.2BSD 2048 16384 28552 What can I look at, now? Should I decide to reformat my disk, what newfs parameters you'd advice for my case? Thanks, Angelo. PS: here follows the disk definitions: why the disk formatted during the initial FreeBSD5 setup (da0) has a different geometry than the one formatted later with FreeBSD6 (da1, hardware identical to da0)? Maybe this is influencing the block occupation? - [EMAIL PROTECTED] /data]# fdisk /dev/da0 *** Working on device /dev/da0 *** parameters extracted from in-core disklabel are: cylinders=4427 heads=255 sectors/track=63 (16065 blks/cyl) Figures below won't work with BIOS for partitions not in cyl 1 parameters to be used for BIOS calculations are: cylinders=4427 heads=255 sectors/track=63 (16065 blks/cyl) Media sector size is 512 Warning: BIOS sector numbering starts with sector 1 Information from DOS bootblock is: The data for partition 1 is: sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD) start 63, size 71119692 (34726 Meg), flag 80 (active) beg: cyl 0/ head 1/ sector 1; end: cyl 1023/ head 254/ sector 63 The data for partition 2 is: UNUSED The data for partition 3 is: UNUSED The data for partition 4 is: UNUSED --- [EMAIL PROTECTED] /data]# fdisk /dev/da1 *** Working on device /dev/da1 *** parameters extracted from in-core disklabel are: cylinders=8716 heads=255 sectors/track=32 (8160 blks/cyl) Figures below won't work with BIOS for partitions not in cyl 1 parameters to be used for BIOS calculations are: cylinders=8716 heads=255 sectors/track=32 (8160 blks/cyl) Media sector size is 512 Warning: BIOS sector numbering starts with sector 1 Information from DOS bootblock is: The data for partition 1 is: sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD) start 32, size 71122528 (34727 Meg), flag 80 (active) beg: cyl 0/ head 1/ sector 1; end: cyl 1023/ head 254/ sector 32 The data for partition 2 is: UNUSED The data for partition 3 is: UNUSED The data for partition 4 is: UNUSED --- [EMAIL PROTECTED] /data]# fdisk /dev/da2 *** Working on device /dev/da2 *** parameters extracted from in-core disklabel are: cylinders=17433 heads=255 sectors/track=32 (8160 blks/cyl) Figures below won't work with BIOS for partitions not in cyl 1 parameters to be used for BIOS calculations are: cylinders=17433 heads=255 sectors/track=32 (8160 blks/cyl) Media sector size is 512 Warning: BIOS sector numbering starts with sector 1 Information from DOS bootblock is: The data for partition 1 is: sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD) start 32, size 142253248 (69459 Meg), flag 80 (active) beg: cyl 0/ head 1/ sector 1; end: cyl 1023/ head 254/ sector 32 The data for partition 2 is: UNUSED The data for partition 3 is: UNUSED The data for partition 4 is: UNUSED ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Installation sticks on probing
Hi, I was trying to install BSD 6.3. During the probing process, the probe sticks (forever) when it sees the HD controller which is an Intergrated Technology Express ITE IT8212 ATA. This happened in both a 1998 and 2007 era computer. The hardware manual says that the card is supported. Is there some keystroke or command that will make BSD skip pass the probing? The Linux Slax Live 5.1.7b disk will boot and see the Maxtor 6L200P0 disk drive that is connected to the controller. With Slax, I was previously able to format the Maxtor disk and write files to it, but I'm not able to get past the probing in BSD 6.3. Thanks for you help. -- Best regards, Joe mailto:[EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
removing acl from a directory
Hi, I need to remove all the acls from a directory and its files, I've done that successfully using setfacl -bn. This dir is being used by samba but because of the way its now being used we don't need acls on it any more. The thing is every time we create a file either trough samba or from a terminal it adds the acls to the file even after I removed them all. Here is an example of whats happening total 2858 drwxrwx--- 6 user1 test 512B Mar 12 17:54 .svn/ drwxrwx--- 3 user1 test 512B Mar 12 17:54 branches/ drwxrwx--- 3 user1 test 512B Mar 12 17:54 tags/ r-+ 1 root test 0B Mar 12 18:50 test drwxrwx---+ 2 user1 test 512B Mar 12 18:51 test123/ -rwxrwx---+ 1 user1 test 0B Mar 12 18:51 test123_file* drwxrwx--- 5 user1 test 512B Mar 12 17:54 trunk/ -rw-rw 1 user1 test 2.7M Mar 12 17:43 trunk.zip Our main problem is the that if the system creates a file or folder it is just adding read permissions to the group Also as you can see the names with the + in them have been created after I removed all the acls. test was created by me from within a shell and test123 was done trough samba. What information do I need to share with you all to see if we can fix this? Best regards Reinhold ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD 6.2+PHP+700 sites = DNS Issues?
On Wednesday 12 March 2008 16:17:48 Simon Street wrote: On Thu, Mar 6, 2008 at 6:38 PM, Mel [EMAIL PROTECTED] wrote: On Thursday 06 March 2008 12:12:05 Simon Street wrote: I've copied resolv.conf to /usr/local/etc and HostnameLookups is already enabled, no joy :( (Have restarted apache also). Hmm hmmm. So apache can look up IP's and write hostname into it's log, but php can't resolve anything. If it's got something to do with FDSET, then if it has no traffic at all, the problem should go away. Does it? Not sure if you can test that, but block all incoming traffic for 30 seconds and run your test script, shouldn't be too difficult. Does this work: var_dump(gethostbyname(www.example.com)); Maybe it isn't related to resolving at all - like, are there any disallowed functions in your php configuration? var_dump.. etc returns string(15) www.example.com which means it didn't resolve. disable_functions shows as none in phpinfo! However I've just noticed in the domain logs that its logging IP's not hostnames, I assume this is wrong given HostnameLookups On is in a conf file that is included by httpd.conf. Is there any way to confirm at runtime that this directive is being obeyed? http://httpd.apache.org/docs/2.2/mod/mod_info.html -- Mel Problem with today's modular software: they start with the modules and never get to the software part. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
source upgrade from 6.3 - 7.0 fails
Having trouble upgrading 6.3 to 7.0 from source. This is on a single-CPU amd64 machine. These steps all work OK: 1. cd /usr/src 2. cvsup -g -L 2 /usr/local/etc/security-supfile (tag points to RELENG_7_0) 3. make buildworld 4. make buildkernel KERNCONF=GENERIC 5. make installkernel KERNCONF=GENERIC 6. reboot to single-user mode 7. mount -u / 8. mount -a 9. mergemaster -p But then I do: 10. make installworld and get this error: install: crt1.o: No such file or directory ***Error code 71 crt1.o does exist in /usr/lib. Thanks in advance for any clues on fixing this upgrade. dn ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: OT: how to get make to run a script before each build
On Wednesday 12 March 2008 19:23:40 Steve Franks wrote: On Tue, Mar 11, 2008 at 5:46 PM, Mel [EMAIL PROTECTED] wrote: On Wednesday 12 March 2008 01:15:52 Steve Franks wrote: I'd like to keep track of how many times I've run make for a given source. I'm sure someone knows how to get make to run a script before doing anything else, but using the regular build rules (aka. only if a source file has changed). Of course typing any permutation of this question into google gives me 10^life of universe in microseconds hits. mysource.c.o: count=`cat /var/db/makecounter.${.IMPSRC}` count=$$(($$count+1)) echo $$count /var/db/makecounter.${.IMPSRC} ${CC} ${CFLAGS} -c ${.IMPSRC} or something to that effect, key being, change/override the compilation rule for your specific or all files. Default single/double suffix rules are in /usr/share/mk/sys.mk. -- Mel Problem with today's modular software: they start with the modules and never get to the software part. Ah! Sorry, I was asking for the make rule, not the script. Which is to say, what am I doing wrong here: %.elf: $(TARGET)BuildNum $(AOBJARM) $(AOBJ) $(COBJARM) $(COBJ) $(CPPOBJ) $(CPPOBJARM) $(LIBS) ... #increment build number $(TARGET)BuildNum: %$(TARGET)BuildNum : *.h *.hpp *.c *.cpp btracer $(TARGET) gives: gmake: *** No rule to make target `*.h', needed by `MainBuildNum'. Stop. Sorry, gmake not my cup of tea, but looks like *.h isn't expanded. -- Mel Problem with today's modular software: they start with the modules and never get to the software part. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: QMail Help
Paul A. Procacci wrote: Victor Farah wrote: Hello I'm running qmail and I created an smtproutes file, inside my /var/qmail/control/ directory. I then sent a killall -ALRM qmail-send, but it doesn't seem like it uses that smtproutes file I made. I start qmail using supervise scripts. Hello, This isn't the right place to ask this question. Irregardless of that, since you are using supervise to manage the daemon, try the following: svc -h /path/to/service/directory OR svc -a /path/to/service/directory ~Paul I Agree, this would be better posted to a qmail list, but anyway: I think -ALRM tells qmail to re-run the queue, what you need is to send a HUP signal to the qmail-send, like pkill -HUP qmail-send, so it will read the control files again. Have you read the Life With Qmail docs? See qmail-control(5) and qmail-remote(8). smtproutes is read by qmail-remote not qmail-send. qmail-remote doesn't require a signal since a new instance is started for each delivery. If smtproutes is not working, something else is wrong. Check the syntax of the file (it is described in qmail-remote man page). You may need to use wild cards to handle all instances for that domain name. If that's all fine, then perhaps there's a problem on the remote host. sdb -- [EMAIL PROTECTED] Todays Poem: ((12 + 144 + 20 + (3 * 4^(1/2))) / 7) + (5 * 11) = 9^2 + 0 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: USB printer
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Gligor Lucian wrote: David Kelly [EMAIL PROTECTED] wrote: On Mon, Mar 10, 2008 at 12:59:38PM -0700, Gligor Lucian wrote: Does FreeBSD support a USB printer? Yes. You know, while there are printing utils that actually work on FreeBSD, I can't personally recommend CUPS. I keep on trying to get it to work on FreeBSD efvery year or so, then I need to go over to one of my other systems. Last one I tried was an Epson Stylus C84, but I've also tried HP officejets, and I just can't get locally attached printers to work with cups. I can get them to work with things like apsfilter very well, but either someone is going to have to fix the Cups port (it builds, but nothing locally runs) or stop recommending it. Or, does anyone else have it working on FreeBSD? Sure would like to hear about it, but I've been trying for a long time now, with no success. Thank you very much for your answer. All the best, Gligor Lucian. - Looking for last minute shopping deals? Find them fast with Yahoo! Search. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.4 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFH2CuMz62J6PPcoOkRAunbAJ96TJd3UZsus+NxCwg8gEk5hnap1gCgn+7/ A8QJVMfDqgAY+4WIFXDD0w8= =450A -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: Source Upgrade to FreeBSD 7 fails
On Wednesday 12 March 2008 19:49:26 Matthias Fechner wrote: Hi, I cvsup the RELENG_7_0 tree today and tried to build the system with make buildworld but I got the following error message: cc -O1 -pipe -march=pentiumpro -I/usr/src/kerberos5/libexec/ipropd-master/../../../crypto/heimdal/lib/krb5 -I/usr/src/kerberos5/libexec/ipropd-master/../../../crypto/heimdal/lib/asn1 -I/usr/src/kerberos5/libexec/ipropd-master/../../../crypto/heimdal/lib/roke n -I. -I/usr/local/include -DOPENLDAP=1 -DHAVE_CONFIG_H -I/usr/src/kerberos5/libexec/ipropd-master/../../include -L/usr/local/lib -Wl,-rpath,/usr/local/lib -o ipropd-master ipropd_master.o -lkadm5srv -lhdb -lkrb5 -lroken /usr/obj/usr/src/kerberos5/libexec/ipropd-master/../../lib/libvers/libvers. a -lasn1 -lcrypto -lcrypt -lcom_err -lldap -llber /usr/obj/usr/src/tmp/usr/bin/ld: warning: libssl.so.4, needed by /usr/local/lib/libldap.so, not found (try using -rpath or -rpath-link) /usr/obj/usr/src/tmp/usr/bin/ld: warning: libcrypto.so.4, needed by /usr/local/lib/libldap.so, not found (try using -rpath or -rpath-link) /usr/local/lib/libldap.so: undefined reference to `SSL_CTX_set_tmp_rsa_callback' ... *** Error code 1 Stop in /usr/src/kerberos5/libexec/ipropd-master. *** Error code 1 How can I solve that? How ever did you get something in /usr/src looking for /usr/local/lib/*? What's in /etc/make.conf please? -- Mel Problem with today's modular software: they start with the modules and never get to the software part. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: UFS2 optimization for many small files
Chuck Swiger wrote: On Mar 12, 2008, at 11:44 AM, Angelo Turetta wrote: I tried understanding where the difference was, but I cannot work-out any cause in the file systems: I believe Cyrus will create hard links if the same email message is kept in multiple folders. Do you know if this includes hard-linking multiple copies of the same message received by different users? If it's only for messages in the same user's mailbox, no way incidence can reach 20% in my case. Angelo. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: USB printer
On Wed, Mar 12, 2008 at 12:14 PM, Chuck Robey [EMAIL PROTECTED] wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Gligor Lucian wrote: David Kelly [EMAIL PROTECTED] wrote: On Mon, Mar 10, 2008 at 12:59:38PM -0700, Gligor Lucian wrote: Does FreeBSD support a USB printer? Yes. You know, while there are printing utils that actually work on FreeBSD, I can't personally recommend CUPS. I keep on trying to get it to work on FreeBSD efvery year or so, then I need to go over to one of my other systems. Last one I tried was an Epson Stylus C84, but I've also tried HP officejets, and I just can't get locally attached printers to work with cups. I can get them to work with things like apsfilter very well, but either someone is going to have to fix the Cups port (it builds, but nothing locally runs) or stop recommending it. Or, does anyone else have it working on FreeBSD? Sure would like to hear about it, but I've been trying for a long time now, with no success. Thank you very much for your answer. All the best, Gligor Lucian. I have CUPS working on my laptop and desktop. I don't have a local printer installed. I am using CUPS to access printers shared from a windows machine. Works fine, except this morning I noticed a pdf not printing correctly but I believe that is Evince's fault. -- The Mafia way is that we pursue larger goals under the guise of personal relationships. Fisheye ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Best practice: sendmail and SMTP auth
Hello, Not sure if this is the most appropriate place for this question, but since all my servers are FreeBSD 6.x/7.x, I'll give it a go... I am considering setting up SMTP auth on a number of sendmail instances that I control. After much googling and reading, it is not clear to me that a server with SMTP auth configured/enabled can relay mail in both auth and non-auth modes. If one sendmail configuration cannot accommodate both SMTP auth and access.db, does one setup a dedicated SMTP auth host with a SMART_HOST option and feed incoming email to an non-auth instance of sendmail? Sorry if my terminology is ambiguous, I'm not a sendmail professional by day. -- Regards, Doug ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: no ad1s3a,b,d... on ad1s3 after bsdlabel
On Wednesday 12 March 2008 07:30:34 am Snow Mountains wrote: 2008/3/12, Lowell Gilbert [EMAIL PROTECTED]: Snow Mountains [EMAIL PROTECTED] writes: I try to understand bsdlabel. I have former fat slice (ad1s3) on my disk and I want to make several BSD partitions on it. I did this: # dd if=/dev/zero of=/dev/ad1s3 bs=1k count=1024 1024+0 records in 1024+0 records out 1048576 bytes transferred in 0.318986 secs (3287217 bytes/sec) # bsdlabel -w ad1s3 # bsdlabel -e ad1s3 (edit) # bsdlabel ad1s3 # /dev/ad1s3: 8 partitions: #size offsetfstype [fsize bsize bps/cpg] a: 1000 164.2BSD0 0 0 b: 1000 10164.2BSD0 0 0 c: 476166600unused0 0 # raw part, don't edit d: 27616644 20164.2BSD0 0 0 # newfs -U /dev/ad1s3a newfs: /dev/ad1s3a: could not find special device # ls /dev/ad1s3* /dev/ad1s3 # What I miss because I don't have ad1s3a,b,d? If repeat same procedure on disk (big file) mounted as /dev/md0, a see /dev/md0,a,b,d,e... after this group of commands. On what version of FreeBSD? This happens on: # uname -r 6.2-RELEASE-p11 SergiM Did you delete and recreate the slice or is it still marked as FAT when you do fdisk /dev/ad1 If it's still a FAT/DOS slice you might try deleting and recreating it as a native FreeBSD slice, I'm not entirely sure putting a bsdlabel on a FAT slice is going to do the right thing (although I could be wrong here) -- Thanks, Josh Paetzel PGP: 8A48 EF36 5E9F 4EDA 5A8C 11B4 26F9 01F1 27AF AECB signature.asc Description: This is a digitally signed message part.
Re: UFS2 optimization for many small files
On Mar 12, 2008, at 11:44 AM, Angelo Turetta wrote: I then proceeded to copy my cyrus-imapd partition from /usr/local/ mail (on /dev/da0s1f) to the new 76GB /mail (/dev/da2s1d). During this copy I noticed the disk usage of the mailboxes (as reported by du(8)) growing about 20% larger in the process. Please note that cyrus stores mailboxes with 1 file per message, 1 directory per IMAP- folder, and the moved files are in the order of the hundred- thousands, with half of them less than 8 KB large. I tried understanding where the difference was, but I cannot work- out any cause in the file systems: I believe Cyrus will create hard links if the same email message is kept in multiple folders. If your copy did not preserve hard and symlinks, the extra space growth might be a result...consider retrying the copy using the options to rsync/tar/whatever to preserve the links. Regards, -- -Chuck ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: USB printer
Chuck Robey wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Gligor Lucian wrote: David Kelly [EMAIL PROTECTED] wrote: On Mon, Mar 10, 2008 at 12:59:38PM -0700, Gligor Lucian wrote: Does FreeBSD support a USB printer? Yes. You know, while there are printing utils that actually work on FreeBSD, I can't personally recommend CUPS. I keep on trying to get it to work on FreeBSD efvery year or so, then I need to go over to one of my other systems. Last one I tried was an Epson Stylus C84, but I've also tried HP officejets, and I just can't get locally attached printers to work with cups. I can get them to work with things like apsfilter very well, but either someone is going to have to fix the Cups port (it builds, but nothing locally runs) or stop recommending it. Or, does anyone else have it working on FreeBSD? Sure would like to hear about it, but I've been trying for a long time now, with no success. Thank you very much for your answer. All the best, Gligor Lucian. - Looking for last minute shopping deals? Find them fast with Yahoo! Search. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] I have cups working on my system, printing on locally attached USB printers. I have followed the instructions in dekstopBSD wiki: http://desktopbsd.net/wiki/doku.php?id=doc:printing (though I used ports and not packages) I still have some issues if I disconnect / reconnect the printer, the permissions are not set correctly (although devfs is running). I might be missing some configuration step, but have not researched further yet. Generally speaking, printing works. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: ACPI Problem: acpi_tz0:_TMP value is absurd
I located a file for upgrading the BIOS for my Compaq machine but it requires Windows to install it. I deleted the Windows that came with the machine several months ago, so, for now, that option is out. I created a file with the following commands: sysctl hw.acpi.thermal.user_override=1 sysctl hw.acpi.thermal.polling_rate=1800 sysctl hw.acpi.thermal.user_override=0 and run it right after logging in as root using: source where is the file name. The message: acpi_tz0: _TMP value is absurd, ignored (-269.8C) still appears, but not as often. I could, of course, adjust it later if temperature might become a problem but, for now, the machine isn't on long enough for that to be a concern. It still doesn't fix the problem of an incorrect temperature, but at least I can read my monitor without it being cluttered with those messages. BMJ Never miss a thing. Make Yahoo your home page. http://www.yahoo.com/r/hs ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: USB printer
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Manolis Kiagias wrote: Chuck Robey wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Gligor Lucian wrote: David Kelly [EMAIL PROTECTED] wrote: On Mon, Mar 10, 2008 at 12:59:38PM -0700, Gligor Lucian wrote: Does FreeBSD support a USB printer? Yes. You know, while there are printing utils that actually work on FreeBSD, I can't personally recommend CUPS. I keep on trying to get it to work on FreeBSD efvery year or so, then I need to go over to one of my other systems. Last one I tried was an Epson Stylus C84, but I've also tried HP officejets, and I just can't get locally attached printers to work with cups. I can get them to work with things like apsfilter very well, but either someone is going to have to fix the Cups port (it builds, but nothing locally runs) or stop recommending it. Or, does anyone else have it working on FreeBSD? Sure would like to hear about it, but I've been trying for a long time now, with no success. Thank you very much for your answer. All the best, Gligor Lucian. - Looking for last minute shopping deals? Find them fast with Yahoo! Search. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] I have cups working on my system, printing on locally attached USB printers. I have followed the instructions in dekstopBSD wiki: http://desktopbsd.net/wiki/doku.php?id=doc:printing (though I used ports and not packages) I still have some issues if I disconnect / reconnect the printer, the permissions are not set correctly (although devfs is running). I might be missing some configuration step, but have not researched further yet. Generally speaking, printing works. OK, well, maybe I'm wrong, I'll go take a look. As to that other respondent, the job of doing non-local printers needs much more trivial drivers, so yeah, that always has worked. I had looked about on Google, followed a ton of differing instructions, and hadn't had it come near working yet. But, I will go take another look at this URL, yes. -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.4 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFH2DEnz62J6PPcoOkRAikGAJ9F/coCFoW64xeWaa8/hA5orR9dTwCaAryV tWWpQg+S3Xwka5bgtSRcfnU= =LxxN -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: source upgrade from 6.3 - 7.0 fails
At 01:41 PM 3/12/2008, David Newman wrote: Having trouble upgrading 6.3 to 7.0 from source. This is on a single-CPU amd64 machine. These steps all work OK: 1. cd /usr/src 2. cvsup -g -L 2 /usr/local/etc/security-supfile (tag points to RELENG_7_0) 3. make buildworld 4. make buildkernel KERNCONF=GENERIC 5. make installkernel KERNCONF=GENERIC 6. reboot to single-user mode 7. mount -u / 8. mount -a 9. mergemaster -p But then I do: 10. make installworld and get this error: install: crt1.o: No such file or directory ***Error code 71 crt1.o does exist in /usr/lib. Thanks in advance for any clues on fixing this upgrade. dn I had a similar problem with one server I upgraded this way too. I was running the 7.0 kernel with 6.3 world. I rebuilt world after cleaning everything and the next installworld went fine. -Derek -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: libm.so.4 not found
Chris Maness wrote: How do I build 7.0 with libm.so.4 compatibility built in? I find it on my 6.3 system. But not on my upgraded 7.0 system. in reference to: http://lists.freebsd.org/pipermail/freebsd-questions/2006-May/122264.html I see that I should be able to add the variable: COMPAT4X=yes to /etc/make.conf but this flag is not recognized by the Makefile in /usr/src/. Has this been obsoleted? What is the correct way to add this compatibility if possible? Yes, it is obsoleted. Install the compat4x port (and make sure your kernel has COMPAT_FREEBSD4). Kris ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD 7 and SATA DVD Drives
unsubscribe Evan T. iHOUSE Customer Service [EMAIL PROTECTED] Did you know that iHOUSE Web Solutions has one of the most powerful IDX search solutions on the market? Connected to over 320 MLSs nationwide, IDXPro has become one of the best lead generators on the web. Turn your website into a lead generating machine - Take a test drive today at no cost! http://www.ihouseweb.com/Products/IDXPro On 3/11/2008 20:10:07 George Fazio [EMAIL PROTECTED] submitted the following request: Ticket Id: 1565857 Assigned CSR: Evan T Mike Garrett wrote: Hello, does FreeBSD 7 support booting from SATA DVD drives? When I tried 6.2, it didn't work, and I was hoping it has been fixed by now. Thanks for any info, Mike ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] I just built a machine with 7.0R AMD64 and had no trouble booting from the Asus SATA DVD drive that was in it. The motherboard was an Intel P45GC - ICH7 chipset. George ___ 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: UFS2 optimization for many small files
On Mar 12, 2008, at 12:23 PM, Angelo Turetta wrote: Chuck Swiger wrote: On Mar 12, 2008, at 11:44 AM, Angelo Turetta wrote: I tried understanding where the difference was, but I cannot work- out any cause in the file systems: I believe Cyrus will create hard links if the same email message is kept in multiple folders. Do you know if this includes hard-linking multiple copies of the same message received by different users? If it's only for messages in the same user's mailbox, no way incidence can reach 20% in my case. That's a good question. I don't see any reason why this couldn't include the same message received by different users, too -- -Chuck ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Installation
On Wed, Mar 12, 2008 at 10:09:12AM +, Mike Clarke wrote: On Wednesday 12 March 2008, Daniel Bye wrote: I think it fair to say that most people will use ports to compile and install software, rather than relying on the packages on the release ISOs, for the simple reason that the ports tree is a moving target - the packages included with any particular release are out of date (as a set, if not individually) quite quickly, because the porters do a fantastic job of adding new software and updating existing ports. So, my suggestion (as an old hack who's been around for almost a decade ;-) would be to familiarise yourself with the ports tree and all its magic - you'll probably find yourself using it in preference to precompiled packages. The handbook is the best place to start, as ever. I agree that there are advantages in using ports to ensure things are kept up to date but using the packages supplied with the release can be an advantage for a newcomer to FreeBSD. Of course, a point I realised I missed in my original reply. The ports system can be quite daunting until one has become familiar with the system especially if even just one of the ports fails to build. A new user probably won't have the expertise to recognise and fix the cause of the problem. Installing packages from the CD's pretty well ensures that the new user can get a new system up and running without complication. Many new users would prefer a slightly out of date system that works instead of struggling to fix problems in a totally unfamiliar system. When I first started to use FreeBSD I relied on the packages on the CDs, as I gained more familiarity I was much more confident in using ports for the applications that weren't available as precompiled packages. Yes, of course; you make several good points, Mike. I hope my suggestion didn't come over as sounding like ports is the only way - as you point out below, packages are the sane option for most of us mortals for huge collections of software like KDE. Speaking for myself (it's all I'm qualified to do, after all), I will say that I found the learning process in FreeBSD to be on the whole straight forward and very enjoyable - I emigrated from Linuxland after a particularly frustrating problem for which I got nothing but scorn for being a n00b on the newsgroups (I know most Linux communities these days are not like that - but back then, the one I went to for help most certainly was). All I wanted to do was learn about something other than Windows. So at the recommendation of a couple of colleagues, I tried 4.0-RELEASE, joined this mailing list, and never looked back. From the first day, I can remember being blown away by how easy it was to install from the ports - it resolves dependencies for you? Yeah, right... wait, it's resolving dependencies for me! After wrestling with RPMs, who wouldn't love that? (Again, I know a hell of a lot of work has gone into the various software management tools available for Linuxes, but I still haven't found one I like as much as our own ports.) I could bang on for hours about how much I enjoy using FreeBSD (it has been my primary desktop OS since 4.2, my business is based on FreeBSD VPS services, I supply FreeBSD Internet appliances to my clients, blah blah blah) and about how elegant and well thought out it is. It has its glitches, sure, but it's a huge evolving system. Such an immense amount of intelligence and talent has gone into making FreeBSD what it is, and a good proportion of that intelligence and talent is available at first hand for free on the lists - in my experience, you just don't get that very often. Anyway - to the OP - my apologies for hijacking your thread, and welcome aboard. Keep at it, you'll love it, I'm sure. Keep asking questions - this list is a fantastic resource for newcomers and more experienced users alike. Although I'm now quite comfortable building from ports I still use precompiled packages where they are available because I've got a relatively low powered PC which makes very heavy going with the bigger ports (e.g. gcc, firefox, KDE) Indeed. I'll never get back those days waiting for KDE and OO.o to build... Right, that's me done ;-) Dan -- Daniel Bye _ ASCII ribbon campaign ( ) - against HTML, vCards and X - proprietary attachments in e-mail / \ pgp8ZgKofywJN.pgp Description: PGP signature
Re: USB printer
Chuck Robey wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Gligor Lucian wrote: David Kelly [EMAIL PROTECTED] wrote: On Mon, Mar 10, 2008 at 12:59:38PM -0700, Gligor Lucian wrote: Does FreeBSD support a USB printer? Yes. You know, while there are printing utils that actually work on FreeBSD, I can't personally recommend CUPS. I keep on trying to get it to work on FreeBSD efvery year or so, then I need to go over to one of my other systems. Last one I tried was an Epson Stylus C84, but I've also tried HP officejets, and I just can't get locally attached printers to work with cups. I can get them to work with things like apsfilter very well, but either someone is going to have to fix the Cups port (it builds, but nothing locally runs) or stop recommending it. Or, does anyone else have it working on FreeBSD? Sure would like to hear about it, but I've been trying for a long time now, with no success. Please do not spread disinformation. Of course CUPS works on FreeBSD as well as thee other spooling systems PDQ, LPD, and LPRng. Cheers, Predrag Thank you very much for your answer. All the best, Gligor Lucian. - Looking for last minute shopping deals? Find them fast with Yahoo! Search. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.4 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFH2CuMz62J6PPcoOkRAunbAJ96TJd3UZsus+NxCwg8gEk5hnap1gCgn+7/ A8QJVMfDqgAY+4WIFXDD0w8= =450A -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] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: USB printer
On Wed, 12 Mar 2008 15:14:20 -0400 Chuck Robey [EMAIL PROTECTED] wrote: You know, while there are printing utils that actually work on FreeBSD, I can't personally recommend CUPS. I keep on trying to get it to work on FreeBSD efvery year or so, then I need to go over to one of my other systems. Last one I tried was an Epson Stylus C84, but I've also tried HP officejets, and I just can't get locally attached printers to work with cups. I can get them to work with things like apsfilter very well, but either someone is going to have to fix the Cups port (it builds, but nothing locally runs) or stop recommending it. Or, does anyone else have it working on FreeBSD? Sure would like to hear about it, but I've been trying for a long time now, with no success. I have HPLIP working with CUPs perfectly. I even got it to FAX. The printer is accessed via a wireless network too. -- Gerard [EMAIL PROTECTED] A pipe gives a wise man time to think and a fool something to stick in his mouth. signature.asc Description: PGP signature
Re: Switching terminals under VMWare Fusion
Btw, the reason why I say its the handling of the ALT key is that I can't get into kdb (ALT-CTLR-ESC, etc.). This is really frustrating! -aps On Wed, Mar 12, 2008 at 4:29 PM, Alexander Sack [EMAIL PROTECTED] wrote: Hello Everydoy: I apologize if this isn't exactly the right place but I'm out of options! I've posted on the Fusion community website up on vmware.com but am still lost. I'm running 7.0-RELEASE under VMWare Fusion on a MBP/Leopard ( 10.5.1). I've installed the vmware-tools port as well as the tools shipped with Fusion and made some edits to accommodate 7.0-RELEASE. All is well minus the fact that either the ALT key or some other issue is preventing me from switching terminals (ALT-F1, F2, etc.). Has anyone seen this problem before? If you run Workstation or Fusion have you seen any issues with switching terminals? Any pointers would be much appreciated! Thanks! -aps -- What lies behind us and what lies in front of us is of little concern to what lies within us. -Ralph Waldo Emerson -- What lies behind us and what lies in front of us is of little concern to what lies within us. -Ralph Waldo Emerson ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Switching terminals under VMWare Fusion
Hello Everydoy: I apologize if this isn't exactly the right place but I'm out of options! I've posted on the Fusion community website up on vmware.com but am still lost. I'm running 7.0-RELEASE under VMWare Fusion on a MBP/Leopard (10.5.1). I've installed the vmware-tools port as well as the tools shipped with Fusion and made some edits to accommodate 7.0-RELEASE. All is well minus the fact that either the ALT key or some other issue is preventing me from switching terminals (ALT-F1, F2, etc.). Has anyone seen this problem before? If you run Workstation or Fusion have you seen any issues with switching terminals? Any pointers would be much appreciated! Thanks! -aps -- What lies behind us and what lies in front of us is of little concern to what lies within us. -Ralph Waldo Emerson ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Switching terminals under VMWare Fusion
On Wednesday 12 March 2008 04:37:44 pm Alexander Sack wrote: On Wed, Mar 12, 2008 at 4:29 PM, Alexander Sack [EMAIL PROTECTED] wrote: Hello Everydoy: I apologize if this isn't exactly the right place but I'm out of options! I've posted on the Fusion community website up on vmware.com but am still lost. I'm running 7.0-RELEASE under VMWare Fusion on a MBP/Leopard ( 10.5.1). I've installed the vmware-tools port as well as the tools shipped with Fusion and made some edits to accommodate 7.0-RELEASE. All is well minus the fact that either the ALT key or some other issue is preventing me from switching terminals (ALT-F1, F2, etc.). Has anyone seen this problem before? If you run Workstation or Fusion have you seen any issues with switching terminals? Any pointers would be much appreciated! Btw, the reason why I say its the handling of the ALT key is that I can't get into kdb (ALT-CTLR-ESC, etc.). This is really frustrating! -aps I just happened to read this from a Workstation VM so I played around with it a bit. The reason ctrl-alt keystrokes don't work is that they never get to the VM. VMware uses them for its own hotkey combos: ctrl-alt = release mouse/keyboard, ctrl-alt-enter = toggle full-screen, ctrl-alt-right = next running VM, etc. I went into the options for VMware (on the host, Windows in my case) and changed the hotkey to ctrl-alt-shift. It didn't take effect immediately, but once I paused my VM, closed VMware and started it back up again I was able to use ctrl-alt combos in my VM. That includes switching to a virtual terminal from X, switching workspaces in xfce (ctrl-alt-left and right), etc. JN ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
email pop3 question
I am using dovecot email on my server - Users can connect via IMAP or POP3. I have a user who is using pop3 but not removing the email from the server - so the email stays on the server, -and- it is collecting on their computer - as the emails build up, will there be a problem with this? For IMAP it stays on the server, so I assume the server will not be presented with any problem - but will the user suffer any problem eventually? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: UFS2 optimization for many small files
Chuck Swiger skrev: On Mar 12, 2008, at 12:23 PM, Angelo Turetta wrote: Chuck Swiger wrote: On Mar 12, 2008, at 11:44 AM, Angelo Turetta wrote: I tried understanding where the difference was, but I cannot work-out any cause in the file systems: I believe Cyrus will create hard links if the same email message is kept in multiple folders. Do you know if this includes hard-linking multiple copies of the same message received by different users? If it's only for messages in the same user's mailbox, no way incidence can reach 20% in my case. That's a good question. I don't see any reason why this couldn't include the same message received by different users, too It does. You may want to try something like rsync -aH when copying. Regards, Lars ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Switching terminals under VMWare Fusion
JN: Thanks for the reply! Unfortunately, hotkeys on Mac use the Apple button, not ALT so I don't think this applies but I will try to investigate if there is some conflict with ALT and Fusion itself. I can't find anything in Preferences that would lead me to believe that there is a conflict (I do know that normally you have to hit fn+alt/option unless you use an advanced tunable via your .vmx file). Btw, I had this working at some pointhI just thought of something...gonna try something else. Thanks! -aps On Wed, Mar 12, 2008 at 4:54 PM, John Nielsen [EMAIL PROTECTED] wrote: On Wednesday 12 March 2008 04:37:44 pm Alexander Sack wrote: On Wed, Mar 12, 2008 at 4:29 PM, Alexander Sack [EMAIL PROTECTED] wrote: Hello Everydoy: I apologize if this isn't exactly the right place but I'm out of options! I've posted on the Fusion community website up on vmware.com but am still lost. I'm running 7.0-RELEASE under VMWare Fusion on a MBP/Leopard ( 10.5.1). I've installed the vmware-tools port as well as the tools shipped with Fusion and made some edits to accommodate 7.0-RELEASE. All is well minus the fact that either the ALT key or some other issue is preventing me from switching terminals (ALT-F1, F2, etc.). Has anyone seen this problem before? If you run Workstation or Fusion have you seen any issues with switching terminals? Any pointers would be much appreciated! Btw, the reason why I say its the handling of the ALT key is that I can't get into kdb (ALT-CTLR-ESC, etc.). This is really frustrating! -aps I just happened to read this from a Workstation VM so I played around with it a bit. The reason ctrl-alt keystrokes don't work is that they never get to the VM. VMware uses them for its own hotkey combos: ctrl-alt = release mouse/keyboard, ctrl-alt-enter = toggle full-screen, ctrl-alt-right = next running VM, etc. I went into the options for VMware (on the host, Windows in my case) and changed the hotkey to ctrl-alt-shift. It didn't take effect immediately, but once I paused my VM, closed VMware and started it back up again I was able to use ctrl-alt combos in my VM. That includes switching to a virtual terminal from X, switching workspaces in xfce (ctrl-alt-left and right), etc. JN -- What lies behind us and what lies in front of us is of little concern to what lies within us. -Ralph Waldo Emerson ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: email pop3 question
I am using dovecot email on my server - Users can connect via IMAP or POP3. I have a user who is using pop3 but not removing the email from the server - so the email stays on the server, -and- it is collecting on their computer - as the emails build up, will there be a problem with this? For IMAP it stays on the server, so I assume the server will not be presented with any problem - but will the user suffer any problem eventually? all depends how clients are configured. if right - no problems. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Superuser password lost
On 12 mrt 2008, at 19:26, Mel wrote: On Wednesday 12 March 2008 16:27:36 Bill Moran wrote: I don't know of anywhere in the FreeBSD base system that the term superuser is used In the kernel even! suser(9), suser_cred(9), vfs_suser(9) Have you had a look at 'man su' ? Arno ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: source upgrade from 6.3 - 7.0 fails SOLVED
1. cd /usr/src 2. cvsup -g -L 2 /usr/local/etc/security-supfile (tag points to RELENG_7_0) 3. make buildworld .. 10. make installworld and get this error: install: crt1.o: No such file or directory ***Error code 71 crt1.o does exist in /usr/lib. Thanks in advance for any clues on fixing this upgrade. dn I had a similar problem with one server I upgraded this way too. I was running the 7.0 kernel with 6.3 world. I rebuilt world after cleaning everything and the next installworld went fine. Thanks, that was the problem. After running make clean before make buildworld the rest of the steps completed successfully. Many thanks! dn ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Best practice: sendmail and SMTP auth
At 02:19 PM 3/12/2008, Doug Poland wrote: Hello, Not sure if this is the most appropriate place for this question, but since all my servers are FreeBSD 6.x/7.x, I'll give it a go... I am considering setting up SMTP auth on a number of sendmail instances that I control. After much googling and reading, it is not clear to me that a server with SMTP auth configured/enabled can relay mail in both auth and non-auth modes. If one sendmail configuration cannot accommodate both SMTP auth and access.db, does one setup a dedicated SMTP auth host with a SMART_HOST option and feed incoming email to an non-auth instance of sendmail? Sorry if my terminology is ambiguous, I'm not a sendmail professional by day. -- Regards, Doug You can set up sendmail to do both auth and non-auth. However best practice is to use auth only to control any spam relaying. Check the sendmail.org website FAQ's for setting this up. You will want to probably use cyrus-sasl or cyrus-sasl2 ports along with sendmail. -Derek -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
named questions.
Hello: I have named running as secondary server on v6.2 It will not start without a specific configuration file set on the command line. After doing some investigation it appears that that is because it runs chrooted and there is not a symlink from /etc/namedb. Is that a correct assumption? I read the man page and it specifies the default configuration file as /etc/namedb/named.conf and along with this file there are master and slave directories. Would I make the /etc/namedb/named.conf file to be a symlink to /var/named/etc/namedb/named.conf? There are some other entries in rc.conf related to named that appear in my primary nameserver rc.conf file that relate to getting it up at boot but I have lost root access to that machine so I cannot recover the rc.conf details and I do not remember what document- ation I was using to set it up. I was advised to start named as a user other than root but when I tried that named would not start because the user I set it to does not have write permission in the directory that has the pid file. When named starts at boot what user does it run as, by default? Thank you for any guidance. Jeff K ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Best practice: sendmail and SMTP auth
Derek Ragona wrote: At 02:19 PM 3/12/2008, Doug Poland wrote: Hello, Not sure if this is the most appropriate place for this question, but since all my servers are FreeBSD 6.x/7.x, I'll give it a go... I am considering setting up SMTP auth on a number of sendmail instances that I control. After much googling and reading, it is not clear to me that a server with SMTP auth configured/enabled can relay mail in both auth and non-auth modes. If one sendmail configuration cannot accommodate both SMTP auth and access.db, does one setup a dedicated SMTP auth host with a SMART_HOST option and feed incoming email to an non-auth instance of sendmail? Sorry if my terminology is ambiguous, I'm not a sendmail professional by day. You can set up sendmail to do both auth and non-auth. However best practice is to use auth only to control any spam relaying. Check the sendmail.org website FAQ's for setting this up. You will want to probably use cyrus-sasl or cyrus-sasl2 ports along with sendmail. A good solution to this is to use port 587 for Authenticated new mail submission and leave port 25 for the normal MTA-MTA type of (not authenticated) traffic. Firstly, to enable authentication you need to compile sendmail against cyrus SASL2 (don't bother with SASL1 -- it's legacy only). Now, you can either do that by installing sendmail from ports, or you can install the cyrus-sasl port and then make the base system sendmail link against it by adding this to /etc/make.conf: SENDMAIL_CFLAGS+= -I/usr/local/include -DSASL=2 SENDMAIL_LDFLAGS+= -L/usr/local/lib SENDMAIL_LDADD+=-lsasl2 I also like to use these two so that any milters etc. I build from ports interoperate with the base system sendmail. SENDMAIL_MILTER_IN_BASE=yes WITH_SENDMAIL_BASE= yes In order to do SMTP AUTH most effectively, you should enable STARTSSL support -- I alway feel better knowing that passwords are sent over an encrypted connection. This is a guide to what you need in your $(hostname).mc to add STARTSSL with AUTH /required/ on mail submitted via port 587, but not provided on port 25: first: turn off the default MSA setup, which we'll provide our own settings for later: FEATURE(no_default_msa)dnl ## overridden with DAEMON_OPTIONS below [...] second: basic configuration for SMTP AUTH -- what mechanisms are supported Note that LOGIN should only ever be allowed over encrypted connections as it sends passwords in plain text. You can also authenticate by using SSL certificates but that is handled directly by sendmail and you don't need to list EXTERNAL as a SASL mechanism. dnl ## Set SASL options TRUST_AUTH_MECH(`GSSAPI DIGEST-MD5 CRAM-MD5 LOGIN')dnl define(`confAUTH_REALM', `your.domain.name')dnl define(`confAUTH_MECHANISMS', `GSSAPI DIGEST-MD5 CRAM-MD5 LOGIN')dnl define(`confDONT_BLAME_SENDMAIL',`GroupReadableSASLDBFile')dnl [...] thirdly: insert the IP numbers of your servers into the following rules -- if you don't use IPv6 you can omit the lines for the external address, but you'll find things seem to work rather smoother if you keep the ::1 entries. The M=E flag says 'disable ETRN' and the M=Ea flag says 'require authentication (and disable ETRN)' M=A means 'don't offer authentication here' Note that I'm only requiring authentication on the external interfaces so I implicitly trust myself to submit e-mails via localhost:587 without it. You requirements may differ. See http://www.sendmail.org/~gshapiro/8.10.Training/DaemonPortOptions.html for an explanation of the capabilities of DAEMON_OPTIONS: dnl dnl Where the sendmail daemon should listen dnl DAEMON_OPTIONS(`Name=IPv4, Addr=12.34.56.78, M=A, Family=inet')dnl DAEMON_OPTIONS(`Name=IPv4, Addr=127.0.0.1, M=A, Family=inet')dnl DAEMON_OPTIONS(`Name=IPv6, Addr=::1, M=A, Family=inet6')dnl DAEMON_OPTIONS(`Name=IPv6, Addr=2000:aa:bb:cc::1, M=A, Family=inet6')dnl DAEMON_OPTIONS(`Name=MSA, Addr=12.34.56.78, Port=587, M=Ea')dnl DAEMON_OPTIONS(`Name=MSA, Addr=127.0.0.1, Port=587, M=E')dnl DAEMON_OPTIONS(`Name=MSA, Addr=2000:aa:bb:cc::1, Port=587, M=Ea, Family=inet6')dnl DAEMON_OPTIONS(`Name=MSA, Addr=::1, Port=587, M=E, Family=inet6')dnl fourthly: enable SSL capabilities in sendmail. See http://aput.net/~jheiss/sendmail/tlsandrelay.shtml for a good article on configuring this stuff (although ignore the section on compiling sendmail: you get that automatically built into the base system sendmail already) dnl dnl TLS stuff dnl define(`CERT_DIR', `MAIL_SETTINGS_DIR`'certs')dnl define(`confCACERT_PATH', `CERT_DIR')dnl define(`confCACERT', `CERT_DIR/cacert.pem')dnl define(`confSERVER_CERT', `CERT_DIR/cert.pem')dnl define(`confSERVER_KEY', `CERT_DIR/key.pem')dnl define(`confCLIENT_CERT', `CERT_DIR/cert.pem')dnl define(`confCLIENT_KEY', `CERT_DIR/key.pem')dnl fifthly: there is no fifthly -- you're done. Build a sendmail.cf and test that it all works. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 7 Priory
Re: Best practice: sendmail and SMTP auth
On 2008-03-12 14:19, Doug Poland [EMAIL PROTECTED] wrote: Hello, Not sure if this is the most appropriate place for this question, but since all my servers are FreeBSD 6.x/7.x, I'll give it a go... I am considering setting up SMTP auth on a number of sendmail instances that I control. After much googling and reading, it is not clear to me that a server with SMTP auth configured/enabled can relay mail in both auth and non-auth modes. If one sendmail configuration cannot accommodate both SMTP auth and access.db, does one setup a dedicated SMTP auth host with a SMART_HOST option and feed incoming email to an non-auth instance of sendmail? Sure it can. One of the ways to do something like this is: [1] Configure Sendmail to *require* authentication when one connects to its `submission' port (TCP port 587), and keep using /etc/mail/access for the default listener of the `smtp' port (TCP port 25). [2] Then you can configure your `trusted' clients to connect through port 587, and let everyone else keep using port 25. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Superuser password lost
Because I don't think it's appropriate to drag this conversation on and on, I'm going to try to answer all the responses in a single email. Jerry McAllister [EMAIL PROTECTED] wrote: On Wed, Mar 12, 2008 at 11:27:36AM -0400, Bill Moran wrote: [snip] No. The term superuser is a made-up term for any way of gaining root privs. In my experience it's confusing as there are two commonly used methods for doing this, the su command and sudo, and they require different passwords. I have never seen the term used that way. I have seen su and sudo referred to as ways of a non-root id gaining superuser priviledge/root priviledge but not a superuser as someone who is not root, but has a method of gaining root priviledge. Apparently I miscommunicated. My point was that the OP's message used the term superuser in an ambiguous way. (i.e. the way I mentioned). To me, it wasn't clear what it was asking for, and thus sending the OP to the PC-BSD community (where folks are probably familiar to the GUI widget he's dealing with) seemed the best thing to do. Erik Trulsson [EMAIL PROTECTED] wrote: On Wed, Mar 12, 2008 at 11:27:36AM -0400, Bill Moran wrote: [snip] No. The term superuser is a made-up term for any way of gaining root privs. Wrong. superuser is, just as the previous poster said, a synonym for root, i.e. a user account with UID=0 See for example http://en.wikipedia.org/wiki/Superuser or http://catb.org/jargon/html/S/superuser.html Who am I to argue with wikipedia? But the second link you provide does not agree with your explanation. According to The Jargon File, my wmoran account is a superuser, because it's a member of the wheel group. Thus, my argument that the term is ambiguous, which (based on the links you provided) you seem to be backing up. Alex Zbyslaw [EMAIL PROTECTED] wrote: Hate to be picky, because I'd agree with most everything else you wrote, but superuser, and its synonym super-user, do appear in many base man pages, for example the su page shown below. Sometimes it's a shortcut for root (or other UID 0 user), like below in su, sometimes just for effective UID 0 in general, for example as in mount(8). The su utility requests appropriate user credentials via PAM and switches to that user ID (the default user is the superuser). A shell is then executed. Mel [EMAIL PROTECTED] wrote: In the kernel even! suser(9), suser_cred(9), vfs_suser(9) OK, I was wrong on this point. Alex Zbyslaw [EMAIL PROTECTED] wrote: I'd contend that the su manpage *should* say root not superuser, since root is hardwired as the default. But for other cases, any user with UID 0 might work just as well (e.g. toor). I agree on this point, but not enough to bother trying to put a patch together that (based on the conversation here) is likely to be controversial. -- Bill Moran http://www.potentialtech.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: no ad1s3a,b,d... on ad1s3 after bsdlabel
2008/3/12, Josh Paetzel [EMAIL PROTECTED]: On Wednesday 12 March 2008 07:30:34 am Snow Mountains wrote: 2008/3/12, Lowell Gilbert [EMAIL PROTECTED]: Snow Mountains [EMAIL PROTECTED] writes: I try to understand bsdlabel. I have former fat slice (ad1s3) on my disk and I want to make several BSD partitions on it. I did this: # dd if=/dev/zero of=/dev/ad1s3 bs=1k count=1024 1024+0 records in 1024+0 records out 1048576 bytes transferred in 0.318986 secs (3287217 bytes/sec) # bsdlabel -w ad1s3 # bsdlabel -e ad1s3 (edit) # bsdlabel ad1s3 # /dev/ad1s3: 8 partitions: #size offsetfstype [fsize bsize bps/cpg] a: 1000 164.2BSD0 0 0 b: 1000 10164.2BSD0 0 0 c: 476166600unused0 0 # raw part, don't edit d: 27616644 20164.2BSD0 0 0 # newfs -U /dev/ad1s3a newfs: /dev/ad1s3a: could not find special device # ls /dev/ad1s3* /dev/ad1s3 # What I miss because I don't have ad1s3a,b,d? If repeat same procedure on disk (big file) mounted as /dev/md0, a see /dev/md0,a,b,d,e... after this group of commands. On what version of FreeBSD? This happens on: # uname -r 6.2-RELEASE-p11 SergiM Did you delete and recreate the slice or is it still marked as FAT when you do fdisk /dev/ad1 Josh, you are right! No, I did not do it. It was still marked as FAT. I thought that it is enough to overwrite first 1M of slice with zeros. I entered sysinstall and just changed slice's type with T. That was enough. Then, fresh bsdlabel appeared on it. After editing, I now have all BSD partitions (a,b,d...) mountable. However, here handbook is not precise, I think. Please see this: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/disks-adding.html I deduced from it that fdisk is necessary only for dedicated and new disks (fdisk -BI da1 #Initialize your new disk). If it's still a FAT/DOS slice you might try deleting and recreating it as a native FreeBSD slice, I'm not entirely sure putting a bsdlabel on a FAT slice is going to do the right thing (although I could be wrong here) It seems that you are right. But this still confuses me: # dd if=/dev/zero of=/home/minidisk.bin bs=1k count=10 . # mdconfig -a -t vnode -f /home/minidisk.bin -u 2 # ls /dev/md2* /dev/md2 # bsdlabel -w md2 # ls /dev/md2* /dev/md2/dev/md2a /dev/md2c # bsdlabel -e md2 .. # ls /dev/md2* /dev/md2/dev/md2b /dev/md2d /dev/md2a /dev/md2c /dev/md2e and then # fdisk /dev/md2 *** Working on device /dev/md2 *** The data for partition 1 is: sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD) start 63, size 192717 (94 Meg), flag 80 (active) beg: cyl 0/ head 1/ sector 1; end: cyl 11/ head 254/ sector 63 The data for partition 2 is: UNUSED The data for partition 3 is: UNUSED The data for partition 4 is: UNUSED So bsdlabel was enough in this case. Why is this different from real hard disk? And one more question: is disk geometry data somehow written in fdisk W (write) actions? I mean, is it possible to spoil something on existing FreeBSD slices (which contain data) if I set wrong geometry for entire drive when I edit something in fdisk editor? Thank you very much SergiM ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD 6.2-REL, system lockup, recovers when keyboard pressed
Hi again all, Just an update on my problem (see below). I upgraded the box to 6.3-REL and the problem persisted -- exactly the same behaviour. I've narrowed the problem down to nfdump though -- without the NetFlow collectors (nfcapd) running, the box is rock solid. If anyone out there happens to have seen this problem (with nfdump and friends) before, or has some general advice for troubleshooting something like this (I suspect some system resource tuning may be required), please drop me a line. In the meantime, I'll head on over to the nfdump list. cheers, Dale On Thu, Feb 28, 2008 at 10:57 PM, Kris Kennaway [EMAIL PROTECTED] wrote: Dale Shaw wrote: Hi all, [...] I have a vanilla 6.2-RELEASE system running a bunch of network management type tools like RANCID, nfcapd, cacti and so on. After a few days of normal operation, the system (locked away in a data centre) falls off the network. Can't SSH to it, can't ping it. No ARP -- gone! I have no OOB access to this machine (it's a test box/play pen). I have a vague memory of something like this but cannot point to a specific commit that resolved it. Kris ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: USB printer
On Wed, 12 Mar 2008 15:14:20 -0400 Chuck Robey [EMAIL PROTECTED] wrote: You know, while there are printing utils that actually work on FreeBSD, I can't personally recommend CUPS. I keep on trying to get it to work on FreeBSD efvery year or so, then I need to go over to one of my other systems. Last one I tried was an Epson Stylus C84, but I've also tried HP officejets, and I just can't get locally attached printers to work with cups. I can get them to work with things like apsfilter very well, but either someone is going to have to fix the Cups port (it builds, but nothing locally runs) or stop recommending it. Or, does anyone else have it working on FreeBSD? Sure would like to hear about it, but I've been trying for a long time now, with no success. FWIW I had cups working (2 USB and 1 parellel) forever on three separate FreeBSD systems until last fall sometime. It had stopped working on each of them after an upgrade that I have long since forgot. After going through all of the removals and reinstalls, I compared what was installed on these systems with a Linux box that cups worked on. I found that I needed the /print/foomatic-db and /print/foomatic-de-engine ports. After I installed these two ports cups is working fine on my FreeBSD systems. HTH Robert ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: named questions.
jekillen wrote: Hello: I have named running as secondary server on v6.2 It will not start without a specific configuration file set on the command line. After doing some investigation it appears that that is because it runs chrooted and there is not a symlink from /etc/namedb. Is that a correct assumption? I read the man page and it specifies the default configuration file as /etc/namedb/named.conf and along with this file there are master and slave directories. Would I make the /etc/namedb/named.conf file to be a symlink to /var/named/etc/namedb/named.conf? What you've read is correct. chroot'ing does in fact prevent the program from traversing higher in the file hiarchy. This makes sense as to why you need to specify the configuration file on the command line. I presume named will read the configuration file prior to chrooting. I don't use named though as I have my preference, and can't be 100% without looking at the source code. A symlink does you no good do to my explanation above. If you chroot, you lose the ability to get into /var or vica versa. That's the whole purpose of 'change root'. There are some other entries in rc.conf related to named that appear in my primary nameserver rc.conf file that relate to getting it up at boot but I have lost root access to that machine so I cannot recover the rc.conf details and I do not remember what document- ation I was using to set it up. I was advised to start named as a user other than root but when I tried that named would not start because the user I set it to does not have write permission in the directory that has the pid file. named must be started as root in order to bind to port 53. Afterwards I assume it changes it's uid using some configuration setting. This is a standard practice now adays amongst utilities needing to bind to reserved ports. Check your config file to set the user you want to run the daemon as after it's done with it's initialization (i.e. binding to the port and creating the /var/run file), but remember you must physically start named as root in order to get named working correctly. When named starts at boot what user does it run as, by default? bind That's a guess based on the following: nat# fgrep bind /etc/passwd bind:*:53:53:Bind Sandbox:/:/usr/sbin/nologin Thank you for any guidance. Jeff K ___ 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: email pop3 question
David Banning wrote: I am using dovecot email on my server - Users can connect via IMAP or POP3. I have a user who is using pop3 but not removing the email from the server - so the email stays on the server, -and- it is collecting on their computer - as the emails build up, will there be a problem with this? For IMAP it stays on the server, so I assume the server will not be presented with any problem - but will the user suffer any problem eventually? The assumption that just because the user is using IMAP will alleviate any problems isn't necessarily true. I'd suggest getting over to the dovecot mailling lists and asking them specifically the same question. I don't use dovecot exclusively where I work, but generally when there is a problem, it's because of a user having way too much email. Whether the user keeps their mail on the server via pop or uses imap exclusively, the majority of the time it takes to grab headers and/or parse through all the emails is limited by disk. It's not uncommon for some of our users to have 4000+ emails in their inbox, and it's not uncommon for me to tell them why their pop/imap client is slow. ~Paul ___ 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: email pop3 question
On Wed, Mar 12, 2008 at 04:49:18PM -0400, David Banning wrote: I am using dovecot email on my server - Users can connect via IMAP or POP3. I have a user who is using pop3 but not removing the email from the server - so the email stays on the server, -and- it is collecting on their computer - as the emails build up, will there be a problem with this? Probably not. But it suggests to me that the user has probably misconfigured his pop client to not delete email after he's picked it up. Unless, he's using some peculiar kind of back-up strategy! For IMAP it stays on the server, so I assume the server will not be presented with any problem - but will the user suffer any problem eventually? He could do. The pop3 protocol is painfully slow and deleting thousands of emails that have built up is no fun. You have to write a script that deletes them one by one unless dovecot supports a delete all mode for pop3. You might want to drop them an email to tell them that their email isn't being deleted after collection. Here's a script for deleting them, if he wants it: #!/usr/local/bin/ksh # # Deletes mail off pop3 server # # Usage: e.g: Clear 3000 emails: # #$ clean_pop3 3000 | telnet popserver.net 110 username=user; password=pass; MAX_MESS=$1 [ $# -eq 0 ] exit 1 || : sleep 2 echo USER $username sleep 1 echo PASS $password sleep 2 while [[ $MAX_MESS -gt 0 ]] do echo DELE $MAX_MESS sleep 1 (( MAX_MESS -= 1 )) done sleep 2 echo QUIT sleep 2 -- Frank Contact info: http://www.shute.org.uk/misc/contact.html ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Best practice: sendmail and SMTP auth
I dont remember if it can be done by sendmail, but with exim it can be done easy. Doug Poland пишет: Hello, Not sure if this is the most appropriate place for this question, but since all my servers are FreeBSD 6.x/7.x, I'll give it a go... I am considering setting up SMTP auth on a number of sendmail instances that I control. After much googling and reading, it is not clear to me that a server with SMTP auth configured/enabled can relay mail in both auth and non-auth modes. If one sendmail configuration cannot accommodate both SMTP auth and access.db, does one setup a dedicated SMTP auth host with a SMART_HOST option and feed incoming email to an non-auth instance of sendmail? Sorry if my terminology is ambiguous, I'm not a sendmail professional by day. -- Regards, Doug ___ 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]
DRI on radeon 9500 using too wide memory bus?
I've had DRI running on a radeon 9500 for a while now, and at some point in time tracking 6-STABLE and continuing now on 7-STABLE I've started seeing rendering artifacts in gl in the form of a cross-hatch pattern of pixels that don't get filled. At first I figured the card was failing, but I remembered a fact about the 9500 that made me doublethink that. The radeon 9500 is an r300 chipset, and differs from the 9700 only in the width of the memory bus (128 bit vs 256 bit) and possibly clock speed. If memory serves, the chip itself had the capacity to address 256 bits, but most 9500s just went out the door with 128 bit memory. I remember at one point in time trying out a hack to the 9500 driver that enabled the 256 bit bus to see if I had a rebadged 9700, and had similar artifacts. So I decided to peruse my X logs, and sure enough I see: (--) RADEON(0): Mapped VideoRAM: 131072 kByte (256 bit DDR SDRAM) Is it possible that the radeon driver is using the 256 bus? Is there a way to force it to use a 128 bit bus? Has anyone else seen this? Thanks, Reid ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]