Re: Processor question

2012-02-14 Thread Nerius Landys
If you do choose 32 bit, you can compile the PAE kernel which will allow access to all of your memory, but you'll still be limited to under 4 GB per process memory. ___ freebsd-questions@freebsd.org mailing list

Re: DNS Administrator - Kenya

2011-04-03 Thread Nerius Landys
alternatively try one of the torrents, it should survive disconnections far better than ftp etc Yes, try the torrents. I don't seed them for nothing. This is probably one of the best ways to get FreeBSD. Here they are: http://torrents.freebsd.org:8080/

Using /etc/rc.d/netif start

2011-03-29 Thread Nerius Landys
First off, I'm on 9.0-CURRENT-i386, but I don't think that will make a difference for purposes of my question. I think the freebsd-current folks are expecting questions that are much harder than this one. I'm trying to use /etc/rc.d/netif to bring down and bring back up all network interfaces,

Re: Using /etc/rc.d/netif start

2011-03-29 Thread Nerius Landys
In my experience, I've found it best to restart 'routing,' as well. /etc/rc.d/routing restart Yes indeed thank you. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any

Re: Easiest desktop BSD distro

2011-03-29 Thread Nerius Landys
But the challenge of BSD have so far proven too much for me.  It would take too long to configure FreeBSD to my liking.  I couldn't figure out what to enter in GRUB to multi-boot Linux and BSD.  I tried PC-BSD, GhostBSD, and DragonflyBSD in VirtualBox.  I've found PC-BSD agonizingly slow to

Re: emacs backspace question

2011-03-25 Thread Nerius Landys
Hmm...I can't figure out how to get xxd to report the keycodes, and google isn't really turning anything up.  Can you tell me how it's done? It's been a while since I've tinkered with xxd. Let's see: 1. Run xxd from command prompt. 2. Type Delete. 3. Type Enter. 4. Type Ctrl+D. You'll see some

Re: emacs backspace question

2011-03-24 Thread Nerius Landys
I've read a lot on the internet regarding the use of the backspace key in emacs, but the proposed solutions don't seem to be working for me. I just installed FreeBSD 8.1 in Virtualbox and installed emacs 23.2.1 by means of the package installer.  Everything in emacs works great except the

Re: Bridge, dpcpd, sshd

2011-03-23 Thread Nerius Landys
I have a server machine that I use as DHCP server, sshd login etc, and since I have multiple Ethernet interfaces on it, I would like to use two of those for the internal network to avoid adding one more ethernet switch for just one extra machine. DHCP should configure hosts on both those

Re: looking for rack hosting company

2011-03-15 Thread Nerius Landys
Sorry if this is a bit off topic.  I am looking to run a Freebsd server with a hosting company.  Preferably on the cheaper side as our needs in the beginning will be somewhat limited.  I would need enough ram/storage to do some trial and error with different databases.  So the vmware virtual

Apple FreeBSD relationship

2011-03-09 Thread Nerius Landys
This is not a technical question. Basically I have some cash sitting around. I'm thinking of investing part of it with a company that I believe in. Apple came to mind. You could say that I'd like to judge Apple's moral character before investing money with them. Does anyone know how Apple

Re: HAL must die!

2011-03-07 Thread Nerius Landys
Sorry I could not help but to realize the title of this forum discussion. I'm sorry Dave, I can't do that. :-/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to

Re: Coldfusion, Postgres and Java under FreeBSD

2011-03-07 Thread Nerius Landys
Question #2: Is the JVM implementation for FreeBSD reliable and fast? Most of my software components are made in Java (including HSQDB) Since I have experience with Java on FreeBSD, I will try to answer this question. Java works very well for me under FreeBSD; I have not had a single problem

Re: python27 update

2011-03-05 Thread Nerius Landys
Sadly, this is one of those times when portupgrade seems to handle things better, but you'll probably have to wait another day to see if things worked out better this time. For me, using portupgrade on 3 different systems (7.4 and 8.1) to upgrade Python 2.6 to 2.7 worked like a charm. Just my

Re: Finish upgrading remote server without physically being there?

2011-03-02 Thread Nerius Landys
Two questions - 1.) If rebooting into single user mode isn't obviously a requirement...I wonder why so many tutorials, books, etc. tell you to do this? Dropping into single user mode is highly recommended especially if you're upgrading from, say, 8.1 to 8.2 (a minor version upgrade). If

