FreeBSD beastie plush toy?

2009-12-21 Thread Aleksandr Miroslav
Where can I purchase a FreeBSD beastie plush toy? Google reveals some very old links that no longer work. thanks, Alex ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any ma

portaudit php vulnerabilities

2009-12-25 Thread Aleksandr Miroslav
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? _

how often to update ports?

2012-03-30 Thread Aleksandr Miroslav
How often do you folks update your ports/packages. I was manging two servers for years for my personal web/email, and I've rarely gone for more than 3 months with any single package being not up to date, usually about once a month I would update all my ports. Recently, in the past few months or s

pcre library linking issues

2012-04-19 Thread Aleksandr Miroslav
I inadvertently updated my PCRE library and in the process broke a number of things that depended on the old library. I now have a number of binaries that look like this: /usr/local/bin$ $ ldd gtester gtester: libglib-2.0.so.0 => /usr/local/lib/libglib-2.0.so.0 (0x2809)

Re: pcre library linking issues

2012-04-19 Thread Aleksandr Miroslav
On Thu, Apr 19, 2012 at 11:28 AM, Lars Eighner wrote: > Create a symbolic link in the library so libpcre.so.0 points to > libpcre.so.1 Thank you, this worked. Alex ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo

shell scripting: grepping multiple patterns, logically ANDed

2012-06-27 Thread Aleksandr Miroslav
hello, I'm not sure if this is the right forum for this question, but here goes. I have the following in a shell script: #!/bin/sh if [ "$#" -eq "0" ]; then find /foo fi if [ "$#" -eq "1" ]; then find /foo | grep -i $1 fi if [ "$#" -eq "2" ]; the

Re: shell scripting: grepping multiple patterns, logically ANDed (solved)

2012-07-10 Thread Aleksandr Miroslav
On Sat, Jun 30, 2012 at 4:23 PM, Giorgos Keramidas wrote: > > Is there an easier/shorter way to do this? If there are 15 arguments > > supplied on the command line, I don't necessarily want to build 15 if > > statements. > > The solutions proposed so far are ok, if you really *have* to stick to a

upgrading apr from v0 to v1 via portupgrade?

2011-02-24 Thread Aleksandr Miroslav
I recently moved my server to a new box and in the process of doing that, I upgraded from FreeBSD 7.3 to 8.1. When I say I moved, I mean I backed up all my personal data (databases, config values, etc.), made a list of all packages, and installed an identical box with the same pacakges. Recently

src upgrading jails (no ezjail, no "service" jails)

2011-05-31 Thread Aleksandr Miroslav
I have 4 jails that are running 8.2-RELEASE that I would like to upgrade. The host system, which was also running 8.2-RELEASE, has been successfully upgraded to 8.2-p2. I have /usr/src ready with the new world and new kernel. I did not create the jails using ezjails, so I cannot use that utility

Re: src upgrading jails (no ezjail, no "service" jails)

2011-06-01 Thread Aleksandr Miroslav
On Wed, Jun 1, 2011 at 9:11 AM, Greg Larkin wrote: > > I have 4 jails that are running 8.2-RELEASE that I would like to > > upgrade. > > > > I did not create the jails using ezjails > > I did not create the jails using the "template" method > > You can do this: > cd /usr/src > make installworld DE

Re: src upgrading jails (no ezjail, no "service" jails)

2011-06-02 Thread Aleksandr Miroslav
On Wed, Jun 1, 2011 at 4:44 PM, Greg Larkin wrote: > Those commands will update the base system in the jail directory > "jaildir1" with the latest bits that were previously compiled with > "make buildworld". don't believe they will disturb any other data in > /usr/local, if that's what you are con

ports issue: delete upstream perl dependencies by mistake

2013-03-20 Thread Aleksandr Miroslav
I did something dumb I think with ports on my box. In the process of upgrading Perl, for every package that depended on Perl, via pkgdb, I somehow managed to delete the fact that the package depends on Perl itself. So now I have a bunch of packages that no longer reference Perl in it's upstream dep

