Re: Access guard

2013-07-07 Thread Christopher J. Umina
You could also use grok
(https://code.google.com/p/semicomplete/wiki/Grok also in ports) to
watch the logs and perform actions based on them.

On Sun, Jul 7, 2013 at 12:51 PM, Jos Chrispijn  wrote:
>All,
>Thanks for the replies, I will check them out!
>best regards,
>Jos Chrispijn
> ___
> 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"



-- 
Christopher J. Umina
ch...@uminac.com
781 354 0535
___
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: X client without X server

2013-07-04 Thread Christopher J. Umina
You can remove leaf ports using pkg_cutleaves once everything is
installed. You can even remove pkg_cutleaves with pkg_cutleaves if you
don't want it anymore.

On Wed, Jul 3, 2013 at 11:44 PM, Olivier Nicole
 wrote:
> Hi,
>
>> Just my 2ยข worth on this. Sure, one always wants to keep overhead low. But
>> the days of limited RAM, small hard drives, etc...are long since behind us.
>
> My concern is when portupgrade -a. The more ports on the system, the
> more likely the upgrade will fail. So I'd prefer to have as little
> unused ports as possible.
>
> Not to mention that security wise, having unused ports sitting there
> is not too good.
>
> Best regards,
>
> Olivier
> ___
> 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"



-- 
Christopher J. Umina
ch...@uminac.com
781 354 0535
___
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: NFS- SAN - FreeBSD

2009-07-21 Thread Christopher J. Umina

Grant,

DAS = Direct-Attached Storage, sorry to be confusing.

I cannot personally speak to the performance of FreeBSD's NFS, but I 
wouldn't expect it to be the bottleneck in the situation described.  
Maybe others with more experience could chime in on this topic.


The way to use a DAS is to connect the DAS to a server with an external 
SAS cable (or two).  The PERC6/E controller you would need inside the 
server is very well supported in FreeBSD.  The DAS system would 
basically act the same as internal disks would act (in the case of the 
MD1000).  Of course you'll want to check with Dell before you make any 
purchases to be positive that your hardware will all communicate nicely, 
as I'm no Dell salesperson.


Depending on how large of an array you plan to make (if larger than 2TB) 
you may have to investigate gpart/gpt to partition correctly, but that's 
quite simple in my experience.


Chris

Grant Peel wrote:

Chris,

Thanks for the insight!

I will defineately investigate that DAS ... although I am not (yet) 
sure what the acronym means, I am sure it is something akin to "Direct 
Access SCSI".


You are quite right, I would like to use NFS to connect the device to 
the 6 servers I have, again, it would be only hosting the /home 
partition for each of them. Do you know if there would be any NFS I/O 
slowdowns using it in that fassion? Would freebsd support (on the 
storage device) that many connections?


Also, do the Dell DAS machines run with FreeBSD?

Also, from you you explained, I doubt I really need the versatility of 
the SAN at this point, or in the near future. I simply want a mass 
/home storage unit.


-Grant

- Original Message - From: "Christopher J. Umina" 


To: "Grant Peel" 
Cc: 
Sent: Tuesday, July 21, 2009 5:43 PM
Subject: Re: NFS- SAN - FreeBSD



Grant,

I mean to say that often times external SCSI solutions (direct 
attached) are cheaper and perform better (in terms of I/O) than iSCSI 
SANs. Especially if you're using many disks.  SANs are generally 
chosen for the ability to be split into LUNs for different servers.  
Think of it as a disk which you can partition and serve out to 
servers on a per-partition basis, over Ethernet.  That's essentially 
what an iSCSI SAN does.  While DAS systems allow the same sort of 
configuration, they don't serve out over Ethernet, only SCSI/SAS.


Since you plan to use NFS to share the files to the other servers, I 
think it may make more sense for you to use a SCSI solution if yo 
don't need the versatility of a SAN.


Of course I know nothing of how you plan to expand this system, but 
from what I understand, with Dell DAS hardware it is possible to 
connect up to 4 different servers to the DAS and expand to up to 6 15 
disk enclosures. The MD3000i (iSCSI) expands only to 3.


Another issue is that without compiling in special versions of the 
iSCSI initiator, even in 8.0-BETA2 (which is not production-ready), 
iSCSI performance and reliability are terrible.  There are other 
versions of the code (which I currently use) for the iscsi_initiator 
kernel module, but unless you're comfortable doing that, you may 
consider DAS in terms of ease of implementation and maintenance as well.


Chris

Grant Peel wrote:

Chris,

I don't know what a direct attached array is.

What I was just thinking was move all of the servers /home directory 
to a huge NFS mount.


If you have the time to elaborate fursther, I would apprciate it...

This iSCSI think has me entrigued, but I must admit I know little 
about it at this point.


-Grant

- Original Message - From: "Christopher J. Umina" 


To: "Grant Peel" 
Sent: Monday, July 20, 2009 11:27 PM
Subject: Re: NFS- SAN - FreeBSD



Grant,

I have to ask, is there a reason you're intent on going with a SAN 
versus a direct-attached array?


Chris

Grant Peel wrote:

Thanks for the reply.

I have not used/investigated the iSCSI thing yet

The original question is can I just use an NFS mount to the 
storage's /home partition?


-Grant
  - Original Message -   From: mojo fms To: Grant Peel Cc: 
freebsd-questions@freebsd.org Sent: Monday, July 20, 2009 4:21 PM

  Subject: Re: NFS- SAN - FreeBSD


  You would be better off at least having the SAN on 1gb ethernet 
or even better tripple 1gb (on a 100mb switch should be fine but 
you need failover for higher avaliability) ethernet for latency 
and failover reasons with a hot backup on the network controller.  
I dont see why you could not do this, its just iscsi connection 
normally so there is not a big issue getting freebsd to connect to 
it.  We run 2 of the 16tb powervault which does pretty well for 
storage, one runs everything and the other is a replicated offsite 
backup.  Performance wise, it really depends on how many servers 
you have pulling data from the SAN and how hard the IO works on 
the current servers.  

Re: openldap24-client

2009-07-21 Thread Christopher J. Umina

What does:

pkg_info | grep openldap

say?

ajtiM wrote:

I di as instructions says but I got:

portmaster -r net/openldap24-client

===>>> No valid installed port, or port directory given
===>>> Try portmaster --help

If I use portupgrade nothing happened.

Thanks.

  

___
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: NFS- SAN - FreeBSD

2009-07-21 Thread Christopher J. Umina

Grant,

I mean to say that often times external SCSI solutions (direct attached) 
are cheaper and perform better (in terms of I/O) than iSCSI SANs.  
Especially if you're using many disks.  SANs are generally chosen for 
the ability to be split into LUNs for different servers.  Think of it as 
a disk which you can partition and serve out to servers on a 
per-partition basis, over Ethernet.  That's essentially what an iSCSI 
SAN does.  While DAS systems allow the same sort of configuration, they 
don't serve out over Ethernet, only SCSI/SAS.


Since you plan to use NFS to share the files to the other servers, I 
think it may make more sense for you to use a SCSI solution if yo don't 
need the versatility of a SAN.


Of course I know nothing of how you plan to expand this system, but from 
what I understand, with Dell DAS hardware it is possible to connect up 
to 4 different servers to the DAS and expand to up to 6 15 disk 
enclosures.  The MD3000i (iSCSI) expands only to 3.


Another issue is that without compiling in special versions of the iSCSI 
initiator, even in 8.0-BETA2 (which is not production-ready), iSCSI 
performance and reliability are terrible.  There are other versions of 
the code (which I currently use) for the iscsi_initiator kernel module, 
but unless you're comfortable doing that, you may consider DAS in terms 
of ease of implementation and maintenance as well.


Chris

Grant Peel wrote:

Chris,

I don't know what a direct attached array is.

What I was just thinking was move all of the servers /home directory 
to a huge NFS mount.


If you have the time to elaborate fursther, I would apprciate it...

This iSCSI think has me entrigued, but I must admit I know little 
about it at this point.


-Grant

- Original Message ----- From: "Christopher J. Umina" 


To: "Grant Peel" 
Sent: Monday, July 20, 2009 11:27 PM
Subject: Re: NFS- SAN - FreeBSD



Grant,

I have to ask, is there a reason you're intent on going with a SAN 
versus a direct-attached array?


Chris

Grant Peel wrote:

Thanks for the reply.

I have not used/investigated the iSCSI thing yet

The original question is can I just use an NFS mount to the 
storage's /home partition?


-Grant
  - Original Message -   From: mojo fms To: Grant Peel Cc: 
freebsd-questions@freebsd.org Sent: Monday, July 20, 2009 4:21 PM

  Subject: Re: NFS- SAN - FreeBSD


  You would be better off at least having the SAN on 1gb ethernet or 
even better tripple 1gb (on a 100mb switch should be fine but you 
need failover for higher avaliability) ethernet for latency and 
failover reasons with a hot backup on the network controller.  I 
dont see why you could not do this, its just iscsi connection 
normally so there is not a big issue getting freebsd to connect to 
it.  We run 2 of the 16tb powervault which does pretty well for 
storage, one runs everything and the other is a replicated offsite 
backup.  Performance wise, it really depends on how many servers you 
have pulling data from the SAN and how hard the IO works on the 
current servers.  If you have 100 servers you might push the IO a 
bit but but it should be fine if your not serving more than 2Mb/s 
out to everyone, the servers and disks are going to cache a fair 
amount of always used data.



  On Mon, Jul 20, 2009 at 11:52 AM, Grant Peel  
wrote:


Hi all,

I am assuming by the lack of response, my question to too long 
winded, let me re-phrase:


What kind of performance might I expect if I load FreeBSD 7.2 on 
a 24 disk, Dell PowerVault when its only mission is to serve as a 
local area storage unit (/home). Obviously, to store all users /home 
data. Throug an NFS connection via fast (100m/b) ethernet. Each 
connecting server (6) contain about 200 domains?


-Grant

- Original Message - From: "Grant Peel" 


To: 
Sent: Saturday, July 18, 2009 10:35 AM
Subject: NFS- SAN - FreeBSD



  Hi all,

  Up to this point, all of our servers are standalone, i.e. all 
services and software required are installed on each local server.


  Apache, Exim, vm-pop3d, Mysql, etc etc.

  Each local server is connected to the Inet via a VLAN (WAN), 
to our colo's switch.


  Each server contains about 300 domains, each domain has its 
own IP.


  Each sever is also connected to a VLAN (LAN) via the same 
(Dell 48 Port managed switch).


  We have been considering consolidating all users data from 
each server to a central (local), storage unit.


  While I do have active nfs's running (for backups etc), on the 
LAN only, I have never attempted to create 1 mass storage unit.


  So I suppose the questions are:

  1) Is there any specific hardware that anyone might 
