Re: simple shell script

2005-12-07 Thread Dan Nelson
rogrammer so does anyone have a suggestion on this script? > Any help would be appreciated. You need to background it so your script keeps running: #! /bin/sh # Launch program lynx & # Store its processid for later pid=$! # 60 seconds sleep 60 # Kill backgrounded process kill -9 $pid

Re: Fixing fs with fsck

2005-12-06 Thread Dan Nelson
m it. Try booting into single-user mode and check them again. -- Dan Nelson [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Re: FreeBSD 4.6-RELEASE, anyone have or know of where I can get an ISO ?

2005-12-02 Thread Dan Nelson
ks. http://mirrorlist.freebsd.org/ -- Dan Nelson [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Re: syslogd writing logs to wrong file

2005-11-30 Thread Dan Nelson
t; ... > > Why syslogd is writing into /var/log/messages > instead of /var/log/security. It should be writing to both. If you don't want security entries in /var/log/messages, put a "security.none" selector in. -- Dan Nelson [EMAIL PROTECTED] _

Re: is child PID always minor to parent PID?

2005-11-30 Thread Dan Nelson
No; if the parent PID is near PID_MAX (sys/proc.h), then it's likely that a child will have a low PID. -- Dan Nelson [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/fre

Re: Java JDK

2005-11-27 Thread Dan Nelson
lla Firefox and all the Xorg pieces it seems to want to > install. Seems like installing JDK on FreeBSD is a big pain. If you build the port with WITHOUT_WEB=yes, it shouldn't pull in a web browser. It will always want to pull in open-motif and its dependencies, though. -- Da

Re: libnet* questions

2005-11-23 Thread Dan Nelson
d on the same > machine -- and libnet-devel isn't required by anything else as far as > I can see. On my system, both libnet and libnet10 both install a /usr/local/libnet/libnet.a and /usr/local/include/libnet/*.h files, which is just about as conflicting as you can get :) -- Dan

Re: iSCSI support

2005-11-22 Thread Dan Nelson
lustered filesystems), make one LUN visible to multiple machines. There's also nothing that says the disks behind the iSCSI array can't be cheap IDE drives. -- Dan Nelson [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mail

Re: some files written via mmap end up corrupted

2005-11-21 Thread Dan Nelson
cases. What kind of corruption are you seeing? Blocks of zeroes? Maybe you need to call msync() before unmapping the region? Or call munmap before fsync. > What am I doing wrong? Thanks! Can't tell that for sure without seeing the code :) -- Dan Ne

Re: several versions of gcc

2005-11-17 Thread Dan Nelson
In the last episode (Nov 18), Andrew Novikov said: > Is there a way to have both gcc34 and gcc40 (and possibly other > versions) simultaneously? Sure. Just install the appropriate lang/gcc* ports. -- Dan Nelson [EMAIL PRO

Re: EM64T supported?

2005-11-17 Thread Dan Nelson
isters. PAE/PAE36, right? Note that if you enable PAE, some drivers may not be available. See the PAE kernel config file for a list. -- Dan Nelson [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mai

Re: aacPlus audio stream?

2005-11-15 Thread Dan Nelson
t; plugins that use faad, but they're not in ports, AFAICT. audio/xmms-faad is in ports and works fine -- Dan Nelson [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-q

Re: remove -tag=CC from libtool

2005-11-10 Thread Dan Nelson
pecify a tag with \--tag'" 1>&2 - exit $EXIT_FAILURE + tagname=CC # else # $echo "$modename: using $tagname tagged configuration" fi -- Dan Nelson [EMAIL PROTECTED] ___

Re: setting a quotas default

2005-11-08 Thread Dan Nelson
rid 1000's quotas to the next 1000 users to get created. If proftpd can run a script when it creates a user, you could set the quota in there. -- Dan Nelson [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lis

Re: How to clear an improperly unreferenced file in multi-user mode?

2005-11-03 Thread Dan Nelson
ns and writes to logfiles. Send it a HUP signal and it will close and reopen them, which should free up your missing space. If that doesn't do it, install lsof and run "lsof +L 1", which will tell you if there are any other processes holding open filehandles to deleted

Re: backup strategies

2005-10-31 Thread Dan Nelson
created by those older versions of > FreeBSD). Snapshots work just fine on UFS1 filesystems; you just need to be running 5.x or newer. -- Dan Nelson [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.

Re: Sed howto

2005-10-28 Thread Dan Nelson
LACE_CMD}, and when we use just ${SED}? Our sed can only do inplace edits in 4.6 and newer, so on older systems the textproc/sed_inplace port gets installed and REINPLACE_CMD is set to that binary. Use ${REINPLACE_CMD} when you modify a file inplace, use ${SED} when you convert a "file.in&quo

Re: packet forwarding

2005-10-27 Thread Dan Nelson
ork variables are set, so you may get spurious "host unreachable" errors from systems trying to route through the box when it boots up. -- Dan Nelson [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists

Re: Options for starting "*.sh" programs

2005-10-22 Thread Dan Nelson
g this? No > doubt, I am looking in the wrong place. -- Dan Nelson [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Re: How do I chroot rsync like I chroot ftp ?

2005-10-21 Thread Dan Nelson
ee when they use ftp. > > What is the equivalent mechanism for rsync ? See the rsyncd.conf manpage; it explains how to chroot rsyncd. -- Dan Nelson [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.or

Re: creating snapshot capable ufs2 filesystems _after the fact_

2005-10-20 Thread Dan Nelson
t; simply having that directory in place ? Snapshots are always enabled, and can be placed anywhere. .snap is used by background fsck, and newfs creates that directory so that it's guaranteed to exist when fsck needs it. You can use create it manually if you want, or create another directory to p

Re: [EMAIL PROTECTED]:/host

2005-10-16 Thread Dan Nelson
In the last episode (Oct 16), Graham North said: > Can someone please explain what this is. > I ran "df" to look at my directory/filesystem and 2 of the devices were: > [EMAIL PROTECTED]:/host > [EMAIL PROTECTED]:/net You have amd enabled. -- Dan Nelson

Re: Gathering statistics on disk usage

2005-10-15 Thread Dan Nelson
remove any html-escaping. The patch won't work on 4.x because the devstat interface got overhauled between 4.x and 5.x. -- Dan Nelson [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman

Re: Gathering statistics on disk usage

2005-10-15 Thread Dan Nelson
/68840, you will be able to get %busy stats out of iostat. You can also try installing net-snmp and polling the diskIOLA5 value for the disk, but on my system at least, the values don't seem to make sense (I have seen numbers from -2546 to 3000). -- Dan Nelson [EMAIL PROTE

Re: Should I increase vfs.read_max

2005-10-15 Thread Dan Nelson
but cant justify any > improvement, as I am running mailserver(spam checker). > Should I revert to 8 or use 16. Raising vfs.read_max is most helpful when you are reading large sequential files from RAID arrays. On a single-disk system, all it does is allow sequential readers to starve random reade

Re: Dynamic symlink?

2005-10-10 Thread Dan Nelson
$TMPDIR is set correctly before launching the script, and force everyone to use $TMPDIR instead of hardcoding /tmp in their scripts. -- Dan Nelson [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mail

Re: distcc and cross-compiling for FreeBSD on Linux/Solaris

2005-10-10 Thread Dan Nelson
and only distributes source->object compile requests, so you don't need FreeBSD headers or libraries on the other systems; just a cross-compiler. I can't help with setting up cross-compilers, but since there's a FAQ entry on it ( http://distcc.samba

Re: DNS caching locally ...

2005-10-07 Thread Dan Nelson
In the last episode (Oct 07), Kiffin Gish said: > On Fri, 2005-10-07 at 12:44 -0500, Dan Nelson wrote: > > In the last episode (Oct 07), Kiffin Gish said: > > > I understand that it is possible to speed up surfing, especially > > > using a wireless Internet conne

Re: DNS caching locally ...

2005-10-07 Thread Dan Nelson
127.0.0.1" line in front of any nameserver lines you may already have. If you are behind a firewall that blocks DNS requests except to specific servers, you may have to edit /etc/namedb/named.conf and uncomment/edit the forwarders block to tell named to forward requests to those serv

Re: long ftp dir listings

2005-09-29 Thread Dan Nelson
this > is unusual. I often resort to using ftp in Windows DOS mode so I can scroll > up a long listing. Any good methods would be appreciated. If you're on a vty, hit scroll-lock and pageup. /usr/bin/ftp also has a "pdir" command that pipes the output to $PAGER locally.

Re: hdparm like program for freebsd?

2005-09-27 Thread Dan Nelson
system command "diskinfo" which will give you read stats. -- Dan Nelson [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Re: Solutions for memory stick name!

2005-09-26 Thread Dan Nelson
ou will get a /dev/msdosfs/### entry, one for each labelled fat filesystem. -- Dan Nelson [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send a

Re: Error code 71 on rebuilding libc. FreeBSD 5.4-p6.

2005-09-16 Thread Dan Nelson
hat I'm just > being a twit. Any assistance would be greatly appreciated. Did you run "make" first? -- Dan Nelson [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Re: What does an * in master.passwd (not passwd) mean?

2005-09-16 Thread Dan Nelson
t in a documentation pr when I > have an answer). It's an invalid password hash, so the user can't log in. Anything that doesn't match DES or md5 password hash output would do. -- Dan Nelson [EMAIL PROTECTED] ___ freebsd-qu

Re: [Samba] getent & winbindd on FreeBSD 5.4

2005-09-16 Thread Dan Nelson
doesn't think anything. It just passes requests to the providers listed in its config file. > Second question: DSP is the actual domain name. Aries is the NetBIOS > name of the server. I don't understand why winbindd tries to > enumerate ARIES as

Re: [Samba] getent & winbindd on FreeBSD 5.4

2005-09-16 Thread Dan Nelson
ed by NSS. If your nsswitch.conf has "passwd: compat winbind" in it, you have a /usr/local/lib/nss_winbind.so.1 file, and getent can't find users that windbind should be providing, I'd start looking for nss_winbind debugging options. -- Dan Nelson [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Re: [Samba] getent & winbindd on FreeBSD 5.4

2005-09-16 Thread Dan Nelson
he libnss_wins.so aren't in > /usr/compat/linux/lib directory. Should I add them manually? If so, > from where? Or make a link to appropriate FreeBSD libs? You would need to install them manually, from either an existing linux system, or

Re: [Samba] getent & winbindd on FreeBSD 5.4

2005-09-16 Thread Dan Nelson
x* libraries and files into /compat/linux/ . If this is your only problem, I'd recommend just not running linuxes getent command :) -- Dan Nelson [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org

Re: Command not in PATH when just installed?

2005-09-15 Thread Dan Nelson
x27;t work. I logout, I login, then it works. Is this a > FAQ or a setting? Some shells cache the command list in PATH for performance. Try running "rehash" and see if the command appears. -- Dan Nelson [EMAIL PROTECTED] __

Re: mksnap_ffs rollback?

2005-09-15 Thread Dan Nelson
ore the snapshot to a new disk. -- Dan Nelson [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Re: [Fwd: Cron <[EMAIL PROTECTED]> /usr/libexec/save-entropy]

2005-09-13 Thread Dan Nelson
t; -snip- I'd check for typos in /etc/rc.conf, possibly due to an overly-smart editor wrapping lines on you. -- Dan Nelson [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/fre

Re: which mutt??

2005-09-10 Thread Dan Nelson
t; I have switched from mutt-devel to this baby.. it is pretty good, > and it offers few things I was missing in mutt-devel, like imap > headers caching etc. Just build mutt-devel with WITH_MUTT_IMAP_HEADER_CACHE=yes (it's been an option since 2003). Actually it'd

Re: Restarting MySQL from CRON

2005-09-10 Thread Dan Nelson
In the last episode (Sep 10), Gerard Seibert said: > On Saturday, September 10, 2005 12:27:02 PM Dan Nelson <[EMAIL PROTECTED]> > wrote: > > In the last episode (Sep 10), Gerard Seibert said: > > > From time to time, I have found that MySQL has ceased to run. I > &

Re: Restarting MySQL from CRON

2005-09-10 Thread Dan Nelson
want to check your mysql .err log; maybe someone with the SHUTDOWN privilege is doing a clean shutdown. -- Dan Nelson [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Re: MYSQLD mysql-server for 5.2.1

2005-09-09 Thread Dan Nelson
at http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/configtuning-starting-services.html -- Dan Nelson [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Re: Fibre Channel disks to two Systems?

2005-09-09 Thread Dan Nelson
ke Oracle, skip the fsck and mount steps). -- Dan Nelson [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Re: MYSQLD mysql-server for 5.2.1

2005-09-09 Thread Dan Nelson
In the last episode (Sep 09), John Do said: > It didn't find mysqld and I have searched before as well mysqld is installed to /usr/local/libexec, but you shouldn't run it directly. Add "mysql_enable=yes" to /etc/rc.conf, and run "/usr/local/etc/rc.d/mysql-server

Re: question about zlib security patch

2005-09-09 Thread Dan Nelson
lamav cannot see that zlib is patched so > it is safe to ignore the error. To be on the safe side I will post > the question about the error on the clamav mailing list. Yes, clamav only checks the version number in the header; it doesn't actually test the bug. -- Dan Nelson

Re: question about zlib security patch

2005-09-08 Thread Dan Nelson
ent-stable.html#STABLE If you still have your installation CDs, you should be able to run sysinstall and just reinstall the src distribution ( Configure -> Distributions -> select 'src', select 'All' ). Then you can apply the patch. -- Dan Nelson [

Re: NDAS or iSCSI

2005-09-07 Thread Dan Nelson
ut it looks similar to FreeBSD's geom gate server. -- Dan Nelson [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Re: Terminals

2005-09-04 Thread Dan Nelson
hine's console (it will chain to the correct machine). A multiport serial card in one master console box does let you consolidate the logs on one machine though. -- Dan Nelson [EMAIL PROTECTED] ___ freebsd-questions@f

Re: and the winner is...

2005-09-01 Thread Dan Nelson
d package installation is very laborious compared with Debian's apt > system. I have to search in each CD, know dependences,... Have you never used pkg_add -r ? You shouldn't need to touch a cd after the base system is installed. --

Re: Doing a modulo in /bin/sh??

2005-08-31 Thread Dan Nelson
In the last episode (Aug 31), Dan Nelson said: > In the last episode (Aug 31), Gary Kline said: > > I can grab the results of "w=$date+%U)"; in C an use the modulo > > operator; is there a way to do this is /bin/sh? ot zsh? > > > > #/bin/sh > > w=$(date

Re: Doing a modulo in /bin/sh??

2005-08-31 Thread Dan Nelson
( w & 1 )) For the general case: xmodn=$(( x - ((x / n) * n) )) which works since sh's arithmetic evaluator is integer-only. zsh has the % modulo operator, so xmod=$(( x % n )) . -- Dan Nelson [EMAIL PROTECTED] ___ freebsd-

Re: `du -h` not printing out the filesystems?

2005-08-30 Thread Dan Nelson
In the last episode (Aug 30), Robert G. said: > chkn# du -h > 12K. > chkn# > > Anyone know what that is? This is a brand new FreeBSD 5.4 install. Did you mean to run df maybe? -- Dan Nelson [EMAIL PROTECTED]

Re: How do I reset a port's options

2005-08-29 Thread Dan Nelson
me options and the build fails, how can I "reset" the > port so that I'm presented with the options again? cd into the port's directory, and run "make config". -- Dan Nelson [EMAIL PROTECTED] ___ freebsd

Re: Corrupt entries in /var/log/messages?

2005-08-24 Thread Dan Nelson
itched to be built non-threaded, so if you update your tree and rebuild named, the message will disappear. -- Dan Nelson [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Re: oversized httpd process?

2005-08-24 Thread Dan Nelson
my understanding would be: even > if eaccelerator wants to cache them all, eaccelerator wouldn't be > able to find that much stuff to cache, and it would always be less > than 20MB. Apparently eaccellerator mmaps the entire shm segment whether it is currently using it or no

Re: oversized httpd process?

2005-08-24 Thread Dan Nelson
ERES STATETIME WCPUCPU COMMAND > 50855 www 200 16348K12K lockf0:00 0.00% 0.00% httpd -- Dan Nelson [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Re: Read bios settings

2005-08-23 Thread Dan Nelson
In the last episode (Aug 23), Maarten Sanders said: > Is it possible to read, e.g., bios version numbers from within > FreeBSD? Try ports/sysutils/dmidecode -- Dan Nelson [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailin

Re: bootparamd doesn't allow parameters?

2005-08-18 Thread Dan Nelson
should be in the format of > :. Or, am I going to have to look at finding > another bootparamd than the stock one? The code silently fails if any host field doesn't resolve to a valid IP address. Try the attached diff, which lets your ex

Re: how to know the file system type [programming]

2005-08-17 Thread Dan Nelson
say anything about needing it in C :) The answer is much easier then; just call statfs() and look at the f_fstypename field. See the statfs manpage for more details. -- Dan Nelson [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing

Re: how to know the file system type [programming]

2005-08-17 Thread Dan Nelson
fstype > ufs Might be better to use the output of "mount -p" instead of /etc/fstab, since the filesystem may have been automounted or otherwise not in fstab. Unfortunately, mount -p doesn't take an argument to limit the output to just the filessytem listed.. -- Dan Ne

Re: differences in supported filesystems between FreeBSD versions

2005-08-16 Thread Dan Nelson
> >few features, but the two are still very similar. > > UFS2 also added snapshots which make live dumps safer, among other > things. Snapshots work just fine with UFS1. -- Dan Nelson [EMAIL PROTECTED] ___

Re: Group size

2005-08-11 Thread Dan Nelson
lists.freebsd.org/pipermail/freebsd-bugs/2003-May/000889.html I can't see anything in /usr/src/lib/libc/gen/getgrent.c that would limit the number of characters in /etc/group. The code uses the fgetln() function which has no maximum size limits, and previous code looks like it had a hardcode

Re: RealTek ALC650

2005-08-10 Thread Dan Nelson
a linux driver; it won't work on FreeBSD. I thought all AC97 cards were supported by one driver, but maybe not. There is ac97 code in FreeBSD; you may be able to get it to work by adding your card's PCI ID into the right driver's table. I don't know which table that would be thou

Re: using Linux aaccli in a cron job

2005-08-10 Thread Dan Nelson
PERC 3/Di card. Putting something like this in cron: /usr/local/bin/aaccli open /readonly aac0 : enclosure show status : disk show smart : container list /full : diagnostic show text gives me a whole lot of info back in the email. -- Dan Nelson [EMAIL PROTECTED] __

Re: It is possible? Emails - backups.

2005-08-10 Thread Dan Nelson
ecords tor "mydomain.com", one pointing to each server. Incoming emails will deliver to one and try the other if the first fails. Clustering the actual stored messages is a lot harder. I don't have any suggestions there. -- Dan Nelson [EMAIL PROTECTED] _

Re: NIS problems on FreeBSD 5.4

2005-08-09 Thread Dan Nelson
In the last episode (Aug 09), Jeremy Utley said: > On 8/8/05, Dan Nelson <[EMAIL PROTECTED]> wrote: > > In the last episode (Aug 08), Jeremy Utley said: > > > I'm trying to use FreeBSD 5.4 as an NIS client, and am > > > encountering problems. I've f

Re: NIS problems on FreeBSD 5.4

2005-08-08 Thread Dan Nelson
ur master.passwd file (best way to add it is to use the vipw command): +: Or you need this in /etc/nsswitch.conf: passwd: files nis -- Dan Nelson [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing

Re: sound vs. PCIX bus

2005-08-03 Thread Dan Nelson
sn't require a port: #! /bin/sh echo "t208a+b~a+a-~f+f~e-d" > /dev/speaker I like C-64 style arpeggio in my alert beeps: echo "l64cdcdcd" > /dev/speaker echo "l64 /dev/speaker You could also use the spkrtest program to play some long tunes. -- Dan Nel

Re: squid config: which ntlm_auth do I use? and win

2005-08-03 Thread Dan Nelson
uid, and /usr/local/bin/ntlm_auth is old and should be removed. -- Dan Nelson [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Re: BSDPAN versus CPAN

2005-08-03 Thread Dan Nelson
gt; is this avoids the "no origin recorded" errors (although portupgrade > can't handle BSDPAN modules). The other advantage is that if you install perl modules via ports, portupgrade will upgrade them. I didn't think CPAN had any sort of automatic updating option. --

Re: Problem about the $DISPLAY environment variable

2005-08-02 Thread Dan Nelson
n't connect to :0.0" Can someone tell me how to solve > the problem? Any help would be appreciated. Thanks in advance.:) startkde is meant to be run after X has started. It doesn't start X itself. Try putting it in your ~/.xinitrc file, then run &qu

Re: Grub not working

2005-07-29 Thread Dan Nelson
use 'grub-install ' command. NOTE: Don't forget to run 'sysctl kern.geom.debugflags=16' on 5.x and -CURRENT to enable writing in hard disk system areas. -- Dan Nelson [EMAIL PROTECTED] ___

Re: groupadd/useradd in FreeBSD?

2005-07-28 Thread Dan Nelson
ly didn't tell sql-bench about it. Take a look at the the sql-bench documentation or look at the run_all_tests script to find out how to tell it what the password is. -- Dan Nelson [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Re: groupadd/useradd in FreeBSD?

2005-07-28 Thread Dan Nelson
In the last episode (Jul 29), Xu Qiang said: > Dan Nelson wrote: > > No-one usually logs in as the mysql user, so you don't need to set > > one. Mysqld will automatically setuid() itself to the "mysql" user > > when it starts up. > > Suppose it is a gener

Re: groupadd/useradd in FreeBSD?

2005-07-28 Thread Dan Nelson
s the mysql user, so you don't need to set one. Mysqld will automatically setuid() itself to the "mysql" user when it starts up. -- Dan Nelson [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.free

Re: certance DAT

2005-07-27 Thread Dan Nelson
trust comparitive reports from people with multiple drive types at one location. -- Dan Nelson [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe,

Re: certance DAT

2005-07-27 Thread Dan Nelson
out problems in FreeBSD. I've used everything from 9-track to 3480 to DLTs. -- Dan Nelson [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe,

Re: Restarting X server within KDE?

2005-07-26 Thread Dan Nelson
of your .xinitrc though, you would have to have kde reexec itself (since exiting kde would also exit X). I don't know if kde has that option, though. -- Dan Nelson [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list ht

Re: turck-mmcache-2.4.6 disappeared from ports tree?

2005-07-23 Thread Dan Nelson
2005-01-19 REASON: project changed name -- Dan Nelson [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Re: usb mass storage failure

2005-07-20 Thread Dan Nelson
In the last episode (Jul 20), Vittorio De Martino said: > Alle 18:11, mercoledì 20 luglio 2005, Dan Nelson ha scritto: > > In the last episode (Jul 20), [EMAIL PROTECTED] said: > > > Context: freebsd 5.4 > > > > > > My brand-new usb mp3 reader, even though is

Re: usb mass storage failure

2005-07-20 Thread Dan Nelson
failed, STALLED Try the patch at http://www.freebsd.org/cgi/query-pr.cgi?pr=81846 -- Dan Nelson [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Re: 1 byte more?

2005-07-19 Thread Dan Nelson
> Then by "ls -l", I found the file's size is 2 bytes, intead of 1 byte > as I expected. vi probably put a newline character after the one you typed. You can use echo -n 0 > count.txt or a text editor that doesn't force a newline as the last character in a fil

Re: Top output isn't quite right

2005-07-16 Thread Dan Nelson
t;lastcomm" to see the commands themselves. -- Dan Nelson [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Re: Problem Piping iostat -c to awk!

2005-07-14 Thread Dan Nelson
change it to \! . Alternatively, you can print only lines with leading spaces followed by a number with: iostat -c 300 1 | gawk '/^ +[0-9]/ {print $1}' -- Dan Nelson [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list h

Re: Problem Piping iostat -c to awk!

2005-07-14 Thread Dan Nelson
et awk handle your regular expression: iostat -c 300 1 | awk '!/[a-zA-Z]|^$/ {print $1}' -- Dan Nelson [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Re: /dev/ufs

2005-07-14 Thread Dan Nelson
s.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "[EMAIL PROTECTED]" -- Dan Nelson [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Re: /dev/ufs

2005-07-14 Thread Dan Nelson
have resized partitions and not yet run growfs it won't show up. -- Dan Nelson [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Re: Soft-updates & du & df

2005-07-13 Thread Dan Nelson
amount that's used/available? You probably have some deleted logfiles that are still held open by processes. Run "lsof +L1 -a /var" to list the files and the processes (you may need to install lsof from ports). Kill and restart the offending processes and

Re: Make GNU Make behave like BSD Make?

2005-07-13 Thread Dan Nelson
In the last episode (Jul 13), David Kelly said: > On Wed, Jul 13, 2005 at 02:08:07PM -0500, Dan Nelson wrote: > > I believe "-include .depend" will tell gmake to try to include the > > file but not complain if it's not there. > > Yes! That does w

Re: Make GNU Make behave like BSD Make?

2005-07-13 Thread Dan Nelson
uot;make depend" is > not a solution for creating .depend. > > Its not a problem for *me* to "touch .depend" the first time. OTOH it > stymied my boss. I believe "-include .depend" will tell gmake to try to include the fil

Re: password rotation and unique constraint

2005-07-09 Thread Dan Nelson
ny reason LDAP would be required. It doesn't magically add this support. If you're already using NIS (you didn't say), you can add code to rpc.yppasswdd to store the old password hashes somewhere and check against them before accepting a new passw

Re: What OID for this? SNMP issue.

2005-07-09 Thread Dan Nelson
usage values in both percentages and raw ticks. -- Dan Nelson [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Re: Account password expiration

2005-07-06 Thread Dan Nelson
e", 0, 0); + if (pwd->pw_change) + pwd->pw_change += time(NULL); if (login_setcryptfmt(lc, password_hash, NULL) == NULL) openpam_log(PAM_LOG_ERROR, "can

Re: Lock down device name for USB drive

2005-07-02 Thread Dan Nelson
In the last episode (Jul 02), Doug Poland said: > On Fri, Jul 01, 2005 at 05:18:04PM -0500, Dan Nelson wrote: > > In the last episode (Jul 01), Doug Poland said: > > > I'm trying to use the automounter to mount a USB thumbdrive on > > > -STABLE. The only pro

Re: Lock down device name for USB drive

2005-07-01 Thread Dan Nelson
vices, you probably would want to wire them down first, followed by your usb device, to keep them from shifting if you have more than one usb drive plugged in during bootup. -- Dan Nelson [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org

Re: Older releases as ISO's

2005-07-01 Thread Dan Nelson
can do a network install from. Actually there are ISOs available from those same sites. Not sure why that page didn't find them. ftp://ftp8.tw.freebsd.org/pub/FreeBSD/releases/i386/ISO-IMAGES/4.1-RELEASE ftp://ftp9.tw.freebsd.org/pub/FreeBSD/ISO-IMAGES-i386/4.1.1-RELEASE -- Dan

Re: LDAP auth troubles

2005-07-01 Thread Dan Nelson
tem" file, only "login" and "su" use it, so it doesn't do much good. -- Dan Nelson [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"

<    4   5   6   7   8   9   10   11   12   13   >