Login
Register
Search
Home
Forums
Jobs
LawsonGuru
LawsonGuru Letter
LawsonGuru Blog
Worthwhile Reading
Infor Lawson News Feed
Store
Store FAQs
About
Forums
Infor / Lawson Platforms
S3 Systems Administration
Upgrade Programs in Needs Recovery (ugsql)
Home
Forums
Jobs
LawsonGuru
LawsonGuru Letter
LawsonGuru Blog
Worthwhile Reading
Infor Lawson News Feed
Store
Store FAQs
About
Who's On?
Membership:
Latest:
Saef
Past 24 Hours:
0
Prev. 24 Hours:
0
Overall:
5226
People Online:
Visitors:
609
Members:
0
Total:
609
Online Now:
New Topics
User Group Announcements
Carolina User Group Meeting
12/20/2024 3:15 PM
Date & Time: February 6, 2025, 8:30am - 4:00pm
S3 Systems Administration
ADFS certificate - new cert
12/3/2024 9:38 PM
The certificates on the windows boxes expired and
Lawson S3 HR/Payroll/Benefits
Post Tax Benefit Plan Table
11/14/2024 9:16 PM
Hi, totally new to Laswon. I have a repor
Lawson S3 Procurement
ED501 Error: Map 850 not supported by /law/c15vda/lawson/test10/edi/bin/laws_out_91
11/12/2024 3:47 PM
Tried runnning ED501 and getting the atathced erro
Lawson S3 HR/Payroll/Benefits
Error
11/6/2024 9:54 PM
When I try to enroll a retiree in 72.1 health plan
Infor ERP (Syteline)
Syteline: New Data Maintenance Wizard (Error) Need help
11/1/2024 4:24 PM
Hi, I need help with an error on syteline while us
Dealing with Lawson / Infor
Implementing Lawson v10 with Cerner Surginet, Case Cart Picking, and Quick Adds for the OR
10/29/2024 4:20 PM
Hi Everyone, I am wondering if there is any org
Lawson S3 HR/Payroll/Benefits
Canada Tax Calculation (Federal and Provincial) Issue
10/23/2024 5:00 AM
Initially, we had problem with CPP2 calculation is
Lawson S3 HR/Payroll/Benefits
CA Section 125 401k Plan
10/22/2024 10:13 PM
Does anyone have any recommendations on how to fac
S3 Systems Administration
Running AC120 deleted records from ACMASTER table
10/22/2024 3:40 PM
We recently ran the AC120 as normal and somehow it
Top Forum Posters
Name
Points
Greg Moeller
4184
David Williams
3349
JonA
3291
Kat V
2984
Woozy
1973
Jimmy Chiu
1883
Kwane McNeal
1437
Ragu Raghavan
1372
Roger French
1315
mark.cook
1244
Forums
Filtered Topics
Unanswered
Unresolved
Announcements
Active Topics
Most Liked
Most Replies
Search Forums
Search
Advanced Search
Topics
Posts
Prev
Next
Forums
Infor / Lawson Platforms
S3 Systems Administration
Upgrade Programs in Needs Recovery (ugsql)
Please
login
to post a reply.
12 Replies
0
Subscribed to this topic
27 Subscribed to this forum
Sort:
Oldest First
Most Recent First
Author
Messages
Roger French
Veteran Member
Posts: 549
2/16/2012 8:13 PM
I'm running the upgrade from 9.0.x to 9.0.1.x applications.
The upgrade runs fine for the base applications, then when it gets to the optional jobs (the ugsql/java jobs), then all go into Needs Recovery. This job log is from the AC980 for example. Yes we have the AC system code, as well as all of the FIN, and PROC system codes.
(Yes, I know the 'tr: warning... ' messages are to be disregarded. It's the UG99.sh: line 917: ugsql command not found that is the problem).
for example in the AC980 job, in needs recovery,
here's the tail end of the job log:
\n#> RunSQL - 02/14/12 11:35:26\n
ACTRANS 6711
tr: warning: an unescaped backslash at end of string is not portable
tr: warning: an unescaped backslash at end of string is not portable
tr: warning: an unescaped backslash at end of string is not portable
tr: warning: an unescaped backslash at end of string is not portable
tr: warning: an unescaped backslash at end of string is not portable
tr: warning: an unescaped backslash at end of string is not portable
tr: warning: an unescaped backslash at end of string is not portable
tr: warning: an unescaped backslash at end of string is not portable
+ ugsql -v -t MSF2000 PROD AC980.sql
c:/lsf9/law/prod/ugsrc/UG99.sh: line 917: ugsql: command not found
+ exit 1
Elapsed Time . . . . . .: 00:00:07
ERROR: Stopped On Exit 1.
Elapsed Time: 00:00:07
I've reviewed all the altshell settings, cygwin settings, LUU settings. Uninstalled and reinstalled altshell and cygwin. Rebooted, etc.
Still getting these error messages on some of the upgradge jobs. The upgrade jobs that don't use RunSQL run OK to completion.
This is Win2008R2 (64-bit). SQL 2008, Env 9.0.1.8). This is also using LUU (not MKSToolkit)
Any ideas? I'e been working with Lawson and we still can't figure it out. It appears to not be building the CLASSPATH at all.
troelofs
Advanced Member
Posts: 19
2/16/2012 8:33 PM
Roger,
Have you setup the CLASSPATH and MSJDBC environment variables on your system and restarted the system?
CLASSPATH should have a value of . or atleast have the period as the first part of the path if you have an additional value there.
MSJDBC should point to the location of your SQLJDBC driver. For instance D:\JDBC\
I'm using the sqljdbc4.jar file.
Also make sure you have #LAWGATENAME=msfdb2005 in your MICROSOFT file even if you are running SQL Server 2008.
Roger French
Veteran Member
Posts: 549
2/16/2012 8:48 PM
Thanks,
This is Windows, so I don't think CLASSPATH needs to be set manually within the OS or the Lawson environment.
troelofs
Advanced Member
Posts: 19
2/16/2012 9:32 PM
The classpath recommendation comes from P.5 of the Enterprise Applications 9.0.1 Installation Guide Addendum Version 9.0.1 August 2011 edition.
The LAWGATE recommendation being commented out is just from how it is in my file. I think the key is LAWGATENAME being set to msfdb2005.
I am running Windows 2008 R2, SQL Server 2008, LUU, and was able to run the upgrade successfully.
Hope this helps!
troelofs
Advanced Member
Posts: 19
2/17/2012 5:02 PM
No, just the dot is how I have it setup.
From: forums-lsf-s3-sys-admin@lawsonguru.com [mailto:forums-lsf-s3-sys-admin@lawsonguru.com]
Sent: Friday, February 17, 2012 12:33 PM
To: Roelofs, Thad
Subject: RE: Upgrade Programs in Needs Recovery (ugsql) [00009503:00018078]
[LawsonGuru.com Logo]<
https://www.lawsonguru.com/
>
S3 Systems Administration Forum Notification
A message was posted to a thread you are tracking.
RE: Upgrade Programs in Needs Recovery (ugsql)
Posted by: Roger French
02/17/2012 11:28 AM
I have CLASSPATH defined as a server environment variable just as a '.' (for current directory)
Does it need to include other things?
________________________________
To view the complete thread and reply via your browser, please visit:
https://www.lawsonguru.co...eeds-recovery-ugsql/
You were sent this email because you opted to receive email notifications when someone posted and/or responded to a message on this forum.
To unsubscribe to this thread please visit your user profile page and change your subscription options.
Thank you,
LawsonGuru.com
Roger French
Veteran Member
Posts: 549
2/20/2012 1:58 PM
Thank you,
I checked all of that, checked the environment variables, rebooted, everything. It still does not work. Lawson doesn't know yet either.
The problem I guess resides in the UG99.sh where the ugsql is being called. I don't know if that is where the bug/issue resides. Could you share you're UG99.sh?
Thank you,
-R
troelofs
Advanced Member
Posts: 19
2/20/2012 2:34 PM
Hi Roger,
I can send the UG99.sh script, but it should be the same as the one included in the latest download (February) of the DPP programs. I double checked the release notes of the DPPs (RelNotes-UNIX_NT_900-901.xls) and it looks like there was a correction made to the DPPs in January to address an issue with ugsql with MSF2008 parameter returning a database not found error. ugsql and the dbsql.jar file were updated.
I am also running LSF 9.0.1.9 so that may come into play.
Roger French
Veteran Member
Posts: 549
2/20/2012 3:56 PM
Thanks, however, Lawson is saying that for our version of apps and environment, and OS, there isn't (yet??) a patch for the DPP programs and the issue we're having here.
There seemed to be an issue with not finding something called 'model' .. when we did a which model, it's not found. I don't know what if anything, the 'model' command has in all of this.
They are checking with the altshell developer for additional clarification.
golfer24
Advanced Member
Posts: 46
2/20/2012 10:19 PM
I remember having the same issue last year. I had to add 2 additional environment variables called %LOGNAME% and %USERNAME%.
%LOGNAME% was equal to domain name\lawson and %USERNAME% was equal to lawson.
I also made sure that a . was the first thing in the classpath variable, and I also added the full file path to the lawsonrt.jar file.
I also created the MSJDBC variable as well.
I also ended up executing the sql commands that were in the joblog of the jobs that were in the job log files.
Also, I remember that the UG tables had old data in there that I ended up clearing out as well.
Roger French
Veteran Member
Posts: 549
2/21/2012 4:44 PM
Thanks we tried and confirmed all of the environment variables, all of that already, rebooted, etc. and still the jobs won't run.
Roger French
Veteran Member
Posts: 549
2/23/2012 11:38 AM
Well it turns out there is/was a bug in the UG99.sh for the version we have. We tried many many things but it turns out yes a bug which prevented all of the RunSQL update jobs from being submitted properly. There isn't a fix yet for it.
So we manually submitted the jobs as a workaround using the ugsql commands and that seemed to work.
SP
Veteran Member
Posts: 122
2/23/2012 1:58 PM
Roger,
What versions are you on (OS, db, etc...) and what are you moving to?
Do you have the PT for the bug and is it opened under your company or some
other.
For those that are on a similar platform and version, it would be very
beneficial to know if/when this bug is addressed.
On Thu, Feb 23, 2012 at 6:39 AM,
wrote:
> [image: LawsonGuru.com Logo] <
https://www.lawsonguru.com/
> S3 Systems
> Administration Forum Notification A message was posted to a thread you
> are tracking. *RE: Upgrade Programs in Needs Recovery (ugsql)* Posted
> by: *Roger French*
> 02/23/2012 06:38 AM Well it turns out there is/was a bug in the UG99.sh
> for the version we have. We tried many many things but it turns out yes a
> bug which prevented all of the RunSQL update jobs from being submitted
> properly. There isn't a fix yet for it.
>
> So we manually submitted the jobs as a workaround using the ugsql commands
> and that seemed to work.
> ------------------------------
>
> To view the complete thread and reply via your browser, please visit:
>
>
https://www.lawsonguru.co...eeds-recovery-ugsql/
>
> You were sent this email because you opted to receive email notifications
> when someone posted and/or responded to a message on this forum.
> To unsubscribe to this thread please visit your user profile page and
> change your subscription options.
>
> Thank you,
> LawsonGuru.com
>
Roger French
Veteran Member
Posts: 549
2/23/2012 7:52 PM
No, there isn't a PT, JT or anything yet as far as I know. We just kinda discovered it earlier this week.
Windows 2008R2
SQL2005
Using LUU, not MKSToolkit
Env: 9.0.1.8
Apps: 9.0.1.7
Moving from: 9.0.0.6 Env, 9.0.0.6 Apps
Please
login
to post a reply.