failure - write_dma issue

2012-01-06 Thread John Almberg
One of my servers -- I believe running 6.x -- developed a HD problem last night. The console was displaying the following, over and over again: g_vfs_done():ad0s1d[WRITE(offset=970506240, length=-16384)error= 5 ad0: FAILURE - WRITE_DMA status=71READY,DMA_READY,DSC,ERROR error=4ABORTED

IP Address not working?

2011-03-25 Thread John Almberg
I have a Freebsd box that has had just one IP address for a long time. I am trying to add another to run a website with it's own IP, ssl cert, etc. I've added IP addresses to boxes before without problem, but either this box has a problem, or I've forgotten something important (probably the

Re: IP Address not working?

2011-03-25 Thread John Almberg
Well, I figured it out. There was another machine configured with the same address. I was pinging another machine, in other words. The address is in my address range, but it isn't one of my two machines in the rack, so I'm working with the colo guys to figure out what is sitting on my

Re: can't use godaddy SSL cert

2010-11-25 Thread John Almberg
Don't know if this applies, but I had to install the intermediate cert to get the godaddy Certs to work. You can download it from the gd website. -- John Sent from my iPhone, so may be a bit brief. On Nov 25, 2010, at 11:26, bluethundr bluethu...@gmail.com wrote: Hey list, I was having a

1 file system, 2 drives?

2010-07-26 Thread John Almberg
One of my clients has a server that hosts big public-access type videos. He started off with a separate 200G drive just for video storage (FreeBSD is on another drive). This video storage drive is mounted as /videos. He's just bought another drive, but now I'm thinking of what to do with

Re: 1 file system, 2 drives?

2010-07-26 Thread John Almberg
Volodymyr/Chuck, Is it possible to use the second drive to 'expand' the /videos file system? So it would miraculously look like a single 400G drive? The canonical way of doing this is to either create a RAID-0 concat or stripe volume. Wow, of course... I should have thought of

Re: 1 file system, 2 drives?

2010-07-26 Thread John Almberg
If you have hardware controller with RAID capabilities, using native RAID is better, otherwise look towards gvinum or maybe ccd; see also: I've just been reading up on RAID in my Absolute FreeBSD book, and it occurs to me that my client has a SCSI RAID drive chassis that he is using

Re: 1 file system, 2 drives?

2010-07-26 Thread John Almberg
John Almberg wrote: If you have hardware controller with RAID capabilities, using native RAID is better, otherwise look towards gvinum or maybe ccd; see also: I've just been reading up on RAID in my Absolute FreeBSD book, and it occurs to me that my client has a SCSI RAID drive chassis that he

Re: shrinking swap space

2010-07-10 Thread John Almberg
Robert Chuck, Thanks for your answers... they sound like good clues. I'll need to read up some more to understand the answers :-) Thanks! -- John ___ freebsd-questions@freebsd.org mailing list

shrinking swap space

2010-07-09 Thread John Almberg
Since my server locked me out last week because it was out of swap space, I've been monitoring the swap space every 4 hours. It started off with 3% used and little by little it has crept up to 17% this morning. I've been reading up on the subject in my two FreeBSD books (Absolute and

ssh_exchange_identification: Connection closed by remote host

2010-07-02 Thread John Almberg
Hi guys, Woke up this morning and discovered that one of my FreeBSD 7.2 servers was down. When I try to SSH into the box, I get this: ~ 510 $ ssh m...@my.example.com ssh_exchange_identification: Connection closed by remote host FTP doesn't work, either, but the DNS server on the machine

Re: ssh_exchange_identification: Connection closed by remote host

2010-07-02 Thread John Almberg
Christer Solskogen wrote: On Fri, Jul 2, 2010 at 12:52 PM, John Almbergjalmb...@identry.com wrote: ~ 510 $ ssh m...@my.example.com ssh_exchange_identification: Connection closed by remote host Locked account, maybe? I've tried several accounts and they all give the same

Re: ssh_exchange_identification: Connection closed by remote host

2010-07-02 Thread John Almberg
Bas Smeelen wrote: On 07/02/2010 01:28 PM, John Almberg wrote: Christer Solskogen wrote: On Fri, Jul 2, 2010 at 12:52 PM, John Almbergjalmb...@identry.com wrote: ~ 510 $ ssh m...@my.example.com ssh_exchange_identification: Connection closed by remote host

Re: ssh_exchange_identification: Connection closed by remote host

2010-07-02 Thread John Almberg
On that subject... does Ctrl-Alt-Del initiate an orderly shutdown? If you can't log in -- even on the console -- then rebooting is really your only option. Ctrl-Alt-Del should bring the system down cleanly if you haven't disabled that functionality. Otherwise, just toggle the power.

Re: ssh_exchange_identification: Connection closed by remote host

2010-07-02 Thread John Almberg
If you can't log in -- even on the console -- then rebooting is really your only option. Ctrl-Alt-Del should bring the system down cleanly if you haven't disabled that functionality. Otherwise, just toggle the power. The symptoms you're seeing could well be due to filesystem problems or to

Re: Add watermark to PDF

2010-06-02 Thread John Almberg
Thanks CP, Nathan, Kevin. You've given me some good places to start looking. -- John C. P. Ghost wrote: On Tue, Jun 1, 2010 at 4:15 PM, John Almbergjalmb...@identry.com wrote: So basically this script would have to read in the PDF and (ideally) a plain text file, and output a PDF with

Add watermark to PDF

2010-06-01 Thread John Almberg
I've just spent a couple hours googling for an answer to this question without success... This is probably a bit off topic, but this list seems to be able to come up with answers to questions that stump other lists, so... I would like to add a customized footer (a stamp or watermark) to an

Why does soft link in /var/log disappear?

2010-02-15 Thread John Almberg
I didn't make my /var partition big enough, way back when, and have had to move my /var/log/www directory to another partition. I did this by moving the directory, and then adding a soft link from /var/log to the moved directory, using something like: ln -s /home/wwwlog /var/log/www This

required apache22 modules

2010-01-07 Thread John Almberg
I'm installing Apache22 on a new server and for once, I'd like to install just the modules I need, instead of the default mess. I've been googling for this answer, but can't seem to find it: Are any apache modules *required*? Or can I just disable them all and then add them in as I need them?

cvsup blues

2010-01-04 Thread John Almberg
I am trying to update my ports collection on a new server using cvsup. I've added a mirror site to my ports-supfile, but keep getting the following error message: on# csup -g -L 2 /root/ports-supfile Parsing supfile /root/ports-supfile Connecting to cvsup7.us.FreeBSD.org Cannot connect to

Re: cvsup blues

2010-01-04 Thread John Almberg
The csup servers do have a rate-limiting feature on them. However, I think it gives a different error message than that. Operating not permitted makes it seem more like a networking issue on the local machine. Can you ping the IP? Firewall blocking outgoing ports? I pinged a few of the mirror

Re: cvsup blues

2010-01-04 Thread John Almberg
John Almberg wrote: I am trying to update my ports collection on a new server using cvsup. I've added a mirror site to my ports-supfile, but keep getting the following error message: on# csup -g -L 2 /root/ports-supfile Parsing supfile /root/ports-supfile Connecting to cvsup7.us.FreeBSD.org

Virtual box to do cross-browser testing

2009-11-16 Thread John Almberg
Anyone have experience using Sun's Virtual Box on FreeBSD? I am looking for a way to run virtual Windows machines to do cross-browser testing... Don't need sound card or anything complex... if I can get it working good enough to have access to IE 6, 7, and 8 (with 3 different virtual boxes,

Re: Virtual box to do cross-browser testing

2009-11-16 Thread John Almberg
Jonathan Chen wrote: On Mon, Nov 16, 2009 at 11:02:59AM -0500, John Almberg wrote: Anyone have experience using Sun's Virtual Box on FreeBSD? I am looking for a way to run virtual Windows machines to do cross-browser testing... I've been using it to do some .NET programming, and it's been

Re: Fwd: upgrading remote server

2009-10-19 Thread John Almberg
Okay! After a lot of googling/reading I successfully upgraded to 7.2, now I'm trying to upgrade ports... I ran portmaster -L and got a long list of ports that need upgrading... From my reading, it seems like the only way to do this is to go through the list, one by one, and either (1) delete

upgrading remote server

2009-10-18 Thread John Almberg
I just reinstalled a server that was out for repair. It's on the network in the data center, but no applications are running on it, yet. I thought this would be a perfect time to upgrade the OS. It's currently running 6.2 Release, I want to bring it up to 7.2 Release. I'd like to do this

Re: upgrading remote server

2009-10-18 Thread John Almberg
I've been reading the upgrade chapter in Absolute FreeBSD, and it seems like the best option is to download the source files for 7.2 and upgrade from sources. I've done it several times via ssh between major and minor versions without any problems. You should read /usr/src/UPDATING for any

Re: Fwd: upgrading remote server

2009-10-18 Thread John Almberg
Jeronimo Calvo wrote: quiet interesting that serial port thingy! do you know the name of it btw? I will be interested to install on of them... and start saving some money going to my office :D when i can not use even ssh... I had to look it up... Here's what I have:

Re: Fwd: upgrading remote server

2009-10-18 Thread John Almberg
My build-world is finally done, so going to see if it works, now... H'mmm... I have a question about the kernel configuration file... I am currently using a customer kernel. Unfortunately, this machine was installed by someone before my time, so I don't know the details. Can I make a 7.2

Re: Fwd: upgrading remote server

2009-10-18 Thread John Almberg
The 7.2 GENERIC kernel includes PF, but not ALTQ. Okay, that's good to know. Thanks. Well, I was able to boot the new kernel in single user mode, but when I tried to run mergemaster -p, it couldn't find mergemaster. It looks like only one file system is mounted... nothing in /usr for

Re: Fwd: upgrading remote server

2009-10-18 Thread John Almberg
After you boot into single user mode, type mount -a. Then cd to /usr/src and run mergemaster -p. This worked, thanks. mergemaster -p then ran fine with no errors, but when I tried 'make installworld', it stopped on this error: --

Re: reducing size of apache instances

2009-09-11 Thread John Almberg
Ivan Voras wrote: There is another thing you can try. Judging from the process size you've given it looks like you are not using PHP or a similar Apache module. Also, you didn't specify anything so I assume you are using the default configuration, which operates in prefork mode - MPM_PREFORK,

Re: reducing size of apache instances

2009-09-11 Thread John Almberg
PHP is incredibly buggy and will in all probability break Apache if you try running it in threaded mode. That doesn't sound so good. As a sanity check... I've been studying these processes all morning. When I use 'top', the column RES shows the amount of RAM used for the process, correct?

Re: reducing size of apache instances

2009-09-11 Thread John Almberg
Linda Messerschmidt wrote: On Fri, Sep 11, 2009 at 1:48 PM, John Almbergjalmb...@identry.com wrote: As a sanity check... I've been studying these processes all morning. When I use 'top', the column RES shows the amount of RAM used for the process, correct? This is the value I'd like to get

Re: reducing size of apache instances

2009-09-11 Thread John Almberg
You've misunderstood what you've done. You have not saved a couple of MB, you've saved one. Of the 18 MB, nearly all of it is shared memory which is only loaded once. Ah... Okay. That actually makes sense. Thanks for the clarification. 1GB web server is more than enough for basic www

Re: reducing size of apache instances

2009-09-11 Thread John Almberg
In this case you don't want to look at processes with big RES, you want to find processes with a big difference between RES and SIZE and/or the ones with flat-out largest SIZE. Try sorting top by SIZE and see what bubbles up. (Ignore rpc.statd if it's running.) Huh... okay. That's

reducing size of apache instances

2009-09-10 Thread John Almberg
My Apache 2.2 instances are running about 18 Meg each. I've been thinking about doing something to trim these down, and I think tomorrow is the day to take action. They are getting out of hand. I've done a bit of research on this. I think the way to get started is to eliminate unused modules.

measuring mysql usage

2009-08-31 Thread John Almberg
Anyone know of a tool that can measure mysql usage per mysql user? My database is getting hammered by something, but I'm having a hard time figuring out what. It seems to come and go. Perhaps I have one or two websites that are just getting a lot of traffic, and maybe they just need their

Re: measuring mysql usage

2009-08-31 Thread John Almberg
Check out mTop. http://mtop.sourceforge.net/ Okay, got this running from ports. Cool tool, but after reading the man page and fooling around with it for a bit, I don't see how you can monitor usage by user with it. Am I missing something? -- John ___

Can partitions span more than one drive?

2009-08-26 Thread John Almberg
Now that I've got my rsnapshot backup server working beautifully, backing up several servers to a central backup server (I like this a lot), I have a problem... I built my backup server from a machine I had lying around. It has two 140G hard drives. I dedicated one drive to a /backup

Re: What should be backed up?

2009-08-24 Thread John Almberg
If you have any databases or ldap service, then you want to add those as well, but it is recommended to dump these rather than backup the files themselves. I'm learning a lot from this thread. Thanks for all the suggestions. The paragraph above raises one more question... how to use the

Newbie discovers two useful apps...

2009-08-24 Thread John Almberg
Even after a year or so of administering a number of FreeBSD servers, I still consider myself to be a newbie (see my various posts for evidence of this fact!) I've been hoping to have something useful to contribute back, and I suddenly realized there are probably newbies that are even

What should be backed up?

2009-08-21 Thread John Almberg
I am currently using rsnapshot to back up these directories on a FreeBSD 7.2 webserver: /etc /usr/home /usr/local /var/cron These directories contain all the data and config files that I use... I think... Question: am I missing anything crucial? Thanks: John

Re: What should be backed up?

2009-08-21 Thread John Almberg
QUOTE My general advice is to back up everything and then explicitly excluding those things that you know that you don't need. Here is my exclude list from my rsnapshot.conf exclude /var/log exclude /var/tmp exclude /usr/obj exclude /usr/ports/distfiles

Re: svn+ssh server only

2009-07-28 Thread John Almberg
So the only one you had marked was the svnserve-wrapper ? in Make config No, I just used the default config. You don't need svnserve-wrapper (what ever that is). You just run svnserve as a daemon, and access it like svn://host.name/project/trunk/ Note the importance of PF to control

Re: limit to number of files seen by ls?

2009-07-27 Thread John Almberg
understanding what is going on. I'm reading up on this, and as soon as I know enough to either understand the issue, or ask an intelligent question, I will do so... When a program is executed with arguments, there is a system imposed limit on the size of this argument list. On FreeBSD this

Re: svn+ssh server only

2009-07-27 Thread John Almberg
On Jul 26, 2009, at 7:35 PM, Kalle Møller wrote: Hi I'm trying to make a ssh+svn server only (apache is installed, but that is for view.vc) For what its worth, I just built a new svn server (to replace my old apache-based svn server that should have been replaced years ago, but it

Re: limit to number of files seen by ls?

2009-07-26 Thread John Almberg
On Jul 26, 2009, at 4:45 AM, Mel Flynn wrote: On Saturday 25 July 2009 23:34:50 Matthew Seaman wrote: It's fairly rare to run into this as a practical limitation during most day to day use, and there are various tricks like using xargs(1) to extend the usable range. Even so, for really

limit to number of files seen by ls?

2009-07-22 Thread John Almberg
I seem to have run into an odd problem... A client has a directory with a big-ish number of jpgs... maybe 4000. Problem is, I can only see 2329 of them with ls, and I'm running into other problems, I think. Question: Is there some limit to the number of files that a directory can

Re: SSO solution in ports?

2009-07-17 Thread John Almberg
to John Almberg jalmb...@identry.com: I am trying to build a set of web applications that are accessed through a web portal that uses a Single Sign On (SSO) solution. Problem is, there are MANY competing SSO solutions. Since building the client side of the SSO system is more than enough for me, I

SSO solution in ports?

2009-07-16 Thread John Almberg
I am trying to build a set of web applications that are accessed through a web portal that uses a Single Sign On (SSO) solution. Problem is, there are MANY competing SSO solutions. Since building the client side of the SSO system is more than enough for me, I was wondering if there are any

Should DNS be on same server as webserver?

2009-07-13 Thread John Almberg
The other day, a FreeBSD 'expert' told me that it is important to have the DNS server for a domain on the same server as the domain's web server. Supposedly, this saves doing tons of DNS look ups over the network. Instead, they are done locally. This makes sense to me, but I wonder if the

Re: Should DNS be on same server as webserver?

2009-07-13 Thread John Almberg
On Jul 13, 2009, at 3:05 PM, Mel Flynn wrote: On Monday 13 July 2009 08:36:42 John Almberg wrote: The other day, a FreeBSD 'expert' told me that it is important to have the DNS server for a domain on the same server as the domain's web server. Supposedly, this saves doing tons of DNS look ups

Re: Should DNS be on same server as webserver?

2009-07-13 Thread John Almberg
On Jul 13, 2009, at 6:27 PM, Karl Vogel wrote: On Mon, 13 Jul 2009 13:03:24 -0400, Jon Radel j...@radel.com said: J Apache and Bind have both had their security issues over the years, and J there's something to be said for running them on different servers to J reduce both the all eggs

Re: Compact Freebsd 'appliance'

2009-06-19 Thread John Almberg
On Jun 18, 2009, at 7:59 PM, Charlie Kester wrote: On Thu 18 Jun 2009 at 14:18:21 PDT Tim Judd wrote: I've read reports (and forgotten it's source since then) that some Intel Atom processors work well, some don't with FreeBSD. This was something I read within a couple months, so I would see

Re: Compact Freebsd 'appliance'

2009-06-19 Thread John Almberg
I have a couple of Via Artigo a2000 boxes, one running FreeBSD-STABLE (post 7.2) and the other running FreeNAS. Both work well. I've seen posts from one fellow who's tracking a bug with the vge interface under very heavy load, but both of mine stream music and do Time Machine backups via

Compact Freebsd 'appliance'

2009-06-18 Thread John Almberg
I have a client who has an application that he wants to deploy in his customer's offices as a headless 'appliance'. Basically, just a black box that you can plug into a Lan, turn it on, and it runs. No floppy disk or CD, no monitor/keyboard, just remotely managed. This application won't

Re: Compact Freebsd 'appliance'

2009-06-18 Thread John Almberg
There was a discussion on this a few days ago. I happen to have one of these Atom based systems, a Shuttle X27D: CPU: Intel(R) Atom(TM) CPU 330 @ 1.60GHz (1596.01-MHz 686-class CPU) Origin = GenuineIntel Id = 0x106c2 Stepping = 2

Re: Terminal / vim / shortcuts

2009-06-14 Thread John Almberg
I edit python code in vim using Terminal on xfce. I find myself, not surprisingly, having to exit insert mode and save changes frequently (when making code changes and wishing to test the immediate effects of the changes in a separate terminal). This requires pressing 4 keys: esc, :, w,

Re: PDF inventory software

2009-06-09 Thread John Almberg
On Jun 8, 2009, at 5:17 PM, Daniel Underwood wrote: I'm looking for a way to manage my personal collection of research articles. Ideally I'd like some way to keep records on authors, keywords, journals, and publication years of articles (PDF files) downloaded onto my local drive. In the

Re: What server hardware are you buying from the big companies these days?

2009-06-08 Thread John Almberg
Hi, I need to buy some new servers, and mgmt has decreed that we get them from someplace which will provide service contracts with on-site h/w suppport, which means HP, Dell, Sun, IBM, etc. I have two Intel servers that I like a lot. I don't have on-site support, but it might be

Re: Backing up FreeBSD and other Unix systems securely

2009-05-18 Thread John Almberg
Is there any possibility of using your own media locally - such as tape or a large USB attached disk?If security is such a primary concern, I can't see sending the data to that type of offsite thing. Get a couple of large USB SATAs and use dump(8) to back the stuff up on them.Write them

Re: [pure-ftpd] Security Scan question

2009-05-02 Thread John Almberg
On May 2, 2009, at 8:50 AM, Frank Denis wrote: Hello Josh, Le Fri, May 01, 2009 at 08:55:10AM -0500, Josh Trutwin ecrivait : Because I programmed a custom cart solution for one of my customers, their merchant account is doing a monthly server scan to check for known vulnerabilities.

Re: Is it necessary to generate a new SSL request each year?

2009-04-30 Thread John Almberg
You can reuse the old one. I'm not an expert on these, but it was my understanding that certificates carry in internal expiration date after which the application may respond as it pleases. Yes, but the *request* does not. Also, if using openssl, just set the defaults in /etc/ssl/

Is it necessary to generate a new SSL request each year?

2009-04-29 Thread John Almberg
When buying a new SSL cert, I've been generating a new request each year... I am just about to buy another and it occurred to me that I'm entering the same info. Do I really need a new request file each year? Or can I just reuse the same one (presuming none of the info has changed.) --

Sorting out owner and group permissions...

2009-04-20 Thread John Almberg
I have a directory called 'scans' that is owned by 'master', but I want to allow 'customer' to FTP images to that directory. This is the way I have permissions set: # ls -l drwxrwxr-x 5 master customer 251904 Apr 20 10:29 scans The problem is that when customer ftp's a file to the

Re: Sorting out owner and group permissions...

2009-04-20 Thread John Almberg
On Apr 20, 2009, at 2:48 PM, John Almberg wrote: I have a directory called 'scans' that is owned by 'master', but I want to allow 'customer' to FTP images to that directory. This is the way I have permissions set: # ls -l drwxrwxr-x 5 master customer 251904 Apr 20 10:29 scans

Upgrading from 6.3 to 7.1 -- how dangerous?

2009-04-19 Thread John Almberg
I need to upgrade a live, production server from 6.3 to 7.1. I can't afford to have any troubles with this server. I have Absolute FreeBSD and a few other BSD books, and the upgrade process looks fairly straightforward. That's the theory... Real world question: how scared should I be?

where to grab source tarball?

2009-04-15 Thread John Almberg
I'm trying to upgrade FreeBSD from source, but my /usr/src directory is empty. Absolute FreeBSD glibly says to grab the source tarball from a FreeBSD mirror. I found a list of mirrors here: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/mirrors- ftp.html But it isn't clear to

Re: where to grab source tarball?

2009-04-15 Thread John Almberg
On Apr 15, 2009, at 4:10 PM, John Almberg wrote: I'm trying to upgrade FreeBSD from source, but my /usr/src directory is empty. Absolute FreeBSD glibly says to grab the source tarball from a FreeBSD mirror. Never mind. I figured out how to do this using csup, which will help with later

How to diagnose hardware problem?

2009-04-13 Thread John Almberg
I have what looks like a hardware problem with an Intel 1U server, which I am using mainly as a mysql database server for some of my bigger website clients. The server went down last week with a badly corrupted file system. After spending a day trying to fix the file system, we gave up and

Re: How to diagnose hardware problem?

2009-04-13 Thread John Almberg
First things first; if the machine is still in warranty, don't mess with it but send it back to the manufacturer and demand a replacement. It is in warranty and I am following their process. I'm hoping to short-circuit that process by finding the problem on my own, if possible. Plus,

Fwd: How to diagnose hardware problem?

2009-04-13 Thread John Almberg
On Apr 13, 2009, at 2:32 PM, Wojciech Puchar wrote: The database ran well for about 2 minutes, then the server crashed again. The filesystem was again corrupted so badly that we could not even log in to look at the logs. did memtest? it looks like it's fine until you stress your hardware

Re: C programming question

2009-04-07 Thread John Almberg
On Apr 7, 2009, at 5:41 AM, Valentin Bud wrote: Hello community, I have built with a micro controller a system of power plugs that can be controlled through the serial port. I have 2 plugs that i can start/stop and check the status of them. This is accomplished by sending different

Re: low-level format before install?

2009-04-07 Thread John Almberg
On Apr 7, 2009, at 3:37 PM, Chuck Swiger wrote: On Apr 7, 2009, at 12:15 PM, John Almberg wrote: Well, I've got real problems with that database server that lost power over the weekend. We reloaded FreeBSD from scratch and then reinstalled mysql, and pf. I loaded up my database

low-level format before install?

2009-04-07 Thread John Almberg
Well, I've got real problems with that database server that lost power over the weekend. We reloaded FreeBSD from scratch and then reinstalled mysql, and pf. I loaded up my database and switched over all my customer's websites. The database server ran fine for about 2 minutes, and then

Re: low-level format before install?

2009-04-07 Thread John Almberg
Thanks for all the tips. At least I have something to start with. The guys in the data center reinstalled FreeBSD (the filesystem was totally corrupted again), and then ran what they called SMART test, which might be smartctl, and said the hard drives look good. I am now able to get back

Re: how to recover after power outage

2009-04-06 Thread John Almberg
Check the machine-hostname.err file when you manually try and start MySQL. Provided that you have mysql_enable=YES in /etc/rc.conf you should be able to manually attempt to start with /usr/local/etc/rc.d/mysql-server start (it seems to work reliably when you type out the entire command path-

How to remove all files with a certain extension

2009-04-06 Thread John Almberg
This is a real newbie question, but I can't figure it out... I want to remove all .tar files from a directory tree. I think something like the following should work, but I must have something wrong, because it doesn't: find . -name *.tar -exec rm /dev/null {} \; What am I doing wrong?

Re: How to remove all files with a certain extension

2009-04-06 Thread John Almberg
On Apr 6, 2009, at 4:57 PM, John Almberg wrote: This is a real newbie question, but I can't figure it out... I want to remove all .tar files from a directory tree. I think something like the following should work, but I must have something wrong, because it doesn't: find . -name *.tar

Re: How to remove all files with a certain extension

2009-04-06 Thread John Almberg
On Apr 6, 2009, at 5:11 PM, Dan Nelson wrote: In the last episode (Apr 06), John Almberg said: This is a real newbie question, but I can't figure it out... I want to remove all .tar files from a directory tree. I think something like the following should work, but I must have something

How big can a tar file get?

2009-04-06 Thread John Almberg
Because of a big problem I had this weekend, I need to do an emergency backup. I'm basically just creating a tar file of my /home directory. My question: how big can a file get on FreeBSD? This tar.gz file is already 5G. Hard drive space is no problem, but as I'm watching this file grow,

Re: How big can a tar file get?

2009-04-06 Thread John Almberg
On Apr 6, 2009, at 7:28 PM, Adam Vandemore wrote: John Almberg wrote: Because of a big problem I had this weekend, I need to do an emergency backup. I'm basically just creating a tar file of my / home directory. My question: how big can a file get on FreeBSD? This tar.gz file is already

Re: How big can a tar file get?

2009-04-06 Thread John Almberg
With the default blocksize (16384) UFS2 can deal with files up to 128TB. However traditional tar only supports up to 8GB while the newer ustar format goes up to 64GB. It seems that at least on 7.x tar creates ustar archives by default Well, I'm already past 10GB, so good thing I'm on

how to recover after power outage

2009-04-05 Thread John Almberg
Blast... my beautiful FreeBSD servers were rudely switched off when my data had a power outage a couple hours ago. They restored power about 30 minutes later, and one box came up no problem. The other has a login prompt on the serial console, but my login does not work. I get a Login

Re: how to recover after power outage

2009-04-05 Thread John Almberg
On Apr 5, 2009, at 4:41 AM, Glen Barber wrote: On Sun, Apr 5, 2009 at 2:59 AM, John Almberg jalmb...@identry.com wrote: Blast... my beautiful FreeBSD servers were rudely switched off when my data had a power outage a couple hours ago. They restored power about 30 minutes later, and one

Re: how to recover after power outage

2009-04-05 Thread John Almberg
The main app is MySQL. I don't think it is running, but can't really tell unless I can log in. I have backups, and while NYI is trying to get this box running, I'm setting up a new database server, just in case... If you were lucky having the guys at NYI login to single user mode at the

Re: how to recover after power outage

2009-04-05 Thread John Almberg
On Apr 5, 2009, at 2:10 PM, Michael Powell wrote: John Almberg wrote: [snip] Okay, so the machine is back online and I can log in again. The hardware is only 18 months old or so... good quality stuff, so hopefully nothing is physically damaged. We'll see... Unfortunately, mysql isn't

Re: utility that scans lan for client?

2009-03-24 Thread John Almberg
I suspect that you don't have a switch that can port 'mirror' or 'span'. If you do, let us know. Otherwise, if you *really* want to find out what is on your switched Ethernet network, and nmap/arp etc. isn't enough, then I'd recommend an application called 'ettercap'. It runs on the CLI, and

utility that scans lan for client?

2009-03-23 Thread John Almberg
I've tried googling for this, but I guess I don't know the name of a utility such as this... What I'm looking for is a utility that can scan a LAN for attached clients... i.e., computers that are attached to the LAN. I have one box (an appliance that I have no access to), that is on the

Re: utility that scans lan for client?

2009-03-23 Thread John Almberg
On Mar 23, 2009, at 3:10 PM, Mel Flynn wrote: On Monday 23 March 2009 19:59:36 John Almberg wrote: I've tried googling for this, but I guess I don't know the name of a utility such as this... What I'm looking for is a utility that can scan a LAN for attached clients... i.e., computers

Re: utility that scans lan for client?

2009-03-23 Thread John Almberg
On Mar 23, 2009, at 3:19 PM, David Kelly wrote: On Mon, Mar 23, 2009 at 02:59:36PM -0400, John Almberg wrote: I've tried googling for this, but I guess I don't know the name of a utility such as this... What I'm looking for is a utility that can scan a LAN for attached clients... i.e

links vs real directories

2009-03-16 Thread John Almberg
I always thought that links to real directories were pretty much the same as real directories, but I've just discovered a situation where they are not and I'm wondering if I'm doing something wrong... I have a Ruby on Rails application running on a FreeBSD server. All Rails apps use the

Re: links vs real directories

2009-03-16 Thread John Almberg
On Mar 16, 2009, at 11:22 AM, John Almberg wrote: I always thought that links to real directories were pretty much the same as real directories, but I've just discovered a situation where they are not and I'm wondering if I'm doing something wrong... I have a Ruby on Rails application

Re: links vs real directories

2009-03-16 Thread John Almberg
On Mar 16, 2009, at 11:39 AM, Erik Trulsson wrote: On Mon, Mar 16, 2009 at 11:22:13AM -0400, John Almberg wrote: I always thought that links to real directories were pretty much the same as real directories, but I've just discovered a situation where they are not and I'm wondering if I'm

Re: links vs real directories

2009-03-16 Thread John Almberg
On Mar 16, 2009, at 11:47 AM, John Almberg wrote: On Mar 16, 2009, at 11:39 AM, Erik Trulsson wrote: On Mon, Mar 16, 2009 at 11:22:13AM -0400, John Almberg wrote: I always thought that links to real directories were pretty much the same as real directories, but I've just discovered

Re: / partition full

2009-03-13 Thread John Almberg
On Mar 13, 2009, at 8:46 AM, Bill Moran wrote: In response to Wojciech Puchar woj...@wojtek.tensor.gdynia.pl: good lesson to NOT make multiple partitions :) And when a rogue app fills up /var and kills 4 other apps that could have kept going ... are we then learning conflicting lessons?

Battery powered, SBC that can run BSD

2009-03-05 Thread John Almberg
Hope this isn't too off topic... And I'm not sure of my terminology... I'm looking for a small, single board computer that can run for a week or two on batteries (so very low power drain), topped up by solar cells when the sun is out, and that can run some sort of unix... preferably one of

Re: Battery powered, SBC that can run BSD

2009-03-05 Thread John Almberg
On Mar 5, 2009, at 9:12 AM, George Davidovich wrote: soekris.com Nice. Thanks. -- John ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to

tab-delimited to csv

2009-02-16 Thread John Almberg
Can anyone suggest a way to convert a tab-delimited file to csv using standard unix utilities? I could whip up a Ruby script to do it, but I hate to reinvent the wheel. Thanks: John ___ freebsd-questions@freebsd.org mailing list

  1   2   3   >