Re: file corruption solution (soft-update or ZFS)

2013-05-25 Thread Paul Kraus
On May 23, 2013, at 11:09 AM, Michael Sierchio ku...@tenebras.com wrote:

 On Thu, May 23, 2013 at 5:33 AM, Warren Block wbl...@wonkity.com wrote:
 
 ..
 
 One thing mentioned earlier is that ZFS wants lots of memory.  4G-8G
 minimum, some might say as much as the server will hold.
 
 
 Not necessarily so - deduplication places great demands on memory, but that
 can be satisfied with dedicated cache devices (on SSD for performance and
 safety reasons).  Without dedup, the requirements are more modest.

The rule of thumb for DeDupe is 1GB physical RAM for every 1TB of capacity. The 
issue is that the DeDupe metadata table must live in the ARC for good 
performance. The discussion I have seen on the ZFS lists indicates that L2ARC 
is not really adequate for this, so adding cache devices (SSD's) don't really 
help.

On the other hand, you can use ZFS without DeDupe with as little as 2GB of 
total system RAM (depending on what else the system is doing). In my 
experience, the amount of RAM depends on the amount of I/O not the amount of 
storage. I find between 1GB and 3GB space for the ARC is adequate.

--
Paul Kraus
Deputy Technical Director, LoneStarCon 3
Sound Coordinator, Schenectady Light Opera Company

___
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


file corruption solution (soft-update or ZFS)

2013-05-23 Thread saeedeh motlagh
hello every body

i have a question about fixing file corruption in freebsd.

now i have freebsd8.2 and some times file corruption happened on it. this
issue has a heavy cost for me and i want to avoid it or fixit it
completely. so my question is:

is it better to upgrade my freebsd to 9.1 and use soft update or migrate
from UFS to ZFS?

i heard so much about soft update -that is added in freebsd9.1-  which can
fix file corruption in acceptable way with low cost but i don't know how
much is reliable and efficient.

in the other hand, i think migration from UFS to ZFS can be another
solution. as i read ZFS is is created to solve all the problems related
integrity file system. is it reliable enough in comparison soft-update?

now, i want to know which solution is better and why?
thanks in advance
s.motlagh
___
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: file corruption solution (soft-update or ZFS)

2013-05-23 Thread Warren Block

On Thu, 23 May 2013, saeedeh motlagh wrote:


hello every body

i have a question about fixing file corruption in freebsd.

now i have freebsd8.2 and some times file corruption happened on it. this
issue has a heavy cost for me and i want to avoid it or fixit it
completely. so my question is:

is it better to upgrade my freebsd to 9.1 and use soft update or migrate
from UFS to ZFS?


That's a judgement call, which means it depends.


i heard so much about soft update -that is added in freebsd9.1-  which can
fix file corruption in acceptable way with low cost but i don't know how
much is reliable and efficient.


Several things:

Soft updates have been around for quite a while.
Soft updates journaling is the new addition.
Neither of these address file corruption.  Their purpose is to make sure 
the filesystem does not get corrupted, but individual files could still 
contain bad data.



in the other hand, i think migration from UFS to ZFS can be another
solution. as i read ZFS is is created to solve all the problems related
integrity file system. is it reliable enough in comparison soft-update?

now, i want to know which solution is better and why?


Again, it depends.  Does the target system have enough RAM for ZFS?  If 
the file corruption is due to a hardware problem or an application 
writing bad data, no filesystem can prevent that.

___
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: file corruption solution (soft-update or ZFS)

2013-05-23 Thread saeedeh motlagh
thanks for your reply.

you know i have a sensitive server and unfortunately it is located some
where that power outage happens much. so i want guarantee my data and avoid
data lost and file corruption in my server.

i do not have any problem in RAM and hardware.

i don't know which approach is more suitable for my server. using
soft-update or ZFS. please help me to select the best one.

thank you so much



On Thu, May 23, 2013 at 4:28 PM, Warren Block wbl...@wonkity.com wrote:

 On Thu, 23 May 2013, saeedeh motlagh wrote:

  hello every body

 i have a question about fixing file corruption in freebsd.

 now i have freebsd8.2 and some times file corruption happened on it. this
 issue has a heavy cost for me and i want to avoid it or fixit it
 completely. so my question is:

 is it better to upgrade my freebsd to 9.1 and use soft update or migrate
 from UFS to ZFS?


 That's a judgement call, which means it depends.


  i heard so much about soft update -that is added in freebsd9.1-  which can
 fix file corruption in acceptable way with low cost but i don't know how
 much is reliable and efficient.


 Several things:

 Soft updates have been around for quite a while.
 Soft updates journaling is the new addition.
 Neither of these address file corruption.  Their purpose is to make sure
 the filesystem does not get corrupted, but individual files could still
 contain bad data.


  in the other hand, i think migration from UFS to ZFS can be another
 solution. as i read ZFS is is created to solve all the problems related
 integrity file system. is it reliable enough in comparison soft-update?

 now, i want to know which solution is better and why?


 Again, it depends.  Does the target system have enough RAM for ZFS?  If
 the file corruption is due to a hardware problem or an application writing
 bad data, no filesystem can prevent that.




-- 
*Sa.M*
___
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: file corruption solution (soft-update or ZFS)

2013-05-23 Thread Trond Endrestøl
On Thu, 23 May 2013 16:44+0430, saeedeh motlagh wrote:

 thanks for your reply.
 
 you know i have a sensitive server and unfortunately it is located some
 where that power outage happens much. so i want guarantee my data and avoid
 data lost and file corruption in my server.

Maybe you should also invest in a decent UPS.

 i do not have any problem in RAM and hardware.
 
 i don't know which approach is more suitable for my server. using
 soft-update or ZFS. please help me to select the best one.
 
 thank you so much
 
 On Thu, May 23, 2013 at 4:28 PM, Warren Block wbl...@wonkity.com wrote:
 
  On Thu, 23 May 2013, saeedeh motlagh wrote:
 
   hello every body
 
  i have a question about fixing file corruption in freebsd.
 
  now i have freebsd8.2 and some times file corruption happened on it. this
  issue has a heavy cost for me and i want to avoid it or fixit it
  completely. so my question is:
 
  is it better to upgrade my freebsd to 9.1 and use soft update or migrate
  from UFS to ZFS?
 
  That's a judgement call, which means it depends.
 
  i heard so much about soft update -that is added in freebsd9.1-  which can
  fix file corruption in acceptable way with low cost but i don't know how
  much is reliable and efficient.
 
  Several things:
 
  Soft updates have been around for quite a while.
  Soft updates journaling is the new addition.
  Neither of these address file corruption.  Their purpose is to make sure
  the filesystem does not get corrupted, but individual files could still
  contain bad data.
 
   in the other hand, i think migration from UFS to ZFS can be another
  solution. as i read ZFS is is created to solve all the problems related
  integrity file system. is it reliable enough in comparison soft-update?
 
  now, i want to know which solution is better and why?
 
  Again, it depends.  Does the target system have enough RAM for ZFS?  If
  the file corruption is due to a hardware problem or an application writing
  bad data, no filesystem can prevent that.

-- 
+---++
| Vennlig hilsen,   | Best regards,  |
| Trond Endrestøl,  | Trond Endrestøl,   |
| IT-ansvarlig, | System administrator,  |
| Fagskolen Innlandet,  | Gjøvik Technical College, Norway,  |
| tlf. mob.   952 62 567,   | Cellular...: +47 952 62 567,   |
| sentralbord 61 14 54 00.  | Switchboard: +47 61 14 54 00.  |
+---++___
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: file corruption solution (soft-update or ZFS)

2013-05-23 Thread Warren Block

On Thu, 23 May 2013, saeedeh motlagh wrote:


you know i have a sensitive server and unfortunately it is located some where 
that power outage happens much. so i want guarantee my data and avoid data lost 
and file corruption in my
server.

i do not have any problem in RAM and hardware.


The lack of a UPS can be considered a hardware problem.


i don't know which approach is more suitable for my server. using soft-update 
or ZFS. please help me to select the best one.


Please don't top-post, as it makes responding to your message more 
difficult.  One thing mentioned earlier is that ZFS wants lots of 
memory.  4G-8G minimum, some might say as much as the server will hold.


But resilient filesystems still can't prevent data corruption.  Fix the 
power problem with a UPS.

___
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: file corruption solution (soft-update or ZFS)

2013-05-23 Thread Michael Sierchio
On Thu, May 23, 2013 at 5:33 AM, Warren Block wbl...@wonkity.com wrote:

 ..

  One thing mentioned earlier is that ZFS wants lots of memory.  4G-8G
 minimum, some might say as much as the server will hold.


Not necessarily so - deduplication places great demands on memory, but that
can be satisfied with dedicated cache devices (on SSD for performance and
safety reasons).  Without dedup, the requirements are more modest.

Softupdates guarantee metadata consistency, but do nothing to address data
integrity. ZFS has copy-on-write semantics (which solve a problem that even
hardware RAID can't), and end-to-end checksums to detect/prevent data
corruption (large drives will have uncorrectable bit errors over their
lifetime).

- M
___
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: file corruption solution (soft-update or ZFS)

2013-05-23 Thread Joshua Isom

On 5/23/2013 7:14 AM, saeedeh motlagh wrote:

thanks for your reply.

you know i have a sensitive server and unfortunately it is located some
where that power outage happens much. so i want guarantee my data and avoid
data lost and file corruption in my server.


Get a good reliable UPS.  Test it regularly, the batteries do fail. 
Test to make sure that it will work, unplug it and let the computer 
drain the battery to time it.  Consider that the battery will degrade 
over time.  One thing google does is put a 12V battery inside the 
chassis to help with the power backup, you might look into it.



i do not have any problem in RAM and hardware.

i don't know which approach is more suitable for my server. using
soft-update or ZFS. please help me to select the best one.


If power failure is an issue, you have no guarantee of data loss 
protection unless you use networked storage to a safe place.  UFS soft 
updates protects against file system corruption in case of power loss, 
no guarantees of individual file consistency.  ZFS guarantees no silent 
failures, it doesn't guarantee protection, only that you'll know about 
it.  There is no filesystem that can guarantee you won't lose data in a 
power failure.  Hard drives are known to lie about what's been 
physically synced to disk out of cache in order to improve speed.  If 
the power goes out at the wrong time, you can lose data.  ZFS can find a 
corrupted file and tell you, everything else won't.  If you have a back 
up of that file, you can restore it.



thank you so much



On Thu, May 23, 2013 at 4:28 PM, Warren Block wbl...@wonkity.com wrote:


On Thu, 23 May 2013, saeedeh motlagh wrote:

  hello every body


i have a question about fixing file corruption in freebsd.

now i have freebsd8.2 and some times file corruption happened on it. this
issue has a heavy cost for me and i want to avoid it or fixit it
completely. so my question is:

is it better to upgrade my freebsd to 9.1 and use soft update or migrate
from UFS to ZFS?



That's a judgement call, which means it depends.


  i heard so much about soft update -that is added in freebsd9.1-  which can

fix file corruption in acceptable way with low cost but i don't know how
much is reliable and efficient.



Several things:

Soft updates have been around for quite a while.
Soft updates journaling is the new addition.
Neither of these address file corruption.  Their purpose is to make sure
the filesystem does not get corrupted, but individual files could still
contain bad data.


  in the other hand, i think migration from UFS to ZFS can be another

solution. as i read ZFS is is created to solve all the problems related
integrity file system. is it reliable enough in comparison soft-update?

now, i want to know which solution is better and why?



Again, it depends.  Does the target system have enough RAM for ZFS?  If
the file corruption is due to a hardware problem or an application writing
bad data, no filesystem can prevent that.







___
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


Aha, just thought of a solution.... Games: src for gtk!

2012-02-22 Thread Gary Kline
guys,

as some of you know i have been learning gtk by actually doing and
by asking help.  i need help now with the range slider widgets.  i
need to have the user select  at least four things rat range from 1
to 100.  i have found at updated one gtk v 1.2 demo to at least v
2.0.  i would still like to see more examples.  i have already found
one game that got me on the right page for one thing.  all that's
left is my Options and File.  The file asks whether to Save things
to disk or two quit.  the options sets things like
words-per-minute,pitch, and amplitude or volume  does anybody
know of any game that uses gtk in C that shows how to do multiple
ranges?  of course, the port does have to be a game, but that seems
most likely.

thanks in advance,

gary


-- 
 Gary Kline  kl...@thought.org  http://www.thought.org  Public Service Unix
 Voice By Computer (for Universal Access): http:/www.thought.org/vbc
  The 8.57a release of Jottings: http://jottings.thought.org
 Twenty-five years of service to the Unix community.

___
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: database apps that ignore sockets? [was: Solution: mysqld fails to run, can't create/find mysql.sock]

2012-01-15 Thread Chuck Swiger
On Jan 14, 2012, at 5:18 PM, Paul Beard wrote:
 Turns out some applications won't work if you move the socket if they are 
 configured to access localhost. Seems like a misunderstanding of networking 
 if you can specify a port number in a configuration file but the application 
 looks to the filesystem for the socket. There is no way to specify a file 
 location so it seems doomed to fail — as it did. 

Something looking for a network location specified as a host and port (ie, 
localhost:3306) is using a TCP socket.  Something looking for /tmp/mysqld.sock 
is using a UNIX domain socket.

Changing the path to the UNIX domain socket will have no effect upon the port 
used by the TCP socket, or vice versa.

Regards,
-- 
-Chuck

___
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: database apps that ignore sockets? [was: Solution: mysqld fails to run, can't create/find mysql.sock]

2012-01-15 Thread Paul Beard

On Jan 15, 2012, at 8:17 AM, Chuck Swiger wrote:

 Something looking for a network location specified as a host and port (ie, 
 localhost:3306) is using a TCP socket.  Something looking for 
 /tmp/mysqld.sock is using a UNIX domain socket.
 
 Changing the path to the UNIX domain socket will have no effect upon the port 
 used by the TCP socket, or vice versa.
 


Useful clarification but a UNIX domain socket sounds less like networking and 
more like interprocess communication, i.e., something explicitly tied to a 
single host. There is a skip networking option for MySQL that references the 
domain socket for use by processes on the same host but doesn't accept 
connections on port 3306. There's no indication that using localhost will 
default to a domain socket which will explicitly be looked for in /tmp and if 
you put it anywhere else, you must specify a hostname to access the TCP socket. 

I'll quote your definition in the bug report as it seems crystal clear. 
--
Paul Beard

Are you trying to win an argument or solve a problem? 



Re: database apps that ignore sockets? [was: Solution: mysqld fails to run, can't create/find mysql.sock]

2012-01-15 Thread Chuck Swiger
On Jan 15, 2012, at 8:43 AM, Paul Beard wrote:
 Useful clarification but a UNIX domain socket sounds less like networking and 
 more like interprocess communication, i.e., something explicitly tied to a 
 single host.

Yes, that's right.

 There is a skip networking option for MySQL that references the domain 
 socket for use by processes on the same host but doesn't accept connections 
 on port 3306.

That also sounds familiar.

 There's no indication that using localhost will default to a domain socket 
 which will explicitly be looked for in /tmp and if you put it anywhere else, 
 you must specify a hostname to access the TCP socket. 

You're confusing two things which are different.

If you specify a path via --socket=/tmp/mysqld.sock, you are describing a 
UNIX domain socket.  While you can also specify --host=localhost, that would 
be ignored because it it implicit.  If you change where the socket lives in 
mysqld config or CLI options, you need to change where the clients look for the 
socket as well.

If you specify a hostname and port via --host=localhost --port=3306, then you 
are describing a TCP socket.  There is no pathname involved.  You could connect 
regardless of where mysqld is putting the socket.

 I'll quote your definition in the bug report as it seems crystal clear. 

I would have said that the documentation seem clear as well:

  http://dev.mysql.com/doc/refman/5.5/en/multiple-server-clients.html
  http://dev.mysql.com/doc/refman/5.5/en/multiple-unix-servers.html

...but there's evidently some confusing aspect.

Regards,
-- 
-Chuck

___
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: database apps that ignore sockets? [was: Solution: mysqld fails to run, can't create/find mysql.sock]

2012-01-15 Thread Paul Beard

On Jan 15, 2012, at 9:20 AM, Chuck Swiger wrote:

 You're confusing two things which are different.


At the risk of boring everyone on this list, I think I understand it as far as 
I need to: I am not the developer of the app(s) that seem to generate this 
issue. 

 If you specify a path via --socket=/tmp/mysqld.sock, you are describing a 
 UNIX domain socket.  While you can also specify --host=localhost, that 
 would be ignored because it it implicit.  If you change where the socket 
 lives in mysqld config or CLI options, you need to change where the clients 
 look for the socket as well.
 
 If you specify a hostname and port via --host=localhost --port=3306, then 
 you are describing a TCP socket.  There is no pathname involved.  You could 
 connect regardless of where mysqld is putting the socket.

If I gave the impression I didn't understand this, my mistake. 

The app configurations are not this granular: hostname and port are configured 
but there is nothing that makes clear that IF you specify localhost, you WILL 
BE using a domain socket which MUST BE /tmp/mysql.sock and IF you move it or 
your distribution prefers some other location you MAY NOT use localhost as you 
are now using a TCP socket which shouldn't require a hostname but because of 
the way the app is written, it does. 

Put another way, if you specify localhost, the port is ignored: I just tested 
this by setting the port to  with a symlink to the socket placed in /tmp. 
It worked fine. If you change the location of the socket, you MUST use a TCP 
socket which mean identifying the host by name, not as localhost, even if it is 
localhost. There is no way to specify the location of the domain socket. It 
must be in /tmp. 

Note I am not arguing that the use of localhost requires a named domain socket, 
in UNIX, just that it does in this app. 

I learned a couple of things here. I hope I can make them clear to the people 
who need 'em. 


--
Paul Beard

Are you trying to win an argument or solve a problem? 



Re: database apps that ignore sockets? [was: Solution: mysqld fails to run, can't create/find mysql.sock]

2012-01-15 Thread Matthew Seaman
On 15/01/2012 17:20, Chuck Swiger wrote:
 If you specify a hostname and port via --host=localhost
 --port=3306, then you are describing a TCP socket.  There is no
 pathname involved.  You could connect regardless of where mysqld is
 putting the socket.

Some MySQL clients will gratuitously change a connection attempt to
localhost to use the /tmp/mysql.sock unix domain socket because it does
perform a bit faster, and it seems they don't expect their users to just
ask for a socket connection explicitly.  You can test this fairly
simply: set up your server with 'skip-networking' temporarily and try
making client connections to it.

Of course, for some language API's there's no option but to use a
network socket -- Java being a case in point -- but that's the exception
rather than the rule.

To force the command line mysql(1) client to use a network connection to
localhost you need to use the --protocol=TCP argument

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.   7 Priory Courtyard
  Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
JID: matt...@infracaninophile.co.uk   Kent, CT11 9PW



signature.asc
Description: OpenPGP digital signature


Re: database apps that ignore sockets? [was: Solution: mysqld fails to run, can't create/find mysql.sock]

2012-01-15 Thread Matthew Seaman
On 15/01/2012 17:50, Paul Beard wrote:
 The app configurations are not this granular: hostname and port are
 configured but there is nothing that makes clear that IF you specify
 localhost, you WILL BE using a domain socket which MUST BE
 /tmp/mysql.sock and IF you move it or your distribution prefers some
 other location you MAY NOT use localhost as you are now using a TCP
 socket which shouldn't require a hostname but because of the way the
 app is written, it does.

You can specify an alternate socket location in your connection
parameters.  For the command line client, it is:

   mysql -S /var/run/mysql/sock

This doesn't help if you say 'mysql -h localhost' and get diverted to
use the default socket though -- in that case you can have a .my.cnf
file containing (inter-alia)

[client]
   socket = /var/run/mysql/sock

For the various language APIs, you generally need to specify a DSN
string -- usually this looks something like

   mysql:database=$database;host=$hostname;port=$port

but for a socket connection you could say instead:

   mysql:database=$database;mysql_socket=/var/run/mysql/sock

... assuming that whoever wrote the application you're using made it
sufficiently flexible as to be able to accept something like that.

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.   7 Priory Courtyard
  Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
JID: matt...@infracaninophile.co.uk   Kent, CT11 9PW



signature.asc
Description: OpenPGP digital signature


Solution: mysqld fails to run, can't create/find mysql.sock

2012-01-14 Thread Paul Beard
Woke up to a screenful of error messages about failed mysql backups and found 
that for some reason, mysql was refusing to run at all. The issue was not just 
a missing mysql.sock but an inability to create one. I could do it by hand or 
at least create a file with the same name and permissions but it would be 
removed on the next attempt and then not replaced. Turns out the permissions on 
/tmp were not right. I didn't note them beforehand but setting them 1777 solved 
it. 

I would be interested in knowing how those permissions got changed. I rebooted 
the system early on in the process as I kept seeing messages like this:
120114  9:39:04 [ERROR] Can't start server : Bind on unix socket: Permission 
denied
120114  9:39:04 [ERROR] Do you already have another mysqld server running on 
socket: /tmp/mysql.sock ?

Those are rubbish as error messages as they don't say the file can't be created 
or give any indication of the actual problem. 

This is all more a problem for the mysql developers than FreeBSD but I am 
posting it to the list in case anyone else gets bitten by it. 
--
Paul Beard

Are you trying to win an argument or solve a problem? 



Re: Solution: mysqld fails to run, can't create/find mysql.sock

2012-01-14 Thread Paul Beard

On Jan 14, 2012, at 11:15 AM, Chuck Swiger wrote:

 The meaning seems obvious enough; mysqld was unable to bind to the socket, 
 which is what perror() meant with Permission denied:


Really? I read this: 

 120114  9:39:04 [ERROR] Do you already have another mysqld server running on 
 socket: /tmp/mysql.sock ?

as there is an existing socket that seems to be in use: what's up with that?

The message references a file that does not exist (but that mysql will 
cheerfully remove if found). There was no existing socket. Those two lines, 
taken together, tell me that a. mysql can't run without a socket and b. it 
thinks another process is running, bound to a socket that doesn't exist. Clear 
as mud. 

How about 
[ERROR] socket: /tmp/mysql.sock not found 
and/or 
[ERROR] socket:/tmp/mysql.sock could not be created

perhaps with a helpful hint about permissions. 

If this was unusual, that would be one thing but I found quite a few references 
to the problem before I found the solution. 

Maybe it's a housekeeping thing but why would mysql need to destroy the file it 
uses for a socket and then recreate it when it could simply examine it and 
reuse it? 

 Anyway, doesn't the mysql port want to keep the socket under 
 /var/run/mysql/mysqld.sock or some such, to avoid issues with /tmp?

Apparently not, as I commented out any reference to it in my.cnf and still saw 
the same messages about /tmp/mysql.sock. It seems to work if spelled out 
explicitly. 
 
--
Paul Beard

Are you trying to win an argument or solve a problem? 



Re: Solution: mysqld fails to run, can't create/find mysql.sock

2012-01-14 Thread Chuck Swiger
On Jan 14, 2012, at 10:17 AM, Paul Beard wrote:
 I would be interested in knowing how those permissions got changed.

Someone or something running as root changed them.

 I rebooted the system early on in the process as I kept seeing messages like 
 this:
 120114  9:39:04 [ERROR] Can't start server : Bind on unix socket: Permission 
 denied
 120114  9:39:04 [ERROR] Do you already have another mysqld server running on 
 socket: /tmp/mysql.sock ?
 
 Those are rubbish as error messages as they don't say the file can't be 
 created or give any indication of the actual problem. 


The meaning seems obvious enough; mysqld was unable to bind to the socket, 
which is what perror() meant with Permission denied:

 13 EACCES Permission denied.  An attempt was made to access a file in a 
way forbidden by its file access permissions.

Either /tmp was unwritable for mysqld due to not having 1777 perms, or 
/tmp/mysql.sock probably already existed but was owned by root and not the user 
mysqld runs as.

Anyway, doesn't the mysql port want to keep the socket under 
/var/run/mysql/mysqld.sock or some such, to avoid issues with /tmp?

Regards,
-- 
-Chuck

___
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


database apps that ignore sockets? [was: Solution: mysqld fails to run, can't create/find mysql.sock]

2012-01-14 Thread Paul Beard

On Jan 14, 2012, at 11:15 AM, Chuck Swiger wrote:

 Anyway, doesn't the mysql port want to keep the socket under 
 /var/run/mysql/mysqld.sock or some such, to avoid issues with /tmp?


Turns out some applications won't work if you move the socket if they are 
configured to access localhost. Seems like a misunderstanding of networking if 
you can specify a port number in a configuration file but the application looks 
to the filesystem for the socket. There is no way to specify a file location so 
it seems doomed to fail — as it did. 

The apps in question are net-mgmt/cacti and net-mgmt/cacti-spine. 
--
Paul Beard

Are you trying to win an argument or solve a problem? 



Best solution to install zfs on root for FBSD 9

2011-12-20 Thread bsd
Hi, 

I would like to know if there is an official howto that could help me in the 
process of installing zfs on root. 

I will need a raid 1 configuration and plan to use the whole disks to be part 
of the pool. 

How far can we go with the installer ?

Do I have to use gpart ?

What is best way to achieve this ? 


Any recent and up to date pointer will be welcome. 


Thx. 



––
- Grégory Bernard Director -
--- www.osnet.eu ---
-- Your provider of OpenSource appliances --
––
OSnetOSnetOSnetOSnetOSnetOSnetOSnetOSnetOSnetO

___
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: Best solution to install zfs on root for FBSD 9

2011-12-20 Thread Ivan Klymenko
В Tue, 20 Dec 2011 18:11:36 +0100
bsd b...@todoo.biz пишет:

 Hi, 
 
 I would like to know if there is an official howto that could help
 me in the process of installing zfs on root. 
 
 I will need a raid 1 configuration and plan to use the whole disks to
 be part of the pool. 
 
 How far can we go with the installer ?
 
 Do I have to use gpart ?
 
 What is best way to achieve this ? 
 
 
 Any recent and up to date pointer will be welcome. 
 
 
 Thx. 
 
http://wiki.freebsd.org/RootOnZFS/GPTZFSBoot
http://www.aisecure.net/2011/05/01/root-on-zfs-freebsd-current/
___
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: Best solution to install zfs on root for FBSD 9

2011-12-20 Thread Corey Smith
On Tue, Dec 20, 2011 at 12:11 PM, bsd b...@todoo.biz wrote: I would
like to know if there is an official howto that could help me in the
process of installing zfs on root.
I have specifically used this documentation with great success:

http://wiki.freebsd.org/RootOnZFS/GPTZFSBoot/Mirror

You can also look at this link for more information:

http://wiki.freebsd.org/RootOnZFS

-Corey Smith
___
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: Best solution to install zfs on root for FBSD 9 [SOLVED]

2011-12-20 Thread bsd

Le 20 déc. 2011 à 18:42, Ivan Klymenko a écrit :

 В Tue, 20 Dec 2011 18:11:36 +0100
 bsd b...@todoo.biz пишет:
 
 Hi, 
 
 I would like to know if there is an official howto that could help
 me in the process of installing zfs on root. 
 
 I will need a raid 1 configuration and plan to use the whole disks to
 be part of the pool. 
 
 How far can we go with the installer ?
 
 Do I have to use gpart ?
 
 What is best way to achieve this ? 
 
 
 Any recent and up to date pointer will be welcome. 
 
 
 Thx. 
 
 http://wiki.freebsd.org/RootOnZFS/GPTZFSBoot
 http://www.aisecure.net/2011/05/01/root-on-zfs-freebsd-current/

Ok thanks for your posting. 
There is an update for the post mentioned up there which is exactly what I was 
looking for : 

http://www.aisecure.net/2011/11/28/root-zfs-freebsd9/



Thx everyone. 


––
- Grégory Bernard Director -
--- www.osnet.eu ---
-- Your provider of OpenSource appliances --
––
OSnetOSnetOSnetOSnetOSnetOSnetOSnetOSnetOSnetO

___
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: Solution for school lab

2011-10-31 Thread Fbsd8

Sergio de Almeida Lenzi wrote:

I use a solution that is:
1) a large Freebsd box (phenon X4,8Gb of memory, 1TB disk)
2) OS=Freebsd 8.2 with all gnome2.32 installed
3) Virtualbox 10.x  installed in FreeBSD
4) NT 2003 server with unlimited number of users on rdp (the iso is in
internet or torrent).
5) internet connection
Here this would cost about US$400

Install the system using zfs, insert all users can hold about 1000 users
Setup FreeBSD to boot diskless (and so will run on all the old machines
in 
your place) using either pxe or custom CD.


The users will use Gnome interface, and those who wants windows,
can use via rdesktop, pointing on the NT server on the same machine.

You will need a swith with ONE gigabit port, and the others is
100Mbits...

This setup you have:
about 1200 applictions (from the FreBSDports),
some include:
java, eclipse, python, c, c++, multimedia, web browing, office,
printing, email, chat, calculator, vector drawing, dia (visio),
raster image editor (gimp), monodevelop(.NET devel framework),
sql (postgresql), sql administration (pgadmin3).

Reliable, fast, rock solid, central administration...

It just works


[]

Sergio


You should look into the Freebsd port qjail. At our school lab all the 
pcs have ms/windows on the hard drive with the putty client installed. 
Students use putty to get logged into a jail on a single Freebsd system. 
Each student can practice installing ports, packages, or one of the 
desktop window environments in their private jail. The goal being to 
teach students to be system administrators.

___
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: Solution for school lab just a thought

2011-10-31 Thread Sergio de Almeida Lenzi


 You should look into the Freebsd port qjail. At our school lab all the 
 pcs have ms/windows on the hard drive with the putty client installed. 
 Students use putty to get logged into a jail on a single Freebsd system. 
 Each student can practice installing ports, packages, or one of the 
 desktop window environments in their private jail. The goal being to 
 teach students to be system administrators.

Humm Interesting... 
In my case the computers runs FreeBSD (diskless) and they need do
access 
windows system. 
In a public school, where the $$$ is the main problem, I think this is
the solution.
Here the school has computers (a lot) that receives from donation,
projects... from time to time
the problem is the software... 
What to teach to children??? word, exel, powerpoint, msn??? is this
teaching??? 

I think that children (and teenagers too), must face problems and
resolve them.
the world belongs tho those that work in group. those who can get
answers,
so an account in a desktop environment (in my case: gnome) with several
program
languages, internet access, text composing (libreoffice), postscript
printing (cups),
some IDE (anjuta, eclipse), multimedia (ffmpeg, avidemux2, openshot,
dvdstyler)
can make the difference. They can download small videos from their
phones, and
produce digital media, share it on DVDs...  the home lesson is send via
email (everyone
has email).. One problem is hand-witten... no one wants to hand write
now...

Those who foresee the future, can learn how to code GUI interface, and
so produce
software for the community.  They can learn how to install admin FreeBSD
servers,
share files in the network, use webdav to share files in internet... and
so on...

There is a need for people with this knowledge... The society will buy
from the 
students as long as they produce good software.. 

What is the other alternative???  finish high school and than look for a
job???
XXI century there is no jobs, there will be working people... Those who
can
succeed working for himself will rule.. That is what I teach to my
boys... 
They worked hard (12 years)... and now they rule..  

Do you really think that this world crisis will end in 10 years???

Just a thought...

Sergio



___
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: Solution for school lab just a thought

2011-10-31 Thread Mario Lobo
On Monday 31 October 2011 10:56:44 Sergio de Almeida Lenzi wrote:
  You should look into the Freebsd port qjail. At our school lab all the
  pcs have ms/windows on the hard drive with the putty client installed.
  Students use putty to get logged into a jail on a single Freebsd system.
  Each student can practice installing ports, packages, or one of the
  desktop window environments in their private jail. The goal being to
  teach students to be system administrators.
 
 Humm Interesting...
 In my case the computers runs FreeBSD (diskless) and they need do
 access
 windows system.
 In a public school, where the $$$ is the main problem, I think this is
 the solution.
 Here the school has computers (a lot) that receives from donation,
 projects... from time to time
 the problem is the software...
 What to teach to children??? word, exel, powerpoint, msn??? is this
 teaching???
 
 I think that children (and teenagers too), must face problems and
 resolve them.
 the world belongs tho those that work in group. those who can get
 answers,
 so an account in a desktop environment (in my case: gnome) with several
 program
 languages, internet access, text composing (libreoffice), postscript
 printing (cups),
 some IDE (anjuta, eclipse), multimedia (ffmpeg, avidemux2, openshot,
 dvdstyler)
 can make the difference. They can download small videos from their
 phones, and
 produce digital media, share it on DVDs...  the home lesson is send via
 email (everyone
 has email).. One problem is hand-witten... no one wants to hand write
 now...
 
 Those who foresee the future, can learn how to code GUI interface, and
 so produce
 software for the community.  They can learn how to install admin FreeBSD
 servers,
 share files in the network, use webdav to share files in internet... and
 so on...
 
 There is a need for people with this knowledge... The society will buy
 from the
 students as long as they produce good software..
 
 What is the other alternative???  finish high school and than look for a
 job???
 XXI century there is no jobs, there will be working people... Those who
 can
 succeed working for himself will rule.. That is what I teach to my
 boys...
 They worked hard (12 years)... and now they rule..
 
 Do you really think that this world crisis will end in 10 years???
 
 Just a thought...
 
 Sergio
 

Picture an arrow whistling through the wind, undisturbed, and hitting the 
bullseye dead in its perfect center,

That's what your thought is to me, Sergio.

+10 !

Thank you.

-- 
Mario Lobo
http://www.mallavoodoo.com.br
FreeBSD since 2.2.8 [not Pro-Audio YET!!] (99% winblows FREE)
___
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: Solution for school lab just a thought

2011-10-31 Thread Jorge Biquez

Hello all.

Sergio.

Would you mind to contact me offline (maybe some people in the list 
won't be interested) I help communities and non profit (very poor) 
organizations here and would like to know more about your schema and results.


Here also we get donattions of hardware. The old 386 and so, 
computers that big companies do not use anymore and with that we have 
to work. We are also trying to giving the kids a chance to learn 
something else so they can compete in a hard job market.


Thanks in advance

Jorge Biquez
jbiq...@intranet.com.mx


At 04:09 p.m. 31/10/2011, Mario Lobo wrote:

On Monday 31 October 2011 10:56:44 Sergio de Almeida Lenzi wrote:
  You should look into the Freebsd port qjail. At our school lab all the
  pcs have ms/windows on the hard drive with the putty client installed.
  Students use putty to get logged into a jail on a single Freebsd system.
  Each student can practice installing ports, packages, or one of the
  desktop window environments in their private jail. The goal being to
  teach students to be system administrators.

 Humm Interesting...
 In my case the computers runs FreeBSD (diskless) and they need do
 access
 windows system.
 In a public school, where the $$$ is the main problem, I think this is
 the solution.
 Here the school has computers (a lot) that receives from donation,
 projects... from time to time
 the problem is the software...
 What to teach to children??? word, exel, powerpoint, msn??? is this
 teaching???

 I think that children (and teenagers too), must face problems and
 resolve them.
 the world belongs tho those that work in group. those who can get
 answers,
 so an account in a desktop environment (in my case: gnome) with several
 program
 languages, internet access, text composing (libreoffice), postscript
 printing (cups),
 some IDE (anjuta, eclipse), multimedia (ffmpeg, avidemux2, openshot,
 dvdstyler)
 can make the difference. They can download small videos from their
 phones, and
 produce digital media, share it on DVDs...  the home lesson is send via
 email (everyone
 has email).. One problem is hand-witten... no one wants to hand write
 now...

 Those who foresee the future, can learn how to code GUI interface, and
 so produce
 software for the community.  They can learn how to install admin FreeBSD
 servers,
 share files in the network, use webdav to share files in internet... and
 so on...

 There is a need for people with this knowledge... The society will buy
 from the
 students as long as they produce good software..

 What is the other alternative???  finish high school and than look for a
 job???
 XXI century there is no jobs, there will be working people... Those who
 can
 succeed working for himself will rule.. That is what I teach to my
 boys...
 They worked hard (12 years)... and now they rule..

 Do you really think that this world crisis will end in 10 years???

 Just a thought...

 Sergio


Picture an arrow whistling through the wind, undisturbed, and hitting the
bullseye dead in its perfect center,

That's what your thought is to me, Sergio.

+10 !

Thank you.

--
Mario Lobo
http://www.mallavoodoo.com.br
FreeBSD since 2.2.8 [not Pro-Audio YET!!] (99% winblows FREE)
___
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


___
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


[OFFTOPIC] Solution for school lab

2011-10-30 Thread Peter
Hi,

I am about to setup a small PC lab for teaching operating systems. Since
computers will need to be used for teaching
Windows/Unix(FreeBsd)/Linux(Novell) I need to find a way:

1. Systems to coexists on the same hardware
2. Easily restore system images to the initial state.


I do not want  we to turn into Windows only lab.I was thinking in for
some Citrix solutions but I wonder if there is other way we can
accomplish this task.

Thanks in advance.

Peter
___
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: [OFFTOPIC] Solution for school lab

2011-10-30 Thread Rares Aioanei
On Sun, 30 Oct 2011 12:01:20 +0200
Peter pe...@aboutsupport.com wrote:

 Hi,
 
 I am about to setup a small PC lab for teaching operating systems. Since
 computers will need to be used for teaching
 Windows/Unix(FreeBsd)/Linux(Novell) I need to find a way:
 
 1. Systems to coexists on the same hardware
 2. Easily restore system images to the initial state.
 
 
 I do not want  we to turn into Windows only lab.I was thinking in for
 some Citrix solutions but I wonder if there is other way we can
 accomplish this task.
 
 Thanks in advance.
 
 Peter
For 1. you can always setup triple-boot machines, for 2. you can use 
Clonezilla, for instance. 


-- 
Rares Aioanei
___
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: [OFFTOPIC] Solution for school lab

2011-10-30 Thread Mark Blackman
On 30 Oct 2011, at 10:01, Peter wrote:

 Hi,
 
 I am about to setup a small PC lab for teaching operating systems. Since
 computers will need to be used for teaching
 Windows/Unix(FreeBsd)/Linux(Novell) I need to find a way:
 
 1. Systems to coexists on the same hardware
 2. Easily restore system images to the initial state.
 

Diskless booting perhaps, along the lines of this project at ICL in London.

http://www.ukuug.org/newsletter/19.2/#hpc_f_andy_



___
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


Solution for school lab

2011-10-30 Thread Sergio de Almeida Lenzi
I use a solution that is:
1) a large Freebsd box (phenon X4,8Gb of memory, 1TB disk)
2) OS=Freebsd 8.2 with all gnome2.32 installed
3) Virtualbox 10.x  installed in FreeBSD
4) NT 2003 server with unlimited number of users on rdp (the iso is in
internet or torrent).
5) internet connection
Here this would cost about US$400

