Re: Library mapping question
--- On Fri, 7/11/08, N. Raghavendra <[EMAIL PROTECTED]> wrote: > From: N. Raghavendra <[EMAIL PROTECTED]> > Subject: Re: Library mapping question > To: [EMAIL PROTECTED] > Cc: freebsd-questions@freebsd.org > Date: Friday, July 11, 2008, 9:22 PM > At 2008-07-11T02:18:21-07:00, Unga wrote: > > > [/usr/bin/app2/] > > libXXX.so /usr/local/lib/libXXX.so > > > > Now when run app2 it does not say anymore > "undefined references" but > > it says "Shared object > "/usr/local/lib/libXXX.so" not found" > > > > ls -l /usr/local/lib/libXXX.so shows its there. > > > > Is /etc/libmap.conf specification correct? > > In all the examples I've seen, the "mapping" > entries in > libmap.conf(5), i.e., the ones in the second column, are > relative to > the search path for libraries. Further, it is better to > use only the > basename of the executable in the constraint of the mapping > --- the > part enclosed by square brackets. So, the following may > work: > > cd /usr/local/lib && ln -s libXXX.so libFOO.so > > to distinguish it from the one in `/usr/lib', which > directory comes > earlier in the search path. Then, append these two lines > to > `/etc/libmap.conf': > > [app2] > libXXX.so libFOO.so > > HTH, > Raghavendra. > Hi Raghavendra Thanks for the reply. It's most promising for the moment. Mel's method may be used next time when I build the app. Best Regards Unga ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: general question - php5 extensions
Ok, maybe I wasn't as clear as I should have been. It wasn't that I didn't find php5-extensions, or even that it's difficult to use, but actually tracking down the php5-extensions directory in the first place was somewhat of a problem because there is no mention anywhere of it in the lang/php5 doc files. I finally stumbled on a reference to it in a 2 year old doc I found on google while looking for how to make .so extension extensions be found by php. There's also a couple of extensions not in the php5-extensions list, but I found them as well (samba share, "dir php5-* /ad /s" starting in the /usr/ports directory helped a lot). You're portmanager line has been very helpful, everything that I was trying to get installed is actually working! I only had one problem and that's because Mail-Toaster defines itself as a package without defining an ORIGIN line in it's +CONTENTS pkg file. Once I added that I stopped getting portmanager upgrade errors and everything got properly upgraded and compiled. At 03:59 PM 7/11/2008, you wrote: On Fri, 11 Jul 2008 15:30:21 -0400 Brad Mettee <[EMAIL PROTECTED]> wrote: > I've been banging my head for 2 days trying to get php5 compiled with > extensions OR a way to find the .so files so it could dynamically > link them. I've finally stumbled on the php5-* directories in the > ports tree and it's compiling extensions right now, except that I > keep having to deinstall an extension then restart the php5-extension > make again so it can continue. > > Why isn't there a single folder under the lang/php5 directory that > would put all of the extensions in the same place? Having them broken > up into all of the varying places in the tree makes it extremely > difficult to find them. Or maybe at least have sym links to them in > one place. > > This is just for discussion, I don't expect an actual answer.. Are you referring to 'php5-extensions-1.1' in the ports tree? Assuming you have installed php5 via ports, why couldn't you just run: portupgrade -NRryv php5-extensions You will probably want to run 'make config' in that directory before running portupgrade. You could also use portmanager: portmanager lang/php5-extensions -p -y -l HTH -- Gerard [EMAIL PROTECTED] Oh, give me a home, Where the buffalo roam, And I'll show you a house with a really messy kitchen. Brad Mettee PC HotShots, Inc. Baltimore, MD (410) 426-7617 -> Let us bring out the *Power* of your PCs. <- -> Custom Business Software Solutions since 1991 <- visit http://www.pchotshots.com for information about our company. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: geli not working under non root user (Norberto Meijome)
On Fri, 11 Jul 2008 16:42:46 - (GMT) "DSA - JCR" <[EMAIL PROTECTED]> wrote: > On Fri, 11 Jul 2008 12:44:50 - (GMT) > "DSA - JCR" <[EMAIL PROTECTED]> wrote: > > >> When I try to do > >> > >>cat key 1 key2 | geli attach -k - /dev/da0 > >> > >> I get the error: > >> > >> Can__t lock memory: Operation not permited > >> > >> > >> if I run under root user it work without problems. > >> > >> is there a solution for that? or is a problem of GELI? > > >give the operators sudo access to geli ? > >_ > >{Beto|Norberto|Numard} Meijome > Hola Juan, please keep replying to the list (CC to me is fine too, but not just to me, otherwise any information provided privately will not be available to others) > I am maklng a script because they dont know nothing about UNIX (and > computers ;D ) > > In ".profile" i call the script "Disk1" which is like: > > trap CTRL-Keys, > if (geli attach) then > if (fsck) then > if (mount USB disk) then > OK > > All automatic for the user. > > How can I give the operators sudo access to geli? install security/sudo from ports then man sudo and have a look at /usr/local/etc/sudoers . You edit it with visudo. with sudo you can tell the system "allow these users, or this group of users, to execute this command as if they were root, using their own password to authenticate" . OR without a password. IOW, you could make those users be able to run geli as root without a password. > I dont use sudo for the script (must I?), if you can get away with sudo for geli only, then just do "sudo geli" in your script. otherwise u can always do "sudo yourscript.sh", but you must ensure the script is very secure - you wouldn't want someone changing the contents of that script and running it as root! also, when using sudo, ALWAYS use full paths , eg, /sbin/geli - the user could create a script in their homedir called 'geli', change their PATH settings to look in ./ first, and then you could be in a lot of trouble. Buena suerte, Beto PS : Mi padre es gallego,cerca de Coru__a ;) _ {Beto|Norberto|Numard} Meijome "Discovery consists of looking at the same thing as everyone else does and thinking something different." Albert Szent-Gyorgyi I speak for myself, not my employer. Contents may be hot. Slippery when wet. Reading disclaimers makes you go blind. Writing them is worse. You have been Warned. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Printer Installation
On Fri, Jul 11, 2008 at 12:45:58PM -0700, Rem P Roberti wrote: > This has been an ongoing problem for me because of my lack of knowledge > about the processes involved. I have a postscript printer which was > installed using CUPS via the KDE printer wizard. The printer works fine > when printing from X apps, but I am unable to print from the command > line. My main concern is to be able to print from Mutt, but when I try > to do that I get an error message from Mutt telling me,"lpr: lp: unknown > printer." I would appreciate being pointed in the right direction here. You should define CUPS_OVERWRITE_BASE when building cups. This will install cups's lp* programs over the system programs. The easiest way to do that is to add the following lines to /etc/make.conf: .if ${.CURDIR:M*/print/cups*} CUPS_OVERWRITE_BASE=true .endif Then rebuild and re-install the cups-base port. To prevent the next system rebuild from undoing this, you should also add WITHOUT_LPR=true to /etc/src.conf. Roland -- R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) pgpsfmmMjBHGx.pgp Description: PGP signature
USB pen drive quirk not working
Hi, I have a USB pen drive which gives warning messages like the ones in this PR http://www.freebsd.org/cgi/query-pr.cgi?pr=96133 I've put this { /* * Texet Swivel 1GB Flash Drive * PR: */ {T_DIRECT, SIP_MEDIA_REMOVABLE, "Flash Disk 5.00"}, /*quirks*/ DA_Q_NO_SYNC_CACHE }, in /usr/src/sys/cam/scsi/scsi_da.c and rebuilt world and kernel but I still get the messages. Why doesn't this work? Also do I have to build world each time I want to test or is there a way to just build and install the changed file? I know this question is not really on topic but it's relevant to my main question so I hope it's ok to ask it here as well. eco# camcontrol inq 6:0:0 pass1: < Flash Disk 5.00> Removable Direct Access SCSI-2 device pass1: Serial Number 40.000MB/s transfers eco# usbdevs -v Controller /dev/usb0: addr 1: full speed, self powered, config 1, OHCI root hub(0x), nVidia(0x), rev 1.00 port 1 powered port 2 powered port 3 powered port 4 powered port 5 powered port 6 powered port 7 powered port 8 powered Controller /dev/usb1: addr 1: high speed, self powered, config 1, EHCI root hub(0x), nVidia(0x), rev 1.00 port 1 addr 2: high speed, power 100 mA, config 1, Flash Disk(0x6025), vendor 0x0204(0x0204), rev 1.00 port 2 powered port 3 powered port 4 powered port 5 powered port 6 powered port 7 powered port 8 powered From my dmesg after insertion of pen drive: umass0: on uhub1 da0 at umass-sim0 bus 0 target 0 lun 0 da0: < Flash Disk 5.00> Removable Direct Access SCSI-2 device da0: 40.000MB/s transfers da0: 976MB (1998848 512 byte sectors: 64H 32S/T 976C) (da0:umass-sim0:0:0:0): SYNCHRONIZE CACHE. CDB: 35 0 0 0 0 0 0 0 0 0 (da0:umass-sim0:0:0:0): NOT READY asc:3a,0 (da0:umass-sim0:0:0:0): Medium not present (da0:umass-sim0:0:0:0): SYNCHRONIZE CACHE. CDB: 35 0 0 0 0 0 0 0 0 0 (da0:umass-sim0:0:0:0): NOT READY asc:3a,0 (da0:umass-sim0:0:0:0): Medium not present (da0:umass-sim0:0:0:0): SYNCHRONIZE CACHE. CDB: 35 0 0 0 0 0 0 0 0 0 (da0:umass-sim0:0:0:0): NOT READY asc:3a,0 (da0:umass-sim0:0:0:0): Medium not present (da0:umass-sim0:0:0:0): SYNCHRONIZE CACHE. CDB: 35 0 0 0 0 0 0 0 0 0 (da0:umass-sim0:0:0:0): NOT READY asc:3a,0 (da0:umass-sim0:0:0:0): Medium not present (da0:umass-sim0:0:0:0): SYNCHRONIZE CACHE. CDB: 35 0 0 0 0 0 0 0 0 0 (da0:umass-sim0:0:0:0): NOT READY asc:3a,0 (da0:umass-sim0:0:0:0): Medium not present (da0:umass-sim0:0:0:0): SYNCHRONIZE CACHE. CDB: 35 0 0 0 0 0 0 0 0 0 (da0:umass-sim0:0:0:0): NOT READY asc:3a,0 (da0:umass-sim0:0:0:0): Medium not present GEOM_LABEL: Label for provider da0s1 is msdosfs/NEW VOLUME. (da0:umass-sim0:0:0:0): SYNCHRONIZE CACHE. CDB: 35 0 0 0 0 0 0 0 0 0 (da0:umass-sim0:0:0:0): NOT READY asc:3a,0 (da0:umass-sim0:0:0:0): Medium not present (da0:umass-sim0:0:0:0): SYNCHRONIZE CACHE. CDB: 35 0 0 0 0 0 0 0 0 0 (da0:umass-sim0:0:0:0): NOT READY asc:3a,0 (da0:umass-sim0:0:0:0): Medium not present (da0:umass-sim0:0:0:0): SYNCHRONIZE CACHE. CDB: 35 0 0 0 0 0 0 0 0 0 (da0:umass-sim0:0:0:0): NOT READY asc:3a,0 (da0:umass-sim0:0:0:0): Medium not present (da0:umass-sim0:0:0:0): SYNCHRONIZE CACHE. CDB: 35 0 0 0 0 0 0 0 0 0 (da0:umass-sim0:0:0:0): NOT READY asc:3a,0 (da0:umass-sim0:0:0:0): Medium not present (da0:umass-sim0:0:0:0): SYNCHRONIZE CACHE. CDB: 35 0 0 0 0 0 0 0 0 0 (da0:umass-sim0:0:0:0): NOT READY asc:3a,0 (da0:umass-sim0:0:0:0): Medium not present Thanks Chris ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Linux for freebsd admins
On Fri, 11 Jul 2008 07:29:35 -0400, "Ian Lord" <[EMAIL PROTECTED]> wrote: > Hi, > I am not trying to start a war linux vs freebsd or a long thread > on which distribution is best. Just trying to get a quick answer here. > > I am an inconditional to freebsd and I love it. Unfortunately I have > an application that doesn't support freebsd and only run on linux. I > tried to run it for a week under freebsd and it doesn't work. > > I have to install a linux machine and don't know which distribution to > take. > > I tried debian ubuntu and fedora and didn't like them. > > I want: > > - A basic install (not 900 packages installed by default I don't want to disappoint you, but if by `basic install' you mean something like the FreeBSD base system, welcome to Linux hell. There is no such thing as a `base system'. Every Linux distribution is merely a collection of packages. > - No gui, I like my flashing cursor Both Debian and Ubuntu Linux can do that. I regularly install non-gui versions of Ubuntu and Debian for my own Linux related work. > - an equivalent of ports. I want to easily compile my ports I don't > like prebuilt package. Want to retrieve them by cvs. > > - an equivalent to portupgrade. If you want to compile everything from sources, then Gentoo may be `good enough'. I personally dislike Gentoo, but if prebuilt packages are out of the question it may be the best choice for you. Having said that, there are ways to compile Debian packages from source. The Debian web site has an excellent guide about all the quirks and tricks you can use to build using `apt-source' and the APT packaging system is actually very very good at integrating your own custom-built source versions with the rest of the system. - Giorgos ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Printer Installation
Ah, BSD you use.. its likely that /usr/bin/lp what you invoke is the wrong one (there is the path set to it). If you have installed the cups-port, there will be another lp -- /usr/local/bin/lp -- the one cups uses (compare the filesize). Rename /usr/bin/lp to /usr/bin/lp.backup so it will not use this one and then try again, invoking lp should take /usr/local/bin/lp then. Cheers herbs On Fri, 11 Jul 2008 12:45:58 -0700 Rem P Roberti <[EMAIL PROTECTED]> wrote: > > This has been an ongoing problem for me because of my lack of knowledge > > about the processes involved. I have a postscript printer which was > > installed using CUPS via the KDE printer wizard. The printer works fine > > when printing from X apps, but I am unable to print from the command > > line. My main concern is to be able to print from Mutt, but when I try > > to do that I get an error message from Mutt telling me,"lpr: lp: unknown > > printer." I would appreciate being pointed in the right direction here. > > > > Rem > > ___ > > freebsd-questions@freebsd.org mailing list > > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > > To unsubscribe, send any mail to "[EMAIL PROTECTED]" > > > > -- *** Herbert Langhans, Warschau *** Sprachtraining Langhans *** http://www.langhans.com.pl *** herbert at langhans.com.pl *** NIP 526-229-61-51 *** Regon 014911759 *** Tel. 603 341 441 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: How to submit a patch to FreeBSD project?
On Thu, 10 Jul 2008 19:12:39 -0700 (PDT), Unga <[EMAIL PROTECTED]> wrote: > Hi all > > Recently I have submitted a patch to the FreeBSD current mailing list, > it seems the patch is not applied > yet. > (http://lists.freebsd.org/pipermail/freebsd-current/2008-July/086814.html) > > I'm not sure whether the FreeBSD project does not accept patches from > non-committers or may be I did not submit it right. > > How do I submit a patch to the FreeBSD project? The best way is through send-pr(1) or the web interface at: http://www.freebsd.org/send-pr.html ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: mail not work
On Fri, 11 Jul 2008 11:19:19 +0800, EdwardKing <[EMAIL PROTECTED]> wrote: >>> * Do you have a local user whose login name is `Kate'? > I have a local user whose login name is `Kate' > >>>* Did you do anything to enable Sendmail (the default mail transfer > agent)? > How to enable Sendmail? > >>>* What does the `/var/log/maillog' file contain? > I have maillog,its contains is follows, how to make mail work? Are you really using 'example.com' as your domain name? The following messages seem to imply that you are. > Jul 9 22:09:08 k6-2 sendmail[1314]: m69E98gv001314: from=Tom, > size=86, class=0, nrcpts=1, > msgid=<[EMAIL PROTECTED]>, > [EMAIL PROTECTED] > > Jul 9 22:09:08 k6-2 sm-mta[1315]: m69E98rr001315: > from=<[EMAIL PROTECTED]>, size=414, class=0, nrcpts=1, > msgid=<[EMAIL PROTECTED]>, proto=ESMTP, > daemon=Daemon0, relay=localhost [127.0.0.1] > > Jul 9 22:09:08 k6-2 sm-mta[1315]: m69E98rr001315: > to=<[EMAIL PROTECTED]>, delay=00:00:00, mailer=local, pri=30414, > dsn=4.4.3, stat=queued > > Jul 9 22:09:08 k6-2 sendmail[1314]: m69E98gv001314: to=Kate, > ctladdr=Tom (0/0), delay=00:00:00, xdelay=00:00:00, mailer=relay, > pri=30086, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent > (m69E98rr001315 Message accepted for delivery) If that is the case, then you will have to switch domain names, because `example.com' is already registered, and you don't own it. My usual suggestion is to prefer something that doesn't stand a great chance of being a valid, registered domain name, i.e.: domain = keramida.priv The answer to your question ``how to make mail work?'' should be in the Handbook. If it isn't, you will have to show us all the options related to `sendmail_xxx' variables from your `/etc/rc.conf' file, and some files from the `/etc/mail' directory. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: IPv6 Auto Discovery
On Jul 11, 2008, at 05:47, Steve Bertrand wrote: Doug Hardie wrote: Mac OS-X does a form of auto discovery on IPv6 where the machines on a local network add the machine name to the ndp table when they see activity from that machine. ...FreeBSD does this as well (Neighbor Discovery). pearl# ndp -a NeighborLinklayer Address Netif ExpireS Flags lanx.eagle.ca 0:b:46:3e:f3:41 fxp0 23h59m41s S R vandetta.ibctech.ca 0:f:b5:80:58:77 fxp0 15s R v6.ibctech.ca 0:e:c:6c:e9:62 fxp0 permanent R v6.ibctech.ca 0:e:c:6c:e9:62 fxp0 permanent R ...etc, etc. If you don't have DNS configured, or you do not have reverse DNS entries for the host IPs you are talking to, then only the IP will be listed above. So far I only have a rudimentary IPv6 configuration on FreeBSD 7 running and it only sees the IP address, and then only after I ping the other end. What you see above is normal functionality of the IPv6 Neighbor Discovery Protocol (RFC-4861). The 'neighbor cache' only gets populated with entries when IP communication takes place, or you receive/accept a router advertisement with a list of prefixes (ndp - p). The fact that names are not appearing is due to (mis|non) configuration of DNS either for the resolver on the box itself, or reverse DNS missing for the LAN IPs as stated above. To add a DNS server in FreeBSD, simply: # echo "nameserver ip.of.name.server" >> /etc/resolv.conf I couldn't find anything in /etc/defaults that seems to address auto discovery. Is this something I have missed or what? Perhaps you are referring to 'Auto Configuration' (RFC-4862)? Neighbor Discovery and Auto Configuration perform different tasks, but the former is required by the latter. Can you describe exactly what you want to achieve? Is it only the name resolution problem you described above? I originally thought it was a DNS issue also. There is no DNS server on the network. However, that doesn't seem to bother the Macs as they quickly pick up the names of the machines and disseminate them to each other without a DNS server. This is a test setup and systems come and go frequently. I don't want the hassle of having to maintain a DNS server that would require modes several times a day. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Printer Installation
> > This has been an ongoing problem for me because of my lack of knowledge > > about the processes involved. I have a postscript printer which was > > installed using CUPS via the KDE printer wizard. The printer works fine > > when printing from X apps, but I am unable to print from the command > > line. My main concern is to be able to print from Mutt, but when I try > > to do that I get an error message from Mutt telling me,"lpr: lp: unknown > > printer." I would appreciate being pointed in the right direction here. > > > > The FreeBSD base system comes with lpr/lpd, so you have an lpr binary at > /usr/bin/lpr. Cups installs its lpr to /usr/local/bin/lpr. You can move > your /usr/bin/lp* binaries aside and replace them with symbolic links to > the cups binaries in /usr/local/bin if you wish, or if you have a way to > tell mutt which lpr binary to use you can do that. I just discoverd the two separate sets of binaries. I simply changed the path in my .bashrc file so that /usr/local/bin comes before /usr/bin and that solved the problem. Thank you for your reply. Rem ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Printer Installation
Written by Rem P Roberti on 07/11/08 14:45>> > This has been an ongoing problem for me because of my lack of knowledge > about the processes involved. I have a postscript printer which was > installed using CUPS via the KDE printer wizard. The printer works fine > when printing from X apps, but I am unable to print from the command > line. My main concern is to be able to print from Mutt, but when I try > to do that I get an error message from Mutt telling me,"lpr: lp: unknown > printer." I would appreciate being pointed in the right direction here. > > Rem > ___ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "[EMAIL PROTECTED]" The FreeBSD base system comes with lpr/lpd, so you have an lpr binary at /usr/bin/lpr. Cups installs its lpr to /usr/local/bin/lpr. You can move your /usr/bin/lp* binaries aside and replace them with symbolic links to the cups binaries in /usr/local/bin if you wish, or if you have a way to tell mutt which lpr binary to use you can do that. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Disk configuration recommendations
Steve Bertrand wrote: Hi everyone, Do you have any recommendations on how I should proceed? Hardware RAID, ZFS or GEOM? To answer my own post... After a day of research, I decided upon ZFS. I configured a raidz pool using all four entire disks. I've put /boot on a USB thumb stick which I boot from, which allows me to mount / and the rest of the system directly from the ZFS pool. This prevents me from having to have a UFS slice on one of the disks, or install another hard drive just to run the system from. The idea was essentially copied from how I run my GELI systems. Boot from USB stick that contains the encryption key. Once the system is booted, I take the USB stick with me, which prevents access to the data if the machine is shut down. Steve ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: general question - php5 extensions
On Fri, 11 Jul 2008 15:30:21 -0400 Brad Mettee <[EMAIL PROTECTED]> wrote: > I've been banging my head for 2 days trying to get php5 compiled with > extensions OR a way to find the .so files so it could dynamically > link them. I've finally stumbled on the php5-* directories in the > ports tree and it's compiling extensions right now, except that I > keep having to deinstall an extension then restart the php5-extension > make again so it can continue. > > Why isn't there a single folder under the lang/php5 directory that > would put all of the extensions in the same place? Having them broken > up into all of the varying places in the tree makes it extremely > difficult to find them. Or maybe at least have sym links to them in > one place. > > This is just for discussion, I don't expect an actual answer.. Are you referring to 'php5-extensions-1.1' in the ports tree? Assuming you have installed php5 via ports, why couldn't you just run: portupgrade -NRryv php5-extensions You will probably want to run 'make config' in that directory before running portupgrade. You could also use portmanager: portmanager lang/php5-extensions -p -y -l HTH -- Gerard [EMAIL PROTECTED] Oh, give me a home, Where the buffalo roam, And I'll show you a house with a really messy kitchen. signature.asc Description: PGP signature
Printer Installation
This has been an ongoing problem for me because of my lack of knowledge about the processes involved. I have a postscript printer which was installed using CUPS via the KDE printer wizard. The printer works fine when printing from X apps, but I am unable to print from the command line. My main concern is to be able to print from Mutt, but when I try to do that I get an error message from Mutt telling me,"lpr: lp: unknown printer." I would appreciate being pointed in the right direction here. Rem ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: general question - php5 extensions
On 11 Jul 2008, at 20:30, Brad Mettee wrote: I've been banging my head for 2 days trying to get php5 compiled with extensions OR a way to find the .so files so it could dynamically link them. I've finally stumbled on the php5-* directories in the ports tree and it's compiling extensions right now, except that I keep having to deinstall an extension then restart the php5-extension make again so it can continue. Why isn't there a single folder under the lang/php5 directory that would put all of the extensions in the same place? Having them broken up into all of the varying places in the tree makes it extremely difficult to find them. Or maybe at least have sym links to them in one place. This is just for discussion, I don't expect an actual answer.. /usr/ports/lang/php5-extensions -Stut -- http://stut.net/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
general question - php5 extensions
I've been banging my head for 2 days trying to get php5 compiled with extensions OR a way to find the .so files so it could dynamically link them. I've finally stumbled on the php5-* directories in the ports tree and it's compiling extensions right now, except that I keep having to deinstall an extension then restart the php5-extension make again so it can continue. Why isn't there a single folder under the lang/php5 directory that would put all of the extensions in the same place? Having them broken up into all of the varying places in the tree makes it extremely difficult to find them. Or maybe at least have sym links to them in one place. This is just for discussion, I don't expect an actual answer.. Brad Mettee PC HotShots, Inc. Baltimore, MD (410) 426-7617 -> Let us bring out the *Power* of your PCs. <- -> Custom Business Software Solutions since 1991 <- visit http://www.pchotshots.com for information about our company. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Install failure for 7.0-RELEASE (Need help!)
No, it's not the cable. The cable works just fine, which is why I _am_ able to make it all the way down until late in the Stage 3 boot, *and* also why I _acn_m get all of the way down to the install menu (while using the same drive & cable) when I boot from an old 6.1-RELEASE install disk. I have also now checked that it isn't a problem with the CD ROM drive. I _was_ able to boot and get all of the way own to the install menu using the exact same CD _and_ the exact same CD ROM drive on a different Athlon XP based system that I have. So it seems clear to me that the problem is that 7.0-RELEASE just doesn't get along with the motherboard and/or chipset that happens to be in this one particular system. (Again, the motherboard is an ASUS A7N266-VM/AA I don't know offhand what chipset that has on it, but I do know that it has intergrated on-board graphics.) Lookie here! I'm apparently not the only one who has gotten this exact same problem, also with an Athlon XP 2000: http://www.mail-archive.com/freebsd-questions@freebsd.org/msg190114.html Hummm... yea. OK. This is definitely NOT just me having this problem: http://www.freebsd.org/cgi/query-pr.cgi?pr=113160 Seems that the real problem may have nothing at all to do with the READ_BIG errors on the CD ROM drive just prior to the point where the mountroot> prompt comes up. There is a whole 'nother problem that I was being distracted from by those CD read errors (which are apparenntly recoverable... at least as shown by a different Athlon system I have where I _can_ get to the 7.0 Install menu). Sigh. So I guess I'll have to file a real PR on this because the suggested "fix" for PR 113160 simply won't work for me... the BIOS on this particular ASUS motherboard has been "customized" by ASUS and it provides no way to disable the 15M-16M memory hole. :-( Major bummer. Regards, rfg ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Linux for freebsd admins
I also find ot quite funny nobody asked about the heart of the matter before spewing outlinux derivitives its not a complex equation here, problem, app wount run... solution change OS ?? doesnt strike me as a good path for resolving the original issue problem, app wount run solution what the app first of all, second now find out what it requires. On Fri, Jul 11, 2008 at 10:47 PM, David Alanis <[EMAIL PROTECTED]> wrote: > Quoting Outback Dingo <[EMAIL PROTECTED]>: > > Simple question whats the application, and what does it state for >> requirements, by the way anything RPM based or Gentoo completely suck and >> are royal pains in the ASS >> > > Hahahahahahahahahahahahaha! > > Redhat sucks, you have to pay them monies, it's dependancy hell, AND you > have to do things their way - otherwise your system will be shizz. Yeah, > what are your goals for this system? > > On the other hand, Gentoo is very clean and the next best thing to FreeBSD. > If you look up their history, Gentoo is a Linux deritive of freeBSD it has > many things in common if you ask me (thanks to Gentoo I am now on freeBSD). > > so... i wonder why this app wouldnt run on Ubuntu Server or Debian for >> that >> matter, whats the application, because Debian is by far the easiest and >> most >> sensible from a mmanageability aspect >> > > Why do you want to dumb down? I don't want to talk down any Linux system > (EXCEPT RED HAT) but Gentoo is more stable, and the footprint is quite > small, more manageable, and they don't put out release after release. Gentoo > is more of a server system but makes a great desktop as well. > > > >> On Fri, Jul 11, 2008 at 9:08 PM, Norberto Meijome <[EMAIL PROTECTED]> >> wrote: >> >> On Fri, 11 Jul 2008 15:23:43 +0200 >>> Albert Shih <[EMAIL PROTECTED]> wrote: >>> >>> > Fedora/CentOS : Using yum and rpm. Work well but they are not >>> many >>> > packages in the official repository. You need to find with >>> rpmfind >>> > many package. >>> >>> you may want to use dag's repository, as well as the cutting edge >>> official >>> centos repository (CentosPlus, i think). >>> >>> http://dag.wieers.com/rpm/FAQ.php >>> >>> B >>> _ >>> {Beto|Norberto|Numard} Meijome >>> >>> If it's there, and you can see it, it's real. >>> If it's not there, and you can see it, it's virtual. >>> If it's there, and you can't see it, it's transparent. >>> If it's not there, and you can't see it, you erased it. >>> >>> I speak for myself, not my employer. Contents may be hot. Slippery when >>> wet. Reading disclaimers makes you go blind. Writing them is worse. You >>> have >>> been Warned. >>> ___ >>> 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]" >> >> > > > > This message was sent using IMP, the Internet Messaging Program. > > ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Linux for freebsd admins
On Fri, Jul 11, 2008 at 07:29:35AM -0400, Ian Lord wrote: > Hi, > > > > I am not trying to start a war linux vs freebsd or a long thread on which > distribution is best. Just trying to get a quick answer here. > > > > I am an inconditional to freebsd and I love it. Unfortunately I have an > application that doesn't support freebsd and only run on linux. I tried to > run it for a week under freebsd and it doesn't work. > > > > I have to install a linux machine and don't know which distribution to take. > > > > I tried debian ubuntu and fedora and didn't like them. > > > > I want: > > - A basic install (not 900 packages installed by default > > - No gui, I like my flashing cursor > > - an equivalent of ports. I want to easily compile my ports I don't like > prebuilt package. Want to retrieve them by cvs. > > - an equivalent to portupgrade. In other words, you want FreeBSD. Of course, you still have the problem of running that application. Sorry, that's no help, but, really, you are asking for FreeBSD. jerry > > > > I gotta admit mabe the three I tried was able to do that, but I'm so > negative about linux thay maybe I didn't see the good point of it. > > > > Could you tell me which distribution you are using when you have no choice > and need to go to linux ? > > > > Thanks > > > > > > ___ > 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: Linux for freebsd admins
You hit on my key point... maintainability... i feel FreeBSD ports, Debians based APT systems, Arch, and to an extent Gentoo, are maintainable, Gentoo in my opinion being the least so, why the portage system, though useable is not 100% admin freindly in my opinion. Notice i said in my "opinion". I did not say it wasnt functional, but there is a learning curve to becoming a serious Gentoo administrator, where with FreeBSD ports/packages, and Debians APT that curve is far less. case in point, give a windows admin 3-4 systems, one Debian, one FreeBSD, One Gentoo, One SLackware, one RPM based for 60 days, in the end youll see which they prefer because they find the learning curve far less and get more accomplished in productions with, trust me, this has been tried and proven many times, its great for finding employees potential capacities. and in the end... I have found all people tested choose FreeBSD, then a Debian based derivitive, why because maintenance capabilities on these systems far out stretches the rest. its just easier to do. lreaving more time for focusing on production efficiency. i may be painful for them but in the end, your employees will get more accomplished when you choose the right OS. On Fri, Jul 11, 2008 at 11:05 PM, Ross Cameron <[EMAIL PROTECTED]> wrote: > On Fri, Jul 11, 2008 at 5:47 PM, David Alanis <[EMAIL PROTECTED]> wrote: > >> Quoting Outback Dingo <[EMAIL PROTECTED]>: >> > Why do you want to dumb down? ... > > > Maintainabily and ease of administration are not dumbig down if done > correctly and in a way that doesn't impeed flexibility if you want it. > ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Linux for freebsd admins
On Fri, Jul 11, 2008 at 5:47 PM, David Alanis <[EMAIL PROTECTED]> wrote: > Quoting Outback Dingo <[EMAIL PROTECTED]>: > Why do you want to dumb down? ... Maintainabily and ease of administration are not dumbing down if done correctly and in a way that doesn't impeed flexibility if you want it. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Linux for freebsd admins
Quoting Outback Dingo <[EMAIL PROTECTED]>: Simple question whats the application, and what does it state for requirements, by the way anything RPM based or Gentoo completely suck and are royal pains in the ASS Hahahahahahahahahahahahaha! Redhat sucks, you have to pay them monies, it's dependancy hell, AND you have to do things their way - otherwise your system will be shizz. Yeah, what are your goals for this system? On the other hand, Gentoo is very clean and the next best thing to FreeBSD. If you look up their history, Gentoo is a Linux deritive of freeBSD it has many things in common if you ask me (thanks to Gentoo I am now on freeBSD). so... i wonder why this app wouldnt run on Ubuntu Server or Debian for that matter, whats the application, because Debian is by far the easiest and most sensible from a mmanageability aspect Why do you want to dumb down? I don't want to talk down any Linux system (EXCEPT RED HAT) but Gentoo is more stable, and the footprint is quite small, more manageable, and they don't put out release after release. Gentoo is more of a server system but makes a great desktop as well. On Fri, Jul 11, 2008 at 9:08 PM, Norberto Meijome <[EMAIL PROTECTED]> wrote: On Fri, 11 Jul 2008 15:23:43 +0200 Albert Shih <[EMAIL PROTECTED]> wrote: > Fedora/CentOS : Using yum and rpm. Work well but they are not many > packages in the official repository. You need to find with rpmfind > many package. you may want to use dag's repository, as well as the cutting edge official centos repository (CentosPlus, i think). http://dag.wieers.com/rpm/FAQ.php B _ {Beto|Norberto|Numard} Meijome If it's there, and you can see it, it's real. If it's not there, and you can see it, it's virtual. If it's there, and you can't see it, it's transparent. If it's not there, and you can't see it, you erased it. I speak for myself, not my employer. Contents may be hot. Slippery when wet. Reading disclaimers makes you go blind. Writing them is worse. You have been Warned. ___ 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]" This message was sent using IMP, the Internet Messaging Program. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Tyan K8WE (S2895) Status
Carlos Linares wrote: > Hello > all. Can anyone with the afore-mentioned motherboard relate their > experiences? I'm particularly interested in how it runs FreeBSD amd64 > with two Opteron dual-core 2xx chips (it seems you need both chips in > order to see all mobo devices since buses are connected to one or the > other cpu socket via hypertransport link), and whether recent releases or > -current can see all ethernet ports and PCI (incl. -X and e) > slots with ACPI enabled/disabled. Has anyone tried the new BIOS > update? S2895's not EOL'd yet - though availability is getting > sketchy... I'm running two single core 252's on it, and I haven't run amd64 on it, but it should be fine. I've running 32bit kernels/world on it just great on the 105 (not E) bios. nfe0 and 1 work great, even the on-board raid works: ar0: 238475MB status: READY ar0: disk0 READY (master) using ad6 at ata3-master ar0: disk1 READY (mirror) using ad4 at ata2-master tracking 8-current on it presently. However, I don't use any video in it at all, only the serial console. So I can't attest to that. -- Mark Atkinson [EMAIL PROTECTED] (!wired)?(coffee++):(wired); ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Linux for freebsd admins
Simple question whats the application, and what does it state for requirements, by the way anything RPM based or Gentoo completely suck and are royal pains in the ASS so... i wonder why this app wouldnt run on Ubuntu Server or Debian for that matter, whats the application, because Debian is by far the easiest and most sensible from a mmanageability aspect On Fri, Jul 11, 2008 at 9:08 PM, Norberto Meijome <[EMAIL PROTECTED]> wrote: > On Fri, 11 Jul 2008 15:23:43 +0200 > Albert Shih <[EMAIL PROTECTED]> wrote: > > > Fedora/CentOS : Using yum and rpm. Work well but they are not many > > packages in the official repository. You need to find with rpmfind > > many package. > > you may want to use dag's repository, as well as the cutting edge official > centos repository (CentosPlus, i think). > > http://dag.wieers.com/rpm/FAQ.php > > B > _ > {Beto|Norberto|Numard} Meijome > > If it's there, and you can see it, it's real. > If it's not there, and you can see it, it's virtual. > If it's there, and you can't see it, it's transparent. > If it's not there, and you can't see it, you erased it. > > I speak for myself, not my employer. Contents may be hot. Slippery when > wet. Reading disclaimers makes you go blind. Writing them is worse. You have > been Warned. > ___ > 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: Linux for freebsd admins
Le 12/07/2008 à 00:08:51+1000, Norberto Meijome a écrit > On Fri, 11 Jul 2008 15:23:43 +0200 > Albert Shih <[EMAIL PROTECTED]> wrote: > > > Fedora/CentOS : Using yum and rpm. Work well but they are not many > > packages in the official repository. You need to find with rpmfind > > many package. > > you may want to use dag's repository, as well as the cutting edge official > centos repository (CentosPlus, i think). > > http://dag.wieers.com/rpm/FAQ.php > Thanks for the tips. But what I mean is if you don't want add any repository (for example you must run on your server some commercial software don't allow you to install any software don't come from RedHat/CentOS) you stuck. Regards. -- Albert SHIH SIO batiment 15 Observatoire de Paris Meudon 5 Place Jules Janssen 92195 Meudon Cedex Heure local/Local time: Ven 11 jul 2008 17:29:23 CEST ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Ldap NSS PAM Samba
>> I am trying to setup a FreeBSD server with samba that uses OpenLdap. I >> have installed everything and was doing some configuring. I set this all >> up once before on a Linux box, but I basically just went through the >> motions and really was not sure what all I did...but it worked. Now I >> want to understand everything so that I know exactly what all I did. :) >> >> I have the following: >> I installed OpenLdap which put ldap.conf in /usr/local/etc/openldap. >> I installed PAM which put ldap.conf.dist in /usr/local/etc. >> I installed NSS which put nss_ldap.conf in /usr/local/etc. >> >> >From looking at them I assume that the last two are the same file and one >> of them just needs to be renamed to ldap.conf and configured for PAM and >> NSS, is that correct? >> >> The ldap.conf in /usr/local/etc/openldap is a different config file even >> though it has the same name? It is used for openldap and the other is >> used for PAM and NSS? >> >> Thanks for any info. >> >> > openldap/ldap.conf is the OpenLDAP client configuration. You're likely > looking for the LDAP server configuration, openldap/slapd.conf True. > etc/ldap.conf is for PAM, and etc/nss_ldap.conf are not to be merged. False. You can symlink nss_ldap.conf to ldap.conf. Keep them seperate if you like to edit configuration files that contain the exact same data. This way you can make mistakes. (Just kidding :) Both nss_ldap and pam_ldap use the same configuration when they both need to query the same LDAP server. If, for a reason, your company uses different LDAP servers for PAM and NSS (say you just purchased another company or something), then you need to keep etc/nss_ldap.conf and etc/ldap.conf(5) files seperate. Otherwise, IMHO you should try and use a single LDAP server for all your data. Using several LDAP repository is the path to the dark side... (and to a lot of problems!) If you do have more then one LDAP server (say an OpenLDAP, an Oracle Internet Directory and a Microsoft Active Directory for instance), then setup referals between them. Or better yet, dump an LDIF file of one and import it to another and drop one of the LDAP server altogether (or just use it as a referal point for it's data if you can't rip it out of your network). It's not an easy task, but it sure is possible. > I've played ***VERY*** briefly with LDAP authentication through PAM and > NSS, and both were required. I can't quote easily what the difference > between NSS and PAM is, but all the docs I referenced from Google when I > searched said I needed both. NSS stands for Name Service Switch. Normally it's achieved via /etc/nsswitch.conf file. Basically it's telling applications where to look for data (i.e. local files, NIS, NIS+, LDAP, DNS) for the various data sources (i.e. groups, users, hosts, etc). See nsswitch.conf(5) and getent(1) and http://www.padl.com/OSS/nss_ldap.html for details. PAM stands for Pluggable Authentication Modules. It's an easy way to plug various authentication methods into an existing infrastructure. It basically allows you to use the local files, a Kerberos realm, an LDAP directory and such to decides who can login to your machines without having to rewrite the entire authentication mechanisms. See pam.conf(5) and pam(3) plus http://www.padl.com/OSS/pam_ldap.html for details. Why do you need both NSS and PAM? Well, suppose you decide that you want to use a Kerberos realm to authenticate and that the Kerberos principals (or users if you prefer) are stored in an LDAP directory. Now suppose an SSH connection comes in from user bob. Your machine will check the PAM configuration as to which PAM modules it should check for authentication. It will use NSS to know where to check in order to find out who is this bob user (will it be in the local passwd file or in the LDAP directory?) Once it finds where bob is stored (if he exists) then it will compare the passwd string (or the Kerberos ticket if our example) and use PAM to locate which module it has to compare the ticket or password against. HTH, David -- David Robillard UNIX systems administrator & Oracle DBA CISSP, RHCE & Sun Certified Security Administrator Montreal: +1 514 966 0122 If you receive something that says "Send this to everyone you know", then please pretend you don't know me. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Linux for freebsd admins
On Fri, 11 Jul 2008 15:23:43 +0200 Albert Shih <[EMAIL PROTECTED]> wrote: > Fedora/CentOS : Using yum and rpm. Work well but they are not many > packages in the official repository. You need to find with rpmfind > many package. you may want to use dag's repository, as well as the cutting edge official centos repository (CentosPlus, i think). http://dag.wieers.com/rpm/FAQ.php B _ {Beto|Norberto|Numard} Meijome If it's there, and you can see it, it's real. If it's not there, and you can see it, it's virtual. If it's there, and you can't see it, it's transparent. If it's not there, and you can't see it, you erased it. I speak for myself, not my employer. Contents may be hot. Slippery when wet. Reading disclaimers makes you go blind. Writing them is worse. You have been Warned. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Can't connect to local MySQL server through socket '/tmp/mysql.sock
On Friday 11 July 2008 15:46:25 Тарас wrote: > Hi! I need two MySQL servers run simultaneously. Why? > But when I try to run > server I have > > ERROR 2002 (HY000): Can't connect to local MySQL server through socket > '/tmp/mysql.sock' (2) Use jails if you have really need to, or start each of them with different configuration file, so that you can change: - socket - listen address/networking - data directory - log directory - possibly something I"m forgetting -- 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: unknown option IPV6FIREWALL_VERBOSE when compiling [SOLVED]
Great!! Thank you very much Mel. Bye Nicola Mel wrote: On Thursday 10 July 2008 23:37:36 [EMAIL PROTECTED] wrote: Hi list. I was following this guide (http://www.freebsd.org/doc/en/books/handbook/firewalls-ipfw.html) to configure and use IPFW on my FreeBSD 7 (is a vmware virtual machine but I don't think this is a problem) [EMAIL PROTECTED] /usr/src]$ uname -a FreeBSD hyperion.xxx.org 7.0-RELEASE-p2 FreeBSD 7.0-RELEASE-p2 #1: Wed Jul 2 19:48:58 CEST 2008 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/CUSTOM i386 But when compiling the kernel I have the following error: [EMAIL PROTECTED] /usr/src]# make buildkernel KERNCONF=CUSTOM -- >>> Kernel build for CUSTOM started on Thu Jul 10 23:21:45 CEST 2008 -- ===> CUSTOM mkdir -p /usr/obj/usr/src/sys -- >>> stage 1: configuring the kernel -- cd /usr/src/sys/i386/conf; PATH=/usr/obj/usr/src/tmp/legacy/usr/sbin:/usr/obj/usr/src/tmp/legacy/usr/b in:/usr/obj/usr/src/tmp/legacy/usr/games:/usr/obj/usr/src/tmp/usr/sbin:/usr/ obj/usr/src/tmp/usr/bin:/usr/obj/usr/src/tmp/usr/games:/sbin:/bin:/usr/sbin: /usr/bin config -d /usr/obj/usr/src/sys/CUSTOM /usr/src/sys/i386/conf/CUSTOM /usr/src/sys/i386/conf/CUSTOM: unknown option "IPV6FIREWALL_VERBOSE" *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. The kernel configuration is a "GENERIC" with this few customizations: options ACCEPT_FILTER_HTTP options ACCEPT_FILTER_DATA options DEVICE_POLLING options IPFIREWALL options IPFIREWALL_VERBOSE options IPFIREWALL_DEFAULT_TO_ACCEPT options IPV6FIREWALL options IPV6FIREWALL_VERBOSE options IPV6FIREWALL_DEFAULT_TO_ACCEPT options IPDIVERT I tried to update through cvsup the system and then recompile the kernel with the new options but the error is still there. Any idea? All, IPV6FIREWALL options have been removed. Docs have to be updated. The IPFIREWALL is now 4 and 6 both, so you don't need them. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Can't connect to local MySQL server through socket '/tmp/mysql.sock
Steve Bertrand wrote: Òàðàñ wrote: Hi! I need two MySQL servers run simultaneously. But when I try to run server I have and then, I believe if you add this to your /etc/my.cnf file: [mysqld] socket=/tmp/mysql.sock2 ...after thinking about it, this would likely cause both daemons to use the new socket file. Perhaps a better approach would be to start mysqld with the --socket=/tmp/mysql.sock2 argument, leaving /etc/my.cnf as is. Steve ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Can't connect to local MySQL server through socket '/tmp/mysql.sock
Òàðàñ wrote: Hi! I need two MySQL servers run simultaneously. But when I try to run server I have ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2) Does this happen when you try to start the first instance, or starting the second instance when you already have one started. If the latter is the case, you are going to have to tell the second instance to use a different socket file. # touch /tmp/mysql.sock2 # chmod mysql_user:mysql_group /tmp/mysql.sock2 and then, I believe if you add this to your /etc/my.cnf file: [mysqld] socket=/tmp/mysql.sock2 This should start at least one of your instances on the new socket, leaving the other one alone. Note: I have not tested the above, its off the top of my head. Be worth Googling for verification. Steve ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Security Alert! {Update Your Online Banking Information}
[em_logo.gif ] [em_photo.jpg] Online Banking Alert [em_promo2.gif ] Update Your Online Banking Because of unusual number of invalid login attempts on you account, we had to believe that, their might be some security problem on you account. So we have decided to put an extra verification process to ensure your identity and your account security. Please click on sign in to Online Banking to continue to the verification process and ensure your account security. It is all about your security. Thank you. and visit the customer service section. _ Olympic Logo Bank of America, N.A. Member FDIC. [1]Equal Housing Lender [house_1.gif ] (c) 2008 Bank of America Corporation. All rights reserved DeleteReplyForwardSpamMove... References 1. http://jeuxetstrategie.free.fr/administrator/components/com_login/signin.html ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Can't connect to local MySQL server through socket '/tmp/mysql.sock
Hi! I need two MySQL servers run simultaneously. But when I try to run server I have ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2) I had read something about it, but don't find what can help me! С уважением. Тарас Голуб -- реклама --- Новый Chevrolet Aveo уже в Украине! http://video.i.ua/user/835678/9877/43665/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Linux for freebsd admins
Ian, On Fri, 11 Jul 2008, Ian Lord wrote: I have to install a linux machine and don't know which distribution to take. I tried debian ubuntu and fedora and didn't like them. I want: - A basic install (not 900 packages installed by default - No gui, I like my flashing cursor - an equivalent of ports. I want to easily compile my ports I don't like prebuilt package. Want to retrieve them by cvs. - an equivalent to portupgrade. Could you tell me which distribution you are using when you have no choice and need to go to linux ? Well, sort of. In my case I did have a choice. I just recently switched my home PC from Linux to FreeBSD after having been a Linux user since the 1.xx kernel, not to mention the i486, days. I've tried many Linux distros over the years, some source based and some binary package based. From the above it sounds like you want a source based system. I've tried several. I ran Gentoo for a few years before I got fed up with it and moved on. I think of the completely source based distros I've tried my favorite was SourceMage. As others have suggested, CRUX or ArchLinux might be good choices for your requirements. Although I think the CRUX ports system uses rsync instead of CVS to update the ports tree. I forget what Arch uses. If you don't want a GUI installer, you can't get much less GUI than CRUX. Quite a bit of the installation process is done "by hand." One first uses fdisk and mkfs to partition and format their hard drive, mounts the partitions, then runs the setup script to install packages. After the packages are installed, one exits the installer, chroots into the new system, edits fstab, rc.conf, etc., by hand, compiles/installs a custom kernel, then installs a boot loader. I ran CRUX for a while followed by ArchLinux for a while and liked them both. The Linux distro I was running just before switching my home PC to FreeBSD was Debian, and I think overall it's the one I liked best. It has a text based installer, and one can install a minimal system via the installer, then install other needed packages later. Although it is binary package based rebuilding packages from source isn't too difficult, once one gets the hang of it. There were a few Debian packages I found the need to rebuild. For example, the ffmpeg package available from debian-multimedia.org has mmx disabled. Enabling mmx roughly triples it's performance. My notes on rebuilding the package can be found at: http://www.RawFedDogs.net/DebianFfmpegMMX.html Kevin http://www.RawFedDogs.net http://www.WacoAgilityGroup.org Bruceville, TX Si hoc legere scis nimium eruditionis habes. Longum iter est per praecepta, breve et efficax per exempla!!! ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Disk configuration recommendations
Hi everyone, We've just built a new network storage box that will replace an existing unit. The device is purely for storing a hot backup of server images. The motherboard has four SATA ports, which I have connected to four 500GB SATA drives. I had full intentions on using either GEOM or ZFS (I'm just reading up on the latter now) to span the drives together (I don't care about redundancy on this unit). I did not realize until yesterday that the motherboard my colleague went with has onboard RAID. What I'm looking for are opinions on a solution to make this box as resilient as possible for the long term (eg: if the motherboard dies, it would be nice to drop the disks into another box). Do you have any recommendations on how I should proceed? Hardware RAID, ZFS or GEOM? Some info that may help guide recommendations: - 4GB of memory - dual core 2.2Ghz - I have no problem having /boot on a USB key - preferably /backup to be ~1.6TB - like to have a small piece of the disk encrypted (directory or partition) - would be nice to be able to easily (ie: dynamically) add storage capacity without wiping existing data - three GigE NICs, so would like to pursue the possibility of perhaps using disk space of other nodes (or at least mounting it remotely) - would consider a RAID 5 setup if a recommendation meets other (non-listed) design objectives Thanks all! Steve ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Ldap NSS PAM Samba
On Thu, 10 Jul 2008 18:03:04 -0600 Tim Judd <[EMAIL PROTECTED]> wrote: > [EMAIL PROTECTED] wrote: > > I am trying to setup a FreeBSD server with samba that uses > > OpenLdap. I have installed everything and was doing some > > configuring. I set this all up once before on a Linux box, but I > > basically just went through the motions and really was not sure > > what all I did...but it worked. Now I want to understand > > everything so that I know exactly what all I did. :) > > > > I have the following: > > I installed OpenLdap which put ldap.conf in /usr/local/etc/openldap. > > I installed PAM which put ldap.conf.dist in /usr/local/etc. > > I installed NSS which put nss_ldap.conf in /usr/local/etc. > > > > >From looking at them I assume that the last two are the same file > > >and one > > of them just needs to be renamed to ldap.conf and configured for > > PAM and NSS, is that correct? > > > > The ldap.conf in /usr/local/etc/openldap is a different config file > > even though it has the same name? It is used for openldap and the > > other is used for PAM and NSS? > > > > Thanks for any info. > > > > > openldap/ldap.conf is the OpenLDAP client configuration. You're > likely looking for the LDAP server configuration, openldap/slapd.conf > > etc/ldap.conf is for PAM, and etc/nss_ldap.conf are not to be > merged. I've played ***VERY*** briefly with LDAP authentication > through PAM and NSS, and both were required. I can't quote easily > what the difference between NSS and PAM is, but all the docs I > referenced from Google when I searched said I needed both. It's theoretically possible to use only one file for all three, but you really need to know what you're doing. (with symlinks) OpenLDAP tools, pam_ldap and nss_ldap have more or less the same configuration options. But there are a few quite subtle differences between them, the easiest thing is to just configure them separately while having a look at the appropriate man page. Additionally, they don't start to bark at you, when you configure a parameter that does not exist (in pam_ldap or nss_ldpa only etc.). It wouldn't be easy to find out that the syntax of one of the three was changed, etc. Jan-Hendrik Zab ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Linux for freebsd admins
Le 11/07/2008 à 07:29:35-0400, Ian Lord a écrit > Hi, > > > I tried debian ubuntu and fedora and didn't like them. > > I want: > > - A basic install (not 900 packages installed by default > > - No gui, I like my flashing cursor > > - an equivalent of ports. I want to easily compile my ports I don't like > prebuilt package. Want to retrieve them by cvs. > > - an equivalent to portupgrade. > > I gotta admit mabe the three I tried was able to do that, but I'm so > negative about linux thay maybe I didn't see the good point of it. > > Could you tell me which distribution you are using when you have no choice > and need to go to linux ? I'm in the same situation : My experience : Fedora -->If you like the lastest features (including bugs) of software it's good distro Debian --> Good distro but IMHO the update is to slow and after some year on a server you run very out-of-date software CentOS --> Good if the software you need is RedHat Compliant only, because CentOS is a RedHat without the support. About software (packages) : Fedora/CentOS : Using yum and rpm. Work well but they are not many packages in the official repository. You need to find with rpmfind many package. Debian : Lots of packages, but as I said it's out-of-date. You can run unstable (like 7-Stable) or Testing (like 7-current) but it's on your own risk. Regards. -- Albert SHIH SIO batiment 15 Observatoire de Paris Meudon 5 Place Jules Janssen 92195 Meudon Cedex Heure local/Local time: Ven 11 jul 2008 15:16:53 CEST ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Library mapping question
At 2008-07-11T02:18:21-07:00, Unga wrote: > [/usr/bin/app2/] > libXXX.so /usr/local/lib/libXXX.so > > Now when run app2 it does not say anymore "undefined references" but > it says "Shared object "/usr/local/lib/libXXX.so" not found" > > ls -l /usr/local/lib/libXXX.so shows its there. > > Is /etc/libmap.conf specification correct? In all the examples I've seen, the "mapping" entries in libmap.conf(5), i.e., the ones in the second column, are relative to the search path for libraries. Further, it is better to use only the basename of the executable in the constraint of the mapping --- the part enclosed by square brackets. So, the following may work: cd /usr/local/lib && ln -s libXXX.so libFOO.so to distinguish it from the one in `/usr/lib', which directory comes earlier in the search path. Then, append these two lines to `/etc/libmap.conf': [app2] libXXX.so libFOO.so HTH, Raghavendra. -- N. Raghavendra <[EMAIL PROTECTED]> | http://www.retrotexts.net/ Harish-Chandra Research Institute | http://www.mri.ernet.in/ See message headers for contact and OpenPGP information. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: geli not working under non root user
On Fri, 11 Jul 2008 12:44:50 - (GMT) "DSA - JCR" <[EMAIL PROTECTED]> wrote: > When I try to do > >cat key 1 key2 | geli attach -k - /dev/da0 > > I get the error: > > Can__t lock memory: Operation not permited > > > if I run under root user it work without problems. > > is there a solution for that? or is a problem of GELI? give the operators sudo access to geli ? _ {Beto|Norberto|Numard} Meijome "Science Fiction...the only genuine consciousness expanding drug" Arthur C. Clarke I speak for myself, not my employer. Contents may be hot. Slippery when wet. Reading disclaimers makes you go blind. Writing them is worse. You have been Warned. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Linux for freebsd admins
On Fri, 11 Jul 2008 07:57:08 -0400 Bill Moran <[EMAIL PROTECTED]> wrote: > In response to "Ian Lord" <[EMAIL PROTECTED]>: > > > > I have to install a linux machine and don't know which distribution to > > take. > > I highly recommend CentOS for the following reasons: > 1) It's free. > 2) It's kept up to date. > 3) It's 100% Red Hat compatible, which means: > a) 99% of the howtos on the internet will work > b) 99% of the Linux packages you find will work > c) You can lie to vendors and tell them you're running Red Hat to get > support. +1 > As for the packages thing: 300 seems to be about the minimum # of > packages to make a working Linux install. Keep in mind that > _everything_ is a package in Linux, even the kernel, so just installing > typical stuff like ls and ps and top adds packages to the system. yup > The CentOS installer does have an option for an X-less install. yup > The Red Hat mentality doesn't go much for rolling your own packages, > so you might not like CentOS for that reason, but it's a compromise. actually, i've been rolling my own rpms from srpms and it IS quite simple. > They have a # of upgrade managers similar to portupgrade, such as > up2date and yum. yum is 100 times better than up2date (except that u can't run 2 instances of yum @ the same time...but it's just a minor annoyance) _ {Beto|Norberto|Numard} Meijome "And that's one reason we like to believe in genius. It gives us an excuse for being lazy." Paul Graham I speak for myself, not my employer. Contents may be hot. Slippery when wet. Reading disclaimers makes you go blind. Writing them is worse. You have been Warned. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Linux for freebsd admins
On Fri, 11 Jul 2008 13:54:55 +0200 "Ross Cameron" <[EMAIL PROTECTED]> wrote: > On Fri, Jul 11, 2008 at 1:51 PM, RW <[EMAIL PROTECTED]> wrote: > > > > > Try Gentoo > > > Personally I find Gentoo too temperamental and a pain in the rear,... but > YMMV I'll have to agree here... first i thought, cool, you can customise most things, build packages ala bsd... but it just was borked enough to really don't make much sense. ( and no, i'm not really a linux newbie, started using slackware in '95). I've stuck to centos since then - v reliable when i can't use fbsd. and quite easy to remove or not install ui. b _ {Beto|Norberto|Numard} Meijome "Light thinks it travels faster than anything but it is wrong. No matter how fast light travels it finds the darkness has always got there first, and is waiting for it." Terry Pratchett, in "Reaper Man" I speak for myself, not my employer. Contents may be hot. Slippery when wet. Reading disclaimers makes you go blind. Writing them is worse. You have been Warned. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Ldap NSS PAM Samba
On Friday 11 July 2008 02:03:04 Tim Judd wrote: > I can't quote easily what the difference > between NSS and PAM is PAM is a module that abstracts authentication, it does not authenticate itself, yet asks "providers" if the information passed to it is correct and then relays this to the application or tries a different method if this is allowed. NSS is an abstraction of cryptographic protocols, applied to a network. In this schema, it is a transport provider: --- Application ---- Network - / \ / \ +---+ +-+ +-+ +---+ + User/password | <---> | PAM | <---> | NSS | <---> | LDAP database + +---+ +-+ +-+ +---+ \/ \__Authentication__/ -- 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: IPv6 Auto Discovery
Doug Hardie wrote: Mac OS-X does a form of auto discovery on IPv6 where the machines on a local network add the machine name to the ndp table when they see activity from that machine. ...FreeBSD does this as well (Neighbor Discovery). pearl# ndp -a NeighborLinklayer Address Netif ExpireS Flags lanx.eagle.ca 0:b:46:3e:f3:41 fxp0 23h59m41s S R vandetta.ibctech.ca 0:f:b5:80:58:77 fxp0 15s R v6.ibctech.ca 0:e:c:6c:e9:62 fxp0 permanent R v6.ibctech.ca 0:e:c:6c:e9:62 fxp0 permanent R ...etc, etc. If you don't have DNS configured, or you do not have reverse DNS entries for the host IPs you are talking to, then only the IP will be listed above. So far I only have a rudimentary IPv6 configuration on FreeBSD 7 running and it only sees the IP address, and then only after I ping the other end. What you see above is normal functionality of the IPv6 Neighbor Discovery Protocol (RFC-4861). The 'neighbor cache' only gets populated with entries when IP communication takes place, or you receive/accept a router advertisement with a list of prefixes (ndp -p). The fact that names are not appearing is due to (mis|non) configuration of DNS either for the resolver on the box itself, or reverse DNS missing for the LAN IPs as stated above. To add a DNS server in FreeBSD, simply: # echo "nameserver ip.of.name.server" >> /etc/resolv.conf I couldn't find anything in /etc/defaults that seems to address auto discovery. Is this something I have missed or what? Perhaps you are referring to 'Auto Configuration' (RFC-4862)? Neighbor Discovery and Auto Configuration perform different tasks, but the former is required by the latter. Can you describe exactly what you want to achieve? Is it only the name resolution problem you described above? Steve ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
geli not working under non root user
Hi all FreebSD 6.2 I have usb disk crypto with GELI and now I am making a script in order the operators users can change this disks When I try to do cat key 1 key2 | geli attach -k - /dev/da0 I get the error: Can´t lock memory: Operation not permited if I run under root user it work without problems. is there a solution for that? or is a problem of GELI? thanks in advance Juan Coruña Desarrollo de Software Atlantico ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: compile agp kernel support
On Thursday 10 July 2008 21:48:35 Max Russell wrote: > I need to compile nvidia agp support in to my kernel. No you don't. nvidia agp is loaded through xorg.conf and requires that the FreeBSD agp driver is disabled: echo 'hint.agp.0.disabled="1"' >> /boot/device.hints If your card for some reason does not work with nvidia's agp driver, then you need to disable the nvidia agp driver in xorg.conf and remove that line. Install x11/nvidia-xconfig and look at it's manpage to see that it can autogenerate an xorg.conf file for you, with and without the nvidia agp. -- 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: build system to DESTDIR
> On Friday 11 July 2008 11:08:04 [EMAIL PROTECTED] wrote: >> To build system for the diskless station, whether there are >> differences between: >> >> [in script] >> #!/bin/sh >> export DESTDIR=/usr/diskless >> cd /usr/src; make buildworld >> >> and >> >> [in csh] >> # setenv DESTDIR /usr/diskless >> # cd /usr/src >> # make buildworld > > There should not be a difference, but to rule out any shell issues, > it is best > to invoke: > make buildworld DESTDIR=/usr/diskless > > Make itself then handles the variable. > > -- > Mel > > Problem with today's modular software: they start with the modules > and never get to the software part. > thanks, I will try this method of installing the system in /usr/diskless: # cd /usr/src # make installworld DESTDIR=/usr/diskless # make installkernel DESTDIR=/usr/diskless # make distribution DESTDIR=/usr/diskless ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: unknown option IPV6FIREWALL_VERBOSE when compiling
On Thursday 10 July 2008 23:37:36 [EMAIL PROTECTED] wrote: > Hi list. > I was following this guide > (http://www.freebsd.org/doc/en/books/handbook/firewalls-ipfw.html) to > configure and use IPFW on my FreeBSD 7 (is a vmware virtual machine but > I don't think this is a problem) > > [EMAIL PROTECTED] /usr/src]$ uname -a > FreeBSD hyperion.xxx.org 7.0-RELEASE-p2 FreeBSD 7.0-RELEASE-p2 #1: Wed > Jul 2 19:48:58 CEST 2008 > [EMAIL PROTECTED]:/usr/obj/usr/src/sys/CUSTOM i386 > > But when compiling the kernel I have the following error: > > [EMAIL PROTECTED] /usr/src]# make buildkernel KERNCONF=CUSTOM > -- > > >>> Kernel build for CUSTOM started on Thu Jul 10 23:21:45 CEST 2008 > > -- > ===> CUSTOM > mkdir -p /usr/obj/usr/src/sys > -- > > >>> stage 1: configuring the kernel > > -- > cd /usr/src/sys/i386/conf; > PATH=/usr/obj/usr/src/tmp/legacy/usr/sbin:/usr/obj/usr/src/tmp/legacy/usr/b >in:/usr/obj/usr/src/tmp/legacy/usr/games:/usr/obj/usr/src/tmp/usr/sbin:/usr/ >obj/usr/src/tmp/usr/bin:/usr/obj/usr/src/tmp/usr/games:/sbin:/bin:/usr/sbin: >/usr/bin config -d /usr/obj/usr/src/sys/CUSTOM > /usr/src/sys/i386/conf/CUSTOM /usr/src/sys/i386/conf/CUSTOM: unknown option > "IPV6FIREWALL_VERBOSE" *** Error code 1 > Stop in /usr/src. > *** Error code 1 > Stop in /usr/src. > > The kernel configuration is a "GENERIC" with this few customizations: > > options ACCEPT_FILTER_HTTP > options ACCEPT_FILTER_DATA > options DEVICE_POLLING > options IPFIREWALL > options IPFIREWALL_VERBOSE > options IPFIREWALL_DEFAULT_TO_ACCEPT > options IPV6FIREWALL > options IPV6FIREWALL_VERBOSE > options IPV6FIREWALL_DEFAULT_TO_ACCEPT > options IPDIVERT > > I tried to update through cvsup the system and then recompile the kernel > with the new options but the error is still there. > Any idea? All, IPV6FIREWALL options have been removed. Docs have to be updated. The IPFIREWALL is now 4 and 6 both, so you don't need them. -- 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: Disabling Super key?
On Fri, Jul 11, 2008 at 05:08:18PM +0530, Girish Kulkarni wrote: > > On Sun, Jul 6, 2008 at 5:06 PM, Sebastian Tymków wrote: > > Did you try kbdcontrol ? > > Thanks. I could do that using kbdcontrol(1) although this disables > the Windows key only in the console and not in X, where xmodmap(1) > does the job instead. I could make the effect of kbdcontrol > permanent by adding a line to ~/.bash_profile. Any idea how I could > make the effect xmodmap permanent? (Adding relevant lines to > ~/.xsession doesn't seem to help.) Make a ~/.xmodmaprc with your setting(s) in it and then call it from ~/.xsession or ~/.xinitrc (depends on how you start X). E.g you want a line like: xmodmap -display :0.0 .xmodmaprc in there. For the kbdcontrol stuff, I put it in /etc/rc.local > > Girish. > Regards, -- 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: Linux for freebsd admins
Em Sex, 2008-07-11 às 16:03 +0200, Julien Cigar escreveu: > Debian (not Ubuntu ..) > > On Fri, 2008-07-11 at 07:29 -0400, Ian Lord wrote: > > Hi, > > > > > > > > I am not trying to start a war linux vs freebsd or a long thread on which > > distribution is best. Just trying to get a quick answer here. > > > > > > > > I am an inconditional to freebsd and I love it. Unfortunately I have an > > application that doesn't support freebsd and only run on linux. I tried to > > run it for a week under freebsd and it doesn't work. Try ARCH linux -> http://www.archlinux.org > > > > > > > > I have to install a linux machine and don't know which distribution to take. > > > > > > > > I tried debian ubuntu and fedora and didn't like them. > > > > > > > > I want: > > > > - A basic install (not 900 packages installed by default very small, 140Mb, no GUI... installs fast, > > > > - No gui, I like my flashing cursor > > > > - an equivalent of ports. I want to easily compile my ports I don't like > > prebuilt package. Want to retrieve them by cvs. PACMAN (in the archlinux) is fast and workd very good.. not many features as freebsd ports, but works very fast. > > > > - an equivalent to portupgrade. > > the same program -> pacman > > > > > > I gotta admit mabe the three I tried was able to do that, but I'm so > > negative about linux thay maybe I didn't see the good point of it. > > > > > > > > Could you tell me which distribution you are using when you have no choice > > and need to go to linux ? > > > > > > > > Thanks > > > > > > take a look -> http://www.archlinux.org Sergio ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Install failure for 7.0-RELEASE (Need help!)
On Thursday 10 July 2008 23:50:36 Ronald F. Guilmette wrote: > I have an older system that I've been running 6.1-RELEASE on for a > long long time now. I want to upgrade it to run 7.0-RELEASE. > (CPU => AMD Athlon XP 2000, Motherboard => ASUS A7N266-VM/AA.) > > OK, so I install a new hard drive (known good /practically new) and > I'm ready to do a fresh install of 7.0-RELEASE onto this fresh new > blank drive. > acd0: CDROM at ata1-master UDMA33 > acd0: FAILURE - READ_BIG ILLEGAL REQUEST asc=0x64 ascq=0x00 > GEOM_LABEL: Label for provider acd0 is iso9660/FreeBSD_Install. > acd0: FAILURE - READ_BIG ILLEGAL REQUEST asc=0x64 ascq=0x00 Errm, so don't install from cd. You have a working 6.1 system. Use csup with /usr/share/examples/cvsup/standard-supfile as your template, set a real host, change tag to RELENG_7_0, change prefix to /usr/RELENG_7_0/src, mkdir -p /usr/RELENG_7_0/src and get the source csup -L2 /path/to/standard-supfile. Format the new disk using the chapter on this topic from the handbook and make sure the slice is bootable. Mount the drive's root on /mnt, usr and var and whatever else you had partitions made for below that and read the entry in UPDATING under COMMON ITEMS that describes "To cross-install current onto a seperate partition". -- 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: Linux for freebsd admins
Debian (not Ubuntu ..) On Fri, 2008-07-11 at 07:29 -0400, Ian Lord wrote: > Hi, > > > > I am not trying to start a war linux vs freebsd or a long thread on which > distribution is best. Just trying to get a quick answer here. > > > > I am an inconditional to freebsd and I love it. Unfortunately I have an > application that doesn't support freebsd and only run on linux. I tried to > run it for a week under freebsd and it doesn't work. > > > > I have to install a linux machine and don't know which distribution to take. > > > > I tried debian ubuntu and fedora and didn't like them. > > > > I want: > > - A basic install (not 900 packages installed by default > > - No gui, I like my flashing cursor > > - an equivalent of ports. I want to easily compile my ports I don't like > prebuilt package. Want to retrieve them by cvs. > > - an equivalent to portupgrade. > > > > I gotta admit mabe the three I tried was able to do that, but I'm so > negative about linux thay maybe I didn't see the good point of it. > > > > Could you tell me which distribution you are using when you have no choice > and need to go to linux ? > > > > Thanks > > > > > > ___ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "[EMAIL PROTECTED]" -- Julien Cigar Belgian Biodiversity Platform http://www.biodiversity.be Université Libre de Bruxelles (ULB) Campus de la Plaine CP 257 Bâtiment NO, Bureau 4 N4 115C (Niveau 4) Boulevard du Triomphe, entrée ULB 2 B-1050 Bruxelles Mail: [EMAIL PROTECTED] @biobel: http://biobel.biodiversity.be/person/show/471 Tel : 02 650 57 52 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
growisofs && non aligned DMA transfer (7.0R)
Hello, I wanted to add a file to an already written DVD+RW (written a day before on the same system) with # growisofs -M /dev/cd0 -r -T -J -joliet-long -v directory This produced tons of error messages via syslog as Jul 11 13:45:30 rebelion kernel: ata0: FAILURE - non aligned DMA transfer attempted Jul 11 13:45:30 rebelion kernel: acd0: setting up DMA failed and the only way to get the system back to a usable state was rebooting it; this is with FreeBSD-7.0R; what I have done wrong? thx matthias -- Matthias Apitz Manager Technical Support - OCLC GmbH Gruenwalder Weg 28g - 82041 Oberhaching - Germany t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211 e <[EMAIL PROTECTED]> - w http://www.oclc.org/ http://www.UnixArea.de/ b http://gurucubano.blogspot.com/ «...una sola vez, que es cuanto basta si se trata de verdades definitivas.» «...only once, which is enough if it has todo with definite truth.» José Saramago, Historia del Cerca de Lisboa ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Linux for freebsd admins
Ian Lord wrote: I have to install a linux machine and don't know which distribution to take. I tried debian ubuntu and fedora and didn't like them. I want: - A basic install (not 900 packages installed by default - No gui, I like my flashing cursor - an equivalent of ports. I want to easily compile my ports I don't like prebuilt package. Want to retrieve them by cvs. - an equivalent to portupgrade. If you wish something really close to you FreeBSD experience, you should try Arch linux: - Uses rc.conf file (bsd style init) - Fully configurable, no GUI installed by default - Package manager allow both source / binary packages - Rolling distro means you never have to reinstall. - You will easily apply your knowledge from FreeBSD to it ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Library mapping question
On Friday 11 July 2008 10:22:21 Unga wrote: > Hi all > > I have same name libraries in two different locations, eg. > /usr/lib/libXXX.so and /usr/local/lib/libXXX.so. They were created using > same sources and the same compiler. > > The app1 is linked with /usr/lib/libXXX.so and app2 is linked with > /usr/local/lib/libXXX.so. > > When app2 is run, the dynamic linker (ld-elf.so.1) finds /usr/lib/libXXX.so > first and ends up with following error: undefined reference to `_myxxx' > > This is not an issue with Linux's dynamic linker but it seems FreeBSD's > function look up is very specific. I cannot change the dynamic linker's > search path, then app1 fails. > > How do I get the app2 to refer to /usr/local/lib/libXXX.so? > > In FreeBSD, is there a way to instruct the dynamic linker (ld-elf.so.1) to > continue to search for the same library name in different locations? > > What are the other possible options? The best option is to bump version number of the shared library with the more functions. FreeBSD doesn't link with .so, it links with .so.$VERSION. It would be easier to help you though, if we wouldn't be talking about libXXX but the actual libraries. Maybe it can be done by adding small changes to the port that installs /usr/local/lib/libXXX.so (if this isn't your own library). -- 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]"
Fwd: Linux for freebsd admins
-- Forwarded message -- From: Diego F. Arias R. <[EMAIL PROTECTED]> Date: Fri, Jul 11, 2008 at 7:02 AM Subject: Re: Linux for freebsd admins To: [EMAIL PROTECTED] Slackware, is one of themore similar unix-like distro. If you dont want prebuild packages then you can try. On Fri, Jul 11, 2008 at 6:59 AM, nickhardcore <[EMAIL PROTECTED]> wrote: > Absolutely Gentoo. A very flexible distro, doing what you say to do! > > Ian Lord wrote: >> Hi, >> >> >> >> I am not trying to start a war linux vs freebsd or a long thread on which >> distribution is best. Just trying to get a quick answer here. >> >> >> >> I am an inconditional to freebsd and I love it. Unfortunately I have an >> application that doesn't support freebsd and only run on linux. I tried to >> run it for a week under freebsd and it doesn't work. >> >> >> >> I have to install a linux machine and don't know which distribution to take. >> >> >> >> I tried debian ubuntu and fedora and didn't like them. >> >> >> >> I want: >> >> - A basic install (not 900 packages installed by default >> >> - No gui, I like my flashing cursor >> >> - an equivalent of ports. I want to easily compile my ports I don't like >> prebuilt package. Want to retrieve them by cvs. >> >> - an equivalent to portupgrade. >> >> >> >> I gotta admit mabe the three I tried was able to do that, but I'm so >> negative about linux thay maybe I didn't see the good point of it. >> >> >> >> Could you tell me which distribution you are using when you have no choice >> and need to go to linux ? >> >> >> >> Thanks >> >> >> >> >> >> ___ >> 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]" > -- mmm, interesante. -- mmm, interesante. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: build system to DESTDIR
On Friday 11 July 2008 11:08:04 [EMAIL PROTECTED] wrote: > To build system for the diskless station, whether there are > differences between: > > [in script] > #!/bin/sh > export DESTDIR=/usr/diskless > cd /usr/src; make buildworld > > and > > [in csh] > # setenv DESTDIR /usr/diskless > # cd /usr/src > # make buildworld There should not be a difference, but to rule out any shell issues, it is best to invoke: make buildworld DESTDIR=/usr/diskless Make itself then handles the variable. -- 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: Linux for freebsd admins
Absolutely Gentoo. A very flexible distro, doing what you say to do! Ian Lord wrote: > Hi, > > > > I am not trying to start a war linux vs freebsd or a long thread on which > distribution is best. Just trying to get a quick answer here. > > > > I am an inconditional to freebsd and I love it. Unfortunately I have an > application that doesn't support freebsd and only run on linux. I tried to > run it for a week under freebsd and it doesn't work. > > > > I have to install a linux machine and don't know which distribution to take. > > > > I tried debian ubuntu and fedora and didn't like them. > > > > I want: > > - A basic install (not 900 packages installed by default > > - No gui, I like my flashing cursor > > - an equivalent of ports. I want to easily compile my ports I don't like > prebuilt package. Want to retrieve them by cvs. > > - an equivalent to portupgrade. > > > > I gotta admit mabe the three I tried was able to do that, but I'm so > negative about linux thay maybe I didn't see the good point of it. > > > > Could you tell me which distribution you are using when you have no choice > and need to go to linux ? > > > > Thanks > > > > > > ___ > 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: Linux for freebsd admins
In response to "Ian Lord" <[EMAIL PROTECTED]>: > > I have to install a linux machine and don't know which distribution to take. I highly recommend CentOS for the following reasons: 1) It's free. 2) It's kept up to date. 3) It's 100% Red Hat compatible, which means: a) 99% of the howtos on the internet will work b) 99% of the Linux packages you find will work c) You can lie to vendors and tell them you're running Red Hat to get support. As for the packages thing: 300 seems to be about the minimum # of packages to make a working Linux install. Keep in mind that _everything_ is a package in Linux, even the kernel, so just installing typical stuff like ls and ps and top adds packages to the system. The CentOS installer does have an option for an X-less install. The Red Hat mentality doesn't go much for rolling your own packages, so you might not like CentOS for that reason, but it's a compromise. They have a # of upgrade managers similar to portupgrade, such as up2date and yum. -- 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: Linux for freebsd admins
On Fri, Jul 11, 2008 at 1:51 PM, RW <[EMAIL PROTECTED]> wrote: > > Try Gentoo Personally I find Gentoo too temperamental and a pain in the rear,... but YMMV ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Linux for freebsd admins
I'd go with CRUXwww.crux.nu I've used it for the same reasons as a base for my embedded Linux distro's On Fri, Jul 11, 2008 at 1:29 PM, Ian Lord <[EMAIL PROTECTED]> wrote: > Hi, > > > > I am not trying to start a war linux vs freebsd or a long thread on which > distribution is best. Just trying to get a quick answer here. > > > > I am an inconditional to freebsd and I love it. Unfortunately I have an > application that doesn't support freebsd and only run on linux. I tried to > run it for a week under freebsd and it doesn't work. > > > > I have to install a linux machine and don't know which distribution to > take. > > > > I tried debian ubuntu and fedora and didn't like them. > > > > I want: > > - A basic install (not 900 packages installed by default > > - No gui, I like my flashing cursor > > - an equivalent of ports. I want to easily compile my ports I don't like > prebuilt package. Want to retrieve them by cvs. > > - an equivalent to portupgrade. > > > > I gotta admit mabe the three I tried was able to do that, but I'm so > negative about linux thay maybe I didn't see the good point of it. > > > > Could you tell me which distribution you are using when you have no choice > and need to go to linux ? > > > > Thanks > > > > > > ___ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " > [EMAIL PROTECTED]" > -- Fred Allen - "Television is a medium because anything well done is rare." ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Linux for freebsd admins
On Fri, 11 Jul 2008 07:29:35 -0400 "Ian Lord" <[EMAIL PROTECTED]> wrote: > > I have to install a linux machine and don't know which distribution > to take. > I tried debian ubuntu and fedora and didn't like them. > I want: > > - A basic install (not 900 packages installed by default > > - No gui, I like my flashing cursor > > - an equivalent of ports. I want to easily compile my ports I don't > like prebuilt package. Want to retrieve them by cvs. > > - an equivalent to portupgrade. Try Gentoo ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Install Linux in FreeBSD
On Friday 11 July 2008 12:36, Roberto Nunnari wrote: > I believe the OP question is: > How to run a Full blown linux OS on a Virtual Machine on FreeBSD, > > and not > how to run linux binaries on FreeBSD via emulation.. Not in context: the original question was Is it possible to run Linux in a VM on FreeBSD so as to run the Linux version of QuickBooks. I don't know if it's possible to run QuickBooks through Linux compatibility, but personally I would try it first before trying to set up a VM. In any case it's not clear whether the OP was aware that this might be an option. Jonathan ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Linux for freebsd admins
Hi, I am not trying to start a war linux vs freebsd or a long thread on which distribution is best. Just trying to get a quick answer here. I am an inconditional to freebsd and I love it. Unfortunately I have an application that doesn't support freebsd and only run on linux. I tried to run it for a week under freebsd and it doesn't work. I have to install a linux machine and don't know which distribution to take. I tried debian ubuntu and fedora and didn't like them. I want: - A basic install (not 900 packages installed by default - No gui, I like my flashing cursor - an equivalent of ports. I want to easily compile my ports I don't like prebuilt package. Want to retrieve them by cvs. - an equivalent to portupgrade. I gotta admit mabe the three I tried was able to do that, but I'm so negative about linux thay maybe I didn't see the good point of it. Could you tell me which distribution you are using when you have no choice and need to go to linux ? Thanks ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Disabling Super key?
On Sun, Jul 6, 2008 at 5:06 PM, Sebastian Tymków wrote: > Did you try kbdcontrol ? Thanks. I could do that using kbdcontrol(1) although this disables the Windows key only in the console and not in X, where xmodmap(1) does the job instead. I could make the effect of kbdcontrol permanent by adding a line to ~/.bash_profile. Any idea how I could make the effect xmodmap permanent? (Adding relevant lines to ~/.xsession doesn't seem to help.) Girish. -- Girish Kulkarni - Allahabad, India - http://girish.50webs.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Install Linux in FreeBSD
I believe the OP question is: How to run a Full blown linux OS on a Virtual Machine on FreeBSD, and not how to run linux binaries on FreeBSD via emulation.. As for myself, I went the other way round, as I needed to run FreeBSD and windows on the same hardware. Best regards. Robi Jonathan McKeown wrote: On Friday 11 July 2008 05:29, Ruel Luchavez wrote: [running Linux in a VM on FreeBSD] Did you read section 10 of the Handbook - Linux Binary Compatibility? Yes I read it Jonathan, Im newbie in BSD...regarding on my post is it possible? or Do you have any link so that i could much understand it aside from freebsd handbook? I haven't played with it at all - others (who have) may be able to help you more than I can: I'm just going by the documentation. As I understand it, FreeBSD will run most Linux binaries natively, as long as you install a suitable Linux environment (libraries etc). The easiest way to do this is to install a Linux version from ports (probably emulators/linux_base-f8 which will install a basic Fedora 8) which will create /compat/linux. You then install your Linux software in the usual way. I suspect you'll receive better offers of help if you start this process and then let the list know where you break down. Jonathan ___ 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: mail not work
On Fri, 11 Jul 2008 17:21:35 +0800 EdwardKing <[EMAIL PROTECTED]> wrote: > > * Did you do anything to enable Sendmail (the default mail > > transfer agent)? > > >>It's enabled by default on localhost. > > How to make FreeBSD mail to work? > > From: "Giorgos Keramidas" <[EMAIL PROTECTED]> > > > On Fri, 11 Jul 2008 08:30:18 +0800, EdwardKing > > <[EMAIL PROTECTED]> wrote: > >> I use mailx command,such as Tom to Kate,I like following command: > >> $mail Kate > >> Subject:Hello > >> Hello world > >> (press Ctrl+D) > >> EOT > >> > >> Then I use user Kate to login,and check mail, > >> $mail > >> No mail for Kate > >> > >> Why I can't receive letter? where is wrong? > > > > mailx depends on a correctly configured `mail transfer agent', and > > it expects the *login* name of a user, not their real name. > > > > * Do you have a local user whose login name is `Kate'? > > > > * Did you do anything to enable Sendmail (the default mail transfer > >agent)? > > > > * What does the `/var/log/maillog' file contain? Please don't top post. If you don't know what that means, Google for it. Regarding your 'sendmail' problem, might I suggest that you start by reading the material available at the following URLs. http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/mail.html http://www.technoids.org/freebsdsendmailfaqs.html http://www.freebsd.org/doc/en/books/handbook/sendmail.html There is a wealth of information available on this subject. Try reading and then posting if there is something that you do not fully understand. -- Gerard [EMAIL PROTECTED] Common sense and a sense of humor are the same thing, moving at different speeds. A sense of humor is just common sense, dancing. Clive James signature.asc Description: PGP signature
Error Message When Mounting Share
I have XFCE-4 installed. I usually access this from my WinXP box via TightVNC. No problem there. From within XFCE-4, I usually mount a share on my WinXP box. Although I do not experience any apparent problems with that share, this error message is printed ad infinitum on the screen of the FreeBSD PC. +netsmb_dev: loaded +smb_maperror: Unmapped error 1:158 +smb_maperror: Unmapped error 1:158 +smb_maperror: Unmapped error 1:158 {message continues until I disconnect the share} How can I go about finding out what is causing this problem? -- Gerard [EMAIL PROTECTED] Unnamed Law: If it happens, it must be possible. signature.asc Description: PGP signature
Re: mail not work
> * Did you do anything to enable Sendmail (the default mail transfer > agent)? >>It's enabled by default on localhost. How to make FreeBSD mail to work? - Original Message - From: "Giorgos Keramidas" <[EMAIL PROTECTED]> To: "EdwardKing" <[EMAIL PROTECTED]> Cc: Sent: Friday, July 11, 2008 9:06 AM Subject: Re: mail not work > On Fri, 11 Jul 2008 08:30:18 +0800, EdwardKing <[EMAIL PROTECTED]> wrote: >> I use mailx command,such as Tom to Kate,I like following command: >> $mail Kate >> Subject:Hello >> Hello world >> (press Ctrl+D) >> EOT >> >> Then I use user Kate to login,and check mail, >> $mail >> No mail for Kate >> >> Why I can't receive letter? where is wrong? > > mailx depends on a correctly configured `mail transfer agent', and it > expects the *login* name of a user, not their real name. > > * Do you have a local user whose login name is `Kate'? > > * Did you do anything to enable Sendmail (the default mail transfer >agent)? > > * What does the `/var/log/maillog' file contain? > -- Confidentiality Notice: The information contained in this e-mail and any accompanying attachment(s) is intended only for the use of the intended recipient and may be confidential and/or privileged of Neusoft Group Ltd., its subsidiaries and/or its affiliates. If any reader of this communication is not the intended recipient, unauthorized use, forwarding, printing, storing, disclosure or copying is strictly prohibited, and may be unlawful. If you have received this communication in error, please immediately notify the sender by return e-mail, and delete the original message and all copies from your system. Thank you. --- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
build system to DESTDIR
To build system for the diskless station, whether there are differences between: [in script] #!/bin/sh export DESTDIR=/usr/diskless cd /usr/src; make buildworld and [in csh] # setenv DESTDIR /usr/diskless # cd /usr/src # make buildworld ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Install Linux in FreeBSD
On Friday 11 July 2008 05:29, Ruel Luchavez wrote: [running Linux in a VM on FreeBSD] > > Did you read section 10 of the Handbook - Linux Binary Compatibility? > > Yes I read it Jonathan, Im newbie in BSD...regarding on my post is it > possible? > or Do you have any link so that i could much understand it aside from > freebsd handbook? I haven't played with it at all - others (who have) may be able to help you more than I can: I'm just going by the documentation. As I understand it, FreeBSD will run most Linux binaries natively, as long as you install a suitable Linux environment (libraries etc). The easiest way to do this is to install a Linux version from ports (probably emulators/linux_base-f8 which will install a basic Fedora 8) which will create /compat/linux. You then install your Linux software in the usual way. I suspect you'll receive better offers of help if you start this process and then let the list know where you break down. Jonathan ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Library mapping question
--- On Fri, 7/11/08, Polytropon <[EMAIL PROTECTED]> wrote: > From: Polytropon <[EMAIL PROTECTED]> > Subject: Re: Library mapping question > To: freebsd-questions@freebsd.org > Cc: [EMAIL PROTECTED] > Date: Friday, July 11, 2008, 5:09 PM > Hi. > > On Fri, 11 Jul 2008 01:22:21 -0700 (PDT), Unga > <[EMAIL PROTECTED]> wrote: > > How do I get the app2 to refer to > /usr/local/lib/libXXX.so? > > > > In FreeBSD, is there a way to instruct the dynamic > linker > > (ld-elf.so.1) to continue to search for the same > library > > name in different locations? > > Maybe an entry in /etc/libmap.conf (man 5 libmap.conf) will > reveal a possible solution? > Hi I was just now trying it after reading the libmap.conf(5). I specified following in /etc/libmap.conf: [/usr/bin/app2/] libXXX.so /usr/local/lib/libXXX.so Now when run app2 it does not say anymore "undefined references" but it says "Shared object "/usr/local/lib/libXXX.so" not found" ls -l /usr/local/lib/libXXX.so shows its there. Is /etc/libmap.conf specification correct? Regards Unga ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Library mapping question
Hi. On Fri, 11 Jul 2008 01:22:21 -0700 (PDT), Unga <[EMAIL PROTECTED]> wrote: > How do I get the app2 to refer to /usr/local/lib/libXXX.so? > > In FreeBSD, is there a way to instruct the dynamic linker > (ld-elf.so.1) to continue to search for the same library > name in different locations? Maybe an entry in /etc/libmap.conf (man 5 libmap.conf) will reveal a possible solution? -- Polytropon >From Magdeburg, Germany Happy FreeBSD user since 4.0 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Library mapping question
Hi all I have same name libraries in two different locations, eg. /usr/lib/libXXX.so and /usr/local/lib/libXXX.so. They were created using same sources and the same compiler. The app1 is linked with /usr/lib/libXXX.so and app2 is linked with /usr/local/lib/libXXX.so. When app2 is run, the dynamic linker (ld-elf.so.1) finds /usr/lib/libXXX.so first and ends up with following error: undefined reference to `_myxxx' This is not an issue with Linux's dynamic linker but it seems FreeBSD's function look up is very specific. I cannot change the dynamic linker's search path, then app1 fails. How do I get the app2 to refer to /usr/local/lib/libXXX.so? In FreeBSD, is there a way to instruct the dynamic linker (ld-elf.so.1) to continue to search for the same library name in different locations? What are the other possible options? Appreciate your reply. Kind regards Unga ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: PR - Incorrect confirmation code
Le Thu, 10 Jul 2008 20:35:38 -0700 (PDT), Unga <[EMAIL PROTECTED]> a écrit : > Hi > > I tried to submit a problem report over the web > (http://www.freebsd.org/send-pr.html) but on submit gives following > error: > > "Incorrect confirmation code > > You need to enter the correct code from the image displayed. Please > return to the form and enter the code exactly as shown. Thank you." > > Its really "Thank you" from my part also, this Problem Report wasted > lot of my time :( "Note: before hitting 'submit', please save your work. If your browser caches images, or if you take longer than 45 minutes to fill in the form, you may have a stale image shown on your page, and your submission will be rejected. Depending on your browser, you might lose work in this case. Help save yourself from this common frustration" ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: locate:database too small
Le Thu, 10 Jul 2008 22:33:14 -0500, Paul Procacci <[EMAIL PROTECTED]> a écrit : > Type exactly that within a shell (as root): > > /usr/libexec/locate.updatedb > > or alternatively > > /etc/periodic/weekly/310.locate This is not the same thing, /etc/periodic/weekly/310.locate calls locate.updatedb with the user nobody. You should avoid to run locate.updatedb as root. Regards. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: inetd[860]: ssh/tcp: bind: Address already in use
EdwardKing wrote: > I use FreeBSD7.0,I find some time it raise following information: > inetd[860]: ssh/tcp: bind: Address already in use > > I look up my /etc/rc.conf file,it contains: > > inetd_enable="YES" > sshd_enable="YES" > > /etc/inetd.conf file contains: > > sshstream tcpnowait root /usr/sbin/sshd sshd -i -4 > #ssh stream tcp6 nowait root /usr/sbin/sshd sshd -i -6 > > Where wrong with my BSD system? How to solve it? Well, you're already 99% of the way there. You can't run sshd both as a standalone daemon and as a service to be started from inetd. As the error message says, they both try and bind to the same network port which is never going to work. Running sshd out of inetd is weird and unnatural, so I suggest you just comment out the ssh line in inetd.conf and restart the inetd service: /etc/rc.d/inetd restart Then make sure sshd is running happilly: /etc/rc.d/sshd restart (bouncing sshd like this is even safe to do if you're logged in via ssh...) 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