RE: [U2] RedHat, Universe, unlocking
John, I tried sudo for uv/bin/list_readu does not work as there are other things UV and linux must have permissions to use the UniVerse Administrator and utilities. You still must be root to be able to perform UniVerse administration. sudo bin/uv seems to be the quickest way to allow a user to be an admin. Granted, there are security flaws with this (hopefully you're not going to give root privileges to just anyone), but it's a lot cleaner than mucking with the UID's and I mentioned before. Steve PS if sudo bin/list_readu works for you, then I would like to see how you did it. -Original Message- From: John Godzina [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 08, 2006 7:22 PM To: u2-users@listserver.u2ug.org Subject: Re: [U2] RedHat, Universe, unlocking No, I meant configuring sudo to be able to invoke list_readu (which is what unlock calls) Sirulnick, Steve wrote: > John, > > You can. In order for it to work though, you have to invoke a universe > shell for it to work. For example, you could telnet or ssh into your > account and type sudo /path/to/bin/uv, enter your password... or > however you set up sudo and you're now logged in as root. That > completely avoids having to create more than one user with UID 0. > > Steve > > -Original Message- > From: John Godzina [mailto:[EMAIL PROTECTED] > Sent: Wednesday, March 08, 2006 2:30 PM > To: u2-users@listserver.u2ug.org > Subject: Re: [U2] RedHat, Universe, unlocking > > Could you use sudo to avoid full admin rights but allow the UV admin > commands? > > Sirulnick, Steve wrote: > > >Just as a follow up. This does include using UNLOCK. :) > > > >-Original Message- > >From: Sirulnick, Steve [mailto:[EMAIL PROTECTED] > >Sent: Wednesday, March 08, 2006 11:27 AM > >To: 'Peter Veenhof'; u2-users@listserver.u2ug.org > >Subject: RE: [U2] RedHat, Universe, unlocking > > > >Peter, > > > >I have had to set up an administrator accounts and I'm not > necessarily happy > >with this solution. There may be better ways to go out there. I've > had to > >create a user with UID 0 privileges. Universe requires super-user > function > >to be able to use the admin tools (SYSADM.MENU) and this was the only > >solution. > > > >HTH, > > > >Steve > > > >-Original Message- > >From: Peter Veenhof [mailto:[EMAIL PROTECTED] > >Sent: Wednesday, March 08, 2006 9:25 AM > >To: u2-users@listserver.u2ug.org > >Subject: [U2] RedHat, Universe, unlocking > > > >Hi all, > > > >Running Universe on Redhat, how does one setup a user to be able to > >perform UNLOCK at TCL? > > > >Thanks > >Peter > >--- > >u2-users mailing list > >u2-users@listserver.u2ug.org > >To unsubscribe please visit http://listserver.u2ug.org/ > >--- > >u2-users mailing list > >u2-users@listserver.u2ug.org > >To unsubscribe please visit http://listserver.u2ug.org/ > >--- > >u2-users mailing list > >u2-users@listserver.u2ug.org > >To unsubscribe please visit http://listserver.u2ug.org/ > > [demime 1.01d removed an attachment of type text/x-vcard which had a > name of john.vcf] > --- > u2-users mailing list > u2-users@listserver.u2ug.org > To unsubscribe please visit http://listserver.u2ug.org/ [demime 1.01d removed an attachment of type text/x-vcard which had a name of john.vcf] --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/ --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/
RE: [U2] RedHat, Universe, unlocking
Ray, Because in order to be uvadm on *nix based systems, you must be root. In windows, you need to be a part of the administrator group. Sucky, isn't it? Steve -Original Message- From: Ray Wurlod [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 08, 2006 6:12 PM To: u2-users@listserver.u2ug.org Subject: Re: [U2] RedHat, Universe, unlocking Why not just set up a uvadm user? --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/ --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/
RE: [U2] RedHat, Universe, unlocking
John, You can. In order for it to work though, you have to invoke a universe shell for it to work. For example, you could telnet or ssh into your account and type sudo /path/to/bin/uv, enter your password... or however you set up sudo and you're now logged in as root. That completely avoids having to create more than one user with UID 0. Steve -Original Message- From: John Godzina [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 08, 2006 2:30 PM To: u2-users@listserver.u2ug.org Subject: Re: [U2] RedHat, Universe, unlocking Could you use sudo to avoid full admin rights but allow the UV admin commands? Sirulnick, Steve wrote: >Just as a follow up. This does include using UNLOCK. :) > >-Original Message- >From: Sirulnick, Steve [mailto:[EMAIL PROTECTED] >Sent: Wednesday, March 08, 2006 11:27 AM >To: 'Peter Veenhof'; u2-users@listserver.u2ug.org >Subject: RE: [U2] RedHat, Universe, unlocking > >Peter, > >I have had to set up an administrator accounts and I'm not necessarily happy >with this solution. There may be better ways to go out there. I've had to >create a user with UID 0 privileges. Universe requires super-user function >to be able to use the admin tools (SYSADM.MENU) and this was the only >solution. > >HTH, > >Steve > >-Original Message- >From: Peter Veenhof [mailto:[EMAIL PROTECTED] >Sent: Wednesday, March 08, 2006 9:25 AM >To: u2-users@listserver.u2ug.org >Subject: [U2] RedHat, Universe, unlocking > >Hi all, > >Running Universe on Redhat, how does one setup a user to be able to >perform UNLOCK at TCL? > >Thanks >Peter >--- >u2-users mailing list >u2-users@listserver.u2ug.org >To unsubscribe please visit http://listserver.u2ug.org/ >--- >u2-users mailing list >u2-users@listserver.u2ug.org >To unsubscribe please visit http://listserver.u2ug.org/ >--- >u2-users mailing list >u2-users@listserver.u2ug.org >To unsubscribe please visit http://listserver.u2ug.org/ [demime 1.01d removed an attachment of type text/x-vcard which had a name of john.vcf] --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/ --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/
RE: [U2] RedHat, Universe, unlocking
Sure, but be EXTREMELY careful as you could REALLY screw things up. You must be signed on as root to do this and have a terminal session open. 1. Type in vipw. This utility will open up the password file without inappropriately locking it. You should see lines that look like: someuser:x:10236:501::/ibm/data/account:/bin/bash 2. Scroll to the user account. Select "i" (for insert) to begin editing. Replace the line in the third position where each position is terminated by a ":" with a "0" In this case, the third position is "10236". 3. After you have completed this, hit and enter ":","w","q". This should write the file and quit the first part of the program. NOTE: when you type ":","w","q" you will see those characters at the bottom of your screen only. Not within the body of the file you're trying to edit!!! 4. You should then be prompted to edit the shadow file. Would you like to edit /etc/shadow now [y/n]? Answer "y" This will take you to the shadow file. 5. It's not necessary to edit anything here, so just enter ":wq". This should take you out of the program. 6. BIG FAT NOTE: If at any time you think you've errored editing, type ,"q","!" This will escape the file without saving. 7. If you run into any problems, type man vipw from the terminal. If you're unsure about this, don't attempt it on your production box. Try it on a test system. Steve -Original Message- From: Peter Veenhof [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 08, 2006 1:52 PM To: Sirulnick, Steve; u2-users@listserver.u2ug.org Subject: RE: [U2] RedHat, Universe, unlocking Thanks Steve! Bit of a newbie in Redhat here, do you have steps or the exact command on how to create one of these users?? Thanks again, Peter _ From: Sirulnick, Steve [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 08, 2006 11:27 AM To: Peter Veenhof; u2-users@listserver.u2ug.org Subject: RE: [U2] RedHat, Universe, unlocking Peter, I have had to set up an administrator accounts and I'm not necessarily happy with this solution. There may be better ways to go out there. I've had to create a user with UID 0 privileges. Universe requires super-user function to be able to use the admin tools (SYSADM.MENU) and this was the only solution. HTH, Steve -Original Message- From: Peter Veenhof [mailto:[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> ] Sent: Wednesday, March 08, 2006 9:25 AM To: u2-users@listserver.u2ug.org Subject: [U2] RedHat, Universe, unlocking Hi all, Running Universe on Redhat, how does one setup a user to be able to perform UNLOCK at TCL? Thanks Peter --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/ <http://listserver.u2ug.org/> --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/
RE: [U2] RedHat, Universe, unlocking
Just as a follow up. This does include using UNLOCK. :) -Original Message- From: Sirulnick, Steve [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 08, 2006 11:27 AM To: 'Peter Veenhof'; u2-users@listserver.u2ug.org Subject: RE: [U2] RedHat, Universe, unlocking Peter, I have had to set up an administrator accounts and I'm not necessarily happy with this solution. There may be better ways to go out there. I've had to create a user with UID 0 privileges. Universe requires super-user function to be able to use the admin tools (SYSADM.MENU) and this was the only solution. HTH, Steve -Original Message- From: Peter Veenhof [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 08, 2006 9:25 AM To: u2-users@listserver.u2ug.org Subject: [U2] RedHat, Universe, unlocking Hi all, Running Universe on Redhat, how does one setup a user to be able to perform UNLOCK at TCL? Thanks Peter --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/ --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/ --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/
RE: [U2] RedHat, Universe, unlocking
Peter, I have had to set up an administrator accounts and I'm not necessarily happy with this solution. There may be better ways to go out there. I've had to create a user with UID 0 privileges. Universe requires super-user function to be able to use the admin tools (SYSADM.MENU) and this was the only solution. HTH, Steve -Original Message- From: Peter Veenhof [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 08, 2006 9:25 AM To: u2-users@listserver.u2ug.org Subject: [U2] RedHat, Universe, unlocking Hi all, Running Universe on Redhat, how does one setup a user to be able to perform UNLOCK at TCL? Thanks Peter --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/ --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/
[U2] Universe Server vs Enterprise Editions
I was thinking about moving from UV Server to UV Enterprise in order to take advantage of device licensing. Has anyone ever done this? We have roughly 100 concurrent users at any given time, but they generally have more than 2 sessions opened (definitely needed here). Since UV Server doesn't take advantage of device licensing, my license bills are going through the roof! If there's any flaw in my logic, please let me know. :-) Regards, Steve Sirulnick Costa Fruit & Produce 18 Bunker Hill Industrial Park Boston, MA 02129 Office: 617.912.8045 Fax: 617.912.8145 http://www.freshideas.com/ --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/
[U2] PCL extra page
Does anyone know why I could be getting an extra page that spits out at the beginning of a print job? This only happens when I format the print job with PCL first. It's almost like a banner page with nothing on it. Regards, Steve Sirulnick Costa Fruit & Produce 18 Bunker Hill Industrial Park Boston, MA 02129 Office: 617.912.8045 Fax: 617.912.8145 http://www.freshideas.com/ --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/
RE: [U2] Freeing up AIX disk space
Don, You're scaring me. :) Steve -Original Message- From: Don Kibbey [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 17, 2006 8:16 AM To: u2-users@listserver.u2ug.org Subject: Re: [U2] Freeing up AIX disk space You'll have to use the windoze standby, reboot. --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/ --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/
RE: [U2] Freeing up AIX disk space
This is some good information for me. Thank you for your reply. I, however, did a "sync" on the device and everything fell in line. I was using rm to delete files, but no one was in them. One thing that I did notice that may be odd is when I run a df -k I see /dev/lv0253379072 11705044 79% 102001 7% Where "102001" is the Iused and 7% is the %iused. If I've been deleting files, should that number (and possibly percentage) also increase? Steve -Original Message- From: Chuck Mongiovi [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 17, 2006 11:44 AM To: u2-users@listserver.u2ug.org Subject: RE: [U2] Freeing up AIX disk space I wrote this last night, but for some reason it didn't get sent ... -Chuck --- > I keep deleting files from AIX, but when I run a df -k, the amount of > free space seems to be decreasing as opposed to increasing. Does your free space always decrease that quickly? It sounds like you're deleting the files (with "rm"?) and the reason that you're not getting the space back is that the files are in use by another process .. Try the "df -d" command to see if there's deleted files pending .. If you log them off, you'll get the space back .. So if the "person" that's got the files opened is a phantom or daemon, you'd have to stop that process as well .. Before you do deletes, you should run the "fuser -f filename" (or "fuser -c /filesystem") command to see if someone's using the file .. If files AREN'T in use, you should get the space back immediately .. If they're not in use, you'd be safe to resize them on the fly (if the resize is quick) .. If you're on UDT, i've got a script that I use that uses fuser and then figures out what UDT users are involved using "listuser" .. HTH / chuck --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/ --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/
[U2] Freeing up AIX disk space
I keep deleting files from AIX, but when I run a df -k, the amount of free space seems to be decreasing as opposed to increasing. Is there anything I can do to free up more disk space? This is a production server, so I can't really take it off line until a scheduled downtime. Steve --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/
RE: [U2] System Migration issues
Thanks Tom. This worked perfectly. I saved my dictionaries before I removed the distributed file header then added it later after I created the new DF header. -Original Message- From: Tom Dodds [mailto:[EMAIL PROTECTED] Sent: Thursday, January 12, 2006 4:03 PM To: u2-users@listserver.u2ug.org Subject: RE: [U2] System Migration issues I had the same problem with a migration from a Data General to an AIX/UniVerse 10.1.7. I undid the distribution on the Data General, did the migration, and re-build the distribution on the UniVerse side and it worked fine. The problem is that when you migrate the file, it actually get created anew and the header information is lost from you original system. HTH Tom Dodds [EMAIL PROTECTED] 708-234-9608 Office 630-235-2975 Cell -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Sirulnick, Steve Sent: Thursday, January 12, 2006 2:53 PM To: 'u2-users@listserver.u2ug.org' Subject: RE: [U2] System Migration issues Thank you for all your emails. I will even get more specific so I don't waste your time. When trying to run a REBUILD.DF, it could not read or find the header. When I tried to remove the header and tried to DEFINE.DF, I got a message saying that the partblocks were bad. This is when I used the fixtool utility on the first set of distributed files. I was then able to perform a DEFINE.DF and recreate my data. This was the first set, however. The second set of data is still running under fixtool but it has been running for almost 13 hours on only one distributed file (I have 9 more to go!). Of course, this is a test in preparation for the live migration; however, I will not have that kind of downtime when performing the migration. If I can do something better, I would like to know. Many Thanks! 2ug.org/ --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/ --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/
RE: [U2] System Migration issues
Thank you for all your emails. I will even get more specific so I don't waste your time. When trying to run a REBUILD.DF, it could not read or find the header. When I tried to remove the header and tried to DEFINE.DF, I got a message saying that the partblocks were bad. This is when I used the fixtool utility on the first set of distributed files. I was then able to perform a DEFINE.DF and recreate my data. This was the first set, however. The second set of data is still running under fixtool but it has been running for almost 13 hours on only one distributed file (I have 9 more to go!). Of course, this is a test in preparation for the live migration; however, I will not have that kind of downtime when performing the migration. If I can do something better, I would like to know. Many Thanks! -Original Message- From: Sirulnick, Steve [mailto:[EMAIL PROTECTED] Sent: Thursday, January 12, 2006 1:03 PM To: 'u2-users@listserver.u2ug.org' Subject: RE: [U2] System Migration issues Here's more information: I am using universe and ran fnuxi (transferring in binary mode is a given). I have also tried removing the file header with no joy. I've tried to rebuild the header, but the partfiles were "damaged." It could be because the algorithm may have been different from one system to the other when trying to rebuild. Even so, is there a quicker way of repairing the file headers so they can be rebuild or created again? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Thursday, January 12, 2006 10:36 AM To: u2-users@listserver.u2ug.org Subject: Re: [U2] System Migration issues You didn't say which U2 product, which makes all the difference in the world for this answer. So, because I know a bit of this on Universe, I'll target my answer at that DBMS. My experience with distributed file transfers is that FTP is fine. HOWEVER, when the file is on the new system, you must run fnuxi on the file before doing anything else. Fnuxi clears the distributed parts out of the file header, thus making it a standard hashed file again. So, the main file has to be removed and then the file re-distributed. The Partfile algorithm is hard-coded in each file's header as is the absolute path to each partfile. HTH Karl > I am migrating an old AIX server running U2 to RH Linux. Because of the > server's limitations, I need to transfer files between the two devices via > FTP and then converting the files for Linux use. After doing so, my > distributed files are getting corrupted. It looks like the IBM provided > fixtool utility repairs the files, but it's taking way too long for my > larger distributed files. Making a HUGE assumption that it's the file > transfer responsible for the file corruption, is there a preferred method > for copying data files? > > > > Steve > --- > u2-users mailing list > u2-users@listserver.u2ug.org > To unsubscribe please visit http://listserver.u2ug.org/ > -- karl _/ _/ _/ _/_/_/ __o _/ _/ _/ _/_/ _-\<._ _/_/_/ _/_/_/ (_)/ (_) _/ _/ _/ _/ .. _/ _/ arl _/_/_/ _/ earson[EMAIL PROTECTED] -- IT Director, ATS Industrial Supply, Inc. http://www.atsindustrial.com Toll-free: 800-789-9300 x29 Direct2Desk: 801-978-4429 Facsimile: 801-972-3888 -- --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/ --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/ --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/
RE: [U2] System Migration issues
Here's more information: I am using universe and ran fnuxi (transferring in binary mode is a given). I have also tried removing the file header with no joy. I've tried to rebuild the header, but the partfiles were "damaged." It could be because the algorithm may have been different from one system to the other when trying to rebuild. Even so, is there a quicker way of repairing the file headers so they can be rebuild or created again? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Thursday, January 12, 2006 10:36 AM To: u2-users@listserver.u2ug.org Subject: Re: [U2] System Migration issues You didn't say which U2 product, which makes all the difference in the world for this answer. So, because I know a bit of this on Universe, I'll target my answer at that DBMS. My experience with distributed file transfers is that FTP is fine. HOWEVER, when the file is on the new system, you must run fnuxi on the file before doing anything else. Fnuxi clears the distributed parts out of the file header, thus making it a standard hashed file again. So, the main file has to be removed and then the file re-distributed. The Partfile algorithm is hard-coded in each file's header as is the absolute path to each partfile. HTH Karl > I am migrating an old AIX server running U2 to RH Linux. Because of the > server's limitations, I need to transfer files between the two devices via > FTP and then converting the files for Linux use. After doing so, my > distributed files are getting corrupted. It looks like the IBM provided > fixtool utility repairs the files, but it's taking way too long for my > larger distributed files. Making a HUGE assumption that it's the file > transfer responsible for the file corruption, is there a preferred method > for copying data files? > > > > Steve > --- > u2-users mailing list > u2-users@listserver.u2ug.org > To unsubscribe please visit http://listserver.u2ug.org/ > -- karl _/ _/ _/ _/_/_/ __o _/ _/ _/ _/_/ _-\<._ _/_/_/ _/_/_/ (_)/ (_) _/ _/ _/ _/ .. _/ _/ arl _/_/_/ _/ earson[EMAIL PROTECTED] -- IT Director, ATS Industrial Supply, Inc. http://www.atsindustrial.com Toll-free: 800-789-9300 x29 Direct2Desk: 801-978-4429 Facsimile: 801-972-3888 -- --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/ --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/
[U2] System Migration issues
I am migrating an old AIX server running U2 to RH Linux. Because of the server's limitations, I need to transfer files between the two devices via FTP and then converting the files for Linux use. After doing so, my distributed files are getting corrupted. It looks like the IBM provided fixtool utility repairs the files, but it's taking way too long for my larger distributed files. Making a HUGE assumption that it's the file transfer responsible for the file corruption, is there a preferred method for copying data files? Steve --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/