Re: Virtualization manager suggestions

2011-11-30 Thread Dan Rue
On Wed, Nov 30, 2011 at 11:05:53AM -0600, Ryan Coleman wrote:
 I appreciate the thought, but we have to have them on our local network.
 

Two new projects that I've been hearing about are ganeti for
(persistent) vm hosting and openstack for (transient) cloud type
hosting. I do not know if freebsd will run on either of them, but hope
springs eternal.


dan
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: FreeBSD crashes

2008-04-21 Thread Dan Rue
 I hope someone can help me. I have started to experience
 seemingly random crashes causing FreeBSD to shutdown and
 power off the machine. The only trace I can find as far as
 the reason for the crash is concerned are the following
 excerpts from /var/log/messages:

 Mar 23 11:52:36 myhostname kernel: 22NNMIMN NIMIMII IISISSSAAA
 A  20,22 200E,0,I, S  EIEEASI ISAAS f Aff ff
 Mar 23 11:52:36 myhostname kernel: f
 Mar 23 11:52:36 myhostname kernel:
 Mar 23 11:52:36 myhostname kernel: f
 Mar 23 11:52:36 myhostname kernel: 22
 Mar 23 11:52:36 myhostname kernel: f
 Mar 23 11:52:36 myhostname kernel:
 Mar 23 11:52:47 myhostname syslogd: exiting on signal 15
 Mar 23 13:04:32 myhostname syslogd: kernel boot file is
 /boot/kernel/kernel

 True. In the meantime, I've started reading the temperature sensors
 with freeipmi and graphing them with munin. On a side note, the
 hardware in question is Dell Poweredge 1750 and I've found following
 two threads which might be related:

Nino, 

This morning, I received the same crash for the first time.

I'm also on 6.1-RELEASE-p1.  Generic kernel+SMP option.  Also on a Dell 1750.
The only difference is that I am not running IPFW.

Apr 21 00:49:53 lucky kernel: 22NMNNINMM IMIII S  AIIIS SAA S 2A0,  
2E20I,20S ,AE0 I,E  SEfIAISf S
Apr 21 00:49:53 lucky kernel: AA
Apr 21 00:49:53 lucky kernel:
Apr 21 00:49:53 lucky kernel: 222f f
Apr 21 00:49:53 lucky kernel: 2fff
Apr 21 00:49:53 lucky kernel: f
Apr 21 00:49:53 lucky kernel:
Apr 21 01:00:22 lucky kernel: 22NNNMM2MIINI  M SS SAA IA S A 
2022,020, 0,E,I   EESIEISASA AI  SffAfff
Apr 21 01:00:22 lucky kernel: f
Apr 21 01:00:22 lucky kernel: 2
Apr 21 01:00:22 lucky kernel: 2ff
Apr 21 01:22:41 lucky syslogd: kernel boot file is /boot/kernel/kernel

Dan
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: jail login and replication problems

2006-07-06 Thread Dan Rue
Sure - Had to consult my IRC logs to remember what my problem was.
Turns out, my umask was set to 027, and so the root directory of the
jails was drwxr-x---   7 root  wheel  512 Jul 27 13:18 /jails/myjail..

I would search for similar permissions issues, 

Hope that helps, 
drue


On Thu, Jul 06, 2006 at 03:41:59PM -0700, patrick wrote:
 Hi Dan,
 
 Did you ever find a solution to this problem? I've had the exact same
 problem, and have tried various different things to resolve it... all
 to no avail. It's really annoying have to remake the jail from scratch
 every time, as I'd much rather do the configuration once, and use it
 as a cookie-cutter for future jails.
 
 Patrick
 
 On 7/26/05, Dan Rue [EMAIL PROTECTED] wrote:
 Greetings,
 
 I am setting up multiple jails on a machine.  The first jail, everything
 works fine.  If I add a user, that user can log in.  If I tar cvzpf the
 jail, tar xvzpf to create a new one, some people can log into the new
 jail, and some can not.
 
 The user that can log in to the new one was the first user created (me),
 but any subsequent users can not log into new jails..
 
 The symptom is right after accepting the password via ssh, the
 connection will just get dropped.  I could not find any good error
 messages using ssh..  But if I enable telnet and try to telnet in, I
 receive this error in /var/log/messages:
 
 Jul 26 16:11:46 jail3 login: _secure_path: cannot stat 
 /home/user3/.login_conf: Permission denied
 Jul 26 16:11:46 jail3 login: _secure_path: cannot stat /etc/login.conf: 
 Permission denied
 Jul 26 16:11:46 jail3 login: _secure_path: cannot stat 
 /home/user3/.login_conf: Permission denied
 Jul 26 16:11:46 jail3 login: _secure_path: cannot stat /etc/login.conf: 
 Permission denied
 
 The permissions on those files are fine.
 
 So what would cause that error in jails that have been replicated using
 tar, but only to some users?  I'm stumped..
 
 Here's my rc.conf exerpt:
 
 jail_enable=YES
 jail_list=jail3
 jail_socket_unixiproute_only=NO
 jail_sysvipc_allow=YES  # allow shared mem on all jails
 
 jail_jail3_rootdir=/jails/jail3
 jail_jail3_hostname=jail3.example.com
 jail_jail3_ip=10.0.0.203
 jail_jail3_procfs_enable=YES
 jail_jail3_devfs_enable=YES
 jail_jail3_devfs_ruleset=devfsrules_jail
 
 tia,
 Dan
 ___
 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]


Hi - I have question

2005-11-08 Thread Dan Rue
On Tue Nov 1 06:10:18 PST 2005, Giorgos Keramidas wrote:
On 2005-10-31 18:42, Nataly Afek natalya at spiralsolutions.com wrote:
 1) I'm working with Freebsd 5.3 and i want to know 
when will the support of this version will be finished?

5.3-RELEASE was an early adopter release.  Sice then, a lot of
important bugs have been fixed in the RELENG_5 branch.  You should
definitely try updating to a newer version, like 5.4-RELEASE or even
5-STABLE, as soon as possible.

