Re: two questions....
On Wed, 2 Jun 2010 16:04:20 -0700, Gary Kline kl...@thought.org wrote: guys, i just found a truckload of Just Outstanding fonts. at the CTAN .org site there must be hundreds of these superb serif typefaces. in my /home/kline/ directory, i have a ~/.fonts directory. but it's been awhile since i've added to it. what's the magic to getting these tex-gyre fonts can use them? i would like these to be available for abiword, OOo, as well as my tex packages. clues, please. Installing fonts in ~/.fonts makes them available for all the programs that use fontconfig after you run: fc-cache -v TeX and a few other applications (e.g. groff) have their own way of handling fonts. You may have to install them using a TeX-specific set of commands. Newer TeX-live installations support XeTeX too. To use a Truetype font in XeTeX you will need to copy the fonts to a path that is visible during xetex/xelatex runs and add something like this in your document's preamble: \usepackage{fontspec} \defaultfontfeatures{Mapping=tex-text} \setmainfont[Scale=0.9, BoldFont={*-Bold}, ItalicFont={*-Italic}, BoldItalicFont={*-BoldItalic}] {DejaVuSerifCondensed} \setsansfont[Scale=0.9, BoldFont={*-Bold}, ItalicFont={*-Italic}, BoldItalicFont={*-BoldItalic}] {DejaVuSansCondensed} % Monospace DejaVu fonts have to be scaled down a bit more than % their serif or sans-serif equivalents to look nice in print % output. \setmonofont[Scale=0.85, BoldFont={*-Bold}, ItalicFont={*-Oblique}, BoldItalicFont={*-BoldOblique}] {DejaVuSansMono} \usepackage{xunicode} \usepackage{xltxtra} This is the preamble text I use to write XeTeX documents using the DejaVu family of fonts. The results are fantastic. A sample of what these fonts yield can be seen at: http://students.ceid.upatras.gr/~keramida/free.pdf This is one of the books I converted from their HTML source to XeLaTeX when I was learning to use TrueType and OpenType fonts in TeX. Copying the DejaVu fonts in the same directory as the TeX source makes them immediately available to XeLaTeX. This is nice because you can package both the TeX source *and* the necessary fonts in the same archive :-) ___ 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: text editor
mer...@stonehenge.com (Randal L. Schwartz) wrote: Robert Anybody else familiar with TECO? *EVIL* grin I wrote a screen-based editor in it, having heard of Emacs, wanting to do the same thing. Didn't Emacs start out as a reimplementation of TECO in Lisp? ___ 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, mod_auth_kerb
On 2010-06-03 07:45, Benjamin Lee wrote: On 05/20/2010 06:02 AM, John wrote: Hi list. I'm having problems getting mod_auth_kerb to play nice on one of my servers. I have the exact same setup on other machines and it works perfectly, only difference is this ones running CURRENT while they track RELEASE. Some info: # pkg_info|grep apache pkg_info|grep kerb apache-2.2.15_7 Version 2.2.x of Apache web server with prefork MPM. mod_auth_kerb-5.4 An Apache module for authenticating users with Kerberos v5 # uname -a FreeBSD host.example.com 9.0-CURRENT FreeBSD 9.0-CURRENT #5: Tue May 11 20:04:45 UTC 2010 host.example.com:/usr/obj/usr/src/sys/HOST i386 Everything compiles and installs nicely, but when I try to do a 'apachectl start' I get this: httpd: Syntax error on line 4 of /usr/local/etc/apache22/httpd.conf: Cannot load /usr/local/libexec/apache22/mod_auth_kerb.so into server: /usr/local/libexec/apache22/mod_auth_kerb.so: Undefined symbol gsskrb5_register_acceptor_identity Is this due to running current? If it is I will drop the issue right now, I just want to know for sure before I spend hours trying to solve it. Hi John, What is the output of 'ldd /usr/local/libexec/apache22/mod_auth_kerb.so'? /usr/local/libexec/apache22/mod_auth_kerb.so: libgssapi.so.10 = /usr/lib/libgssapi.so.10 (0x281b8000) libheimntlm.so.10 = /usr/lib/libheimntlm.so.10 (0x281c1000) libkrb5.so.10 = /usr/lib/libkrb5.so.10 (0x281c6000) libhx509.so.10 = /usr/lib/libhx509.so.10 (0x28224000) libcom_err.so.5 = /usr/lib/libcom_err.so.5 (0x2825a000) libcrypto.so.6 = /lib/libcrypto.so.6 (0x2825c000) libasn1.so.10 = /usr/lib/libasn1.so.10 (0x2880) libroken.so.10 = /usr/lib/libroken.so.10 (0x283c1000) libcrypt.so.5 = /lib/libcrypt.so.5 (0x283d1000) libc.so.7 = /lib/libc.so.7 (0x28091000) ___ 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-update
After running FreeBSD-update fetch and install is there any way to tell it worked without rebooting? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: FreeBSD-update
On Thu, 03 Jun 2010 17:46:54 +0800 Fbsd1 fb...@a1poweruser.com wrote: After running FreeBSD-update fetch and install is there any way to tell it worked without rebooting? A kernel upgrade requires your system to reboot :( -- Anh Ky Huynh ___ 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: .sh tar
On Thu, 03 Jun 2010 09:32:17 +0800, Aiza aiz...@comclark.com wrote: When I exec tar from within a .sh shell script I get this message tar: Removing leading '/' from member names I have tar outputting to /dev/null and still get this message. With -v or without makes no difference. How can I stop this Depends on WHAT you want to stop - the illness or just its symptoms. :-) If it's just about symptoms, redirect the error messages into nirvana. tar [opts] [file] 1/dev/null 21 If you want to remove the REASON for tar: Removing leading '/' from member names, you need to re-create the archives and start archiving from a relative point (instead of from an absolute one), e. g. # cd / # tar cvf etc.tar etc/ (lazy man's method) instead of # tar cvf etc.tar /etc/ The extraction of the archive will usually start in the current directory, so # cd /usr/local/bin # tar xvf etc.tar won't give you an etc/ subtree in /usr/local/bin directory. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... ___ 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: text editor
On Thu, Jun 03, 2010 at 12:04:06AM -0700, per...@pluto.rain.com wrote: mer...@stonehenge.com (Randal L. Schwartz) wrote: Robert Anybody else familiar with TECO? *EVIL* grin I wrote a screen-based editor in it, having heard of Emacs, wanting to do the same thing. Didn't Emacs start out as a reimplementation of TECO in Lisp? As I recall, it started out as a collection of TECO macros. -- Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ] pgpHauwcSPxVu.pgp Description: PGP signature
Re: .sh tar
On 3 June 2010 07:42, Polytropon free...@edvax.de wrote: On Thu, 03 Jun 2010 09:32:17 +0800, Aiza aiz...@comclark.com wrote: When I exec tar from within a .sh shell script I get this message tar: Removing leading '/' from member names I have tar outputting to /dev/null and still get this message. With -v or without makes no difference. How can I stop this Depends on WHAT you want to stop - the illness or just its symptoms. :-) If it's just about symptoms, redirect the error messages into nirvana. tar [opts] [file] 1/dev/null 21 If you want to remove the REASON for tar: Removing leading '/' from member names, you need to re-create the archives and start archiving from a relative point (instead of from an absolute one), e. g. # cd / # tar cvf etc.tar etc/ (lazy man's method) instead of # tar cvf etc.tar /etc/ The extraction of the archive will usually start in the current directory, so # cd /usr/local/bin # tar xvf etc.tar won't give you an etc/ subtree in /usr/local/bin directory. tar -cvf - ./ -C / /dev/null ? -- -- ___ 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
Strying off topic, but Re: text editor
On 31 May 2010 17:38, Chad Perrin per...@apotheon.com wrote: I meant to reply to the list, as a response to this, but accidentally replied directly to Giorgos Keramidas. On Mon, May 31, 2010 at 08:45:07PM +0300, Giorgos Keramidas wrote: On Mon, 31 May 2010 09:59:00 -0600, Chad Perrin per...@apotheon.com wrote: Does Vim install more than the binary? I've got this: ls -l /usr/local/bin/vim -rwxr-xr-x 1 root wheel 1650340 Apr 18 12:20 /usr/local/bin/vim Yes, it does: help files; syntax highlighting rules; manpages; around 14 binaries in /usr/local/bin; including more than a thousand files in /usr/local/share. After some off-list discussion, it has come to my attention that of the 14 binaries that are installed, one of them is the vim binary itself, two of them are vimtutor binaries, one is a hex dumper, and the other ten are links (hard or soft) to the vim binary itself (and thus not actually separate binaries). It seems kind of silly to include a tutor and a hexdumper in the size of the editor just because the port for that editor installs them, too. Furthermore, documentation like manpages and help files should not count against an application's size in my opinion, since more documentation is a *good* thing, and counting it toward the size of the application is marking it in the *bad* column. The grand total size of that hex dumper and two tutor binaries is about 15KB, by the way -- so even if you include them with the editor for determining its size, they're still pretty negligible. Considering I could just delete all the syntax highlighting files and it wouldn't even affect the way I use Vim (I tend to prefer monochrome, even when editing code), I don't realy think I'd count those against the size of Vim either. Vim looks pretty small to me, compared with other editors of similar power (emacs, GUI IDEs, et cetera). I don't know much, but the source tarball is slightly over 7m. In any case, the executable size is only loosely related to the actual running size. -- -- ___ 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
Xorg .Xauthority troubles
Hi freebsd-questions@, Sometimes when I type startx, Xorg starts but nothing happens and I get a lot of : Invalid MIT-MAGIC-COOKIE-1 key In the console. The only way to remove this is deleting ~/.Xauthority* files because xinit starts with : xauth: error in locking authority file /home/markand/.Xauthority I don't understand why sometimes it works and why sometimes not. Is it because I run shutdown -p now inside X? I heard that these files are normally deleted when X shutdown. If you have any tips, it will be graceful. King regards. -- Demelier David ___ 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: .sh tar
On Thu, 3 Jun 2010 10:03:04 -0400, ill...@gmail.com ill...@gmail.com wrote: tar -cvf - ./ -C / /dev/null ? Yes, of course! But I said lazy man's method, and lazy does only include x, c, v and f options, and -C is substituted by a cd command. :-) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... ___ 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
Issues reinstalling Bind9 on FreeBSD 8.0
Ok i'll make it short coz it's the 2nd time i write this -.-' and don't even ask why :D So here it goes: Fresh FreeBSD 8.0 install, installed bind97 to witch i have busted up the named.conf fine and tought, at the time, that deleting the whole content of /etc/namedb and reinstalling the bind port will simply write the files up again. Well it's not like that... i;ve did pgk_delete, make deinstall, make rmconfig, tryed to manually delete all the files required but no joy. Now i've tryed to use all bind9 bind96 and bind97 from ports and even get the source from isc.org but they all did the same, even more after a reboot and again the same process (source+ports) the builds didn't even install the named binary /etc/rc.d/named: WARNING: run_rc_command: cannot run /usr/sbin/named Please do tell me how to purge completly a port, delete all it's files and configs then install it again from scratch... I'm using a 64bit FreeBSD 8.0 on AMD Athlon X2. Best regards, Bogdan. ___ 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: .sh tar
On Jun 03 2010 10:03, ill...@gmail.com wrote: On 3 June 2010 07:42, Polytropon free...@edvax.de wrote: On Thu, 03 Jun 2010 09:32:17 +0800, Aiza aiz...@comclark.com wrote: When I exec tar from within a .sh shell script I get this message tar: Removing leading '/' from member names I have tar outputting to /dev/null and still get this message. With -v or without makes no difference. How can I stop this Depends on WHAT you want to stop - the illness or just its symptoms. :-) If it's just about symptoms, redirect the error messages into nirvana. tar [opts] [file] 1/dev/null 21 If you want to remove the REASON for tar: Removing leading '/' from member names, you need to re-create the archives and start archiving from a relative point (instead of from an absolute one), e. g. # cd / # tar cvf etc.tar etc/ (lazy man's method) instead of # tar cvf etc.tar /etc/ The extraction of the archive will usually start in the current directory, so # cd /usr/local/bin # tar xvf etc.tar won't give you an etc/ subtree in /usr/local/bin directory. tar -cvf - ./ -C / /dev/null ? I can't help wondering why the 'v' option is being specified, unless /dev/null needs more playing time. -- Sterling (Chip) Camden | camdensoftware.com | chipstips.com | chipsquips.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: Issues reinstalling Bind9 on FreeBSD 8.0
Hi, /etc/rc.d/named: WARNING: run_rc_command: cannot run /usr/sbin/named /etc/rc.d/named ans /usr/sbin/named are not from the ports but from native FreeBSD distribution. Portsx will go into /usr/local/ only. So apparently you mixed-up distribution and port, deleted part of one and part of the other... If you have a fresh FreeBSD install, just reinstall it? Olivier ___ 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
cannot ping private IP within the same subnet of AP
Dear all: I have setup an AP by using freeBSD 8 on eeebox b202. The eeebox has two network interface. One is ethernet and the other is wireless. I setup AP, DHCP, NAT on it. I can already connect to this AP and connect to the internet normally. But, I can't ping the other client which is connected to this AP. ping error message is destination unreachable. I check the firewall, dhcp settings, and gateway. Everything is just find. Then I use netstat -nr to check the routing table: Internet: DestinationGateway FlagsRefs Use Netif Expire default 140.112.42.254 UGS 8 35878re0 127.0.0.1 link#3 UH 0 0 lo0 140.112.42.0/24 link#1 U2 184 re0 140.112.42.165 link#1 UHS 00 lo0 192.168.0.0/24 link#4 U 0 2615 wlan0 192.168.0.254link#4 UHS00 lo0 I found that there is no C Flags in 192.168.0.0/24 link#4. In official handbook, C: Clone: Generates a new route based upon this route for machines we connect to. This type of route is normally used for local networks. I don't know the How could i enable this C Flags by anything settings? thanks. -- Po-Jung Wang Graduate Institute of Communication Engineering, National Taiwan University Blog: http://language99.blogspot.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: command to strip suffix in .sh script
On Wed, 02 Jun 2010 20:25:36 -0400 Vinny vinny-mail-01+freebsd20100...@palaceofretention.ca wrote: On 06/02/2010 04:30, Matthew Seaman wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 02/06/2010 09:24:01, Matthias Apitz wrote: El dÃa Wednesday, June 02, 2010 a las 04:15:22PM +0800, Aiza escribió: I have this code [snip] $ echo 'archivename-201006021514.34.tar.gz' | sed 's/-.*$//' archive_name=${fromarchive%-*} Thanks Matthew, that's really neat. It took me a long time to find the correct google incantation to find the documentation for that. ( bourne shell pattern-matching notation ) In fact I know about that from Bash's documents:) IMHO, there are more Bash's documents than Bourne's ones. Cheers, -- Anh Ky Huynh ___ 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
USB-Boot over fat32 parition
Hi there, I'm trying to boot FreeBSD 8.0 over or rather from an USB stick. The memstick freebsd version doesn't work because my pc reboots after it wants to boot from the stick (written with Windows dd on the stick). This happens also, if i format the stick myself with ufs2 and install the boot stuff... So I setup the kernel on a GPT partition but then, my pc freeze before the bios searchs for any connected devices. With the zfsboot i get some strange characters on the screen but nothing happens anymore ( http://wiki.freebsd.org/ZFSOnRootWithZFSboot ). I tried also different USB sticks (different manufacturers) My mainboard is a Abit KN9 Ultra with latest bios update from 2007 :( Memtest86+ works with USB boot that is on a fat32 partition Can i setup a fat32 partition that boots then the kernel from this or an other ufs2 label on the stick? I read also about http://doc.ctrlaltdel.ch/freebsd/handbook/internals.html but I didn't find any further information for FreeBSD 8.0. Thanks for any information :) tjado ___ 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: text editor
On Jun 03 2010 11:11, Murray Taylor wrote: Hmm i remember a 'game' where you opened a file then predicted what would happen if you just typed your name at the command prompt... then of course you had to do it to see if your guess was right... ie in vi dwight would delete a word then insert ght destroyed the odd file or two i remember with the addition of 'random' control key additions It would be unfortunate if your parents named you :!rm -r *, even though they affectionately called you little Remy Star and you made good friends with Bobby Tables (http://xkcd.com/327/). -- Sterling (Chip) Camden | camdensoftware.com | chipstips.com | chipsquips.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: Issues reinstalling Bind9 on FreeBSD 8.0
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 03/06/2010 16:51:09, Olivier Nicole wrote: /etc/rc.d/named: WARNING: run_rc_command: cannot run /usr/sbin/named /etc/rc.d/named ans /usr/sbin/named are not from the ports but from native FreeBSD distribution. Portsx will go into /usr/local/ only. So apparently you mixed-up distribution and port, deleted part of one and part of the other... If you have a fresh FreeBSD install, just reinstall it? Also, if you're trying to run one of the bind ports, then you should just use all the default configuration stuff in /etc/namedb (which is really /var/named/etc/namedb) and the rc script /etc/rc.d/named with the binaries installed by the port by putting the following in /etc/rc.conf: named_enable=YES named_program=/usr/local/sbin/named named_flags=-c /etc/namedb/named.conf This is a bit unusual -- most ports install their own startup script in /usr/local/etc/rc.d/ and their own config files under /usr/local/etc or subdirs thereof. One handy hint is to link /usr/local/etc/rndc.conf to /etc/namedb/rndc.conf which helps the rc-script control the named process better. (Or .../rndc.key, depending on how you set things up.) Actually, I believe the various bind ports do this automatically now, but it doesn't hurt to double check. 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 -BEGIN PGP SIGNATURE- Version: GnuPG/MacGPG2 v2.0.14 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkwH3PIACgkQ8Mjk52CukIwDFQCfQRnuL/eOlV4V6lERkE480+OT J4QAnRHrzd5VWzEKswpR0eUtDa20zTzo =+8Vv -END PGP SIGNATURE- ___ 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: command to strip suffix in .sh script
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 03/06/2010 17:11:16, Anh Ky Huynh wrote: On Wed, 02 Jun 2010 20:25:36 -0400 Vinny vinny-mail-01+freebsd20100...@palaceofretention.ca wrote: On 06/02/2010 04:30, Matthew Seaman wrote: archive_name=${fromarchive%-*} Thanks Matthew, that's really neat. It took me a long time to find the correct google incantation to find the documentation for that. ( bourne shell pattern-matching notation ) In fact I know about that from Bash's documents:) IMHO, there are more Bash's documents than Bourne's ones. Most of what I know about sh programming is due to close reading of the sh(1) man page and studying examples of periodic and rc scripts and the like. Quantity of documentation really is no substitute for quality. 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 -BEGIN PGP SIGNATURE- Version: GnuPG/MacGPG2 v2.0.14 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkwH3hkACgkQ8Mjk52CukIwTMACePjyFyiXiEV4pAAOWPZDYI9Zy ApYAn1s91AGLUYwVinrQjSWoxPLp893D =3jcR -END PGP SIGNATURE- ___ 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: command to strip suffix in .sh script
On Thu, Jun 03, 2010 at 11:11:16PM +0700, Anh Ky Huynh wrote: On Wed, 02 Jun 2010 20:25:36 -0400 Vinny wrote: On 06/02/2010 04:30, Matthew Seaman wrote: On 02/06/2010 09:24:01, Matthias Apitz wrote: Aiza wrote: I have this code [snip] $ echo 'archivename-201006021514.34.tar.gz' | sed 's/-.*$//' archive_name=${fromarchive%-*} Thanks Matthew, that's really neat. It took me a long time to find the correct google incantation to find the documentation for that. ( bourne shell pattern-matching notation ) In fact I know about that from Bash's documents:) IMHO, there are more Bash's documents than Bourne's ones. Kids today. ;-) No need for Magick Google Incantations: man sh | less -p 'Parameter Expansion$' man bash | less -p 'Parameter Expansion$' -- George ___ 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: Hi es_MX internationalization needed.....
Bernt: Thanks for your reply, I read it already, and ended my self reading the mklocale manuals The problem i have now is where to find a suitable es_MX.UTF-8.src file, I looked here: http://cvsup.hu.freebsd.org/viewvc/FreeBSD/src/share/mklocale/?sortby=file to no avail. Do you know or some one know here in the list where i can find a src file for es_MX.UTF-8 ? Thanks in advance. LIA Eric De La Cruz Lugo Mérida, Yucatán, México, The MayaLand. From: Bernt Hansson be...@bah.homeip.net To: Eric De La Cruz Lugo eric_delac...@yahoo.com Cc: freebsd-i...@freebsd.org; freebsd-questions@freebsd.org Sent: Wed, June 2, 2010 10:24:32 PM Subject: Re: Hi es_MX internationalization needed. 2010-06-03 03:37, Eric De La Cruz Lugo skrev: Hi to every one. I have been checking the mail lists and haven`t found information about es_MX localization, in Ubuntu, OpenSUSE and other Linux distributions this can be achieved by something like. # locale-gen es_MX.UTF-8 Not the freebsd way of doing it. hava a look at: http://www.se.freebsd.org/doc/en_US.ISO8859-1/books/handbook/l10n.html # locale-gen es_MX But on FreeBSD I can`t find any command or tool to perform this. there is a es_ES locale on FreeBSD. I thinked about generating the es_MX locale with a file like es_MX.UTF-8.src or something like that, without success this is beyond my expertise right now. I need the es_MX because there is a postgreSQL database that MUST be encoded with the es_MX encoding, for a project am working on. On KDE 4 on FreeBSD 8.0 I can changed the region to Mexico (es_MX), but I can't change my locale variables (LC_) on my command line terminal. they look actually like this: [cursos] ~ locale LANG= LC_CTYPE=es_ES.UTF-8 LC_COLLATE=es_ES.UTF-8 LC_TIME=es_ES.UTF-8 LC_NUMERIC=es_ES.UTF-8 LC_MONETARY=es_ES.UTF-8 LC_MESSAGES=es_ES.UTF-8 LC_ALL= [cursos] ~ On other server i have OpenSUSE 11.2 and have this: (the way a needed it). edelac...@sgi:~ locale LANG=es_MX.UTF-8 LC_CTYPE=es_MX.UTF-8 LC_NUMERIC=es_MX.UTF-8 LC_TIME=es_MX.UTF-8 LC_COLLATE=es_MX.UTF-8 LC_MONETARY=es_MX.UTF-8 LC_MESSAGES=es_MX.UTF-8 LC_PAPER=es_MX.UTF-8 LC_NAME=es_MX.UTF-8 LC_ADDRESS=es_MX.UTF-8 LC_TELEPHONE=es_MX.UTF-8 LC_MEASUREMENT=es_MX.UTF-8 LC_IDENTIFICATION=es_MX.UTF-8 LC_ALL= edelac...@sgi:~ How do i do this on FreeBSD 8.0 i386 or amd64? Thanks in advance for your attention and help. LIA Eric De La Cruz Lugo. ___ 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
UPGRADE TO RELEASE 8.0-P3/SAMBA HELP REQUIRED
After being advised to upgrade after a freebsd-update I have successfully upgraded from 7.2 to 8.0-p3. OK but have come across a major problem for me. OK time for a BIG rant this has been going on for 2 days (very sorry) After the install of the new kernel Samba isn't working. I TTL's onto the server and tried a testparm but the error messages suggest I have dependancies missing?! - surely this should be taken into account when upgrading versions - Major schoolboy error on FreeBSD when Linux can do this basic task seamlessly! OK I try sysinstall and find SAMBA isn't marked as installed. I select samba for install but when installing SAMBA get a error code -1 (WTF is that all about REALLY USEFUL error message mate!) Looked on google and keeps referring to PORTS being installed. Tried the examples of how to install SAMBA but get loads of failed command line instructions - Doesn't say anything about installing PORTS during initial installation. So I guess you can say I don't have Ports installed - why isn't this done automatically if its absolutely so critical for the OS to function right? Error messages that mean nothing to the every day user. Apparently I am meant to have something called PORTS installed before I've even setup the server. Im really beginning to lose my rag with this OS. Is it meant for gurus only? So what am I meant to do now. Now I have XXX GB of data I cant access though SAMBA prior to the install? ___ 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: UPGRADE TO RELEASE 8.0-P3/SAMBA HELP REQUIRED
On Thu, 3 Jun 2010 19:10:32 + (GMT), Andy Hiscock andyjhisc...@yahoo.com wrote: After being advised to upgrade after a freebsd-update I have successfully upgraded from 7.2 to 8.0-p3. OK but have come across a major problem for me. OK time for a BIG rant this has been going on for 2 days (very sorry) After the install of the new kernel Samba isn't working. I TTL's onto the server and tried a testparm but the error messages suggest I have dependancies missing?! - surely this should be taken into account when upgrading versions - Major schoolboy error on FreeBSD when Linux can do this basic task seamlessly! When you upgraded from 7 to 8, you need to recompile your ports (or delete and re-install from packages). You can also install the 7 compatibility libraries. OK I try sysinstall and find SAMBA isn't marked as installed. The sysinstall program doesn't know what's installed. It's just a selection interface to the pkg_add program. I select samba for install but when installing SAMBA get a error code -1 (WTF is that all about REALLY USEFUL error message mate!) The sysinstall program can't tell you what's the problem. The pkg_add program probably exited with -1, and that's what sysinstall is informing you about. Looked on google and keeps referring to PORTS being installed. Tried the examples of how to install SAMBA but get loads of failed command line instructions - Doesn't say anything about installing PORTS during initial installation. At this moment, it would be useful if you could provide (1st) what command you entered and (2nd) what the system responded. Basically, in order to perform a major update of a system, you first update your ports tree (e. g. using portsnap), then you enter the port's directory in question and do make deinstall, followed by make reinstall. You can of course use programs like portmaster, portupgrade or portmanager to take care of this. For example, per- forming the upgrade of all installed applications, the command portupgrade -a can be used. I may repeat: Major version updates of the OS usually require the re-compilation of all installed ports. So I guess you can say I don't have Ports installed - why isn't this done automatically if its absolutely so critical for the OS to function right? In fact, it isn't. You can live without the ports collection. This collection is just a subtree /usr/ports that is usually installed together with the OS. You can use sysinstall to install the ports collection after the system has been installed, or you can use portsnap to obtain it. This subtree contains a hierarchy with files describing how to handle (configure, install, deinstall, upgrade) applications. It is meant to make compiling programs easier (no ./configure make make install), and there are programs interfacing with this system. If you don't want to use ports, use packages. This is usually done through sysinstall or pkg_add (see man pkg_add), as well as, for example, portinstall -PP samba (see man portupgrade) which will install sanba by utilizing the ports tree, but not by compiling - instead by getting the package. Error messages that mean nothing to the every day user. When you're dealing with ports and packages, you're not an every day user (in terms of average user). In such a case, you shouldn't even consider upgrading your system without reading the instructions telling you how to do it. I may politely point you at the excellent documentation provided for FreeBSD - The FreeBSD Handbook and the FAQ. Feel free to read more about OS and application upgrade there, and find out how easy it is as soon as you *know* what to do. Apparently I am meant to have something called PORTS installed before I've even setup the server. No. You don't need the ports collection, and you can install it whenever you want. Please read in the documentation what a port exactly is, and what a package is. Im really beginning to lose my rag with this OS. Is it meant for gurus only? No. So what am I meant to do now. Maybe first you bring your ports tree up to date, then install portupgrade, and finally do portupgrade -a. Before you do this, read man portupgrade, and maybe man ports. Now I have XXX GB of data I cant access though SAMBA prior to the install? I don't understand, sorry. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... ___ 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: UPGRADE TO RELEASE 8.0-P3/SAMBA HELP REQUIRED
On 6/3/10, Andy Hiscock andyjhisc...@yahoo.com wrote: After being advised to upgrade after a freebsd-update I have successfully upgraded from 7.2 to 8.0-p3. OK but have come across a major problem for me. OK time for a BIG rant this has been going on for 2 days (very sorry) After the install of the new kernel Samba isn't working. I TTL's onto the server and tried a testparm but the error messages suggest I have dependancies missing?! - surely this should be taken into account when upgrading versions - Major schoolboy error on FreeBSD when Linux can do this basic task seamlessly! [snip rest of useless rant] Never come across this myself til now, but it seems there's a problem in ports that touches Samba. Probably related to your Samba install complaining. From a ports tree updated just a while ago: bash3-3.2.51 Dependency: gettext-0.17_1 gettext-0.17_1 Information for gettext-0.17_1: lynx-2.8.7.1_1,1 Dependency: gettext-0.18_1 mutt-devel-1.5.20_5 Dependency: gettext-0.18_1 popt-1.14_1 Dependency: gettext-0.18_1 samba34-3.4.5_1 Dependency: gettext-0.18_1 wget-1.12_1 Dependency: gettext-0.18_1 I guess it's a choice between bash working, or everything else working. ___ 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: UPGRADE TO RELEASE 8.0-P3/SAMBA HELP REQUIRED
Again Ports? What is that about... I've run the server and upgraded from 7.0-7,2 with no problem or need to change any config files before. Its upgraded with no problem before. How do I install Ports? How do I reinstall Samba without getting a error -1 in sysinstall? From: David Allen the.real.david.al...@gmail.com To: Andy Hiscock andyjhisc...@yahoo.com Cc: freebsd-questions@freebsd.org Sent: Thu, 3 June, 2010 21:15:55 Subject: Re: UPGRADE TO RELEASE 8.0-P3/SAMBA HELP REQUIRED On 6/3/10, Andy Hiscock andyjhisc...@yahoo.com wrote: After being advised to upgrade after a freebsd-update I have successfully upgraded from 7.2 to 8.0-p3. OK but have come across a major problem for me. OK time for a BIG rant this has been going on for 2 days (very sorry) After the install of the new kernel Samba isn't working. I TTL's onto the server and tried a testparm but the error messages suggest I have dependancies missing?! - surely this should be taken into account when upgrading versions - Major schoolboy error on FreeBSD when Linux can do this basic task seamlessly! [snip rest of useless rant] Never come across this myself til now, but it seems there's a problem in ports that touches Samba. Probably related to your Samba install complaining. From a ports tree updated just a while ago: bash3-3.2.51 Dependency: gettext-0.17_1 gettext-0.17_1 Information for gettext-0.17_1: lynx-2.8.7.1_1,1 Dependency: gettext-0.18_1 mutt-devel-1.5.20_5 Dependency: gettext-0.18_1 popt-1.14_1 Dependency: gettext-0.18_1 samba34-3.4.5_1 Dependency: gettext-0.18_1 wget-1.12_1 Dependency: gettext-0.18_1 I guess it's a choice between bash working, or everything else working. ___ 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: UPGRADE TO RELEASE 8.0-P3/SAMBA HELP REQUIRED
Re-including the list... On Thu, 3 Jun 2010 20:14:03 + (GMT), Andy Hiscock andyjhisc...@yahoo.com wrote: Right how can I uninstall back to 7.2? Well... I have to admit that I've never done that. Basically, it should be possible if you install the sources of 7.2 (e. g. from the CD) to overwrite /usr/src. Then you basically do what the Handbook says about upgrading from source, or, to quote from /usr/src/Makefile (worth reading its beginning): # 1. `cd /usr/src' (or to the directory containing your source tree). # 2. `make buildworld' # 3. `make buildkernel KERNCONF=YOUR_KERNEL_HERE' (default is GENERIC). # 4. `make installkernel KERNCONF=YOUR_KERNEL_HERE' (default is GENERIC). # [steps 3. 4. can be combined by using the kernel target] # 5. `reboot'(in single user mode: boot -s from the loader prompt). # 6. `mergemaster -p' # 7. `make installworld' # 8. `make delete-old' # 9. `mergemaster' (you may wish to use -U or -ai). # 10. `reboot' # 11. `make delete-old-libs' (in case no 3rd party program uses them anymore) This should then give you the 7.2 version of FreeBSD back - removing everything that freebsd-update might have updated. I am not sure if you can use freebsd-update for this task (but I don't see why it should not be possible); in this case, refer to man freebsd-update, especially the -r parameter (new release). Maybe a third possibility is to install FreeBSD 7.2 from the CD (I just assume you installed from CD or have the CD there), without any formatting, just overwriting. But this may be problematic - MAY, I'm not sure. Sorry, I'm really lacking experience in downgrading a system, as I have never done this, so I sadly can't be more specific. Maybe somebody on-list can be more precise (that's why I took the freedom to re-include the list, hope that's okay). -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... ___ 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: UPGRADE TO RELEASE 8.0-P3/SAMBA HELP REQUIRED
Why during the upgrade process the inspecting system shouldnt be able to find and identify and prepair everything that needs to be upgraded and reconfigured accordingly. Surely thats what Inspecting system is meant to be doing. No matter if it is FreeBSD 1.0 or the prior version to the upgrade From: Andy Hiscock andyjhisc...@yahoo.com To: David Allen the.real.david.al...@gmail.com Cc: freebsd-questions@freebsd.org Sent: Thu, 3 June, 2010 21:21:29 Subject: Re: UPGRADE TO RELEASE 8.0-P3/SAMBA HELP REQUIRED Again Ports? What is that about... I've run the server and upgraded from 7.0-7,2 with no problem or need to change any config files before. Its upgraded with no problem before. How do I install Ports? How do I reinstall Samba without getting a error -1 in sysinstall? From: David Allen the.real.david.al...@gmail.com To: Andy Hiscock andyjhisc...@yahoo.com Cc: freebsd-questions@freebsd.org Sent: Thu, 3 June, 2010 21:15:55 Subject: Re: UPGRADE TO RELEASE 8.0-P3/SAMBA HELP REQUIRED On 6/3/10, Andy Hiscock andyjhisc...@yahoo.com wrote: After being advised to upgrade after a freebsd-update I have successfully upgraded from 7.2 to 8.0-p3. OK but have come across a major problem for me. OK time for a BIG rant this has been going on for 2 days (very sorry) After the install of the new kernel Samba isn't working. I TTL's onto the server and tried a testparm but the error messages suggest I have dependancies missing?! - surely this should be taken into account when upgrading versions - Major schoolboy error on FreeBSD when Linux can do this basic task seamlessly! [snip rest of useless rant] Never come across this myself til now, but it seems there's a problem in ports that touches Samba. Probably related to your Samba install complaining. From a ports tree updated just a while ago: bash3-3.2.51 Dependency: gettext-0.17_1 gettext-0.17_1 Information for gettext-0.17_1: lynx-2.8.7.1_1,1 Dependency: gettext-0.18_1 mutt-devel-1.5.20_5 Dependency: gettext-0.18_1 popt-1.14_1 Dependency: gettext-0.18_1 samba34-3.4.5_1 Dependency: gettext-0.18_1 wget-1.12_1 Dependency: gettext-0.18_1 I guess it's a choice between bash working, or everything else working. ___ 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 ___ 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: UPGRADE TO RELEASE 8.0-P3/SAMBA HELP REQUIRED
ok so then running testparm i'm getting leopard# testparm /libexec/ld-elf.so.1: Shared object libcrypt.so.4 not found, required by testparm leopard# From: Polytropon free...@edvax.de To: Andy Hiscock andyjhisc...@yahoo.com Cc: freebsd-questions@freebsd.org Sent: Thu, 3 June, 2010 21:27:33 Subject: Re: UPGRADE TO RELEASE 8.0-P3/SAMBA HELP REQUIRED Re-including the list... On Thu, 3 Jun 2010 20:14:03 + (GMT), Andy Hiscock andyjhisc...@yahoo.com wrote: Right how can I uninstall back to 7.2? Well... I have to admit that I've never done that. Basically, it should be possible if you install the sources of 7.2 (e. g. from the CD) to overwrite /usr/src. Then you basically do what the Handbook says about upgrading from source, or, to quote from /usr/src/Makefile (worth reading its beginning): # 1. `cd /usr/src' (or to the directory containing your source tree). # 2. `make buildworld' # 3. `make buildkernel KERNCONF=YOUR_KERNEL_HERE' (default is GENERIC). # 4. `make installkernel KERNCONF=YOUR_KERNEL_HERE' (default is GENERIC). # [steps 3. 4. can be combined by using the kernel target] # 5. `reboot'(in single user mode: boot -s from the loader prompt). # 6. `mergemaster -p' # 7. `make installworld' # 8. `make delete-old' # 9. `mergemaster' (you may wish to use -U or -ai). # 10. `reboot' # 11. `make delete-old-libs' (in case no 3rd party program uses them anymore) This should then give you the 7.2 version of FreeBSD back - removing everything that freebsd-update might have updated. I am not sure if you can use freebsd-update for this task (but I don't see why it should not be possible); in this case, refer to man freebsd-update, especially the -r parameter (new release). Maybe a third possibility is to install FreeBSD 7.2 from the CD (I just assume you installed from CD or have the CD there), without any formatting, just overwriting. But this may be problematic - MAY, I'm not sure. Sorry, I'm really lacking experience in downgrading a system, as I have never done this, so I sadly can't be more specific. Maybe somebody on-list can be more precise (that's why I took the freedom to re-include the list, hope that's okay). -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... ___ 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: UPGRADE TO RELEASE 8.0-P3/SAMBA HELP REQUIRED
Anyone want to log on to my server and investigate/correct? From: Andy Hiscock andyjhisc...@yahoo.com To: freebsd-questions@freebsd.org Sent: Thu, 3 June, 2010 21:29:28 Subject: Re: UPGRADE TO RELEASE 8.0-P3/SAMBA HELP REQUIRED Why during the upgrade process the inspecting system shouldnt be able to find and identify and prepair everything that needs to be upgraded and reconfigured accordingly. Surely thats what Inspecting system is meant to be doing. No matter if it is FreeBSD 1.0 or the prior version to the upgrade From: Andy Hiscock andyjhisc...@yahoo.com To: David Allen the.real.david.al...@gmail.com Cc: freebsd-questions@freebsd.org Sent: Thu, 3 June, 2010 21:21:29 Subject: Re: UPGRADE TO RELEASE 8.0-P3/SAMBA HELP REQUIRED Again Ports? What is that about... I've run the server and upgraded from 7.0-7,2 with no problem or need to change any config files before. Its upgraded with no problem before. How do I install Ports? How do I reinstall Samba without getting a error -1 in sysinstall? From: David Allen the.real.david.al...@gmail.com To: Andy Hiscock andyjhisc...@yahoo.com Cc: freebsd-questions@freebsd.org Sent: Thu, 3 June, 2010 21:15:55 Subject: Re: UPGRADE TO RELEASE 8.0-P3/SAMBA HELP REQUIRED On 6/3/10, Andy Hiscock andyjhisc...@yahoo.com wrote: After being advised to upgrade after a freebsd-update I have successfully upgraded from 7.2 to 8.0-p3. OK but have come across a major problem for me. OK time for a BIG rant this has been going on for 2 days (very sorry) After the install of the new kernel Samba isn't working. I TTL's onto the server and tried a testparm but the error messages suggest I have dependancies missing?! - surely this should be taken into account when upgrading versions - Major schoolboy error on FreeBSD when Linux can do this basic task seamlessly! [snip rest of useless rant] Never come across this myself til now, but it seems there's a problem in ports that touches Samba. Probably related to your Samba install complaining. From a ports tree updated just a while ago: bash3-3.2.51 Dependency: gettext-0.17_1 gettext-0.17_1 Information for gettext-0.17_1: lynx-2.8.7.1_1,1 Dependency: gettext-0.18_1 mutt-devel-1.5.20_5 Dependency: gettext-0.18_1 popt-1.14_1 Dependency: gettext-0.18_1 samba34-3.4.5_1 Dependency: gettext-0.18_1 wget-1.12_1 Dependency: gettext-0.18_1 I guess it's a choice between bash working, or everything else working. ___ 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 ___ 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
Sluggish Apache Server
Hi guys, We're having a serious problem here with our live server, it's very sluggish all of a sudden. The problem is that Apache is *really* slow responding to https requests but still fairly quick on http. We've checked and ruled out all of the following: * CPU usage is normal and so is memory usage * All other system daemons seem to be running just fine * smartctl -a on both our disks (gmirror RAID 1) says health test PASSED, gmirror status fine, smartd running for a week now with nothing in the logs * nothing strange in the apache access or error logs * restarted apache, stopped jboss, upgraded apache to latest patch level, even soft rebooted the box but to no avail * nobody has done any upgrades, code changes, physical changes or anything else to the box before the problem first manifested itself * hosting problems - this problem even occurs when you do a wget on the same box with https://localhost/... , in fact then it doesn't even get to the SSL handshake as it doesn't get to complain about the certificate mismatch The weird thing is that the first time this happened a week ago, there was only jboss/seam (which runs behind apache via mod_proxy_ajp) that had an issue with sluggishness, all other https pages worked just fine. Our tech time was desperate when nobody senior was available and decided to hard reboot (power off and on again) the box after which it acted really strangely (with disk errors in the logs, other system daemons dying randomly) but eventually came right. A week later, sometime this afternoon, the problems reoccurred but this time they are chronic, nothing we do seems to help. So, I keep thinking it must be a hardware problem. Not disk (or maybe it is?), then perhaps faulty RAM? I always thought faulty RAM results in nasty kernel panics, segfaults and other obvious symptoms but not a sluggishness in one particular daemon... Any ideas? -- Barry ___ 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: UPGRADE TO RELEASE 8.0-P3/SAMBA HELP REQUIRED
LOL - now stuck in and endless loop of: Message ─┐ │Unable to get packages/INDEX file from selected media. This is like a poorly written shareware app! Really getting pissd here! From: Andy Hiscock andyjhisc...@yahoo.com To: freebsd-questions@freebsd.org Sent: Thu, 3 June, 2010 21:43:41 Subject: Re: UPGRADE TO RELEASE 8.0-P3/SAMBA HELP REQUIRED Anyone want to log on to my server and investigate/correct? From: Andy Hiscock andyjhisc...@yahoo.com To: freebsd-questions@freebsd.org Sent: Thu, 3 June, 2010 21:29:28 Subject: Re: UPGRADE TO RELEASE 8.0-P3/SAMBA HELP REQUIRED Why during the upgrade process the inspecting system shouldnt be able to find and identify and prepair everything that needs to be upgraded and reconfigured accordingly. Surely thats what Inspecting system is meant to be doing. No matter if it is FreeBSD 1.0 or the prior version to the upgrade From: Andy Hiscock andyjhisc...@yahoo.com To: David Allen the.real.david.al...@gmail.com Cc: freebsd-questions@freebsd.org Sent: Thu, 3 June, 2010 21:21:29 Subject: Re: UPGRADE TO RELEASE 8.0-P3/SAMBA HELP REQUIRED Again Ports? What is that about... I've run the server and upgraded from 7.0-7,2 with no problem or need to change any config files before. Its upgraded with no problem before. How do I install Ports? How do I reinstall Samba without getting a error -1 in sysinstall? From: David Allen the.real.david.al...@gmail.com To: Andy Hiscock andyjhisc...@yahoo.com Cc: freebsd-questions@freebsd.org Sent: Thu, 3 June, 2010 21:15:55 Subject: Re: UPGRADE TO RELEASE 8.0-P3/SAMBA HELP REQUIRED On 6/3/10, Andy Hiscock andyjhisc...@yahoo.com wrote: After being advised to upgrade after a freebsd-update I have successfully upgraded from 7.2 to 8.0-p3. OK but have come across a major problem for me. OK time for a BIG rant this has been going on for 2 days (very sorry) After the install of the new kernel Samba isn't working. I TTL's onto the server and tried a testparm but the error messages suggest I have dependancies missing?! - surely this should be taken into account when upgrading versions - Major schoolboy error on FreeBSD when Linux can do this basic task seamlessly! [snip rest of useless rant] Never come across this myself til now, but it seems there's a problem in ports that touches Samba. Probably related to your Samba install complaining. From a ports tree updated just a while ago: bash3-3.2.51 Dependency: gettext-0.17_1 gettext-0.17_1 Information for gettext-0.17_1: lynx-2.8.7.1_1,1 Dependency: gettext-0.18_1 mutt-devel-1.5.20_5 Dependency: gettext-0.18_1 popt-1.14_1 Dependency: gettext-0.18_1 samba34-3.4.5_1 Dependency: gettext-0.18_1 wget-1.12_1 Dependency: gettext-0.18_1 I guess it's a choice between bash working, or everything else working. ___ 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 ___ 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 ___ 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: Sluggish Apache Server
In response to Barry Steyn ba...@redbutton.co.za: Hi guys, We're having a serious problem here with our live server, it's very sluggish all of a sudden. The problem is that Apache is *really* slow responding to https requests but still fairly quick on http. We've checked and ruled out all of the following: * CPU usage is normal and so is memory usage * All other system daemons seem to be running just fine * smartctl -a on both our disks (gmirror RAID 1) says health test PASSED, gmirror status fine, smartd running for a week now with nothing in the logs * nothing strange in the apache access or error logs * restarted apache, stopped jboss, upgraded apache to latest patch level, even soft rebooted the box but to no avail * nobody has done any upgrades, code changes, physical changes or anything else to the box before the problem first manifested itself * hosting problems - this problem even occurs when you do a wget on the same box with https://localhost/... , in fact then it doesn't even get to the SSL handshake as it doesn't get to complain about the certificate mismatch The weird thing is that the first time this happened a week ago, there was only jboss/seam (which runs behind apache via mod_proxy_ajp) that had an issue with sluggishness, all other https pages worked just fine. Our tech time was desperate when nobody senior was available and decided to hard reboot (power off and on again) the box after which it acted really strangely (with disk errors in the logs, other system daemons dying randomly) but eventually came right. A week later, sometime this afternoon, the problems reoccurred but this time they are chronic, nothing we do seems to help. So, I keep thinking it must be a hardware problem. Not disk (or maybe it is?), then perhaps faulty RAM? I always thought faulty RAM results in nasty kernel panics, segfaults and other obvious symptoms but not a sluggishness in one particular daemon... Any ideas? Given your description of the symptoms, I suspect hardware. Sure, SMART is nice, but it's not failproof. It also doesn't monitor the disk controller, which can have problems. The fact that it gave you all sorts of disk issues after a reboot tells me that there is something wrong that SMART and other hardware diagnostics aren't detecting. I've seen systems fail in ways that defy all attempts to predict and detect. Saw a RAID system die in such a way that the system locked up tight, in spite of the fact that there was a backup RAID card installed that should have taken over. If your budget allows, I'd make it top priority to migrate off that system and onto a new one, then get that system into a dedicated testing setup to see if you can isolate any problems in the hardware. Whatever else you do, make sure you have good backups of any data on that system right away. -- Bill Moran http://www.potentialtech.com http://people.collaborativefusion.com/~wmoran/ ___ 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: [#24536008] Re: UPGRADE TO RELEASE 8.0-P3/SAMBA HELP REQUIRED
Ah seems like FTP as well as Samba is blocked after the upgrade I have ran FreeBSD 7 to 7.2 using the freebsd upgrade process painless in the past, however.. Have followed the instructions for upgrade 7.2 to 8.0-P3 from the FreeBSD website. As I am not a FreeBSD guru all I can say is the update process is NOT a smooth process as per EVERY OTHER O/S in the open source market. I appreciate the support you have given but whatever you suggest just doesn't work. I am very angered being lead in to believing freebsd-update will be the able to update your OS - this isn't the case. Does FreeBSD want to be a fanatics only OS? No other OS's seems to have no such problems updating. I have even offered access to my server to sort out the problem but no one has offered. I just get cut/copy emails in reply that doesn't work. After 5 years of painless usage perhaps I ought to look at another better support OS? From: freebsd-questions@freebsd.org freebsd-questions@freebsd.org To: Andy Hiscock andyjhisc...@yahoo.com Sent: Thu, 3 June, 2010 22:02:05 Subject: [#24536008] Re: UPGRADE TO RELEASE 8.0-P3/SAMBA HELP REQUIRED Hello, This is an automated response to inform you that your question has been entered into our system, and will be reviewed shortly. Your ticket has been submitted into the General Support department. We will respond to you as soon as possible. == Please keep this information, and use it when refering to your ticket: Ticket subject: Re: UPGRADE TO RELEASE 8.0-P3/SAMBA HELP REQUIRED Ticket number: 24536008 Ticket link: https://secure.mpcustomer.com/ticket.php?ticket=24536008 Ticket body: LOL - now stuck in and endless loop of: Message ─┐ │Unable to get packages/INDEX file from selected media. This is like a poorly written shareware app! Really getting pissd here! From: Andy Hiscock andyjhisc...@yahoo.com To: freebsd-questions@freebsd.org Sent: Thu, 3 June, 2010 21:43:41 Subject: Re: UPGRADE TO RELEASE 8.0-P3/SAMBA HELP REQUIRED Anyone want to log on to my server and investigate/correct? From: Andy Hiscock andyjhisc...@yahoo.com To: freebsd-questions@freebsd.org Sent: Thu, 3 June, 2010 21:29:28 Subject: Re: UPGRADE TO RELEASE 8.0-P3/SAMBA HELP REQUIRED Why during the upgrade process the inspecting system shouldnt be able to find and identify and prepair everything that needs to be upgraded and reconfigured accordingly. Surely thats what Inspecting system is meant to be doing. No matter if it is FreeBSD 1.0 or the prior version to the upgrade From: Andy Hiscock andyjhisc...@yahoo.com To: David Allen the.real.david.al...@gmail.com Cc: freebsd-questions@freebsd.org Sent: Thu, 3 June, 2010 21:21:29 Subject: Re: UPGRADE TO RELEASE 8.0-P3/SAMBA HELP REQUIRED Again Ports? What is that about... I've run the server and upgraded from 7.0-7,2 with no problem or need to change any config files before. Its upgraded with no problem before. How do I install Ports? How do I reinstall Samba without getting a error -1 in sysinstall? From: David Allen the.real.david.al...@gmail.com To: Andy Hiscock andyjhisc...@yahoo.com Cc: freebsd-questions@freebsd.org Sent: Thu, 3 June, 2010 21:15:55 Subject: Re: UPGRADE TO RELEASE 8.0-P3/SAMBA HELP REQUIRED On 6/3/10, Andy Hiscock andyjhisc...@yahoo.com wrote: After being advised to upgrade after a freebsd-update I have successfully upgraded from 7.2 to 8.0-p3. OK but have come across a major problem for me. OK time for a BIG rant this has been going on for 2 days (very sorry) After the install of the new kernel Samba isn't working. I TTL's onto the server and tried a testparm but the error messages suggest I have dependancies missing?! - surely this should be taken into account when upgrading versions - Major schoolboy error on FreeBSD when Linux can do this basic task seamlessly! [snip rest of useless rant] Never come across this myself til now, but it seems there's a problem in ports that touches Samba. Probably related to your Samba install complaining. From a ports tree updated just a while ago: bash3-3.2.51 Dependency: gettext-0.17_1 gettext-0.17_1 Information for gettext-0.17_1: lynx-2.8.7.1_1,1 Dependency: gettext-0.18_1 mutt-devel-1.5.20_5 Dependency: gettext-0.18_1 popt-1.14_1 Dependency: gettext-0.18_1 samba34-3.4.5_1 Dependency: gettext-0.18_1 wget-1.12_1 Dependency: gettext-0.18_1 I guess it's a choice between bash working, or everything else working. ___ 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
Re: UPGRADE TO RELEASE 8.0-P3/SAMBA HELP REQUIRED
On Thu, 3 Jun 2010 20:21:29 + (GMT), Andy Hiscock andyjhisc...@yahoo.com wrote: Again Ports? What is that about... I've run the server and upgraded from 7.0-7,2 with no problem or need to change any config files before. Its upgraded with no problem before. That's correct. Upgrading the base system usually doesn't require you to upgrade your applications as well. The freebsd-update binary updating program takes care of everything. How do I install Ports? The ports collection can be installed via sysinstall. Choose configure - distributions - ports. The /usr/ports subtree will then be installed. How do I reinstall Samba without getting a error -1 in sysinstall? You can first use pkg_delete to delete it, e. g. # pkg_delete -x samba and then re-install it from packages, e. g. # pkg_add -r samba See man pkg_add and man pkg_delete to make sure you're understanding that you're doing the right thing. I'm not sure if you need to explicitely add a version number for samba as I am not using it. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... ___ 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: UPGRADE TO RELEASE 8.0-P3/SAMBA HELP REQUIRED
On 04/06/2010 12:01 π.μ., Andy Hiscock wrote: LOL - now stuck in and endless loop of: Message ─┐ │Unable to get packages/INDEX file from selected media. This is like a poorly written shareware app! Really getting pissd here! My guess is you need to do some reading first, it seems you are administering a system you don't quite understand. When doing a minor version upgrade (i.e. from 7.0 to 7.2) there is no need to touch anything in the extra programs you've installed (hint: those that come from packages or ports). Minor versions are binary compatible (few apps may need some attention but this is rare). When you do a major upgrade, you will be able to execute your 7.x installed apps on 8.x. But by the time you start installing programs to your new version, you will start replacing libraries of the 7.x system with new ones and the programs compiled for 7.x will stop functioning. My guess is you already installed some packages from the 8.0 media, so this has happened already. The recommended path for such an upgrade is to upgrade all your installed ports for your new system. Most people use ports (meaning they build the software on their own machine, it is quite straightforward and mostly automated) but it seems you are using packages. It should still be possible to do this. Please read the following section in the FreeBSD Handbook: http://www.freebsd.org/doc/en/books/handbook/updating-upgrading-freebsdupdate.html esp. 24.2.3 When upgrading from packages, change the command: portupgrade -af to portupgrade -af -PP which effectively means: Use packages only And yes, you will need a ports tree for portupgrade to work properly (although you won't be compiling anything). You don't need to keep it afterwords but it is handy to have and does not consume a lot of space. So get one: portsnap fetch extract And after finishing the upgrade, you can rm -rf /usr/ports if you don't want to keep it. You may wish to have a good read of the FreeBSD Handbook, esp. chapter 4 that deals with ports and packages. ___ 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: UPGRADE TO RELEASE 8.0-P3/SAMBA HELP REQUIRED
On Thu, 3 Jun 2010 20:29:28 + (GMT), Andy Hiscock andyjhisc...@yahoo.com wrote: Why during the upgrade process the inspecting system shouldnt be able to find and identify and prepair everything that needs to be upgraded and reconfigured accordingly. Because this is the responsibility of the administrator - to decide WHAT to upgrade, WHY and WHEN, and even HOW. The base system tools (such as sysinstall, freebsd-upgrade) do not have any clue about what's going on in /usr/local. This subtree is reserved for installed applications (that do NOT belong to the base system). There are two files you should ALWAYS have a look at when performing an update: /usr/src/UPDATING /usr/ports/UPDATING They continue very important information for the person who does the administration for a particular system, e. g. it tells you that libxyz has gotten a major update and all applications linked to this library need to be recompiled. Surely thats what Inspecting system is meant to be doing. I could come up with hundreds of other ideas what Inspecting system could mean. :-) No matter if it is FreeBSD 1.0 or the prior version to the upgrade -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... ___ 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: UPGRADE TO RELEASE 8.0-P3/SAMBA HELP REQUIRED
On Thu, 3 Jun 2010 20:33:49 + (GMT), Andy Hiscock andyjhisc...@yahoo.com wrote: # 1. `cd /usr/src' (or to the directory containing your source tree). Doesn't exist To install FreeBSD from source, you need to install the src distribution, or get the desired sources via CVS (csup). There are examples in /usr/share/examples/cvsup/ for this paritular task. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... ___ 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: text editor and your postscript
To Matthias Apitz I read with interest your contribution and those of others in text editor usage. In this I do not have much to contribute as I am so far perfectly happy with vi. BUT I noticed your political comment at the end of your contribution. I find this out of place as this questions site is for FreeBSD problems and not political ones. Could you please take your political comments and place them on appropriate sites where such comments belong. I keep with president Barack Obama, who has a law degree from Harvard and sees the necessity to set up a commission to analyse the matter before taking part in the international howling choir against Israel. Yours sincerely Richard Farnes On Wednesday 02 June 2010 13:33:44 Matthias Apitz wrote: El día Wednesday, June 02, 2010 a las 01:26:44PM +0200, Ruben de Groot escribió: The phrase son of an edlin has happily been retired in my vocabulary for some time. If you're not aware of it, ed(1) is as capable or more of causing pain as edlin was and it's still in the FreeBSD base. Most usefull traditional Unix tools can cause pain or foot-shooting. That's what makes them usefull. The ed(1) is *extremely* useful when it comes to editing text files on the fly in shell scripts (i.e. without user interaction). matthias Matthias Apitz t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211 e g...@unixarea.de - w http://www.unixarea.de/ Solidarity with the zionistic pirates of Israel? Not in my name! ¿Solidaridad con los piratas sionistas de Israel? ¡No en mi nombre! ___ 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: UPGRADE TO RELEASE 8.0-P3/SAMBA HELP REQUIRED
On Thu, 3 Jun 2010 20:38:22 + (GMT), Andy Hiscock andyjhisc...@yahoo.com wrote: ok so then running testparm i'm getting leopard# testparm /libexec/ld-elf.so.1: Shared object libcrypt.so.4 not found, required by testparm leopard# Seems like something failed during the update. Program version and major OS release don't match. This is a reason to install the compat- ports. For example, if you are on 7.2 and update to 8.0, your system will run, but most of your applications wouldn't. Installing misc/compat7x from ports (or via pkg_add -r compat7x as a package) will provide the libraries for compatibility to 7 on a 8 system. It's a good solution if you don't want to recompile / reinstall, but personally, I consider it a short-time solution. Of course, there can be settings where this is your only solution, e. g. if you have a binary that's compiled for 7, and you can not compile it for 8 (because there is no source code). -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... ___ 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: UPGRADE TO RELEASE 8.0-P3/SAMBA HELP REQUIRED
On Thu, 3 Jun 2010 21:01:25 + (GMT), Andy Hiscock andyjhisc...@yahoo.com wrote: LOL - now stuck in and endless loop of: Message ─┐ │Unable to get packages/INDEX file from selected media. Do you obtain data via network (up running checked?) or from CD? If you know which package to install - if you know its NAME - why bother with sysinstall? Simply use pkg_add -r name. This is like a poorly written shareware app! No, I think it's acting completely as intended and predictable. Maybe it's due to a partially failed upgrade process? Really getting pissd here! You lack patience, maybe knowledge, at least experience. :-) But that's no problem as long as you're willing to learn from the given sources and hints. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... ___ 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: UPGRADE TO RELEASE 8.0-P3/SAMBA HELP REQUIRED
On Thu, 3 Jun 2010 21:38:42 + (GMT), Andy Hiscock andyjhisc...@yahoo.com wrote: Ah seems like FTP as well as Samba is blocked after the upgrade This explains the error message presented. If you want to install from FTP, but FTP can't reach anything, then... well... no INDEX for you. :-) I have ran FreeBSD 7 to 7.2 using the freebsd upgrade process painless in the past, however.. Have followed the instructions for upgrade 7.2 to 8.0-P3 from the FreeBSD website. As I am not a FreeBSD guru all I can say is the update process is NOT a smooth process as per EVERY OTHER O/S in the open source market. I have different experiences, but that doesn't matter here. :-) I appreciate the support you have given but whatever you suggest just doesn't work. Maybe because the conditions aren't meeting the requirements. I am very angered being lead in to believing freebsd-update will be the able to update your OS - this isn't the case. It IS the case. Keep in mind that FreeBSD differentiates between the OS (which is updated by freebsd-update) and installed appli- cations, or everything else, which is updated by the tools of your choice (make update, portmaster, portmanager, portupgrade). Check uname -r. Do you get a version number of the 8 branch? If yes - update has been performed correctly. Does FreeBSD want to be a fanatics only OS? I'm not sure what it wants, but I may say that I'm not a fanatic, but still using FreeBSD for many years nearly exclusively. No other OS's seems to have no such problems updating. I could show you some that have. :-) I have even offered access to my server to sort out the problem but no one has offered. Sorry, I don't think freebsd-questions@ is intended to fix your problems for you, keeping you from learning important skills in IT business. I just get cut/copy emails in reply that doesn't work. For my replies, I have no source where I do copy them from. I write them by myself; copied things are obviously marked as copied (e. g. some lines from /usr/src/Makefile). After 5 years of painless usage perhaps I ought to look at another better support OS? Maybe you should. But 5 years or painless usage should convince you that it may be worth to invest 5 hours to read, learn and repair. If I would be impolite, I would ask you why you don't use your backups to restore the has worked for 5 years state, but I know how annoying a malfunctioning system can be. Did you take the time to read man freebsd-update? I just did it, and found this: rollback Uninstall the most recently installed updates. (I copied this line from the manual page.) Did you try # freebsd-update rollback For safety, this should be done in single-user mode. I'm not sure if this really applies, but I'm a bit nervous anyway, so I do all dangerous stuff in SUM, under least-dangerous circumstances. :-) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... ___ 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: UPGRADE TO RELEASE 8.0-P3/SAMBA HELP REQUIRED
On Thu, 3 Jun 2010 22:02:44 + (GMT), Andy Hiscock andyjhisc...@yahoo.com wrote: leopard# pkg_delete -x samba pkg_delete: file '/usr/local/share/swat/js' doesn't exist pkg_delete: unable to completely remove directory '/usr/local/share/swat/js' pkg_delete: couldn't entirely delete package (perhaps the packing list is incorrectly specified?) WARNING: If you will *NOT* use this package anymore, please remove the following directories manually: /usr/local/etc/samba /var/log/samba /var/db/samba That's okay. leopard# pkg_add -r samba Error: Unable to get ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-8.0-release/Latest/samba.tbz: File unavailable (e.g., file not found, no access) pkg_add: unable to fetch 'ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-8.0-release/Latest/samba.tbz' by URL Ah, I guess you need to specify a version number. There are different versions of Samba in the ports tree, so I think there are also different packages, e. g. try # pkg_add -r samba34 This should give you the latest version, 3.4. There's also 3, 3.2 and 3.3 available (same naming scheme for the package). Anyway, check if you can connect to (or just ping) ftp.freebsd.org to make sure - REALLY SURE - that a connection is possible. PS. Please try to avoid top-posting plus full quotes, or quoted replies, it makes the list unreadable. Thanks! -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... ___ 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: UPGRADE TO RELEASE 8.0-P3/SAMBA HELP REQUIRED
On Thu, 3 Jun 2010 22:15:16 + (GMT), Andy Hiscock andyjhisc...@yahoo.com wrote: OK now I know... Why should I have to know this in the fist place? Hey, that's no problem - I also learned about this some time AFTER is has been common. :-) If Im just as User getting worrying messages about needing to upgrade. Where did those messages come from? FreeBSD 7.2 is still supported and no problem to run. I even know a setting where somebody is using a 4.0 server for internal backups. You should consider thinking about updating more intensively. There has just been a related discussion about this topic on this list. If I don't I am under the impression no security patches will be available? No. FreeBSD 7 (releases) still gets patches, allthough they are called legacy. Depending on what you're doing with your server, it may be wise to upgrade to 8 - or not - depends. The point I'm making to the end user, shouldn't a seamless update experience be achieved? :) Usually, it does - honestly; freebsd-update and portupgrade -af, and the show is running again. :-) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... ___ 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: UPGRADE TO RELEASE 8.0-P3/SAMBA HELP REQUIRED
On Thu, 3 Jun 2010 22:20:50 + (GMT), Andy Hiscock andyjhisc...@yahoo.com wrote: well surely if the upgrade IS going to affect ANY pre installed package that should be taken into consideration? - Im not having a dig, Im just suggesting how FreeBSD has fallen behind in the User Experience This depends on the users, not the OS. :-) Honestly: How are system upgrading tools supposed to know what's going on in the application area? There ARE tools to take care of that - freebsd-update is not one of them. Of course it takes knwoledge and experience to find out how to correctly perform an update of the operating system AND the installed software, but that's what you learn by using FreeBSD. I also did crash some of my systems by skipping the step think, but it's a great chance to learn, and if it's just how you dump restore. :-) BTW I got an error after the last message: leopard# pkg_add -r samba Error: Unable to get ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-8.0-release/Latest/samba.tbz: File unavailable (e.g., file not found, no access) pkg_add: unable to fetch 'ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-8.0-release/Latest/samba.tbz' by URL leopard# Have you tried adding a version number, e. g. samba34? -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... ___ 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: text editor
Walt Pawley wrote: On Sun, 30 May 2010, Fbsd1 wrote: Been using ee and been happy. Now I have need for an editor with block commands. I'd suggest looking into aee. That has what I am looking and so simple. Thanks for your info. ___ 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: UPGRADE TO RELEASE 8.0-P3/SAMBA HELP REQUIRED
On Thu, 3 Jun 2010 22:29:28 + (GMT), Andy Hiscock andyjhisc...@yahoo.com wrote: I have sort of giving up and the cant be arsed Ill put windows on factor has stepped in. Have you considered entering single user mode and trying to get back to 7.2 (freebsd-update rollback)? In this case, you will need to re-install samba (you've removed it); but as you are already in 8, have you tried pkg_add -r samba43? I understand config files and DOS scripting but BSD is unsupported? Well, FreeBSD isn't DOS, nor is it Windows. It's a complex operating system (as all operating systems are a complex thing), and it needs more than knowledge about config files and scripts to maintain it properly and provide good administration. But finally, that's what you learn by using it. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... ___ 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: UPGRADE TO RELEASE 8.0-P3/SAMBA HELP REQUIRED
On Thu, 3 Jun 2010 22:32:56 + (GMT), Andy Hiscock andyjhisc...@yahoo.com wrote: I assume the only other solution is download all the CDs of the latest FreeBSD. Do a clean install and replace the data? It's possible, but why reach for the big weapons in the first place? Did you (1) check FTP is up running, (2) run pkg_add -r samba34 or maybe (3) run freebsd-upüdate rollback in SUM? - This is not a clean upgrade admittedly! I think the OS has been upgraded properly. What does uname -r say? It would REALLY be helpful to see some output of the suggested commands. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... ___ 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: UPGRADE TO RELEASE 8.0-P3/SAMBA HELP REQUIRED
On Thu, 3 Jun 2010 22:47:57 + (GMT), Andy Hiscock andyjhisc...@yahoo.com wrote: I stopped reading after the line freebsd-update is not one of them. You're missing the best parts. :-) I know its not your fault. But before progressing with technology perhaps support and support while upgrading is more important - especially when receiving alerts suggesting your version is no longer supported rather than failed installs being solved by people like yourself. FreeBSD has excellent support, in my opinion. The documentation is far better than most things I've seen in other open source projects. The mailing list is friendly and very helpful. Where did you get alerts from that FreeBSD 7 isn't supported anymore? Did you take the time to verify this? Allthough 7 is a legacy release, it's still FULLY supported, and many users are still using it. You've received many suggestions from this mailing list, but I fail to see that you're working with it. Without YOU, your actions, your activity, the problem won't go away. Of course, you can just copy your important data, then get the install CD for FreeBSD 8 (or maybe install it via net, which is very common), then install samba, and finally get your data back onto the system. But from my diagnostics (which are, in fact, mostly guessings, due to the lack of information from you, your performed commands and the respnses), I would not reach for such a big weapon at this moment. It's far easier to upgrade your applications (as your OS is already updated, just install the ports subtree as suggested by Giorgos Keramidas - portsnap fetch extract, then pkg_add -r portupgrade, and portupgrade -af -PP). This should give you a working Samba (as well as all other applications upgraded). Always keep in mind: Upgrading a system is something that you should do CAREFULLY. You can run into big trouble if you do it wrong (as I know from my own experience). FreeBSD is a system that does not tell you what you do and holds your hand while it does what it thinks is the best for you; instead, it does EXACTLY what you tell it to do. You can even take that literally. :-) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... ___ 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: UPGRADE TO RELEASE 8.0-P3/SAMBA HELP REQUIRED
On Thu, 3 Jun 2010 22:58:48 + (GMT), Andy Hiscock andyjhisc...@yahoo.com wrote: So am I lead to believe FreeBSD is mean to be a Mechanics Operating system? I say that in the nicest way. I wouldn't go that far, but FreeBSD, as well as repairing a car, requires certain knowledge and experience, I agree. We are not interested about the uneducated user. But PC-BSD is interested in them. :-) No, honestly, I don't want to insult PC-BSD. Maybe you should have a look at it: It's a FreeBSD based operating system and application bundle, just like a Linux distribution, and comes preconfigured with KDE and many tools aiming at users who are not able or do not want to know about their OS. It's an every day task system that perfectly fits Joe Q. Sixpack users. And I really mean this as a positive statement. You should really take a look at their website to see if this is what you want. By the way, PC-BSD is a good starting point for better BSD education, but nothing is better than building your own system from scratch. :-) or Leave the idiots to Windows/Mac or Linux point and click? Using a real operating system requires real knowledge. It is very important to understand that computers aren't easy, in contra- diction to what advertising wants people to believe. As updating my BSD version has been nothing but problems. Because you haven't fully performed it. To use a car analogy: You put a new motor in the car, but you didn't connect it with all the other parts inside the car, and you notice: Hey, I can't drive this damn car! :-) The transition from BSD 7 to 8 is equivalent to a windows service pack or Mac OS release, both which happen seamlessly. The transition from 7 to 8 involves more work than the transition within 7. I think Giorgos Keramidas explained this better than I did. Just imagine my fun when having to go from 5 to 7! I got 20 years older in one week. :-) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... ___ 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: UPGRADE TO RELEASE 8.0-P3/SAMBA HELP REQUIRED
On Thu, 3 Jun 2010 23:18:48 + (GMT), Andy Hiscock andyjhisc...@yahoo.com wrote: right scrolling to to top... Gonna go back to VHS here.. Do a clean install as far as i'm concerned freebsd-update only works for patches and not for OS upgrades from experiences or considering ubuntu who's updates works. The freebsd-update program REALLY WORKS for OS updates. It works for patches (i. e. staying within a certain release) and even across major releases (e. g. from 7.2 to 8.0). As I mentioned before: There's MORE you have to take care of. If your applications are made for a version 7 system, and you suddenly have a version 8 system, problems may occur, for example if a library is required that's not present anymore. Have to say after 2 years of using BSD am seriously disappointed with FreeBSD, every other OS perform a clean upgrade except I'm sad to hear that, as it contradicts my own experiences, and surely those of other FreeBSD users. There are users who update their OS and applications once a week, and others once a month; others perform the update when a new patchlevel is offered, and others do stay with the same system for years (install once, then use). How you handle things absolutely depends on your goals and requirements. As FreeBSD leaves you the freedom to decide what to do, YOU have to decide. That's what system administration basically is: Decisions lead by knowledge, experience and facts. With not support to fix online. As I said, the mailing list is not a free support center with support in terms of what you usually get when paying for a maintenance contract. But did YOU already try to fix it? You got so much suggestions of what to do and how. I'm missing your cooperation. It won't fix itself, sorry. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... ___ 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: UPGRADE TO RELEASE 8.0-P3/SAMBA HELP REQUIRED
On Thu, 3 Jun 2010 23:19:28 + (GMT), Andy Hiscock andyjhisc...@yahoo.com wrote: enough sarcasm No sarcasm in here, just honest and fact-based statements (except those obviously signed by a smiley). -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... ___ 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
x11/xfce ssh-agent once per logon for minimal (no gnome/kde) installation
I'm totally lost. What I desire is to put in my passphrase for my public key(s) when I logon to my box. Since I usually install from ports and use xfce, I have no infrastructure for this, and I'm getting nowhere fast. My Fedora box popped up a nice little enter passphrase box the very first time I ssh'd to my server, and now it 'just works'. My FreeBSD boxes (which are many - everything *but* the laptop with Fedora), 'just don't work'. I've installed everything with 'ssh' and either 'key' or 'agent' in the name from ports/security, and gone through the manpages, and tweaked countless environment variables, but every time I ssh on a FreeBSD box, it stubbornly locates the terminal I started any gui's from (i.e. meld + bzr), and asks for the passphrase a great many times daily. Add that I've started my gui with meld (so as to continue using said terminal - don't love 'panels', 'choosers', 'menus', etc - guis are for word processors and file managers, not desktops), I can't even type in the passphrase there. I generally like using FreeBSD caveman style, but this is starting to drive me nuts. No meld/bzr==no work from home==no happiness ;) Anyone have a 'standard' / FreeBSD-friendly best-practices for this? I think I'm just cluttering up my system here. Best, Steve ___ 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: text editor and your postscript
On Thu, Jun 03, 2010 at 10:49:04PM +0200, Richard T C Farnes wrote: To Matthias Apitz I read with interest your contribution and those of others in text editor usage. In this I do not have much to contribute as I am so far perfectly happy with vi. BUT I noticed your political comment at the end of your contribution. I find this out of place as this questions site is for FreeBSD problems and not political ones. Could you please take your political comments and place them on appropriate sites where such comments belong. I keep with president Barack Obama, who has a law degree from Harvard and sees the necessity to set up a commission to analyse the matter before taking part in the international howling choir against Israel. Yours sincerely Richard Farnes I don't recall any netiquette rules about making your signature block on-topic. Aren't you getting a bit uptight? If anything, it's *you* who took things into the realm of politics by pulling it out of the signature block where it belonged. -- Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ] pgpFgHoUVbcNq.pgp Description: PGP signature
Re: Strying off topic, but Re: text editor
On Thu, Jun 03, 2010 at 10:14:19AM -0400, ill...@gmail.com wrote: I don't know much, but the source tarball is slightly over 7m. I suspect a lot of that is documentation. One thing Vim definitely has going for it is the breadth and depth of user documentation that comes with it. In any case, the executable size is only loosely related to the actual running size. True. On the other hand, to offer a comparison that actually came up in real life, a co-worker once needed to edit a file. She tried using emacs to do so, but emacs couldn't open the file because it was so friggin' large that trying to open it with emacs exhausted system resources. She asked me how to achieve the same thing in Vim that she had intended to do with emacs because she discovered that it opened just fine in Vim. Obviously, this was very much an edge-case. The file was *huge*, measured in the gigabytes. It's not a problem you're likely to encounter in general usage. It does give me a little faith in the ability of Vim to avoid abusing system resources (and of vi in general). -- Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ] pgp0Xct42bOnj.pgp Description: PGP signature
Re: text editor and your postscript
On 2010.06.03 19:46, Chad Perrin wrote: On Thu, Jun 03, 2010 at 10:49:04PM +0200, Richard T C Farnes wrote: To Matthias Apitz [ ...snip ...] Yours sincerely Richard Farnes I don't recall any netiquette rules about making your signature block on-topic. Aren't you getting a bit uptight? If anything, it's *you* who took things into the realm of politics by pulling it out of the signature block where it belonged. Nicely put Chad. sigs can be easily ignored, or filtered. Politics and religion are not allowed on this list, unless they relate to ``technical'' politics/religion. ...here's an example... use vi(m). It solves ALL of the world's problems. Steve ;) ___ 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: text editor and your postscript
On Thu, Jun 03, 2010 at 08:25:54PM -0400, Steve Bertrand wrote: On 2010.06.03 19:46, Chad Perrin wrote: If anything, it's *you* who took things into the realm of politics by pulling it out of the signature block where it belonged. Nicely put Chad. Thanks! ...here's an example... use vi(m). It solves ALL of the world's problems. I'm beginning to think nvi, in particular, might do so. For one thing, it has a friendlier license (since we're getting political) than Vim, and for another it has better undo support than I realized. -- Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ] pgpmPYsBpPisA.pgp Description: PGP signature
Re: text editor and your postscript
On 2010.06.03 20:40, Chad Perrin wrote: On Thu, Jun 03, 2010 at 08:25:54PM -0400, Steve Bertrand wrote: ...here's an example... use vi(m). It solves ALL of the world's problems. I'm beginning to think nvi, in particular, might do so. For one thing, it has a friendlier license (since we're getting political) than Vim, and for another it has better undo support than I realized. Can I use my .vimrc? Steve ___ 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: text editor and your postscript
On Thu, Jun 03, 2010 at 06:40:14PM -0600, Chad Perrin wrote: On Thu, Jun 03, 2010 at 08:25:54PM -0400, Steve Bertrand wrote: On 2010.06.03 19:46, Chad Perrin wrote: If anything, it's *you* who took things into the realm of politics by pulling it out of the signature block where it belonged. Nicely put Chad. Thanks! ...here's an example... use vi(m). It solves ALL of the world's problems. I'm beginning to think nvi, in particular, might do so. For one thing, it has a friendlier license (since we're getting political) than Vim, and for another it has better undo support than I realized. -- Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ] my 27 cents' worth [[[inflation]]]: YES on the vim undo. i've lost scores of lines and messed up other files than code.' gary -- Gary Kline kl...@thought.org http://www.thought.org Public Service Unix The 7.83a release of Jottings: http://jottings.thought.org/index.php http://journey.thought.org 99 44/100% Guaranteed Novel ___ 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: text editor
On 2010.06.03 18:35, Fbsd1 wrote: Walt Pawley wrote: On Sun, 30 May 2010, Fbsd1 wrote: Been using ee and been happy. Now I have need for an editor with block commands. I'd suggest looking into aee. That has what I am looking and so simple. Simple is in the eye of the beholder. Also, simple isn't always the best solution. afair, you (FBSD1) (it'd be nice if you'd use your real name), are wanting to move from `ee' to a new editor. I'm almost certain that this was a question that I've asked here before. Moving from ee to a real editor. Search my name in the archives. Personally, I chose vim. I found that the 'vimtutor' was phenomenal, and I only had to spend one work day making notes for myself on paper to mentally remember the important commands. The mailing list is *very* good and *very* active, but again, the tutorial is excellent. Not only that, the :help system in vim contains ALL of the documentation for itself. All in all, I tried emacs, and I'm a bit used to it, but vim stuck. I am so used to the key commands now that I oftentimes use them in editors that I shouldn't ;) I won't go on about how flexible the config is, because I'm certain all of the other editors can do all sorts of special tricks (particularly when coding) too. iTry vim. ii:wq Steve ___ 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
.sh getopts
Have this code shift; while getopts :ugr: arg; do case ${arg} in u) action=freebsd-update;; g) action=freebsd-upgrade;; r) action=freebsd-rollback;; ?) exerr ${cmd_usage};; esac; done; shift $(( ${OPTION} -1 )) Command being executed looks like this, cmd action -flags Only a single -flag in allowed on the command. $# gives a count of parms ie: . in this example a count of 2. I am looking for something to check that holds the number of flags on the command. so I can code. if flag_count gt 1 = error Is there such a thing created by getopts? ___ 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