Re: Finish upgrading remote server without physically being there?

2011-03-02 Thread Nerius Landys
On Wed, Mar 2, 2011 at 8:24 AM, Nerius Landys nlan...@gmail.com wrote: Another way to do this, but is quite rare, is to log in via serial console.  This requires you to configure serial logins to your server (quite easy, but you should test it first) and it requires the data center to somehow

Re: Fastest way to get an entire FBSD system back online?

2011-03-02 Thread Nerius Landys
This topic was recently discussed on the FreeBSD Forums, so I'll link it here: http://forums.freebsd.org/showthread.php?t=21993 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe,

Re: Finish upgrading remote server without physically being there?

2011-03-02 Thread Nerius Landys
I just got a new Supermicro Atom board a few days ago (X7SPA-HF-D525). It has a Nuvoton BMC chip that is attached to LAN1 and provides IPMI and KVM-over-IP functionality. The chip gets its own IP address (separate from em0 in FreeBSD) and is powered whenever the power cord is plugged-in. As

Re: Upgrading 7.1 to 7.3, use 7.2 as a safe step?

2011-02-27 Thread Nerius Landys
My upgrades were a success. I upgraded 3 machines: 1. 7.1 - 7.4 2. 8.0 - 8.1 3. 7.1 - 7.3 - 7.4 I don't use STABLE, but rather e.g. RELENG_7_4 ___ freebsd-questions@freebsd.org mailing list

Upgrading 7.1 to 7.3, use 7.2 as a safe step?

2011-02-25 Thread Nerius Landys
For me, time can be spared, but errors should be avoided at all costs. I have upgraded FreeBSD before, for example 7.0 - 7.1. I use the buildworld/buildkernel procedure. I now have a 7.1 system. Should I upgrade to 7.2 and then to 7.3, or is it safe to go directly from 7.1 to 7.3? - Nerius

Re: Should I use the standard-supfile or stable-supfile?

2011-01-20 Thread Nerius Landys
Hi everyone, I've installed Production Release 8.1 on a production server and I want to just track the errata branch, so should I use the standard-supfile or stable-supfile? Also, I want my supfile to read: tag=RELENG_8_1 right? You want standard-supfile for the security fixes for your

MySQL 5.5.7-5.5.8 instructions seem scary

2010-12-29 Thread Nerius Landys
I read this in /usr/ports/UPDATING today: = 20101227: AFFECTS: users of databases/mysql55-server AUTHOR: a...@freebsd.org MySQL 5.5 has been updated to 5.5.8 GA release. Since layout is changed you should remove

Re: Can I run a 32-bit jail (or software) on a 64-bit server?

2010-12-06 Thread Nerius Landys
I've had success running [at least some] 32 bit software on 64 bit FreeBSD without even using a jail. Do you have /usr/lib32 on your system?  This would get installed for example if you rebuild world/kernel following this:

Re: Can I run a 32-bit jail (or software) on a 64-bit server?

2010-12-06 Thread Nerius Landys
I've had success running [at least some] 32 bit software on 64 bit FreeBSD without even using a jail. Do you have /usr/lib32 on your system? This would get installed for example if you rebuild world/kernel following this: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/makeworld.html

Re: Can I run a 32-bit jail (or software) on a 64-bit server?

2010-12-06 Thread Nerius Landys
On Mon, Dec 6, 2010 at 11:14 AM, Redd Vinylene reddvinyl...@gmail.com wrote: How do I create a 32-bit jail on a 64-bit machine then? http://forums.freebsd.org/showthread.php?t=3744 did not tell me much. Thanks! Use this as a start:

Re: new user questions. (Before I back myself into a corner!)

2010-11-23 Thread Nerius Landys
I'd like to:- Have a ssh login via LAN available, I believe that's a standard feature, but I expressedly disabled that (well, told it not to implement it) when I orignaly installed the OS.   Or have a VNC server running. Add the following line: sshd_enable=YES to file /etc/rc.conf .

Re: FreeBSD on Rackspace Could

2010-11-13 Thread Nerius Landys
Hi, I'm a 3 year customer of M5 Hosting. They are in San Diego. I am a very very pleased customer. :-) On Sat, Nov 13, 2010 at 12:19 PM, Alejandro Imass aim...@yabarana.comwrote: Use M5 Hosting. They are FBSD friendly and offer outstanding and human support.

