This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
informatica:hp_xw4400_400sb_topspin31 [2014/02/19 16:45] miquel [Afegir sermnadmin al grup 'nmrsu'] |
informatica:hp_xw4400_400sb_topspin31 [2020/07/09 13:05] miquel |
||
---|---|---|---|
Line 1: | Line 1: | ||
====== Instal·lació del Topspin 3.1 ====== | ====== Instal·lació del Topspin 3.1 ====== | ||
- | < | + | <WRAP info> |
El procés d' | El procés d' | ||
</ | </ | ||
Line 15: | Line 15: | ||
* Data processing, acquisition and automation | * Data processing, acquisition and automation | ||
i li dic que afegeixi el directori d' | i li dic que afegeixi el directori d' | ||
- | |||
===== Creació d' | ===== Creació d' | ||
El programa d' | El programa d' | ||
- | |||
===== Linux Firewall ===== | ===== Linux Firewall ===== | ||
Line 28: | Line 26: | ||
/ | / | ||
</ | </ | ||
- | |||
===== Instal·lació ===== | ===== Instal·lació ===== | ||
Line 879: | Line 876: | ||
chmod 775 * | chmod 775 * | ||
chmod 664 *i | chmod 664 *i | ||
- | chown root: | + | chmod u+s xwish3 |
+ | chown root:root xwish3 | ||
</ | </ | ||
Line 894: | Line 892: | ||
root@cie-55-31:/ | root@cie-55-31:/ | ||
- | -rwxrwxr-x 1 root root | + | -rwsrwxr-x 1 root root |
- | -rwxrwxr-x 3 root root | + | |
- | -rwxrwxr-x 1 root root | + | |
- | -rwxrwxr-x 1 root root | + | |
</ | </ | ||
Line 933: | Line 928: | ||
====== Adreces IP dels mòduls de la consola ====== | ====== Adreces IP dels mòduls de la consola ====== | ||
- | < | + | <WRAP important> |
Aquestes adreces només donen accés als mòduls de la consola si es visiten des de l' | Aquestes adreces només donen accés als mòduls de la consola si es visiten des de l' | ||
</ | </ | ||
Line 941: | Line 936: | ||
* [[http:// | * [[http:// | ||
* [[http:// | * [[http:// | ||
+ | |||
+ | ====== Problemes amb ' | ||
+ | |||
+ | Cada cop que s' | ||
+ | |||
+ | < | ||
+ | hconfserver | ||
+ | |||
+ | Operation not permitted | ||
+ | Cannot make link | ||
+ | link must be done manually with | ||
+ | ln / | ||
+ | |||
+ | Operation not permitted | ||
+ | Cannot make link | ||
+ | link must be done manually with | ||
+ | ln / | ||
+ | </ | ||
+ | |||
+ | Per resoldre provisionalment el problema, | ||
+ | * he escrit un petit //script// amb les comandes a executar per crear els enllaços i copiar un fitxer ('' | ||
+ | * he configurat el sistema perquè l' | ||
+ | |||
+ | Així doncs, després d' | ||
+ | |||
+ | <WRAP tip> | ||
+ | * obre una finestra per comandes, i | ||
+ | * escriu la següent ordre:\\ '' | ||
+ | </ | ||
+ | |||
+ | el resultat de la comanda hauria de ser semblant a, | ||
+ | |||
+ | < | ||
+ | sermnuab@cie-55-31: | ||
+ | |||
+ | creating file '/ | ||
+ | `/ | ||
+ | 442373 -rw-rw-r-- 2 nmrsu nmrsu 686 Oct 5 2012 / | ||
+ | 442373 -rw-rw-r-- 2 nmrsu nmrsu 686 Oct 5 2012 / | ||
+ | |||
+ | creating file '/ | ||
+ | `/ | ||
+ | 368896 -rwxr-xr-x 2 nmrsu nmrsu 3927964 Oct 5 2012 / | ||
+ | 368896 -rwxr-xr-x 2 nmrsu nmrsu 3927964 Oct 5 2012 / | ||
+ | |||
+ | creating file '/ | ||
+ | `/ | ||
+ | 368896 -rwxr-xr-x 3 nmrsu nmrsu 3927964 Oct 5 2012 / | ||
+ | 368896 -rwxr-xr-x 3 nmrsu nmrsu 3927964 Oct 5 2012 / | ||
+ | |||
+ | creating file '/ | ||
+ | `/ | ||
+ | 368675 -rwxr-xr-x 1 nmrsu nmrsu 2988748 Jun 26 11:46 / | ||
+ | </ | ||
+ | |||
+ | Pels més curiosos, aquest és el contingut del script, | ||
+ | |||
+ | < | ||
+ | #!/bin/sh | ||
+ | # | ||
+ | # | ||
+ | # Copyright (c) 2014 | ||
+ | # SeRMN, Universitat Autonoma de Barcelona | ||
+ | # | ||
+ | # | ||
+ | # | ||
+ | # | ||
+ | # When TopSpin 3.x runs on a Debian GNU/Linux, the ' | ||
+ | # fails to create several hard links needed to run the software, | ||
+ | # and to (re)create the program ' | ||
+ | # | ||
+ | # To fix this problem, | ||
+ | # 1. run ' | ||
+ | # being able to create hardlinks. | ||
+ | # 2. run this script. It requires root permissions to create, hence, | ||
+ | # this script upon running the ' | ||
+ | # | ||
+ | # | ||
+ | |||
+ | echo "" | ||
+ | |||
+ | # link pulsprog_X to pp_birds | ||
+ | echo " | ||
+ | ln -fv / | ||
+ | ls -li / | ||
+ | echo "" | ||
+ | |||
+ | # link go to go4 | ||
+ | echo " | ||
+ | ln -fv / | ||
+ | ls -li / | ||
+ | echo "" | ||
+ | |||
+ | # link acq_control to go4 | ||
+ | # | ||
+ | # NOTE: apparently, this link is only required on the AvanceIII-600. | ||
+ | # Remove or comment out these lines on the AvanceIII-400sb. | ||
+ | # | ||
+ | echo " | ||
+ | ln -fv / | ||
+ | ls -li / | ||
+ | echo "" | ||
+ | |||
+ | # copy shimcntl to / | ||
+ | echo " | ||
+ | cp -fv / | ||
+ | chown nmrsu:nmrsu / | ||
+ | chmod 755 / | ||
+ | ls -li / | ||
+ | echo "" | ||
+ | </ | ||
+ | |||
+ | i aquesta la línia on es configura el programa '' | ||
+ | |||
+ | < | ||
+ | # Allow sermnuab to fix some problems related to running Topspin ' | ||
+ | sermnuab | ||
+ | </ | ||