Como iniciar o SPSS-statistics 23 no Debian?

1

Instalei a licença da universidade no Debian 8.5, mas não configurei nenhum caminho e esqueci qual é o local padrão. Eu não consigo ver nada em $ PATH sobre o programa pesquisando SPSS . Iterações de instalação

  1. Eu instalei o sistema como não-raiz pela primeira vez, mas descobri que ele deveria ser feito como root.
  2. Agora, pela segunda vez, eu o instalei como root, porque a documentação de instalação diz isso, para o usuário masi

    # let the IBM directory be executable by the user masi
    chown -R masi:masi /opt/IBM/
    root@root:~/Downloads$ bash ./SPSSSC_23.0_LINUX_X86-64_ML.bin 
    
    • Saída na tentativa de registrar o produto no site da IBM. Fig. 1 Nenhuma mensagem do daemon D-bus rodando após a instalação do SPSS como root

  3. Agora,pelaterceiravez,deixeobinárioserexecutávelexplicitamentepelomasi,mascomovocêpodeverdepois,tudoestáemordemem(2),jáqueamesmasaídaaquitambém

    root@masi:/home/masi/Downloads#chmodu+xSPSSSC_23.0_LINUX_X86-64_ML.binroot@masi:/home/masi/Downloads$./SPSSSC_23.0_LINUX_X86-64_ML.bin
    • Definaousuáriomasi.Cliqueemaceitartudo.Introduzidocomsucessoocódigoserial.Tenteregistraroproduto,masobtenhaexatamenteamesmasaídanaFig.1.

    • Experimenteaconclusãodatabelaparasp,masvocêobtém

      masi@masi:~/Downloads$spspctoppmspeaker-testspeech-dispatchersplitfontspotreadsputoppmspd-confspec2ciesplainsplitindexsprofspuunmuxspd-sayspecplotsplitsplitti3spumux
    • TenteencontrarspssnabuscaDebianemsupermasnadalá.

Característicasdomeusistemaantesdainstalaçãoquefizanteriormentecomorootchown-Rmasi:masi/opt/IBM/

masi@masi:~/Downloads$ls-la/opt/total20drwxr-xr-x5rootroot4096Sep1500:01.drwxr-xr-x22rootroot4096Sep1513:21..drwxr-xr-x3rootroot4096Sep122:58googledrwxrwxr-x3masimasi4096Sep1500:01IBMdrwxr-xr-x3rootroot4096Sep1110:23kingsoftmasi@masi:~/Downloads$ls-la/opt/IBM/total12drwxrwxr-x3masimasi4096Sep1500:01.drwxr-xr-x5rootroot4096Sep1500:01..drwxrwxr-x3masimasi4096Sep1500:01SPSSmasi@masi:~/Downloads$ls-la/opt/IBM/SPSS/total12drwxrwxr-x3masimasi4096Sep1500:01.drwxrwxr-x3masimasi4096Sep1500:01..drwxrwxr-x3masimasi4096Sep1500:01Statisticsmasi@masi:~/Downloads$ls-la/opt/IBM/SPSS/Statistics/total12drwxrwxr-x3masimasi4096Sep1500:01.drwxrwxr-x3masimasi4096Sep1500:01..drwxrwxr-x15masimasi4096Sep1513:1723masi@masi:~/Downloads$ls-la/opt/IBM/SPSS/Statistics/23/total92drwxrwxr-x15masimasi4096Sep1513:17.drwxrwxr-x3masimasi4096Sep1500:01..drwxr-xr-x10masimasi12288Sep1513:22bindrwxr-xr-x4masimasi4096Feb122015commondrwxr-xr-x2masimasi4096Feb122015configdrwxr-xr-x4masimasi4096Feb122015extdrwxr-xr-x40masimasi4096Sep1513:17extensionsdrwxr-xr-x4masimasi20480Sep1513:17libdrwxrwxr-x3masimasi4096Sep1500:04licensedrwxrwxr-x2masimasi4096Sep1500:04Looksdrwxrwxr-x3masimasi4096Sep1500:04propertiesdrwxrwxr-x7masimasi4096Sep1500:04Pythondrwxrwxr-x3masimasi4096Sep1500:04Samplesdrwxr-xr-x2masimasi4096Feb42015scripts-rw-rw-r--1rootroot0Sep1513:17SPSS_Statistics_23.0.spec-rwxr-xr-x1masimasi580Sep132013tar.shdrwxrwxr-x3masimasi4096Sep1500:06Uninstall_IBMSPSSStatistics23