This is bad advise.  5.3 was not an early adopter release - it was the
first stable/production release of the 5 branch.  Furthermore, according
to http://www.freebsd.org/security/, it is support until at least
October 31, 2006.  The original poster just has to update 5.3 to get the
latest security updates according to the handbook.

And lastly, it is bad advise to upgrade to 5-STABLE.  5-STABLE is the 5
development branch, and should not be run unless you know better.
General users should stick with releases.  In this case, the original
poster's options are stay with 5.3 (and probably grab the security
updates), upgrade to 5.4, or to 6.0.

Dan.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: twa kernel panic under heavy load

2005-10-06 Thread Dan Rue
On Wed, Oct 05, 2005 at 09:27:53AM -0400, Lowell Gilbert wrote:
 Dan Rue [EMAIL PROTECTED] writes:
 
  Greetings,
  
  I am running a 3ware 9500 SATA raid card in a 12x300GB raid 50
  configuration.  Too often, I am seeing reboots during high I/O (rsync)
  operations.  
  
  [EMAIL PROTECTED]:~$ uname -a
  FreeBSD leopard.claimlynx.com 5.4-SECURITY FreeBSD 5.4-SECURITY #0: Thu
  Jun 30 02:25:52 UTC 2005
  [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC  i386
  
  Here is dmesg identifying the controller: 
  3ware device driver for 9000 series storage controllers, version: 
  2.50.02.012
  twa0: 3ware 9000 series Storage Controller port 0xb800-0xb8ff mem 
  0xfb80-0xfbff,0xfc5ffc00-0xfc5ffcff irq 24 at device 2.0 on pci2
  twa0: 12 ports, Firmware FE9X 2.06.00.009, BIOS BE9X 2.03.01.051
  
  
  Is this somethign that has been worked on in 5-STABLE or 6?  Would
  a kernel dump be helpful?  Please aim me at the appropriate list or
  people that would know.
 
 The driver was imported from 3ware's own code on their website, and a
 new version was imported since the 5.4 release was branched.  Your
 problem may or may not have been fixed, but debugging it on the old
 code base is definitely not worth anyone's time.
 
 Definitely upgrade and see what happens.

I upgraded to 5-STABLE yesterday.  Last night, while running rsync, the
machine rebooted on me again..

From /var/log/messages: 
Oct  5 23:08:41 leopard kernel: ected status bit(s): status reg = 0x15025f32; 
Missing bits: [MC_RDY,]
Oct  5 23:08:41 leopard kernel: twa0: ERROR: (0x16: 0x1301): Missing expected 
status bit(s): status reg = 0x15025f32; Missing bits: [MC_RDY,]
Oct  5 23:08:41 leopard last message repeated 7 times
Oct  5 23:08:41 leopard kernel: twa0: ERROR: (0x16: 0x1301): Missing expected 
status bit(s): status reg =ected status bit(s): status reg = 0x15025f32; 
Missing bits: [MC_RDY,]
Oct  5 23:08:41 leopard kernel: twa0: ERROR: (0x16: 0x1301): Missing expected 
status bit(s): status reg = 0x15025f32; Missing bits: [MC_RDY,]
Oct  5 23:08:41 leopard last message repeated 106 times
Oct  5 23:08:41 leopard kernel: twa0: ERROR: (0x16: 0x1301): Missected status 
bit(s): status reg = 0x15025f32; Missing bits: [MC_RDY,]
Oct  5 23:08:41 leopard kernel: twa0: ERROR: (0x16: 0x1301): Missing expected 
status bit(s): status reg = 0x15025f32; Missing bits: [MC_RDY,]
Oct  5 23:08:41 leopard last message repeated 296 times
Oct  5 23:09:42 leopard kernel: twa0: ERROR: (0x05: 0x210b): Request timed 
out!:request = 0xc2425600
Oct  5 23:09:42 leopard kernel: twa0: INFO: (0x16: 0x1108): Resetting 
controller...:  
Oct  5 23:09:42 leopard kernel: twa0: INFO: (0x04: 0x005e): Cache synchronized 
after power fail: unit=0
Oct  5 23:09:42 leopard kernel: twa0: INFO: (0x04: 0x0001): Controller reset 
occurred: resets=1
Oct  5 23:09:42 leopard kernel: twa0: INFO: (0x16: 0x1107): Controller reset 
done!:  
Oct  5 23:12:59 leopard kernel: twa0: ERROR: (0x16: 0x1301): Missing expected st
atus bit(s): status reg = 0x15025d50; Missing bits: [MC_RDY,]
Oct  5 23:13:00 leopard last message repeated 379 times
Oct  5 23:13:00 leopard kernel: twa0: ERROR: (0x16: 0x1301): Missing expected 
status bit(s): status reg = 0x15025d52; Missing bits: [MC_RDY,]
Oct  5 23:46:31 leopard syslogd: kernel boot file is /boot/kernel/kernel

Please let me know who I may contact to get this debugged.
Thanks, 
Dan
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


twa kernel panic under heavy load

2005-10-04 Thread Dan Rue
Greetings,

I am running a 3ware 9500 SATA raid card in a 12x300GB raid 50
configuration.  Too often, I am seeing reboots during high I/O (rsync)
operations.  

[EMAIL PROTECTED]:~$ uname -a
FreeBSD leopard.claimlynx.com 5.4-SECURITY FreeBSD 5.4-SECURITY #0: Thu
Jun 30 02:25:52 UTC 2005
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC  i386


This is logged in /var/log/messages just before the reboot: 
Oct  1 23:15:49 leopard kernel: twa0: Missing expected status bit(s) 
2000MC_RDY
Oct  1 23:15:49 leopard kernel: twa0: SCSI cmd = 0x2a: ERROR: (0x03:0x0001)
Oct  1 23:15:49 leopard last message repeated 239 times
Oct  1 23:15:50 leopard kernel: a: ERROR: (0x03: 0x0001)
Oct  1 23:15:50 leopard kernel: twa0: SCSI cmd = 0x2a: ERROR: (0x03:0x0001)


Here is dmesg identifying the controller: 
3ware device driver for 9000 series storage controllers, version: 2.50.02.012
twa0: 3ware 9000 series Storage Controller port 0xb800-0xb8ff mem 
0xfb80-0xfbff,0xfc5ffc00-0xfc5ffcff irq 24 at device 2.0 on pci2
twa0: 12 ports, Firmware FE9X 2.06.00.009, BIOS BE9X 2.03.01.051


Is this somethign that has been worked on in 5-STABLE or 6?  Would
a kernel dump be helpful?  Please aim me at the appropriate list or
people that would know.

Thanks,
Dan
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


jail login and replication problems

2005-07-26 Thread Dan Rue
Greetings, 

I am setting up multiple jails on a machine.  The first jail, everything
works fine.  If I add a user, that user can log in.  If I tar cvzpf the
jail, tar xvzpf to create a new one, some people can log into the new
jail, and some can not.

The user that can log in to the new one was the first user created (me),
but any subsequent users can not log into new jails..  

The symptom is right after accepting the password via ssh, the
connection will just get dropped.  I could not find any good error
messages using ssh..  But if I enable telnet and try to telnet in, I
receive this error in /var/log/messages: 

Jul 26 16:11:46 jail3 login: _secure_path: cannot stat /home/user3/.login_conf: 
Permission denied
Jul 26 16:11:46 jail3 login: _secure_path: cannot stat /etc/login.conf: 
Permission denied
Jul 26 16:11:46 jail3 login: _secure_path: cannot stat /home/user3/.login_conf: 
Permission denied
Jul 26 16:11:46 jail3 login: _secure_path: cannot stat /etc/login.conf: 
Permission denied

The permissions on those files are fine.  

So what would cause that error in jails that have been replicated using
tar, but only to some users?  I'm stumped.. 

Here's my rc.conf exerpt: 

jail_enable=YES
jail_list=jail3
jail_socket_unixiproute_only=NO
jail_sysvipc_allow=YES  # allow shared mem on all jails

jail_jail3_rootdir=/jails/jail3
jail_jail3_hostname=jail3.example.com
jail_jail3_ip=10.0.0.203
jail_jail3_procfs_enable=YES
jail_jail3_devfs_enable=YES
jail_jail3_devfs_ruleset=devfsrules_jail

tia,
Dan
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: tunneling everything

2004-11-22 Thread Dan Rue
On Mon, Nov 22, 2004 at 12:11:32PM -0800, Andrei Iarus wrote:
 Hi! I am looking for a solution to this problem: I
 want to make a tcp tunneling. The ssh tunneling
 doesn`t satisies me because I don`t want to tunnel a
 specific service, I want to tunnel everything. For
 example: I would like my host to route everything
 through a tcp tunnel. I would like to see what
 solutions exist on FreeBSD. Please give just some
 links. Thank you in advance!

You want a VPN.  Google/handbook for ipsec, or check out the very
excellent openvpn.

dan
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: slow SSH access from another FreeBSD, but not from WinXP

2004-11-22 Thread Dan Rue
On Tue, Nov 23, 2004 at 03:28:52AM +0800, I Nyoman Suka Ada wrote:
 Hi,
 maybe this is more related to SSH rather than FreeBSD,
 but thought I give it a shot here.
 
 SSH-ing to my FreeBSD box from Windows XP seems to have no problem.
 But when I tried SSH-ing from another FreeBSD/Linux systems,
 the time delay between connecting and the password: prompt
 is very long.
 
 I googled this, read about placing some host entries on /etc/hosts.
 But still, very slow. But the most interesting thing is that, why is it 
 not slow when SSH-ing from Win XP.
 (I use putty in Win XP, and both ssh client and putty from FreeBSD/Linux 
 system).

Delays like this are typically related to DNS.  I'm guessing that your
FreeBSD/Linux system doesn't have valid reverse DNS set up.  You can
either set up correct reverse dns, or just twiddle UseDNS in your
/etc/ssh/sshd_config file.  From `man sshd_config`:

UseDNS  Specifies whether sshd should lookup the remote host name and
check that the resolved host name for the remote IP address maps
back to the very same IP address.  The default is ``yes''.

Also you can try using ssh -v to see where the holdup is.

HTH, 
dan

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Apache upgrads thrashing certs; index.html.* crud

2004-09-27 Thread Dan Rue
Hey Fellas, 

Whenever I do an apache upgrade - whether it be apache 1.3 or apache 2,
it always spews all these index.html.language files in my web root that
I have to go in and remove - but more annoyingly it overwrites my certs
in /usr/local/etc/apache[2]/ssl.*.  What gives?

There a command line option I should be usign to prevent such madness?

Dan
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


ntpd problem freebsd 5.3

2004-09-24 Thread Dan Rue
Heyo, 

I have a dual xeon machine on 5.3 beta 5 - and I am getting these ntpd
messages in /var/log/messages non stop since I went up to 5.3:

Sep 23 17:13:41 panther ntpd[467]: kernel time sync enabled 2001
Sep 23 21:29:44 panther ntpd[467]: kernel time sync enabled 6001
Sep 23 21:46:48 panther ntpd[467]: kernel time sync enabled 2001
Sep 24 01:11:39 panther ntpd[467]: kernel time sync enabled 6001
Sep 24 01:45:47 panther ntpd[467]: kernel time sync enabled 2001
Sep 24 02:19:59 panther ntpd[467]: kernel time sync enabled 6001

I googled without luck. 

Here's my (masked) ntpd.conf and rc.conf goodies:

[EMAIL PROTECTED]:~$ cat /etc/rc.conf | grep ntpd
ntpd_enable=YES  # Run ntpd Network Time Protocol (or NO).
[EMAIL PROTECTED]:~$ cat /etc/ntp.conf
 
# VISI
server 209.98.0.1
server 209.98.98.1
 
# U of Minnesota
server 128.101.101.101
 
peer   ***.***.***.***

[EMAIL PROTECTED]:~$

FWIW, the time is correct on the machine - I did an ntpd -g to
synchronize it the first time.

Oh, and the other thing is that I have ntp set up the exact same way on
a dozen other machines without problems (same or similar ntpd.conf).

Any ideas what those log messages even mean?

tia, 
dan

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Ultimately Safe User Account

2004-09-23 Thread Dan Rue
On Thu, Sep 23, 2004 at 04:18:21PM -0600, Sheets, Jason (OZ CEEDR) wrote:
 I'd suggest sending him a live CD of FreeBSD (LiveBSD at
 http://www.livebsd.com) or Linux (Knoppix at http://www.knoppix.org) are
 very good.
 
 This will keep him on his own hardware and let him become familiar with
 BSD in a fairly safe environment.
 
 When he feels comfortable he can attempt a full install on his hardware.
 
 Alternatively if he is just wanting to become proficient on the command
 line he can install Cygwin (http://www.cygwin.com) on Windows and
 Linux-like environment right on Windows and then progress to the real
 thing.
 
 I'd go with any of the above before giving him remote access but If you
 are deadest on allowing him access to your system look at
 
 man jail
 man security
 man login.conf
 
 Jason
 
 
 
 
  -Original Message-
  From: [EMAIL PROTECTED] [mailto:owner-freebsd-
  [EMAIL PROTECTED] On Behalf Of Andrew
  Sent: Thursday, September 23, 2004 1:30 PM
  To: [EMAIL PROTECTED]
  Subject: Ultimately Safe User Account
  
  Hi,
  
  I have a production FreeBSD box. My friend is starting to learn Unix
  essentials and is asking me for an account. He doesn't require any
  special rights, but he certainly wants to be able to use shell and
 read
  most manual pages. He'll access the server via Internet, SSH.
  
  How can I create an account, so that it is completely safe to let him
  in? How can I jail/chroot him and do I need to do it this way? I want
 to
  limit everything: disk space (~500Mb), RAM (~10%), processes (~30),
 cpu
  (~5-10%), _internet connectivity_ (bandwidth is expensive and he must
  not be able to download much). He is new to Unix but I have to suppose
  that somebody very experienced can steal his account info.
  
  I'd be glad if he had only very basic ls, cp, mv, as well as sh and
 vi.
  I don't want him to have any browser or fetch-like utility.
  
  I know that letting somebody log in is already a security hole, but I
  want to minimize the risks.
  
  
  Thanks,
  Andrew P.

A live CD is a good suggestion. 

I have to disagree with the idea behind this whole thing, though.  I
mean, if this guy's really your friend, I don't see what you're so
worried about.  It's really pretty tough to 'accidently' break things as
a user on a system, as long as the system is moderately well
administered.  

If you're concerned about him using a bad password, give him a
sufficient warning and run john the ripper against your password file
for a couple of days.  

Also, don't allow any clear-text protocols such as samba, ftp, telnet,
etc etc.  

Dang, man, I had a friend that ran an /open/ shell server in high
school.  He had over 100,000 users, and didn't get hacked (well, he did
at first, but that's when he was running linux :) ). 

How's he supposed to learn anything if all you give him is a jail with
ls cp mv sh and vi?  sheesh.  That'll turn him off unix pretty quick.

dan

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Startup with no-ip

2004-08-26 Thread Dan Rue
On Thu, Aug 26, 2004 at 10:20:39PM +0200, Olof Andersson wrote:
 Hi!
 
 I have problems getting noip to start automatically at startup. I'm a 
 beginner at FreeBSD and Unix and I need help with this. I added some 
 info from my system that I hope will be usefull. noip works fine when 
 manually started.
 
 FreeBSD anderssons.no-ip.com 5.2.1-RELEASE FreeBSD 5.2.1-RELEASE #0: 
 Mon Feb 23 20:45:55 GMT 2004 
 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC  i386
 
 In /usr/local/etc/rc.d I have a file called noip.sh with the following 
 content:
 
 #!/bin/sh
 
 case $1 in
 start)
 if [ -x /usr/local/bin/noip2 -a -f /usr/local/etc/no-ip2.conf 
 ]; then
 echo -n ' noip';
 su -m noip -c '/usr/local/bin/noip2' 2 /dev/null  
  ^^
Here's your problem.  This script gets run as root, so the su is
redundant and failing.


 /dev/null
 fi
 ;;
 stop)
 echo -n ' noip';
 killall noip2
 ;;
 *)
 echo Usage: `basename $0` {start|stop} 2
 exit 1
 ;;
 esac
 exit 0
 

