I'm an newbie with Sybase database. I have a version 12.5 sybase database i
am trying to load on a test machine. I"m a complete idiot with Sybase and
don't know the first thing i need to do. If anyone want to assist me here,
i would be glad to pay for your time as I'm trying to trouble shoot an
urgent problem.
Please email me at teelea...@gmail.com if you are interested. Appreciate
any suggestion or direction to resources that can help me accomplish my
task.
Thank you very much for you help.
TL
Cory Sane
[TeamSybase]
"fiaola" <fia...@mail.com> wrote in message news:4885551c@forums-1-dub...
Thanks again.
"Cory Sane" <cory!=sane> wrote in message news:488582d6$1@forums-1-dub...
If that is not the problem then it is time to start digging...
Find the entry master..sysservers and make sure that the SrvNetName column
points to an entry in the interfaces[or]sql.ini file in $SYBASE.
If those match then send us the sysservers row for syb_backup and the
interfaces definition that matches because we'll need to keep digging
deeper.
Please also send us the ASE version and platform information.
Cory Sane
[TeamSybase]
Certified Associate DBA for ASE 15.0
"fiaola" <fia...@mail.com> wrote in message news:4887da37@forums-1-dub...
Assuming that's not a typo, it should be a simple matter to run
"sp_helpserver" and see if there exists a "SYB_BACKUP" server with a
"network_name" that matches the entry in the $SYBASE/interfaces file.
I believe the the all-caps is also important.
ASE 12.5 running on a windows 2000 server.
"Cory Sane" <cory!=sane> wrote in message news:4887ee3e@forums-1-dub...
I'm trying to load into a Developers Version 15, running on a windows 2000
server.
contents of the SQL.ini
[SERVER05_BS]
master=NLWNSCK, Server05,5001
query=NLWNSCK,Server05,5001
[SERVER05_MS]
master=NLWNSCK, Server05,5002
query=NLWNSCK,Server05,5002
[SERVER05_JSAGENT]
master=NLWNSCK, Server05,4900
query=NLWNSCK,Server05,4900
[ws]
master=NLWNSCK, Server05,8183
query=NLWNSCK,Server05,8183
[SERVER05]
master=NLWNSCK, Server05,5000
query=NLWNSCK,Server05,5000
[SERVER05_XP]
master=NLWNSCK, Server05,5004
query=NLWNSCK,Server05,5004
Thanks.
"Cory Sane" <cory!=sane> wrote in message news:4887ee3e@forums-1-dub...
1 8 SYB_BACKUP SYB_BACKUP
2 1024 SYB_EJB EJBServer
10
0 8 SNASAMAPS05 SNASAMAPS05 0
0
3 8 SNASAMAPS05_XP SNASAMAPS05_XP 11
1000
4 8 SYB_JSAGENT SNASAMAPS05_JSAGENT 7
1000
5 8 loopback SNASAMAPS05
7 1000
6 8 SYB_JSTASK SNASAMAPS05
7
"Cory Sane" <cory!=sane> wrote in message news:4887ee3e@forums-1-dub...
Off-hand, I'd say you need to edit your SQL.ini file, although I'm not
100% certain, since I usually work in UNIX systems. But it appears to
be the Windows version of the $SYBASE/interfaces file.
> Here is the content of the sysservers in the master.
>
> 1 8 SYB_BACKUP SYB_BACKUP
> 2 1024 SYB_EJB EJBServer
> 10
Your server is looking for a network server entitled "SYB_BACKUP" (the
fourth column shown) to match the "SYB_BACKUP" server (the third
column).
(1 and 8 are columns one and two)
> contents of the SQL.ini
>
> [SERVER05_BS]
> master=NLWNSCK, Server05,5001
> query=NLWNSCK,Server05,5001
>
This APPEARS to be the description for the backup server, assuming
"BS" stands for "Backup Server", not "Bull Stuff."
"SERVER05_BS" is the Sybase name for the host: "Server05" is the
network name that should connect to the host, on port 5001. It can
also be a full DNS name (myserver.mydomain.com) or an IP number.
Think of it as a mapping file. You want to do a backup, so the Sybase
dataserver looks for SYB_BACKUP in the "sysservers" system table. It
finds the Sybase name for the SYB_BACKUP server. Then it looks in
SQL.ini for the Sybase name to find the OS network name and port
number. The backup server process should be running on that host,
listening on that port.
Option 1: Change "SERVER05_BS" to "SYB_BACKUP", which matches what's
in your "sysservers" table.
Option 2: cut-n-paste that entry into a new entry, and call it
"SYB_BACKUP", and give it a new port number (5005, perhaps, instead of
5001). That way, if some other process is looking for SERVER05_BS, it
will still find it.
Although, I'm not sure how Windows starts the backup server. On UNIX,
there is a "RUN" script that specifies the Sybase name. I don't know
how Windows handles that. Find that Windows start-up process, and the
"-S" option (or "/S") specifies the Sybase name. If it's SERVER05_BS,
options 1 and 2 are both out. Unless you want to change the Windows
start-up process also.
Option 3: change the data in the "sysservers" table to match the
SQL.ini file, i.e., set "sysservers.srvnetname" to 'SERVER05_BS'.
The safest way to do that is with:
sp_addserver SYB_BACKUP,null,SERVER05_BS
go
According to the documentation for Sybase 12.5.1, this will add an
entry for SYB_BACKUP, or update it if it's already there. (I've
generally run "sp_dropserver" first, but I guess I don't need to.)
I recommend against updating the sysservers table because it's
dangerous to modify system tables directly. If there's a system stored
procedure, and in this case there is, you should use it.
Take all of this advice with a grain of salt, and be careful. You
might even want to wait for Cory Sane [TeamSybase] to confirm what
I've said before you start.
If the same name convention has been used, you should have a
SNASAMAPS05_BS server entry in the correct interfaces file.
Normally dataserver and backupserver can be installed during the
same installation process. In that case, the installation process
adjusts the name of the backupserver in the sysservers table.
In your case, this hasn't been done.
It's easy to correct this, execute :
sp_dropserver SYB_BACKUP
go
sp_addserver SYB_BACKUP, null, SNASAMAPS05_BS
go
If SERVER05_BS is the correct reference to the backupserver,
then you should substitute SNASAMAPS05_BS by SERVER05_BS
in the second command.
Luc.
"fiaola" <fia...@mail.com> wrote in message news:48895148@forums-1-dub...
Now, i'm getting this error when i try to run the LOAD database command
about the dump file using a wrong sort oder or character set than the ones
used by the dump file. Will search the net for these.
TIA
"Luc Van der Veurst" <dba_...@hotmail.com> wrote in message
news:48897dc6@forums-1-dub...
"fiaola" <fia...@mail.com> wrote in message news:488a33cf@forums-1-dub...