Link to home
Start Free TrialLog in
Avatar of wcampb_ell
wcampb_ell

asked on

Sybase 11/Solaris 2.6 Table Creation Problem

I'm running Sybase ASE system 11 on Solaris 2.6.  After a fresh install of the server software, I'm able to create all objects in my database.  After I shutdown and recycle my machine then restart the data server I can create any object in my database EXCEPT tables.  Creation of tables in both 'master' and 'model' is permissable, but when I try to create a table in my database I get the following error:

Server Message Number: 11202

Unable to create table '####' because it has no remote storage location defined. Creation of local user tables is allowed only in the master and tempdb databases.


How do I resolve this error???
Avatar of dk99
dk99

I had answered this type of question some times in the last year.

To resolve this , you need to check couple of things such as :

1. SYBASE variable is set correctly.
2. ASE was booted as user sybase.
3. dsopt1 file is existing in $SYBASE/install directory.
4. SHLIB_PATH variable is set to $SYBASE/lib.

After following the above checks  and if does not work, give your next attention to the following :

dsopt1 & dsopt2 may be missing on your server or installed incorrectly. You may need to install these files on your  $SYBASE/install directory from Sybase installation CD-rom and restart the server.

I hope this will resolve your problem.
Thanks
DK
Please note that if your ASE version is 11.5 and above,then you may need to consider the files dsopt1 & dsopt2.
Thanks ..
DK
Avatar of wcampb_ell

ASKER

Applied the changes to Solaris and checked /install directory for dsopt1 and it exists, but the problem still remains the same...
ASKER CERTIFIED SOLUTION
Avatar of dk99
dk99

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
dk99,

I still can't get this to work.  My /install/dsopt1 file has all accesses (777) and my .cshrc profile file looks like this:

set SYBASE = opt/sybase
set SHLIB_PATH = $SYBASE/lib
set LD_LIBRARY_PATH = $SYBASE/lib ;
set export LD_LIBRARY_PATH

wcampb_ell
wcampb_ell,

Is dsopt1 file on $SYBASE/install  ( /opt/sybase/install)  directory ?
Is Server started with sybase user login ?

Thanks
DK