Re: High load - lost network
On Tuesday 11 November 2008 08:25:10 Christer Solskogen wrote: > During "dd if=/dev/random of=bigfile bs=500k count=5" (about 200 > seconds) made the network unresponsive again. Same symptom as I got when > running make buildworld. And same command with of=/dev/null? -- Mel Problem with today's modular software: they start with the modules and never get to the software part. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: root /etc/csh
On Tuesday 11 November 2008 06:38:54 Polytropon wrote: > On Mon, 10 Nov 2008 16:13:54 -0800, Jim Pazarena <[EMAIL PROTECTED]> wrote: > > isn't the "main reason" because other shells may reside on a filesystem > > which isn't necessarily mounted in maintenance/single user mode? Or, > > libraries for the same? > > At least, it's a valid reason. When in trouble, the system just > mounts / as ro where /bin/sh (the system's standard scripting > shell) and /bin/csh (its standard dialog shell) are available. > Bash may be on another partition that's not mounted yet, so no > maintenance access would be possible. In single user mode, no login is done at all and the path to the shell is asked for. When a system comes to halt at boot, it will go to single user mode. If it doesn't make it there, then not much is lost anyway by rebooting and pressing 4 when chuck greets you. The problem is lies with remote logins through means of ssh and being unable to change to root, to - for example - change the shell ;) -- Mel Problem with today's modular software: they start with the modules and never get to the software part. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Strange messages by fetchmail: Server certificate verification error
On Mon, 10 Nov 2008 22:52:41 -0800, Jeremy Chadwick <[EMAIL PROTECTED]> wrote: > First and foremost: this should have gone to freebsd-ports, because > you're indirectly complaining about ports. :-) Yes, sorry I did. I didn't find anything to complain about FreeBSD in particular. :-) > That said: there's a good chance the servers you're fetching mail from > do not have their certificates signed by a public CA; possibly they're > self-signed (by their own CA), in which case you need to download a copy > of the CA and tell fetchmail about it. The server administrator should > be able to discuss this with you -- talk to them. The mailserver are run by Germany's "top Internet company" that brings the Internet to the masses, it's the one with the twi digits and the ampersand. Quality isn't their game. :-) > fetchmail changes severely between minor versions, which is probably why > your other box running an older fetchmail does not induce this error. > I'm willing to bet SSL certification verification was enabled between > the two versions. I think so, too. Finally, I did portupgrade ca_root_nss to 3.11.9_2, now everything works as intended. So the problem is solved and I made a written note to my "holy pages" how this problem could be solved. -- Polytropon >From 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 "[EMAIL PROTECTED]"
Re: root /etc/csh
On Tuesday 11 November 2008 00:19:32 Daniel Howard wrote: > On Mon, Nov 10, 2008 at 1:46 PM, Pieter Donche <[EMAIL PROTECTED]> wrote: > > FreeBSD 7.0 comes with the user root with start up shell /bin/csh > > As normal user I use bash (/usr/local/bin/bash installed) > > I would prefer to have bash also when working as root (su). > > Of course I can do > > # bash > > [root ~]# or I could change the startup shell in /etc/passwd, but would > > that be a wise > > thing to do or not? > > If your system is having a bad time, falling back to statically-linked > /bin/csh /bin/csh is not statically linked. /rescue/csh is. > can help you out in a jam, whereas pointing way off to > /usr/local/bin/bash could spell trouble if say, you can not mount > /usr. More likely trouble scenario is gettext library version bump. However, bash can be statically compiled by the port and you can also set $PREFIX to /, so it gets installed as /bin/bash. That said, you should before you change root's shell have dealt with a broken root shell a few times, to be able to ascertain whether this extra problem is something you want to deal with, at the times you already have a more pressing problem to solve. > > As prad pointed out, you can "su -m". I myself prefer "sudo -s". Unfortunately, sudo -i is not a substitute for su -l, as sudo tries to be more secure then it should be, cleaning the environment, preserving PATH, rather then taking the correct values from /etc/login.conf. Most notably tilde and dollar sign expansion, which are great *shell-independant* features: $ grep setenv /etc/login.conf :setenv=MAIL=/var/mail/$,BLOCKSIZE=M,FTP_PASSIVE_MODE=YES,PACKAGES=/var/pkg/7-stable,PKG_PATH=/var/pkg/7-stable\c. \c/home/$/packages,CCACHE_DIR=/var/db/ccache/$:\ $ echo {$CCACHE_DIR:=No} /var/db/ccache/mel $ echo $MAIL /var/mail/mel $ sudo -c root -i # echo ${CCACHE_DIR:=No} No # echo $MAIL /var/mail/mel -- Mel Problem with today's modular software: they start with the modules and never get to the software part. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: High load - lost network
On Tue, Nov 11, 2008 at 08:13:23AM +0100, Christer Solskogen wrote: > Jeremy Chadwick wrote: > > > Well shoot, that didn't tell me what I want. pciconv -lv, and look > > for the em0 entry? (I need all the lines shown associated with it) > > > > Here you go: > > [EMAIL PROTECTED]:1:1:0: class=0x02 card=0x342f8086 chip=0x10758086 > rev=0x00 > hdr=0x00 > vendor = 'Intel Corporation' > device = '82547EI Gigabit Ethernet Controller' > class = network > subclass = ethernet Thanks. There's a specific model that has a watchdog timeout problem, which is known to cause network drops. The root cause was an improperly set bit inside of the NIC's EEPROM (and can be fixed using a DOS utility from Intel). Your NIC isn't that particular model, so you're safe. Your issue appears to be with the ATA controller on your machine having a very high interrupt rate, and since the NIC's IRQ is shared with that, any heavy interrupt activity causes the opposing device to malfunction. I'm not really sure anyone will know how to fix this. Sometimes a BIOS upgrade can fix such things, other times motherboard replacements are in order. -- | Jeremy Chadwickjdc at parodius.com | | Parodius Networking http://www.parodius.com/ | | UNIX Systems Administrator Mountain View, CA, USA | | Making life hard for others since 1977. PGP: 4BD6C0CB | ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: non-US keyboard and KDM
On Tue, 11 Nov 2008 07:47:37 +0100 (CET), Pieter Donche <[EMAIL PROTECTED]> wrote: > I installed KDE and the KDM display manager in FreeBSD. > On my portable I have a non-US keyboard (a european country layout), > in KDE I can set it to the appropriate keyboard layout. > KDM login window is still in US qwerty keyboard, which makes me have > to enter my password with different keystrokes :-) How to set an > appropriate keyboard in KDM? I don't know, but you can set your keyboard layout generally for X, so you have this layout everywhere (e. g. when you're running something different than KDE, as well as in xdm or kdm). Just change your /etc/X11/xorg.conf to fit your needs, according to this example: Section "InputDevice" Identifier "Keyboard0" Driver "kbd" Option "XkbModel" "pc105" Option "XkbLayout" "de" Option "AutoRepeat""250 30" EndSection -- Polytropon >From 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 "[EMAIL PROTECTED]"
Re: High load - lost network
Wojciech Puchar wrote: > i don't think it's interrupt sharing problems. > > anyway - turn on MSI interrupts if your hardware can. > I dont seem so (unless i interpret the output of pciconf wrong: [EMAIL PROTECTED] ~]# pciconf -lc [EMAIL PROTECTED]:0:0:0: class=0x06 card=0x342f8086 chip=0x25788086 rev=0x02 hdr=0x00 cap 09[e4] = vendor (length 6) Intel cap 3 version 1 [EMAIL PROTECTED]:0:3:0: class=0x060400 card=0x chip=0x257b8086 rev=0x02 hdr=0x01 [EMAIL PROTECTED]:0:28:0: class=0x060400 card=0x chip=0x25ae8086 rev=0x02 hdr=0x01 cap 07[50] = PCI-X 64-bit bridge supports [EMAIL PROTECTED]:0:29:0: class=0x0c0300 card=0x342f8086 chip=0x25a98086 rev=0x02 hdr=0x00 [EMAIL PROTECTED]:0:29:1: class=0x0c0300 card=0x342f8086 chip=0x25aa8086 rev=0x02 hdr=0x00 [EMAIL PROTECTED]:0:29:4: class=0x088000 card=0x342f8086 chip=0x25ab8086 rev=0x02 hdr=0x00 [EMAIL PROTECTED]:0:29:5:class=0x080020 card=0x342f8086 chip=0x25ac8086 rev=0x02 hdr=0x00 cap 07[50] = PCI-X 64-bit supports 512 burst read, 1 split transaction [EMAIL PROTECTED]:0:29:7: class=0x0c0320 card=0x342f8086 chip=0x25ad8086 rev=0x02 hdr=0x00 cap 01[50] = powerspec 2 supports D0 D3 current D0 cap 0a[58] = EHCI Debug Port at offset 0x80 in map 0x14 [EMAIL PROTECTED]:0:30:0: class=0x060400 card=0x chip=0x244e8086 rev=0x0a hdr=0x01 [EMAIL PROTECTED]:0:31:0: class=0x060100 card=0x chip=0x25a18086 rev=0x02 hdr=0x00 [EMAIL PROTECTED]:0:31:1:class=0x01018a card=0x342f8086 chip=0x25a28086 rev=0x02 hdr=0x00 [EMAIL PROTECTED]:0:31:2:class=0x01048f card=0x34308086 chip=0x25b08086 rev=0x02 hdr=0x00 [EMAIL PROTECTED]:0:31:3: class=0x0c0500 card=0x342f8086 chip=0x25a48086 rev=0x02 hdr=0x00 [EMAIL PROTECTED]:1:1:0: class=0x02 card=0x342f8086 chip=0x10758086 rev=0x00 hdr=0x00 cap 01[dc] = powerspec 2 supports D0 D3 current D0 [EMAIL PROTECTED]:3:0:0: class=0x03 card=0x342f8086 chip=0x47521002 rev=0x27 hdr=0x00 cap 01[5c] = powerspec 2 supports D0 D1 D2 D3 current D0 [EMAIL PROTECTED]:3:1:0:class=0x02 card=0x342f8086 chip=0x12298086 rev=0x10 hdr=0x00 cap 01[dc] = powerspec 2 supports D0 D1 D2 D3 current D0 > check if producing high load on atapci1 make problem worse or not. > During "dd if=/dev/random of=bigfile bs=500k count=5" (about 200 seconds) made the network unresponsive again. Same symptom as I got when running make buildworld. -- chs ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: file harvest
All you need to know is here: http://www.dtidata.com/resourcecenter/category/file-systems-explained/snap-server-file-systems/ On Mon, Nov 10, 2008 at 7:53 PM, Jean-Paul Natola <[EMAIL PROTECTED]> wrote: > Hi all, > > > I have a SNAP 4100 appliance that lost 2 directories, no backup , I sent it > out to a DR service and they have told me that all they can do is file > harvest, where I would get a list of files such as file0001.xls file0002.xls > etc... > > With no guarantee of what will come out, now we are a non-profit so 3k with > no guarantees is kind of hard to swallow- > > Question is how can I, if it all possible, do a harvest of my own? > > I believe the snap uses UFS > > TIA > > j > ___ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "[EMAIL PROTECTED]" > ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: trouble getting x11 xdm to work
On Tuesday 11 November 2008 00:56:29 Fbsd1 wrote: > Polytropon wrote: > > On Mon, 10 Nov 2008 22:21:38 +0800, Fbsd1 <[EMAIL PROTECTED]> wrote: > >> Also created the .xsessions file in the users home directory. > > > > The file is ~/.xsession, without an s at the end. I assume > > that csh is your login shell. Put these in your ~/.xsession: > > > > > > #!/bin/csh > > source ~/.cshrc > > exec ~/.xinitrc > > > > This sources your individual user setting from .cshrc and the > > executes .xinitrc (trivial, isn't it?) to control how the startuo > > of your xsession will go. > > > > Make sure both files (.xinitrc and .xsession) are +x attribute. > > > >> Keep getting this console error message hundreds of times > >> > >> init: getty repeating too quickly on port /dev/ttyv8, sleeping 30 second > > > > Hey, I saw this one... but I'm not sure how I solved it. Is your > > /etc/hosts and hostname set correctly? I think it was something > > like this, something I would never had put in any combination > > with X... > > > > > > By the way, in order to try if xdm is working correctly it can be > > started directly by the command "xdm" anytime. > > I had ~/.xsession spelled correctly in the directory. Just typo error in > email. Changed the contents of ~/.xsession as you posted. Still no joy. > /etc/hosts file is correct. > > Running release 7.0. When i enter xdm on command line of root nothing > happens. ps ax command shows no xdm running. > > Still getting error msg > init: getty repeating too quickly on port /dev/ttyv8, sleeping 30 second That's why. xdm can't get the display. Set on to off in /etc/ttys for ttyv8, kill -HUP 1 and if the message does not stop, reboot the machine. Then start by running xdm from the command line (as root) and inspect /var/log/Xorg.0.log if no screen comes up. -- Mel Problem with today's modular software: they start with the modules and never get to the software part. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: High load - lost network
Jeremy Chadwick wrote: > Well shoot, that didn't tell me what I want. pciconv -lv, and look > for the em0 entry? (I need all the lines shown associated with it) > Here you go: [EMAIL PROTECTED]:1:1:0: class=0x02 card=0x342f8086 chip=0x10758086 rev=0x00 hdr=0x00 vendor = 'Intel Corporation' device = '82547EI Gigabit Ethernet Controller' class = network subclass = ethernet -- chs ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: bsd.gnome.mk is broken in 6.3-RELEASE ? Cannot update x11 ports ?
On Tuesday 11 November 2008 06:36:13 Juri Mianovich wrote: > What _is_ fascinating is that I am the only person _ever_ to attempt > cvsup'ing the x11 portions of the ports tree and then install xorg. You'd > think someone would have done this before now. Not that fascinating. Only takes a minute to realize that x11 apps depend on apps outside the x11 scope and one should *always* update Mk/. The only categories that I've had removed from a csup port distribution are the internationalization categories. However, after some review of what kind of extra traffic these generate, I decided that it wasn't worth the editing time of the csup file. Proceeding with partial ports trees or worse, partially csup'd port trees, gives nasty errors that take longer to debug then they save you download time. -- Mel Problem with today's modular software: they start with the modules and never get to the software part. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Strange messages by fetchmail: Server certificate verification error
On Mon, Nov 10, 2008 at 10:52:41PM -0800, Jeremy Chadwick wrote: > First and foremost: this should have gone to freebsd-ports, because > you're indirectly complaining about ports. :-) I've changed the > mailing list. And that's what I get for being hasty. Oh well, let's keep this on -questions for now, since I've already managed to botch it up. -- | Jeremy Chadwickjdc at parodius.com | | Parodius Networking http://www.parodius.com/ | | UNIX Systems Administrator Mountain View, CA, USA | | Making life hard for others since 1977. PGP: 4BD6C0CB | ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Strange messages by fetchmail: Server certificate verification error
On Tue, Nov 11, 2008 at 07:18:31AM +0100, Polytropon wrote: > when I installed my new FreeBSD 7 system along with fetchmail-6.3.8_4, > no matter what I do I get these messages: > > fetchmail: Server certificate verification error: unable to get local issuer > certificate > fetchmail: Server certificate verification error: certificate not trusted > fetchmail: Server certificate verification error: unable to verify the first > certificate > fetchmail: No mail for foo at pop.bar.com > fetchmail: Server certificate verification error: unable to get local issuer > certificate > fetchmail: Server certificate verification error: certificate not trusted > fetchmail: Server certificate verification error: unable to verify the first > certificate > fetchmail: No mail for pups at pop.furz.com > > But message retrieval works fine. I do get them from every POP3 server > I have in the list. > > On my older FreeBSD 5 system with fetchmai-6.2.5_2, I don't get these > messages, but message retrieval works there as well - with the same > configuration files (~/.fetchmailrc). > > How can I get rid of these messages? Is it possible *not* to use any > certification, just the way the older fetchmail version seemed it to > do? First and foremost: this should have gone to freebsd-ports, because you're indirectly complaining about ports. :-) I've changed the mailing list. Secondly, this is a very, very common question on the fetchmail-users public mailing list (not at freebsd.org). Google returns hundreds of results for "unable to get local issuer" fetchmail. This web page may be of help: http://bronski.net/data/fetchmail-eng.php These messages mean that the POP3+SSL or IMAP+SSL server's SSL certs cannot be verified by fetchmail. What you see are warnings, not errors, which is why fetching mail works regardless. It's recommended you fix the warnings. fetchmail-6.3.8_7, and a couple earlier versions (I would have to check to see when it was added), include security/ca_root_nss as a dependency. That port includes a list of common public CAs which certificates (on the server) can be verified against. Public CA verification costs money and ultimately amounts to jack squat (they give you no added form of security) -- however, public CAs are recommended for public-facing SSL-based things (HTTPS, POP3S/IMAPS, etc.). I cannot imagine telling any of my users "Oh yeah, you gotta download our self-signed cert before it'll work". The response will be "What is a certificate?" or "Um, I have no idea what any of that means or how to do it". That said: there's a good chance the servers you're fetching mail from do not have their certificates signed by a public CA; possibly they're self-signed (by their own CA), in which case you need to download a copy of the CA and tell fetchmail about it. The server administrator should be able to discuss this with you -- talk to them. fetchmail changes severely between minor versions, which is probably why your other box running an older fetchmail does not induce this error. I'm willing to bet SSL certification verification was enabled between the two versions. -- | Jeremy Chadwickjdc at parodius.com | | Parodius Networking http://www.parodius.com/ | | UNIX Systems Administrator Mountain View, CA, USA | | Making life hard for others since 1977. PGP: 4BD6C0CB | ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
non-US keyboard and KDM
I installed KDE and the KDM display manager in FreeBSD. On my portable I have a non-US keyboard (a european country layout), in KDE I can set it to the appropriate keyboard layout. KDM login window is still in US qwerty keyboard, which makes me have to enter my password with different keystrokes :-) How to set an appropriate keyboard in KDM? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Strange messages by fetchmail: Server certificate verification error
On Tue, Nov 11, 2008 at 1:18 AM, Polytropon <[EMAIL PROTECTED]> wrote: > Hi, > > when I installed my new FreeBSD 7 system along with fetchmail-6.3.8_4, > no matter what I do I get these messages: > > fetchmail: Server certificate verification error: unable to get local issuer > certificate > fetchmail: Server certificate verification error: certificate not trusted > fetchmail: Server certificate verification error: unable to verify the first > certificate > fetchmail: No mail for foo at pop.bar.com > fetchmail: Server certificate verification error: unable to get local issuer > certificate > fetchmail: Server certificate verification error: certificate not trusted > fetchmail: Server certificate verification error: unable to verify the first > certificate > fetchmail: No mail for pups at pop.furz.com > > But message retrieval works fine. I do get them from every POP3 server > I have in the list. > > On my older FreeBSD 5 system with fetchmai-6.2.5_2, I don't get these > messages, but message retrieval works there as well - with the same > configuration files (~/.fetchmailrc). > > How can I get rid of these messages? Is it possible *not* to use any > certification, just the way the older fetchmail version seemed it to > do? IIRC, when I used fetchmail and saw similar messages, installing the 'CA Root Certificate' port did the trick. I believe it is security/ca or something similar. (Not in front of my BSD box ATM.) -- Glen Barber "If you have any trouble sounding condescending, find a Unix user to show you how it's done." --Scott Adams ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Strange messages by fetchmail: Server certificate verification error
Hi, when I installed my new FreeBSD 7 system along with fetchmail-6.3.8_4, no matter what I do I get these messages: fetchmail: Server certificate verification error: unable to get local issuer certificate fetchmail: Server certificate verification error: certificate not trusted fetchmail: Server certificate verification error: unable to verify the first certificate fetchmail: No mail for foo at pop.bar.com fetchmail: Server certificate verification error: unable to get local issuer certificate fetchmail: Server certificate verification error: certificate not trusted fetchmail: Server certificate verification error: unable to verify the first certificate fetchmail: No mail for pups at pop.furz.com But message retrieval works fine. I do get them from every POP3 server I have in the list. On my older FreeBSD 5 system with fetchmai-6.2.5_2, I don't get these messages, but message retrieval works there as well - with the same configuration files (~/.fetchmailrc). How can I get rid of these messages? Is it possible *not* to use any certification, just the way the older fetchmail version seemed it to do? -- Polytropon >From 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 "[EMAIL PROTECTED]"
Re: bsd.gnome.mk is broken in 6.3-RELEASE ? Cannot update x11 ports ?
Juri Mianovich wrote: Clean install of 6.3-RELEASE. cvsup _only_ ports/x11, ports/x11-wm, ports/x11-servers Now enter ports/x11/xorg and attempt a 'make install' The sample /usr/share/examples/cvsup/ports-supfile states: # Be sure to ALWAYS cvsup the ports-base collection if you use any of the # other individual collections below. ports-base is a mandatory collection # for the ports collection, and your ports may not build correctly if it # is not kept up to date. You are probably missing an updated ports-base Eventually it bombs out with: ===>Verifying install for /usr/local/libdata/pkgconfig/pixman-1.pc in /usr/ports/x11/pixman Unknown modifier '9' "/usr/ports/Mk/bsd.gnome.mk", line 643: Malformed conditional (${_USE_GNOME_ALL:Mltverhack:9}=="") Unknown modifier '9' Error expanding embedded variable. *** Error code 2 Stop in /usr/ports/x11/xorg-libraries. *** Error code 1 Stop in /usr/ports/x11/xorg. I don't really care why. I'm sure it's fascinating, whatever it is. Can I just get a quick textual fix - some file to edit somewhere that fixes this ? What _is_ fascinating is that I am the only person _ever_ to attempt cvsup'ing the x11 portions of the ports tree and then install xorg. You'd think someone would have done this before now. Thanks. If you only cvsuped those three ports, you have an outdated version of the bsd.gnome.mk file (I checked the recent version and there is no such line). In fact, to avoid any more issues, I would suggest you cvsup the entire tree. If you feel cvsup / csup is slow, try portsnap: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/updating-portsnap.html ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
bsd.gnome.mk is broken in 6.3-RELEASE ? Cannot update x11 ports ?
Clean install of 6.3-RELEASE. cvsup _only_ ports/x11, ports/x11-wm, ports/x11-servers Now enter ports/x11/xorg and attempt a 'make install' Eventually it bombs out with: ===>Verifying install for /usr/local/libdata/pkgconfig/pixman-1.pc in /usr/ports/x11/pixman Unknown modifier '9' "/usr/ports/Mk/bsd.gnome.mk", line 643: Malformed conditional (${_USE_GNOME_ALL:Mltverhack:9}=="") Unknown modifier '9' Error expanding embedded variable. *** Error code 2 Stop in /usr/ports/x11/xorg-libraries. *** Error code 1 Stop in /usr/ports/x11/xorg. I don't really care why. I'm sure it's fascinating, whatever it is. Can I just get a quick textual fix - some file to edit somewhere that fixes this ? What _is_ fascinating is that I am the only person _ever_ to attempt cvsup'ing the x11 portions of the ports tree and then install xorg. You'd think someone would have done this before now. Thanks. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: root /etc/csh
On Mon, 10 Nov 2008 16:13:54 -0800, Jim Pazarena <[EMAIL PROTECTED]> wrote: > Glen Barber wrote: > > On Mon, Nov 10, 2008 at 4:46 PM, Pieter Donche <[EMAIL PROTECTED]> wrote: > >> FreeBSD 7.0 comes with the user root with start up shell /bin/csh > >> As normal user I use bash (/usr/local/bin/bash installed) > >> I would prefer to have bash also when working as root (su). > > > > It is never recommended to change root's default shell to something > > outside of the base install. > > > > The main reason is, for example, if you update your non-base shell > > (via ports), and it breaks, you can no longer log in as root. If you > > decide you still want to have a non-base shell for your root user, > > keep root's shell default, and enable your toor user. > > isn't the "main reason" because other shells may reside on a filesystem > which isn't necessarily mounted in maintenance/single user mode? Or, libraries > for the same? At least, it's a valid reason. When in trouble, the system just mounts / as ro where /bin/sh (the system's standard scripting shell) and /bin/csh (its standard dialog shell) are available. Bash may be on another partition that's not mounted yet, so no maintenance access would be possible. To change the shell, it's not a good idea to fiddle around with /etc/passwd. The use of the chsh (change shell) command is advised. In my opinion, you could add "bash" as the last line of your ~/.login file which will be executed by csh, so bash starts up right after login, but NB this may cause problems when using sudo. -- Polytropon >From 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 "[EMAIL PROTECTED]"
Re: file harvest
On Mon, 10 Nov 2008 12:53:38 -0500, "Jean-Paul Natola" <[EMAIL PROTECTED]> wrote: > Question is how can I, if it all possible, do a harvest of my own? Hah, you're asking the right one, man. :-) There are many good tools available from the ports, some of them can even be used for diagnostics and recovery on UFS file systems. The most famous one is The Sleuth Kit, another useful tool is magicrescue. Try and see if they are helpful to you. Good luck! -- Polytropon >From 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 "[EMAIL PROTECTED]"
Re: Kerberos keytab
On Mon, 2008-11-10 at 14:17 +0100, Mel wrote: > On Monday 10 November 2008 13:53:41 Da Rock wrote: > > > > Check the kerberos site for further, more accurate info, and run a > > google search for browser kerberos auth with apache. You do need the > > right module for apache to achieve this though- mod_auth_kerb. Some only > > offer a link between apache and kdc with base64 encryption. > > Non-related to the OP's problem, but base64 is a transport encoding and not > encryption. It is used as 7-bit transport for 8bit (or more) data, like > attachments (email) and form uploads (web). > Good to know the difference, but that still seems very poor against the kerberos security available. Good to know that the newer browsers are addressing this issue... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: mtree
On 11/10/08, Garcia, Tony <[EMAIL PROTECTED]> wrote: > Another developer received approval to test mtree for our project. He > has since left and no one knows anything about this application. We are > looking at mtree as a way to provide auditing of machines for > permissions, ownership and date changes as well as performing cksum on > each file. Is there any way you can point me to documentation that > gives me a high and low level of what mtree can do. I've tried > compiling the version that was downloaded, but it fails because it needs > other files which are not present (like .h files). > > > > I'd appreciate any help you can provide. The google returns are far too > numerous to make heads or tails from. I also have checked the freebsd > info but I can't find any documentation. Thank you. try: man mtree in your machine prompt ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
mtree
Another developer received approval to test mtree for our project. He has since left and no one knows anything about this application. We are looking at mtree as a way to provide auditing of machines for permissions, ownership and date changes as well as performing cksum on each file. Is there any way you can point me to documentation that gives me a high and low level of what mtree can do. I've tried compiling the version that was downloaded, but it fails because it needs other files which are not present (like .h files). I'd appreciate any help you can provide. The google returns are far too numerous to make heads or tails from. I also have checked the freebsd info but I can't find any documentation. Thank you. Tony Garcia ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Matlab R2007b
Has anyone gotten matlab 2007b working under fbsd 7.0-R and linux_base-fc-4_13 ? Even with options -nojvm -nosplash -nodisplay -memmgr compact it segfaults with Stack Trace: [0] libc.so.6:__libc_free~(0x2c51f008, 0x2c3594b8, 0x2c3594bc, 0x2c35d380) + 5 9 bytes [1] libguide.so:__kmp_affinity_determine_capable~(0x2c353200 "KMP_AFFINITY", 0 xbf3f6fa4, 0x28b469e0, 0) + 280 bytes [2] libguide.so:0x2c3488f7(0x2c358900, 1, 0x0895210c, 0xbf3f7008) [3] libguide.so:0x2c346ac9(0x2c358900, 0xbf3f7018, 0x2c339c61, 0x28323ddc) [4] libguide.so:__kmp_serial_initialize~(0x28323ddc, 0x2c339c1c, 0xbf3f7048, 0 x2825449e) + 94 bytes [5] libguide.so:ompc_set_num_threads~(1, 1, 0x2842ee40, 0xbf3f7060) + 69 bytes [6] libmwservices.so:ComputationalThreads::setNumThreads(unsigned int)(0x08952 108, 1, 0, 0) + 158 bytes [7] libmwservices.so:services::threading::getNumComputationalThreads()(0x28543 5b0, 0, 196, 0x28064810) + 120 bytes [8] libmwm_interpreter.so:inAccelExecElemExprImpl(_element_expr*, void*)(0x089 52390 "call_gmon_start", 0x2816d04f, 3, 0x2892a884) + 89 bytes [9] libmwm_interpreter.so:inAccelExecElemExpr(_element_expr*, void*)(0x08977ad 0, 0x08938900, 0xbf3f9430, 0xbf3f9434) + 34 bytes The binary bits vary but the procedure calls are the same each time. I notice it's loading libc.so.6 from /lib/obsolete/linuxthreads/libc.so.6 instead of /lib/libc.so.6 Is anyone else trying to get this working?? Thanks!! Rich ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: High load - lost network
On Mon, Nov 10, 2008 at 05:52:59PM +0100, Christer Solskogen wrote: > Jeremy Chadwick wrote: > >> Can you provide "dmesg | grep em0" output? I'd like to see what version >> of NIC this is. > > No problem. > > em0: port > 0xbc00-0xbc1f mem 0xfc5e-0xfc5f irq 18 at device 1.0 on pci1 > em0: Ethernet address: 00:02:b3:ea:28:f0 > em0: [FILTER] Well shoot, that didn't tell me what I want. pciconv -lv, and look for the em0 entry? (I need all the lines shown associated with it) Thanks. -- | Jeremy Chadwickjdc at parodius.com | | Parodius Networking http://www.parodius.com/ | | UNIX Systems Administrator Mountain View, CA, USA | | Making life hard for others since 1977. PGP: 4BD6C0CB | ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Question on creating a video server
Ted Mittelstaedt wrote: Hi All, OK, I'm just asking for opinions here on some application software. Like most people we have a nice big 21" TV set that will be obsolete in Feb. I have been thinking about replacing this with a big screen TV set but the prices on them are still way, way way out of my budget (I just can't see spending $500 for a TV set, sorry) I can pick up really high quality, large, old-style video monitors from a computer surplus place near here for next to nothing. I'd like to setup a PC and put a HDTV tuner card in it for over-the-air HDTV broadcasts, and use that as a TV. We also have a ton of DVD's and I'd like to rip these to video files and put them on the PC. Then when anyone wants to watch a movie they just watch it off the PC. I've already started doing this under Windows and it works great - it's even better since I can remove all those movie previews that the studio wants to force you to watch. Has anyone done this with FreeBSD and open source software, and has recommendations on what hardware to get and what software works with it? PREFERABLY cheap - since ultimately we likely will get a big screen TV set once the prices fall. I've read the thread and have to vote for a Linux install and MythTV. It will do everything you require rather well. I started down the FBSD path for a PVR and quickly ran into trouble back in 2006. From what I understand, it hasn't gotten much better due to the driver issues. Anyway, next I tried building MythTV on Fedora Core as it seemed to be a popular platform and Jerrod Wilson had a nice guide. Being from the FBSD world where the ports system worked so well, I quickly found myself in "rpm hell", especially when Fedora Core didn't support my SCSI card at the time. I found a nice home with Gentoo Linux as it's "portage" system is much like ports. The biggest issue with OTA HDTV streams is that the processing power required to playback is pretty significant. I used an Athlon XP 2800 and it was barely adequate for HDTV. I had to suffer occasional skips and pauses but it was still watchable. I have since upgraded to a Athlon X2 3800 and the dual cores have really helped out. One can playback while other system tasks are handled by the other core. Another issue is that HDTV is huge. About 8 GB per hour. However if you have the hardware around and want to give it a try, I suggest the HDHomerun tuner. It's a network attached dual ATSC tuner that works well with both Windows and Linux for about $160 as I recall. MythTV supports it directly as well. With that, a spare PC, and some drive space you could at least experiment. And the beautiful part is that once you get your nice, new LCD, you will have already built the PVR and will continue to enjoy commercial free television. I'd be happy to answer any questions you have. I love my MythTV build and wonder how I ever watched TV without it. Cheers, Drew P.S. I was born in 1965 and remember the way tv was as well. :) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: root /etc/csh
Glen Barber wrote: On Mon, Nov 10, 2008 at 4:46 PM, Pieter Donche <[EMAIL PROTECTED]> wrote: FreeBSD 7.0 comes with the user root with start up shell /bin/csh As normal user I use bash (/usr/local/bin/bash installed) I would prefer to have bash also when working as root (su). It is never recommended to change root's default shell to something outside of the base install. The main reason is, for example, if you update your non-base shell (via ports), and it breaks, you can no longer log in as root. If you decide you still want to have a non-base shell for your root user, keep root's shell default, and enable your toor user. isn't the "main reason" because other shells may reside on a filesystem which isn't necessarily mounted in maintenance/single user mode? Or, libraries for the same? -- Jim Pazarena [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: trouble getting x11 xdm to work
Polytropon wrote: On Mon, 10 Nov 2008 22:21:38 +0800, Fbsd1 <[EMAIL PROTECTED]> wrote: Also created the .xsessions file in the users home directory. The file is ~/.xsession, without an s at the end. I assume that csh is your login shell. Put these in your ~/.xsession: #!/bin/csh source ~/.cshrc exec ~/.xinitrc This sources your individual user setting from .cshrc and the executes .xinitrc (trivial, isn't it?) to control how the startuo of your xsession will go. Make sure both files (.xinitrc and .xsession) are +x attribute. Keep getting this console error message hundreds of times init: getty repeating too quickly on port /dev/ttyv8, sleeping 30 second Hey, I saw this one... but I'm not sure how I solved it. Is your /etc/hosts and hostname set correctly? I think it was something like this, something I would never had put in any combination with X... By the way, in order to try if xdm is working correctly it can be started directly by the command "xdm" anytime. I had ~/.xsession spelled correctly in the directory. Just typo error in email. Changed the contents of ~/.xsession as you posted. Still no joy. /etc/hosts file is correct. Running release 7.0. When i enter xdm on command line of root nothing happens. ps ax command shows no xdm running. Still getting error msg init: getty repeating too quickly on port /dev/ttyv8, sleeping 30 second ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: root /etc/csh
On Mon, Nov 10, 2008 at 4:46 PM, Pieter Donche <[EMAIL PROTECTED]> wrote: > FreeBSD 7.0 comes with the user root with start up shell /bin/csh > As normal user I use bash (/usr/local/bin/bash installed) > I would prefer to have bash also when working as root (su). > Of course I can do > # bash > [root ~]# or I could change the startup shell in /etc/passwd, but would that > be a wise > thing to do or not? It is never recommended to change root's default shell to something outside of the base install. The main reason is, for example, if you update your non-base shell (via ports), and it breaks, you can no longer log in as root. If you decide you still want to have a non-base shell for your root user, keep root's shell default, and enable your toor user. -- Glen Barber "If you have any trouble sounding condescending, find a Unix user to show you how it's done." --Scott Adams ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: root /etc/csh
On Mon, Nov 10, 2008 at 1:46 PM, Pieter Donche <[EMAIL PROTECTED]> wrote: > FreeBSD 7.0 comes with the user root with start up shell /bin/csh > As normal user I use bash (/usr/local/bin/bash installed) > I would prefer to have bash also when working as root (su). > Of course I can do > # bash > [root ~]# or I could change the startup shell in /etc/passwd, but would that > be a wise > thing to do or not? If your system is having a bad time, falling back to statically-linked /bin/csh can help you out in a jam, whereas pointing way off to /usr/local/bin/bash could spell trouble if say, you can not mount /usr. As prad pointed out, you can "su -m". I myself prefer "sudo -s". You could also just type "bash". Sincerely, -daniel -- http://dannyman.toldme.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: file harvest
On Mon, Nov 10, 2008 at 12:53:38PM -0500, Jean-Paul Natola wrote: > Hi all, > > > I have a SNAP 4100 appliance that lost 2 directories, no backup , I sent it > out to a DR service and they have told me that all they can do is file > harvest, where I would get a list of files such as file0001.xls file0002.xls > etc... > > With no guarantee of what will come out, now we are a non-profit so 3k with > no guarantees is kind of hard to swallow- > > Question is how can I, if it all possible, do a harvest of my own? Have you contacted http://www.overlandstorage.com? They list this product as 'discontinued', complete with the 'SnapOS' that it runs. But they might be able to help you. > I believe the snap uses UFS A lot of UNIX systems use UFS, not just FreeBSD! Log into the server with telnet of ssh. Check that it runs FreeBSD by executing the command 'uname -a'. If so, run 'man fsck_ufs' and read the manual page! (If the manual pages were not installed, you can read them on the FreeBSD site instead). Otherwise read the 'fsck' manual page for the OS in question. Run fsck_ufs on the filesystem in question. Orphaned files and directories will be placed in a directory named 'lost+found'. And start making backups! Roland -- R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) pgppaGonIRf3L.pgp Description: PGP signature
Re: PATH problem
Le 10/11/2008 à 21:53:32+, Matthew Seaman a écrit > Albert Shih wrote: > > > Maybe my question is not very clear > > > > The p5 package work in shell, because the PATH is in the shell. > > > > But when I use the application throught the web it's not working. But I > > don't known how to tell apache ? mod_perl ? the PATH. > > If you're using mod_perl2, then Apache will default to setting up the > environment perl sees as if perl was running as a separate CGI script. > See: > > http://perl.apache.org/docs/2.0/user/config/config.html#C_SetupEnv_ > > (defaults to 'On') > > You can modify the perl environment from httpd.conf using PerlSetEnv > or PerlPassEnv. See: > > http://perl.apache.org/docs/2.0/user/config/config.html#C_PerlSetEnv_ > http://perl.apache.org/docs/2.0/user/config/config.html#C_PerlPassEnv_ > > Assuming you do mean $PATH -- the executable search path -- that should > be sufficient to fix your problem. If you're really after $PERL5INC -- > the path to search for perl modules -- while you can use PerlSetEnv to > set that, it's special-cased not to be passed through when running in > taint-checking mode. It's generally cleaner to have a startup.pl > script you require from the Apache conf, and that can have a BEGIN { } > block where you modify @INC before loading modules. See > > http://perl.apache.org/docs/2.0/user/config/config.html#C_PerlConfigRequire_ > > or (preferably): > > http://perl.apache.org/docs/2.0/user/config/config.html#C_PerlPostConfigRequire_ > > which does much the same thing as a perl 'require' statement -- the > difference between the two being that PerlPostConfigRequire happens > somewhat later in the configuration process. YE. It's working. Lots of thanks. Regards. -- Albert SHIH SIO batiment 15 Observatoire de Paris Meudon 5 Place Jules Janssen 92195 Meudon Cedex Heure local/Local time: Lun 10 nov 2008 23:14:44 CET ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: open mail relay with ipv6??
Mark Busby wrote: Is this an open relay using ipv6? If so how to block the ipv6 relay. I thought after sendmail v8.9, all relay action was blocked by default. You haven't given sufficient information to say whether the machine is an open relay or not. We'd need to see the configuration files (well, the .mc file that is processed to produce the eventual sendmail.cf) plus potentially the contents of the access DB. However, you are correct: nowadays the default sendmail configuration is to block relaying, and you have to deliberately add configuration settings to enable any permitted relays. If you're using the default configuration shipped with FreeBSD, then it is not an open relay. maillog entry Nov 10 15:01:11 "hostname" sm-mta[8989]: mAAL021C008989: from=<[EMAIL PROTECTED]>, size=4825, class=0, nrcpts=0, bodytype=7BIT, proto=ESMTP, daemon=IPv6, relay=localhost [IPv6:::1] Nov 10 15:01:17 "hostname" sm-mta[8989]: mAAL021D008989: ruleset=check_mail, arg1=<[EMAIL PROTECTED]>, relay=localhost [IPv6:::1], reject=451 4.1.8 Domain of sender address [EMAIL PROTECTED] does not resolve Nov 10 15:01:17 "hostname" sm-mta[8989]: mAAL021D008989: from=<[EMAIL PROTECTED]>, size=3880, class=0, nrcpts=0, bodytype=7BIT, proto=ESMTP, daemon=IPv6, relay=localhost [IPv6:::1] This certainly doesn't indicate a message being inappropriately relayed. The attempt to send the message is rejected with a permanent error code (ie. tell the sender to bounce the message as undeliverable and not to re-queue it for another attempt at delivery later). I think it's also doing the correct thing and rejecting the e-mail during the SMTP dialog rather than accepting the message for delivery and then later sending a bounce-o-gram to the listed sender address. Google for 'backscatter spam' in order to understand why the latter course of action is a bad idea. sockstat -6 USER COMMANDPID FD PROTO LOCAL ADDRESS FOREIGN ADDRESS root sendmail 8284 5 tcp6 *:25 *:* root sshd 1520 3 tcp6 *:5960*:* root ntpd 1010 5 udp6 *:123 *:* root ntpd 1010 9 udp6 fe80:6::1:123 *:* root ntpd 1010 10 udp6 ::1:123 *:* root syslogd927 6 udp6 *:514 *:* You've got sendmail listening on all interfaces for IPv6 connections. This is appropriate if you expect the machine to receive incoming e-mails. If that's not the case, then set "sendmail_enable='NO'" in /etc/rc.conf. This will give you a send-only configuration with a sendmail listener bound to the loopback address (typically both ::1 and 127.0.0.1) Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW signature.asc Description: OpenPGP digital signature
Re: PATH problem
Le 10/11/2008 à 22:35:44+0100, Mel a écrit > On Monday 10 November 2008 21:36:43 Albert Shih wrote: > > > But when I use the application throught the web it's not working. But I > > don't known how to tell apache ? mod_perl ? the PATH. > Thanks for your help > Check the shell script /usr/local/sbin/envvars. In short, any file > in /usr/local/etc/apache22/envvars.d is sourced into the start up environment > of apache, through /usr/local/etc/rc.d/apache22 start up script. Unless a > module or script explicitly cleans the environment before forking an external > program, the variabels set at start up are preserved. > > The following should work for you: > echo "export PATH=$PATH" > /usr/local/etc/apache22/envvars.d/PATH > > You may want to clean out the path a bit more, pending your security policies. Sh.t it's not working. Event I put PATH.env it's not working. I'm going to do something very bad ;-) ln -s /usr/local/bin/dot /usr/bin ...it's the binary the p5 script search... OK...ok..it's very very bad. Thanks for your (all of you) help. Regards. -- Albert SHIH SIO batiment 15 Observatoire de Paris Meudon 5 Place Jules Janssen 92195 Meudon Cedex Heure local/Local time: Lun 10 nov 2008 22:55:34 CET ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: PATH problem
Albert Shih wrote: Maybe my question is not very clear The p5 package work in shell, because the PATH is in the shell. But when I use the application throught the web it's not working. But I don't known how to tell apache ? mod_perl ? the PATH. If you're using mod_perl2, then Apache will default to setting up the environment perl sees as if perl was running as a separate CGI script. See: http://perl.apache.org/docs/2.0/user/config/config.html#C_SetupEnv_ (defaults to 'On') You can modify the perl environment from httpd.conf using PerlSetEnv or PerlPassEnv. See: http://perl.apache.org/docs/2.0/user/config/config.html#C_PerlSetEnv_ http://perl.apache.org/docs/2.0/user/config/config.html#C_PerlPassEnv_ Assuming you do mean $PATH -- the executable search path -- that should be sufficient to fix your problem. If you're really after $PERL5INC -- the path to search for perl modules -- while you can use PerlSetEnv to set that, it's special-cased not to be passed through when running in taint-checking mode. It's generally cleaner to have a startup.pl script you require from the Apache conf, and that can have a BEGIN { } block where you modify @INC before loading modules. See http://perl.apache.org/docs/2.0/user/config/config.html#C_PerlConfigRequire_ or (preferably): http://perl.apache.org/docs/2.0/user/config/config.html#C_PerlPostConfigRequire_ which does much the same thing as a perl 'require' statement -- the difference between the two being that PerlPostConfigRequire happens somewhat later in the configuration process. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW signature.asc Description: OpenPGP digital signature
Re: root /etc/csh
On Mon, 10 Nov 2008 22:46:57 +0100 (CET) Pieter Donche <[EMAIL PROTECTED]> wrote: > I could change the startup shell in /etc/passwd, but would that be a > wise thing to do or not? > we use zsh, but have left the root shell the way it is. if something goes wrong with zsh (or whatever), then it may be difficult to get in as root, possibly. besides, we can still become root with su -lm l for "Simulate a full login ..." and m for "Leave the environment unmodified. The invoked shell is your login shell, and no directory changes are made ..." -- In friendship, prad ... with you on your journey Towards Freedom http://www.towardsfreedom.com (website) Information, Inspiration, Imagination - truly a site for soaring I's ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
root /etc/csh
FreeBSD 7.0 comes with the user root with start up shell /bin/csh As normal user I use bash (/usr/local/bin/bash installed) I would prefer to have bash also when working as root (su). Of course I can do # bash [root ~]# or I could change the startup shell in /etc/passwd, but would that be a wise thing to do or not? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
open mail relay with ipv6??
Is this an open relay using ipv6? If so how to block the ipv6 relay. I thought after sendmail v8.9, all relay action was blocked by default. maillog entry Nov 10 15:01:11 "hostname" sm-mta[8989]: mAAL021C008989: from=<[EMAIL PROTECTED]>, size=4825, class=0, nrcpts=0, bodytype=7BIT, proto=ESMTP, daemon=IPv6, relay=localhost [IPv6:::1] Nov 10 15:01:17 "hostname" sm-mta[8989]: mAAL021D008989: ruleset=check_mail, arg1=<[EMAIL PROTECTED]>, relay=localhost [IPv6:::1], reject=451 4.1.8 Domain of sender address [EMAIL PROTECTED] does not resolve Nov 10 15:01:17 "hostname" sm-mta[8989]: mAAL021D008989: from=<[EMAIL PROTECTED]>, size=3880, class=0, nrcpts=0, bodytype=7BIT, proto=ESMTP, daemon=IPv6, relay=localhost [IPv6:::1] > sockstat -6 USER COMMANDPID FD PROTO LOCAL ADDRESS FOREIGN ADDRESS root sendmail 8284 5 tcp6 *:25 *:* root sshd 1520 3 tcp6 *:5960*:* root ntpd 1010 5 udp6 *:123 *:* root ntpd 1010 9 udp6 fe80:6::1:123 *:* root ntpd 1010 10 udp6 ::1:123 *:* root syslogd927 6 udp6 *:514 *:* ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Sheer panic and blissful ignorance.
On Mon, Nov 10, 2008 at 01:44:58PM -0600, Trevor Hearn wrote: > Anyone that can help, I would appreciate it a lot. > > I have a Dell 1950 1U server running FreeBSD 6.3. It's connected to 2.5tb > of RAID 6 storage via Fibre Channel. I have setup some 2 tb slices on this How does one fit more than one 2 tb slice into a 2.5 tb array? ;-) > array, the problem one being /dev/da0p1. It is throwing errors to the > console when people touch a file or two that seems to be fried. The problem You might want to be somewhat more specific about the errors. Nevertheless, have a look at the da(4) manpage. It mentions some sysctls that might affect the situation. You could also inspect the device's parameters in its mode pages using camcontrol(8). If the errors are related to the filesystem, do they mention any of the inconsistencies mentioned in the fsck_ufs(8) manpage? > is that smbd then races to 100% usage, and cannot be killed. CPU1 and CPU3 > are pegged at 100%, or close enough. Sigh. > So, what file checking utility should I use for a 2tb slice on a box with 4 > gigs of memory? I thought that I had read that you should not use fsck. I am > using UFS2 for the file system. If you want to check the filesystem, there is no alternative for fsck_ufs(8). If you invoke it with the '-p' flag first, it will only repair a limited number of errors. If that exits with a non-zero status, you'll have to run a full foreground test. Roland -- R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) pgp52pYmVNY34.pgp Description: PGP signature
Re: PATH problem
On Monday 10 November 2008 21:36:43 Albert Shih wrote: > But when I use the application throught the web it's not working. But I > don't known how to tell apache ? mod_perl ? the PATH. Apache. Check the shell script /usr/local/sbin/envvars. In short, any file in /usr/local/etc/apache22/envvars.d is sourced into the start up environment of apache, through /usr/local/etc/rc.d/apache22 start up script. Unless a module or script explicitly cleans the environment before forking an external program, the variabels set at start up are preserved. The following should work for you: echo "export PATH=$PATH" > /usr/local/etc/apache22/envvars.d/PATH You may want to clean out the path a bit more, pending your security policies. -- Mel Problem with today's modular software: they start with the modules and never get to the software part. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
dump/restore don't work, handbook lies
On Tue Sep 2 14:01:06 UTC 2008 Kirk Strauser wrote: > On Sunday 31 August 2008 18:03:53 Lloyd M Caldwell wrote: > > > I needed to increase the size of my freebsd root (/). I booted, > single > > user, attached a large usb freebsd formatted file system to receive > the > > backup image. > > And you're sure that the "large usb freebsd formatted file system" is > intact > and that your dump is uncorrupted? I have just been bitten by a very similar problem as Lloyd Caldwell. - restore complains about '/' not being writable (it is but what should happen there??) - restore extracts a few files but leaves most of the dump unrestored with 'expecting YY got ZZ' I have checked the dump several times with restore -rNf /dev/cd0 (yes, it's to a series of DVD-RAMs) plus have extracted a few samples from the first disk apparently from the area which works. Like Lloyd, I am extremely ... delighted ... about the situation but well. Like Lloyd, I have been using FreeBSD for several years with little to complain. Like Lloyd, any help appreciated... Meanwhile I think I will reinstall the box from scratch with 7.0-RELEASE and return to 7-STABLE but I do miss my "backup" I must say... Oh well. All the best regards, Peter. --- pcc at gmx dot net. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: PATH problem
Le 10/11/2008 à 11:10:02-0500, Jerry McAllister a écrit > On Mon, Nov 10, 2008 at 12:08:05PM +0100, Albert Shih wrote: > > > Hi all > > > > Whenever you use some command or address some file in a script or within a > program, you should use the full path - starting with '/' so instead of > lcalling it 'd' in the script or program, call it '/usr/local/bin/dot' > > You can also explicitly add /usr/local/bin to your path and/or your > script's path. Something like > > set path=$path:/usr/local/bin > or set > path=/bin:/usr/bin:/usr/local/bin:/usr/local/lib/perl5/site_perl/5.8.8/GraphViz.pm > > or whatever you want the path to be. > > The syntax may vary some between different shells. OK. ButI don't write any problem. Maybe my question is not very clear The p5 package work in shell, because the PATH is in the shell. But when I use the application throught the web it's not working. But I don't known how to tell apache ? mod_perl ? the PATH. And I don't want to change the perl package because that's mean on every update I must make that little modification (event I don't known where to make that modification). That's mean the day I'm in vacation the web application can be broken if my collegue make a update. Regards. -- Albert SHIH SIO batiment 15 Observatoire de Paris Meudon 5 Place Jules Janssen 92195 Meudon Cedex Téléphone : 01 45 07 76 26 Heure local/Local time: Lun 10 nov 2008 21:30:25 CET ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Sheer panic and blissful ignorance.
Anyone that can help, I would appreciate it a lot. I have a Dell 1950 1U server running FreeBSD 6.3. It's connected to 2.5tb of RAID 6 storage via Fibre Channel. I have setup some 2 tb slices on this array, the problem one being /dev/da0p1. It is throwing errors to the console when people touch a file or two that seems to be fried. The problem is that smbd then races to 100% usage, and cannot be killed. CPU1 and CPU3 are pegged at 100%, or close enough. Sigh. So, what file checking utility should I use for a 2tb slice on a box with 4 gigs of memory? I thought that I had read that you should not use fsck. I am using UFS2 for the file system. Any thoughts? Any? :) Thanks. -Trevor Hearn ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Sluggish scheduling during a long disk copy
Kris Kennaway FreeBSD.org> writes: > Sounds like it to me. ntfs-3g uses FUSE, which is a userland filesystem > framework. By design it will have poor I/O performance since every I/O > transfer will require multiple trips into and out of the kernel. Performance doesn't work like that for file systems because typically the dominant factors are the file system design and the quality of the implementation. Even the still unoptimized ntfs-3g driver can far outperform other kernel file systems in streaming read/write speed (maximum ever measured sustained write speed is 902 MByte/s) and IO ops on Linux. Regards, Szaka -- NTFS-3G: http://ntfs-3g.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: host -6 failure
On Mon, Nov 10, 2008 at 10:31 AM, mdh <[EMAIL PROTECTED]> wrote: > --- On Sun, 11/9/08, David Horn <[EMAIL PROTECTED]> wrote: >> From: David Horn <[EMAIL PROTECTED]> >> Subject: Re: host -6 failure >> To: [EMAIL PROTECTED] >> Cc: freebsd-questions@freebsd.org >> Date: Sunday, November 9, 2008, 8:34 PM >> On Sun, Nov 9, 2008 at 3:13 AM, mdh >> <[EMAIL PROTECTED]> wrote: >> > --- On Sat, 11/8/08, David Horn >> <[EMAIL PROTECTED]> wrote: >> >> From: David Horn <[EMAIL PROTECTED]> >> >> Subject: Re: host -6 failure >> >> To: [EMAIL PROTECTED] >> >> Cc: freebsd-questions@freebsd.org >> >> Date: Saturday, November 8, 2008, 8:10 PM >> >> On Sat, Nov 8, 2008 at 7:55 PM, mdh >> >> <[EMAIL PROTECTED]> wrote: >> >> > --- On Sat, 11/8/08, David Horn >> >> <[EMAIL PROTECTED]> wrote: >> >> >> From: David Horn >> <[EMAIL PROTECTED]> >> >> >> Subject: Re: host -6 failure >> >> >> To: [EMAIL PROTECTED] >> >> >> Cc: freebsd-questions@freebsd.org >> >> >> Date: Saturday, November 8, 2008, 7:25 PM >> >> >> On Fri, Nov 7, 2008 at 2:18 PM, mdh >> >> >> <[EMAIL PROTECTED]> wrote: >> >> >> > Howdy folks, >> >> >> > I'm having a little trouble >> understanding >> >> a >> >> >> problem that the `host` command in >> RELENG_7_0 >> >> (very recent) >> >> >> is having. >> >> >> The '-6' on the command line for >> host(1) >> >> forces an >> >> >> IPv6 only >> >> >> connection to your nameserver, not >> necessarily a >> >> >> "" query for the >> >> >> hostname in question. In this case, your >> >> nameservers >> >> >> listed in the >> >> >> warnings are IPv4 nameservers that >> host(1) is >> >> attempting to >> >> >> connect to >> >> >> using an ipv4 mapped ipv6 address (which >> by >> >> default is >> >> >> disabled in the >> >> >> kernel) In other words, don't use >> host -6 for >> >> this >> >> >> scenario. >> >> > >> >> > Yet as I pointed out, the second nameserver >> in my >> >> resolv.conf is ::1 - so shouldn't it work with >> that? >> >> It's clearly trying to contact the first and >> third >> >> nameservers listed. If the behavior I'm >> experiencing is >> >> the proper behavior, then let me pose this >> question: when >> >> would anyone conceivably want to use the -6 >> option, and why >> >> does it exist? My intent was to force a query to >> hit the >> >> nameserver on ::1 rather than 127.0.0.1. >> >> >> > >> >> >> > domain mydomain >> >> >> > search mydomain >> >> >> > nameserver 127.0.0.1 >> >> >> > nameserver ::1 >> >> >> > nameserver IP.IP.IP.8 >> >> >> > >> >> >> > The DNS server running on localhost >> is >> >> authoritative >> >> >> for mydomain. I can ping it via >> localhost using >> >> both v4 and >> >> >> v6, and I can also ping the external v4 >> and v6 >> >> addresses >> >> >> just fine remotely. >> >> >> > >> >> >> > As I said, I'm new to IPv6, but >> this >> >> behavior >> >> >> seems to be counterintuitive. Am I just >> doing it >> >> wrong? >> >> >> > >> >> >> >> >> >> For diagnosing your own nameservers, you >> are >> >> better off >> >> >> using the >> >> >> dig(1) utility. >> >> >> >> >> >> Example: >> >> >> >> >> >> dig ipv6.google.com @::1 >> >> >> >> >> >> This causes a dns query for an IPv6 >> address (aka >> >> >> "" query) for the >> >> >> hostname of "ipv6.google.com" >> using the >> >> >> nameserver on the IPv6 >> >> >> localhost loopback address (::1), and >> will give a >> >> very nice >> >> >> verbose >> >> >> output. man dig for more details. >> >> > >> >> > That is more useful, but still doesn't >> stifle my >> >> desire to stomp a potential bug in the base >> system. >> >> >> >> Right after sending, I realized that I did not >> tell you all >> >> of the answer >> >> >> >> host(1) will successfully query ::1 when named is >> setup to >> >> listen on >> >> ::1 in named.conf, and ::1 is listed in >> /etc/resolv.conf (I >> >> just ran a >> >> test on my box to be sure that it works this way >> with the >> >> -6 switch) >> >> >> >> Example line from /etc/namedb/named.conf: >> >> >> >> listen-on-v6{ ::1; any; }; >> >> >> >> And of course you need to restart named after the >> config >> >> change( >> >> /etc/rc.d/named restart) >> >> >> >> To make sure that it is listening on the IPv6 >> loopback >> >> address: >> >> >> >> netstat -anW -f inet6 >> >> >> >> I do not remember the minimum version of bind (aka >> named) >> >> required for >> >> IPv6 off the top of my head, but I am running >> 9.4.2-P2 on >> >> my IPv6 >> >> machine. >> > >> > All of the conditions for success are true, however it >> fails. My DNS server software is responsing on ::1 port 53 >> (tcp and udp), and ::1 is the second nameserver listed in >> resolv.conf. Still, host -6 fails as previously stated... >> According to what you've said so far, this leads me to >> believe that it ought to work as expected, and not error out >> in the way I'm seeing. >> > >> > Am I missing something here? Is my lack of general >> IPv6 knowledge causing me to blindly assume something >> i
Re: scripting text replacement
On Sat, Nov 8, 2008 at 10:43 AM, bsd <[EMAIL PROTECTED]> wrote: > I have a file containing a list of items like that: > > line1item1 line1item2 line1item3 > line2item1 line2item2 line2item3 > …400 times > > I need to insert this into another text file using printf() items should be > converted into variable looping… like that: > > printf "Bla bla bla $1 bla bla $2 bla bla $3 bla bla $2" awk '{print "Bla bla bla "$1" bla bla "$2" bla bla "$3" bla bla "$2}' < file.txt > file-bla-bla-bla.txt -d -- http://dannyman.toldme.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
file harvest
Hi all, I have a SNAP 4100 appliance that lost 2 directories, no backup , I sent it out to a DR service and they have told me that all they can do is file harvest, where I would get a list of files such as file0001.xls file0002.xls etc... With no guarantee of what will come out, now we are a non-profit so 3k with no guarantees is kind of hard to swallow- Question is how can I, if it all possible, do a harvest of my own? I believe the snap uses UFS TIA j ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Console size and scrollback buffer.
On Monday 10 November 2008 08:07:23 am James Williams wrote: > Hello List, > > [On FreeBSD 7.1-BETA2, i386.] > > 1) How can I change the number of rowsxcols of the console? I'd like > to use the maximum rows/cols available for the 1440x900 screen. In order to use "graphical" VESA modes you need a custom kernel that includes these options: options VESA options SC_PIXEL_MODE You will only be able to use a 1440x900 resolution if your video hardware advertises that as a standard VESA mode. Once you are running a kernel with the above options you can use vidcontrol to list the available options: vidcontrol -i mode When you see a mode you like you can switch to it using vidcontrol again. For example: vidcontrol MODE_XX -f 8x8 cp437-8x8.fnt Replace XX with the number of the mode you'd like to use. Adjust the arguments to -f to suit your needs. Other sizes are 8x14 and 8x16. You should choose a font to match the specified size and the character set you're using. See the manpage for vidcontrol for greater detail. With a standard kernel you can use "text" modes like 80x50 or even 80x60 to get more rows than the standard 80x25. e.g: vidcontrol -f 8x8 cp437-8x8.fnt VGA_80x60 > 2) How can these settings be made default (takes effect at boot)? > > IOW, what is the equivalent of the "vga=0x365" Linux kernel option? Use the "allscreens_flags" option in rc.conf. For the text example above you'd want: allscreens_flags="-f 8x8 cp437-8x8.fnt VGA_80x60" Similarly for graphics modes, just include everything you'd include on the command line to vidcontrol. > 3) How I can set the scrollback buffer size (if that's the name) of > the console -- the equivalent of Shift+{PgUp,PgDn} on Linux? I usually do this via the SC_HISTORY_SIZE kernel option. Scroll-lock can be used to browse the history in any console virtual terminal. See the sc(4) manpage for details on this option and the SC_PIXEL_MODE option mentioned above. JN ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: High load - lost network
i don't think it's interrupt sharing problems. anyway - turn on MSI interrupts if your hardware can. check if producing high load on atapci1 make problem worse or not. On Mon, 10 Nov 2008, Christer Solskogen wrote: Mel wrote: Any shared interrupts? What does vmstat -i show under the load you describe? irq1: atkbd0 531 0 irq6: fdc010 0 irq14: ata0 95 0 irq18: em0 atapci1 1198845 4 cpu0: timer559484003 1999 cpu1: timer559483898 1999 Total 1120167382 4004 -- chs ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]" ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: High load - lost network
em0: link state changed to DOWN em0: link state changed to UP em0: link state changed to DOWN Have you double-checked the hardware? (Includes the cable connection.) The "em" driver has a very good reputation and others - includong myself - use it under siilar load profiles with no and including myself. intel card+em driver are perfect. this em0: link state changed to UP em0: link state changed to DOWN suggest switch and/or cable problem. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: SSHD/Kerberos on FreeBSD 7 STABLE
Ansar Mohammed wrote: Is sshd compiled with Kerberos support on freebsd 7.0? Yup: ldd /usr/sbin/sshd: ... libgssapi.so.9 => /usr/lib/libgssapi.so.9 (0x28124000) libkrb5.so.9 => /usr/lib/libkrb5.so.9 (0x2812b000) ... Otherwise, you should be able to use PAM, with /etc/pam.d/sshd having the line authsufficient pam_krb5.so before authrequiredpam_unix.so - Darek ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]" ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: High load - lost network
Jeremy Chadwick wrote: Can you provide "dmesg | grep em0" output? I'd like to see what version of NIC this is. No problem. em0: port 0xbc00-0xbc1f mem 0xfc5e-0xfc5f irq 18 at device 1.0 on pci1 em0: Ethernet address: 00:02:b3:ea:28:f0 em0: [FILTER] -- chs ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: High load - lost network
Christer Solskogen([EMAIL PROTECTED])@2008.11.10 13:45:44 +0100: > I have a server with a em interface. Whenever the server has a high load > (compiling world for instance) the network connectivity is lost. I have a problem where the whole machine becomes unresponsive on sustained disk IO every few seconds. 7.1-BETA2. No shared irqs. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
USB headsets?
I could have sworn this came up before, but can't find it in the hardware lists or by searching the mailing list (questions and multimedia) archives. So: Is anyone successfully using a USB headset? (Not head/phones/, head/set/.) If so: what make/model, how hard was it to get running, and what features (or lack thereof) do you like/dislike? Robert Huff ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: host -6 failure
--- On Sun, 11/9/08, David Horn <[EMAIL PROTECTED]> wrote: > From: David Horn <[EMAIL PROTECTED]> > Subject: Re: host -6 failure > To: [EMAIL PROTECTED] > Cc: freebsd-questions@freebsd.org > Date: Sunday, November 9, 2008, 8:34 PM > On Sun, Nov 9, 2008 at 3:13 AM, mdh > <[EMAIL PROTECTED]> wrote: > > --- On Sat, 11/8/08, David Horn > <[EMAIL PROTECTED]> wrote: > >> From: David Horn <[EMAIL PROTECTED]> > >> Subject: Re: host -6 failure > >> To: [EMAIL PROTECTED] > >> Cc: freebsd-questions@freebsd.org > >> Date: Saturday, November 8, 2008, 8:10 PM > >> On Sat, Nov 8, 2008 at 7:55 PM, mdh > >> <[EMAIL PROTECTED]> wrote: > >> > --- On Sat, 11/8/08, David Horn > >> <[EMAIL PROTECTED]> wrote: > >> >> From: David Horn > <[EMAIL PROTECTED]> > >> >> Subject: Re: host -6 failure > >> >> To: [EMAIL PROTECTED] > >> >> Cc: freebsd-questions@freebsd.org > >> >> Date: Saturday, November 8, 2008, 7:25 PM > >> >> On Fri, Nov 7, 2008 at 2:18 PM, mdh > >> >> <[EMAIL PROTECTED]> wrote: > >> >> > Howdy folks, > >> >> > I'm having a little trouble > understanding > >> a > >> >> problem that the `host` command in > RELENG_7_0 > >> (very recent) > >> >> is having. > >> >> The '-6' on the command line for > host(1) > >> forces an > >> >> IPv6 only > >> >> connection to your nameserver, not > necessarily a > >> >> "" query for the > >> >> hostname in question. In this case, your > >> nameservers > >> >> listed in the > >> >> warnings are IPv4 nameservers that > host(1) is > >> attempting to > >> >> connect to > >> >> using an ipv4 mapped ipv6 address (which > by > >> default is > >> >> disabled in the > >> >> kernel) In other words, don't use > host -6 for > >> this > >> >> scenario. > >> > > >> > Yet as I pointed out, the second nameserver > in my > >> resolv.conf is ::1 - so shouldn't it work with > that? > >> It's clearly trying to contact the first and > third > >> nameservers listed. If the behavior I'm > experiencing is > >> the proper behavior, then let me pose this > question: when > >> would anyone conceivably want to use the -6 > option, and why > >> does it exist? My intent was to force a query to > hit the > >> nameserver on ::1 rather than 127.0.0.1. > >> >> > > >> >> > domain mydomain > >> >> > search mydomain > >> >> > nameserver 127.0.0.1 > >> >> > nameserver ::1 > >> >> > nameserver IP.IP.IP.8 > >> >> > > >> >> > The DNS server running on localhost > is > >> authoritative > >> >> for mydomain. I can ping it via > localhost using > >> both v4 and > >> >> v6, and I can also ping the external v4 > and v6 > >> addresses > >> >> just fine remotely. > >> >> > > >> >> > As I said, I'm new to IPv6, but > this > >> behavior > >> >> seems to be counterintuitive. Am I just > doing it > >> wrong? > >> >> > > >> >> > >> >> For diagnosing your own nameservers, you > are > >> better off > >> >> using the > >> >> dig(1) utility. > >> >> > >> >> Example: > >> >> > >> >> dig ipv6.google.com @::1 > >> >> > >> >> This causes a dns query for an IPv6 > address (aka > >> >> "" query) for the > >> >> hostname of "ipv6.google.com" > using the > >> >> nameserver on the IPv6 > >> >> localhost loopback address (::1), and > will give a > >> very nice > >> >> verbose > >> >> output. man dig for more details. > >> > > >> > That is more useful, but still doesn't > stifle my > >> desire to stomp a potential bug in the base > system. > >> > >> Right after sending, I realized that I did not > tell you all > >> of the answer > >> > >> host(1) will successfully query ::1 when named is > setup to > >> listen on > >> ::1 in named.conf, and ::1 is listed in > /etc/resolv.conf (I > >> just ran a > >> test on my box to be sure that it works this way > with the > >> -6 switch) > >> > >> Example line from /etc/namedb/named.conf: > >> > >> listen-on-v6{ ::1; any; }; > >> > >> And of course you need to restart named after the > config > >> change( > >> /etc/rc.d/named restart) > >> > >> To make sure that it is listening on the IPv6 > loopback > >> address: > >> > >> netstat -anW -f inet6 > >> > >> I do not remember the minimum version of bind (aka > named) > >> required for > >> IPv6 off the top of my head, but I am running > 9.4.2-P2 on > >> my IPv6 > >> machine. > > > > All of the conditions for success are true, however it > fails. My DNS server software is responsing on ::1 port 53 > (tcp and udp), and ::1 is the second nameserver listed in > resolv.conf. Still, host -6 fails as previously stated... > According to what you've said so far, this leads me to > believe that it ought to work as expected, and not error out > in the way I'm seeing. > > > > Am I missing something here? Is my lack of general > IPv6 knowledge causing me to blindly assume something > incorrectly? > > If all of the conditions for success were true, you would > *not* be > having a problem. You are likely missing something simple. > I suggest that you read about about general IPv6 network > troubleshooting, and bind. Th
Re: hundred files to tar and untar
Thank you but I have hundred files in different folders and it may need 3 files in 100 files in this folder. I did put "need files" in file.txt and using tar zcvf file.tar.gz -T file.txt inside file.txt eg: /var/web/data/version/cc.html but don't know how to restore as restore directory is in different folder /var/web/data/cc.html thank you David Kelly <[EMAIL PROTECTED]> wrote: On Mon, Nov 10, 2008 at 08:10:36AM -0500, chloe K wrote: > Hi > > I have hundred files to tar > > How can I make tar the file but untar in different folder? > > eg: > > tar cvf html.tar /var/web/data/verion/cc.html > > untar html.tar /var/web/data/root/cc.html > > Thank you RTFM. Specifically look at the -C option. Or you could do it the simple way (note parenthesis, the cd only applies within the parenthesis, when the command clompletes your shell is back to the original directory): (cd /var/web/data/verion/cc.html ; tar -cvf /html.tar * ) (cd /var/web/data/root/cc.html ; tar -xvf /html.tar ) The above does not store the path prefix in the tar archive, which is perhaps the problem you were trying to solve? -- David Kelly N4HHE, [EMAIL PROTECTED] Whom computers would destroy, they must first drive mad. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]" - Yahoo! Canada Toolbar : Search from anywhere on the web and bookmark your favourite sites. Download it now! ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: hundred files to tar and untar
On Mon, Nov 10, 2008 at 08:10:36AM -0500, chloe K wrote: > Hi > > I have hundred files to tar > > How can I make tar the file but untar in different folder? > Just use cd. You can use cd in a script just like you would at the command line. cd /what/ever/the/source/directory/is tar cvf ../htmlstuff.tar /cc.html mkdir -p /where/ever/you/want/it cd /where/ever/you/want/it tar xvf /what/ever/the/source/directory/htmlstuff.tar This would eliminate the directory tree being recreated where you unroll the tar presuming that fantasy path I first cd to is, in your example, /var/web/data/verion If you want to preserve that directory path in the new place you do cd / tar cvf /htmlstuff.tar /what/ever/the/source/directory/is/cc.html mkdir -p /where/ever/you/want/it cd /where/ever/you/want/it tar xvf /htmlstuff.tar You can put that in a loop in your script if it can pick up the file names and directory paths to plug in the commands. > eg: > > tar cvf html.tar /var/web/data/verion/cc.html > > untar html.tar /var/web/data/root/cc.html > > Thank you > > > > > - > > > Yahoo! Canada Toolbar : Search from anywhere on the web and > bookmark your favourite sites. Download it now! > ___ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "[EMAIL PROTECTED]" > ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: PATH problem
On Mon, Nov 10, 2008 at 12:08:05PM +0100, Albert Shih wrote: > Hi all > > I've PATH problem with a perl package (I don't knwon anything about > perl). > > I run rt (3.8) under apache22 + mod_perl2 and on some p5 librairie I've got > message like > > Command 'dot' not found in /bin, /usr/bin at > /usr/local/lib/perl5/site_perl/5.8.8/GraphViz.pm > > and yes «dot» is not in /bin or /usr/bin but it's in > > /usr/local/bin > > So...how can I tell who ?(maybe www) to try to find «dot» in > /usr/local/bin Whenever you use some command or address some file in a script or within a program, you should use the full path - starting with '/' so instead of lcalling it 'd' in the script or program, call it '/usr/local/bin/dot' You can also explicitly add /usr/local/bin to your path and/or your script's path. Something like set path=$path:/usr/local/bin or set path=/bin:/usr/bin:/usr/local/bin:/usr/local/lib/perl5/site_perl/5.8.8/GraphViz.pm or whatever you want the path to be. The syntax may vary some between different shells. jerry > > Regards. > -- > Albert SHIH > SIO batiment 15 > Observatoire de Paris Meudon > 5 Place Jules Janssen > 92195 Meudon Cedex > Heure local/Local time: > Lun 10 nov 2008 12:05:08 CET > ___ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "[EMAIL PROTECTED]" > ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: "Invalid address" running apps using wine-1.1.8,1
Eduardo Cerejo wrote: Hi, I'm getting an "Invalid address" error trying to run Windows apps under WINE. "wineconsole cmd" works OK though, and so does winefile. The error seems to only occur with apps that aren't supplied with WINE, eg. C:\Program Files\Winamp>winamp.exe wine: could not load L"C:\\Program Files\\Winamp\\winamp.exe": Invalid address $ uname -a FreeBSD blizzard.phoenix 6.3-RELEASE-p5 FreeBSD 6.3-RELEASE-p5 #0: Wed Oct 1 05:34:19 UTC 2008 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC i386 $ pkg_info | grep wine wine-1.1.8,1Microsoft Windows compatibility layer for Unix-like systems Any ideas? Regards Andrew I'm getting the same error after portupgrading wine. I haven't found anything on it yet! ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]" Same. I reverted to wine-1.1.2,1 and firefox 2 works again. Chris ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: "Invalid address" running apps using wine-1.1.8,1
> Eduardo Cerejo writes: > > > I'm getting an "Invalid address" error trying to run Windows apps > > > under WINE. "wineconsole cmd" works OK though, and so does winefile. > > > The error seems to only occur with apps that aren't supplied with > > > WINE, eg. > > > > > > C:\Program Files\Winamp>winamp.exe > > > wine: could not load L"C:\\Program Files\\Winamp\\winamp.exe": Invalid > > address > > > > I'm getting the same error after portupgrading wine. I haven't > > found anything on it yet! > > I have at least one non-Wine-supplied program that runs without > this problem under wine-1.1.8.1. > Mind you, it complains of stuff I don't think it sed to complain > about ... but it runs. It is frustrating when you try running an app and all you get is a little window saying "invalid address" and nothing else to work with. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Console size and scrollback buffer.
i think it can be done somehow, but isn't the best to run X on your card with 1440x900 resolution and run one (or several) xterms full screen. that's what i do with fvwm2 window manager and "slightly" modified config. no window frames, no titlebars, buttons etc, 100% screen for program, not only xterm On Mon, 10 Nov 2008, James Williams wrote: Hello List, [On FreeBSD 7.1-BETA2, i386.] 1) How can I change the number of rowsxcols of the console? I'd like to use the maximum rows/cols available for the 1440x900 screen. 2) How can these settings be made default (takes effect at boot)? IOW, what is the equivalent of the "vga=0x365" Linux kernel option? 3) How I can set the scrollback buffer size (if that's the name) of the console -- the equivalent of Shift+{PgUp,PgDn} on Linux? I played around with vidcontrol but was not quite successful. Thanks in advance. -James. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]" ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: hundred files to tar and untar
On Mon, Nov 10, 2008 at 08:10:36AM -0500, chloe K wrote: > Hi > > I have hundred files to tar > > How can I make tar the file but untar in different folder? > > eg: > > tar cvf html.tar /var/web/data/verion/cc.html > > untar html.tar /var/web/data/root/cc.html > > Thank you RTFM. Specifically look at the -C option. Or you could do it the simple way (note parenthesis, the cd only applies within the parenthesis, when the command clompletes your shell is back to the original directory): (cd /var/web/data/verion/cc.html ; tar -cvf /html.tar * ) (cd /var/web/data/root/cc.html ; tar -xvf /html.tar ) The above does not store the path prefix in the tar archive, which is perhaps the problem you were trying to solve? -- David Kelly N4HHE, [EMAIL PROTECTED] Whom computers would destroy, they must first drive mad. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: "Invalid address" running apps using wine-1.1.8,1
[Port maintainer CC:'d] Eduardo Cerejo writes: > > I'm getting an "Invalid address" error trying to run Windows apps > > under WINE. "wineconsole cmd" works OK though, and so does winefile. > > The error seems to only occur with apps that aren't supplied with > > WINE, eg. > > > > C:\Program Files\Winamp>winamp.exe > > wine: could not load L"C:\\Program Files\\Winamp\\winamp.exe": Invalid > address > > I'm getting the same error after portupgrading wine. I haven't > found anything on it yet! I have at least one non-Wine-supplied program that runs without this problem under wine-1.1.8.1. Mind you, it complains of stuff I don't think it sed to complain about ... but it runs. Robert Huff ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: High load - lost network
On Mon, Nov 10, 2008 at 01:45:44PM +0100, Christer Solskogen wrote: > I have a server with a em interface. Whenever the server has a high load > (compiling world for instance) the network connectivity is lost. > > dmesg tells me this: > em0: link state changed to DOWN > em0: link state changed to UP > em0: link state changed to DOWN > em0: link state changed to UP > em0: link state changed to DOWN > em0: link state changed to UP > em0: link state changed to DOWN > em0: link state changed to UP > em0: link state changed to DOWN > em0: link state changed to UP > > Do anyone have a tips for how to workaround this or is the server just junk? Can you provide "dmesg | grep em0" output? I'd like to see what version of NIC this is. -- | Jeremy Chadwickjdc at parodius.com | | Parodius Networking http://www.parodius.com/ | | UNIX Systems Administrator Mountain View, CA, USA | | Making life hard for others since 1977. PGP: 4BD6C0CB | ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: "Invalid address" running apps using wine-1.1.8,1
> Hi, > > I'm getting an "Invalid address" error trying to run Windows apps > under WINE. "wineconsole cmd" works OK though, and so does winefile. > The error seems to only occur with apps that aren't supplied with > WINE, eg. > > C:\Program Files\Winamp>winamp.exe > wine: could not load L"C:\\Program Files\\Winamp\\winamp.exe": Invalid address > > $ uname -a > FreeBSD blizzard.phoenix 6.3-RELEASE-p5 FreeBSD 6.3-RELEASE-p5 #0: > Wed Oct 1 05:34:19 UTC 2008 > [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC i386 > > $ pkg_info | grep wine > wine-1.1.8,1Microsoft Windows compatibility layer for Unix-like > systems > > Any ideas? > > Regards > Andrew I'm getting the same error after portupgrading wine. I haven't found anything on it yet! ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Support ATOM!!!
The mother intel D945 GCLF - ATOM processor integrate will be supported? Thank you very much! I apologize for my bad English! ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
hundred files to tar and untar
Hi I have hundred files to tar How can I make tar the file but untar in different folder? eg: tar cvf html.tar /var/web/data/verion/cc.html untar html.tar /var/web/data/root/cc.html Thank you - Yahoo! Canada Toolbar : Search from anywhere on the web and bookmark your favourite sites. Download it now! ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: High load - lost network
On Monday 10 November 2008 15:44:59 Christer Solskogen wrote: > irq18: em0 atapci1 1198845 4 Since disk and network card share the same IRQ, does the problem occur if you generate a similar load, without using disk IO? Like, put a big file on a memory disk and bzip it. Could be a red herring, but good to rule out. -- Mel Problem with today's modular software: they start with the modules and never get to the software part. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: High load - lost network
Mel wrote: > Any shared interrupts? What does vmstat -i show under the load you describe? > irq1: atkbd0 531 0 irq6: fdc010 0 irq14: ata0 95 0 irq18: em0 atapci1 1198845 4 cpu0: timer559484003 1999 cpu1: timer559483898 1999 Total 1120167382 4004 -- chs ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: trouble getting x11 xdm to work
On Mon, 10 Nov 2008 22:21:38 +0800, Fbsd1 <[EMAIL PROTECTED]> wrote: > Also created the .xsessions file in the users home directory. The file is ~/.xsession, without an s at the end. I assume that csh is your login shell. Put these in your ~/.xsession: #!/bin/csh source ~/.cshrc exec ~/.xinitrc This sources your individual user setting from .cshrc and the executes .xinitrc (trivial, isn't it?) to control how the startuo of your xsession will go. Make sure both files (.xinitrc and .xsession) are +x attribute. > Keep getting this console error message hundreds of times > > init: getty repeating too quickly on port /dev/ttyv8, sleeping 30 second Hey, I saw this one... but I'm not sure how I solved it. Is your /etc/hosts and hostname set correctly? I think it was something like this, something I would never had put in any combination with X... By the way, in order to try if xdm is working correctly it can be started directly by the command "xdm" anytime. -- Polytropon >From 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 "[EMAIL PROTECTED]"
Re: High load - lost network
At 06:45 AM 11/10/2008, Christer Solskogen wrote: I have a server with a em interface. Whenever the server has a high load (compiling world for instance) the network connectivity is lost. dmesg tells me this: em0: link state changed to DOWN em0: link state changed to UP em0: link state changed to DOWN em0: link state changed to UP em0: link state changed to DOWN em0: link state changed to UP em0: link state changed to DOWN em0: link state changed to UP em0: link state changed to DOWN em0: link state changed to UP Do anyone have a tips for how to workaround this or is the server just junk? The server is running FreeBSD 7.0 (i386) with latest patches from freebsd-update. -- chs Check your switch and the wiring. I use em drivers and hardware without issues. -Derek -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: High load - lost network
On Monday 10 November 2008 15:18:40 Christer Solskogen wrote: > Robert Huff wrote: > > Have you double-checked the hardware? (Includes the cable > > connection.) The "em" driver has a very good reputation and others > > - includong myself - use it under siilar load profiles with no > > problems. > > Yeah, I have. The error is replicated just by giving the machine > something to do. It might also have something to do with the auto > neogation and the switch. > > the wierd thing is that the only message in the log is: > Nov 10 13:29:58 caius kernel: em0: link state changed to DOWN > Nov 10 13:29:59 caius kernel: em0: link state changed to UP > Nov 10 13:30:08 caius kernel: em0: link state changed to DOWN > Nov 10 13:30:10 caius kernel: em0: link state changed to UP Any shared interrupts? What does vmstat -i show under the load you describe? -- Mel Problem with today's modular software: they start with the modules and never get to the software part. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
trouble getting x11 xdm to work
logging in at command line works and startx works. Now want to use x11 xdm to control logins for virtual terminals 9+ Followed handbook instructions 5.6.2 Using XDM doing this ttyv8 "/usr/local/bin/xdm -nodaemon" xterm on secure Then kill -HUP 1 to reread the file. Also created the .xsessions file in the users home directory. Keep getting this console error message hundreds of times init: getty repeating too quickly on port /dev/ttyv8, sleeping 30 second ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: High load - lost network
Robert Huff wrote: > Have you double-checked the hardware? (Includes the cable > connection.) The "em" driver has a very good reputation and others > - includong myself - use it under siilar load profiles with no > problems. > Yeah, I have. The error is replicated just by giving the machine something to do. It might also have something to do with the auto neogation and the switch. the wierd thing is that the only message in the log is: Nov 10 13:29:58 caius kernel: em0: link state changed to DOWN Nov 10 13:29:59 caius kernel: em0: link state changed to UP Nov 10 13:30:08 caius kernel: em0: link state changed to DOWN Nov 10 13:30:10 caius kernel: em0: link state changed to UP Nothing else :/ -- chs ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Console size and scrollback buffer.
James Williams wrote: Hello List, [On FreeBSD 7.1-BETA2, i386.] 1) How can I change the number of rowsxcols of the console? I'd like to use the maximum rows/cols available for the 1440x900 screen. 2) How can these settings be made default (takes effect at boot)? IOW, what is the equivalent of the "vga=0x365" Linux kernel option? 3) How I can set the scrollback buffer size (if that's the name) of the console -- the equivalent of Shift+{PgUp,PgDn} on Linux? I played around with vidcontrol but was not quite successful. Thanks in advance. -James. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]" try adding this in /etc/rc.conf vidcontrol -h 200 # -h = Set the size of the history scrollback buffer in number of lines. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Console size and scrollback buffer.
On Mon, 10 Nov 2008 18:58:31 +0530, "James Williams" <[EMAIL PROTECTED]> wrote: > 1) How can I change the number of rowsxcols of the console? I'd like > to use the maximum rows/cols available for the 1440x900 screen. You can use vidcontrol to do that. > 2) How can these settings be made default (takes effect at boot)? At boot? Never tried this, but I think there are some kernel settings that are relevant for this; they'll be documented in the NOTES files for the kernel. > 3) How I can set the scrollback buffer size (if that's the name) of > the console -- the equivalent of Shift+{PgUp,PgDn} on Linux? In FreeBSD, use the Scroll Lock key (that's why it's there); the length of the scrollback buffer can be controlled by vidcontrol, too. Refer to "man vidcontrol" and its EXAMPLES section. > I played around with vidcontrol but was not quite successful. Make sure the requested videomode is available, "vidcontrol -i mode" will tell you. -- Polytropon >From 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 "[EMAIL PROTECTED]"
Console size and scrollback buffer.
Hello List, [On FreeBSD 7.1-BETA2, i386.] 1) How can I change the number of rowsxcols of the console? I'd like to use the maximum rows/cols available for the 1440x900 screen. 2) How can these settings be made default (takes effect at boot)? IOW, what is the equivalent of the "vga=0x365" Linux kernel option? 3) How I can set the scrollback buffer size (if that's the name) of the console -- the equivalent of Shift+{PgUp,PgDn} on Linux? I played around with vidcontrol but was not quite successful. Thanks in advance. -James. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Console size and scrollback buffer.
Hello List, [On FreeBSD 7.1-BETA2, i386.] 1) How can I change the number of rowsxcols of the console? I'd like to use the maximum rows/cols available for the 1440x900 screen. 2) How can these settings be made default (takes effect at boot)? IOW, what is the equivalent of the "vga=0x365" Linux kernel option? 3) How I can set the scrollback buffer size (if that's the name) of the console -- the equivalent of Shift+{PgUp,PgDn} on Linux? I played around with vidcontrol but was not quite successful. Thanks in advance. -James. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Kerberos keytab
On Monday 10 November 2008 13:53:41 Da Rock wrote: > Check the kerberos site for further, more accurate info, and run a > google search for browser kerberos auth with apache. You do need the > right module for apache to achieve this though- mod_auth_kerb. Some only > offer a link between apache and kdc with base64 encryption. Non-related to the OP's problem, but base64 is a transport encoding and not encryption. It is used as 7-bit transport for 8bit (or more) data, like attachments (email) and form uploads (web). -- Mel Problem with today's modular software: they start with the modules and never get to the software part. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
High load - lost network
Christer Solskogen writes: > I have a server with a em interface. Whenever the server has a high load > (compiling world for instance) the network connectivity is lost. > > dmesg tells me this: > em0: link state changed to DOWN > em0: link state changed to UP > em0: link state changed to DOWN > em0: link state changed to UP > em0: link state changed to DOWN Have you double-checked the hardware? (Includes the cable connection.) The "em" driver has a very good reputation and others - includong myself - use it under siilar load profiles with no problems. Robert Huff ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
SSHD/Kerberos on FreeBSD 7 STABLE
Is sshd compiled with Kerberos support on freebsd 7.0? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Kerberos keytab
On Mon, 2008-11-10 at 07:18 -0500, Ansar Mohammed wrote: > Does anyone know what is the actual purpose of the Kerberos krb5.keytab > file? > > > > I have a freebsd 7 configured to authenticate users via Kerberos (both > apache and ssh). > > > > Although the authentication between apache and browser is still basic and > between the ssh client and server is still keyboard interactive. FreeBSD > validates the account in the background using Kerberos to AD. Actually from my understanding (which may very well be basic, but I have done some very extensive research) browser auth with kerberos and apache may be possible on firefox 2 and IE6. The older browsers are a dead loss, but it will fallback gracefully I've read. One thing that makes this possible is navigating to about:config in firefox and updating negotiate uri's. In IE6 you don't need to do anything, but that does increase the security risk (ergo the firefox method of negotiate). The keytab file (again, only from my understanding) contains the current keys in use mapped to the users. These change as per the kerberos ttl settings for tickets. Check the kerberos site for further, more accurate info, and run a google search for browser kerberos auth with apache. You do need the right module for apache to achieve this though- mod_auth_kerb. Some only offer a link between apache and kdc with base64 encryption. I'm pretty sure of my facts here, but I'll appreciate a correction of my comments. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
High load - lost network
I have a server with a em interface. Whenever the server has a high load (compiling world for instance) the network connectivity is lost. dmesg tells me this: em0: link state changed to DOWN em0: link state changed to UP em0: link state changed to DOWN em0: link state changed to UP em0: link state changed to DOWN em0: link state changed to UP em0: link state changed to DOWN em0: link state changed to UP em0: link state changed to DOWN em0: link state changed to UP Do anyone have a tips for how to workaround this or is the server just junk? The server is running FreeBSD 7.0 (i386) with latest patches from freebsd-update. -- chs ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
"Invalid address" running apps using wine-1.1.8,1
Hi, I'm getting an "Invalid address" error trying to run Windows apps under WINE. "wineconsole cmd" works OK though, and so does winefile. The error seems to only occur with apps that aren't supplied with WINE, eg. C:\Program Files\Winamp>winamp.exe wine: could not load L"C:\\Program Files\\Winamp\\winamp.exe": Invalid address $ uname -a FreeBSD blizzard.phoenix 6.3-RELEASE-p5 FreeBSD 6.3-RELEASE-p5 #0: Wed Oct 1 05:34:19 UTC 2008 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC i386 $ pkg_info | grep wine wine-1.1.8,1Microsoft Windows compatibility layer for Unix-like systems Any ideas? Regards Andrew ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: crypto API question
Have you tried openssl.org? On Nov 10, 2008, at 6:15 AM, Vasile Marii wrote: Hello! I'm developing a driver for a crypto-accelerating device and i have some problem when trying to make AES & HMAC256 at once on the comming pachet because as i see there is no such posibility(meaning AES-CBC & HMAC from one operation). Anywy i found domwhere that such operation are possible. Could you please say where i ca find mor info about this? Thanks in advance! -- Vasile Marii ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED] " ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Kerberos keytab
Does anyone know what is the actual purpose of the Kerberos krb5.keytab file? I have a freebsd 7 configured to authenticate users via Kerberos (both apache and ssh). Although the authentication between apache and browser is still basic and between the ssh client and server is still keyboard interactive. FreeBSD validates the account in the background using Kerberos to AD. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
eclipse-cdt debugging doesn't work on FreeBSD 7.0 amd64?
Hello BSD guys, My system information is like this. - FreeBSD 7.0-RELEASE amd64 - gcc 4.2.1 - gdb 6.1.1 - eclipse-cdt-3.1.2_1 I used ports tree to compile and install eclipse-cdt-3.1.2_1. Running eclipse and compiling my C++ project are fine. But, when I try to debug, an error dialog box pops up and says 'Target selection failed'. The verbose console mode of the debugger option prints below. 46-gdb-set confirm off 46^done (gdb) 47-gdb-set width 0 47^done (gdb) 48-gdb-set height 0 48^done (gdb) 49-interpreter-exec console echo 49^done (gdb) 50-gdb-show prompt 50^done,value="(gdb) " (gdb) 51-gdb-set auto-solib-add on 51^done (gdb) 52-gdb-set stop-on-solib-events 0 52^done (gdb) 53-gdb-set stop-on-solib-events 1 53^done (gdb) 54-gdb-set remotebaud 115200 54^done (gdb) 55-target-select remote /dev/ttyS0 &"/dev/ttyS0: No such file or directory.\n" /dev/ttyS0: No such file or directory. 55^error,msg="/dev/ttyS0: No such file or directory." (gdb) 56-gdb-exit 56^exit The default debugger option of the eclipse is below. Debugger: gdbserver Debugger GDB debugger: gdb GDB command file: .gdbinit GDB command set: Standard Protocol: mi Connection Type: Serial Device: /dev/ttyS0 Speed: 115200 As the error message says, there is no file or directory at /dev/ttyS0 in my system. I've also tried another debugger connection option like below. Connection Type: TCP Host name or IP address: localhost Port number: 1 It prints message like this. 68-gdb-set confirm off 68^done (gdb) 69-gdb-set width 0 69^done (gdb) 70-gdb-set height 0 70^done (gdb) 71-interpreter-exec console echo 71^done (gdb) 72-gdb-show prompt 72^done,value="(gdb) " (gdb) 73-gdb-set auto-solib-add on 73^done (gdb) 74-gdb-set stop-on-solib-events 0 74^done (gdb) 75-gdb-set stop-on-solib-events 1 75^done (gdb) 76-target-select remote localhost:1 &"localhost:1: Connection refused.\n" localhost:1: Connection refused. 76^error,msg="localhost:1: Connection refused." (gdb) 77-gdb-exit 77^exit I'm using PF for a firewall and opened TCP connection for port 1 and I even disabled PF, but it has same error. There is anybody who've had and solved this kind of problem of eclipse? I'll really appreciate your solution. Going back to the command line gdb is quite miserable. I really wanna use eclipse for C++ debugging. Thanks. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
crypto API question
Hello! I'm developing a driver for a crypto-accelerating device and i have some problem when trying to make AES & HMAC256 at once on the comming pachet because as i see there is no such posibility(meaning AES-CBC & HMAC from one operation). Anywy i found domwhere that such operation are possible. Could you please say where i ca find mor info about this? Thanks in advance! -- Vasile Marii ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
PATH problem
Hi all I've PATH problem with a perl package (I don't knwon anything about perl). I run rt (3.8) under apache22 + mod_perl2 and on some p5 librairie I've got message like Command 'dot' not found in /bin, /usr/bin at /usr/local/lib/perl5/site_perl/5.8.8/GraphViz.pm and yes «dot» is not in /bin or /usr/bin but it's in /usr/local/bin So...how can I tell who ?(maybe www) to try to find «dot» in /usr/local/bin Regards. -- Albert SHIH SIO batiment 15 Observatoire de Paris Meudon 5 Place Jules Janssen 92195 Meudon Cedex Heure local/Local time: Lun 10 nov 2008 12:05:08 CET ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
trouble building postgresql-client
Hello list, I haven't been able to upgrade PostgreSQL from 8.3.3 to 8.3.5. I'm running 7.0-RELEASE-p5, amd64. # pkg_version -vL = postgresql-client-8.3.3 < needs updating (port has 8.3.5) postgresql-server-8.3.3 < needs updating (port has 8.3.5) # After that i used portupgrade -a. Output is below. ... cc -O2 -fno-strict-aliasing -pipe -O3 -funroll-loops -Wall -Wmissing-prototypes -Wpointer-arith -Winline -Wdeclaration-after-statement -Wendif-labels -fno-strict-aliasing -fwrapv -D_REENTRANT -D_THREAD_SAFE -D_POSIX_PTHREAD_SEMANTICS -fPIC -DPIC -shared -Wl,-x,-soname,libpq.so.5 fe-auth.o fe-connect.o fe-exec.o fe-misc.o fe-print.o fe-lobj.o fe-protocol2.o fe-protocol3.o pqexpbuffer.o pqsignal.o fe-secure.o md5.o ip.o wchar.o encnames.o noblock.o pgstrcasecmp.o thread.o -L../../../src/port -L/usr/local/lib -lintl -lssl -lcrypto -lcrypt -pthread -Wl,-R'/usr/local/lib' -o libpq.so.5 /usr/bin/ld: /usr/lib/libpthread.a (thr_syscalls.o): relocation R_X86_64_32S can not be used when making a shared object; recompile with -fPIC /usr/lib/libpthread.a: could not read symbols: Bad value gmake[1]: *** [libpq.so.5] Error 1 gmake[1]: Leaving directory `/usr/ports/databases/postgresql83-client/work/postgresql-8.3.5/src/interfaces/libpq' gmake: *** [all] Error 2 *** Error code 2 Stop in /usr/ports/databases/postgresql83-client. *** Error code 1 Stop in /usr/ports/databases/postgresql83-client. ** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portupgrade.62208.0 env UPGRADE_TOOL=portupgrade UPGRADE_PORT=postgresql-client-8.3.3 UPGRADE_PORT_VER=8.3.3 make ** Fix the problem and try again. ---> Skipping 'databases/postgresql83-server' (postgresql-server-8.3.3) because a requisite package 'postgresql-client-8.3.3' (databases/postgresql83-client) failed (specify -k to force) ** Listing the failed packages (-:ignored / *:skipped / !:failed) ! databases/postgresql83-client (postgresql-client-8.3.3) (unknown build error) * databases/postgresql83-server (postgresql-server-8.3.3) However, on a roughly similar machine, the process went fine. Any ideas? -- Regards, Ghirai. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
RE: Question on creating a video server
> -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] Behalf Of John Almberg > Sent: Saturday, November 08, 2008 3:38 PM > To: Ted Mittelstaedt > Cc: freebsd-questions@freebsd.org > Subject: Re: Question on creating a video server > > > > On Nov 8, 2008, at 1:40 PM, Ted Mittelstaedt wrote: > > > Hi All, > > > > OK, I'm just asking for opinions here on some application > > software. > > > > Like most people we have a nice big 21" TV set that will be > > obsolete in Feb. I have been thinking about replacing this with a > > big screen TV set but the prices on them are still way, way > > way out of my budget (I just can't see spending $500 for > > a TV set, sorry) > > > > Why not just get a digital converter and keep using your nice TV? I had considered that. Currently my 21" TV has an RF input only, no composite, no S-video. I'm feeding it from a VCR that does have composite input/RA jacks, but no S-video. I have a DVD player feeding the VCR with composite output/RCA. I have a Toshiba laptop that has a composite output & DVD player. I have used this to watch DVD's and also AVI files. The quality is noticably worse than watching them on the laptop LCD screen. Of course, sitting 8-9 feet away from the TV set that is hard to notice. I had originally thought in building the video server to just feed the VCR with composite output from a video card - in fact, I have a vga card in the video PC that has composite output. Then, buying one of the really cheap HDTV converters and feeding the composite output of that to the VCR - or maybe picking up a composite-input video switchbox. But then I started thinking about how ugly such a solution would be. Worse, the DVD player itself is getting old - it's an Apex - and I've had 2 other Apexes and both have failed due to old age, now. Also the VCR is getting old too. That is why I was thinking maybe just go with a cheap VGA monitor instead of a TV set, use a HDTV usb tuner, and get rid of the DVD player and the VCR. Really, the idea is that this isn't a permanent solution. Ultimately I am planning on going to a LCD tv set. This is just to tide me over for maybe a year. About the only thing that we actually watch on broadcast anymore is the Late Show with Jay Leno. And even that is very trying. The simple fact is that if there was a TV show that I'd like to watch, I'm no longer willing to sacrifice my time to commercials. For example, take Sara Conner Chronicles. We loved all the Terminator movies and I'd love to watch that TV show. But, we are going to wait until the entire TV show is finished, (most shows don't last more than 8-9 seasons) then we are going to wait until they release the entire run of shows in one large boxed DVD set. Then I'll watch it. Consider for example Babylon 5. We bought all 5 seasons of that in one fell swoop - $250 for the set I think it was. There's 110 episodes there. Each one when aired was an hour - with 20 minutes of commercials. That's 36 -hours- of commercials for the entire season and we aren't talking the movies. Well, I don't know about anyone else, but my time is worth a lot more than $6.94 an hour. ($250 / 36 hours) Now it is true we watched Bab-5 when it aired. But, that was a decade ago, we didn't have the option of paying to opt-out of commercials. And we also missed a few episodes anyway. Watching them nowadays, without the commercial interruptions, it's the way TV should be. Far more enjoyable way to spend some time. We are doing this with Star Trek Enterprise. Both my wife and I are ST fans and we tried watching Enterprise the first season. But we just couldn't do it. Having to deal with setting the timer on the VCR (since the air times were never convenient) was a pain to have to remember - as you know shows will go to repeats without warning in the middle of a season. And then watching the show and having to fast-forward through the commercials was an even greater pain - you just start getting into the story and it breaks for commercial. Well, neither my wife and I suffer from Attention Deficit Disorder where we need that commercial break to reboot our brains. It really ruined the stories. So we gave up and just waited. Eventually, as all things in life do, Enterprise ended. This Christmas we will get the boxed set and start watching it from the beginning. Also, more and more of the shows these days are on the web. If there's a show we want to watch, why would we want to watch it on network TV and suffer through all the commercials when we can just stream it off the same network's website -without- commercials? Take Saturday Night Live, well that's not a show I'd really want to bother archiving - it's really not classic TV - but it is sometimes fun to kill an hour watching it. The web is great for that. And once more, the 1 or 2 national commercials you might have to deal with watching the show over the Internet are far better than the local netw
Re: how to create tbz package in freebsd
On Mon, 10 Nov 2008 01:19:32 -0800 (PST), w_anup <[EMAIL PROTECTED]> wrote: > hello All, > > i am newbie to freebsd , i want to create customize tbz package for > free bsd , can anybody provide the procedure to create packages in > free bsd, or any tutor will be helpful. The ``FreeBSD Ports'' framework provides a lot of helpful parts that you can re-use to build custom packages. There is a lot of useful material in the ``FreeBSD Porter's Handbook''. You can read its latest version online at http://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/ Parts of the Porter's Handbook explain how you can create a new port of your own. After you have the new port and its dependencies integrated into the Ports system, you can create standard ``.tbz'' packages with a single command from the port's base directory: % cd /usr/ports/local/yourport % make package That's all. If all the parts for fetching the sources, configuring them, and building them are already there, the Ports will do the rest. HTH, Giorgos ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
how to create tbz package in freebsd
hello All, i am newbie to freebsd , i want to create customize tbz package for free bsd , can anybody provide the procedure to create packages in free bsd, or any tutor will be helpful. -- View this message in context: http://www.nabble.com/how-to-create-tbz-package-in-freebsd-tp20416687p20416687.html Sent from the freebsd-questions mailing list archive at Nabble.com. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: what is your programming language on freebsd?
I think it's more because: a. Java is the only strictly-typed language that runs on any platform (though it's not the only one) C runs on any platform. and was for a long. for interpretitive languages - anything made before was better than java. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"