Re: FreeBSD on Rackspace Could

2010-11-13 Thread Nerius Landys
What do feel are the advantages of the cloud? It costs more money. So the advantage is that it stimulates the economy. :-P ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe,

Re: okay, time to ask the wizards.

2010-10-27 Thread Nerius Landys
You mean replace each newline character with two newline characters? perl -p -i -e 's/\n/\n\n/g' yourfile.txt Something like that? On Wed, Oct 27, 2010 at 6:04 PM, Gary Kline kl...@thought.org wrote: I've got a very large file with paragraphs separated only by \n. How do I put a blank line

Re: UDP packet spoofed LAN source address?

2010-10-17 Thread Nerius Landys
Maybe, is there a simple 10 line C program that I can run and compile to check if this scenario is possible on _my_ server? 'netcat' has the capability built in. root# echo hi | nc -u -w 1 -p 30002 -s 64.156.193.115 daffy 30001 nc: bind failed: Can't assign requested address I don't

UDP packet spoofed LAN source address?

2010-10-16 Thread Nerius Landys
This is really more of a networking question. I'm wondering, in a typical scenario, for example my server is in a data center with a typical colocation company. I am editing someone else's code, and this code handles incoming UDP packets. The code handles UDP packets that have a source address

DHCP server and bridge, mixed w/ some static IP assignments

2010-08-30 Thread Nerius Landys
I'm trying to add some sort of DHCP server functionality to my router box running FreeBSD 7.1. First, let me explain the current network. This is how my rc.conf is currently configured, and everything is running smoothly: gateway_enable=YES hostname=speedy.i ifconfig_fxp2=DHCP # Connecting to

ULE scheduler and the WCPU column in top

2010-07-22 Thread Nerius Landys
I have this interesting behavior in the top utility on _both_ my 7.1 and 8.0 FreeBSD servers (updated to latest patches). The interesting behavior happens only when my kernel is compiled with the ULE scheduler. It does not happen when the kernel uses the old BSD scheduler. Here is a link of a

Re: class.phpmailer.php Warning: date() [function.date]:

2010-05-22 Thread Nerius Landys
Running Apache-1.3.41_1 PHP5-5.2.12 I did not get this message, which I now get running Apache/2.2.15 (FreeBSD) PHP/5.3.2 Is their way to stop this? Warning: date() [function.date]: It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting

Re: apache 2.2.15_7 upgrade fails

2010-05-18 Thread Nerius Landys
apache-2.2.15_5                       needs updating (index has 2.2.15_7) it also installed apr-ipv6-devrandom-gdbm-db42 1.4.2.1.3.9_1 but apache fails to build, Is there a solution? I had the same problem. Then I read /usr/ports/UPDATING, and from that file its says this: 20100518:

Re: Gaming

2010-04-29 Thread Nerius Landys
Some games run natively on FreeBSD with no emulation. For example Urban Terror is a first person shooter that fits this category, and it's very popular. /usr/ports/games/iourbanterror and it requires hardware 3D acceleration (nVidia drivers would work well).

Re: Replacing Home Router With PC

2010-03-12 Thread Nerius Landys
Yep! Geode-based boxes are great. The ALIX boards are looking like Soekris gear, which I'm very happy with (of course running FreeBSD): http://www.soekris.com/net5501.htm Is there a nice guide that explains how to install FreeBSD onto a headless system (such as one of these small devices) via

Re: Patching a Newly-Built System

2010-03-12 Thread Nerius Landys
Does it make any difference if one adds packages to a new system before or after using cvsup to bring the patch level up to date? By bringing the patch level up to date I assume you mean a tag such as this one: *default release=cvs tag=RELENG_8_0 in your standard-supfile file, and then

Re: Patching a Newly-Built System

2010-03-12 Thread Nerius Landys
Does it make any difference if one adds packages to a new system before or after using cvsup to bring the patch level up to date? By bringing the patch level up to date I assume you mean a tag such as this one: *default release=cvs tag=RELENG_8_0 in your standard-supfile file, and then

Re: (Update) Re: Objective-C 2.0 on FreeBSD; garbage collection, anyone?