Install the system using zfs, insert all users can hold about 1000 users
Setup FreeBSD to boot diskless (and so will run on all the old machines
in 
your place) using either pxe or custom CD.

The users will use Gnome interface, and those who wants windows,
can use via rdesktop, pointing on the NT server on the same machine.

You will need a swith with ONE gigabit port, and the others is
100Mbits...

This setup you have:
about 1200 applictions (from the FreBSDports),
some include:
java, eclipse, python, c, c++, multimedia, web browing, office,
printing, email, chat, calculator, vector drawing, dia (visio),
raster image editor (gimp), monodevelop(.NET devel framework),
sql (postgresql), sql administration (pgadmin3).

Reliable, fast, rock solid, central administration...

It just works


[]

Sergio
___
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: Solution for school lab

2011-10-30 Thread Dennis Glatting



On Sun, 30 Oct 2011, Sergio de Almeida Lenzi wrote:


I use a solution that is:
1) a large Freebsd box (phenon X4,8Gb of memory, 1TB disk)
2) OS=Freebsd 8.2 with all gnome2.32 installed
3) Virtualbox 10.x  installed in FreeBSD
4) NT 2003 server with unlimited number of users on rdp (the iso is in
internet or torrent).
5) internet connection
Here this would cost about US$400

Install the system using zfs, insert all users can hold about 1000 users 
Setup FreeBSD to boot diskless (and so will run on all the old machines 
in your place) using either pxe or custom CD.