which syslog??? (rsyslog? syslog-ng? or default?)

2011-01-07 Thread Aleksandr Miroslav
I have some boxes (about 40) that I was tasked with creating a centralized logging infrastructure for. I see in ports that we have several different versions of rsyslog, and syslog-ng. Is there any reason to use one or the other? Or should I just use the syslog that come with the base OS? thanks,

denyhosts, fail2ban, or something else?

2012-11-27 Thread Aleksandr Miroslav
Finally got sick of seeing tons of ssh break-in attempts in my logs. Am considering using denyhosts, or fail2ban. Anyone have any experience with these? I'm already using the AllowUsers facility of ssh to only allow specific users in, so I'm not overly concerned about the attempts. This is for a

microsoft windows help needed (DHCP server problems)

2010-05-10 Thread Aleksandr Miroslav
I'm running FreeBSD 8.0-RELEASE on my work PC. My organization runs largely Windows desktops with a sizable chunk of Mac OS X machines. Whenever a Windows/Mac connects to the Windows-based DHCP server, it not only does the normal DHCP functions (i.e. gets an IP), it also sets the hostname on the

FreeNAS file server...which hardware to choose?

2009-07-19 Thread Aleksandr Miroslav
I would like to setup a home fileserver running FreeNAS (which itself runs on FreeBSD 7.2). Can someone recommend hardware for this? I know I'd have to get 3 harddrives. Two will be at home running RAID1, and the third will be mirrored about once per quarter and brought offsite. What kind of RAID

Re: FreeNAS file server...which hardware to choose?

2009-07-19 Thread Aleksandr Miroslav
On Sun, Jul 19, 2009 at 5:42 PM, Aleksandr Miroslav wrote: > What kind of RAID chassis, computer system should I get for this setup? Would > a soekris be sufficient, or is that overkill? Or should I just buy a barebones headless desktop PC (Dell has them cheap now for $241) for thi

weird permissions on directories when installing ports through sudo

2009-02-19 Thread Aleksandr Miroslav
For the longest time, I have installed ports via the "sudo make install" or "sudo portupgrade" or "sudo portinstall" method and never had a problem. Recently, as of a few weeks ago, I started noticing that ports that were installed or upgraded were getting the wrong permissions. Not only were dir

upgrading 8.0 to 8.1, which tag to use?

2010-05-24 Thread Aleksandr Miroslav
I have a FreeBSD box running 8.0-RELEASE, that I would like to upgrade to 8.1 I am aware that 8.1 is not released yet, when 8.1-RELEASE is cut, I will rebuild at that point. My question is about which CVS tag to use. Should I use RELENG_8, or is there a RELENG_8_1 that I can use? thanks, Alex __

BSD equivalent of Linux's free(1)?

2010-08-18 Thread Aleksandr Miroslav
hello, I am looking for something on BSD that will give me the same info as free(1) in Linux. i.e. I would like to know the state of total/used/free memory and swap. I know there are a number of utilities in ports that will let me do this, I am however looking for something in the base system (if

Re: BSD equivalent of Linux's free(1)?

2010-08-18 Thread Aleksandr Miroslav
on wed, aug 18, 2010 at 1:04 pm, chris maness wrote: > Would not the info displayed in the command "top" suffice? Yes, "top -n 1" does (sort of) display the info I need. The swap portion gives me the same info as Linux free, the memory portion is more cryptic, I guess due to differences in how F

Re: BSD equivalent of Linux's free(1)?

2010-08-18 Thread Aleksandr Miroslav
On Wed, Aug 18, 2010 at 1:41 PM, RW wrote: > Is there any particular reason you want to know? Free memory isn't a > very meaningful concept in FreeBSD. I have a webserver that had it's Apache killed this morning. The box itself had been stable for several years, as well as the Apache instance. Th