1 |
First of all thanks for your great help! |
2 |
|
3 |
On 02/06/2015 12:24 AM, Andrew Savchenko wrote: |
4 |
|
5 |
> 1) Run Mathematica from console. It may drop to the terminal some |
6 |
> useful messages (errors, warngings, etc) which may give a clue. |
7 |
There is no output at all. |
8 |
|
9 |
> 2) If any security mechanisms are engaged (e.g. SELinux, PaX, |
10 |
> GrSecurity, Yama framework and so on), please disable all of them |
11 |
> for testing. They may interfere with complex proprietary software |
12 |
> badly. |
13 |
> |
14 |
> 3) Please be sure, that iptables on your host are not a hinder |
15 |
> (e.g. disable iptables for testing, if in use). |
16 |
I can work with Mathematica on my VirtualBox where I have Win7 |
17 |
installed, therefore I assume that cant be the problem. |
18 |
> 4) Run tcpdump (net-analyzer/tcpdump) to see what Mathematica tries |
19 |
> to do on the net, in particular what ip and port it tries to |
20 |
> access. Verify that they are accessible using netcat or telnet. |
21 |
I looked through the output and tried to telnet all addresses and it |
22 |
worked. There is a lot of communication going on between the host and |
23 |
the server. On Monday when my colleague is back I will compare my output |
24 |
against his. |
25 |
> 5) Try to run Mathematica in terminal in debug mode. Since I don't |
26 |
> have this app right now I can't tell you exactly how to enable it, |
27 |
> but looking for --help output (or in Mathematica docs) may help. |
28 |
> Maybe it supports something like --verbose or --debug, which will |
29 |
> help you to get more information, then in step 1). |
30 |
/chi@fslgdpc46 ~ $ math -lmverbose// |
31 |
//Mathematica 10.0 for Linux x86 (64-bit)// |
32 |
//Copyright 1988-2014 Wolfram Research, Inc.// |
33 |
//Talk to server 'lizenzxxxxxx.at' on port 16286 ...// |
34 |
//Error reading: Success.// |
35 |
//Talk to server '///lizenzxxxxxx/.at' on port 16286 ...// |
36 |
//Error reading: Success.// |
37 |
// |
38 |
//Mathematica cannot find a valid password.// |
39 |
// |
40 |
//For automatic Web Activation enter your activation key// |
41 |
//(enter return to skip Web Activation): / |
42 |
It looks like the connection is fine but can't find a password which is |
43 |
wired because with the VirtualBox it worked and that is the same ip |
44 |
which requests a password. |
45 |
> 6) Inspect Mathematica requirements from its docs, maybe some |
46 |
> package or tool is missed, maybe version is wrong. |
47 |
Thats the wired thing because everything worked fine and it stopped |
48 |
working after I did a world update. But I will try to find out what |
49 |
packages Mathematica needs and look if i have them all. |
50 |
|
51 |
> |
52 |
> 7) If anything above fails, there is one more step, an ultimate one. |
53 |
> Run (assuming Mathematica command runs it): |
54 |
> |
55 |
> $ strace -ff Mathematica -o mathematica |
56 |
> (install dev-util/strace if you don't have it) |
57 |
> |
58 |
> And look through all mathematica.$pid files. They will contain |
59 |
> every system call. You will be able to see what files application |
60 |
> tries to access, what network actions it tries to perform and so |
61 |
> on. The answer will be there, but it will not be very easy to find. |
62 |
> |
63 |
> A good start will be to grep trough all file and socket access (or |
64 |
> use -e filter of strace itself). Maybe it tries to load some |
65 |
> library, or to run some tool and fails. Maybe required component is |
66 |
> present on your system, but version is different from what is |
67 |
> needed. |
68 |
> |
69 |
> 8) As a complementary to strace you may use dev-util/ltrace. ltrace |
70 |
> will print you *each* library call made buy an application. Output |
71 |
> data will be enormous, but will contain a very detail fingerprint |
72 |
> of what application does. With some effort this should help to |
73 |
> understand what is wrong. |
74 |
> |
75 |
> Best regards, |
76 |
> Andrew Savchenko |
77 |
|
78 |
These steps I try on the weekend. |
79 |
|
80 |
Thanks for you afford it is greatly appreciated!!!! |
81 |
|
82 |
chi |