The users will use Gnome interface, and those who wants windows,
can use via rdesktop, pointing on the NT server on the same machine.

You will need a swith with ONE gigabit port, and the others is
100Mbits...

This setup you have:
about 1200 applictions (from the FreBSDports),
some include:
java, eclipse, python, c, c++, multimedia, web browing, office,
printing, email, chat, calculator, vector drawing, dia (visio),
raster image editor (gimp), monodevelop(.NET devel framework),
sql (postgresql), sql administration (pgadmin3).

Reliable, fast, rock solid, central administration...

It just works



Consider installing VMWare ESXi and instances of whatever operating system 
you like. We have template operating systems we copy to new/replacement 
instances. You can export your disks to the instances but with all things 
you gain some, you loose some.


As someone else mentioned, consider netboot. The booted instance can do 
whatever they want to your hardware but disks are likely to have to be 
re-initialized each time, which is fine if you are using disks for swap 
and other temporary things.


With regard to VirtualBox, someone needs to fix it (probably just update 
the port). The network driver (IIRC) eats memory.





[]

Sergio
___
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


___
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: Solution for school lab

2011-10-30 Thread Sergio de Almeida Lenzi
 Consider installing VMWare ESXi and instances of whatever operating system 
 you like. We have template operating systems we copy to new/replacement 
 instances. You can export your disks to the instances but with all things 
 you gain some, you loose some.

with the small machine (phenon 4, 8Gb), and vmware, the sistems is
slow... and the MB does
not accept more than 8GB.  Besides I would need a version of each
operating system for VMWARE..
and I do not know if vmware can be used for free. If even in a school
you can, in other places
you cannot, so I would cope with several platforms... Here I run a
business based on FreeBSD,
and the less different solutions the better...

 
 As someone else mentioned, consider netboot. The booted instance can do 
 whatever they want to your hardware but disks are likely to have to be 
 re-initialized each time, which is fine if you are using disks for swap 
 and other temporary things.

I use PXE because it is in the firmware of the MB... (almost always
have)... some very old
computers, does not boot anything but: floppy, cd, or HD... I choose
CD..  one CD,
boot all machines...  Netboot is great too... 

 
 With regard to VirtualBox, someone needs to fix it (probably just update 
 the port). The network driver (IIRC) eats memory.

Strange  I have been using it in a day basis, and never had problems
with that... the 
machine sometimes suffer power failure (3 months, or 1 month period)..

I use FreeBSD 8.2 in zfs...  with zmirror, and daylly snapshots...  so I
can go back anything
till 5 days ago...

Anyway, thanks for the information

[]
Sergio
___
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: [OFFTOPIC] Solution for school lab

2011-10-30 Thread Chris Whitehouse

On 30/10/2011 10:01, Peter wrote:

Hi,

I am about to setup a small PC lab for teaching operating systems. Since
computers will need to be used for teaching
Windows/Unix(FreeBsd)/Linux(Novell) I need to find a way:

1. Systems to coexists on the same hardware
2. Easily restore system images to the initial state.



1) A very robust if slightly more expensive way is a separate disk for 
each OS. Many more recent (last 3 or 4 years?) motherboards have an 
option during POST to choose a boot device so you don't need to go into 
the BIOS setup screens.


This system has the advantage that OS's are completely separate from 
each other.


2) Clonezilla.

(Not very relevant aside... Back in the day of pentium 1's and 2 dual 
channel IDE controllers I solved this same problem with 3 hard disks, 
each set to be master, on a home made IDE cable with an extra connector 
so the three disks were plugged into the primary controller, and a 3 
position rotary switch so only one disk would power up at a time. It 
took a bit of experimentation to find three disks that could coexist but 
it worked really well as long as one didn't switch over while the 
machine was on. I think I had FreeBSD, Windows and Netware).


Chris
___
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: Need an audio multicasting solution

2011-09-19 Thread Victor Sudakov
RW wrote:
 
   You can use videolan / vlc. It allows you to multicast video too.
   In September 2011 BSD Magazine you have some examples about that.
  
  I like vlc on Linux/Windows machines. But installing it to a streaming
  server is a pain. Even if you disable all options in make config, it
  still tries to build scores of dependencies including some components
  of the X Window system. Not nice.
 
 did you try setting  WITH_SERVER_ONLY?

Actually, setting WITH_SERVER_ONLY only sets 4 options

WITHOUT_LUA=yes
WITHOUT_QT4=yes
WITH_RUNROOT=yes
WITHOUT_XCB=yes

which I have set anyway. The number of dependencies is still
appalling.

In fact, I have found a solution with ffmpeg, the example command
lines are:

ffmpeg -i file.mp3 -acodec copy -f rtp rtp://239.8.8.8:5000 -re
ffmpeg -f oss -i /dev/dsp -acodec mp2 -f rtp rtp://239.8.8.8:5000 -re

ffmpeg should be compiled WITH_LAME. Multicast stream playback has
been tested with vlc (Windows XP, Fedora Linux) and mplayer (FreeBSD 8).

In more detail in Russian:
http://victor-sudakov.dreamwidth.org/68437.html
http://victor-sudakov.dreamwidth.org/68975.html
http://victor-sudakov.dreamwidth.org/69243.html


-- 
Victor Sudakov,  VAS4-RIPE, VAS47-RIPN
sip:suda...@sibptus.tomsk.ru
___
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: Need an audio multicasting solution

2011-09-16 Thread RW
On Fri, 16 Sep 2011 10:57:04 +0700
Victor Sudakov wrote:

  You can use videolan / vlc. It allows you to multicast video too.
  In September 2011 BSD Magazine you have some examples about that.
 
 I like vlc on Linux/Windows machines. But installing it to a streaming
 server is a pain. Even if you disable all options in make config, it
 still tries to build scores of dependencies including some components
 of the X Window system. Not nice.

