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: 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

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

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

How to add proxy modules to Apache22 on FreeBSD 6.3

2008-01-10 Thread John Almberg
/mod_proxy_balancer.so Restart apache and you are ready to go! Wow! I wish I'd found this email sooner! -- John Websites for On-line Collectible Dealers Identry, LLC John Almberg [EMAIL PROTECTED] www.identry.com

No spam???

2008-01-14 Thread John Almberg
Last week I set up a brand new mail server with a combination of pf/ spamassassin/maildrop for spam filtering... Everything seems to work great. All real mail seems to be getting through. I monitored the spamd and maildrop logs during the first few days to make sure my very conservative

Re: No spam???

2008-01-15 Thread John Almberg
Identry, LLC John Almberg (631) 546-5079 [EMAIL PROTECTED] www.identry.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions

Re: No spam???

2008-01-16 Thread John Almberg
2008-01-14 09:30:37.074087500 rblsmtpd: 123.20.89.67 pid 72121: 451 http://www.spamhaus.org/query/bl?ip=123.20.89.67 Just one comment, in my installation of SpamAssassin, it reports in syslog as spamd, not at rblsmtpd. This looks like logs from the rblsmtpd program that is not SpamAssasin. As

Re: Three wishes of a wannabe developer

2008-02-09 Thread John Almberg
Bon dia, Rui (my wife is Brazillian) That is t he case of economics. In the logic of freesoftware I want make programs to fill that vacuum. Well, some of it. What I want to do are economic model ba sed simulators. I could do it in a spreadsheet, but I would rather make a n ice

Fwd: Three wishes of a wannabe developer

2008-02-09 Thread John Almberg
Identry, LLC John Almberg (631) 546-5079 [EMAIL PROTECTED] www.identry.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail

Does 'top' work on multi-processor systems?

2008-07-03 Thread John Almberg
I have a 3 month old server with two quad-core processors, 8G of RAM, and an array of fast hard drives. The two main applications are web server and mail server. There are only about 20 small-business websites and approx. 40 email accounts on the server. i.e., not much. In terms of actual

Why would it make such a difference to move mysqld to another machine?

2008-07-05 Thread John Almberg
I asked a question the other day about using top on a multi-processor machine. As a side note, I asked how mysqld could be consuming more than 100% of CPU power... last pid: 43730; load averages: 1.93, 2.64, 2.22 up 92+19:45:54 09:26:27 238

Fwd: Why would it make such a difference to move mysqld to another machine?

2008-07-06 Thread John Almberg
On Jul 6, 2008, at 4:58 AM, Matthew Seaman wrote: John Almberg wrote: Luckily, I have a pretty powerful machine sitting right next to my main webserver that I mainly use for backup. The two servers are directly connected to each other with a twisted ethernet cable, using extra NIC cards

Re: Why would it make such a difference to move mysqld to another machine?

2008-07-06 Thread John Almberg
When I go back and look at the original top output for the single machine I note that it's out of RAM. It looks to me like apache and mysqld were contending over memory. Can you explain this idea in more detail, Chris? I thought this TOP display indicated that there was still 2G free.

Re: Why would it make such a difference to move mysqld to another machine?

2008-07-06 Thread John Almberg
Since MySQL is clearly the bottleneck of the sites, I'd investigate why in the world apache2 needs 150M per process. Now that was a darn good question. I ran httpd -M and got a list of 60 loaded modules... duh. I said before I'm just a beginner Admin. I'm learning a lot, but some of these

Re: Why would it make such a difference to move mysqld to anothermachine?

2008-07-07 Thread John Almberg
Yes, that could be the case if the database was transferred by doing mysqldump on the first machine and then loading the dump on the second. This is indeed what I did. Odd that you ask this question, because my very first guess about this issue was that the database was corrupted in some

how to simulate a user's crontab?

2008-07-16 Thread John Almberg
I often run into permission problems with user crontabs. That is, a crontab run under a user's permissions. First of all, it seems to me that a user's crontab doesn't have exactly the same permission as the user himself. Is this true? If so, what permissions does a user's crontab have? Is