2010-03-11 Thread Nerius Landys
Sorry for the delay. Medical problem. Here's what I know. 1) Under FreeBSD 8.x OBJC APPEARS NOT to use garbage collection. I looked at the source and the GC routines aren't defined anywhere and I stepped through the assembly language and the allocation routing call malloc(). There is a

Objective-C 2.0 on FreeBSD; garbage collection, anyone?

2010-03-10 Thread Nerius Landys
Running FreeBSD 8.0 32 bit PAE kernel, latest ports. My current hobby is to experiment more with Objective-C. I'm rewriting some of my old Java code in Objectve-C to get a better feeling for how this language works. I'm finally able to write, compile, and run Objective-C programs after learning

Re: Objective-C 2.0 on FreeBSD; garbage collection, anyone?

2010-03-10 Thread Nerius Landys
I am compiling this program and running it, and without the release calls there, it certainly is using up more and more memory every second.  Definitely no garbage collection happening.  I then modified the GNUmakefile to make sure that the option -fobjc-gc was being passed to gcc, and

Re: Replacing Home Router With PC

2010-03-10 Thread Nerius Landys
I've got an old Linksys router hanging off of my cable modem that is several years old and is about to die (very poor wireless throughput should be 54 mb and is 2, runs hot, and buzzes while turned on).  I've got an older PC that would great as a routerhowever I also need it to be a

Re: Objective-C 2.0 on FreeBSD; garbage collection, anyone?

2010-03-10 Thread Nerius Landys
What is the content of the header file? File GarbageObj.h: #import Foundation/Foundation.h @interface GarbageObj : NSObject { } -(void) foo; @end File GarbageObj.m: #import GarbageObj.h @implementation GarbageObj -(void) foo { } -(void) dealloc

Re: Trying run a php script from cron

2010-03-09 Thread Nerius Landys
I am trying to run a php script from the cron tab and these are the errors I receive: /usr/local/bin/php php -q /home//ripper.php result Could not open input file: php /usr/local/bin/php php -/home//ripper.php result Could not open input file: php /usr/local/bin/php

Re: Eject CD

2010-02-27 Thread Nerius Landys
cdcontrol eject ? On Sat, Feb 27, 2010 at 9:01 PM, Olivier Nicole olivier.nic...@cs.ait.ac.th wrote: Hi, What in a standard installation of FreeBSD, on a server running only MySQL and Postgress, could cause the CD tray to open by itself from time to time? Thanks in advance, Olivier

8.0 PAE kernel, KVA and kern.maxvnodes

2010-02-26 Thread Nerius Landys
I have a 32 bit FreeBSD 8.0 running on a quad core Xeon machine with 6 gigs of RAM. I decided on a 32 bit vs 64 for various reasons. So now I need to enable PAE in the kernel, easy enough. I had a look through all the relevant man pages and I've successfully modified my kernel configuration

netcat (/usr/bin/nc) buffer size too small - alternate utilities?

2010-02-16 Thread Nerius Landys
I'm communicating with a server that uses UDP packets. The server receives a UDP packet, and responds with a UDP packet by sending one to the initial sender. The request packets are always very small in size, but the response UDP packets can be up to 9216 bytes in size. I am using netcat like

Re: simple (and stupid) shell scripting question

2010-02-15 Thread Nerius Landys
#!/bin/sh DIRNAME=`dirname \$0\` cd $DIRNAME SCRIPTDIR=`pwd` What if I got rid of extra double quotes?  Like this: DIRNAME=`dirname \$0\` cd $DIRNAME SCRIPTDIR=`pwd` That is perfectly fine.  Word-splitting and filename expansion are not performed for variable assignments.  Also

simple (and stupid) shell scripting question

2010-02-14 Thread Nerius Landys
#!/bin/sh I have these lines in my script: DIRNAME=`dirname \$0\` cd $DIRNAME SCRIPTDIR=`pwd` What if I got rid of extra double quotes? Like this: DIRNAME=`dirname \$0\` cd $DIRNAME SCRIPTDIR=`pwd` Does this behave any differently in any kind of case? Are thes double quotes just

Re: simple (and stupid) shell scripting question

2010-02-14 Thread Nerius Landys
From the man page: Command Substitution [...]  If  the  substitution  appears within double quotes, word splitting and       pathname expansion are not performed on the results. In other words: sh-4.0$ touch x y sh-4.0$ for i in `ls`; do echo $i; done x y sh-4.0$ for i in `ls`; do

