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
Lawson 9 to 10 separate server issue
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:
454
Members:
0
Total:
454
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
Lawson 9 to 10 separate server issue
Please
login
to post a reply.
22 Replies
3
Subscribed to this topic
27 Subscribed to this forum
Sort:
Oldest First
Most Recent First
Author
Messages
DavidV
Veteran Member
Posts: 101
3/3/2015 3:17 PM
I'm running the setup tasks between two environments. The source product line is on server1 and the target product line is on server2. It appears this is supported given the instructions in the upgrade installation and path guide 9.0.x - 10.0. and the setup tasks required for users going between two environments. However I cannot get the last step work. I've copied the product line dictionary file and ORACLE file from the source server1 onto the target server2 in the locations documented. Created the dbdef entry for the source product line and UG system code. Then in step 8 is says to use laua (security administration) to assign a security class with the source product line to the user running the utilities. Not sure why it says laua since laua isn't available in 10, but I used the Security administrator to create a security class and role with the source product line/data area and assigned it to the user running the utility. That all seemed ok. Now on the last step it asks that you run verifyxxxx sourcepl ugzlog. When I run this verifyora11 SRCPL ugzlog I get:
verifyora11 failed with DBConfig.Init() failed
CLawConfigu
ration::Init() GetDict() failed
Am I missing something? I feel like there is a step or two missing. Any help is appreciated.
Kwane McNeal
Veteran Member
Posts: 479
3/3/2015 3:35 PM
I'm not in front of a system right now, but don't you need the system code in it?
Try: 'verifyora11 srcpl ug ugzlog'
Kwane
Kwane McNeal
Veteran Member
Posts: 479
3/3/2015 3:51 PM
Ok, I got on a system, and my age is clearly showing, as system code is optional.
I thought about the error more. It is thrown when the productline dictionary isn't found (or readable).
You shouldn't be running into security issues, as that would have trapped you first, before it threw this error.
Are you certain you have the dictionary and directory names in the correct case (assuming UNIX) and the perms on the dictionaries allow for reading?
Kwane
DavidV
Veteran Member
Posts: 101
3/3/2015 3:53 PM
I'll double check. I built everything like it was on the source server.
Carl.Seay
Veteran Member
Posts: 109
3/3/2015 4:18 PM
I don't believe the log file is a parameter. Try re-directing to the log. Usually also turn Lawson Security off.
verifyora11 SRCPL > ugz.log
DavidV
Veteran Member
Posts: 101
3/3/2015 4:28 PM
The verifyora11 srcpl ugzlog parameters are good. I believe there is a step missing in the dbdef or security setup for the product line.
verifyora11 scrpl would validate all tables in the srcpl. ugzlog is one of the upgrade tables that is in both the source and target product lines.
DavidV
Veteran Member
Posts: 101
3/3/2015 4:33 PM
It looks like during dbdef that we should define the data area for the source environment but there is nothing in the instructions that you need to
DavidV
Veteran Member
Posts: 101
3/3/2015 5:49 PM
I forgot to mention I have security turned off.
I can't find anything in dbdef that's helping. I defined a data area for the source product line on the target server and that didn't help.
Carl.Seay
Veteran Member
Posts: 109
3/3/2015 5:52 PM
Might check the Database Space in dbdef.
John Henley
Posts: 3353
3/3/2015 6:10 PM
When you copied the source dictionary, was the source environment running? If so, the file might be corrupt.
DavidV
Veteran Member
Posts: 101
3/3/2015 9:05 PM
I stopped the test envrionment which I'm using for my source environment and re-copied the files as directed in the documentation.
Since the product line dictionary I was copying had multiple data areas it didn't load them during the dbdef. At least that's what I'm assuming.
So I created a database space and data area on the targer server for the source product line. And tried the verifyora11 command again.
I'm past the original message:
verifyora11 failed with DBConfig.Init() failed
CLawConfiguration::Init() GetDict() failed
And now depending upon the values I'm using for the ORACLE file I get new errors
$ verifyora11 test901 ugzlog
verifyora11 failed with DBConnect.Connect() failed
Dictionary: 'test901' Program: 'verifyora11' DBServer: 'lawappstest'
COraDBConnection::Connect: Received Error while connecting to server 'lawappstest'
COraSqlStatement::Connect(1): Got OCI_MISC_CODE
ORA-12504: TNS:listener was not given the SERVICE_NAME in CONNECT_DATA
------I've tried almost every combination of the below ORACLE parameters. Again with mixed results
LAWGATENAME=oradb11
#DBSERVER=test
DBSERVER=lawappstest
LOGINNAME=vhtest901
PASSWORD=xxxxxxxx
#ORACLE_SID=test
#TNS_ADMIN=/oracle/admin/lawprod/network
TNS_ADMIN=/oracle/app/oracle/product/11.2.0/network/admin
TWO_TASK=test
#DBSERVER=test --no systemcode ugzlo on data area test901
----
I can query the source DB from the target server using sqlplus vhtest901/xxxxx@test
just fine. No issues. So I feel pretty good about the listener.ora and tnsnames.ora values.
Any ideas on the ORACLE file? Again I've tried just about every combination.
DavidV
Veteran Member
Posts: 101
3/4/2015 1:17 AM
This ORACLE combination works the best, but it still doesn't look right. It requires the system code and that's not normal and when it does return the results it doesn't return the proper counts because the ugzlog table exists in the test901 product line.
LAWGATENAME=oradb11
DBSERVER=test
LOGINNAME=vhtest901
PASSWORD=xxxxxx
ORACLE_SID=test
TNS_ADMIN=/oracle/admin/lawprod/network
TWO_TASK=test
Here are the results of verifyora11 with and without the system code
$ verifyora11 test901 ugzlog
No SystemCode UGZLO on Data Area TEST901
verifyora11 failed with No SystemCode UGZLO on Data Area TEST901
$ verifyora11 test901 ug ugzlog
Verifying objects for selected Tables in the TEST901 Data Area:
Total files found in the Productline : 0
Total views unchecked : 0
Total files in Empty DB space : 0
Foreign files found In the Productline : 0
Total Files unchecked/unable to open : 0
Total Number of SQL tables checked : 0
Number of SQL tables with no errors : 0
Number of SQL tables missing : 0
SQL tables with incorrect definitions : 0
Number of SQL tables with warnings : 0
Number of DB Indexes checked : 0
Number of DB Indexes with no errors : 0
Number of DB indexes missing : 0
DB indexes with Incorrect definitions : 0
DavidV
Veteran Member
Posts: 101
3/4/2015 10:25 PM
I'm pretty confident oracle tns is setup properly. sqlplus vhtest901/xxxx@test works fine from the target
I'm afraid I'm missing something in dbdef. The blddbdict looks good. verifyora11 is recognizing changes to the ORACLE file.
I set debug=true in the ORACLE files for source and target on the target server and compard the verifyora11
ugzlog to the verifyora11
ugzlog and both get down to Returning OK from CDBProgram: Startup().
Source:
$ verifyora12 vhtest9 ugzlog
No SystemCode UGZLO on Data Area VHTEST9
verifyora12 failed with No SystemCode UGZLO on Data Area VHTEST9
--In the trace file It simply stops at: Returning OK from CDBProgram::StartUp()
Target:
$ verifyora12 lawprod ugzlog
Verifying objects for selected Tables in the LAWPROD Data Area:
Checking Table LAWPROD.UGZLOG
Total files found in the Productline : 1
..-Continues on as expected
--The trace file continues on after Returning OK from CDBProgram::StartUp() with the execution of CSqlViewMaker
Returning OK from CDBProgram::StartUp()
Entering CSqlViewMaker::MakeView(), FileNum 2438, VersionInfo -2
Entering ConfigForTable()...
select
tablespace_name,
ini_trans,--etc
Kwane McNeal
Veteran Member
Posts: 479
3/4/2015 10:32 PM
This sounds like a bug in verifyora11. I confirmed that system code should be optional as it is in the v9 system I jumped on to compare.
Since this is happening on the v10 side, I suspect that it's a big, since you said it is working when you add system code
DavidV
Veteran Member
Posts: 101
3/4/2015 10:43 PM
That's another theory of mine, but I haven't given up hope yet. I still think maybe it's something in the ORACLE file or there is additional details missing from the product line dictionary setup in the separate environment instructions
And actaully verifyora11 returns output typical of a successful run, but the counts are correct. It has 0 for the table count and index count an they should have a value of 1. The trace file seems to stop after the DDBProgram::Startup(). Nothing is log after that anywhere. No ladb.log entries. Nothing.
Kwane McNeal
Veteran Member
Posts: 479
3/4/2015 11:00 PM
I reviewed your counts, and you're right, they should say one.
That to me almost certainly confirms a bug.
DavidV
Veteran Member
Posts: 101
3/5/2015 1:27 AM
That's what I'm afraid of. Any chance Lawson support will agree...
DavidV
Veteran Member
Posts: 101
3/5/2015 8:01 PM
I believe the issue is with the product line copy and more specifically the dbdef instructions.
The SRCPL is about 45K on the source server. It's 45K after the copy to the target server.
After adding it via dbdef as instructed:
"Open the dbdef (database definition) utility. In the Product Line field, type 90xPROD, where
90xPROD is the name of the source product line. In the Launt or Unix field, select Yes. Tab to
the system code field and type UG. Press enter to save the new product line and escape out of
dbdef."
After performing the dbdef steps the SRCPL dictionary file becomes 208 bytes. I can't imagine this is correct.
Even after adding the database space and data areas and running blddbdict which runs cleanly it's still 208 bytes.
$ verifyora11 test901 ugzlog
No SystemCode UGZLO on Data Area TEST901
verifyora11 failed with No SystemCode UGZLO on Data Area TEST901
This is telling me that ugzlog doesn't exist. If you run verifyora
on a production system it will return a similar message.
If you supply the system code it will generate a normal verifyora report with all zoroes. No error but the counts are 0. This tells me that dbdef of the source product line doesn't recognize the table. It's acting to me like the dbdef flushed everything out. By the way I checked the diction sizes and ran the verifyora just after running dbdef and also after running blddbdict which I'm not sure was necessary.
I know sqlnet net is working because if the run this command on the source server and the target server I can see in the listener logs on the source server both entries making it through.
So this confirms the ORACLE file is good and Oracle sql net is good.
There has to be a missing step in dbdef. Has anyone else done a separate server environment upgrade from 901 to 10? If so what steps did you have for linking in the source product line to the target product line on the target server?
Kwane McNeal
Veteran Member
Posts: 479
3/5/2015 8:23 PM
Are you running blddbdict after the dbdef? If so, don't.
DavidV
Veteran Member
Posts: 101
3/5/2015 8:42 PM
I tried it both ways. I'll do it again w/o the blddbdict.
It's actually when I click enter in dbdef after entering the soruce product line that the dict/SRCPL changes to the 208 bytes. The source product line is actually called TEST901
DavidV
Veteran Member
Posts: 101
3/5/2015 9:00 PM
Ok. I think I see what might be the problem.
I'm using my test product line which is a clone of the production product line as my source. Which should be fine.
The problem might with the muliple data areas defined in the test product line.
When I copy the dictionary over and add the product line in dbdef it doesn't have a data area. Or it doesn't know which one to use. It's when I try to add the database space and data area that the dictionary size shrinks to 208 bytes.
If I don't add the database space and data area the verifyora11 fails:
$ verifyora11 test901 ugzlog
verifyora11 failed with DBConfig.Init() failed
CLawConfiguration::Init() GetDict() failed
DavidV
Veteran Member
Posts: 101
3/5/2015 9:02 PM
My guess is I have to reduce the test product line down to one data area or build a new source product line and data area on the test server
DavidV
Veteran Member
Posts: 101
3/9/2015 11:03 AM
The solution was to create a product line with one data area.
Please
login
to post a reply.