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.
try:
$ ./srvbuildres -r ../install/SYBASE.rs
--
Join other Sybase enthusiasts on the #sybase IRC channel!
(irc.freenode.net)
$ ./srvbuildres -r ../install/SYBASE.rs
What would be the problem?
Also, what do you get from running the following commands:
===================
ls -l srvbuildres
srvbuildres -help
srvbuildres -v
===================
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
==============
.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
===============
===========================
/home/sybase/ASE-15_0/bin/dataserver -v
/home/sybase/ASE-15_0/bin/srvbuildres -r ../init/sample_resource_files/SYBASE.rs
===========================