did you try setting  WITH_SERVER_ONLY?

___
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: Need an audio multicasting solution

2011-09-15 Thread Victor Sudakov
Alejandro Imass wrote:
 
 
  A quick look at Icecast showed that it does not support multicast either.
  It this true? If so, Icecast is completely useless for my scenario.
 
 
 AFAIK very few media streamers (or none) actually support real IPv4
 (Class D) Multicast. They support what is known as application
 multicast akin to a multi-process/multi-threaded Web server.
 
 I don't know much about real IPv4 Multicast but I've heard it's not
 that easy to do in the real world and would probably require
 coordination with your ISP unless you're multicasting in a private
 networks.

I use multicasting in a corporate network.

 Again, IMHO because I've never even attempted multicasting.

It's fun and very pleasing aesthetically :) At least on Cisco.

As to the original question. I have had some success with
multimedia/ffmpeg, at least this:

ffmpeg -i file.mp3 -acodec copy -f rtp rtp://239.8.8.8:5000 -re

does send a multicast stream which can be listened to with VLC (but
not mplayer for some reason) on multiple hosts.

Now I need to figure out how to stream live sound from /dev/dsp. All my
attemps to record sound from a USB audio interface have resulted so
far in a severely distorted growl instead of normal voice. Does
anybody know how to figure out the sampling rate and other parameters
of the sound card? cat /dev/sndstat  does not output anything really
useful.

 
 Why do you need multicasting anyway?

To save bandwidth mostly, and it's fun to setup :). Taking into
account that I have PIM working across all our WAN links (an in-house
monitoring/alarm system relies thereupon), it would be nice to use
this infrastructure for sound too.

-- 
Victor Sudakov,  VAS4-RIPE, VAS47-RIPN
sip:suda...@sibptus.tomsk.ru
___
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: Need an audio multicasting solution

2011-09-15 Thread Victor Sudakov
Eduardo Morras wrote:
 
 I need a solution to read sound from a soundcard (/dev/dsp) and
 multicast it into the network, for the multicast audio stream to be
 played on FreeBSD, Linux and Windows workstations. No sophisticated
 codecs needed, plain PCM would do.
 
 Can you advise something? I know that in theory there are many ways to
 implement this, but I am especially interested in personal first-hand
 experience, success stories or good white papers. Please no
 lmgtfu-type replies. Thanks very much in advance.
 
 You can use videolan / vlc. It allows you to multicast video too. In 
 September 2011 BSD Magazine you have some examples about that.

I like vlc on Linux/Windows machines. But installing it to a streaming
server is a pain. Even if you disable all options in make config, it
still tries to build scores of dependencies including some components
of the X Window system. Not nice.

Now I am experimenting with ffmpeg (with ffserver and without) with
moderate success.

-- 
Victor Sudakov,  VAS4-RIPE, VAS47-RIPN
sip:suda...@sibptus.tomsk.ru
___
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: Need an audio multicasting solution

2011-09-13 Thread Eduardo Morras

At 08:21 09/09/2011, Victor Sudakov wrote:

Colleagues,

I need a solution to read sound from a soundcard (/dev/dsp) and
multicast it into the network, for the multicast audio stream to be
played on FreeBSD, Linux and Windows workstations. No sophisticated
codecs needed, plain PCM would do.

Can you advise something? I know that in theory there are many ways to
implement this, but I am especially interested in personal first-hand
experience, success stories or good white papers. Please no
lmgtfu-type replies. Thanks very much in advance.


You can use videolan / vlc. It allows you to multicast video too. In 
September 2011 BSD Magazine you have some examples about that.



HTH 



___
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: Need an audio multicasting solution

2011-09-13 Thread Alejandro Imass
On Sun, Sep 11, 2011 at 1:14 PM, Victor Sudakov v...@mpeks.tomsk.su wrote:
 Alejandro Imass wrote:
 
  I need a solution to read sound from a soundcard (/dev/dsp) and

[...]

 Alejandro, correct me if I am wrong but AFAIK Icecast works with mp3

Yep, actually ogg Vorbis and Theora basically and also MP3 ano other
over shoutcast, AFAIK,

 files. Can it really read audio from /dev/dsp? I don't need mp3, I

Icecast needs a source client to feed the stream. I use Internet DJ
on a separate machine to feed to the Icecast server and distribute
from there to almost any player.

[...]

-- 
Alejandro
___
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: Need an audio multicasting solution

2011-09-13 Thread Alejandro Imass
On Mon, Sep 12, 2011 at 1:57 AM, Victor Sudakov v...@mpeks.tomsk.su wrote:

[...]


 A quick look at Icecast showed that it does not support multicast either.
 It this true? If so, Icecast is completely useless for my scenario.


AFAIK very few media streamers (or none) actually support real IPv4
(Class D) Multicast. They support what is known as application
multicast akin to a multi-process/multi-threaded Web server.

I don't know much about real IPv4 Multicast but I've heard it's not
that easy to do in the real world and would probably require
coordination with your ISP unless you're multicasting in a private
networks.
Again, IMHO because I've never even attempted multicasting.

Why do you need multicasting anyway?

-- 
Alejandro Imass
___
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: Need an audio multicasting solution

2011-09-12 Thread Michael Cardell Widerkrantz
Victor Sudakov v...@mpeks.tomsk.su, 2011-09-09 08:21 (+0200):

 I need a solution to read sound from a soundcard (/dev/dsp) and
 multicast it into the network, for the multicast audio stream to be
 played on FreeBSD, Linux and Windows workstations. 

Does the old LBL vat tool still work on modern system?

  http://ee.lbl.gov/vat/

I haven't used it for 15 years or so but it worked back then.

Also, the Robust Audio Tool (rat) might still work. Seems to need work
to get it running on FreeBSD according to their website but it used to
work on FreeBSD. Again, it was over ten years ago I used this. It seems
to live here nowadays:

  http://mediatools.cs.ucl.ac.uk/nets/mmedia/wiki/RatWiki#RobustAudioToolRAT

Quotes:

  RAT require no special features for point-to-point communication, just
  a network connection and a soundcard. For multiparty conferencing RAT
  uses IP multicast and therefore all participants must reside on a
  multicast capable network.

  ...

  RAT is a cross platform tool which is now available for Linux and
  WinXP. In the past it was also maintained for use a variety of
  operating systems including: FreeBSD, HP-UX, IRIX, NetBSD, Solaris,
  SunOS, and Windows 95/NT. Users are welcome to test and contribute
  code for any of these other OSes. Please let us know or contribute to
  the wiki.

-- 
http://hack.org/mc/
Use plain text e-mail, please. HTML messages silently dropped.
OpenPGP welcome, 0xE4C92FA5.

___
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: Need an audio multicasting solution

2011-09-11 Thread Victor Sudakov
Alejandro Imass wrote:
 
  I need a solution to read sound from a soundcard (/dev/dsp) and
  multicast it into the network, for the multicast audio stream to be
  played on FreeBSD, Linux and Windows workstations. No sophisticated
  codecs needed, plain PCM would do.
 
  Can you advise something? I know that in theory there are many ways to
  implement this, but I am especially interested in personal first-hand
  experience, success stories or good white papers. Please no
  lmgtfu-type replies. Thanks very much in advance.
 
 
 I doubt people in this list are the lmgtfu type!
 
 I use Icecast on FBSD and it works great.

Alejandro, correct me if I am wrong but AFAIK Icecast works with mp3
files. Can it really read audio from /dev/dsp? I don't need mp3, I
would prefer to multicast simple PCM data. Even 8 bit PCM (64 Kbit/s)
would do.

-- 
Victor Sudakov,  VAS4-RIPE, VAS47-RIPN
sip:suda...@sibptus.tomsk.ru
___
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: Need an audio multicasting solution

2011-09-11 Thread Victor Sudakov
Alejandro Imass wrote:
 
  I need a solution to read sound from a soundcard (/dev/dsp) and
  multicast it into the network, for the multicast audio stream to be
  played on FreeBSD, Linux and Windows workstations. No sophisticated
  codecs needed, plain PCM would do.
 
  Can you advise something? I know that in theory there are many ways to
  implement this, but I am especially interested in personal first-hand
  experience, success stories or good white papers. Please no
  lmgtfu-type replies. Thanks very much in advance.
 
 
 I doubt people in this list are the lmgtfu type!
 
 I use Icecast on FBSD and it works great.

A quick look at Icecast showed that it does not support multicast either. 
It this true? If so, Icecast is completely useless for my scenario.

-- 
Victor Sudakov,  VAS4-RIPE, VAS47-RIPN
sip:suda...@sibptus.tomsk.ru
___
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


Need an audio multicasting solution

2011-09-09 Thread Victor Sudakov
Colleagues,

I need a solution to read sound from a soundcard (/dev/dsp) and
multicast it into the network, for the multicast audio stream to be
played on FreeBSD, Linux and Windows workstations. No sophisticated
codecs needed, plain PCM would do.

Can you advise something? I know that in theory there are many ways to
implement this, but I am especially interested in personal first-hand
experience, success stories or good white papers. Please no
lmgtfu-type replies. Thanks very much in advance.

-- 
Victor Sudakov,  VAS4-RIPE, VAS47-RIPN
sip:suda...@sibptus.tomsk.ru
___
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: Need an audio multicasting solution

2011-09-09 Thread Alejandro Imass
On Fri, Sep 9, 2011 at 2:21 AM, Victor Sudakov v...@mpeks.tomsk.su wrote:
 Colleagues,

 I need a solution to read sound from a soundcard (/dev/dsp) and
 multicast it into the network, for the multicast audio stream to be
 played on FreeBSD, Linux and Windows workstations. No sophisticated
 codecs needed, plain PCM would do.

 Can you advise something? I know that in theory there are many ways to
 implement this, but I am especially interested in personal first-hand
 experience, success stories or good white papers. Please no
 lmgtfu-type replies. Thanks very much in advance.


I doubt people in this list are the lmgtfu type!

I use Icecast on FBSD and it works great.

For the client though we use Ubuntu with idjc and Jack.

