Re: [U2] UV Linux under FreeBSD?

2008-02-04 Thread Louis Guillaume

Gabriel Green wrote:

Has anyone successfully installed UV Linux under FreeBSD using FreeBSD's
Linux ABI emulation layer?

--GG


I've been trying w/ NetBSD, but currently have problems with Shared 
Memory allocation.


Louis
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


Re: [U2] copying files in Unix from one IBM AIX computer to another IBM AIX computer

2008-02-04 Thread Louis Guillaume

Louie Bergsagel wrote:

I'm trying to copy UniVerse files (all types) from one computer to another
using an NFS mount and the Unix cp command, but am getting damaged files
because they are in use.  They are large files, between 4 and 22 gigs, some
hashed, some dynamic, some directories.

I tried to suspend UniVerse and then copy one file or directory, then
unsuspend, but that hasn't helped.

I am wondering if I need to pause a minute or so between the suspend (uv
-admin -L) and the copy?  In other words, is suspend immediate, or does it
finish all the current writes and then pause?

-- Louie in Seattle
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/



If you are using jfs2 filesystems you can create snapshots (man 
snapshot) then copy from the snapshot to your other system. I recommend 
rsync for the copy also if you wanted to avoid NFS.


You should still quiesce the database, though. But it would reduce your 
downtime to seconds, potentially. It boils down to this...


stopud (or dbpause)
create snapshots
mount snapshots
startud (or dbresume)
copy at your leisure
remove snapshots

I've never used dbpause, probably because the thought of many many 
transactions being buffered until dbresume scares me.


Louis
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


Re: [U2] Comparison Unidata and Universe

2004-09-22 Thread Louis Guillaume
Adrian Matthews wrote:
Does anyone actually use the editor for cutting code these days though?
Absolutely! From what I've seen, most folks who take the time to learn 
vi will never go back.

The only thing AE is good for is macro-fixing savedlists of records, 
IMHO. It really astonishes me that folks continue to use AE for editing 
programs where you can really only look at one line at a time.

I've been using full screen GUI editors for years now. I think I'd pull
my hair out going back.
GUI editors generally lack many of the vi features: use of regular 
expressions, superior cut and paste, multiple cut/paste buffers, the 
ability to read the output of external commands into the file, the 
ability to employ Unix shell utilities (like sed or awk) to edit the 
file etc etc.

The only GUI editor I'd use for programming is vim! It is absolutely 
worth it to learn vi or vim for editing in UniData (and, I'm sure 
UniVerse too). If you're on Windows, there's Vim for Windows.

I don't know much about UniVerse, but I can't imagine that an editor 
should make any difference as most editors should be available to either 
platform. On UniData just set the variable UDT_EDIT=/usr/local/bin/vim 
(or whatever your editor is) and voila.

-- Louis
---
u2-users mailing list
[EMAIL PROTECTED]
To unsubscribe please visit http://listserver.u2ug.org/


Re: [U2][UD] ODBC to UniData

2004-09-09 Thread Louis Guillaume
Chauhan, Savita wrote:
Hi,
I have been trying to connect to our UniData server via ODBC. 
It connects fine to the demo database. 
But when I try to connect to my own test database from MS-Access or VSG,
it gives an error message "You don't have permissions to chdir to
/datatel/development/coldev" !!

I create files using Envision API from Datatel in the DEVelopment
account/database (/datatel/development/coldev).
The entry in my ud_database file looks like this:
DATABASE=demo
UDTHOME=/usr/ud52
UDTACCT=/usr/ud52/demo
TRACE_LEVEL=0
DATABASE=test_db
UDTHOME=/usr/ud52
UDTACCT=/datatel/development/coldev
TRACE_LEVEL=0
I have been fiddling around with so many things, changing permissions on
files, changing the ownership, etc, as suggested by a few people; but
nothing seems to work!!!
Do I have to make some change/entry in some other file too for me to be
able to access the DEV account/database via ODBC?
Can someone tell me what am I doing wrong?
Thanks.
This should be in an FAQ somewhere...
The user who runs unirpcd must be a member of the group that owns the 
database. I believe user permissions are ignored.

For example...
unirpcd is running as root.
the database you're trying to access is /datatel/development/coldev
the permissions on coldev are Owner:datatel Group:cdev Perms:770
root MUST be a member of the "cdev" group.
Note the lack of access control unless you set up good views and privileges!
Hope that helps,
Louis
--
Louis Guillaume
Berklee College of Music
---
u2-users mailing list
[EMAIL PROTECTED]
To unsubscribe please visit http://listserver.u2ug.org/