472,799 Members | 1,750 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,799 software developers and data experts.

Problems creating database using scripts provided by LMS

Hi,

I am trying to set up the database for LMS on a Linux box. This box is
running SLES 9. I am trying to run the following scripts as user:
db2inst1 :

../cr_db2db_audit.sh

and I receive the following error messages(snipped for brevity because
they are repeating errors):

+ db2 create database lsaudit on alias lsaudit using codeset UTF-8
territory US
SQL0104N An unexpected token "lsaudit" was found following "ALIAS".
Expected
tokens may include: "CATALOG". SQLSTATE=42601

+ db2 update db cfg for lsaudit using LOGBUFSZ 12
SQL1013N The database alias name or database name "LSAUDIT" could not
be
found. SQLSTATE=42705

+ db2 connect to lsaudit
SQL1013N The database alias name or database name "LSAUDIT" could not
be found

SQL0843N The server name does not specify an existing connection.
SQLSTATE=08003

I thought maybe that I should manually create the database "LSAUDIT"
and see how that works but the manual (and others) have said not to do
that -- the script is supposed to create the database itself.

Is there anything that I am missing? I have checked the LMS manual and
not been able to find anything that I have missed (though I may have).

Thanks,

Harlin Seritt

Nov 12 '05 #1
1 2640
In article <11**********************@g14g2000cwa.googlegroups .com>,
ha**********@yahoo.com says...
Hi,

I am trying to set up the database for LMS on a Linux box. This box is
running SLES 9. I am trying to run the following scripts as user:
db2inst1 :

./cr_db2db_audit.sh

and I receive the following error messages(snipped for brevity because
they are repeating errors):

+ db2 create database lsaudit on alias lsaudit using codeset UTF-8
territory US
SQL0104N An unexpected token "lsaudit" was found following "ALIAS".
Expected
tokens may include: "CATALOG". SQLSTATE=42601


The 'create database' command is missing the drive/directory where you
want to place the db. It needs to be added between 'lsaudit on' and
'alias lsaudit'.
Maybe you need to specify a database location when running the script?
Nov 12 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
by: Dim St Thomas | last post by:
I am a developer working on a database client program. I am testing this program on a Windows XP machine (1.5 GHz AMD chip, 480 Mb RAM, 60 Gb disk) This machine has Oracle 9.2.0.1.0 and RedBrick...
2
by: hitendra15 | last post by:
How to Deploy SQL server Database to another PC, How to create a package that craetes Database as well as ODBC driver for accessing data at enduser PC, using .Net VB
55
by: drhowarddrfine | last post by:
I'm working on a web site that could use some control using js but am concerned about what problems I may have with potential users having their js turned off. Has anyone had any serious problems...
3
by: serge | last post by:
I have all the scrips to create a database. I have a few questions: 1- I am creating a batch file that it will call many lines like: db2 -td@ -f filename.sql -z output.txt The order i am using...
10
by: BBFrost | last post by:
We just recently moved one of our major c# apps from VS Net 2002 to VS Net 2003. At first things were looking ok, now problems are starting to appear. So far ... (1) ...
21
by: matvdl | last post by:
I have a system that was originally developed in asp - the pages are saved in SQL (there are over 10,000 pages) and saved to a temp directory in the server when requested by a client. I have...
6
by: Jeff | last post by:
Hi - I understand how to create a directory folder, but how can I programatically create a _shared_ directory folder and set its permissions?? (I'm using VB.NET.) Thanks for your help. -...
1
by: Ben | last post by:
We currently use SSIS to build DTS packages in which we store changes to our database schema, as well as scripts that need to be run upon each release. This works well for small sets of changes...
2
by: Andrew Cooper | last post by:
Greetings, I'm creating a website using ASP.NET. In creating my DAL I've got a Table Adapter that I've set up to use an existing Stored Procedure from an SQL Server 2000 database. However,...
3
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 2 August 2023 starting at 18:00 UK time (6PM UTC+1) and finishing at about 19:15 (7.15PM) The start time is equivalent to 19:00 (7PM) in Central...
0
by: erikbower65 | last post by:
Using CodiumAI's pr-agent is simple and powerful. Follow these steps: 1. Install CodiumAI CLI: Ensure Node.js is installed, then run 'npm install -g codiumai' in the terminal. 2. Connect to...
0
linyimin
by: linyimin | last post by:
Spring Startup Analyzer generates an interactive Spring application startup report that lets you understand what contributes to the application startup time and helps to optimize it. Support for...
2
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Sept 2023 starting at 18:00 UK time (6PM UTC+1) and finishing at about 19:15 (7.15PM) The start time is equivalent to 19:00 (7PM) in Central...
0
by: Taofi | last post by:
I try to insert a new record but the error message says the number of query names and destination fields are not the same This are my field names ID, Budgeted, Actual, Status and Differences ...
14
DJRhino1175
by: DJRhino1175 | last post by:
When I run this code I get an error, its Run-time error# 424 Object required...This is my first attempt at doing something like this. I test the entire code and it worked until I added this - If...
5
by: DJRhino | last post by:
Private Sub CboDrawingID_BeforeUpdate(Cancel As Integer) If = 310029923 Or 310030138 Or 310030152 Or 310030346 Or 310030348 Or _ 310030356 Or 310030359 Or 310030362 Or...
0
by: lllomh | last post by:
Define the method first this.state = { buttonBackgroundColor: 'green', isBlinking: false, // A new status is added to identify whether the button is blinking or not } autoStart=()=>{
2
by: DJRhino | last post by:
Was curious if anyone else was having this same issue or not.... I was just Up/Down graded to windows 11 and now my access combo boxes are not acting right. With win 10 I could start typing...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.