Probably Jack works well on FBSD
(http://www.freebsd.org/cgi/cvsweb.cgi/ports/audio/jack_mixer/) and
you could run everything on a single node, but from my experience with
Jack on Linux, it probably ain't gonna be easy.

Nevertheless, the _usual_ way is having your *cast daemon on a server
with ample bandwidth and the client(s) is separate node.

For us, the Icecast FBSD server + idjc/Jack on Linux is a great
combination but YMMV.

Regards,

-- 
Alejandro Imass


 --
 Victor Sudakov,  VAS4-RIPE, VAS47-RIPN
 sip:suda...@sibptus.tomsk.ru
 ___
 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

___
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: high performance open source DHCP solution?

2011-07-20 Thread Anton Yuzhaninov
On Tue, 19 Jul 2011 23:26:55 -0300, Rogelio wrote:
R The free DHCP solution, ISC, seems to be having scaling issues (i.e.
R handling only about 200 DHCPDISCOVER and 20 DHCPRENEW requests), and I
R was wondering if anyone had any open source suggestions of solutions
R that could scale much better?

1. May be it is possible to decrease load of DHCP server by increasing
lease time.
If address pool is the limit, adaptive-lease-time-threshold option in ISC dhcpd 
may be
useful.

2. Which dhcpd version is used? According to changelog 4.2 has some
performance improvements.

-- 
 Anton Yuzhaninov

___
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


high performance open source DHCP solution?

2011-07-19 Thread Rogelio
The free DHCP solution, ISC, seems to be having scaling issues (i.e.
handling only about 200 DHCPDISCOVER and 20 DHCPRENEW requests), and I
was wondering if anyone had any open source suggestions of solutions
that could scale much better?

(Ideally, I could find a free version of a solution like Nominum, but
I know that's asking for much.)

Anyone have any suggestions?

-- 
Also on LinkedIn?  Feel free to connect if you too are an open
networker: scubac...@gmail.com
___
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: high performance open source DHCP solution?

2011-07-19 Thread Dan Nelson
In the last episode (Jul 19), Rogelio said:
 The free DHCP solution, ISC, seems to be having scaling issues (i.e.
 handling only about 200 DHCPDISCOVER and 20 DHCPRENEW requests), and I
 was wondering if anyone had any open source suggestions of solutions
 that could scale much better?

200 per second sounds like pretty good performance, but you haven't given
any info about your setup either.  Are you disk bound or CPU bound at this
point?

-- 
Dan Nelson
dnel...@allantgroup.com
___
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


Professional mapping solution for Education and Research

2010-10-14 Thread Articque team
Having trouble viewing this email ?
http://www.articque.com/mailing/2010/101011-geocampus-en/index.html?utm_source=articqueutm_medium=emailutm_campaign=geocampus-en
=

GEOCAMPUS
An initiative of ARTICQUE Solutions Group

=

Your FREE thematical MAPPING solution

=

Students and Teachers,
get your free professionnal mapping solution.

Universities and Schools,
get a preferential price to equip your IT classrooms.

Get your free CD license : 
http://www.geocampus.com/en/home.html?utm_source=articqueutm_medium=emailutm_campaign=geocampus-en

=

In accordance with the french law of June 21, 2004 (article L345) and the 
european guideline 2002/58/CE dated July 12, 2002, you have full access to the 
data regarding your privacy and can indicate your unwillingness to receive 
information by unsubscribing instantly at 
desinscript...@articque.com

___
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


MacIP Gateway Solution for FreeBSD?

2010-08-06 Thread Keith Seyffarth

I'm running FreeBSD 7.2 (FreeBSD janet.weif.net 7.2-RELEASE FreeBSD
7.2-RELEASE #1: Sat Oct 31 16:21:25 MDT 2009
ch...@janet.weif.net:/usr/src/sys/i386/compile/JANET  i386) with
netatalk installed so I can connect my old Macintosh Quadra 605 to the
FreeBSD machine to share files.

I would like to get the Mac internet access, but I need a Macintosh IP
Gateway installed on the network somewhere.

there was a package called macipgw, but that fails to compile on FreeBSD
7.

Does anyone have an updated version of macipgw, or does anyone know of
another port to handle this?

Keith S.




-- 

from my mac to yours...

Keith Seyffarth
mailto:w...@weif.net
http://www.weif.net/ - Home of the First Tank Guide!
http://www.rpgcalendar.net/ - the Montana Role-Playing Calendar

http://www.miscon.org/ - Montana's Longest Running Science Fiction Convention
Talk MisCon: http://www.miscon.org/forums/
___
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: Global backup solution for FBSD Ubuntu

2010-07-10 Thread Tim Daneliuk
On 7/4/2010 4:43 PM, bsd wrote:
 Hello, 
 
 I am trying to build a global backup solution for couple of strategic servers 
 (7) based on two operating systems : 
 
 - FreeBSD (6 - 7 // soon 7 - 8)
 - Ubuntu 8.04 LTS
 
 These servers are hosting some strategic components mainly related to DNS 
 infrastructure and databases. 
 
 
 For the moment I am backing up these server using network based backup 
 solution: 
 
 - A duplicity based solution which backs up key directories in my 
 infrastructure on a remote FTP server provided by my hosting company. 
 - A dump of some key components which I am doing on regular basis for 
 FreeBSD servers. 
 - Duplicity is also used for the Ubuntu servers. 
 - Databases are replicated live on a remote server using slony for the 
 most strategic ones (Postgres DB) and using mysql dump export for MySQL.
 
 
 • I am not a 100% sure these solutions will allow me to restart rapidly from 
 a crash, specially for Ubuntu servers. 
 • I would like to know which solution(s) you have deployed at what cost for 
 what results ? 
 
 I am actually considering couple of different solutions 
 
 - SAIT solution and backula. 
 - Disk based solution (maybe also with backula). 
 … 
 
 
 I have couple of servers that will reach their end of life that could be 
 recycled as backup solution at a very convenient price… 
 
 
 Thanks for you help. 
 
 
 Gregober --- PGP ID -- 0x1BA3C2FD
 bsd @at@ todoo.biz


Followup FYI:

   http://www.mondorescue.org/


-- 

Tim Daneliuk tun...@tundraware.com
PGP Key: http://www.tundraware.com/PGP/

___
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: Global backup solution for FBSD Ubuntu

2010-07-09 Thread Francisco Reyes

krad writes:


In my experience dedup requires a fairly large amount of juice so if your
backups are large I hope you machines are big on ram


The way tarsnap does it is not that intensive. I have used in an old 900Mhz 
machine with less than 640MB of RAM and it worked well.
I think the program computes some sort of hash for blocks of data and then 
the server checks to see if it already has that block.

___
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: Global backup solution for FBSD Ubuntu

2010-07-08 Thread krad
On 8 July 2010 05:10, Francisco Reyes li...@stringsutils.com wrote:

 bsd writes:

  I am trying to build a global backup solution for couple of strategic
 servers (7) based on two operating systems :


 Depending on how much data you are trying to backup and whether an internet
 backup solution would work, you may want to take a look at tarsnap:
 http://www.tarsnap.com/

 Works on both FreeBSD and Linux. It has deduplication capabilities within a
 server. You can do several backups as full and the service will only store
 what has changed.

 ___
 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


In my experience dedup requires a fairly large amount of juice so if your
backups are large I hope you machines are big on ram
___
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: Global backup solution for FBSD Ubuntu

2010-07-07 Thread krad
 I used to use tapes, I have changed for disks, it is much much faster
 and easier. And cheaper! In a 3U enclosure you can have 16 disks, for
 32TB of storage.


A sun x4500 can get 48 drives in 4u. Its intel based so should run freebsd
ok if you want to. Not sure what the max drive size is but you should be
looking at about ~30-70 TB depending on drive size and array configuration
___
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: Global backup solution for FBSD Ubuntu

2010-07-07 Thread Francisco Reyes

bsd writes:

I am trying to build a global backup solution for couple of strategic servers (7) based on two operating systems : 


Depending on how much data you are trying to backup and whether an internet 
backup solution would work, you may want to take a look at tarsnap: 
http://www.tarsnap.com/


Works on both FreeBSD and Linux. It has deduplication capabilities within a 
server. You can do several backups as full and the service will only store 
what has changed.

___
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: Global backup solution for FBSD Ubuntu

2010-07-06 Thread krad
On 4 July 2010 23:18, Tim Daneliuk tun...@tundraware.com wrote:

 On 07/04/10 16:43, bsd wrote:

 Hello,

 I am trying to build a global backup solution for couple of strategic
 servers (7) based on two operating systems :

 - FreeBSD (6 - 7 // soon 7 - 8)
 - Ubuntu 8.04 LTS

 These servers are hosting some strategic components mainly related to DNS
 infrastructure and databases.


 For the moment I am backing up these server using network based backup
 solution:

 - A duplicity based solution which backs up key directories in my
 infrastructure on a remote FTP server provided by my hosting company.
 - A dump of some key components which I am doing on regular basis for
 FreeBSD servers.
 - Duplicity is also used for the Ubuntu servers.
 - Databases are replicated live on a remote server using slony for the
 most strategic ones (Postgres DB) and using mysql dump export for MySQL.


 • I am not a 100% sure these solutions will allow me to restart rapidly
 from a crash, specially for Ubuntu servers.
 • I would like to know which solution(s) you have deployed at what cost
 for what results ?

 I am actually considering couple of different solutions

 - SAIT solution and backula.
 - Disk based solution (maybe also with backula).
 …


 I have couple of servers that will reach their end of life that could be
 recycled as backup solution at a very convenient price…




 I wrote a simple shell-based solution for this problem some time ago.  It
 (and FreeBSD
 instructions) can be found:

   http://www.tundraware.com/Software/tbku/


 I am able to recover a production server (DNS, dhcp, http, sendmail,
 etc...) in under
 30 minutes using this technique.

 ___
 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



we use an rsync based solution at work. All the files are basically rsyncd
onto a big opensolaris filer backed with zfs. We then snapshot each hosts
file system after the completed backup. It then gives us an incremental
forever backup so is generally quite fast to do.

Restores are also fairly fast depending on the size of the data set. For a
full restore I boot into the new box on a liveusb os, partition/slice,
newfs, mount and push the rsync back. All fairly easy and quick.

With regard to database backups, we run all our mysql and oracle dbs on zfs.
This allows us to put a global write lock on the db and flush everything to
disk. We then snapshot the db zfs fs and remove the write lock.
Alternatively if its a mysql slave, we just stop the slave, flush and snap.
This means we can take hot backups of all our dbs with minimal impact.
___
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: Global backup solution for FBSD Ubuntu

2010-07-06 Thread Olivier Nicole
Hi,

 I am trying to build a global backup solution for couple of strategic
 servers (7) based on two operating systems :

 - FreeBSD (6 - 7 // soon 7 - 8)
 - Ubuntu 8.04 LTS

I am running amanda as a centralized backup solution for FreeBSD,
Linuxes and Windows.

Amanda server is a dedicated machine with 7.5 TB disks (about 2300 USD
assembly machine, gives me over 4 weeks or daily incremental backup,
but the duration really depends on your usage).

The more sensitive services I also backup using the protocol own
duplication (master-slave database, DNS replication, etc.) With MySQL
server replication, you can have the slave server running your actual
database and ready to go in case the primary crashes. If the
availability of the service is really critical, you must consider an
high-availability solution, not only a backup.

With that I have all the needed information to restore a faulty
service.

 - SAIT solution and backula.

I used to use tapes, I have changed for disks, it is much much faster
and easier. And cheaper! In a 3U enclosure you can have 16 disks, for
32TB of storage.

 ∙ I am not a 100% sure these solutions will allow me to restart rapidly
 from a crash, specially for Ubuntu servers.

Depends on how you define rapidly...

Backup and high availability have different/complementary roles: the
first one assures that no data are lost, the second assures that the
service will always be available. You know your needs :)

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


Global backup solution for FBSD Ubuntu

2010-07-04 Thread bsd
Hello, 

I am trying to build a global backup solution for couple of strategic servers 
(7) based on two operating systems : 

- FreeBSD (6 - 7 // soon 7 - 8)
- Ubuntu 8.04 LTS

These servers are hosting some strategic components mainly related to DNS 
infrastructure and databases. 


For the moment I am backing up these server using network based backup 
solution: 

- A duplicity based solution which backs up key directories in my 
infrastructure on a remote FTP server provided by my hosting company. 
- A dump of some key components which I am doing on regular basis for FreeBSD 
servers. 
- Duplicity is also used for the Ubuntu servers. 
- Databases are replicated live on a remote server using slony for the most 
strategic ones (Postgres DB) and using mysql dump export for MySQL.


• I am not a 100% sure these solutions will allow me to restart rapidly from a 
crash, specially for Ubuntu servers. 
• I would like to know which solution(s) you have deployed at what cost for 
what results ? 

I am actually considering couple of different solutions 

- SAIT solution and backula. 
- Disk based solution (maybe also with backula). 
… 


I have couple of servers that will reach their end of life that could be 
recycled as backup solution at a very convenient price… 


Thanks for you help. 


Gregober --- PGP ID -- 0x1BA3C2FD
bsd @at@ todoo.biz




___
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: Global backup solution for FBSD Ubuntu

2010-07-04 Thread Tim Daneliuk

On 07/04/10 16:43, bsd wrote:

Hello,

I am trying to build a global backup solution for couple of strategic servers 
(7) based on two operating systems :

- FreeBSD (6 - 7 // soon 7 - 8)
- Ubuntu 8.04 LTS

These servers are hosting some strategic components mainly related to DNS 
infrastructure and databases.


For the moment I am backing up these server using network based backup solution:

- A duplicity based solution which backs up key directories in my 
infrastructure on a remote FTP server provided by my hosting company.
- A dump of some key components which I am doing on regular basis for FreeBSD 
servers.
- Duplicity is also used for the Ubuntu servers.
- Databases are replicated live on a remote server using slony for the most 
strategic ones (Postgres DB) and using mysql dump export for MySQL.


• I am not a 100% sure these solutions will allow me to restart rapidly from a 
crash, specially for Ubuntu servers.
• I would like to know which solution(s) you have deployed at what cost for 
what results ?

I am actually considering couple of different solutions

- SAIT solution and backula.
- Disk based solution (maybe also with backula).
…


I have couple of servers that will reach their end of life that could be 
recycled as backup solution at a very convenient price…

   


I wrote a simple shell-based solution for this problem some time ago.  
It (and FreeBSD

instructions) can be found:

   http://www.tundraware.com/Software/tbku/


I am able to recover a production server (DNS, dhcp, http, sendmail, 
etc...) in under

30 minutes using this technique.
___
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


freenas-like solution for aoe?

2010-03-20 Thread Vadkan Jozsef
Does anybody know a FreeNAS-like solution, that supports AoE? - Ata over
Ethernet?

Thank you!

___
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: freenas-like solution for aoe?

2010-03-20 Thread Dan Nelson
In the last episode (Mar 20), Vadkan Jozsef said:
 Does anybody know a FreeNAS-like solution, that supports AoE? - Ata over
 Ethernet?

You can get iSCSI with the net/istgt port, which should perform better than
AoE.

-- 
Dan Nelson
dnel...@allantgroup.com
___
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


I want to submit a solution to solve a bug

2010-02-17 Thread Jeff Mo
Hello,

I found the solution about why this bug occurs.
http://www.freebsd.org/cgi/query-pr.cgi?pr=125239cat=
I would like to contribute my knowledge to FreeBSD website but do not
know where to start.
Can you let me know what's the next step if I want to submit a solution?

Thank,
-- 
Jeff Mo
Santa Clara University
Linux+, SCJP, SCWCD, MCSD
___
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: I want to submit a solution to solve a bug

2010-02-17 Thread Paul B Mahol
On Wed, Feb 17, 2010 at 6:20 PM, Jeff Mo mo0...@gmail.com wrote:
 Hello,

 I found the solution about why this bug occurs.
 http://www.freebsd.org/cgi/query-pr.cgi?pr=125239cat=
Make use of Submit Followup link.
 I would like to contribute my knowledge to FreeBSD website but do not
 know where to start.
 Can you let me know what's the next step if I want to submit a solution?
___
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: Can't figure out recursion problem in bash/freebsd - reply/solution to all helpers

2010-01-08 Thread Bernard T. Higonnet

Hello,

There were two approaches offered to my problem

1) changing my script: it runs if the cd .. is moved from the end of 
the script into the then clause of the if statement


===
#! /bin/sh
echo Starting in `pwd`
for hoo in *; do
  echo Found item $hoo
  if [ -d $hoo ]; then
echo Pushing $hoo
cd $hoo
$0
cd ..
  else
echo Processing file $hoo
  fi
  echo Going to next item
done
echo Finishing in `pwd`
# cd ..  was here in original script
===

I shall be bold: this strikes me as a bug in bash. Am I off my nut here?



2) use find instead for the traversing of the file hierarchy

===
find $PWD -type f -execdir processingscript {} \;
===


I have tried both methods and on a small sample (10,000 files going only 
 3 deep) and there were no meaningful differences in execution time.


Thanks to all
Bernard Higonnet
___
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: Can't figure out recursion problem in bash/freebsd - reply/solution to all helpers

2010-01-08 Thread RW
On Fri, 08 Jan 2010 11:23:33 +0100
Bernard T. Higonnet b...@higonnet.net wrote:


 #! /bin/sh
...
 I shall be bold: this strikes me as a bug in bash. Am I off my nut
 here?

If it is a bug, it's a bug in /bin/sh, not bash.
___
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


[one] solution found (Was: [kl...@thought.org: Re: Openoffice3 and aspell])

2010-01-02 Thread Gary Kline
- Forwarded message from Gary Kline kl...@thought.org -

Date: Fri, 1 Jan 2010 23:41:00 -0800
From: Gary Kline kl...@thought.org
Subject: Re: Openoffice3 and aspell
To: Neil Short nesh...@yahoo.com
Cc: Adam Vande More amvandem...@gmail.com, freebsd-questions@freebsd.org



The main reason I upgraded to OOo-311 was to have a functional
spellchecker.  I can't find any, even tho but clicking around I
found ``en_US.oxt'' which is a zip file.  The HElp file does not
jibe with what's there in the File - Wizards ... .   Anyway, Adam,
the extension you listed turns out to be the file I downloaded.  

How-to install the thing and get it working!?

gary


 
   
 
 ___
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org

- End forwarded message -


About an hour ago things started working, and this time I made
notes.  ((__NOTE__: The thesaurus stuff is 28.0MB and harder to
retrieve; I'll try later.))

Here is a cut and paste of my notes on getting en_US.oxt to install
and work:

Left mouse click on Insert top bar, go down to File at the last entry of
the dropdown. [it may take several seconds.]

A widget/window/dialogue will open in your cwd with a list of files that
should include the spell-checking file, en_US.oxt.  Scroll down the list
and click on this file.  Then click the Insert button on the dialog.  You
may need to restart OOo at least once until the checker starts underlining
misspelled words.


If anyone onlist can find WiRWib.oxt, the thesaurus file, I may
be able to make it available on a server somewhere in the States.

-gdk



-- 
 Gary Kline  kl...@thought.org  http://www.thought.org  Public Service Unix
http://jottings.thought.org   http://transfinite.thought.org
The 7.79a release of Jottings: http://jottings.thought.org/index.php

___
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: [one] solution found (Was: [kl...@thought.org: Re: Openoffice3 and aspell])

2010-01-02 Thread Gary Kline
On Sat, Jan 02, 2010 at 01:09:31AM -0800, Gary Kline wrote:
 
   About an hour ago things started working, and this time I made
   notes.  ((__NOTE__: The thesaurus stuff is 28.0MB and harder to
   retrieve; I'll try later.))
 
   Here is a cut and paste of my notes on getting en_US.oxt to install
   and work:
 
 Left mouse click on Insert top bar, go down to File at the last entry of
 the dropdown. [it may take several seconds.]
 
 A widget/window/dialogue will open in your cwd with a list of files that
 should include the spell-checking file, en_US.oxt.  Scroll down the list
 and click on this file.  Then click the Insert button on the dialog.  You
 may need to restart OOo at least once until the checker starts underlining
 misspelled words.
 
 
   If anyone onlist can find WiRWib.oxt, the thesaurus file, I may
   be able to make it available on a server somewhere in the States.
 
   -gdk
 
 
 

Update, just minutes ago I got the wibwir.oxt file downloaded.  But
(to twist an old saying), there may be no there, there.  It is only
~16megs, not 28megs.  And since this is only version 0.03, it isn't
worth sweating.

cheers,

gary


-- 
 Gary Kline  kl...@thought.org  http://www.thought.org  Public Service Unix
http://jottings.thought.org   http://transfinite.thought.org
The 7.79a release of Jottings: http://jottings.thought.org/index.php

___
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: solution: getting a Motorola Razr V3 to work as a GSM modem on FreeBSD

2009-11-05 Thread Polytropon
Allow me a quite formal addition:

On Thu, 5 Nov 2009 13:15:24 -0500, Mark Stosberg m...@summersault.com wrote:
 For software to send the pages, I use the gammu port.
   
 I ran gammu-config for the initial setup, and then moved the
 resulting file from /root/.gammurc to the more standard
 location: /etc/gammurc

FreeBSD separates configuration files for the system (/etc
subtree) and for additional ports (/usr/local/etc subtree),
so /usr/local/etc/gammurc would, in my opinion, be the
correct place for this file.



 I thought I would share this in case anyone else ran into the same
 problem I did trying to get a USB modem to work when they plugged into
 FreeBSD!

Many thanks, Mark, this really sounds interesting and useful,
a very good combination. :-)



-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
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: solution: getting a Motorola Razr V3 to work as a GSM modem on FreeBSD

2009-11-05 Thread Mark Stosberg
 
 On Thu, 5 Nov 2009 13:15:24 -0500, Mark Stosberg m...@summersault.com wrote:
  For software to send the pages, I use the gammu port.

  I ran gammu-config for the initial setup, and then moved the
  resulting file from /root/.gammurc to the more standard
  location: /etc/gammurc
 
 FreeBSD separates configuration files for the system (/etc
 subtree) and for additional ports (/usr/local/etc subtree),
 so /usr/local/etc/gammurc would, in my opinion, be the
 correct place for this file.

I agree. However, the related man pages didn't reference this option. This 
seems like
a place where the code and docs could use a small patch to work this way on 
FreeBSD. 
(Or maybe it already works this way, and the docs don't reflect it). 

I suppose in my case, I could still move the config file to /usr/local/etc/ and 
then
symlink it from /etc/, which would meet the requirements of the software, and 
also meet
the expectations of someone expecting a standard FreeBSD layout. 

 Many thanks, Mark, this really sounds interesting and useful,
 a very good combination. :-)

You are welcome.  I have been running a hosting business on FreeBSD since about 
1997 and it 
has worked very well for us. 

   Mark

-- 
http://mark.stosberg.com/

___
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: SSO solution in ports?

2009-07-17 Thread John Almberg
Well, after a week of looking, I think I am going to go with a CAS  
solution, rubycas-server and rubycas-client. This supports several  
methods of authentication, including SQL, ActiveDirectory, LDAP, and  
GoogleAccounts. SQL is probably good enough for my application at the  
moment, but the LDAP option might come in handy someday. And it  
integrates nicely with Rails apps, which is my target platform.


I looked at OpenID, which Rails also has good support for, but to my  
mind, it's just too complicated for the average user to use. I  
remember the first time I had to set one up, it was quite difficult  
to understand what it was they were looking for. I think it would  
scare away the average, non-technical, website user.


Thanks for the ideas!

Brgds: John


On Jul 16, 2009, at 1:03 PM, Mel Flynn wrote:


On Thursday 16 July 2009 06:54:39 Bill Moran wrote:

In response 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 was
wondering if there are any SSO servers in ports that I can just
install and use? A CAS solution would be the best, but I'll look at
anything.


The most widely supported I know of is LDAP, and OpenLDAP works  
pretty

well.


That won't really work as LDAP can't read a browser cookie or  
maintain session

information. LDAP is a good choice as storage backend.

Your best bet is probably to use an OpenID based solution, as  
support for this
sign on method is growing in web applications, so you lessen the  
chance of
having to maintain your custom glue into the application. The  
security/phpmyid
port is one implementation that allows you to run your own OpenID  
server.


http://openid.net/
--
Mel
___
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


~~
Websites and Marketing for On-line Collectible Dealers
~~
IDENTRY, LLC
John Almberg - Managing Partner
(631) 546-5079
jalmb...@identry.com
www.identry.com
~~



___
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: SSO solution in ports?

2009-07-17 Thread Brian A. Seklecki
On Thu, 2009-07-16 at 10:52 -0400, John Almberg wrote:
 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.  

Combine your SSO (LDAP mostly, Kerberos is a waking nightmare) with a
2FA/TFA (Second Factor Authentication) solution such as grid cards,
FOBs, or an OTP password list.

I recommend Entrust IdentityGuard.   Our pam_radius works fine with it,
and web application can run NSS functionality out of LDAP and PAM
functionality out of Entrust's SOAP-XML Authentication API. 

 ~BAS


___
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


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 SSO servers in ports that I can just  
install and use? A CAS solution would be the best, but I'll look at  
anything.


Any tips or ideas, much appreciated.

-- John

___
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: SSO solution in ports?

2009-07-16 Thread Bill Moran
In response 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 was  
 wondering if there are any SSO servers in ports that I can just  
 install and use? A CAS solution would be the best, but I'll look at  
 anything.

The most widely supported I know of is LDAP, and OpenLDAP works pretty
well.

-- 
Bill Moran
http://www.potentialtech.com
http://people.collaborativefusion.com/~wmoran/
___
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: SSO solution in ports?

2009-07-16 Thread Tim Judd
On 7/16/09, Bill Moran wmo...@potentialtech.com wrote:
 In response 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 was
 wondering if there are any SSO servers in ports that I can just
 install and use? A CAS solution would be the best, but I'll look at
 anything.

 The most widely supported I know of is LDAP, and OpenLDAP works pretty
 well.


Kerberos (4 or 5) is synonymous with single sign on.  Kerberos support
is not as integrated with services as LDAP is.  I am almost the
paranoid security type and I don't know if SSO is really a good idea
(TM).  You obtain someone's *weak* password because they don't want
complexity, now the systems are wide open to them.  System Login/Email
are the two that bug me most.  If I have your system login password,
I have your email password too.  Then anything else you hook into SSO
is also known

So I battle myself every day with the mindset if SSO is truly a
worthwhile thing to look at, or if it should be at *most* two SSOs,
one for system login, one for everything else


Sorry to pull off on that tangent, but it seems nobody considers the
downside to SSO, and it's been nagging at me.


--Tim
___
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: SSO solution in ports?

2009-07-16 Thread Mel Flynn
On Thursday 16 July 2009 06:54:39 Bill Moran wrote:
 In response 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 was
  wondering if there are any SSO servers in ports that I can just
  install and use? A CAS solution would be the best, but I'll look at
  anything.

 The most widely supported I know of is LDAP, and OpenLDAP works pretty
 well.

That won't really work as LDAP can't read a browser cookie or maintain session 
information. LDAP is a good choice as storage backend.

Your best bet is probably to use an OpenID based solution, as support for this 
sign on method is growing in web applications, so you lessen the chance of 
having to maintain your custom glue into the application. The security/phpmyid 
port is one implementation that allows you to run your own OpenID server.

http://openid.net/
-- 
Mel
___
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: installing ports xorg - Unknown solution

2009-03-25 Thread Tim Judd
Heh,

there were too many factors as possible culprits in the system.

Glen Barber's command started to run, until I cancelled it when my
laptop battery died... :D

I'm not 100% sure what the problem was, but here's what I did...
. The PC has a msk ethernet device, which I wasn't 100% sold I'd use it,
. It's also behind a Linux-based firewall (corporate purchase) that ...
doesn't always want to work,
. I re-csup'd ports, it updated some stuff, but nothing in x11/
. I forgot it for the weekend, went into work, slapped it onto our other
network (which isn't behind the Linux firewall), and initiated an
install..  it started
. Keeping it on the other network, I finished xorg, then installed kde4
with repeated fetch timeouts on both installs.
. Remembered I had a broadcom ethernet card...  installed it.
. Finished installing everything, and is now my primary desktop at work.


So, either the bad csup, odd msk ethernet, or the (VERY fustrating)
Linux firewall was at fault.  Not sure what, but all is working now.

--Tim

___
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


Solution: Re: [Trouble Ticket #190456] AutoReply: freebsd-questions Digest, Vol 246, Issue 39

2009-01-21 Thread David Kelly
# idiot autoresponder on freebsd lists, 1/21/2009
:0
* ^From:.*supp...@aebc.com
/dev/null

-- 
David Kelly N4HHE, dke...@hiwaay.net

Whom computers would destroy, they must first drive mad.
___
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


Thanks for solution re: Can't remove directory

2008-12-26 Thread Ron Wingfield

   Mr. Chuck:
   I found your post,
   [1]http://lists.freebsd.org/pipermail/freebsd-questions/2005-January/0
   70766.html, re. system immutable flags  via Google.   Just want to
   say thanks.  :-)
   Sincerely,
   Ron W.

   [2]ron.wingfi...@archaxis.net
   501-920-7860 cell (best way)
   501-228-4798 home

References

   1. 
http://lists.freebsd.org/pipermail/freebsd-questions/2005-January/070766.html
   2. mailto:ron.wingfi...@archaxis.net
___
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


Intro to a cool new webb-tv solution

2008-12-05 Thread Daniel Daboczy - DABBER

Dabber Newsletter

Dabber | Newsletter December 2008 Example player | White paper pdf |
IQube our new partner

Hi,

Since our last update, we have prepared a first example of the kind of
online video= solutions we offer. It's a player with an intuitive,
3-dimensional navigat= ion - a cool and easy way to showcase your
online video content:



This is the golden age of online video. More and more of us are
creating it= , watching it and telling our friends all about it.
Mainstream media giants= , organizations of all sizes and individual
Internet users alike are litera= lly setting the online world in
motion. Video on the web is becoming a natu= ral part of our lives,
enabling us to do a lot of different things easier, = faster and
better: discovering what's new and rediscovering the things we'v= e
missed, telling our stories and communicating our brands, realizing our
l= ife-long dreams of having our own TV show and running for president.
Over the last few years, a lot of companies offering online video
platfor= ms have emerged. What separates us from them is who we are.
Whereas most of= our competitors focus on technology and developing the
ultimate one-platfo= rm-fit-all video service, our focus is on every
aspect of the enterprise th= at you would be undertaking; on you
getting exactly the kind of product and= help that you need, at a cost
that you can afford.

Dabber is an Internet start-up, offering online video solutions that
are in= novative, affordable, easy to use and easy to manage. With a
background in the contemporary art scene as well as in web production, we 
combine the latest in technology with an understanding of what
makes = good content.

Daniel Daboczy  Eric Weber, founders

White paper (pdf)

For more information about our services, please download the Dabber
white paper.

IQube is our new partner

We're proud to present IQube as a new partner. IQube is one of the
Nordic r= egion´s leading centres for entrepreneurship and early
stage growth compa= nies. www.iqube.se

Dabber's development continues at rapid pace
We're still in development, but feel free to contact us in the
meanwhile, o= r check out our web site for updates!

www.dabber.tv daniel [at] dabber.tv +46 736 26 9985

To unsubscribe, please forward this email to [EMAIL PROTECTED]

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


CARP-Like Solution With Machines On Different Networks?

2008-11-17 Thread Alex Kirk

Hello All,

I'm attempting to put a redundant fail-over system in place for a  
machine that I manage for a non-profit organization of modest budget.  
For the time being, I'm most interested in having MySQL and HTTP  
connections roll over to a backup system in the event that the primary  
machine goes down for some reason, and then return control to the  
primary box once it returns - nothing particularly fancy.


After doing some research on the matter, it looks like CARP would be a  
winning solution - but only if the backup system was on the same  
network segment as the primary box. Given that there's no money to  
colocate a second backup system at the same facility as the main  
machine (and protection against failure at the colo facility is one of  
the primary drivers for the failover setup), however, it looks like  
CARP wouldn't be useful.


That said, are there any solutions which behave similarly to CARP that  
I could use for a pair of machines connected solely via the Internet?  
For now, I'd even be happy if there was some way to simply do TCP  
port-level proxying, so to speak (i.e. connections come in to a given  
machine, and are proxied to the main system if it's up, but go to the  
backup box if not)?


Thanks in advance for any advice you can provide.

Alex Kirk



This message was sent using IMP, the Internet Messaging Program.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: CARP-Like Solution With Machines On Different Networks?

2008-11-17 Thread Chuck Swiger

On Nov 17, 2008, at 7:57 AM, Alex Kirk wrote:
After doing some research on the matter, it looks like CARP would be  
a winning solution - but only if the backup system was on the same  
network segment as the primary box. Given that there's no money to  
colocate a second backup system at the same facility as the main  
machine (and protection against failure at the colo facility is one  
of the primary drivers for the failover setup), however, it looks  
like CARP wouldn't be useful.


If you can't or aren't willing to pay for a second machine, I doubt  
that any clustering solution is going to be workable for you, frankly.


Most of the high-availability clusters I know about depend either on a  
multipath SAN or NAS setup to provide a common filestorage point for  
cluster members to synchronize with (the quorum drive for M$  
clustered SQL server, similar for Sybase ASE cluster or Oracle  
Parallel Server [now Oracle RAC]), or require something like a  
hardware loadbalancer (Foundry ServerIron, NetScaler, etc) which acts  
to distribute transactions only onto the parts of the cluster which  
are up and working.


That said, are there any solutions which behave similarly to CARP  
that I could use for a pair of machines connected solely via the  
Internet? For now, I'd even be happy if there was some way to simply  
do TCP port-level proxying, so to speak (i.e. connections come in to  
a given machine, and are proxied to the main system if it's up, but  
go to the backup box if not)?


Thanks in advance for any advice you can provide.


TCP level proxying is suitable for shared read-only distribution of  
traffic (ie, such as static web content going against a pool of  
webservers, all of which can serve any of the traffic coming their  
way).  IPFW + natd can do this much via:


 -redirect_address localIP[,localIP[,...]] publicIP
 These forms of -redirect_port and -redirect_address  
are used
 to transparently offload network load on a single  
server and
 distribute the load across a pool of servers.  This  
function
 is known as LSNAT (RFC 2391).  For example, the  
argument


   tcp www1:http,www2:http,www3:http www:http

 means that incoming HTTP requests for host www will  
be trans-
 parently redirected to one of the www1, www2 or  
www3, where a
 host is selected simply on a round-robin basis,  
without

 regard to load on the net.

...but this paradigm simply won't work for content-aware traffic (ie,  
anything which has a per-user session) and it definitely won't work  
for a database.  MySQL clustering is a less expensive possibility than  
most of the vendors listed above (M$ SQLServer EE is $25K per CPU,  
Oracle RAC is $60K per CPU), but even so Sun wants to bill at $2500  
per day for a week of consulting to set it up for you.


Regards,
--
-Chuck

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


Re: DHCP release/renew lease - elegant solution?

2008-10-20 Thread Mel
On Friday 17 October 2008 23:24:00 Nerius Landys wrote:

 I have an always-on FreeBSD box which is connected to the internet.  My ISP
 is some cable company and the IP address is determined via DHCP; I used to
 always get the same IP address but recently the address seems to be
 changing very frequently whenever I reboot the machine.

 My problem is that recently, after being on for a day or so, the internet
 connection to the FreeBSD box breaks down, it stops working or becomes very
 intermittent/flaky.  I then reboot the machine, and thereafter it usually
 uses a new IP address and the internet connection returns fo running fine.
 There is no need to reboot the cable modem.

If this is an always on machine, it makes no sense, unless the ISP is doing 
agressive accounting on there IP's:
- give out a lease for x hours
- but invalidate it anyway after x hours.

Doing a periodic dhclient -r would probably fix your problem, though the 
correct solution would be to complain with your ISP and switch to the 
competition if they don't get their stuff together.
-- 
Mel

Problem with today's modular software: they start with the modules
and never get to the software part.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: DHCP release/renew lease - elegant solution?

2008-10-20 Thread David Kelly
On Mon, Oct 20, 2008 at 03:26:39PM +0200, Mel wrote:
 On Friday 17 October 2008 23:24:00 Nerius Landys wrote:
 
  I have an always-on FreeBSD box which is connected to the internet.
  My ISP is some cable company and the IP address is determined via
  DHCP; I used to always get the same IP address but recently the
  address seems to be changing very frequently whenever I reboot the
  machine.
 
 If this is an always on machine, it makes no sense, unless the ISP is
 doing agressive accounting on there IP's:
 - give out a lease for x hours
 - but invalidate it anyway after x hours.
 
 Doing a periodic dhclient -r would probably fix your problem, though
 the correct solution would be to complain with your ISP and switch to
 the competition if they don't get their stuff together.

It would help if Nerius would spend some time in the system logs and
dhclient man page to determine the state when his machine goes deaf. I
suspect firewall rules using static host IP address. Believe I have also
see this happen with natd, Once Upon A Time natd needed to be restarted
when the external IP address changed. Is possible for dhclient to do
this automatically.

As for a static IP address, many ISPs charge extra for this feature. One
ISP I deal with rotates our IP address every 18 to 48 hours and isn't
courteous enough to do it on a regular schedule or wait until off hours.
Means we have a couple of minutes of down time most every day when the
router recovers.

-- 
David Kelly N4HHE, [EMAIL PROTECTED]

Whom computers would destroy, they must first drive mad.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


DHCP release/renew lease - elegant solution?

2008-10-17 Thread Nerius Landys
I have an always-on FreeBSD box which is connected to the internet.  My ISP
is some cable company and the IP address is determined via DHCP; I used to
always get the same IP address but recently the address seems to be changing
very frequently whenever I reboot the machine.

My problem is that recently, after being on for a day or so, the internet
connection to the FreeBSD box breaks down, it stops working or becomes very
intermittent/flaky.  I then reboot the machine, and thereafter it usually
uses a new IP address and the internet connection returns fo running fine.
There is no need to reboot the cable modem.

My goal is to do some dhclient magic which will automatically fix this
problem without needing a reboot of the machine.  If possible, I would like
to have the same IP address as often as possible, but I'm not sure that this
is possible.

My FreeBSD version is 5.5, so it uses the ISC DHCP client, but the details
between the current DHCP client and mine are probably insignificant.  My
/etc/dhclient.conf file is empty.

I have been reading man pages, and it seems that the way to release, get a
new IP address is this:

  dhclient -r
  dhclient fxp0

An except from my dhclient man page:

   The  client  normally  doesn't  release  the current lease as it is
not
   required by the DHCP protocol.  Some cable ISPs require  their
clients
   to  notify  the  server if they wish to release an assigned IP
address.
   The -r flag explicitly releases the current lease, and once  the
lease
   has been released, the client exits.

I could put this into a crontab and run it every 12 hours.  However, this
does not seem like a very elegant solution to my problem.  I am wondering
whether there is a more elegant solution.  Thanks in advance.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: DHCP release/renew lease - elegant solution?

2008-10-17 Thread RW
On Fri, 17 Oct 2008 14:24:00 -0700
Nerius Landys [EMAIL PROTECTED] wrote:


The -r flag explicitly releases the current lease, and once
 the lease
has been released, the client exits.
 
 I could put this into a crontab and run it every 12 hours.  However,
 this does not seem like a very elegant solution to my problem.  I am
 wondering whether there is a more elegant solution.

Before you look for a more elegant solution I suggest you try the
inelegant solution and see if it actually works.  At the moment all you
really know is that rebooting fixes the problem. 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: continuous backup solution for freebsd?

2008-10-06 Thread Jeremy Chadwick
On Mon, Oct 06, 2008 at 12:58:30PM +0300, Evren Yurtesen wrote:
 Hello,

 Is there a known continuous backup solution similar to r1soft backup for  
 FreeBSD? I googled a lot but couldnt find anything.

 R1soft says they need help to develop FreeBSD support in their product. 
 Do you know anybody who can help r1soft on this issue?

 Please see: http://forum.r1soft.com/showpost.php?p=3414postcount=9

Would the GEOM gate class handle this?  See ggatec(8) and ggated(8).

-- 
| Jeremy Chadwickjdc at parodius.com |
| Parodius Networking   http://www.parodius.com/ |
| UNIX Systems Administrator  Mountain View, CA, USA |
| Making life hard for others since 1977.  PGP: 4BD6C0CB |

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


continuous backup solution for freebsd?

2008-10-06 Thread Evren Yurtesen

Hello,

Is there a known continuous backup solution similar to r1soft backup for 
FreeBSD? I googled a lot but couldnt find anything.


R1soft says they need help to develop FreeBSD support in their product. Do you 
know anybody who can help r1soft on this issue?


Please see: http://forum.r1soft.com/showpost.php?p=3414postcount=9

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


Re: continuous backup solution for freebsd?

2008-10-06 Thread Julien Cigar
Bacula ? http://www.bacula.org
I use it at work to backup linux and freebsd boxes and it works like a
charm.

On Mon, 2008-10-06 at 04:20 -0700, Jeremy Chadwick wrote:
 On Mon, Oct 06, 2008 at 12:58:30PM +0300, Evren Yurtesen wrote:
  Hello,
 
  Is there a known continuous backup solution similar to r1soft backup for  
  FreeBSD? I googled a lot but couldnt find anything.
 
  R1soft says they need help to develop FreeBSD support in their product. 
  Do you know anybody who can help r1soft on this issue?
 
  Please see: http://forum.r1soft.com/showpost.php?p=3414postcount=9
 
 Would the GEOM gate class handle this?  See ggatec(8) and ggated(8).
 

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


Re: continuous backup solution for freebsd?

2008-10-06 Thread Evren Yurtesen

Jeremy Chadwick wrote:

On Mon, Oct 06, 2008 at 12:58:30PM +0300, Evren Yurtesen wrote:

Hello,

Is there a known continuous backup solution similar to r1soft backup for  
FreeBSD? I googled a lot but couldnt find anything.


R1soft says they need help to develop FreeBSD support in their product. 
Do you know anybody who can help r1soft on this issue?


Please see: http://forum.r1soft.com/showpost.php?p=3414postcount=9


Would the GEOM gate class handle this?  See ggatec(8) and ggated(8).



I am not saying it is impossible. They just need somebody to put them to 
right track I guess. I personally cant do that. It would be nice if 
somebody who has knowledge in this area contacts r1soft. At the very 
least r1soft seems to be willing to communicate on this issue.


Continuous backups as well as bare-metal-restore seem to be a key 
feature for many hosters. FreeBSD is loosing users because of this issue.


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


Re: continuous backup solution for freebsd?

2008-10-06 Thread Evren Yurtesen

Julien Cigar wrote:

Bacula ? http://www.bacula.org
I use it at work to backup linux and freebsd boxes and it works like a
charm.

On Mon, 2008-10-06 at 04:20 -0700, Jeremy Chadwick wrote:

On Mon, Oct 06, 2008 at 12:58:30PM +0300, Evren Yurtesen wrote:

Hello,

Is there a known continuous backup solution similar to r1soft backup for  
FreeBSD? I googled a lot but couldnt find anything.


R1soft says they need help to develop FreeBSD support in their product. 
Do you know anybody who can help r1soft on this issue?


Please see: http://forum.r1soft.com/showpost.php?p=3414postcount=9

Would the GEOM gate class handle this?  See ggatec(8) and ggated(8).






Bacula does not support continuous backups as far as I know. It has to 
scan all the files to find new/changed files to backup. The r1soft agent 
monitors file system writes and backs up changed parts immediately. This 
does allow r1soft backup to restore the system to its latest state 
(10-15minutes ago state, thus continuous backup is achieved) as it 
continually updates the backups. Also has much less stress on the 
systems where the writes are not so much since it doesnt have to check 
every file at each backup cycle. Also r1soft cdp has support for MySQL 
where you can easily restore mysql data in table level if required. It 
is as well supported by a wide variety of web hosting automation systems 
for example H-Sphere ( http://www.parallels.com/hsphere/ ) etc. through 
plugins.


Please see the info about continuous data protection:
http://en.wikipedia.org/wiki/Continuous_Data_Protection

Otherwise I am currently using BackupPC (which is pretty good in my 
opinion and easier to use compared to Bacula) to take nightly backups of 
the servers.


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


Re: continuous backup solution for freebsd?

2008-10-06 Thread Jeremy Chadwick
On Mon, Oct 06, 2008 at 05:36:32PM +0300, Evren Yurtesen wrote:
 Jeremy Chadwick wrote:
 On Mon, Oct 06, 2008 at 12:58:30PM +0300, Evren Yurtesen wrote:
 Hello,

 Is there a known continuous backup solution similar to r1soft backup 
 for  FreeBSD? I googled a lot but couldnt find anything.

 R1soft says they need help to develop FreeBSD support in their 
 product. Do you know anybody who can help r1soft on this issue?

 Please see: http://forum.r1soft.com/showpost.php?p=3414postcount=9

 Would the GEOM gate class handle this?  See ggatec(8) and ggated(8).


 I am not saying it is impossible. They just need somebody to put them to  
 right track I guess. I personally cant do that. It would be nice if  
 somebody who has knowledge in this area contacts r1soft. At the very  
 least r1soft seems to be willing to communicate on this issue.

First and foremost, the URL you gave is terse and out of context.  Let
people read the entire thread:

http://forum.r1soft.com/showthread.php?p=3414

So let me throw around some ideas.

First and foremost, David appears to be saying We'll take FreeBSD
seriously if we can get proper documentation, and it needs to be
thorough, that explains how to interface with devices on a block level
so we can perform block-level backups and write our software
appropriately.  AFAIK we don't have any documentation that outlines
that in a clear, concise manner.

With regards to providing protocol documentation and letting the
open-source community write the software, R1Soft is generally right.
Time and resources are the biggest problem with open-source; do not
think for a moment that just because millions of users can look at
source code means they understand it, or even know how to write it, or
will even *want* to.  The majority do/will not.

That said, I'd like to know exactly how low-level R1Soft's software
truly is.  dump(8), AFAIK, is block-level -- and that's a userland
program.  Does R1Soft's software *truly* require kernel-land?  I have
more to say on that issue (not against R1Soft, but speaking with regards
to the current state of FreeBSD's developer count) if it truly does.

I'm somewhat surprised that their software focuses on Linux and Windows
and not Solaris and Linux, especially given that they're interested in
dedicated server markets.  Solaris is always the first OS that comes
to my mind when talking about hardcore server operating systems.

 Continuous backups as well as bare-metal-restore seem to be a key  
 feature for many hosters.

Regarding continuous backups: the GEOM gate class could be used for
this.  Meaning, I think it could be used as an alternate to R1Soft's
software.

Regarding bare-metal restoration I'm not aware of how to do that under
FreeBSD, Linux, or even Solaris with ease.  In most cases, companies
develop their own PXE-booting environments which wipe the disks and
reinstall + restore data as they see fit.  There is no standard.

 FreeBSD is loosing users because of this issue.

Why does the number of FreeBSD users matter?  Quantity does not
necessarily represent quality.

I'm sorry for sounding anti-FreeBSD, but the reality is that people
should use whatever solutions work best for them -- if that's using
Windows, Solaris, or Linux, great!  Remember that open-source is about
choice: and choice means supporting the possibility that someone chooses
something else.  Blind one-sided advocacy is very damaging to the
open-source model and concept.

-- 
| Jeremy Chadwickjdc at parodius.com |
| Parodius Networking   http://www.parodius.com/ |
| UNIX Systems Administrator  Mountain View, CA, USA |
| Making life hard for others since 1977.  PGP: 4BD6C0CB |

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


Re: continuous backup solution for freebsd?

2008-10-06 Thread Evren Yurtesen
First of all, I am not an r1soft advocate, but they seem to be making a 
software which is popular and affordable and interested in giving 
FreeBSD support... r1soft is not the issue here, the problem is that 
there is no way to do near continuous backups on FreeBSD servers.


Jeremy Chadwick wrote:


That said, I'd like to know exactly how low-level R1Soft's software
truly is.  dump(8), AFAIK, is block-level -- and that's a userland
program.  Does R1Soft's software *truly* require kernel-land?  I have
more to say on that issue (not against R1Soft, but speaking with regards
to the current state of FreeBSD's developer count) if it truly does.


I think you might not have understood the concept of near continuous 
backups. The R1Soft backup monitors the filesystem operations and backs 
up written blocks. So it has to know what is written and when to be able 
to back it up. The dump command simply reads/writes the blocks. It cant 
only read changed blocks. It has to read the whole thing (inefficient).


Continuous backups as well as bare-metal-restore seem to be a key  
feature for many hosters.


Regarding continuous backups: the GEOM gate class could be used for
this.  Meaning, I think it could be used as an alternate to R1Soft's
software.


The GEOM gate allows mirroring to a remote machine, am I not right? That 
would be more or less same as same as using RAID. The continuous backup 
(or near continuous) means that you can restore the filesystem to a 
point like 15 minutes ago, or 1 hour ago. Besides, I hear geom might 
have network delay problems and it is much more complicated setup to 
build two machines in mirror configuration just for backup purposes as 
well as you cant restore to a point in the past.



Regarding bare-metal restoration I'm not aware of how to do that under
FreeBSD, Linux, or even Solaris with ease.  In most cases, companies
develop their own PXE-booting environments which wipe the disks and
reinstall + restore data as they see fit.  There is no standard.


OK. Actually there is more than one solution which can do 
bare-metal-restores for FreeBSD also. However those solutions at best 
rely on nightly backups of the filesystems. With R1Soft, you can restore 
the system to only few minutes before the total meltdown.


Unrelated to bare metal restore, with normal backups you are not taking 
backups of files which are created/deleted often. For example this can 
be customer mails or if a hacker hacks the box and removes his trails. 
Even sometimes customers upload some file and remove from their computer 
the same they and then accidentally remove from the server. With R1Soft 
backup the data would go into the backup server right away and you an 
restore every single file independent of when it was put or removed.



FreeBSD is loosing users because of this issue.


Why does the number of FreeBSD users matter?  Quantity does not
necessarily represent quality.


Thats a perfectly fine statement. But a quality product would be nothing 
without users. As well as this problem effects the quality. Consider a 
system which has sensitive data which shouldnt get lost, with continuous 
data protecton you can restore such failed system to only few minutes 
before the failure point. Doing this is currently impossible with 
FreeBSD. Best we can do is to return to previous snapshot taken (which 
might be a day old). This is an important design criteria since 
restoring the lost data might be time consuming and expensive. Thge 
issue is not even r1soft, they are just the most popular company giving 
such solution, only if there was at least one backup solution which 
could provide near continuous data protection...


In addition to this, near continuous backups create less load on boxes 
with a lot of reads but little writes. Standart backups have to scan all 
the files to detect which files were changed.



I'm sorry for sounding anti-FreeBSD, but the reality is that people
should use whatever solutions work best for them -- if that's using
Windows, Solaris, or Linux, great!  Remember that open-source is about
choice: and choice means supporting the possibility that someone chooses
something else.  Blind one-sided advocacy is very damaging to the
open-source model and concept.


I agree, and please dont shoot the messenger :) I just have a bunch of 
customers who would use FreeBSD but not using only because of this 
problem. In addition to that I myself would like to use near continuous 
backups as well.


I was just trying to inform the FreeBSD community here so if somebody 
can have some time to divert to giving the right advices to r1soft then 
we all could benefit from it. It doesnt even have to be free even, with 
a reasonable price they can probably hire somebody to work for building 
the basics of this feature.


So the real question is, is there anybody who is willing and have the 
experience to help on this issue?


Thanks,
Evren
___
freebsd

Re: continuous backup solution for freebsd?

2008-10-06 Thread Roland Smith
On Mon, Oct 06, 2008 at 12:58:30PM +0300, Evren Yurtesen wrote:
 Hello,
 
 Is there a known continuous backup solution similar to r1soft backup for 
 FreeBSD? I googled a lot but couldnt find anything.

I don't think so. The closest thing I know of is rsnapshot
(http://www.rsnapshot.org/). 

My solution is to run rsync in a cron job. In my situation this takes
about 5 minutes for approximately 100GB of data. The time it takes will
obviously depend on the rate of change in the data.

You could also use local snapshots with mksnap_ffs(8), to solve the oh
shit I deleted my files situation.

Roland
-- 
R.F.Smith   http://www.xs4all.nl/~rsmith/
[plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
pgp: 1A2B 477F 9970 BA3C 2914  B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)


pgpy2oCjkIRDg.pgp
Description: PGP signature


Re: continuous backup solution for freebsd?

2008-10-06 Thread Jeremy Chadwick
 of this.  What's his background?  I
don't know, maybe some old guy who lives in a cave and has been studying
BSD code in the steam tunnels; who knows.  It's like they literally come
out of the woodwork, while I don't see this sort of behaviour with
Linux.  With Linux, it's often Hi I work for large vendor, we're
adding support for Linux, I need some help with regards to the following
kernel piece... and they've got responses from 20 people in 24 hours.

What I'm saying is that Linux has the upper hand here.  More eyes, more
people, more developers, larger community, larger vendor support, and
much **much** faster turn-around time on fixes/bugs.  We can sit here
and argue about those facts all we want (it's the equivalent of doing
burn-outs in an AMC Pacer in a parking lot -- wasted time, zero gain),
but nothing changes the facts.

 Continuous backups as well as bare-metal-restore seem to be a key   
 feature for many hosters.

 Regarding continuous backups: the GEOM gate class could be used for
 this.  Meaning, I think it could be used as an alternate to R1Soft's
 software.

 The GEOM gate allows mirroring to a remote machine, am I not right? That  
 would be more or less same as same as using RAID. The continuous backup  
 (or near continuous) means that you can restore the filesystem to a  
 point like 15 minutes ago, or 1 hour ago.

What you're talking about sounds like filesystem snapshots, with an
*immense* amount of granularity.  Enterprise-level filers have this
capability (I'm talking Network Appliance), and UFS2 with softupdates
have it (called snapshots; but please be aware that there are *HUGE*
problems with it, and it should not be relied upon for this kind of
functionality) -- but nothing that can be restored within *minutes*.

Even Netapp filers do not have that kind of granularity -- the amount of
disk it would require would be astounding.  Netapp filers often do
snapshot generation hourly or nightly (it's configurable how often);
minutes is unheard of.

ZFS also has snapshot capability, but does not have real-time filesystem
mirroring capabilities over a network (keyword: real-time).

 Besides, I hear geom might  
 have network delay problems and it is much more complicated setup to  
 build two machines in mirror configuration just for backup purposes as  
 well as you cant restore to a point in the past.

Well, GEOM gate is the only thing I know of which replicates filesystems
over a network in real-time.

 Regarding bare-metal restoration I'm not aware of how to do that under
 FreeBSD, Linux, or even Solaris with ease.  In most cases, companies
 develop their own PXE-booting environments which wipe the disks and
 reinstall + restore data as they see fit.  There is no standard.

 OK. Actually there is more than one solution which can do  
 bare-metal-restores for FreeBSD also. However those solutions at best  
 rely on nightly backups of the filesystems. With R1Soft, you can restore  
 the system to only few minutes before the total meltdown.

 Unrelated to bare metal restore, with normal backups you are not taking  
 backups of files which are created/deleted often. For example this can  
 be customer mails or if a hacker hacks the box and removes his trails.  
 Even sometimes customers upload some file and remove from their computer  
 the same they and then accidentally remove from the server. With R1Soft  
 backup the data would go into the backup server right away and you an  
 restore every single file independent of when it was put or removed.

Right.  We're definitely talking about snapshots, at least in concept.

The fact that you're able to restore data within *minutes* is pretty
impressive.  I'm curious what sort of disk requirements are needed
though (I guess it depends on how often changes happen on the
filesystem).

 FreeBSD is loosing users because of this issue.

 Why does the number of FreeBSD users matter?  Quantity does not
 necessarily represent quality.

 Thats a perfectly fine statement. But a quality product would be nothing  
 without users. As well as this problem effects the quality. Consider a  
 system which has sensitive data which shouldnt get lost, with continuous  
 data protecton you can restore such failed system to only few minutes  
 before the failure point. Doing this is currently impossible with  
 FreeBSD. Best we can do is to return to previous snapshot taken (which  
 might be a day old). This is an important design criteria since  
 restoring the lost data might be time consuming and expensive. Thge  
 issue is not even r1soft, they are just the most popular company giving  
 such solution, only if there was at least one backup solution which  
 could provide near continuous data protection...

Part of the design issue here is that there's two concepts being
merged into one thing: snapshots and backup restoration.

I for one have never correlated snapshots and backup restorations
(bare-metal recovery).  I consider them completely separate things

Re: continuous backup solution for freebsd?

2008-10-06 Thread Mel
On Monday 06 October 2008 19:07:30 Evren Yurtesen wrote:
 First of all, I am not an r1soft advocate, but they seem to be making a
 software which is popular and affordable and interested in giving
 FreeBSD support... r1soft is not the issue here, the problem is that
 there is no way to do near continuous backups on FreeBSD servers.

 Jeremy Chadwick wrote:
  That said, I'd like to know exactly how low-level R1Soft's software
  truly is.  dump(8), AFAIK, is block-level -- and that's a userland
  program.  Does R1Soft's software *truly* require kernel-land?  I have
  more to say on that issue (not against R1Soft, but speaking with regards
  to the current state of FreeBSD's developer count) if it truly does.

 I think you might not have understood the concept of near continuous
 backups. The R1Soft backup monitors the filesystem operations

So does ggate. But read on.

 So it has to know what is written and when to be able 
 to back it up. The dump command simply reads/writes the blocks. It cant
 only read changed blocks. It has to read the whole thing (inefficient).

But Jeremy's point being, dump(8) does not need /dev/special_device to 
read/write at block level.

  Continuous backups as well as bare-metal-restore seem to be a key
  feature for many hosters.
 
  Regarding continuous backups: the GEOM gate class could be used for
  this.  Meaning, I think it could be used as an alternate to R1Soft's
  software.

 The GEOM gate allows mirroring to a remote machine, am I not right? That
 would be more or less same as same as using RAID. The continuous backup
 (or near continuous) means that you can restore the filesystem to a
 point like 15 minutes ago, or 1 hour ago. Besides, I hear geom might
 have network delay problems and it is much more complicated setup to
 build two machines in mirror configuration just for backup purposes as
 well as you cant restore to a point in the past.

I think once you and R1soft step out of the I need a block level device 
paradigm, you will see that modifying ggate with a copy and fall through 
mode, as well as a mechanism to block writes to the local provider, when the 
remote provider wants to write is the best solution all around and your best 
bet to get support for it.
Right now, ggate does intercept and redirect, but the concept of copy and 
fall through is not that far away. Bringing the R1soft devs in contact with 
the FreeBSD geom list and having them browse the sys/geom/ggate sources to 
see how trivial it is to hook into filesystem operations would be the course 
of action I'd recommend.

-- 
Mel

Problem with today's modular software: they start with the modules
and never get to the software part.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: continuous backup solution for freebsd?

2008-10-06 Thread Julien Cigar
Sorry for once more but: you can make incremental backups every x
minutes with Bacula too .. it only takes one or two minutes on my box to
scan for changed files for ~150GB (even faster if you tweak it a bit).
It's not really a true continuous backup solution, but it's perfectly
possible to restore directories/files for changes which occurred x
minutes ago, and with retention periods of x days/months/years.

On Mon, 2008-10-06 at 19:38 +0200, Roland Smith wrote:
 On Mon, Oct 06, 2008 at 12:58:30PM +0300, Evren Yurtesen wrote:
  Hello,
  
  Is there a known continuous backup solution similar to r1soft backup for 
  FreeBSD? I googled a lot but couldnt find anything.
 
 I don't think so. The closest thing I know of is rsnapshot
 (http://www.rsnapshot.org/). 
 
 My solution is to run rsync in a cron job. In my situation this takes
 about 5 minutes for approximately 100GB of data. The time it takes will
 obviously depend on the rate of change in the data.
 
 You could also use local snapshots with mksnap_ffs(8), to solve the oh
 shit I deleted my files situation.
 
 Roland

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


Re: continuous backup solution for freebsd?

2008-10-06 Thread Evren Yurtesen

Roland Smith wrote:

On Mon, Oct 06, 2008 at 12:58:30PM +0300, Evren Yurtesen wrote:

Hello,

Is there a known continuous backup solution similar to r1soft backup for 
FreeBSD? I googled a lot but couldnt find anything.


I don't think so. The closest thing I know of is rsnapshot
(http://www.rsnapshot.org/). 


My solution is to run rsync in a cron job. In my situation this takes
about 5 minutes for approximately 100GB of data. The time it takes will
obviously depend on the rate of change in the data.

You could also use local snapshots with mksnap_ffs(8), to solve the oh
shit I deleted my files situation.




Thanks I am using BackupPC for such task already. Although it takes more than 5 
minutes to traverse millions of files using rsync independent of if they were 
changed or not (since rsync has to scan all the files to detect what is changed 
or not even if it only checks modification times, this takes time for so many 
files).


I just was curious about if anybody could contact r1soft and ask for a pile of 
money to implement a driver for FreeBSD, since I couldnt do it even if I wanted 
to :)


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


Re: continuous backup solution for freebsd?

2008-10-06 Thread Evren Yurtesen

Jeremy Chadwick wrote:


What I'm saying is that Linux has the upper hand here.  More eyes, more
people, more developers, larger community, larger vendor support, and
much **much** faster turn-around time on fixes/bugs.  We can sit here
and argue about those facts all we want (it's the equivalent of doing
burn-outs in an AMC Pacer in a parking lot -- wasted time, zero gain),
but nothing changes the facts.


Sorry, I had to remove the whole bunch of text that you wrote :) but I get the 
point.


I think it is a funny historical fact that BSD was commercially licensed way too 
long to allow Linux to be developed at first place. If BSD was not commercial at 
that times, Linus Torvalds probably wouldnt have started writing the Linux 
kernel. Thus we wouldnt be having this sort of conversation now and it might as 
well be that Microsoft wouldnt have become so huge. If we look at this from that 
point of view then eventually all BSD and Linux etc. are bound to disappear in 
time and Microsoft will stand all alone.


But things can change one step at a time. I prefer(or try) to look at this 
positively. I thought it wouldnt hurt to ask for help if somebody could contact 
r1soft and perhaps ask a pile of money to develop a driver. It would have been a 
win-win situation eh?



Right.  We're definitely talking about snapshots, at least in concept.

The fact that you're able to restore data within *minutes* is pretty
impressive.  I'm curious what sort of disk requirements are needed
though (I guess it depends on how often changes happen on the
filesystem).


Well it is not so fine grained (5 to 10 minutes intervals as mentioned).
http://www.r1soft.com/CDP.html
(there is more information in the link above, with links to outside sources on 
the concept such as wikipedia articles etc.)


I know some large hosters who use this technology with Linux servers. As a 
matter of fact the only reason they went with Linux instead of FreeBSD is 
because they cant get CDP with FreeBSD. I can ask how much space it is using and 
return back to you.


But if you think about it for a second, a traditional backup program would copy 
the whole file even if there was 1 byte changed in it. Lets say 10mbyte file and 
1 byte is changed. R1soft copies only 1 byte. Sure enough the tables can turn 
around if the filesystem was modified really a lot. But it looks like this type 
of solution is mostly effective (at least I didnt see anywhere that anybody is 
complaining that it is using too much disk space yet).


The best is, all it would take for FreeBSD users to be able to utilize this 
technology is a driver to interface with r1soft agent and buy a license. Now I 
am not expecting anybody to write this for free or nobody is obligated to help. 
I just dont know anybody who can help so I thought I would drop in a line here so...



I for one have never correlated snapshots and backup restorations
(bare-metal recovery).  I consider them completely separate things, and
handled *very* differently.  I have a feeling that no one's done this on
FreeBSD because the amount of effort required is quite large.  Someone
did mention HAMMER on DragonflyBSD, but I have no knowledge of it or
what it provides -- that said, Matt (Dillon)'s stuff is usually very,
very good.


I also dont know much about HAMMER either. But it doesnt look like it will make 
mainstream usage anytime soon on FreeBSD if it ever does. Actually I found a 
nice document here:

http://www.dragonflybsd.org/hammer/hammer.pdf
http://www.dragonflybsd.org/hammer/index.shtml


It depends on how the filesystem is done.  For example, with UFS2+SU
snapshots, snapshot generation can take literally hours: completely
unreasonable.  While with ZFS, snapshot generation usually takes 2-3
seconds -- even on massive changes (e.g. take a snapshot, then rm a
600MB ISO image, then compare present vs. snapshot -- the diff is
something like 40KBytes).


Yes, but r1soft backup can restore a single file at a consistent state without 
restoring the whole filesystem from a graphical user interface and can restore 
mysql databases at a table level. While I agree that there might be different 
solutions that I dont know about, it just takes a driver to get this 
functionality on current FreeBSD systems without everybody to change to ZFS or 
HAMMER. One has to think, would people change their filesystems or install a 
driver? :) I would rather pay license fee to a backup program and use the 
driver. The price of the software is very well justified if I can return back to 
5min before in my backups. The data I might loose is much more expensive.



I'm sorry for sounding anti-FreeBSD, but the reality is that people
should use whatever solutions work best for them -- if that's using
Windows, Solaris, or Linux, great!  Remember that open-source is about
choice: and choice means supporting the possibility that someone chooses
something else.  Blind one-sided advocacy is very damaging to the
open-source model

Re: continuous backup solution for freebsd?

2008-10-06 Thread Evren Yurtesen

Mel wrote:

I think once you and R1soft step out of the I need a block level device 
paradigm, you will see that modifying ggate with a copy and fall through 
mode, as well as a mechanism to block writes to the local provider, when the 
remote provider wants to write is the best solution all around and your best 
bet to get support for it.
Right now, ggate does intercept and redirect, but the concept of copy and 
fall through is not that far away. Bringing the R1soft devs in contact with 
the FreeBSD geom list and having them browse the sys/geom/ggate sources to 
see how trivial it is to hook into filesystem operations would be the course 
of action I'd recommend.




Would it be too much to ask if you can send this information to R1Soft and refer 
to the post I linked? I just dont think that I can be an efficient gateway of 
information here :)


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


  1   2   3   4   5   >