Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

ASE Dev Edition 1503 install on Ubuntu Linux fails

46 views
Skip to first unread message

jaelee

unread,
May 28, 2009, 3:58:26 PM5/28/09
to
Hi,

Following syntax error is encountered:

$ ./srvbuildres -f ../install/SYBASE.rs ./srvbuildres: 1:
Syntax error: "(" unexpected $ uname -a Linux sybase-srvr
2.6.27-7-generic #1 SMP Fri Oct 24 06:42:44 UTC 2008 i686
GNU/Ubuntu Linux

How would this syntax error can be worked around?

Thanks in advance.

Jason L. Froebe [TeamSybase]

unread,
May 28, 2009, 4:08:10 PM5/28/09
to
wrote:

try:

$ ./srvbuildres -r ../install/SYBASE.rs

--
Join other Sybase enthusiasts on the #sybase IRC channel!
(irc.freenode.net)

jaelee

unread,
May 29, 2009, 11:06:55 AM5/29/09
to
Thank you for your help.
However, the same syntax error is still encountered when I
try

$ ./srvbuildres -r ../install/SYBASE.rs

What would be the problem?

Mark A. Parsons

unread,
May 29, 2009, 11:58:41 AM5/29/09
to
Can you post the complete/full contents of your SYBASE.rs file?

Also, what do you get from running the following commands:

===================
ls -l srvbuildres
srvbuildres -help
srvbuildres -v
===================

jaelee

unread,
May 29, 2009, 2:24:45 PM5/29/09
to
Hello,

I believe below is the content that you asked for...

$ ./srvbuildres -r ../init/sample_resource_files/SYBASE.rs


./srvbuildres: 1: Syntax error: "(" unexpected

$ dataserver -v
/home/sybase/ASE-15_0/bin/dataserver: 1: Syntax error: ")"
unexpected
$ more ../init/sample_resource_files/SYBASE.rs
sybinit.release_directory: USE_DEFAULT
sybinit.product: sqlsrv
sqlsrv.server_name: SYBASE
sqlsrv.new_config: yes
sqlsrv.do_add_server: yes
sqlsrv.network_protocol_list: tcp
sqlsrv.network_hostname_list: sybase-srvr
sqlsrv.network_port_list: 5100
sqlsrv.application_type: USE_DEFAULT
sqlsrv.server_page_size: USE_DEFAULT
sqlsrv.force_buildmaster: no
sqlsrv.master_device_physical_name:
/home/sybase/DEVICES/master.dat
sqlsrv.master_device_size: USE_DEFAULT
sqlsrv.master_database_size: USE_DEFAULT
sqlsrv.errorlog: USE_DEFAULT
sqlsrv.do_upgrade: no
sqlsrv.sybsystemprocs_device_physical_name:
/home/sybase/DEVICES/sybsystemprocs.dat
sqlsrv.sybsystemprocs_device_size: USE_DEFAULT
sqlsrv.sybsystemprocs_database_size: USE_DEFAULT
sqlsrv.sybsystemdb_device_physical_name:
/home/sybase/DEVICES/sybsystemdb.dat
sqlsrv.sybsystemdb_device_size: USE_DEFAULT
sqlsrv.sybsystemdb_database_size: USE_DEFAULT
sqlsrv.tempdb_device_physical_name:
PUT_THE_PATH_OF_YOUR_SYBSYSTEMDB_DEVICE_HERE_OR_REMOVE_THIS_LINE
sqlsrv.tempdb_device_size: USE_DEFAULT
sqlsrv.tempdb_database_size: USE_DEFAULT
sqlsrv.default_backup_server: SYBASE_BS
#sqlsrv.addl_cmdline_parameters:
PUT_ANY_ADDITIONAL_COMMAND_LINE_PARAMETERS_HERE
sqlsrv.do_configure_pci: no
sqlsrv.sybpcidb_device_physical_name:
PUT_THE_PATH_OF_YOUR_SYBPCIDB_DATA_DEVICE_HERE
sqlsrv.sybpcidb_device_size: USE_DEFAULT
sqlsrv.sybpcidb_database_size: USE_DEFAULT
sqlsrv.do_optimize_config: no
sqlsrv.avail_physical_memory: USE_DEFAULT
sqlsrv.avail_cpu_num: USE_DEFAULT

Thanks!

-Jae

Mark A. Parsons

unread,
May 29, 2009, 3:01:44 PM5/29/09
to
Do you also get an error if you run the following:

==============
.srvbuildres -v
==============

----------------

Since these aren't Sybase-related errors ...

> $ ./srvbuildres -r ../init/sample_resource_files/SYBASE.rs
> ./srvbuildres: 1: Syntax error: "(" unexpected

... and ...

> $ dataserver -v
> /home/sybase/ASE-15_0/bin/dataserver: 1: Syntax error: ")" unexpected

I'd guess a problem with your OS environment.

What shell are you using for your command line?

Can you check your environment variable definitions (especially PATH) as well as any aliases you may have defined.

The error message from running 'dataserver -v' looks a little odd in that I would expect the error message line to start
with 'dataserver:' and not the full path of the location of the dataserver command (at least that's the way it behaves
in my Solaris and Linux environments).

What do you get if you run the following commands:

===============
which dataserver
which srvbuildres
===============

Mark A. Parsons

unread,
May 29, 2009, 3:40:51 PM5/29/09
to
What happens if you run the following commands by referencing the full path of the binaries:

===========================
/home/sybase/ASE-15_0/bin/dataserver -v

/home/sybase/ASE-15_0/bin/srvbuildres -r ../init/sample_resource_files/SYBASE.rs
===========================

0 new messages