[snip]

dan
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: SCSI disk to disk dump restore

2004-08-24 Thread Dan Rue
On Tue, Aug 24, 2004 at 11:12:10AM +0300, Odhiambo Washington wrote:
 * Dan Rue [EMAIL PROTECTED] [20040824 00:01]: wrote:
  Hey Gang, 
  
  I had an older scsi disk going bad, so I picked up a new disk to replace
  it.  I did a dump | restore to move the data to the new disk, but it
  went far slower than expected.  I'm wondering if there's an issue with
  the different disk speeds.  
  
  Old disk from dmesg:
  da0: QUANTUM ATLAS IV 18 WLS 0808 Fixed Direct Access SCSI-3 device
  da0: 80.000MB/s transfers (40.000MHz, offset 31, 16bit), Tagged Queueing Enabled
  da0: 17522MB (35885168 512 byte sectors: 255H 63S/T 2233C)
  
  New disk, as reported by dmesg (it's a seagate U320):
  da2: SEAGATE ST336607LW 0007 Fixed Direct Access SCSI-3 device
  da2: 80.000MB/s transfers (40.000MHz, offset 63, 16bit), Tagged Queueing Enabled
  da2: 35003MB (71687372 512 byte sectors: 255H 63S/T 4462C)
  
  The dump was 13G, and took about 2 hours.  I calculated that out to be
  about 1.8MB/s.  Of course, that's total time I'm sure there's some dump
  overhead (though, i didn't use -L) - but still, 2 hours for 13G?!
 
 Well, depends! I used a dump|restore (without -L) recently and it took
 me like 5 hours to complete the dump for 28GB.
 
 
  I'm thinking there was a jumper or parameter I should have set due to
  the different disk types.  Note that I removed da0, but there's still
  another quantum in the machine on the scsi chain.
 
 I also had another disk on the SCSI chain.
 
 How much time did you expect to achieve as optimum? Based on what
 factors?

Ok, well that's good enough for me.  I don't have a lot of experience
with SCSI or dump - so I thought maybe I was hitting some caveat,
especially with the mixed drive types.

Thanks for the info it sounds like my numbers were about right after
all.

drue
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


SCSI disk to disk dump restore

2004-08-23 Thread Dan Rue
Hey Gang, 

I had an older scsi disk going bad, so I picked up a new disk to replace
it.  I did a dump | restore to move the data to the new disk, but it
went far slower than expected.  I'm wondering if there's an issue with
the different disk speeds.  

Old disk from dmesg:
da0: QUANTUM ATLAS IV 18 WLS 0808 Fixed Direct Access SCSI-3 device
da0: 80.000MB/s transfers (40.000MHz, offset 31, 16bit), Tagged Queueing Enabled
da0: 17522MB (35885168 512 byte sectors: 255H 63S/T 2233C)

New disk, as reported by dmesg (it's a seagate U320):
da2: SEAGATE ST336607LW 0007 Fixed Direct Access SCSI-3 device
da2: 80.000MB/s transfers (40.000MHz, offset 63, 16bit), Tagged Queueing Enabled
da2: 35003MB (71687372 512 byte sectors: 255H 63S/T 4462C)

The dump was 13G, and took about 2 hours.  I calculated that out to be
about 1.8MB/s.  Of course, that's total time I'm sure there's some dump
overhead (though, i didn't use -L) - but still, 2 hours for 13G?!

I'm thinking there was a jumper or parameter I should have set due to
the different disk types.  Note that I removed da0, but there's still
another quantum in the machine on the scsi chain.

Any hints?

tia, 
drue
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Frequent crashes with Mozilla and Firefox

2004-08-16 Thread Dan Rue
On Mon, Aug 16, 2004 at 03:31:22PM -0500, [EMAIL PROTECTED] wrote:
 On Mon, Aug 16, 2004 at 12:51:36PM -0700, Your Name wrote:
  In the last few weeks ive started getting a number of crashes using
  either Mozilla or Firefox. im using the newest version of each from
  Ports, on FreeBSD 4.9.
  
 And on 5.2.1-RELEASE and 5.2-CURRENT

I'm having the problem too.  Been having it for months always with the
latest firefox builds.

Are you guys running it under gnome?  The console messages it logs when
it quits out (sorry I don't have them available anymore) made me think
it might be gnome+firefox specific.

dan
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Newbie Security Question

2004-08-06 Thread Dan Rue
On Fri, Aug 06, 2004 at 08:26:01AM -0500, James A. Coulter wrote:
 I recently got my firewall up and configured (many thanks to JJB and everyone else 
 for their help) and have been reading the daily security message from root with a 
 great deal of interest.
 
 My question is, when I see entries like this:
 
 Aug  5 17:55:54 sara sshd[2099]: Failed password for root from 209.120.224.13
 +port 40515 ssh2
 Aug  5 17:55:55 sara sshd[2101]: Failed password for root from 209.120.224.13
 +port 60426 ssh2
 Aug  5 17:55:55 sara sshd[2103]: Failed password for root from 209.120.224.13
 +port 54447 ssh2
 Aug  5 17:55:59 sara sshd[2105]: Failed password for root from 209.120.224.13
 +port 44460 ssh2
 
 is it safe to assume someone has been trying to hack my system?
 
 Jim C.

Hi Jim, 

Yeah, I get these all the time.  I've always chalked it up to random
script kiddies.  Sometimes i get people trying to log in as generic
usernames like admin, guest, etc.  Make sure that PermitRootLogin is
either set to no or commented out in /etc/ssh/sshd_config, and of course
make sure you are using a good root password.

Now, if you really want to work yourself up, start browsing your
httpd-access logs :)

-dan
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Apache/mod_php4/mysql issue

2004-07-21 Thread Dan Rue
On Wed, Jul 21, 2004 at 02:53:55PM -0400, Robert Munn wrote:
 I recently upgraded apache2 and mod_php4 using portupgrade.  Now all my scripts that
 reference mysql fail with the error message:
 
 PHP Fatal error:  Call to undefined function:  mysql_connect() in 
 /usr/users/munn/public_html/Testing/MySQL.php
 

From /usr/ports/UPDATING:
20040719:
  AFFECTS: users of PHP
  AUTHOR: [EMAIL PROTECTED]
 
  The old lang/php4 and lang/php5 ports have been splitted into 'base' PHP,
  PEAR, and shared extensions to allow more flexibility and add new features.
  Upgrading your current PHP installation will result in a 'base' PHP
  installation (no PEAR and no extensions).
  PEAR can be found in the new devel/php4-pear and devel/php5-pear ports, while
  the set of PHP extensions to install can be choosen via the meta-ports
  lang/php4-extensions and lang/php5-extensions, or installing singular
  extensions individually.

You need to install /usr/ports/databases/php4-mysql, and you'll probably need
to change your extension_dir in your php.ini to point to
/usr/local/lib/php/20020429 (or whichever dir you have in there).  

Dan
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: ports-collection borked?

2004-07-21 Thread Dan Rue
On Wed, Jul 21, 2004 at 12:47:29PM -0700, 3BSD wrote:
 On Wed, 21 Jul 2004 20:57:25 +0200 (CEST), Svein Halvor Halvorsen
 [EMAIL PROTECTED] wrote:
  
  When rebuilding the index after cvsup-ing the ports collection I get lots
  and lots of these lines:
  
  /usr/ports/INDEX-5:11379:Port info line must consist of 10 fields.
  
  This from a 15 min old port collection. The same happened earlier today
  (which is why I retried just now). Is this a local problem, or is the
  collection borken. Is there anything I could do locally?
 
 I did a cvsup after I read your e-mail just now and it finished
 updating successfully, so its a problem on your end, unfortunately, I
 can't help you with the problem since I've never had to encounter one
 like it before. Sorry, hope I was of more help.

I can confirm the problem cvsup'd this morning and can't portsdb -Uu
without getting all those 10 fields lines..

5.2.1-RELEASE-p3, fwiw

dan
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


PHP 4.3.8 upgrade missing things

2004-07-20 Thread Dan Rue
Hey all, 

Usually when I build PHP, it asks me about a couple dozen things - perl
compatible reg ex's, ftp support, etc.  When I did a portupgrade last
night it didn't ask me those things - only three things (apache 2, and
two other things).  Now, I am missing some things - at least the preg
stuff.  So how do I get that stuff back?

I'm building /usr/ports/lang/php4, and i'm on 4.3.8. 

Any hints?

tia, 
dan
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Disregard - PHP 4.3.8 upgrade missing things

2004-07-20 Thread Dan Rue
Disregard - I see the thread from earlier :)

dan

On Tue, Jul 20, 2004 at 09:25:02AM -0500, Dan Rue wrote:
 Hey all, 
 
 Usually when I build PHP, it asks me about a couple dozen things - perl
 compatible reg ex's, ftp support, etc.  When I did a portupgrade last
 night it didn't ask me those things - only three things (apache 2, and
 two other things).  Now, I am missing some things - at least the preg
 stuff.  So how do I get that stuff back?
 
 I'm building /usr/ports/lang/php4, and i'm on 4.3.8. 
 
 Any hints?
 
 tia, 
 dan
 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Slow loading websites

2004-04-23 Thread Dan Rue
On Fri, Apr 23, 2004 at 02:13:13PM -0400, Charles Swiger wrote:
 On Apr 23, 2004, at 1:38 PM, Jammet wrote:
 When i go to a website, say Slashdot or freshmeat, or any where that
 involves ads on the page some where, about 99% of the time it can take
 upwards of 2-3 minutes to load the entire page. [ ... ]
 I guess my main question is, anyone ever seen this, if so ever get it
 fixed?
 
 Most probably, you are running into delays because your browser queries 
 websites for an IPv6 address before trying an IPv4 address.  
 Reportedly, many ad-sites use broken nameservers which botch IPv6 
 queries, causing the delay.  The problem lies on their end, not yours, 
 but disabling IPv6 or using a proxy server like Squid will probably 
 remove the delays.

Most of that is true.  However, I found it to be a problem with firefox
specifically - in that firefox waits for the 75 second timeout.  Forced
me to switch to opera :)