Max UDP packet size + Java: weirdness

2010-02-09 Thread Nerius Landys
I'm trying to send large UDP packets between 2 programs written in the Java programming language. These 2 programs will be running on 2 different hosts which are far apart. The test code for these programs is only a few lines and is here:

Re: Max UDP packet size + Java: weirdness

2010-02-09 Thread Nerius Landys
You've encountered: % sysctl net.inet.udp.maxdgram net.inet.udp.maxdgram: 9216 However, increasing it will guarantee that you will exceed even normal jumbo frame size and thus depend upon IP fragmentation / reassembly for the traffic. I don't consider that to be a good idea, but it

Re: How to set loader password

2010-02-06 Thread Nerius Landys
I was looking in /boot/loader.rc and found these lines: \ Tests for password -- executes autoboot first if a password was defined check-password OK, great, so: How do I set this password? What does it protect? Didn't find documentation in loader(8) and no man-page for loader.rc.

Re: which java on 8-release

2010-02-04 Thread Nerius Landys
Tried to get any permutation of XYZ-jre or XYZ-jdk installed on 8-rc1 and gave up. I see still no diablo for 8. What is the best way forward (and how am I so dense that no one else has even asked this question, I must be on the wrong track, no?) I saw a few posts about having to install

Re: /root permission reset on boot

2010-02-01 Thread Nerius Landys
I'm running FreeBSD 7.1 i386, and even after I chmod 700 /root, after a reboot it goes back to permission 755. 1. What's the reason for this? There must be a good reason and I would like to know it. Everything in FreeBSD just makes sense and is well designed (honestly, no sarcasm here).

/root permission reset on boot

2010-01-31 Thread Nerius Landys
I'm running FreeBSD 7.1 i386, and even after I chmod 700 /root, after a reboot it goes back to permission 755. 1. What's the reason for this? There must be a good reason and I would like to know it. Everything in FreeBSD just makes sense and is well designed (honestly, no sarcasm here). 2. Would

Nehelem 64 bit, kern conf and /etc/make.conf

2010-01-30 Thread Nerius Landys
I just installed FreeBSD 8.0 (amd64) onto my new Nehalem-based system. CPU: Intel(R) Xeon(R) CPU L5506 @ 2.13GHz (2128.00-MHz K8-class CPU) Origin = GenuineIntel Id = 0x106a5 Stepping = 5

FreeBSD 8.0 amd64 on Nehelem Xeon?

2010-01-22 Thread Nerius Landys
I'm in the process of purchasing a small Nehelem-based server (Xeon L5506 CPU to be exact). I will be installing some flavor of FreeBSD 8.0 (either i386 32 bit or amd64 64 bit, to be exact). I have no immediate need for a 64 bit server, as none of the processes that I will be running in the

Re: FreeBSD 8.0 amd64 on Nehelem Xeon?

2010-01-22 Thread Nerius Landys
There probably are some. If you are only interested in FreeBSD ports, you can make a list of which ports you need and then inspect their Makefiles to see if there's a flag disabling them on the amd64 architecture. OK thanks. Could you give me an example of a port that is disabled on 64 bit

Re: Link to File for JDK16 tzupdater-1_3_21-2009p.zip

2010-01-19 Thread Nerius Landys
Been trying to install /usr/ports/java/jdk16 and get an error stating need to place tzupdater-1_3_21-2009p.zip into /usr/ports/distfiles... have gone to sun and file is no longer there, and have searched internet for it but to no avail. Does someone have link where I can download the file?

Re: Running PHP File under Crontab...

2010-01-17 Thread Nerius Landys
I am wanting to execute a PHP file 5 times a day via crontab. Is it possible?  If so what is the proper crontab command for this? Hi. I'm running several PHP programs via cron. #1 Make sure you have CLI (command line interface) in your PHP port: As root, cd /usr/ports/lang/php5 make

/etc/rc.d/program nice value

2010-01-15 Thread Nerius Landys
I'm running some programs using the /etc/rc.d/ and /usr/local/etc/rc.d/ startup scripts. I am wondering if there is some standard way to run these programs at a higher nice value. ___ freebsd-questions@freebsd.org mailing list

Re: /etc/rc.d/program nice value

