Koozali.org: home of the SME Server

Contribs.org Forums => General Discussion => Topic started by: mterrasson on June 19, 2008, 03:26:51 PM

Title: SME 7.3 + eyeOS + Office Support problem =)
Post by: mterrasson on June 19, 2008, 03:26:51 PM
Hi all,

I'm working on a project including SME 7.3 , thinstation and eyeos .

The SME is intalled as Server, gateway, thinclient server and eyeOS server. The thinclients boot on smeserver via PXE, load thinstation image and acces via firefox to eyeOS. All of this works fine =)

But I need to enable OpenOffice support for the eyeOS platform, and here's the problem.
To enable support, I need to install a X server for openoffice can be executed in. I follow an  Howto from the eyeOS wiki (http://wiki.eyeos.org/HOWTO_Install_eyeOS_Office_Support) witch advise to use Xfvb.
So I install OpenOffice.org2.i386 from repo and also Xfvb (following this french howto (http://www.networkontrol.net/content/view/165/36/)).

Now I get some errors when I try to lauch Xvfb with the command given in the howto :
Code: [Select]
[root@vsme ~]# Xvfb :1 -ac -screen 0 800x600x16 -fbdir /tmp &
[2] 4269
[root@vsme ~]# _XSERVTransSocketOpenCOTSServer: Unable to open socket for inet6
_XSERVTransOpen: transport open failed for inet6/vsme:1
_XSERVTransMakeAllCOTSServerListeners: failed to open listener for inet6
_XSERVTransSocketINETCreateListener: ...SocketCreateListener() failed
_XSERVTransMakeAllCOTSServerListeners: server already running

Fatal server error:
Cannot establish any listening sockets - Make sure an X server isn't already running
unlink: No such file or directory
unlink  failed, errno 2


I try to find ou a solution via google, but I only find that it was _maybe_ a Xorg / X11 problem.

Thank you for answering,
mterrasson
IT student

EDIT :I tried to lauch xserver with startx, i get this :
Code: [Select]
[root@vsme ~]# startx
xauth:  creating new authority file /root/.Xauthority
xauth:  creating new authority file /root/.Xauthority
_XSERVTransSocketOpenCOTSServer: Unable to open socket for inet6
_XSERVTransOpen: transport open failed for inet6/vsme:0
_XSERVTransMakeAllCOTSServerListeners: failed to open listener for inet6

X Window System Version 6.8.2
Release Date: 9 February 2005
X Protocol Version 11, Revision 0, Release 6.8.2
Build Operating System: Linux 2.6.18-53.1.14.el5PAE i686 [ELF]
Current Operating System: Linux vsme 2.6.9-67.0.7.ELsmp #1 SMP Sat Mar 15 06:54:55 EDT 2008 i686
Build Date: 12 June 2008
Build Host:

        Before reporting problems, check http://wiki.X.Org
        to make sure that you have the latest version.
Module Loader present
OS Kernel: Linux version 2.6.9-67.0.7.ELsmp (mockbuild@builder6.centos.org) (gcc version 3.4.6 20060404 (Red Hat 3.4.6-9)) #1 SMP Sat Mar 15 06:54:55 EDT 2008
Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Thu Jun 19 15:33:11 2008
(EE) Unable to locate/open config file

xf86AutoConfig: Primary PCI is 0:15:0
Running "/usr/X11R6/bin/getconfig -X 60802000 -I /etc/X11,/usr/X11R6/etc/X11,/usr/X11R6/lib/modules,/usr/X11R6/lib/X11/getconfig -v 0x15ad -d 0x0405 -r 0x00 -s 0x15ad -b 0x0405 -c 0x0300"
getconfig.pl: Version 1.0.
getconfig.pl: Xorg Version: 6.8.2.0.
getconfig.pl: 23 built-in rules.
getconfig.pl: rules file '/usr/X11R6/lib/X11/getconfig/xorg.cfg' has version 1.0.
getconfig.pl: 1 rule added from file '/usr/X11R6/lib/X11/getconfig/xorg.cfg'.
getconfig.pl: Evaluated 24 rules with 0 errors.
getconfig.pl: Weight of result is 500.
New driver is "vmware"
(==) Using default built-in configuration (53 lines)
(EE) open /dev/fb0: No such file or directory
(WW) VMWARE(0): Failed to set up write-combining range (0xf0000000,0x1000000)
(EE) <default pointer>: Cannot find which device to use.
(EE) xf86OpenSerial: No Device specified.
(EE) <default pointer>: cannot open input device
(EE) PreInit failed for input device "<default pointer>"
No core pointer

Fatal server error:
failed to initialize core devices

Please consult the The X.Org Foundation support
         at http://wiki.X.Org
 for help.
Please also check the log file at "/var/log/Xorg.0.log" for additional information.

XIO:  fatal IO error 104 (Connection reset by peer) on X server ":0.0"
      after 0 requests (0 known processed) with 0 events remaining.
[root@vsme ~]#



EDIT2 I tried this howto (http://forums.contribs.org/index.php?topic=28241.0) but I get the same error =)
Title: Re: SME 7.3 + eyeOS + Office Support problem =)
Post by: Bud on June 19, 2008, 06:51:30 PM
Hi mterrasson

Sorry for the Noob Question but may I ask how did you install eyeos etc. on the sme server  :grin:

Title: Re: SME 7.3 + eyeOS + Office Support problem =)
Post by: mterrasson on June 20, 2008, 09:20:32 AM
Hi =)

To install EyeOS on SME server, you have to install php5, mySQL5 . APache 2.x is also needed, but it's included in SME 7.3.

When it's done, you create an ebay (I always name it "eyeos" ) with this right :

(http://mtbzh2.free.fr/pics/eyeos_add_ibay.jpg)
Of course you can restrict the access by password etc, my project don't require that =)

Once it's done, log you on the sme as root, go to the ibays repertory and then run this command :
Code: [Select]
##Download eyeos tarball in "dl"
mkdir /home/e-smith/files/ibays/dl
cd /home/e-smith/files/ibays/dl/
wget http://downloads.sourceforge.net/eyeos/eyeOS_1.6.0.1.tar.gz

##Decompress the tarball
tar -zxvf eyeOS_1.6.0.1.tar.gz
## We cp files to the eyeos ebay
cp -a eyeOS/* /home/e-smith/files/ibays/eyeos/html/
cd ..
## Remove dl
rm -Rf dl
## Remove index.html so we can access install.php
rm -f /home/e-smith/files/ibays/eyeos/html/index.html

Then, access the ebay via web ( http://MY_SME/eyeos/ )

Enter root password, hostname and press Install eyeos

Congratulations, it's done :)
Title: Re: SME 7.3 + eyeOS + Office Support problem =)
Post by: mterrasson on July 16, 2008, 02:04:23 PM
Hi again :p

I'm still working on this project and I've a new problem.

I've installed Xvfb, and it works fine, I've installed OpenOffice (eyeOS need it to read office format, odt, xls, etc. ).

When I try to open an odt, it doesn't work , i've this error in /var/log/httpd/error_log
Code: [Select]
[root@linux-pass ~]# cat /var/log/httpd/error_log

[Wed Jul 16 12:11:32 2008] [error] [client 192.168.241.218][b] [Java framework] Error in function createSettingsDocument (elements.cxx)[/b]., referer: http://192.168.241.60/eyeos/
[Wed Jul 16 12:11:32 2008] [error] [client 192.168.241.218] [b]javaldx failed![/b] , referer: http://192.168.241.60/eyeos/
[Wed Jul 16 12:11:38 2008] [error] [client 192.168.241.218] [b][Java framework] Error in function createSettingsDocument (elements.cxx)[/b]., referer: http://192.168.241.60/eyeos/

I've seen on Ubuntu forum that it can be fixed by deleting (or moving) the .openoffice located in the home folder, but this folder does not appear in the SME 7.3

Does anybody already had this problem ?