It looks like it will be fixed in the next version of mozilla, though:
http://bugzilla.mozilla.org/show_bug.cgi?id=68796

The quickest workaround is to add 
::0 ad.doubleclick.com
::0 ad.doubleclick.net
to /etc/hosts (not a bad thing to keep in there, really).

hth,
dan

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: CMS on FreeBSD

2004-03-19 Thread Dan Rue
On Fri, Mar 19, 2004 at 01:53:04PM -0500, Scott I. Remick wrote:
 I'm thinking about setting up a FreeBSD-based CMS/intranet and wanted to
 know what other people were doing.
 
 I have a tiny bit of experience with PHP-Nuke because my webhost uses it.
 Although I have no real complaints about it, I am not wedded to it.
 
 PHP-Nuke is in ports and was recently upgraded to 6.9 after stagnating at
 6.0 for a long time. This makes me concerned that if I invested in it, and
 the need for an update came, I might be SOL for a while due to lack of a
 maintainer. As it is right now, it is marked FORBIDDEN due to a
 vulnerability with versions below 7.1.
 
 Also, there seems to be a lot of hatred towards PHP-Nuke. I don't claim to
 understand it, but I can accept they might know something I don't. I do
 know that PHP is rather easy for me to work with, as I've tweaked many
 pages on my hosted site. I am also not turned away by the fact that
 PHP-Nuke depends on MySQL as I have used it with Bugzilla and it doesn't
 scare me.
 
 Looking at other options, there comes Postnuke. Seems a pretty-popular
 close-relation to PHP-Nuke, however the version in ports seems 2+ years
 old. So there is the maintainership issue again. And a lot of people hate
 BOTH *Nukes, for perhaps good reasons I don't totally grasp, so there's
 that too.
 
 Diverging a bit, I noticed Drupal. Currently in ports but broken.