Re: how to simulate a user's crontab?

2008-07-16 Thread John Almberg
I'm guessing you're having problems with environment settings, although the vagaries of the question don't give me much to go on (something along the lines of, when I try to do x in cron, I get the error y; but it works fine when the user runs it outside of cron would be more informative.)

Re: how to simulate a user's crontab?

2008-07-16 Thread John Almberg
On Jul 16, 2008, at 10:03 PM, John Almberg wrote: I'm guessing you're having problems with environment settings, although the vagaries of the question don't give me much to go on (something along the lines of, when I try to do x in cron, I get the error y; but it works fine when the user

Re: how to simulate a user's crontab?

2008-07-17 Thread John Almberg
John, it is not a permissions issue, but rather a path issue. Do as the other poster suggested and run a cron job to dump the environment and you will see that the PATH inside a cron job is very rudimentary. Either add what you need to it in the crontab or cron job, or always use absolute paths

Fwd: how to simulate a user's crontab?

2008-07-20 Thread John Almberg
I use templates for most of the things I write, so I don't end up making the same stupid off-by-one mistakes for things like handling command-line arguments. My template for a production shell script is below. You raise a lot of interesting ideas Karl. I too am always looking

Controlling read access

2008-07-31 Thread John Almberg
I operate a server on which I am typically the only ssh user, but I do provide a small number of users ftp access. Each user has their own home directory. Currently all home directories have read permission set for 'other'. This means if I log in as one user, I can read and even download

Re: Controlling read access

2008-07-31 Thread John Almberg
What ftp server software are you using? For example, in proftpd, you simply add this line to /usr/local/etc/ proftpd.conf: DefaultRoot ~ and everyone is jailed into his own directory. It also seems the ftp daemon in the base system supports this through /etc/ftpchroot. If you are using

Re: keyboard!!

2008-08-03 Thread John Almberg
I suppose this is mentioning the obvious, but in case anyone thinks IBM Model M keyboards are hard to find, just check eBay. You can get them in good condition for around $25. Good condition meaning it will last another 10 years (at least.) -- John

Re: Controlling read access

2008-08-05 Thread John Almberg
On Jul 31, 2008, at 5:40 PM, Catalin Miclaus wrote: Hello John, If you are providing only FTP services for those users, perhaps you want to go for an FTP server that handles virtual users. I'm using pure-ftpd and it works great. Google will help you find some nice howto's for same. Hi

Re: Controlling read access

2008-08-06 Thread John Almberg
Hello John, There are some things that you can try. What if you connect from localhost and transfer files, is it still very slow? Try to disable TLS/SSL and see if this improve performance. Increase debug level and check the log for any errors. Well, I am learning lots about FTP :-) I

Re: Controlling read access

2008-08-06 Thread John Almberg
| Now I have just one major league problem: when I logged in as one of the | users, to test the connections, I discovered that I had SUPER POWERS. I | was able to delete any file that I could see, including ones that were | owned by root. Digging uncovered the fact that pure-ftpd runs with

Re: Controlling read access

2008-08-06 Thread John Almberg
| Hi Greg, | | I tried your sequence, but it didn't seem to work. Or, perhaps it worked | and the PRIVSEP option doesn't do what I expect it to. Logging in as a | normal user gives that user root privileges. | | This seems pretty scary to me. Not so bad, since the user is locked into |

Re: [OT] Re: apple mac laptop.

2008-08-08 Thread John Almberg
(And yes, while one can run FreeBSD just fine on a Macbook, Sahil is right that the question is off-topic for these lists. :-) Well, considering that they asked us (and NetBSD) for clues when they were porting OSX, it didn't seem like my post was *that* far Off! maybe

Re: [OT] Re: apple mac laptop.

2008-08-09 Thread John Almberg
I don't think it's far OT, either, since IMHO, Mac desktops and FreeBSD servers are the perfect, practical combination for many organizations, including my own. This might better be asked offlist, but there may be others like me who are clueless, and since you are familiar,

Re: Monitoring raid health with mpt