reccommend? I want to stick with FreeBSD as the OS as I am quite 
comfortable admining it,


  2) Would anyone reccomend NOT using FreeBSD? Why?

  3) Assuming I 

Select Default Mirror (ports/pkg)

2005-07-22 Thread Christopher J. Umina
Hello all!

Is there a way I can change the server that ports downloads
distfiles/pkg_add downloads tbzs from by default from ftp.freebsd.org to
ftp13.freebsd.org?

Thank you in advance,
Chris


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


ccd without ccd.conf

2002-11-04 Thread Christopher J. Umina
Hey people,

Got a bit of a problem..  I made a ccd out of two drives, /dev/ad0e &
/dev/ad1e.  I put stuff on them and rebooted the server.  I forgot to write
out a /etc/ccd.conf.  Is there any way I can still mount the ccd after the
reboot?  Or is all hope lost?

Thanks,
Christopher J. Umina



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



ssh jail

2002-10-22 Thread Christopher J. Umina
Hi people..

Is there a way to jail user's sessions (telnet/ssh/ssh2) to their home
directories, but still allow them to use programs installed in the normal
PATH directories?

Thanks,
Christopher J. Umina



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: Limit Network Traffic APACHE 1.3

2002-09-23 Thread Christopher J. Umina

hmm..
mod_bandwidth sounds pretty wierd, and people are saying it doesn't work,
but nowhere can I find how to set a port in a pipe with dummynet..
Anybody know how to use it?