snip

Umm..  I don't know what other people think about this - but I really
never run any PHP stuff from ports.  It is easier, imo, to just download
the tgz and unzip it to the directory you want it in.  Since there's no
compiling, usually very little setup, it's just _easier_ and gives you
more control if you just do it yourself.  Of course, the cruddy thing
about that is updating.  

Therefore, the reason why I think the cms' in ports are old is because
most people don't port install them - it's just not worth it.  

Just follow the instructions that come with the PHP app - usually you'll
have to create a database in mysql for it to use.  The instructions are
usually really good with that stuff.  

As far as which cms to use, I'm currently undecided as well.  My boss
really likes drupal, and forces me to use it :)  Check out
opensourcecms.com - they showcase dozens of php cms' and let you try
them out.  

Good Luck - 
Dan
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: CMS on FreeBSD

2004-03-19 Thread Dan Rue
On Fri, Mar 19, 2004 at 03:25:17PM -0500, Scott I. Remick wrote:
 Drupal looks really nice. Do you have any thoughts on Drupal vs. Mambo?
I've used both, but neither very much.  I can only tell you that my boss
went from Mambo to Drupal - I guess he found it easier to hack on.
That's the thing - if you can find one you really like, and learn the
internals, you can use it for many differnet things.  It's so nice to be
able to throw up a fully functional website in an evening.

 Hmmm it occurred to me that one module/component I'd really be interested
 in is some sort of organized (hierarchy) knowledgebase that is also
 searchable.