EuachoqueoproblemaéqueoSPSSnãoestánomeuPATHenãosabequalcomandoiniciar.

Instruçõesoficiaisdeinstalação

InstallingfromaDownloadedFileEStartaterminalapplication.EChangetothedirectorywhereyoudownloadedthefile.EExtractthecontentsofthefile.EChangetothedirectorywhereyouextractedthefiles.EMakesurethepermissionsforsetup.binaresettoexecute.EAtthecommandprompt,type:./setup.binEFollowtheinstructionsthatappearintheinstallationprogram.SeeNotesforInstallationforanyspecialinstructions.

TestandoapropostadeLauno

Fluxodetrabalhoapósainstalaçãocomoraiz

root@masi:/home/masi#apt-getinstalldbusReadingpackagelists...DoneBuildingdependencytreeReadingstateinformation...Donedbusisalreadythenewestversion.0upgraded,0newlyinstalled,0toremoveand0notupgraded.2notfullyinstalledorremoved.Afterthisoperation,0Bofadditionaldiskspacewillbeused.Doyouwanttocontinue?[Y/n]YSettingupnginx-full(1.6.2-5+deb8u2+b1)...Jobfornginx.servicefailed.See'systemctlstatusnginx.service'and'journalctl-xn'fordetails.invoke-rc.d:initscriptnginx,action"start" failed.
dpkg: error processing package nginx-full (--configure):
 subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of nginx:
 nginx depends on nginx-full (>= 1.6.2-5+deb8u2) | nginx-light (>= 1.6.2-5+deb8u2) | nginx-extras (>= 1.6.2-5+deb8u2); however:
  Package nginx-full is not configured yet.
  Package nginx-light is not installed.
  Package nginx-extras is not installed.
 nginx depends on nginx-full (<< 1.6.2-5+deb8u2.1~) | nginx-light (<< 1.6.2-5+deb8u2.1~) | nginx-extras (<< 1.6.2-5+deb8u2.1~); however:
  Package nginx-full is not configured yet.
  Package nginx-light is not installed.
  Package nginx-extras is not installed.