2008-08-12 Thread John Almberg
On Aug 11, 2008, at 5:51 PM, Chris Hastie wrote: I have a Dell PowerEdge 860 with SAS 5iR RAID controller and FreeBSD 6.2. The controller is configured for RAID 1. The controller is recognised as mpt0 and seen as a SCSI device da0. All seems to be working fine, but is there any way to tell if

Re: Mac RDP (Was: apple mac laptop)

2008-08-13 Thread John Almberg
On Aug 13, 2008, at 5:06 AM, Andrea Venturoli wrote: John Almberg ha scritto: I don't think it's far OT, either, since IMHO, Mac desktops and FreeBSD servers are the perfect, practical combination for many organizations, including my own. Since there seem to be a lot of expert here

Re: Best SMTP Gateway Program and Reporting Tools

2008-08-19 Thread John Almberg
On Aug 12, 2008, at 4:22 PM, Josh Kidd wrote: I just wanted to pose this question to the list on people's opinions as to what the best SMTP Gateway program (ie. Sendmail, Postfix, etc) is and what the best log analysis tool for that SMTP program is. I use qmail. Its touted to be very

Re: Best SMTP Gateway Program and Reporting Tools

2008-08-19 Thread John Almberg
On Aug 19, 2008, at 8:44 AM, Robby Balona wrote: John Almberg wrote: On Aug 12, 2008, at 4:22 PM, Josh Kidd wrote: I just wanted to pose this question to the list on people's opinions as to what the best SMTP Gateway program (ie. Sendmail, Postfix, etc) is and what the best log analysis

rotatelogs is rotating too quickly...

2008-08-20 Thread John Almberg
I'm a newbie admin and I've just figure out something that will be obvious to most on this list... that apache log files can get big, fast. I did a df for another reason the other day and was surprised to see my /var partition at 85% full. Anyway, I did some googling and decided to use

Re: rotatelogs is rotating too quickly...

2008-08-20 Thread John Almberg
That does not look like 5 Meg but 5 Minutes. I don't think so... From the man pages: CustomLog |bin/rotatelogs /var/logs/logfile 5M common This configuration will rotate the logfile whenever it reaches a size of 5 megabytes. ErrorLog

Fwd: rotatelogs is rotating too quickly...

2008-08-20 Thread John Almberg
John Almberg wrote: I'm a newbie admin and I've just figure out something that will be obvious to most on this list... that apache log files can get big, fast. What apache version you are using? rotatelogs syntax differ a lot between them. Version - Apache/2.2.6 (FreeBSD) mod_ssl

Fwd: rotatelogs is rotating too quickly...

2008-08-20 Thread John Almberg
On Aug 20, 2008, at 10:09 AM, Riaan Kruger wrote: On Wed, Aug 20, 2008 at 4:03 PM, John Almberg [EMAIL PROTECTED] wrote: That does not look like 5 Meg but 5 Minutes. I don't think so... From the man pages: CustomLog |bin/rotatelogs /var/logs/logfile 5M common

Re: rotatelogs is rotating too quickly...

2008-08-20 Thread John Almberg
Unfortunately, it's more complex than that... check out this list: ls -lt nes* -rw-r--r-- 1 root wheel 35846 Aug 20 10:19 nes.com-access.log. 2008-08-20-12_40_09 -rw-r--r-- 1 root wheel 10117 Aug 20 10:01 nes.com-access.log. 2008-08-20-13_56_42 -rw-r--r-- 1 root wheel284 Aug 20

Re: logrotate question

2008-08-20 Thread John Almberg
On Aug 20, 2008, at 8:48 AM, Rudi Kramer - MWEB wrote: Zbigniew Szalbot Sent: Wednesday, August 20, 2008 2:14 PM To: User Questions Subject: logrotate question Dear all, I am trying to use logrotate from ports and I am getting the following error. Can anyone offer any insight? Hi

Why the extra shells?

2008-08-30 Thread John Almberg
I just noticed something odd... When I type ps, I get the following: [on:~] ps PID TT STAT TIME COMMAND 30350 p0 Ss 0:00.03 -bash (bash) 30761 p0 R+ 0:00.00 ps 99069 p1 Is+0:00.01 /usr/local/bin/bash 79966 p3 Is 0:00.01 /usr/local/bin/bash 27050 p4 Is+