This sounds like a wiki..
http://c2.com/cgi/wiki
http://phpwiki.sourceforge.net/

Enjoy!
dan
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: uptime wrong?

2004-03-18 Thread Dan Rue
On Fri, Mar 19, 2004 at 01:42:01AM +0800, Spades wrote:
 Hi,
 
 My box has been up for 50+ days, however uptime only
 shows always less than 2:00 hrs.
 
 Any idea?
 
  5:59PM  up  1:55, 1 user, load averages: 0.00, 0.00, 0.00
 
 Thanks.
Perhaps your box rebooted and you didn't know it?  Look at dmesg and not
the timestamp of the last boot.  That should tell ya.  If your last boot
really wasn't 2 hours ago, I dunno.

If your server is rebooting periodically, make sure you have good ram
and cooling.. 

dan
 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Downgrading 4.9-stable to 4.9-release-p3

2004-03-18 Thread Dan Rue
I upgraded some servers to 4.9-stable a few weeks ago, not realizing
that I really wanted releng_4_9.  Since I have to apply this openssl
fix anyway, I thought I could go from 4.9-stable to releng_4_9 no
problem.  The alternative, as I see it, is to wait for 4.10 to come and
upgrade to that.  Am I going to run into problems going from 4.9-stable
to releng_4_9?  

