Re: Axiom and Firefox (newbie)
Sergio Polini <[email protected]> Sun, 22 Feb 2009 23:47:11 +0100
| Newsgroups | gmane.comp.mathematics.axiom.user |
|---|---|
| Message-ID | <[email protected]> |
Il Sunday 22 February 2009 23:45:58 root ha scritto: > Sergio, > > >I've just installed Axiom (downloads/axiom-ubuntu-jan2009-bin.tgz) in > >/opt/Axiom/axiom/mnt/ubuntu as root and looked at the documentation. > >I've read section 1.1 of bookvol11.pdf, so I typed (as normal user, in my > > home directory): > > > > export AXIOM=/opt/Axiom/axiom/mnt/ubuntu > > export PATH=$AXIOM/bin/lib:$AXIOM/bin:$PATH > > axiom -nox > > -> )set mes auto off > > -> )set out mathml on > > -> axServer(8085,multiServ)$AXSERV > > > >and "listening on port 8085" appeared. > >Then I started my browser, Firefox. I went to > > > > file:///opt/Axiom/axiom/mnt/ubuntu/doc/hypertext/rootpage.xhtml > > > >but that does not work, i.e. after: > > Basic Commands -> Calculus -> Differentiate -> Continue > >nothing happens and the Error Console displays: > > > >"Security problem: contents in > >file:///opt/Axiom/axiom/mnt/ubuntu/doc/hypertex/rootpage.xhtml cannot load > >data from file:///opt/Axiom/axiom/mnt/ubuntu/doc/hypertex/127.0.0.1:8085." > > > >"Errore: uncaught exception: [Exception... "Access to restricted URI > > denied" code: "1012" nsresult: "0x805303f4 (NS_ERROR_DOM_BAD_URI)" > >location: > > "file:///opt/Axiom/axiom/mnt/ubuntu/doc/hypertex/differentiate.xhtml > > Line: 119"] > > How very odd. It appears that you have some sort of security tool > enabled (likely SELinux is enabled). The rules you have set up do > not permit a browser to access the page. > > Is SELinux enabled? > Is there a way to convince it to let you access pages? > I don't run SELinux so I can't easily reproduce this locally. Neither do I ;-) I've even stopped my firewall and rebooted: root:~# iptables-save # Generated by iptables-save v1.3.8 on Sun Feb 22 23:34:27 2009 *filter :INPUT ACCEPT [103:19915] :FORWARD ACCEPT [0:0] :OUTPUT ACCEPT [116:18800] COMMIT # Completed on Sun Feb 22 23:34:27 2009 but I still get the same error... Sergio