ASTK Throws Error Msg. When Opened
- Steve Rednond
- Topic Author
- Offline
- Junior Member
-
- Posts: 22
- Thank you received: 0
- Claus
-
- Offline
- Moderator
-
- Posts: 670
- Thank you received: 34

caelinux.com/CMS/index.php?option=com_jo...&catid=5#msg1340
Code_Aster release : STA11.4 on OpenSUSE 12.3 64 bits - EDF/Intel version
- Steve Rednond
- Topic Author
- Offline
- Junior Member
-
- Posts: 22
- Thank you received: 0
So following those instructions...
I've removed the -nolisten tcp option temporarily and restarted the window manager, but I still get the same problem.
The second part of the article you referenced above says:
The second important thing to make ASTK work is to configure it for the local network connection (ASTK is a client-server application). If you are in a static IP adress network with a fully configured DNS server and have a fully qualified domain name, you should configure all the option in the "interface" dialog of ASTK and it will work well.
If you are using your PC in a DHCP environment and you do not have a DNS server with a fully qualified domain name, you may encounter problems.
One option is to name your computer "localhost", then configure the ASTK server with hostname= "localhost" and be sure to leave blank "domain name" in the "interface" options.
The second option is to install & configure RSH or SSH to allow local-to-local acccess without password...
However, I can't open ASTK, so I can't "configure all the option in the "interface" dialog of ASTK".
Unless it can be done without starting ASTK. Is that possible?
- Steve Rednond
- Topic Author
- Offline
- Junior Member
-
- Posts: 22
- Thank you received: 0
you should modify the following files:
/opt/SALOME-MECA-2007.1-GPL/postintall/orig/prefs
/opt/SALOME-MECA-2007.1-GPL/aster/ASTK/ASTK_CLIENT/lib/ASTK/astkrc
and modify/add the following lines:
remote_copy_protocol : SCP
remote_shell_protocol : SSH
Then delete .astkrc & .astkrc-salome in your home folder and rerun the postinstall.py script in /opt/SALOME-MECA-2007.1-GPL/postintall
Additionnally, you have to be sure that you can use ssh without password. You can use the ssh-setup script posted above to configure ssh-client. To check this, try to copy a test file:
scp one_test_file username@localhost:/tmp
This should normally work if my doc is complete.
I installed SSH server 5.1 and client and ran the script to allow SSH without password. I had already removed -nolisten tcp from my xwin file.
Unfortunately SM 2009-1 does not have the 2 above mentioned prefs files, or at least I couldn't find them.
I did delete the /root/.astkrc directories and run the postinstall script again. But no joy. The same problem reappears.<br /><br />Post edited by: Steve Rednond, at: 2009/10/20 04:48
- Claus
-
- Offline
- Moderator
-
- Posts: 670
- Thank you received: 34
/path/to/SALOME-MECA-2009.1-GPL/aster/outils/astk
'astk --help' shows what options are available and 'astk --check' checks the configuration and reports any errors.
Try the --check option and post the output here.
/C
Code_Aster release : STA11.4 on OpenSUSE 12.3 64 bits - EDF/Intel version
- Steve Rednond
- Topic Author
- Offline
- Junior Member
-
- Posts: 22
- Thank you received: 0

I cd'ed to the directory and here's the session I got:
# ./astk --help
./astk: line 6: /usr/bin/wish8.4: No such file or directory
So I opened astk in text mode, (it's short) and found:
#!/bin/bash
# $Id: astk 3255 2008-04-10 17:13:17Z courtois $
. /initrd/mnt/dev_save/Salome-new/SALOME-MECA-2009.1-GPL/aster/aster_profile.sh
/usr/bin/wish8.4 /initrd/mnt/dev_save/Salome-new/SALOME-MECA-2009.1-GPL/aster/ASTK/ASTK_CLIENT/lib/ASTK/astk.tcl -- $* &
So then I did a search for wish8.4 -- it wasn't in /usr/bin but I did find it in Salome4's Prerequis/Tcl-8.4.12/bin folder.
I tried making a symlink in /usr/bin to wish8.4, but couldn't get it to run because it was missing its other dependencies in the Tcl-8.4.12 folder.
Post edited by: Steve Rednond, at: 2009/10/21 03:05
Post edited by: Steve Rednond, at: 2009/10/21 03:07<br /><br />Post edited by: Steve Rednond, at: 2009/10/21 03:10