Re: Why the extra shells?

2008-08-30 Thread John Almberg
I'm wondering why I have all these shells running? Could it be because I close my SSH terminal without exiting, thus leaving bash in some sort of suspended state? I have tried to leave a shell suspended every which I way I can think of, but can't make it happen, so the problem doesn't

Re: Why the extra shells?

2008-09-01 Thread John Almberg
I have seen that when a script is running and it uses the bash shell. This is my main concern at the moment... I am wondering if I killed off an essential process when I killed off those shells... It doesn't seem like it, because everything seems to be working. I'd love to restart the

Re: which gray is best for print?

2008-09-06 Thread John Almberg
to freebsd-questions- [EMAIL PROTECTED] Websites for On-line Collectible Dealers Identry, LLC John Almberg (631) 546-5079 [EMAIL PROTECTED] www.identry.com

safest way to upgrade a production server

2008-09-07 Thread John Almberg
I'm a newbie admin, responsible for a half-dozen of freebsd servers, most of them production servers. We switched from Linux to Freebsd at the beginning of this year, so all of these servers were newly installed in Dec or Jan. I know I *should* be upgrading them, but so far I haven't had

Re: safest way to upgrade a production server

2008-09-08 Thread John Almberg
uname -a FreeBSD ***servername*** 6.3-PRERELEASE FreeBSD 6.3-PRERELEASE #1: Mon Dec 3 09:46:53 EST 2007 [EMAIL PROTECTED]:/usr/obj/usr/ src/sys/INET_ON amd64 oooh, that is a bit old I think. I chose this server as an example, because it's the oldest one. I didn't install the OS on

Re: which gray is best for print?

2008-09-08 Thread John Almberg
On Sep 7, 2008, at 6:22 PM, Bernt Hansson wrote: Polytropon skrev: Anyway, the best reading contrast - black on white - No. The best contrast is light yellow background with black letters. I play around with terminal colors occasionally (a great time waster) but the main colors I care

Re: safest way to upgrade a production server

2008-09-09 Thread John Almberg
Anyway, I guess what I should do is patch this to the latest 6.3 version? My strategy was to do a source-base upgrade to 6.3-RELEASE, and then use freebsd-update to apply critical patches. Freebsd-update only works on -RELEASE versions with generic kernels, but I find it much faster and easier

Re: safest way to upgrade a production server

2008-09-10 Thread John Almberg
maybe 6.3 had the drivers for the motherboard? I had that - I purchased a nice shiny newmotherbaord in 2007 but could not use it before 7.0R came out as the chips were not supported by 6.x. I chose not to use a CURRENT or RC version of 7, but to just wait. Possibly... the motherboard is an

mysql connection through ssl tunnel

2008-09-23 Thread John Almberg
I have two FreeBSD machines. One is a application server, the other a database server running mysql. These machines are in two different locations. I'd like to allow the application server to access mysql through an SSH tunnel. Being a newbie admin, I've never set up an SSH tunnel. I've

Re: mysql connection through ssl tunnel

2008-09-24 Thread John Almberg
On Sep 23, 2008, at 1:16 PM, Mel wrote: On Tuesday 23 September 2008 15:54:10 John Almberg wrote: I have two FreeBSD machines. One is a application server, the other a database server running mysql. These machines are in two different locations. I'd like to allow the application server

Best way to back up mysql database

2008-09-30 Thread John Almberg
First, I wanted to say how great this list is. I'm a newbie FreeBSD admin and, besides the Handbook and Absolute FreeBSD (which never seems to leave my desk), this list is the best resource I have. I just had a huge scare today... One of the websites on my server uses a large Mysql

Re: Best way to back up mysql database

2008-09-30 Thread John Almberg
On Tue, Sep 30, 2008 at 06:18:35PM -0400, John Almberg wrote: I just had a huge scare today... One of the websites on my server uses a large Mysql database. Somehow, one of the tables got corrupted today. Do you know if the table corruption was a result of 1) a MySQL bug