dpkg: error processing package nginx (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 nginx-full
 nginx
E: Sub-process /usr/bin/dpkg returned an error code (1)

Tentando instalar o Java JRE após a instalação como raiz

# https://wiki.debian.org/Java
root@masi:/home/masi# apt-get install default-jre
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following NEW packages will be installed:
  default-jre
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
2 not fully installed or removed.
Need to get 968 B of archives.
After this operation, 21.5 kB of additional disk space will be used.
Get:1 http://ftp.fi.debian.org/debian/ jessie/main default-jre amd64 2:1.7-52 [968 B]
Fetched 968 B in 0s (21.7 kB/s)      
Selecting previously unselected package default-jre.
(Reading database ... 265271 files and directories currently installed.)
Preparing to unpack .../default-jre_2%3a1.7-52_amd64.deb ...
Unpacking default-jre (2:1.7-52) ...
Setting up nginx-full (1.6.2-5+deb8u2+b1) ...
Job for nginx.service failed. See 'systemctl status nginx.service' and 'journalctl -xn' for details.
invoke-rc.d: initscript nginx, action "start" failed.
dpkg: error processing package nginx-full (--configure):
 subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of nginx:
 nginx depends on nginx-full (>= 1.6.2-5+deb8u2) | nginx-light (>= 1.6.2-5+deb8u2) | nginx-extras (>= 1.6.2-5+deb8u2); however:
  Package nginx-full is not configured yet.
  Package nginx-light is not installed.
  Package nginx-extras is not installed.
 nginx depends on nginx-full (<< 1.6.2-5+deb8u2.1~) | nginx-light (<< 1.6.2-5+deb8u2.1~) | nginx-extras (<< 1.6.2-5+deb8u2.1~); however:
  Package nginx-full is not configured yet.
  Package nginx-light is not installed.
  Package nginx-extras is not installed.

dpkg: error processing package nginx (--configure):
 dependency problems - leaving unconfigured
Setting up default-jre (2:1.7-52) ...
Errors were encountered while processing:
 nginx-full
 nginx
E: Sub-process /usr/bin/dpkg returned an error code (1)

Estudando as falhas conforme incentivado nas mensagens de log acima

root@masi:/home/masi# systemctl status nginx.service
● nginx.service - A high performance web server and a reverse proxy server
   Loaded: loaded (/lib/systemd/system/nginx.service; enabled)
   Active: failed (Result: exit-code) since Fri 2016-09-16 19:41:12 EEST; 1h 26min ago
  Process: 10908 ExecStart=/usr/sbin/nginx -g daemon on; master_process on; (code=exited, status=1/FAILURE)
  Process: 10905 ExecStartPre=/usr/sbin/nginx -t -q -g daemon on; master_process on; (code=exited, status=0/SUCCESS)

Sep 16 19:41:11 masi nginx[10908]: nginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address already in use)
Sep 16 19:41:11 masi nginx[10908]: nginx: [emerg] bind() to [::]:80 failed (98: Address already in use)
Sep 16 19:41:11 masi nginx[10908]: nginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address already in use)
Sep 16 19:41:11 masi nginx[10908]: nginx: [emerg] bind() to [::]:80 failed (98: Address already in use)
Sep 16 19:41:12 masi nginx[10908]: nginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address already in use)
Sep 16 19:41:12 masi nginx[10908]: nginx: [emerg] bind() to [::]:80 failed (98: Address already in use)
Sep 16 19:41:12 masi nginx[10908]: nginx: [emerg] still could not bind()
Sep 16 19:41:12 masi systemd[1]: nginx.service: control process exited, code=exited status=1
Sep 16 19:41:12 masi systemd[1]: Failed to start A high performance web server and a reverse proxy server.
Sep 16 19:41:12 masi systemd[1]: Unit nginx.service entered failed state.

Estudando as falhas por journalctl -xn , onde o complemento adblock parece estar bloqueando algum tráfego de rede, o que pode explicar o aviso d-bus , portanto possível, não relacionado por que não consigo iniciar o SPSS no Terminal