2010-01-15 Thread Nerius Landys
That means you can write this in your /etc/rc.conf file: apache22_enable=YES apache22_nice=10 Hope that helps, Oh yes, that helps a lot. Thanks! ___ freebsd-questions@freebsd.org mailing list

sshfs, nfs, etc. on FreeBSD

2010-01-08 Thread Nerius Landys
I'm looking for a lightweight, secure, and non-intrusive file sharing system for 2 servers in a data center. For example I'd like to [as an ordinary user] temporarily mount the home directory (/usr/home/) of one server to a temporary mount point on the other server, and then, assuming my user has

Re: portaudit php vulnerabilities

2009-12-25 Thread Nerius Landys
For the past week or so, portaudit has been warning me that the installed version of php on my system (php5-5.2.11_1) has known vulnerabilties. Fair enough. However, I've not seen a fix in the ports tree since then. Is my only option to deinstall php until this gets fixed? Hi. I've been

Re: FreeBSD beastie plush toy?

2009-12-21 Thread Nerius Landys
Yeah, I'm very interested in one as well. ___ 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: Mount dump0 as ISO9660 filesystem?

2009-12-04 Thread Nerius Landys
Your dump is just a regular file sitting on a hard drive with a file system that's already mounted. If you created an on-disk ISO image of that file, you'd have to mount the file system of that ISO image to read the file. If you burned the ISO image to a CD, you'd mount the CD's file system

Re: Mount dump0 as ISO9660 filesystem?

