Universe on XP (Personal Edition)
So, I am doing a kind of odd ball thing. I wrote some UV Basic programs to create batch files that are run via the scheduled tasks. I don't want Universe running on my machine all the time. So, I created a couple of '.bat' files to start and stop universe, which are also set up as scheduled tasks. For example, stopuv bat file is NET STOP UniVerse Telnet Service NET STOP UniVerse REXEC Service NET STOP UniVerse Resource Service NET STOP Uni RPC Service This appears to work. The messages come up as everything being successful. I do a 'NET START' to see the services running and it doesn't show any of the Universe processes. However, I then realize that I am still logged into Universe in the PC and it is still alive and well. Is this a bug ? If I exit the session and then retry it, I wont be able to log in. Also, If I stop Universe the gui way from the control panel, I get the same result. Does this happen on all windows platforms ? What if I were shutting down to perform a backup and yet people were still messing with the data. Anthony -- u2-users mailing list [EMAIL PROTECTED] http://www.oliver.com/mailman/listinfo/u2-users
RE: Universe on XP (Personal Edition)
OK I just did it your way and I got the same results. I did a startuv, logged in via telnet, did a stopuv - telnet session is still alive and well. The book says you can use 'net' commands via the actual program or by using the 'description'. They should both do the same thing no ? Anthony -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Eremenko, Sergey Sent: Friday, April 23, 2004 2:35 PM To: 'U2 Users Discussion List' Subject:RE: Universe on XP (Personal Edition) this is proper sequence of shutting UV off net stop uvtelnet net stop universe net stop hsrexec net stop unirpc this is proper sequence of starting UV up net start universe net start uvtelnet net start unirpc net start hsrexec Sergey Eremenko -Original Message- From: Anthony Dzikiewicz [mailto:[EMAIL PROTECTED] Sent: Friday, April 23, 2004 11:31 AM To: U2 Users Discussion List Subject: Universe on XP (Personal Edition) So, I am doing a kind of odd ball thing. I wrote some UV Basic programs to create batch files that are run via the scheduled tasks. I don't want Universe running on my machine all the time. So, I created a couple of '.bat' files to start and stop universe, which are also set up as scheduled tasks. For example, stopuv bat file is NET STOP UniVerse Telnet Service NET STOP UniVerse REXEC Service NET STOP UniVerse Resource Service NET STOP Uni RPC Service This appears to work. The messages come up as everything being successful. I do a 'NET START' to see the services running and it doesn't show any of the Universe processes. However, I then realize that I am still logged into Universe in the PC and it is still alive and well. Is this a bug ? If I exit the session and then retry it, I wont be able to log in. Also, If I stop Universe the gui way from the control panel, I get the same result. Does this happen on all windows platforms ? What if I were shutting down to perform a backup and yet people were still messing with the data. Anthony -- u2-users mailing list [EMAIL PROTECTED] http://www.oliver.com/mailman/listinfo/u2-users -- u2-users mailing list [EMAIL PROTECTED] http://www.oliver.com/mailman/listinfo/u2-users -- u2-users mailing list [EMAIL PROTECTED] http://www.oliver.com/mailman/listinfo/u2-users
RE: Universe on XP (Personal Edition)
That's the problem. Telnet isn't being kicked out. I am doing this (start/stop) from the command line already. No big deal though. I just thought it was kind of odd. We run the 'real' system on unix and linux where I don't have such troubles. Anthony -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Eremenko, Sergey Sent: Friday, April 23, 2004 4:20 PM To: 'U2 Users Discussion List' Subject:RE: Universe on XP (Personal Edition) OK. I've done some testing. It appears that your telnet connection to localhost UV will stay alive until you will leave that connection. Even if universe itself stopped, you still able to run simple commands like LISTU, LISTF, so on. I think that if you want to perform smooth clean and no-troubles UV shutdown, you MUST do it from outside of your existing connection. For instance, you can initiate scheduled command to execute your stopuv.bat by invoke of AT command from your telnet session. It will means that stopuv.bat will execute in different content than your UV telnet session. And in this case your telnet connection will be kicked out for sure. My $.02 Sergey Eremenko. -Original Message- From: Anthony Dzikiewicz [mailto:[EMAIL PROTECTED] Sent: Friday, April 23, 2004 1:14 PM To: U2 Users Discussion List Subject: RE: Universe on XP (Personal Edition) I understand. Im just testing this at the command line. Here is the output of the stop; C:\SCRIPTSstopuv C:\SCRIPTSnet stop uvtelnet The UniVerse Telnet Service service is stopping. The UniVerse Telnet Service service was stopped successfully. C:\SCRIPTSnet stop universe The UniVerse Resource Service service is stopping. The UniVerse Resource Service service was stopped successfully. C:\SCRIPTSnet stop hsrexec The UniVerse REXEC Service service is stopping. The UniVerse REXEC Service service was stopped successfully. C:\SCRIPTSnet stop unirpc The Uni RPC Service service is stopping. The Uni RPC Service service was stopped successfully. C:\SCRIPTStype stopuv.bat net stop uvtelnet net stop universe net stop hsrexec net stop unirpc C:\SCRIPTS XP has a 'thing' where you can do something like run1.bat run2.bat or run1.bat || run2.bat This says that the second command runs only if the first is not successful or vice versa. So, with this you could say stop and if it fails go to try again until it stops. The problem is that is coming back 'ok'. It would be nice to do a 'ps -ef | grep uv' , but I don't think there is a windows equivalent. Anthony -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Tony Gravagno Sent: Friday, April 23, 2004 3:49 PM To: 'U2 Users Discussion List' Subject:RE: Universe on XP (Personal Edition) I use the same technique for starting D3, mvBASE, IIS, and other services form desktop shortcuts. Stopping services with a kill um all, let God sort um out macro like this can be problematic, it really depends on the service, but it's a nice way to free resources. You may see the command window flash as a BAT is executed, but if something is wrong you won't be able to catch the errors. Depending on how thorough you want to be, I recommend writing more code so that your U2 systems update a Windows file when they boot and shutdown. You can then use a script (WSH) from your BAT which verifies the status before termination, maybe with a pause if the status is unexpected - like if users are still logged-in or some other processes are running. HTH, Tony -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Anthony Dzikiewicz Sent: Friday, April 23, 2004 11:31 AM To: U2 Users Discussion List Subject: Universe on XP (Personal Edition) So, I am doing a kind of odd ball thing. I wrote some UV Basic programs to create batch files that are run via the scheduled tasks. I don't want Universe running on my machine all the time. So, I created a couple of '.bat' files to start and stop universe, which are also set up as scheduled tasks. For example, stopuv bat file is NET STOP UniVerse Telnet Service NET STOP UniVerse REXEC Service NET STOP UniVerse Resource Service NET STOP Uni RPC Service This appears to work. The messages come up as everything being successful. I do a 'NET START' to see the services running and it doesn't show any of the Universe processes. However, I then realize that I am still logged into Universe in the PC and it is still alive and well. Is this a bug ? If I exit the session and then retry it, I wont be able to log in. Also, If I stop Universe the gui way from the control panel, I get the same result. Does this happen on all windows platforms ? What if I were shutting down to perform a backup and yet people were still messing with the data. Anthony -- u2-users mailing list [EMAIL PROTECTED] http://www.oliver.com/mailman/listinfo/u2-users -- u2-users mailing list [EMAIL PROTECTED] http://www.oliver.com
RE: U2 Personal Editions
The only note I have from an install is that you need to edit the install script and change the '/cdrom' to '/mnt/cdrom'. That was true for my install on Red Hat. That may or may not be correct for your system. My entire instruction was Iistall CD login as root mount /mnt/cdrom cpio -ivcBdum /mnt/cdrom/startup (uv.load 20 blocks appear on screen) ./uv.load Then follow the bouncing ball Anthony Dzikiewicz -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: Wednesday, April 07, 2004 2:04 PM To: [EMAIL PROTECTED] Subject:U2 Personal Editions I'm trying to install UV and UD Personal Editions. I had an old download of UVPE and am trying to install it. Once upon a time i remember someone mentioning what needed to be changed in uv.load to install it on a non-Redhat system (Debian in my case), but i can't find it in the archives. Anyone know? Alas, i no longer have broadband and the UD download took about 8-10 hours and didn't quite finish. I got 67.1 MB of the 68.2MB of rhlinux71_601PE.tar.gz. Thought i'd try to install it anyway and it almost worked. The server loads and presumably is running ok, but when i try to start the client, i get a message saying the sys/VOC file is version 5.0 and needs to be 6.0. Presumably updatevoc would fix this, but, alas, it appears the files are in alphabetical order and the extraction bombs out in the uojskd directory. Since the download is https, i assume there's no way to use something like wget to resume the download. I have to pay by the minute for internet here in Zambia, so i hate to try to download the whole thing again if i don't have to since the same thing could happen again. Of course the easiest thing would be for someone to send me a gzipped tarball of everything that extracts from uojsdk/lib onward. I really don't think IBM would mind, but in these lawsuit happy days, i understand most people wouldn't want to do this. Just wondering if there are any other options? TIA, Charles -- u2-users mailing list [EMAIL PROTECTED] http://www.oliver.com/mailman/listinfo/u2-users -- u2-users mailing list [EMAIL PROTECTED] http://www.oliver.com/mailman/listinfo/u2-users
RE: Label printers on AIX and/or Solaris
We use Zebra printers. However, the output needs to be in ZPL language. Im not sure that you will escape the 'control' characters altogether. You will at minimum need to put characters around the barcode themselves if the need arises. I've never tried sending plain ascii text to them, so Im not sure if they work that way. The programming language is not bad at all - very easily done really (2 hours of messing around and you will probably have it down). If you want to be able to print various fonts and sizes, I don't know how you will escape the 'codes'. Even it you find one that understands postscript, you still have to convert text to postscript. Anthony Dzikiewicz -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Karjala Koponen Sent: Monday, April 05, 2004 1:05 PM To: [EMAIL PROTECTED] Subject:Label printers on AIX and/or Solaris Hello, I'm running UniData 5.2.15 on AIX 4.3.2 but will be going to UniData 6.0.9 on Solaris 2.8. We have two stand alone Epson LX300+ 9 pin dot matrix printers we use to print labels. They are defined as generic (ASCII) devices. The printers are old and the output is acceptable, at best. I'd like to replace the printers with label printers that will print on peel off labels of roll stock. These printers generally come with Windows drivers but Unix drivers seem to be lacking. Some of the higher end printers come with a programming manual that would allow me to write code to send control sequences to the printer and control everything. I've done that before but I'd rather not take the time to do that if I can simply attach a printer, either to the network or a serial connection, load a driver and create a queue, and then simply send my few lines of text to the print queue and get a label. Bar code would be nice but is not mandatory. I'm sure that we are just not looking in the right place or closely enough. We are not printing high volumes of labels so less expensive is better. Any suggestions? Thanks, Karjala -- u2-users mailing list [EMAIL PROTECTED] http://www.oliver.com/mailman/listinfo/u2-users -- u2-users mailing list [EMAIL PROTECTED] http://www.oliver.com/mailman/listinfo/u2-users
RE: Unique user id
I'm not sure how to get the user number unique. I do know that the pid is always unique. Is it that you are up against the ol 'at /cron' can only have one thing running at a time ? If that's it then you may have to do some work. What we do here is we have a phantom running as a job.monitor, which process all of our batch jobs. With this there is a whole system of commands (SUBMIT.JOB, CANCEL.JOB, etc...). We have our cron / at jobs log in quick and do a SUBMIT.JOB myjob. This way the cron process works for a second. It basically tells the 'other guy' to do the work. We have been successful with this. Anthony Dzikiewicz -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Drew Henderson Sent: Wednesday, March 31, 2004 1:24 PM To: U2 Users Discussion List Subject:Unique user id Hey gang, We've moved to a RH Linux platform from an HP-UX box, and have started using the at subsystem for running batch jobs.we've run into a problem with the jobs all having the same user number...any suggestions about how to get these to be unique? Thanks, Drew -- -- Drew Henderson There are two types of people - Dir. for Computer Center Operations those who do the work and those [EMAIL PROTECTED] who take the credit. Try to be in the first group, there is 110 Ginger Hall less competition. Morehead State University Indira Ghandi Morehead, KY 40351 Phone: 606/783-2445 Fax: 606/783-5078 -- -- u2-users mailing list [EMAIL PROTECTED] http://www.oliver.com/mailman/listinfo/u2-users -- u2-users mailing list [EMAIL PROTECTED] http://www.oliver.com/mailman/listinfo/u2-users
RE: UV 10.1 on RedHat AS 2.1
I got my answer from support on the PORT.STATUS problem. What needed to be done to allow non root users to view a complete PORT.STATUS was to chmod u=rws /usr/bin/ipcs chmod u=rws /usr/ibm/uv/bin/list_readu This does a 'suid' to those files. MASTER OFF ALL is still a bug as far as I know Anthony -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Hennessey, Mark F. Sent: Monday, February 23, 2004 12:23 PM To: U2 Users Discussion List Subject:RE: UV 10.1 on RedHat AS 2.1 Anthony: snip However, there are some differences in the PORT.STATUS command. If you issue this as non 'su', then the display is limited to your user only. On DG/UX you would be able to see everything for all users. I tried to set the 'sticky bit' on the program to make it work and I cant seem to make it work the same as it does on DG. /snip Did you install as root or uvadm? If you did it as uvadm, make sure that uvadm owns list_readu in /.uvhome/bin. I vaguely recollect that when I did the uv install as an upgrade some things didn't seem to get chown'ed correctly... -- u2-users mailing list [EMAIL PROTECTED] http://www.oliver.com/mailman/listinfo/u2-users -- u2-users mailing list [EMAIL PROTECTED] http://www.oliver.com/mailman/listinfo/u2-users
RE: UV 10.1 on RedHat AS 2.1
We have this running on a Dell Poweredge. We are converting from DG/UX, Universe 9.5. All seems well so far. However, there are some differences in the PORT.STATUS command. If you issue this as non 'su', then the display is limited to your user only. On DG/UX you would be able to see everything for all users. I tried to set the 'sticky bit' on the program to make it work and I cant seem to make it work the same as it does on DG. Also, MASTER OFF ALL does not work on Red Hat. This is a bug. You can do a MASTER OFF user or even LO pid, but MASTER OFF ALL causes all kinds of errors to be displayed. As far as MQ, we don't use them. Anthony Dzikiewicz -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of John Hester Sent: Monday, February 16, 2004 3:41 PM To: [EMAIL PROTECTED] Subject:UV 10.1 on RedHat AS 2.1 Anyone running UV on RedHat AS 2.1 and planning to upgrade to UV 10.1? I'm preparing to migrate to RH AS 2.1 and need the MQ functionality built into UV 10.1. IBM has told me that it hasn't been ported yet but I can't get an answer on a timeframe for the port. Just wondering if anyone else has any info on this. TIA, John -- u2-users mailing list [EMAIL PROTECTED] http://www.oliver.com/mailman/listinfo/u2-users -- u2-users mailing list [EMAIL PROTECTED] http://www.oliver.com/mailman/listinfo/u2-users
RE: UV on SCO Unix
We are in the process of switching from DG intel to IBM intel running Red Hat Linux. We don't have the IBM server yet. We are currently experimenting with a Dell Poweredge server with Red Hat AS 2.1. All of our Universe files and apps convert over just fine. I really cant put a full load on it to give it a true test. However, it has been blowing the doors off the old system (sselect on 721657 records Red Hat/Dell = 1min 12 sec, DG = 11min 10sec). Nothing has crashed yet, no core dumps. Red Hat is as expensive or as cheap as you want it to be depending on what support option you purchase. Isn't it true that the SCO code is now in Red Hat anyway ;) ? Guess we'll find out when the dust settles. Anyway, I would say that it is worth a look. We're very happy with it so far. We are a small Universe shop - 100 users realtime point of sale. Anthony Dzikiewicz IT Manager Alperts Furniture -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Brutzman, Bill Sent: Wednesday, February 11, 2004 12:35 PM To: 'U2 Users Discussion List' Subject:UV on SCO Unix We bought the year-end UV amnesty upgrade from IBM. Because of an existing ERP license agreement, we need to stay with Unix. While I would prefer to stay with HP-Ux, pricing for a new HP-Ux server seems to be approaching $10,000. Right now, I am not sure if it makes any sense to upgrade hardware in our HP-9000-E45 box. We would rather spend $3k. Thus, I am considering running SCO on say a Dell server. Any comments on running UV on SCO ? Perhaps there is another Unix besides SCO... Bill Brutzman, Manager IT HK MetalCraft Mfg Corp PO Box 775 35 Industrial Road Lodi NJ 07644-0775 973.471.7770 x145 .voice 973.471.9666 .fax [EMAIL PROTECTED] www.hkMetalCraft.com -- u2-users mailing list [EMAIL PROTECTED] http://www.oliver.com/mailman/listinfo/u2-users -- u2-users mailing list [EMAIL PROTECTED] http://www.oliver.com/mailman/listinfo/u2-users
RE: Serial Connectivity
Title: Message I just got a digiport server running on Universe/Linux. We have a door/people counter on it and an RF mux. We used cat5 basic wiring with rj45 to db25 converters. Pins 2, 3, 7 (tx, rx, sig gnd) are all that were needed. If the digi driver installs properly and such it should be pretty simple. Anthony Dzikiewicz -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]On Behalf Of Brutzman, Bill Sent: Thursday, February 05, 2004 11:38 AM To: 'U2 Users Discussion List' Subject: Serial Connectivity We are considering connecting a scale [used to weigh parts] having an RS-232 port to our HP Unix, UniVerse-based ERP system. Digiappears to have the best unit to go from serial to ethernet. While we do have an HP serial port hub, I would rather not wire a serial home-run from the server to the scale. Thus, I seek suggestions on voodoo to best make a connection between say UniBasic and/or UniObjects and a serial or ethernet device. --Bill -- u2-users mailing list [EMAIL PROTECTED] http://www.oliver.com/mailman/listinfo/u2-users