Hi Robert,
There's a few things to setup to successfully connect.
Firstly, the password in the agent-plugin.xml is used by cockpit to connect to ASE. This isn't compared against the password used to login from https://dimotion:4283/cockpit/
When connecting from the https address, the login and password are sent to ASE. I see your agent-plugin.xml file doesn't have the entire picture of where your ASE resides.
Having said that, let's look at a few things to get you back to connecting:
1. shutdown cockpit server
2. Modify your agent-plugin.xml file for the following settings, uncomment where necessary:
<set-property property="ase.server.name" value=""/>
<set-property property="com.sybase.home" value=""/>
<set-property property="ase.home" value=""/>
<set-property property="ase.server.log" value=""/>
<set-property property="ase.start.command" value=""/>
<set-property property="ase.user" value="sa"/>
<set-property property="ase.password" value=""/>
Where value="" is modified to be:
"ase.server.name" value="" should be the name of your ASE
"com.sybase.home" value="" is the full /path/to/$SYBASE
"ase.home" value="" is the /path/to/$SYBASE/$SYBASE_ASE
for added convenience to cockpit:
"ase.start.command" value="" is the /path/to/your/RUN_server file
"ase.server.log" value="" is the /path/to/your/ASEs/errorlog
Finally ase.user is an sa login, ase.password is the password as supplied by passencrypt.
The reason why it is important to make these modifications when cockpit is shutdown, is because modifications made while it is running are lost upon shutdown since cockpit flushes in memory settings to the agent-plugin.xml file.
3. After modifications are made, start your cockpit server (I use a script to run it in the background)
$ cat start_cockpit
nohup cockpit.sh 2>&1 > cockpit.out &
4. Login to cockpit from https address. If all works ok (and you have an interfaces file in "com.sybase.home") you are all set.
Considerations beyond this.
You might have to set a technical user and register an agent. Also, another reboot of cockpit at this time will auto-populate the rest of the necessary settings into agent-plugin.xml. This isn't required as it will naturally happen the next time it is booted, and the settings are in memory.
HTH
Dan