If I can sneak in a second question.  With this openssl fix, couldn't I
just apply the patch, cd /usr/src/crypto/openssl  make install ?
Instead of the recommended buildworld fiasco?

tia,
dan
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: [OT] sed question

2004-03-15 Thread Dan Rue
On Sun, Mar 14, 2004 at 04:30:40PM -0600, Steven N. Fettig wrote:
 Sorry for posting an off-topic question to the list, but this is 
 somethin that has been driving me nuts for weeks now and I can't figure 
 it out.  I want to pass a text file through sed that replaces all 
 whitespaces with a carriage return.  I.e., if I have the file 
 my_test_text_document.txt that is a few paragraphs of writing, I want to 
 take the following input:

how about using ctrl-v to get a literal - 
if you do ctrl-v, the next keystroke will be input in literally.  so, do 

sed 's/ /ctrl-venter/'

When I do that, it types in a ^M.  That method also works well for
using sed to insert tabs. 

Dan

 
 Steve Fettig
 
 
 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


SMP kernel with RAID

2004-03-09 Thread Dan Rue
Howdy, 

Ok, Here's the brief specs
dual 2.4 Xeons
Adaptec Raid-5 SCSI

Everything works fine with a 4.9-p3 generic kernel.  However, when I
enable SMP and rebuild the kernel, boot hangs at this step:

Waiting 15 seconds for SCSI devices to settle
(noperiph:sym0:0:-1:-1): SCSI BUS reset delivered.

At that point, I have to reboot and boot back to generic kernel.  

Here's the only two lines in the kernel that I change:
optionsSMP # Symmetric MultiProcessor Kernel
optionsAPIC_IO # Symmetric (APIC) I/O

Any ideas?

tia,
Dan
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: SMP kernel with RAID

2004-03-09 Thread Dan Rue
On Tue, Mar 09, 2004 at 11:22:51AM -0600, Dan Rue wrote:
 Howdy, 
 
 Ok, Here's the brief specs
 dual 2.4 Xeons
 Adaptec Raid-5 SCSI
 
 Everything works fine with a 4.9-p3 generic kernel.  However, when I
 enable SMP and rebuild the kernel, boot hangs at this step:
 
 Waiting 15 seconds for SCSI devices to settle
 (noperiph:sym0:0:-1:-1): SCSI BUS reset delivered.
 
 At that point, I have to reboot and boot back to generic kernel.  
 
 Here's the only two lines in the kernel that I change:
 options  SMP # Symmetric MultiProcessor Kernel
 options  APIC_IO # Symmetric (APIC) I/O

Follow-up:
LINT mentions that you need to:
Be sure to disable 'cpu I386_CPU'  'cpu I486_CPU' for SMP kernels.

So, I tried that as well, with the same results. 

Is SMP flaky in 4.9 or something?  This is my first SMP build..

dan

 
 Any ideas?
 
 tia,
 Dan
 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: /root file system full

2004-03-03 Thread Dan Rue
On Thu, Mar 04, 2004 at 08:51:56AM +1100, Ron Joordens wrote:
 Good Morning,
 
 I have recently installed FreeBSD 4.9  and have thoroughly enjoyed my first
 foray into the BSD world. Indeed my first foray into any non-windows OS. So
 far I have encountered quite a few problems but have always managed to find
 an answer in the handbook or by searching through the extensive resources
 available on the net. Great documentaion! This is the first time I have
 needed to ask a question.
 
 My / filesystem is full. 109%. I want to know what is on the / filesystem,
 what I can get rid of, how to get rid of it and how to make sure that it
 doesn't happen again.
 
 Any thoughts?
 
 For background information: 
 
 The / filesystem is the suggested default of 128mb. The handbook says that
 root is generally about 40mb of data and that 100mb should be enough to
 allow for future expansion needs, so 128mb should be adequate.
 
 During installation I installed everything, sources, ports, documentation,
 etc.
 
 I have CVSuped source to RELENG_4_9.
 
 I have CVSuped ports.
 
 I have recompiled the kernel 3 or 4 times.
 
 I have redirected the /tmp directory to /usr/tmp  (these locations are from
 memory but you get the idea)
 
 I got a bit carried away installing ports during installation (a kid in a
 candy store?) and currently have about 206 installed.
 
 I have been updating ports recently using portupgrade with the recursive
 switches -rR. 
 
 At the time the first filesystem full error message was seen I was
 portupgrading arts -Rr which was upgrading a lot of other ports as well.
 That process stopped with an error message stating that a conflict between
 xfmail and qt existed and that qt could not be upgraded untill xfmail was
 deinstalled so there may be a lot of working data still on the system. Would
 that be on root?
 
 Thanks for your help,
 
 Ron Joordens
 Melbourne, Australia
Good Evening ;)

128MB is enough for / if you also set up all of the other partitions
correctly.  If you showed us a df -h we could more easily see your
layout.  