Re: Best way to back up mysql database

2008-09-30 Thread John Almberg
DATE=`date +%a` # echo $DATE # echo Backup Mysql database mysqldump -h localhost -u YOURSQLUSERID -pYOURPASSWORD YOURDATABASE /usr/somedirectory/somefile_$DATE.backup gzip -f /usr/somedirectory/somefile_$DATE.backup /usr/bin/at -f /usr/somedirectory/mysqlbackup.sh midnight Ah, a much

Re: Best way to back up mysql database

2008-10-01 Thread John Almberg
So, I thought I would post my ruby script for doing this backup... It's a little verbose for some tastes, but I like to be able to see what's happening in a script, blow by blow. This script rotates the backups according to the day of the month, so you get roughly 30 days backup. It also

thorny (for me) permissions problem

2008-10-07 Thread John Almberg
The following permissions problem has me stumped: 1. User A uploads a file (using ftp) to the server, into a directory called 'data' owned by user B. Permissions on directory set to allow this, like this: drwxrwxr-x 2 user_b user_b 512 Oct 7 08:40 data 2. A cron job, run by

Re: thorny (for me) permissions problem

2008-10-07 Thread John Almberg
On Oct 7, 2008, at 9:34 AM, Jeremy Hooks wrote: 4. however, after upload, the file has the ownership A:B (i.e, owned by A, group B) with permissions -rw-r--r--. So B does not have permission to delete the file. -rw-r--r-- 1 user_a user_b 154879 Oct 7 08:40 data_file.csv Hi John.

Re: thorny (for me) permissions problem

2008-10-07 Thread John Almberg
Well, thanks to Valintin, I did figure out how to change the umask for pure-ftpd. So now uploaded files have the permissions I wanted, even if they are not needed. Be careful with what you've done. If you changed the umask on the ftpd as a whole, then suddenly unrelated users are going

Firewall and FreeBSD ports

2008-10-10 Thread John Almberg
I just set up a new server with a very restricted PF configuration. One problem: I can no longer install software with ports (i.e, the / usr/ports collection.) I have to disable PF to do so. Obviously not a great solution. Am I correct in guessing that ports uses FTP to grab source files

Fwd: Firewall and FreeBSD ports

2008-10-10 Thread John Almberg
On Oct 10, 2008, at 2:41 PM, Jeremy Chadwick wrote: On Fri, Oct 10, 2008 at 06:54:32PM +0100, RW wrote: On Fri, 10 Oct 2008 09:51:16 -0700 Jeremy Chadwick [EMAIL PROTECTED] wrote: On Fri, Oct 10, 2008 at 12:45:04PM -0400, John Almberg wrote: I just set up a new server with a very restricted

Fwd: Firewall and FreeBSD ports

2008-10-10 Thread John Almberg
sh/bash: export FTP_PASSIVE_MODE=true Ah... because in passive mode, the client (my server) sets the data port, and my PF rules allow return data on the port used for the request. Okay... that makes sense, I think... (little by little, it sinks in...) -- John

Re: Firewall and FreeBSD ports

2008-10-10 Thread John Almberg
sh/bash: export FTP_PASSIVE_MODE=true csh: setenv FTP_PASSIVE_MODE true First off, this did solve the problem. Thank you, Jeremy. Now, as to the why... That's odd, because if you are running 7.x with a default settings, FTP_PASSIVE_MODE should be irrelevant to fetching distfiles - even

Re: Remote backups using ssh and dump

2008-04-04 Thread John Almberg
On Apr 4, 2008, at 1:59 PM, Paul Schmehl wrote: Has anyone done this? I'm presently using rsync over ssh, but I think dump would be better if it will work. I've been reading the man page, but I'm wondering if anyone is doing this successfully and would like to share their cmdline. I

Tinydns configuration... works, but no reverse dns

2008-04-04 Thread John Almberg
I am using tinydns on my FreeBSD server. Normal DNS lookups work fine, but I can't get reverse DNS to work. My colocation provider says they have delegated DNS to my name servers. If there is a way to independently verify this, I don't know how to do it, so I am taking their word for it.

