Description of problem:
I can use maxima in the console, but if i start xmaxima i get this error message:
Maxima 5.10.0 http://maxima.sourceforge.net
Using Lisp GNU Common Lisp (GCL) GCL 2.6.7 (aka GCL)
Distributed under the GNU Public License. See the file COPYING.
Dedicated to the memory of William Schelter.
This is a development version of Maxima. The function bug_report()
provides bug reporting information.
(%i1) jfa: starting server on port 4008
couldn't open socket:
Looks like we're not alone, Ubuntu has the same problem:
Their recommendations were to use a different maxima-runtime (one of
maxima-runtime-clisp, maxima-runtime-cmucl, maxima-runtime-sbcl).
Upon closer inspection of ubuntu's report, they claim it to be a gcl bug, see
Once gcl is fixed (see bug #216884), we can/will respin a fixed
Strange, I cannot reproduce the bug on FC6 with the same versions...
Now that I have my fc6 box handy again, I can confirm Gerard's findings that I'm
unable to reproduce the problem.
Bjoern, do you have any other hints to help us reproduce the problem you're seeing?
I have this same problem on both of my fc6 systems.
System1: x86-64, maxima on sbcl.
System2: i686, maxima on cmucl.
The cmucl error message is more informative: unknown host:"localhost".
The host command has no problem getting the ip for localhost, but
the /etc/hosts file only lists "::1". Replacing this with "127.0.0.1"
allows xmaxima to work.
Sbcl only reports host-not-found, but does not give the host name
it was looking for. The same trick with the hosts file allows
maxima to run.
OK, this sounds like an ipv6'ism. On my fc6 box (that works), I have
127.0.0.1 localhost.localdomain localhost
::1 localhost.localdomain localhost
So, you're saying that if the ipv4 entry for localhost is missing, then xmaxima
borks? (I'm not necessarily surprised).
Now, how/why is the ipv4 localhost entry missing? I'd argue that is the bug here.
Both fc6 systems are fresh install so the hosts file is the one
left by the installer. Looking at the error message from sbcl, I
see that error was reported by the gethostbyname library function.
From the command line, host localhost returns both the ipv4 and
ipv6 address. I believe that other apps have had problems
which were fixed by adding the ipv4 entry, the problem does not
seem to be with maxima.
The problem seems to be either the installer or the gethostbyname
library function. Fixing the hosts file would seem to be the
The problem with the hosts file is caused by system-config-network (BZ 214932).
Comments for that bug note that if the ipv4 address is listed first,
system-config-network will not remove it.
Fedora apologizes that these issues have not been resolved yet. We're
sorry it's taken so long for your bug to be properly triaged and acted
on. We appreciate the time you took to report this issue and want to
make sure no important bugs slip through the cracks.
If you're currently running a version of Fedora Core between 1 and 6,
please note that Fedora no longer maintains these releases. We strongly
encourage you to upgrade to a current Fedora release. In order to
refocus our efforts as a project we are flagging all of the open bugs
for releases which are no longer maintained and closing them.
If this bug is still open against Fedora Core 1 through 6, thirty days
from now, it will be closed 'WONTFIX'. If you can reporduce this bug in
the latest Fedora version, please change to the respective version. If
you are unable to do this, please add a comment to this bug requesting
Thanks for your help, and we apologize again that we haven't handled
these issues to this point.
The process we are following is outlined here:
We will be following the process here:
http://fedoraproject.org/wiki/BugZappers/HouseKeeping to ensure this
doesn't happen again.
And if you'd like to join the bug triage team to help make things
better, check out http://fedoraproject.org/wiki/BugZappers
This bug is open for a Fedora version that is no longer maintained and
will not be fixed by Fedora. Therefore we are closing this bug.
If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen thus bug against that version.
Thank you for reporting this bug and we are sorry it could not be fixed.