That said, if this is a hobby system as it sounds like, you may be able
to get by with fewer partitions.  Personally, on desktop systems, I like
to put /usr/home on it's own partition and I just throw everythign else
on /.  It all depends on what you're using the system for, really.  

That way, I can totally nuke everything, do a full reinstall from
scratch, and still have my user environment how I like it without having
to goof around with restoring from backups.  

Regardless of what you decide to do - a reinstall may be in order
(sorry).  But, chalk it up to experience.  You'll have a much cleaner
system the second time around :)

hth, 
dan

 
 
 
 
 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


ftps server (ftp with SSL, not sftp)

2004-02-26 Thread Dan Rue
Hey Gang, 
I need to find a good drop in ftpd-ssl server.  Please don't tell me to 
use sftp - I would love to but sometimes I don't get my druthers.  I see
there's a BSDftpd-ssl, and there's a couple others in ports - are any of
them widely used?  This is on a high traffic production server, so I
can't drop in some beta software and cross my fingers.  

tia, 
dan
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Administration

2004-02-17 Thread Dan Rue
On Tue, Feb 17, 2004 at 12:08:52PM -0800, Derek Burns / Bend-Pak wrote:
 Is there a way I can administer my FreeBSD web server from my pc?
Sure, 
If you're familiar with command line, ssh is all you need.

If not, check out webmin (/usr/ports/sysutils/webmin).  But, really,
everything you need to do you can do from the command line.  Use putty
to ssh into your freebsd box from windows (free program, use google).  

hth, 
dan

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Small FreeBSD Image?

2004-02-16 Thread Dan Rue
On Sun, Feb 15, 2004 at 01:54:36PM -0500, stan wrote:
 I'm setting up Nagios, and I want to show the OS that's on a given machine
 using it's map graphics.
 
 Anyone know where I can find a small FreeBSD image? (PNG preferred).
Nagios has image packs, go here
http://www.nagios.org/download/extras.php

and if you 'preview' the base image pack, you'll see a nice freebsd
logo.

dan
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Scripts

2004-02-16 Thread Dan Rue
On Mon, Feb 16, 2004 at 06:27:52PM +0100, [EMAIL PROTECTED] wrote:
 I just wanted to say quickly that I'd recommend *not* ever taking '.' into
 your path - when someone wants you to execute something and places it into a
 directory where both have write rights and names it like the binary you're
 supposed to call, it's going to get executed first. 
There's a lot of things that you shouldn't do that people do every day.
To minimize risk, if you insist on having a '.' in your path, the most
important thing is to put it at the _end_ of your path.  This way, when
you type a command, it will hopefully find the real command first.  If
it's at the beginning of your path, and you're on a multi-user system,
you're just asking for trouble.  

dan
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


/usr/local/etc/rc.d broke after 4.7 - 4.9 upgrade

2004-02-12 Thread Dan Rue
Hiya, 

I just upgraded a server from 4.7 to 4.9 stable.  Everything's fine,
except that for some reason my startup scripts in /usr/local/etc/rc.d
are not being executed at boot time anymore.  I must have hosed
something during mergemaster.  I checked rc.conf and defaults/rc.conf -
they correctly point to the correct startup directory.  

Also, if I manually start them they start fine.  

Has anyone seen this before?  Things to check?

tia, 
dan
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


keeping up to date with cron

2004-02-03 Thread Dan Rue
Hey Gang, 
I am somewhat new to the FreeBSD stuff.  After getting used to the cvsup
way of life, I added this to my crontab:

# Package database maintaince
25  2   *   *   *   root/usr/local/bin/cvsup -g -L 2 
/root/cvsup/ports-supfile  /usr/local/sbin /portsdb -uU
0   1   *   *   6   root/usr/local/sbin/pkgdb -aF
 
# Should probably do this manually from time to time
#0  4   *   *   6   root /usr/local/sbin/portupgrade -aRy


Note that I don't actually run portupgrade from cron anymore.  Any
suggestions on better flags or ways of doing any of these tasks?  What
do you all have in your crons?  Note that this is a desktop system, not
a production server.  But what if it was a production server?  Shuold I
do anything differently?

tia, 
dan
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Installing OpenOffice from Ports Collection

2004-01-28 Thread Dan Rue
On Wed, Jan 28, 2004 at 06:37:59AM -0800, chip wrote:
 I am also having a problem getting the binary OpenOffice to run (I am 
 running FBSD-5.1). The problem is it cannot find /libexec/ld-elf.so.1.
 I installed the elf package but still get the same error. I posted a 
 message about this a few days ago and haven't received any replies.
 Any idea?
Yes, I think I ran into this.  Not sure how it came about, but you
should have /libexec/ld-elf.so.  Since the package is looking for
ld-elf.so.1 just 

ln -s /libexec/ld-elf.so /libexec/ld-elf.so.1

Dan
 --
 Chip
 
 
 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to 
 [EMAIL PROTECTED]
 
 .
 
 
 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


5.2 install problem (pc card)

2003-12-14 Thread Dan Rue
Hi, 
If I install FreeBSD 4.9 on my IBM 600x thinkpad, it prompts me for
kernel config, and then detects my pcmcia network card, allowing me to
do a net install.  

However, I would like to give 5.2 a whirl, but it does not detect my
card, and I can not find where to set it up.  I have looked online,
tried google, all with no success.  I did read on the 5.2 early adopters
doc that they changed the way the kernel config works, and I am
wondering if that is related.  

TIA, 
dan
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: ls and color

2003-12-07 Thread Dan Rue
On Fri, Dec 05, 2003 at 10:30:59AM -0800, Mike Maltese wrote:
  Is there a how to on making ls show colors or a web pages. Thanks.
 
 Well., there's ls -G, but you could have found that in the man page, right?
 
Of course you don't want to have to type -G every time, right?  I have
an entry in my .bashrc file

alias ls='ls --color=auto'

Every time i run ls, it actually runs ls --color=auto.  Nice.  

dan
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]