Fwd: Remote backups using ssh and dump

2008-04-04 Thread John Almberg
Little did I know, when I posted this question, that I would receive such a wealth of information. I'm deeply appreciative of the community's willingness to share information and thank each and every one of your for your contributions. Now I have some reading to do. :-) I think

Re: Tinydns configuration... works, but no reverse dns

2008-04-04 Thread John Almberg
freesparky# dig +trace -x 66.111.0.194 That *is* handy. which does bring up the issue of why you refer to ns0 and ns1 in your question and your provider delegates to ns1, ns2, and ns3, the last of which doesn't appear to have an A record anywhere useful. Ah, ha... I gave my provider

Estimating bandwidth requirements for web/mail server

2008-04-16 Thread John Almberg
I have a FreeBSD web/mail server in a colocation facility. They offer many fixed and burstable bandwidth options. I am currently using 512Kbits fixed, which limits data transfer to around 64K up and down, simultaneously. This works okay at the moment, but I'm wondering how this will hold

Cron question

2008-04-24 Thread John Almberg
I have recently switched from Linux to FreeBSD for my web server. Absolutely love it, but am having one difficulty that is driving me bats... I wouldn't think that cron would run differently on BSD than Linux, but it seemingly does. I have a user crontab that runs a PHP script once a

Re: Cron question

2008-04-25 Thread John Almberg
...and invoking this wrapper from cron instead of trying to reset the shell and everything from within cron. You can test things by doing an su gs -c /bin/sh from a root login and then trying to run your wrapper, which will give you a minimum environment closer to what cron executes

Re: Cron question

2008-04-26 Thread John Almberg
On Apr 25, 2008, at 10:31 AM, John Almberg wrote: ...and invoking this wrapper from cron instead of trying to reset the shell and everything from within cron. You can test things by doing an su gs -c /bin/sh from a root login and then trying to run your wrapper, which will give

Re: logo

2008-06-03 Thread John Almberg
On Jun 2, 2008, at 5:48 PM, Frank Shute wrote: On Mon, Jun 02, 2008 at 06:57:00PM +, Pollywog wrote: On Monday 02 June 2008 15:58:55 [EMAIL PROTECTED] wrote: I agree completely, it's what got me over to BSD ! I am a little confused. I just see a sphere with horns on it that reminds

Re: internet slowdown

2008-06-18 Thread John Almberg
1. there are 2 servers involved and they both get affected so as you say, bill It sure sounds like a network issue, from the description of the symptoms. if it were a 7 issue, then there is no reason for them to be affected simultaneously - but if it is a network issue, they would experience

Re: New to FreeBSD

2008-06-21 Thread John Almberg
Interested in who uses FreeBSD and in what way FreeBSD is better than Linux for servers. Everyone else has tackled the book part of this question. I'll answer the second... I also switched from Linux to FreeBSD (Actually, the complete path was VAX Unix - MS-DOS - Windows - Linux -

Split or switch ssh pseudoconsole

2008-06-27 Thread John Almberg
I log into my remote server using ssh. As I understand it, this gets me into a pseudo terminal. Is there any I can easily switch to another pseudo terminal, in the same way you can switch to another virtual terminal if you are logged into a local machine? Even better, is there a way to

Re: Split or switch ssh pseudoconsole

2008-06-27 Thread John Almberg
John Almberg wrote: I log into my remote server using ssh. As I understand it, this gets me into a pseudo terminal. Is there any I can easily switch to another pseudo terminal, in the same way you can switch to another virtual terminal if you are logged into a local machine? Even better

Re: Split or switch ssh pseudoconsole

2008-06-27 Thread John Almberg
On Jun 27, 2008, at 6:12 PM, John Almberg wrote: John Almberg wrote: I log into my remote server using ssh. As I understand it, this gets me into a pseudo terminal. Is there any I can easily switch to another pseudo terminal, in the same way you can switch to another virtual terminal

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: 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

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

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 ___

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.

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

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: 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

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

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

<    1   2   3   >