2009-12-04 Thread Nerius Landys
On Fri, Dec 04, 2009 at 04:50:43PM -0800, Nerius Landys wrote: Either way, the file remains just a file, and is read using restore(8). [snip] All I really want to do is take my dump file and see the files inside it, and do things with those files such as copy or md5sum (not edit

Re: Last login message

2009-12-04 Thread Nerius Landys
OK, I did some digging. Setting sshd_flags=-u 32 actually didn't change anything (and of course restarting sshd). I did have a look at this file though: /var/log/lastlog And I noticed that the truncated hostname is stored in that file. You can do a man lastlog or man utmp and it will indeed

Last login message

2009-12-03 Thread Nerius Landys
When I ssh to my FreeBSD machine, I get something like this: Last login: Thu Dec 3 15:12:40 2009 from 11.22.33.44 Copyright (c) 1980, 1983, 1986, 1988, 1990, 1991, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD 7.1-RELEASE-p9 (DAFFY) #0: Thu Dec 3

Re: Last login message

2009-12-03 Thread Nerius Landys
I would guess sshd is doing a reverse lookup on the ip your connecting from. If it resolves you get the FQDN, else just the IP. OK. Why the truncating? How to not truncate? ___ freebsd-questions@freebsd.org mailing list

Mount dump0 as ISO9660 filesystem?

2009-12-03 Thread Nerius Landys
I heard somewhere that you can mount a dump as an ISO9660 filesystem, but I cannot find any Google answers on this subject. I took my dump in the following fashion: dump -0Lan -C 16 -f - /usr | gzip -2 | ssh-to-some-remote-location So, I have a file named dump0-var.gz.

Measuring disk I/O

2009-11-18 Thread Nerius Landys
A friend and I are working on a small video-game related project as a hobby. We're running several scripts 24/7 that make lots of calls to a MySQL database. The mysql server process shows an average CPU use of 1% (reported by top) and it never goes above about 2% The tables it's hitting are

Re: Best procedure for full backup of live system

2009-10-16 Thread Nerius Landys
Thanks again guys.  My final series of steps to take full backups: bsdlabel ad4s1| ssh -p 2 nlan...@localhost dd of=/home/nlandys/backup/bsdlabel_ad4s1 dmesg -a | ssh -p 2 nlan...@localhost dd of=/home/nlandys/backup/dmesg dd if=/dev/ad4 bs=512

Re: Best procedure for full backup of live system

2009-10-15 Thread Nerius Landys
Thanks for your help guys. I have decided to attempt the following. With a filesystem snapshot, take a dump 0 of all filesystems. Back up these dumps to a 500GB disk I have sitting at home (the server I'm backing up is in a data center). Perform this maybe once a week or once a month. I am now

Best procedure for full backup of live system

2009-10-14 Thread Nerius Landys
My server is increasingly having important work stored on it, and I need to start taking backups of a lot of directories, especially /home, /opt, /etc, /usr/local/etc, and maybe others. The ideal backup (and what I've done in the past) is to take a full low-level dd image of the disk while the

Re: best FBSD version for commercial use.

2009-10-12 Thread Nerius Landys
Selected releases (normally every second release plus the last release from each -STABLE branch) will be supported by the Security Officer for a minimum of 24 months after the release, and for sufficient additional time (if needed) to ensure that there is a newer Extended release for at least

Re: error output redirection

2009-10-12 Thread Nerius Landys
if error output of some program appear on screen, it is possible to print it also to some file simultaneously ? Since you said simultaneously, it made me think of the command tee. man tee? ___ freebsd-questions@freebsd.org mailing list

Re: best FBSD version for commercial use.

2009-10-10 Thread Nerius Landys
My 2 cents, as far as I know 7.1 will be maintained longer than 7.2 according to the freebsd.org website.  That is, security fixes will be rolled out for 7.1 a while after 7.2 reaches End Of Life.  That made me decide to go with 7.1 when I had to make the switch from 7.0 a few months ago.  

Re: best FBSD version for commercial use.

2009-10-09 Thread Nerius Landys
My 2 cents, as far as I know 7.1 will be maintained longer than 7.2 according to the freebsd.org website. That is, security fixes will be rolled out for 7.1 a while after 7.2 reaches End Of Life. That made me decide to go with 7.1 when I had to make the switch from 7.0 a few months ago. 8.0 was

Re: A general sed question

2009-10-07 Thread Nerius Landys
Uh, I know I'm stating the obvious, but you might try these 2 techniques to enhance your diff experience: 1. Use diff -w. 2. Do cat filename | sort filename.sorted for both files you are diffing, and then compare both sorted files. ___

Xorg mouse not working after upgrade (console mouse works)

2009-10-04 Thread Nerius Landys
I had everything (Xorg + console mouse) working perfectly on my 6.3 system with slightly outdated ports. Now I upgraded to 6.4 and the latest ports. I am getting some strange behavior with respect to the mouse. I did adjust some lines of rc.conf in the process of trying to debug the problem

Re: Xorg mouse not working after upgrade (console mouse works)

2009-10-04 Thread Nerius Landys
Thanks for the tips guys. I had a close look at both suggestions. After further experimentation I found that this line in rc.conf: usbd_enable=YES was causing the mouse pointer not to work in Xorg. Simply removing that line, all works perfectly. So my end-result rc.conf is:

Re: wireless: host access point w/ WAP help!

2009-09-07 Thread Nerius Landys
0) Always mention OS version, bonus points for uname -a. nlan...@speedy# uname -a FreeBSD speedy.i 7.1-RELEASE-p7 FreeBSD 7.1-RELEASE-p7 #0: Thu Aug 6 06:05:47 PDT 2009 r...@speedy.i:/usr/obj/usr/src/sys/GENERIC i386 r...@speedy# dmesg | grep ath ath_hal: 0.9.20.3 (AR5210, AR5211,

wireless: host access point w/ WAP help!

2009-09-06 Thread Nerius Landys
I am following the Handbook instructions for setting up a FreeBSD wireless host access point: http://www.freebsd.org/doc/en/books/handbook/network-wireless.html r...@speedy# dmesg | grep ath ath_hal: 0.9.20.3 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413) ath0: Atheros 5212 mem

Re: wireless: host access point w/ WAP help!

2009-09-06 Thread Nerius Landys
I was brave enough to find out that logging on hostapd was going to /var/log/messages. I see this there after trying to start hostapd using the /etc/rc.d/ script: Sep 6 17:39:12 speedy kernel: ieee80211_load_module: load the wlan_xauth module by hand for now. Sep 6 17:39:12 speedy hostapd:

Re: wireless: host access point w/ WAP help!

2009-09-06 Thread Nerius Landys
I added this to /boot/loader.conf: wlan_xauth_load=YES After a complete reboot of my system I get this line in /var/log/messages: Sep 6 17:46:47 speedy kernel: ath0: ath_chan_set: unable to reset channel 6 (2437 Mhz, flags 0x490 hal flags 0x150), hal status 12 Not sure if this is something to

Re: /etc/rc.d/named dilemma

2009-08-22 Thread Nerius Landys
Thanks for the script. I found the underlying problem on my system. My server is at a data center and I don't know what kind of equipment the server is connected to. It appears that it takes 30 seconds for the networking to start. I added this script as /etc/rc.d/waitfornetwork, and enabled it

Re: /etc/rc.d/named dilemma

2009-08-22 Thread Nerius Landys
One last question. I'm getting interesting [kernel?] messages during bootup. You know, the kind that are highlighted white in the console. The relevant lines of rc.conf look like this right now: defaultrouter=64.156.192.1 hostname=daffy.nerius.com ifconfig_em0=inet 64.156.192.169 netmask

Re: /etc/rc.d/named dilemma

2009-08-22 Thread Nerius Landys
highlightedcalcru: runtime went backwards from 37332 usec to 16577 usec for pid 47 (sh).../highlighted Not to seem like I'm talking to myself, but I fixed this problem: http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/troubleshoot.html#CALCRU-NEGATIVE-RUNTIME (Turn off Intel® Enhanced

Re: /etc/rc.d/named dilemma

2009-08-22 Thread Nerius Landys
       I don't remember the original description, but any time I hear about a 30 second gap during startup, I think of the well-known DNS reverse look-up issue.  Are you sure this is not the case here? Indeed, I have forgotten to have the PTR record set up for my new IP address. However the

/etc/rc.d/named dilemma

2009-08-21 Thread Nerius Landys
I am trying to figure out why DNS lookups are not possible right after the named process has been launched (during bootup). I am kind of a newb at diagnosing these sorts of issues, but as an attempt to figure out what's wrong, I added the following lines to the very bottom of my /etc/rc.d/named:

/etc/rc.d/named dilemma

2009-08-21 Thread Nerius Landys
I am trying to figure out why DNS lookups are not possible right after the named process has been launched (during bootup). I am kind of a newb at diagnosing these sorts of issues, but as an attempt to figure out what's wrong, I added the following lines to the very bottom of my /etc/rc.d/named:

Re: Fixit mode (live CD): can't find /etc/rc.conf

2009-08-13 Thread Nerius Landys
fsck_ffs -p /dev/ad0s1a Thanks you so much for your genius information. My computer boots again! ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to

Fixit mode (live CD): can't find /etc/rc.conf

2009-08-12 Thread Nerius Landys
On my recently updated (as in world+ports are up-to-date) FreeBSD 6.4 box i tried to get Xorg running, and after building Xorg from ports and enabling hald and dbus in rc.conf, I get: Fatal trap 12: page fault while in kernel mode This happens when I boot. Now I'm trying to not start hald and

Re: Fixit mode (live CD): can't find /etc/rc.conf

2009-08-12 Thread Nerius Landys
By convention /etc should be on ad0s1a. If it's not, but /boot is there, you may need to fsck. Yeah, When I tired to mount ad0s1a, it gave me something like permission denied or bad superblock. How do I fix this with fsck from the live CD? ___

Re: ipfw, NAT and CISCO IPSec VPNs

2009-08-10 Thread Nerius Landys
I've got a pretty standard network which uses a FreeBSD server to perform NAT between my internal IPs (192.168.0.x) and the outside world.  Everything is working tickety-boo, but I'm trying to tweak my firewall rules (ipfw, based on the 'SsIiMmPpLlEe' firewall template in rc.firewall) to allow

Re: please help to uninstall FreeBSD!!!

2009-08-10 Thread Nerius Landys
My old desktop has FreeBSD that I have never used. One of the friends of my son installed it long ago, but no one used that PC since then. Now I want to get rid of this program and to install Windows. Every time when I boot this PC it prompts for a user login which I don't know. This guy

Network bridge, but assigned IP address

2009-08-09 Thread Nerius Landys
I am creating a simple network bridge (as described in http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/network-bridging.html) which consists of 5 network interface cards. Function-wise, it's basically acting as a switch. However, I want to assign an IP address to the machine with the 5

Re: Network bridge, but assigned IP address

2009-08-09 Thread Nerius Landys
To give the whole ensemble an IP address, simply set the IP on the bridge0 interface. I think you can do it most easily by adding this line, ipv4_addrs_bridge0=192.168.0.254/24 Indeed, that works well. ___ freebsd-questions@freebsd.org mailing list

  1   2   >