Do I have to rebuild my kernel?


On 24 Sep 2002, Duncan Anker wrote:

> On Tue, 2002-09-24 at 09:14, Christopher J. Umina wrote:
> > Does anybody know of these modules?  The ipfw thing would limit bandwidth
> > on the whole server unless I have a tun device, which I don't.  I want it
> > to be fast in the internal network, but not use too much of the speed
> > serving to the internet.
>
> Doesn't DummyNet allow you to specify which port to limit?
>
> Anyway, I think the module you want is (drum roll) mod_bandwidth
>
>


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: Limit Network Traffic APACHE 1.3

2002-09-23 Thread Christopher J. Umina

Does anybody know of these modules?  The ipfw thing would limit bandwidth
on the whole server unless I have a tun device, which I don't.  I want it
to be fast in the internal network, but not use too much of the speed
serving to the internet.

Thank you.

On Mon, 23 Sep 2002, Philip Hallstrom wrote:

> There are some apache modules that can do this to various extents, and I
> think you could use ipfw's dummynet as well.
>
> On Mon, 23 Sep 2002, Christopher J. Umina wrote:
>
> > Hey peoples,
> >
> > How can I limit Apache's use of network traffic?  I want to limit
> > it to somewhere around 50 Kb/s because it's a small server on a cable
> > connection.  Is that possible?  If so, how can I get it done?
> >
> >
> >             Thanks,
> > Christopher J. Umina
> >
> >
> > To Unsubscribe: send mail to [EMAIL PROTECTED]
> > with "unsubscribe freebsd-questions" in the body of the message
> >
>
>


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Limit Network Traffic APACHE 1.3

