Re: Firefox clean installation but does not execute
On Tue, 20 Sep 2011, Alain G. Fabry wrote: Hello, I've installed Firefox36 from ports, it installed without a problem but it does not launch. In other words, there's no firefox file on my system. Had it installed before and working, then to clean out the system with unnecessary ports, I removed all ports and reinstalled only what is necessary. Somehow now I can't get firefox to work. The installation runs through cleanly, but when I try to run firefox, the system just responds with 'command not found' fabry@desmo 7:27 % pkg_info | grep firefox firefox-3.6.22,1Web browser based on the browser portion of Mozilla afabry@desmo 7:28 % firefox firefox: Command not found. What could be the problem, where could I start looking? See #3: http://www.wonkity.com/~wblock/docs/html/interrupted.html Firefox 3.6 is relatively old, ports has 6.0.2. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: OpenLDAP + CARP
On 19/09/2011 15:54, Rafael NAVAZA wrote: Is there a way to setup an OpenLDAP HA cluster (intersite multimaster) with CARP on FreeBSD ? Hmmm... So long as both the LDAP servers are on the same network segment, and so long as they have separate addresses for their replication channel, then I can't see why that wouldn't work. However, LDAP, by its nature has a failover capability built in. You can just list several LDAP servers in your ldap.conf and each will be tried in turn until you get an answer. Or put a comma separated list of several servers into a ldap:/// or ldaps:/// style URI. There's also a way you can use SRV records with LDAP -- that gives you weighted load distribution over a number of servers. See RFC 3088. Note that not all LDAP clients support this, and its still only an experimental service. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate JID: matt...@infracaninophile.co.uk Kent, CT11 9PW signature.asc Description: OpenPGP digital signature
Re: Firefox clean installation but does not execute
I too had the problem of Command not found after freshly installing something from ports, but I thought that was a peculiarity of FreeBSD 9.0-BETA1 and 2. I was going to post this question to freebsd-current list. For instance, if I typed which lynx, it was not found, but was found if I ran ls /usr/bin/local/l* and it also ran if I typed /usr/bin/local/lynx Software freshly installed from ports would be normally accessible after the next reboot. After getting more ports built, I no longer had that problem. Tom ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Using ports and packages together (or, how do I get mod_php5 ? )
On 20/09/2011 05:33, Jason C. Wells wrote: I noticed only recently that there are now packages on FTP in a folder called packages-8-stable. I am not sure how often these are built. I expect that the entire ports tree is built much like it is during a release, except at some later point in time. I would expect that those ports are all dependency consistent with each other to the maximum extent possible. 'Latest' packages are built for each updated port + OS version + architecture combination whenever resources are available on the build cluster. Typically that implies a delay of a few days or a week or so after the update hits the ports CVS. Yes, if you install the latest pkgs everything should still remain consistent -- but that means you should install all of the available updates: picking and choosing is the route to tears before bedtime[*]. Cheers, Matthew [*] Unless you know exactly what you're doing and understand how all the dependency relationships work. -- Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate JID: matt...@infracaninophile.co.uk Kent, CT11 9PW signature.asc Description: OpenPGP digital signature
Re: Firefox clean installation but does not execute
On Tue, Sep 20, 2011 at 12:01:52AM -0600, Warren Block wrote: On Tue, 20 Sep 2011, Alain G. Fabry wrote: Hello, I've installed Firefox36 from ports, it installed without a problem but it does not launch. In other words, there's no firefox file on my system. Had it installed before and working, then to clean out the system with unnecessary ports, I removed all ports and reinstalled only what is necessary. Somehow now I can't get firefox to work. The installation runs through cleanly, but when I try to run firefox, the system just responds with 'command not found' fabry@desmo 7:27 % pkg_info | grep firefox firefox-3.6.22,1Web browser based on the browser portion of Mozilla afabry@desmo 7:28 % firefox firefox: Command not found. What could be the problem, where could I start looking? If you used www/firefox36 port, then the executable is firefox3. firefox is installed by www/firefox. See #3: http://www.wonkity.com/~wblock/docs/html/interrupted.html Firefox 3.6 is relatively old, ports has 6.0.2. I use www/firefox36 on ia64, because www/firefox doesn't build. -- Anton Shterenlikht Room 2.6, Queen's Building Mech Eng Dept Bristol University University Walk, Bristol BS8 1TR, UK Tel: +44 (0)117 331 5944 Fax: +44 (0)117 929 4423 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Firefox clean installation but does not execute
On Tue, Sep 20, 2011 at 08:23:19AM +, Thomas Mueller wrote: I too had the problem of Command not found after freshly installing something from ports, but I thought that was a peculiarity of FreeBSD 9.0-BETA1 and 2. I was going to post this question to freebsd-current list. For instance, if I typed which lynx, it was not found, but was found if I ran ls /usr/bin/local/l* and it also ran if I typed /usr/bin/local/lynx Software freshly installed from ports would be normally accessible after the next reboot. normally, no reboot required. In tcsh(1) you have to run rehash. Or just lauch another xterm window, if in an X session. Of logout and login. You really shouldn't need to reboot. -- Anton Shterenlikht Room 2.6, Queen's Building Mech Eng Dept Bristol University University Walk, Bristol BS8 1TR, UK Tel: +44 (0)117 331 5944 Fax: +44 (0)117 929 4423 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Firefox clean installation but does not execute
On Tue, 20 Sep 2011, Alain G. Fabry wrote: Hello, I've installed Firefox36 from ports, it installed without a problem but it does not launch. In other words, there's no firefox file on my system. Had it installed before and working, then to clean out the system with unnecessary ports, I removed all ports and reinstalled only what is necessary. Somehow now I can't get firefox to work. The installation runs through cleanly, but when I try to run firefox, the system just responds with 'command not found' fabry@desmo 7:27 % pkg_info | grep firefox firefox-3.6.22,1Web browser based on the browser portion of Mozilla afabry@desmo 7:28 % firefox firefox: Command not found. What could be the problem, where could I start looking? what happens when you %which firefox3 ? -- Lars Eighner http://www.larseighner.com/index.html 8800 N IH35 APT 1191 AUSTIN TX 78753-5266 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Download manpages
Hello, I want to download the freebsd manpages for some sections which i don't have and i need the compressed (tarball) for those section there is some way to download them please help -- Thanks and Regards Deepak Kumar ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Download manpages
On 20/09/2011 09:50, deepak kumar wrote: I want to download the freebsd manpages for some sections which i don't have Individual man pages can be viewd on-line at http://www.freebsd.org/cgi/man.cgi -- that's obviously the processed page rather than the nroff source code. Page sources are available in the various on-line VCSes used by the project, but the man page sources are mostly interspersed with the C code etc. they describe. and i need the compressed (tarball) for those section there is some way to download them Hmmm manpages are available on the distribution media for a release. For instance, look at: ftp://ftp.freebsd.org/pub/FreeBSD/releases/amd64/8.2-RELEASE/manpages There are several combinations of $ARCH and $VERSION available -- but only for released versions, so 8.2-RELEASE is the most up to date available. You'll need to download all of the files in that directory. Well, except for the CHECKSUMS.* and *.mtree files. Although not absolutely necessary, verifying the checksums is a good idea... The format is a split-up tar archive; if you read install.sh you'll see how to extract the contents. Be careful though -- by default unpacking that tarball will overwrite the manpages in /usr/share/man Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate JID: matt...@infracaninophile.co.uk Kent, CT11 9PW signature.asc Description: OpenPGP digital signature
Re: Download manpages
Hello Matthew, I tried but several section were empty :( On Tue, Sep 20, 2011 at 3:38 PM, Matthew Seaman m.sea...@infracaninophile.co.uk wrote: On 20/09/2011 09:50, deepak kumar wrote: I want to download the freebsd manpages for some sections which i don't have Individual man pages can be viewd on-line at http://www.freebsd.org/cgi/man.cgi -- that's obviously the processed page rather than the nroff source code. Page sources are available in the various on-line VCSes used by the project, but the man page sources are mostly interspersed with the C code etc. they describe. and i need the compressed (tarball) for those section there is some way to download them Hmmm manpages are available on the distribution media for a release. For instance, look at: ftp://ftp.freebsd.org/pub/FreeBSD/releases/amd64/8.2-RELEASE/manpages There are several combinations of $ARCH and $VERSION available -- but only for released versions, so 8.2-RELEASE is the most up to date available. You'll need to download all of the files in that directory. Well, except for the CHECKSUMS.* and *.mtree files. Although not absolutely necessary, verifying the checksums is a good idea... The format is a split-up tar archive; if you read install.sh you'll see how to extract the contents. Be careful though -- by default unpacking that tarball will overwrite the manpages in /usr/share/man Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate JID: matt...@infracaninophile.co.uk Kent, CT11 9PW -- Thanks and Regards Deepak Kumar Member Technical Staff NetApp India Pvt Ltd Bangalore (Karnataka) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Passing additional options to jail(8) via rc.conf
Hello, if it really is impossible to pass parameters like ip4=inherit to jail(8) via the rc.conf mechanism, I consider this a serious limitation. Can I possibly make this a feature request? :) Best regards, Moritz ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
RE: OpenLDAP + CARP
Thank you for the reply Matthew. I'm indeed using the built in failover capability of LDAP clients. It works just fine when the first LDAP server is powered off, but it does not work that well when slapd becomes a zombi ( because the clients take about 1 min to try the second LDAP server, for each request, every time ... ) It is for that reason I'm interested in building a HA cluster for OpenLDAP. I'm currently using the single-master replication and I will certainly move to a mirrormode or a n-way multimaster replication schema (as long as the multimaster is used with CARP, this mode is equivalent to a mirrormode with more than 2 replicas, isn't it ?). As far as I know CARP will not check if the slapd is running correctly; that could be a problem if the CARP Master has a failing slapd. Do I have to monitor slapd with a third party software (like Monit) ? Can I configure CARP and OpenLDAP to watch each other more closely ? Rafael. Date: Tue, 20 Sep 2011 09:04:21 +0100 From: m.sea...@infracaninophile.co.uk To: rnav...@hotmail.com CC: freebsd-questions@freebsd.org Subject: Re: OpenLDAP + CARP On 19/09/2011 15:54, Rafael NAVAZA wrote: Is there a way to setup an OpenLDAP HA cluster (intersite multimaster) with CARP on FreeBSD ? Hmmm... So long as both the LDAP servers are on the same network segment, and so long as they have separate addresses for their replication channel, then I can't see why that wouldn't work. However, LDAP, by its nature has a failover capability built in. You can just list several LDAP servers in your ldap.conf and each will be tried in turn until you get an answer. Or put a comma separated list of several servers into a ldap:/// or ldaps:/// style URI. There's also a way you can use SRV records with LDAP -- that gives you weighted load distribution over a number of servers. See RFC 3088. Note that not all LDAP clients support this, and its still only an experimental service. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate JID: matt...@infracaninophile.co.uk Kent, CT11 9PW ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Firefox clean installation but does not execute
On Tue, Sep 20, 2011 at 01:40:56PM +0100, Anton Shterenlikht wrote: On Tue, Sep 20, 2011 at 02:16:35PM +0200, Alain G. Fabry wrote: On Tue, Sep 20, 2011 at 05:53:06AM -0600, Warren Block wrote: On Tue, 20 Sep 2011, Alain G. Fabry wrote: I've installed both firefox and firefox36. Neither of them can be found on the system while the installation build and installed without errors afabry@desmo 13:40 % pkg_info | grep firefox firefox-3.6.22,1Web browser based on the browser portion of Mozilla firefox-6.0.2,1 Web browser based on the browser portion of Mozilla afabry@desmo 13:41 % which firefox firefox: Command not found. afabry@desmo 13:41 % which firefox3 firefox3: Command not found. See 'man csh | less -p rehash'. But also these should run with a full path: % /usr/local/bin/firefox3 % /usr/local/bin/firefox ___ Files are just not found on the system... :-( afabry@desmo 14:10 % pkg_info | grep firefox firefox-3.6.22,1Web browser based on the browser portion of Mozilla firefox-6.0.2,1 Web browser based on the browser portion of Mozilla afabry@desmo 14:10 % rehash afabry@desmo 14:14 % /usr/local/bin/firefox /usr/local/bin/firefox: Command not found. afabry@desmo 14:12 % ls -l /usr/local/bin/ | grep fire -r-xr-xr-x 1 root wheel10108 Sep 7 07:29 aafire afabry@desmo 14:12 % what about pkg_info -Lx firefox-3 pkg_info -Lx firefox-6 On my system: TZAV pkg_info -Lx firefox-3 | grep bin /usr/local/bin/firefox3 /usr/local/include/firefox3/gtk2xtbin.h /usr/local/lib/firefox3/bin /usr/local/lib/firefox3/firefox-bin TZAV Seems to be ok here ?? afabry@desmo 15:22 % pkg_info -Lx firefox-3 | grep bin /usr/local/bin/firefox3 /usr/local/include/firefox3/gtk2xtbin.h /usr/local/lib/firefox3/bin /usr/local/lib/firefox3/firefox-bin afabry@desmo 15:23 % pkg_info -Lx firefox-6 | grep bin /usr/local/bin/firefox /usr/local/include/firefox/gtk2xtbin.h /usr/local/lib/firefox/bin /usr/local/lib/firefox/firefox-bin /usr/local/lib/firefox/searchplugins/bing.xml -- Anton Shterenlikht Room 2.6, Queen's Building Mech Eng Dept Bristol University University Walk, Bristol BS8 1TR, UK Tel: +44 (0)117 331 5944 Fax: +44 (0)117 929 4423 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Using ports and packages together (or, how do I get mod_php5 ? )
On 09/20/11 01:23, Matthew Seaman wrote: 'Latest' packages are built for each updated port + OS version + architecture combination whenever resources are available on the build cluster. Typically that implies a delay of a few days or a week or so after the update hits the ports CVS. Yes, if you install the latest pkgs everything should still remain consistent -- but that means you should install all of the available updates: picking and choosing is the route to tears before bedtime[*]. For my part, I plan to update all. I have decided over the years that letting the FreeBSD project manage my ports versions for me is the way to happiness. Roll-your-own is a thing of my past. That said, updating onesy-twosy has only caused me a manageable amount of grief. The problem is the timing. It is always before bed, or before my paper is due, and openoffice is griping about something do with java and java is now done differently than it has been... Like I said, updating onesy-twosy can be a serious PITA. Later, Jason ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Firefox clean installation but does not execute
On Tue, Sep 20, 2011 at 03:26:29PM +0200, Alain G. Fabry wrote: On Tue, Sep 20, 2011 at 01:40:56PM +0100, Anton Shterenlikht wrote: On Tue, Sep 20, 2011 at 02:16:35PM +0200, Alain G. Fabry wrote: On Tue, Sep 20, 2011 at 05:53:06AM -0600, Warren Block wrote: On Tue, 20 Sep 2011, Alain G. Fabry wrote: I've installed both firefox and firefox36. Neither of them can be found on the system while the installation build and installed without errors afabry@desmo 13:40 % pkg_info | grep firefox firefox-3.6.22,1Web browser based on the browser portion of Mozilla firefox-6.0.2,1 Web browser based on the browser portion of Mozilla afabry@desmo 13:41 % which firefox firefox: Command not found. afabry@desmo 13:41 % which firefox3 firefox3: Command not found. See 'man csh | less -p rehash'. But also these should run with a full path: % /usr/local/bin/firefox3 % /usr/local/bin/firefox ___ Files are just not found on the system... :-( afabry@desmo 14:10 % pkg_info | grep firefox firefox-3.6.22,1Web browser based on the browser portion of Mozilla firefox-6.0.2,1 Web browser based on the browser portion of Mozilla afabry@desmo 14:10 % rehash afabry@desmo 14:14 % /usr/local/bin/firefox /usr/local/bin/firefox: Command not found. afabry@desmo 14:12 % ls -l /usr/local/bin/ | grep fire -r-xr-xr-x 1 root wheel10108 Sep 7 07:29 aafire afabry@desmo 14:12 % what about pkg_info -Lx firefox-3 pkg_info -Lx firefox-6 On my system: TZAV pkg_info -Lx firefox-3 | grep bin /usr/local/bin/firefox3 /usr/local/include/firefox3/gtk2xtbin.h /usr/local/lib/firefox3/bin /usr/local/lib/firefox3/firefox-bin TZAV Seems to be ok here ?? afabry@desmo 15:22 % pkg_info -Lx firefox-3 | grep bin /usr/local/bin/firefox3 /usr/local/include/firefox3/gtk2xtbin.h /usr/local/lib/firefox3/bin /usr/local/lib/firefox3/firefox-bin afabry@desmo 15:23 % pkg_info -Lx firefox-6 | grep bin /usr/local/bin/firefox /usr/local/include/firefox/gtk2xtbin.h /usr/local/lib/firefox/bin /usr/local/lib/firefox/firefox-bin /usr/local/lib/firefox/searchplugins/bing.xml So, what do you get if you now type: /usr/local/bin/firefox3 or /usr/local/bin/firefox -- Anton Shterenlikht Room 2.6, Queen's Building Mech Eng Dept Bristol University University Walk, Bristol BS8 1TR, UK Tel: +44 (0)117 331 5944 Fax: +44 (0)117 929 4423 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Firefox clean installation but does not execute
On Tue, Sep 20, 2011 at 02:40:42PM +0100, Anton Shterenlikht wrote: On Tue, Sep 20, 2011 at 03:26:29PM +0200, Alain G. Fabry wrote: On Tue, Sep 20, 2011 at 01:40:56PM +0100, Anton Shterenlikht wrote: On Tue, Sep 20, 2011 at 02:16:35PM +0200, Alain G. Fabry wrote: On Tue, Sep 20, 2011 at 05:53:06AM -0600, Warren Block wrote: On Tue, 20 Sep 2011, Alain G. Fabry wrote: I've installed both firefox and firefox36. Neither of them can be found on the system while the installation build and installed without errors afabry@desmo 13:40 % pkg_info | grep firefox firefox-3.6.22,1Web browser based on the browser portion of Mozilla firefox-6.0.2,1 Web browser based on the browser portion of Mozilla afabry@desmo 13:41 % which firefox firefox: Command not found. afabry@desmo 13:41 % which firefox3 firefox3: Command not found. See 'man csh | less -p rehash'. But also these should run with a full path: % /usr/local/bin/firefox3 % /usr/local/bin/firefox ___ Files are just not found on the system... :-( afabry@desmo 14:10 % pkg_info | grep firefox firefox-3.6.22,1Web browser based on the browser portion of Mozilla firefox-6.0.2,1 Web browser based on the browser portion of Mozilla afabry@desmo 14:10 % rehash afabry@desmo 14:14 % /usr/local/bin/firefox /usr/local/bin/firefox: Command not found. afabry@desmo 14:12 % ls -l /usr/local/bin/ | grep fire -r-xr-xr-x 1 root wheel10108 Sep 7 07:29 aafire afabry@desmo 14:12 % what about pkg_info -Lx firefox-3 pkg_info -Lx firefox-6 On my system: TZAV pkg_info -Lx firefox-3 | grep bin /usr/local/bin/firefox3 /usr/local/include/firefox3/gtk2xtbin.h /usr/local/lib/firefox3/bin /usr/local/lib/firefox3/firefox-bin TZAV Seems to be ok here ?? afabry@desmo 15:22 % pkg_info -Lx firefox-3 | grep bin /usr/local/bin/firefox3 /usr/local/include/firefox3/gtk2xtbin.h /usr/local/lib/firefox3/bin /usr/local/lib/firefox3/firefox-bin afabry@desmo 15:23 % pkg_info -Lx firefox-6 | grep bin /usr/local/bin/firefox /usr/local/include/firefox/gtk2xtbin.h /usr/local/lib/firefox/bin /usr/local/lib/firefox/firefox-bin /usr/local/lib/firefox/searchplugins/bing.xml So, what do you get if you now type: /usr/local/bin/firefox3 or /usr/local/bin/firefox -- What I mentioned before ;-) 'command not found' afabry@desmo 15:40 % /usr/local/bin/firefox3 /usr/local/bin/firefox3: Command not found. afabry@desmo 15:40 % /usr/local/bin/firefox /usr/local/bin/firefox: Command not found. afabry@desmo 15:41 % files don't exist, and must have deinstalled/installed already 3 times... Anton Shterenlikht Room 2.6, Queen's Building Mech Eng Dept Bristol University University Walk, Bristol BS8 1TR, UK Tel: +44 (0)117 331 5944 Fax: +44 (0)117 929 4423 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Firefox clean installation but does not execute
On Tue, Sep 20, 2011 at 02:40:42PM +0100, Anton Shterenlikht wrote: On Tue, Sep 20, 2011 at 03:26:29PM +0200, Alain G. Fabry wrote: On Tue, Sep 20, 2011 at 01:40:56PM +0100, Anton Shterenlikht wrote: Seems to be ok here ?? afabry@desmo 15:22 % pkg_info -Lx firefox-3 | grep bin /usr/local/bin/firefox3 /usr/local/include/firefox3/gtk2xtbin.h /usr/local/lib/firefox3/bin /usr/local/lib/firefox3/firefox-bin afabry@desmo 15:23 % pkg_info -Lx firefox-6 | grep bin /usr/local/bin/firefox /usr/local/include/firefox/gtk2xtbin.h /usr/local/lib/firefox/bin /usr/local/lib/firefox/firefox-bin /usr/local/lib/firefox/searchplugins/bing.xml So, what do you get if you now type: /usr/local/bin/firefox3 or /usr/local/bin/firefox afabry@desmo 15:45 % sudo find / -name firefox3 /usr/local/lib/firefox3 /var/db/ports/firefox3 only finds 2 matches for firefox3, nothing in /usr/local/bin -- Anton Shterenlikht Room 2.6, Queen's Building Mech Eng Dept Bristol University University Walk, Bristol BS8 1TR, UK Tel: +44 (0)117 331 5944 Fax: +44 (0)117 929 4423 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Firefox clean installation but does not execute
On Tue, Sep 20, 2011 at 03:44:31PM +0200, Alain G. Fabry wrote: On Tue, Sep 20, 2011 at 02:40:42PM +0100, Anton Shterenlikht wrote: On Tue, Sep 20, 2011 at 03:26:29PM +0200, Alain G. Fabry wrote: On Tue, Sep 20, 2011 at 01:40:56PM +0100, Anton Shterenlikht wrote: On Tue, Sep 20, 2011 at 02:16:35PM +0200, Alain G. Fabry wrote: On Tue, Sep 20, 2011 at 05:53:06AM -0600, Warren Block wrote: On Tue, 20 Sep 2011, Alain G. Fabry wrote: I've installed both firefox and firefox36. Neither of them can be found on the system while the installation build and installed without errors afabry@desmo 13:40 % pkg_info | grep firefox firefox-3.6.22,1Web browser based on the browser portion of Mozilla firefox-6.0.2,1 Web browser based on the browser portion of Mozilla afabry@desmo 13:41 % which firefox firefox: Command not found. afabry@desmo 13:41 % which firefox3 firefox3: Command not found. See 'man csh | less -p rehash'. But also these should run with a full path: % /usr/local/bin/firefox3 % /usr/local/bin/firefox ___ Files are just not found on the system... :-( afabry@desmo 14:10 % pkg_info | grep firefox firefox-3.6.22,1Web browser based on the browser portion of Mozilla firefox-6.0.2,1 Web browser based on the browser portion of Mozilla afabry@desmo 14:10 % rehash afabry@desmo 14:14 % /usr/local/bin/firefox /usr/local/bin/firefox: Command not found. afabry@desmo 14:12 % ls -l /usr/local/bin/ | grep fire -r-xr-xr-x 1 root wheel10108 Sep 7 07:29 aafire afabry@desmo 14:12 % what about pkg_info -Lx firefox-3 pkg_info -Lx firefox-6 On my system: TZAV pkg_info -Lx firefox-3 | grep bin /usr/local/bin/firefox3 /usr/local/include/firefox3/gtk2xtbin.h /usr/local/lib/firefox3/bin /usr/local/lib/firefox3/firefox-bin TZAV Seems to be ok here ?? afabry@desmo 15:22 % pkg_info -Lx firefox-3 | grep bin /usr/local/bin/firefox3 /usr/local/include/firefox3/gtk2xtbin.h /usr/local/lib/firefox3/bin /usr/local/lib/firefox3/firefox-bin afabry@desmo 15:23 % pkg_info -Lx firefox-6 | grep bin /usr/local/bin/firefox /usr/local/include/firefox/gtk2xtbin.h /usr/local/lib/firefox/bin /usr/local/lib/firefox/firefox-bin /usr/local/lib/firefox/searchplugins/bing.xml So, what do you get if you now type: /usr/local/bin/firefox3 or /usr/local/bin/firefox -- What I mentioned before ;-) 'command not found' afabry@desmo 15:40 % /usr/local/bin/firefox3 /usr/local/bin/firefox3: Command not found. afabry@desmo 15:40 % /usr/local/bin/firefox /usr/local/bin/firefox: Command not found. afabry@desmo 15:41 % files don't exist, and must have deinstalled/installed already 3 times... so, pkg_info thinks it installed the executable, yet, you can't find it. I don't know what to check next. -- Anton Shterenlikht Room 2.6, Queen's Building Mech Eng Dept Bristol University University Walk, Bristol BS8 1TR, UK Tel: +44 (0)117 331 5944 Fax: +44 (0)117 929 4423 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Passing additional options to jail(8) via rc.conf
On Tue, Sep 20, 2011 at 12:59:48 +0200, Moritz Wilhelmy wrote: if it really is impossible to pass parameters like ip4=inherit to jail(8) via the rc.conf mechanism, I consider this a serious limitation. Can I possibly make this a feature request? :) Alright, just for the record, apparently there is a (suspended) PR (conf/142972) which requests /etc/rc.d/jail to be switched over to new style jail(8) invocation (with -c/-m parameters), which, unlike old-style invocation supports passing additional parameters, which has worked for me in the past, when done by hand. On previous servers, I ended up putting something in my rc.local, but as already mentioned, I'd very much prefer the rc.conf-sugar. This PR was filed about a year ago, and I'm a bit disappointed, because one of the main reasons for me to pick FreeBSD was the jail support, which is pretty amazing if you ask me, if only there was a way to start them *with* parameters... :-( Please do something. I know freebsd-questions is the wrong list for this (so I will be posting it to freebsd-jail as well), but my initial post ended up there. I don't care whether you end up with an /etc/jail.d as proposed in conf/116416, but IMHO, there should be some *documented* way, which is officially supported and available on a default installation of FreeBSD, to start a jail with all parameters advertised in the manpage. Please keep me in CC, I am not subscribed to freebsd-jail. Best regards, Moritz ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Download manpages
On 20/09/2011 11:39, deepak kumar wrote: I tried but several section were empty :( Perhaps if you tell us exactly what you are trying to find? Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate JID: matt...@infracaninophile.co.uk Kent, CT11 9PW signature.asc Description: OpenPGP digital signature
Re: Firefox clean installation but does not execute
On Tue, Sep 20, 2011 at 03:44:31PM +0200, Alain G. Fabry wrote: On Tue, Sep 20, 2011 at 02:40:42PM +0100, Anton Shterenlikht wrote: So, what do you get if you now type: /usr/local/bin/firefox3 or /usr/local/bin/firefox -- What I mentioned before ;-) 'command not found' afabry@desmo 15:40 % /usr/local/bin/firefox3 /usr/local/bin/firefox3: Command not found. afabry@desmo 15:40 % /usr/local/bin/firefox /usr/local/bin/firefox: Command not found. afabry@desmo 15:41 % files don't exist, and must have deinstalled/installed already 3 times... You don't mention how you are installing/deleting. Try: # pkg_delete -f firefox\* # cd /usr/ports/www/firefox # make install clean # ls -l /usr/local/bin/firefox Regards, -- Frank Contact info: http://www.shute.org.uk/misc/contact.html pgp27K0XkXEov.pgp Description: PGP signature
Re: Firefox clean installation but does not execute
On Tue, 20 Sep 2011, Alain G. Fabry wrote: afabry@desmo 15:45 % sudo find / -name firefox3 /usr/local/lib/firefox3 /var/db/ports/firefox3 only finds 2 matches for firefox3, nothing in /usr/local/bin Have you changed default settings, like changing LOCALBASE or DESTDIR? Is it installing in a jail, or some other weirdness? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Passing additional options to jail(8) via rc.conf
On Sep 20, 2011, at 3:21 PM, Moritz Wilhelmy wrote: Please keep me in CC, I am not subscribed to freebsd-jail. Which is your problem as the real solution is being discussed there and is really looking for more eyes. Search for Jamie's posts in the list archive. -- Bjoern A. Zeeb You have to have visions! Stop bit received. Insert coin for new address family. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Passing additional options to jail(8) via rc.conf
On Tue, Sep 20, 2011 at 16:54:33 +, Bjoern A. Zeeb wrote: On Sep 20, 2011, at 3:21 PM, Moritz Wilhelmy wrote: Please keep me in CC, I am not subscribed to freebsd-jail. Which is your problem as the real solution is being discussed there and is really looking for more eyes. Search for Jamie's posts in the list archive. I wasn't subscribed to freebsd-questions either, back in July. I had some FreeBSDs running before, but I really wasn't reading any mailing lists. I thought I should ask -questions first, because it is the most busy one, with all the chatter and noise. Guess I will either patch jail(8) or do it via rc.local on 8.2 and wait for the release of 9, which seems to be quite an improvement in general. I'm also not that actively involved in FreeBSD, and I try not to subscribe too many mailing lists in general. I thought the PR was the only thing there was, and google tricked me into believing this. Maybe someone could close the PR in case this is resolved. My apologies. Thanks to Jamie for adding support for the config file. Best regards, Moritz ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
apache 2.2.21 - back to 2.2.20 ?
Monday I did a portupgrade apache-2.2.20 needs updating (index has 2.2.21) There was no problem during the update (and nothing special mentionned in /usr/ports/UPDATING) Today Tuesday afternoon I did a # apachectl graceful Since them, several webpages give problems this error comes up: warning: preg_match() [function.preg-match]: Compilation failed: internal error: previously-checked referenced subpattern not found at offset 389 in /usr/local/www/apache22/data/drupal-6.22/includes/database.inc on line 347. nothing was changed to the website(s). In the morning today everything was still OK. The # apachectl grafecul must have loaded the new httpd (apache2.2.21) and now gives these errors. What can be the reason and how to solve? Can you switch back tot a previous version of a port How to go back from apache-2.2.21 to apache-2.2.20 ? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Odd error when doing pkg_version
Starting a couple of days ago, when I run pkg_version I get the following error: /libexec/ld-elf.so.1: Shared object libgdbm.so.3 not found, required by httpd Everything seems to run OK except for this message appearing in the middle of the run. I've tried to narrow it down with no real luck. I've tried searching for ports with libgdbm or ld-elf in them and am not finding any (installed or not). Does anyone know where this is coming from and how to fix it? Ron ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: apache 2.2.21 - back to 2.2.20 ?
2011/9/20 n dhert ndhert...@gmail.com: Monday I did a portupgrade apache-2.2.20 needs updating (index has 2.2.21) There was no problem during the update (and nothing special mentionned in /usr/ports/UPDATING) Today Tuesday afternoon I did a # apachectl graceful Since them, several webpages give problems this error comes up: warning: preg_match() [function.preg-match]: Compilation failed: internal error: previously-checked referenced subpattern not found at offset 389 in /usr/local/www/apache22/data/drupal-6.22/includes/database.inc on line 347. Your drupal its old versión, i think work with php 4 and now you have php5 Try to upgrade drupal. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: apache 2.2.21 - back to 2.2.20 ?
On Tue, Sep 20, 2011 at 21:45, Sergio Tam tam.ser...@gmail.com wrote: 2011/9/20 n dhert ndhert...@gmail.com: Monday I did a portupgrade apache-2.2.20 needs updating (index has 2.2.21) There was no problem during the update (and nothing special mentionned in /usr/ports/UPDATING) Today Tuesday afternoon I did a # apachectl graceful Since them, several webpages give problems this error comes up: warning: preg_match() [function.preg-match]: Compilation failed: internal error: previously-checked referenced subpattern not found at offset 389 in /usr/local/www/apache22/data/drupal-6.22/includes/database.inc on line 347. Your drupal its old versión, i think work with php 4 and now you have php5 Try to upgrade drupal. Or, in worst case scenario, portdowngrade (it's in the ports) apache. -- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254733744121/+254722743223 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ I can't hear you -- I'm using the scrambler. Please consider the environment before printing this email. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: apache 2.2.21 - back to 2.2.20 ?
2011/9/20 Odhiambo Washington odhia...@gmail.com On Tue, Sep 20, 2011 at 21:45, Sergio Tam tam.ser...@gmail.com wrote: 2011/9/20 n dhert ndhert...@gmail.com: Monday I did a portupgrade apache-2.2.20 needs updating (index has 2.2.21) There was no problem during the update (and nothing special mentionned in /usr/ports/UPDATING) Today Tuesday afternoon I did a # apachectl graceful Since them, several webpages give problems this error comes up: warning: preg_match() [function.preg-match]: Compilation failed: internal error: previously-checked referenced subpattern not found at offset 389 in /usr/local/www/apache22/data/drupal-6.22/includes/database.inc on line 347. Your drupal its old versión, i think work with php 4 and now you have php5 Try to upgrade drupal. Or, in worst case scenario, portdowngrade (it's in the ports) apache. cd /usr/ports/sysutils/portdowngrade ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: apache 2.2.21 - back to 2.2.20 ?
Sergio Tam wrote: 2011/9/20 n dhert ndhert...@gmail.com: Monday I did a portupgrade apache-2.2.20 needs updating (index has 2.2.21) There was no problem during the update (and nothing special mentionned in /usr/ports/UPDATING) Today Tuesday afternoon I did a # apachectl graceful Since them, several webpages give problems this error comes up: warning: preg_match() [function.preg-match]: Compilation failed: internal error: previously-checked referenced subpattern not found at offset 389 in /usr/local/www/apache22/data/drupal-6.22/includes/database.inc on line 347. Your drupal its old versión, i think work with php 4 and now you have php5 Try to upgrade drupal. Might also try rebuild/reinstall mod_php, see if that helps. -Mike ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Odd error when doing pkg_version
On Tue Sep 20 11, Ron (Lists) wrote: Starting a couple of days ago, when I run pkg_version I get the following error: /libexec/ld-elf.so.1: Shared object libgdbm.so.3 not found, required by httpd Everything seems to run OK except for this message appearing in the middle of the run. I've tried to narrow it down with no real luck. I've tried searching for ports with libgdbm or ld-elf in them and am not finding any (installed or not). Does anyone know where this is coming from and how to fix it? maybe portupgrade -f httpd\* ? Ron ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Odd error when doing pkg_version
Starting a couple of days ago, when I run pkg_version I get the following error: /libexec/ld-elf.so.1: Shared object libgdbm.so.3 not found, required by httpd Everything seems to run OK except for this message appearing in the middle of the run. I've tried to narrow it down with no real luck. I've tried searching for ports with libgdbm or ld-elf in them and am not finding any (installed or not). Does anyone know where this is coming from and how to fix it? maybe portupgrade -f httpd\* ? Yeah, I tried looking at that, but I don't have the httpd port installed or any of the other variations of httpd. Or if I do, it doesn't show up anywhere that I can see. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
How can I disable hyperthreads, but NOT smp ?
FreeBSD 6.4-RELEASE system with two physical CPUs, each of which are HT capable. From dmesg: cpu0 (BSP): APIC ID: 0 cpu1 (AP): APIC ID: 1 cpu2 (AP): APIC ID: 6 cpu3 (AP): APIC ID: 7 I also see this: machdep.hyperthreading_allowed: 0 The problem is, I have reason to believe that my workload benefits greatly from SMP, but is not playing nicely with hyperthreading. That is, it is trying to farm out 4 things at a time to a cpu setup that really is only able to do two things at a time. How can I disable HT completely, but still retain ALL the benefits of SMP ? Thanks. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Firefox clean installation but does not execute
On 20/09/2011 15:04, Anton Shterenlikht wrote: On Tue, Sep 20, 2011 at 03:44:31PM +0200, Alain G. Fabry wrote: On Tue, Sep 20, 2011 at 02:40:42PM +0100, Anton Shterenlikht wrote: On Tue, Sep 20, 2011 at 03:26:29PM +0200, Alain G. Fabry wrote: On Tue, Sep 20, 2011 at 01:40:56PM +0100, Anton Shterenlikht wrote: On Tue, Sep 20, 2011 at 02:16:35PM +0200, Alain G. Fabry wrote: On Tue, Sep 20, 2011 at 05:53:06AM -0600, Warren Block wrote: On Tue, 20 Sep 2011, Alain G. Fabry wrote: I've installed both firefox and firefox36. Neither of them can be found on the system while the installation build and installed without errors afabry@desmo 13:40 % pkg_info | grep firefox firefox-3.6.22,1Web browser based on the browser portion of Mozilla firefox-6.0.2,1 Web browser based on the browser portion of Mozilla afabry@desmo 13:41 % which firefox firefox: Command not found. afabry@desmo 13:41 % which firefox3 firefox3: Command not found. See 'man csh | less -p rehash'. But also these should run with a full path: % /usr/local/bin/firefox3 % /usr/local/bin/firefox ___ Files are just not found on the system... :-( afabry@desmo 14:10 % pkg_info | grep firefox firefox-3.6.22,1Web browser based on the browser portion of Mozilla firefox-6.0.2,1 Web browser based on the browser portion of Mozilla afabry@desmo 14:10 % rehash afabry@desmo 14:14 % /usr/local/bin/firefox /usr/local/bin/firefox: Command not found. afabry@desmo 14:12 % ls -l /usr/local/bin/ | grep fire -r-xr-xr-x 1 root wheel10108 Sep 7 07:29 aafire afabry@desmo 14:12 % what about pkg_info -Lx firefox-3 pkg_info -Lx firefox-6 On my system: TZAV pkg_info -Lx firefox-3 | grep bin /usr/local/bin/firefox3 /usr/local/include/firefox3/gtk2xtbin.h /usr/local/lib/firefox3/bin /usr/local/lib/firefox3/firefox-bin TZAV Seems to be ok here ?? afabry@desmo 15:22 % pkg_info -Lx firefox-3 | grep bin /usr/local/bin/firefox3 /usr/local/include/firefox3/gtk2xtbin.h /usr/local/lib/firefox3/bin /usr/local/lib/firefox3/firefox-bin afabry@desmo 15:23 % pkg_info -Lx firefox-6 | grep bin /usr/local/bin/firefox /usr/local/include/firefox/gtk2xtbin.h /usr/local/lib/firefox/bin /usr/local/lib/firefox/firefox-bin /usr/local/lib/firefox/searchplugins/bing.xml So, what do you get if you now type: /usr/local/bin/firefox3 or /usr/local/bin/firefox -- What I mentioned before ;-) 'command not found' afabry@desmo 15:40 % /usr/local/bin/firefox3 /usr/local/bin/firefox3: Command not found. afabry@desmo 15:40 % /usr/local/bin/firefox /usr/local/bin/firefox: Command not found. afabry@desmo 15:41 % files don't exist, and must have deinstalled/installed already 3 times... so, pkg_info thinks it installed the executable, yet, you can't find it. I don't know what to check next. # /usr/libexec/locate.updatedb # locate firefox ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: How can I disable hyperthreads, but NOT smp ?
On 20/09/2011 21:34, Jason Usher wrote: FreeBSD 6.4-RELEASE system with two physical CPUs, each of which are HT capable. From dmesg: cpu0 (BSP): APIC ID: 0 cpu1 (AP): APIC ID: 1 cpu2 (AP): APIC ID: 6 cpu3 (AP): APIC ID: 7 I also see this: machdep.hyperthreading_allowed: 0 The problem is, I have reason to believe that my workload benefits greatly from SMP, but is not playing nicely with hyperthreading. That is, it is trying to farm out 4 things at a time to a cpu setup that really is only able to do two things at a time. How can I disable HT completely, but still retain ALL the benefits of SMP ? Thanks. It's usually a setting in the BIOS to disable Hyperthreading then reconfigure the kernel to only use 2 cores (which it might do automatically). Hyperthreading is outside the world of FreeBSD. As far as it knows there is still 4 logical processors. Disabling hyperthreading it should see 2 LPs. Richard -- Richard Collyer Blue Apex Ltd 07900 997 380 Registered as a company in England and Wales (Reg Number: 05982514). Registered Address: 42 King Richards Hill, Earl Shilton, Leicester, LE9 7EY __ Information from ESET NOD32 Antivirus, version of virus signature database 6480 (20110920) __ The message was checked by ESET NOD32 Antivirus. http://www.eset.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Firefox clean installation but does not execute
21.09.2011 01:00, Chris Whitehouse пишет: On 20/09/2011 15:04, Anton Shterenlikht wrote: On Tue, Sep 20, 2011 at 03:44:31PM +0200, Alain G. Fabry wrote: On Tue, Sep 20, 2011 at 02:40:42PM +0100, Anton Shterenlikht wrote: On Tue, Sep 20, 2011 at 03:26:29PM +0200, Alain G. Fabry wrote: On Tue, Sep 20, 2011 at 01:40:56PM +0100, Anton Shterenlikht wrote: On Tue, Sep 20, 2011 at 02:16:35PM +0200, Alain G. Fabry wrote: On Tue, Sep 20, 2011 at 05:53:06AM -0600, Warren Block wrote: On Tue, 20 Sep 2011, Alain G. Fabry wrote: I've installed both firefox and firefox36. Neither of them can be found on the system while the installation build and installed without errors afabry@desmo 13:40 % pkg_info | grep firefox firefox-3.6.22,1Web browser based on the browser portion of Mozilla firefox-6.0.2,1 Web browser based on the browser portion of Mozilla afabry@desmo 13:41 % which firefox firefox: Command not found. afabry@desmo 13:41 % which firefox3 firefox3: Command not found. See 'man csh | less -p rehash'. But also these should run with a full path: % /usr/local/bin/firefox3 % /usr/local/bin/firefox ___ Files are just not found on the system... :-( afabry@desmo 14:10 % pkg_info | grep firefox firefox-3.6.22,1Web browser based on the browser portion of Mozilla firefox-6.0.2,1 Web browser based on the browser portion of Mozilla afabry@desmo 14:10 % rehash afabry@desmo 14:14 % /usr/local/bin/firefox /usr/local/bin/firefox: Command not found. afabry@desmo 14:12 % ls -l /usr/local/bin/ | grep fire -r-xr-xr-x 1 root wheel10108 Sep 7 07:29 aafire afabry@desmo 14:12 % what about pkg_info -Lx firefox-3 pkg_info -Lx firefox-6 On my system: TZAV pkg_info -Lx firefox-3 | grep bin /usr/local/bin/firefox3 /usr/local/include/firefox3/gtk2xtbin.h /usr/local/lib/firefox3/bin /usr/local/lib/firefox3/firefox-bin TZAV Seems to be ok here ?? afabry@desmo 15:22 % pkg_info -Lx firefox-3 | grep bin /usr/local/bin/firefox3 /usr/local/include/firefox3/gtk2xtbin.h /usr/local/lib/firefox3/bin /usr/local/lib/firefox3/firefox-bin afabry@desmo 15:23 % pkg_info -Lx firefox-6 | grep bin /usr/local/bin/firefox /usr/local/include/firefox/gtk2xtbin.h /usr/local/lib/firefox/bin /usr/local/lib/firefox/firefox-bin /usr/local/lib/firefox/searchplugins/bing.xml So, what do you get if you now type: /usr/local/bin/firefox3 or /usr/local/bin/firefox -- What I mentioned before ;-) 'command not found' afabry@desmo 15:40 % /usr/local/bin/firefox3 /usr/local/bin/firefox3: Command not found. afabry@desmo 15:40 % /usr/local/bin/firefox /usr/local/bin/firefox: Command not found. afabry@desmo 15:41 % files don't exist, and must have deinstalled/installed already 3 times... so, pkg_info thinks it installed the executable, yet, you can't find it. I don't know what to check next. # /usr/libexec/locate.updatedb # locate firefox ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org I'd suggest checking the rights on the executable, IMHO this is getting ludicrous ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Odd error when doing pkg_version
On Tue Sep 20 11, Ron (Lists) wrote: Starting a couple of days ago, when I run pkg_version I get the following error: /libexec/ld-elf.so.1: Shared object libgdbm.so.3 not found, required by httpd Everything seems to run OK except for this message appearing in the middle of the run. I've tried to narrow it down with no real luck. I've tried searching for ports with libgdbm or ld-elf in them and am not finding any (installed or not). Does anyone know where this is coming from and how to fix it? maybe portupgrade -f httpd\* ? Yeah, I tried looking at that, but I don't have the httpd port installed or any of the other variations of httpd. Or if I do, it doesn't show up anywhere that I can see. hmmmno idea then. sorry. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Odd error when doing pkg_version
21.09.2011 01:40, Alexander Best пишет: On Tue Sep 20 11, Ron (Lists) wrote: Starting a couple of days ago, when I run pkg_version I get the following error: /libexec/ld-elf.so.1: Shared object libgdbm.so.3 not found, required by httpd Everything seems to run OK except for this message appearing in the middle of the run. I've tried to narrow it down with no real luck. I've tried searching for ports with libgdbm or ld-elf in them and am not finding any (installed or not). Does anyone know where this is coming from and how to fix it? maybe portupgrade -f httpd\* ? Yeah, I tried looking at that, but I don't have the httpd port installed or any of the other variations of httpd. Or if I do, it doesn't show up anywhere that I can see. hmmmno idea then. sorry. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org Perhaps a port built with the httpd support? Have you installed or upgraded anything a couple of days before? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: How can I disable hyperthreads, but NOT smp ?
On Tue, 20 Sep 2011 22:28:18 +0100 Richard Collyer wrote: On 20/09/2011 21:34, Jason Usher wrote: FreeBSD 6.4-RELEASE system with two physical CPUs, each of which are HT capable. From dmesg: cpu0 (BSP): APIC ID: 0 cpu1 (AP): APIC ID: 1 cpu2 (AP): APIC ID: 6 cpu3 (AP): APIC ID: 7 I also see this: machdep.hyperthreading_allowed: 0 How can I disable HT completely, but still retain ALL the benefits of SMP ? Thanks. It's usually a setting in the BIOS to disable Hyperthreading then reconfigure the kernel to only use 2 cores (which it might do automatically). Hyperthreading is outside the world of FreeBSD. As far as it knows there is still 4 logical processors. It's not completely outside; an OS should still be able to determine which logical CPUs are on the same core. And, presumably machdep.hyperthreading_allowed=0 tells the scheduler not to use the additional logical CPUs. I'm wondering if hyperthreading is unused, but the full set of logical CPU is still displayed, or perhaps 6.4 is failing to recognise the hardware. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Patent expired; time to add protocol to FreeBSD?
Everyone: The Hifn, Inc. patent on the compression used in Microsoft's MPPC protocol expired earlier this year. Shouldn't the code at http://mavhome.dp.ua/MPPC/ at last be added to the source tree to support it? --Brett Glass ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: OpenLDAP + CARP
On Tue, Sep 20, 2011 at 6:02 AM, Rafael NAVAZA rnav...@hotmail.com wrote: Thank you for the reply Matthew. I'm indeed using the built in failover capability of LDAP clients. It works just fine when the first LDAP server is powered off, but it does not work that well when slapd becomes a zombi ( because the clients take about 1 min to try the second LDAP server, for each request, every time ... ) It is for that reason I'm interested in building a HA cluster for OpenLDAP. I'm currently using the single-master replication and I will certainly move to a mirrormode or a n-way multimaster replication schema (as long as the multimaster is used with CARP, this mode is equivalent to a mirrormode with more than 2 replicas, isn't it ?). As far as I know CARP will not check if the slapd is running correctly; that could be a problem if the CARP Master has a failing slapd. Do I have to monitor slapd with a third party software (like Monit) ? Can I configure CARP and OpenLDAP to watch each other more closely ? Rafael. Could this help in your situation? http://www.liquidx.net/blog/2006/04/03/nss_ldap-undocumented-nss_reconnect_tries/ -Brandon ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: How can I disable hyperthreads, but NOT smp ?
On 20/09/2011 21:34, Jason Usher wrote: FreeBSD 6.4-RELEASE system with two physical CPUs, each of which are HT capable. From dmesg: cpu0 (BSP): APIC ID: 0 cpu1 (AP): APIC ID: 1 cpu2 (AP): APIC ID: 6 cpu3 (AP): APIC ID: 7 I also see this: machdep.hyperthreading_allowed: 0 The problem is, I have reason to believe that my workload benefits greatly from SMP, but is not playing nicely with hyperthreading. That is, it is trying to farm out 4 things at a time to a cpu setup that really is only able to do two things at a time. How can I disable HT completely, but still retain ALL the benefits of SMP ? If you are sure about your machine's hardware, and that machdep.hyperthreading_allowed is really set to 0 in loader.conf(5), then you may want to glance at: http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/i386/i386/mp_machdep.c?annotate=1.252.2.16 to see where the enforcement of this tunable is failing, and file a PR. Although I have not tried to use them, there are supposed to be alternative mechanisms to disable cpus, or at least to ignore them in certain circumstances: --on recent versions of FreeBSD ( 6) you could use cpuset(1) to ignore some of them in certain circumstances; --on older versions of FreeBSD ( 9) you could use the sysctl machdep.hlt_logical_cpus=1 (see smp(4)); --on older versions of FreeBSD ( 9) you could use the sysctl machdep.hlt_cpus to add a bitmap of the logical cpus that you want to disable (see smp(4)); --you can use the loader hint hint.lapic.X.disable=1 to disable a cpu with APIC ID X. But note the warnings in the Andriy Gapon's commit message and UPDATING entry for: http://svnweb.FreeBSD.org/base?view=revisionrevision=222853 It's usually a setting in the BIOS to disable Hyperthreading then reconfigure the kernel to only use 2 cores (which it might do automatically). Hyperthreading is outside the world of FreeBSD. As far as it knows there is still 4 logical processors. Disabling hyperthreading it should see 2 LPs. This isn't completely true. Yes, many systems have a BIOS setting to toggle hyperthreading on and off. The loader tunable can be used for those machines that don't have such a setting, or for remote machines for which it is not convenient to change the setting. But FreeBSD attempts to determine if any of the logical cpus are hyperthreads, so that the loader tunable machdep.hyperthreading_allowed can be enforced (it was introduced a long time ago when a security hole was discovered with some early hyperthread implementations), and also because hyperthreads are treated differently from physical cpus with regard to interrupt handling, scheduling (with ULE), ACPI, PMC, etc. So FreeBSD is supposed to be hyperthread-aware. b. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Download manpages
Hello Matthew, I'm trying to download section 2 and section 1 for freebsd commands and system calls On Tue, Sep 20, 2011 at 8:55 PM, Matthew Seaman m.sea...@infracaninophile.co.uk wrote: On 20/09/2011 11:39, deepak kumar wrote: I tried but several section were empty :( Perhaps if you tell us exactly what you are trying to find? Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate JID: matt...@infracaninophile.co.uk Kent, CT11 9PW -- Thanks and Regards Deepak Kumar Member Technical Staff NetApp India Pvt Ltd Bangalore (Karnataka) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Firefox clean installation but does not execute
On Tue, Sep 20, 2011 at 05:41:45PM +0100, Frank Shute wrote: On Tue, Sep 20, 2011 at 03:44:31PM +0200, Alain G. Fabry wrote: On Tue, Sep 20, 2011 at 02:40:42PM +0100, Anton Shterenlikht wrote: So, what do you get if you now type: /usr/local/bin/firefox3 or /usr/local/bin/firefox -- What I mentioned before ;-) 'command not found' afabry@desmo 15:40 % /usr/local/bin/firefox3 /usr/local/bin/firefox3: Command not found. afabry@desmo 15:40 % /usr/local/bin/firefox /usr/local/bin/firefox: Command not found. afabry@desmo 15:41 % files don't exist, and must have deinstalled/installed already 3 times... You don't mention how you are installing/deleting. Try: # pkg_delete -f firefox\* # cd /usr/ports/www/firefox # make install clean # ls -l /usr/local/bin/firefox I've always installed it from ports, I'll also try the pkg_delete and reinstall from ports as you mentioned. See following settings for install -- === Configuring for firefox-3.6.22,1 (cd /usr/ports/www/firefox36/work/mozilla-1.9.2 /usr/local/bin/autoconf-2.13) (cd /usr/ports/www/firefox36/work/mozilla-1.9.2/js/src/ /usr/local/bin/autoconf-2.13) Adding configure options from ./.mozconfig: --prefix=/usr/ports/www/firefox36/work/fake --program-transform-name=s/firefox/firefox3/ --with-default-mozilla-five-home=/usr/local/lib/firefox3 --enable-svg --enable-svg-renderer=cairo --enable-application=browser --enable-official-branding --disable-updater --enable-canvas --enable-libxul --disable-necko-wifi --disable-ipc --with-system-nspr --enable-crypto --disable-tests --enable-default-toolkit=cairo-gtk2 --enable-xft --with-pthreads --x-includes=/usr/local/include --x-libraries=/usr/local/lib --enable-extensions=default --enable-image-decoders=default --enable-necko-protocols=default --with-system-zlib=/usr --with-gssapi=/usr --disable-auto-deps --disable-debug-symbols --enable-chrome-format=jar --disable-cpp-exceptions --disable-cpp-rtti --disable-glibtest --disable-gtktest --disable-freetypetest --enable-double-buffer --enable-mathml --disable-installer --disable-md --disable-pedantic --disable-bidi --disable-xterm-updates --disable-xprint --enable-xinerama --disable-gnomevfs --enable-strip --enable-install-strip --disable-debug --enable-optimize= --disable-logging --disable-gnomeui creating cache ./config.cache .. All the way at the end I see a stat: /usr/local/bin/firefox3: stat: No such file or directory /usr/bin/find /usr/ports/www/firefox36/work/fake -type l -exec echo stat -f \'/bin/ln -hfs \%Y\ \%N\\' {} + | /usr/bin/sed s'|/usr/ports/www/firefox36/work/fake|/usr/local|g' | /bin/sh | /usr/bin/sed -n s'|/usr/ports/ww w/firefox36/work/fake|/usr/local|p' | /bin/sh -x^M stat: /usr/local/lib/firefox3/lib: stat: No such file or directory^M stat: /usr/local/lib/firefox3/bin: stat: No such file or directory^M stat: /usr/local/lib/firefox3/include: stat: No such file or directory^M stat: /usr/local/lib/firefox3/idl: stat: No such file or directory^M stat: /usr/local/bin/firefox3: stat: No such file or directory^M /bin/mkdir -p /usr/local/share/applications /usr/local/share/pixmaps^M install -o root -g wheel -m 444 /usr/ports/www/firefox36/work/firefox3.desktop /usr/local/share/applications/^M /bin/mkdir -p /usr/local/lib/firefox3/chrome/icons/default^M /bin/ln -sf /usr/local/lib/firefox3/chrome/icons/default/default48.png /usr/local/share/pixmaps/firefox3.png^M ==^M ^M SMB issues:^M Network group, machine, and share browsing does not work correctly.^M ^M SFTP:^M Only sftp access using public key authentication works. To easily^M setup public key authentication to remote_host:^M ^M ssh-keygen -t dsa^M cat ~/.ssh/id_dsa.pub | ssh remote_host cat .ssh/authorized_keys^M ^M The SSH server on remote_host must allow pub key authentication.^M ^M ==^M ^M --- But don't break you head over this strange issue. If I can't find a solution soon, I'll take the opportunity to reinstall latest release, currently running 7.0 release. Thanks, Alain 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 freebsd-questions-unsubscr...@freebsd.org
Re: Download manpages
Hello Matthew, I'm trying to download section 2 and section 1 for freebsd commands and system calls ? Is there a specific manpage that you are missing? A cursory glance shows that these sections are populated: sh -c 'cd /tmp ; for i in a b c d e f g ; do fetch -ampv http://ftp.freebsd.org/pub/FreeBSD/releases/amd64/8.2-RELEASE/manpages/manpages.a${i}; ; done ; cat manpages.?? manpages.tar.gz ; mkdir manpages82 ; tar -C manpages82 -xvf manpages.tar.gz; ls manpages82/usr/share/man/man[12]' ... b. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org