cancel
Showing results for 
Search instead for 
Did you mean: 

Is Fresh silent installation of ASE 16.0 possible

Former Member
0 Kudos

Hello,

We are trying to install ASE server 16.0 on a Linux machine without any inputs (silently)..

We have this query whether silent installation is possible for a new fresh ASE installation.

In the notes, we read that it is recommended to use silent install for new updates or use it after running first install via GUI.

We tried to install using silent method but it prompted us for inputs as below:

We tried giving the full path as well

Also, we tried to run setup.bin using sample_txt but it does not run.

Check below screenshot:

Thanks,

Suraj

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Do we have to use ASE ODBC driver manager for this?

We have already specified the dsn driver test details.

It is also reflecting on the odbc.ini file.

The ini files are inside the etc folder.

whereas the dsn driver test file is inside another folder.

Regards,

Suraj

0 Kudos

Looks like you didn't specify silent install mode for the installer.

Please try this:

setup.bin –f <responseFileName> -i silent -DAGREE_TO_SYBASE_LICENSE=true -DRUN_SILENT=true

Former Member
0 Kudos

Hi De-Li Xu,

We have done that only.

You can check third image for that.

Regards,

Suraj

0 Kudos

Please try to point the response file with absolutely file path.

Former Member
0 Kudos

Hi De-Li Xu,

If you mean giving absolute path as below:

setup.bin –f /tmp/Response_File.txt -i silent-DAGREE_TO_SAP_LICENSE=true -DRUN_SILENT=true


we get the same error .


Regards,

Suraj

0 Kudos

Did you provide the valid response file?

1) Be sure all value in response file is correct

2) Be sure there's space between each option when invoke the command:

     setup.bin -f /path/to/file -i silent -DAGREE_TO_SYBASE_LICENSE=true -DRUN_SILENT=true

Former Member
0 Kudos

We will be trying it.

But would this work if we are installing the ASE for the first time.

We do not want to use GUI at any stage

Regards,

Suraj

0 Kudos

Yes, but you need to modify the response file and point the install dir, components list etc.

Former Member
0 Kudos

Hi De-Li Xu,

Would it be pssible to create the response file , without running GUI installation?

We are bit unsure on that

Thanks,

Suraj

0 Kudos

If you copy the file from sample then you can modify the response file with any text editor!

If you don't know how to modify the file, then you can run "setup.bin -r /path/to/record_file" and do a manual install in console mode to generate one.

Former Member
0 Kudos

Hi De-Li Xu,

After installation, we got this below error:

0 Kudos

Does "./isql -v" get same result?
Please source <SYBASE installation>/SYBASE.sh to make sure correct enrionment variable is set.

Former Member
0 Kudos

Hi ,

We have done that (see the below screenshot)

In the 1st step of screenshot: we have set the environment variable

In 2nd step: we have verified that it has been set

In 3rd: We ran the command ./isql -v

4th: We got tha same error previously attached.

5th: the odbc command also does not seem to be working.

We then set the ODBC..and checked again... we staill got the same error.

Contents are below:

Regards,

Suraj

0 Kudos

You're not execute isql provieded by ASE. You can confirm that by run "which isql".

You need execute "source /opt/sap/SYBASE.sh" but not set SYBASE env to it.

BTW, I was assume your current dir is "<SYBASE installation>/OCS-16_0/bin" when I suggest you to run "./isql -v".

Former Member
0 Kudos

Hi,

We tried what you suggested.

We went to directory:SYBASE installation>/OCS-16_0/bin

Executed isql64 -v as we got error when running isql -v

Then checked the sql connection , here again we got an error :

Does something more needs to be done?

Thanks,

Suraj

0 Kudos

You're qutie close to get succeed. Source sybase env file(/opt/sap/SYBASE.sh or SYBASE.csh if you're using cshell) to set SYBASE environment

The right env should looks like:

env|grep SYBASE

SYBASE=/opt/sap

SYBASE_ASE=ASE-16_0

SYBASE_OCS=OCS-16_0

....

Former Member
0 Kudos

Hi,

We have set the following and then run the isql command.

Yet we are getting the same error:

Thanks,

Suraj

0 Kudos

The error indicates that the isql can't find server entry(trac2) in the default interfaces file(/opt/sap/interfaces), please check if the interfaces file exist and correct.

If your file is in another location, then point it by "-I" option.

Former Member
0 Kudos

Hi De- Li Xu,

I can find the the interfaces file in /opt/sap/

But we are not able to open it to check the content.

Thanks,

Suraj

0 Kudos

Looks like the interfaces file is empty, are you sure the server is built successfully and running.

Run "showserver" to check if you have ASE dataserver runs.

Former Member
0 Kudos

Hi De-Li Xu,

You can check the screenshot:

Regards,

Suraj

0 Kudos

Yes, it's empty, so there's no server built at all and the interfaces is empty.

Former Member
0 Kudos

Hi De-Li Xu,

How can we check if installation  is successful?

Because we did not get errors as such.

Where can I check the log files for error?


Regards,

Suraj

0 Kudos

If you forget to build server during installation, you can try to build server with 'srvbuild' (gui) or 'srvbuildres' utility.

I think your original question is resolved, could you do me a favor to close the thread and open a new thread for further question?