lines 1-11/11 (END)...skipping...
-- Logs begin at Fri 2016-09-09 12:00:17 EEST, end at Fri 2016-09-16 21:02:26 EEST. --
Sep 16 21:01:40 masi dbus[1248]: [system] Activating via systemd: service name='org.freedesktop.hostname1' unit='dbus-org.freedesktop.hostname1.service'
Sep 16 21:01:41 masi dbus[1248]: [system] Successfully activated service 'org.freedesktop.hostname1'
Sep 16 21:01:55 masi google-chrome.desktop[25690]: A Parser-blocking, cross-origin script, http://js.indexww.com/ht/mtvfi.js, is invoked via document.write. This may be blocked by the browser if the device has poor network connectivity.
Sep 16 21:01:55 masi google-chrome.desktop[25690]: A Parser-blocking, cross-origin script, http://js.indexww.com/ht/mtvfi.js, is invoked via document.write. This may be blocked by the browser if the device has poor network connectivity.
Sep 16 21:01:55 masi google-chrome.desktop[25690]: A Parser-blocking, cross-origin script, http://ad.doubleclick.net/adj/test.home/htb;tile=1;sz=980x120;ord=6803931308961870?, is invoked via document.write. This may be blocked by the browser if the device has poor network connectivity.
Sep 16 21:01:56 masi google-chrome.desktop[25690]: A Parser-blocking, cross-origin script, http://netti.mtvmedia.fi/eas?EASformat=jsvars::EAScus=291&c1-5-0=1028, is invoked via document.write. This may be blocked by the browser if the device has poor network connectivity.
Sep 16 21:01:56 masi google-chrome.desktop[25690]: A Parser-blocking, cross-origin script, http://netti.mtvmedia.fi/eas?EASformat=jsvars::EAScus=291&c1-5-0=1028, is invoked via document.write. This may be blocked by the browser if the device has poor network connectivity.
Sep 16 21:02:26 masi google-chrome.desktop[25690]: A Parser-blocking, cross-origin script, http://js.indexww.com/ht/mtvfi.js, is invoked via document.write. This may be blocked by the browser if the device has poor network connectivity.
Sep 16 21:02:26 masi google-chrome.desktop[25690]: A Parser-blocking, cross-origin script, http://js.indexww.com/ht/mtvfi.js, is invoked via document.write. This may be blocked by the browser if the device has poor network connectivity.
Sep 16 21:02:26 masi google-chrome.desktop[25690]: A Parser-blocking, cross-origin script, http://ad.doubleclick.net/adj/test.home/htb;tile=1;sz=980x120;ord=6803931308961870?, is invoked via document.write. This may be blocked by the browser if the device has poor network connectivity.

OS: Debian 8.5 64 bit
Kernel Linux: 4.6 de backports
Hardware: Asus Zenbook UX303UA
Estatísticas SPSS: IBM SPSS Statistics Desktop v23 (Linux)

    
por Léo Léopold Hertz 준영 15.09.2016 / 12:13

2 respostas

0

Você precisa do Java da Oracle, e não do JRE padrão do Debian ... Faça como root, seguindo o guia aqui

  1. apt-get purge openjdk-7-jre e / ou relevante, deixando alguns dados dos pacotes em seu sistema; pode ser necessário mais tarde

  2. Adicione o seguinte em /etc/apt/sources.list

    # Debian 8 "Jessie"
    deb http://httpredir.debian.org/debian/ jessie main contrib
    
  3. Atualize os pacotes e instale java-package de contrib

    apt-get update && apt-get install java-package 
    
  4. Faça o download do Oracle Java em seu site; escolha .tar.gz para o Debian aqui

  5. Construa o .tar como não-raiz porque o instalador pode danificar seu sistema e particularmente /etc/

    fakeroot make-jpkg jre-8u102-linux-x64.tar.gz
    
  6. Instale o binário criado como raiz

    su
    dpkg -i oracle-java8-jre_8u102_amd64.deb 
    
  7. Configure a versão padrão do Java, mas não é possível encontrar o pacote sem erros

    # http://unix.stackexchange.com/q/310790/16920
    # successfully done here; you can ignore JDK errors because JRE only needed
    
  8. Execute o SPSS agora pelo programa spssclient in /opt/IBM/SPSS/Statistics/23/bin/ as masi , que é a configuração padrão aqui; que inicia succussefully GUI do SPSS

    masi@masi:/opt/IBM/SPSS/Statistics/23/bin# ./spssclient 
    
    root@masi:/opt/IBM/SPSS/Statistics/23/bin# ls -la | grep spssclient 
    -rwxrwxr-x  1 masi masi      178 Sep 19 12:17 spssclient
    
  9. Crie um alias para o programa, pois é muito trabalhoso encontrá-lo sempre em /opt ; etc coloque em seu $HOME/.bashrc

    alias spss="/opt/IBM/SPSS/Statistics/23/bin/spssclient"
    
por 19.09.2016 / 10:55
1

Tente:

apt-get install dbus

considere instalar o Oracle Java e verificar os direitos de gravação em tempo de instalação na pasta de destino da instalação para a conta do usuário. Use:)

    
por 16.09.2016 / 14:00