2002-09-23 Thread Christopher J. Umina

Hey peoples,

How can I limit Apache's use of network traffic?  I want to limit
it to somewhere around 50 Kb/s because it's a small server on a cable
connection.  Is that possible?  If so, how can I get it done?


Thanks,
    Christopher J. Umina


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



FTP Links

2002-09-20 Thread Christopher J. Umina

How can I make a symbolic link type thing that works in my FTP directory?
Is it possible without moving the files?  I hope somebody can help me.

Thank you,
Christopher J. Umina


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Install Ports

2002-07-22 Thread Christopher J. Umina

Hi,

I was just wondering if there were any way to install every port
in a given ports directory.  For instance I want to install all of the
things in the /usr/ports/Perl5 directory without doing a huge thing in
sysinstall.  Is there a better way?

Thanks,
Christopher J. Umina


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: Mp3 Tags

2002-07-22 Thread Christopher J. Umina

What does dowarn need to work?  I get errors because of it, what else do I
need to do?
Use::dowarn; ??

On Mon, 22 Jul 2002, Stijn Hoop wrote:

> On Mon, Jul 22, 2002 at 08:38:46AM -0400, Christopher J. Umina wrote:
> > Hi guys,
> >
> > Is there a command that I can use to strip the tags off of Mp3's?
> > I want to strip the ID3v1 and ID3v2 tags out.  Or does anybody have a clue
> > about how I could do it in C or C++?
>
> You could use the perl library /usr/ports/audio/p5-MP3-Info. The following
> snippet shows how I did it:
>
> # Now remove ID3v{1,2} tags
> my $tag = get_mp3tag($filename);
> if (defined($tag)) {
> # make a backup
> my $backupname = $filename . ".BAK";
> system("cp", $filename, $backupname);
> my $bytes = remove_mp3tag($filename, "ALL");
> if (!defined($bytes)) {
> # restore backup
> system("mv", "-f", $backupname, $filename);
> dowarn("could not remove ID3 tag from $path");
> } elsif ($bytes == -1) {
> # restore backup
> system("mv", "-f", $backupname, $filename);
> dowarn("no ID3 tag found in $path, should not happen");
> } else {
> system("rm", $backupname);
> dowarn("mp3 changed ($path): tag of $bytes bytes " .
> "removed");
> }
> }
>
> HTH,
>
> --Stijn
>
> --
> In the force if Yoda's so strong, construct a sentence with words in
> the proper order then why can't he?
>


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Mp3 Tags

2002-07-22 Thread Christopher J. Umina

Hi guys,

Is there a command that I can use to strip the tags off of Mp3's?
I want to strip the ID3v1 and ID3v2 tags out.  Or does anybody have a clue
about how I could do it in C or C++?

Thanks,
Christopher J. Umina


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



CCD

2002-07-18 Thread Christopher J. Umina

Hey guys and gals,

I'm just looking for an oppinion on using CCD for stripping on two
IDE drives.  Anybody have anything to say about performance, reliability,
manageability and so on?

Thanks A Lot,
Christopher J. Umina


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message