Koozali.org: home of the SME Server

[HOW TO] Install eGroupWare on SME 7.x

Offline cool34000

  • *
  • 339
  • +0/-0
[HOW TO] Install eGroupWare on SME 7.x
« Reply #60 on: March 23, 2007, 10:31:18 AM »
Hey !

The problem for some of you getting this error :
Quote
[root@server ~]# sh egroupware.sh
: command not found 2:
: command not found 3:
--------------------------------------------------------------------------
Installation of eGroupWare (public access, automatic https redirection)...
--------------------------------------------------------------------------
: command not found 7:
: command not found 8:
: command not found 10:
: command not found 11:
Generating password...
egroupware.sh: line 98: syntax error: unexpected end of file
is due to an abnormal character at the end of each line of the script

Remove the bad character (a square or a space) at the end of each line and relaunch... This should be better !

cola29

[HOW TO] Install eGroupWare on SME 7.x
« Reply #61 on: March 24, 2007, 05:56:48 AM »
Thanks coolme and cool34000.  I've successfully installed the eGroupware.  However, i can;t sync with my Outlook with eGWOSync.

When I did a server test, it responed "Fault Code: 9999 Reason "xmlrpc service is not enabled in the eGroupWare system configuration: "
"..... And I'm searching for solution. :lol:

Offline cool34000

  • *
  • 339
  • +0/-0
[HOW TO] Install eGroupWare on SME 7.x
« Reply #62 on: March 24, 2007, 09:29:41 PM »
Hi !

Quote from: "cola29"
xmlrpc service is not enabled in the eGroupWare system configuration
Then just enable it !!!

Remember that sync with Outlook will not work if you're using https without a valid certificate, in this case you have to use http instead...

cola29

[HOW TO] Install eGroupWare on SME 7.x
« Reply #63 on: March 25, 2007, 11:18:52 AM »
Quote from: "cool34000"
Hi !

Quote from: "cola29"
xmlrpc service is not enabled in the eGroupWare system configuration
Then just enable it !!!

Remember that sync with Outlook will not work if you're using https without a valid certificate, in this case you have to use http instead...


hi! cool34000,

Success after I installed the cert in my browser, Thanks.

Offline cool34000

  • *
  • 339
  • +0/-0
[HOW TO] Install eGroupWare on SME 7.x
« Reply #64 on: March 25, 2007, 12:41:00 PM »
Quote from: "cool34000"
Hi !

Has anyone got more luck than me with the ability to sync SME's LDAP accounts with eGroupWare ?

Reading the doc and some posts on their forum point me to that direction :
Code: [Select]
cp -f /opt/egroupware/html/phpgwapi/doc/ldap/phpgwaccount.schema /etc/openldap/schema/
cp -f /opt/egroupware/html/phpgwapi/doc/ldap/phpgwcontact.schema /etc/openldap/schema/
mkdir -p /etc/e-smith/templates-custom/etc/openldap/slapd.conf
cp -f /etc/e-smith/templates/etc/openldap/slapd.conf/10schema /etc/e-smith/templates-custom/etc/openldap/slapd.conf/
echo "include         /etc/openldap/schema/phpgwaccount.schema" >> /etc/e-smith/templates-custom/etc/openldap/slapd.conf/10schema
echo "include         /etc/openldap/schema/phpgwcontact.schema" >> /etc/e-smith/templates-custom/etc/openldap/slapd.conf/10schema
echo >> /etc/e-smith/templates-custom/etc/openldap/slapd.conf/10schema
expand-template /etc/openldap/slapd.conf
service ldap restart


Now I'm locked and don't really know what to do next... Is this good enough to work -> so I'm just messing up the install stage
Or is there more things to be done before syncing LDAP on eGroupWare ?

Thanks for any help !

Up !!! :)

Offline piedie

  • **
  • 58
  • +0/-0
[HOW TO] Install eGroupWare on SME 7.x
« Reply #65 on: March 25, 2007, 03:04:28 PM »
Yep, it works like a charm. I thought I did remove the line, but it turns out i didn't. Sorry for that! (BTW: What a great contrib!)

Offline cfmunster

  • 13
  • +0/-0
    • http://www.funkymojo.com
solved- getting blank screen after initial setup
« Reply #66 on: March 31, 2007, 08:13:45 PM »
Hey, great contrib! I just did a clean install of SME Server 7.1 and got all the software updates.  I did the install of eGroupware and, like several other people, got to a point where I did the initial config and got a blank screen on the next page in my browser.

To solve the problem, I accessed the server command-line and used vi to edit /opt/egroupware/html/header.inc.php. I had to change these lines:

        define('EGW_SERVER_ROOT','/path/to/egroupware');
        define('EGW_INCLUDE_ROOT','/path/to/egroupware');
        define('PHPGW_SERVER_ROOT','/path/to/egroupware');
        define('PHPGW_INCLUDE_ROOT','/path/to/egroupware');

to these values:

        define('EGW_SERVER_ROOT','/opt/egroupware/html');
        define('EGW_INCLUDE_ROOT','/opt/egroupware/html');
        define('PHPGW_SERVER_ROOT','/opt/egroupware/html');
        define('PHPGW_INCLUDE_ROOT','/opt/egroupware/html');

Not sure why the initial setup didn't write those lines correctly, but they didn't. Now everything works great!
----
Robert Munn

Offline lupo

  • **
  • 42
  • +0/-0
[HOW TO] Install eGroupWare on SME 7.x
« Reply #67 on: April 01, 2007, 11:50:36 PM »
Hi cool34000,

thanks for that great HowTo.
I've just one (or two) question(s). You wrote some pages before to sync eGW and Outlook with eGWOSync there must be a valid certificate on the server. Is that a certificate like from cacert.org? Is there an easier way to obtain a valid certificate?
Thanks!

Lupo

Offline cool34000

  • *
  • 339
  • +0/-0
[HOW TO] Install eGroupWare on SME 7.x
« Reply #68 on: April 03, 2007, 04:28:13 PM »
Hi !

@ lupo : well, I don't know as I don't have a valid certificate myself... CACERT should be OK as many others...
I didn't try to accept SME's default autogenerated certificate to see if all goes without the problem...
If I understand well Cola's last post, it seems that when he accepted his certificate XMLRPC over https worked... I don't know if he is using a valid one or just the autogenerated one... Maybe he could tell more on that subject...

Offline lupo

  • **
  • 42
  • +0/-0
[HOW TO] Install eGroupWare on SME 7.x
« Reply #69 on: April 04, 2007, 10:54:04 PM »
Quote from: "cool34000"
Hi !

@ lupo : well, I don't know as I don't have a valid certificate myself... CACERT should be OK as many others...
I didn't try to accept SME's default autogenerated certificate to see if all goes without the problem...
If I understand well Cola's last post, it seems that when he accepted his certificate XMLRPC over https worked... I don't know if he is using a valid one or just the autogenerated one... Maybe he could tell more on that subject...


Thank you so far cool34000!

@cola29: could you please provide some information how and which certificate you have installed? Thanks!

Lupo

cola29

[HOW TO] Install eGroupWare on SME 7.x
« Reply #70 on: April 05, 2007, 06:47:46 PM »
Quote from: "lupo"
@cola29: could you please provide some information how and which certificate you have installed? Thanks!

Lupo
When I log on to https://domain/server-manager/ I can view and install the cert to my browser.  it is what the cert I said. :D

Offline lupo

  • **
  • 42
  • +0/-0
[HOW TO] Install eGroupWare on SME 7.x
« Reply #71 on: April 08, 2007, 06:06:06 PM »
Quote from: "cola29"
When I log on to https://domain/server-manager/ I can view and install the cert to my browser.  it is what the cert I said. :D


Thanks for that information. Did you use Internet Explorer to install the certificate? Have you changed any of the standard settings in the dialogue? I tried to install the certificate but everytime I open the Servermanager I am asked again if I want to accept the certificate.

As cool34000 described earlier, I tried to do the "Introspection" for xmlrpc. And it says this:
Code: [Select]

Fault: Code: 5 Reason 'Didn't receive 200 OK from remote server. (HTTP/1.1 302 Found)'
methods available at http://192.168.10.250:80/egroupware/xmlrpc.php

instead of that what cool34000 posted. I use egroupware via https and xmlrpc is activated?

The Logintest with eGWOsync fails.

Any Ideas what goes wrong?
Thanks!

Lupo

Offline imcintyre

  • *
  • 609
  • +0/-0
[HOW TO] Install eGroupWare on SME 7.x
« Reply #72 on: April 16, 2007, 04:30:42 AM »
Quote
Quote:
[root@server ~]# sh egroupware.sh
: command not found 2:
: command not found 3:
--------------------------------------------------------------------------
Installation of eGroupWare (public access, automatic https redirection)...
--------------------------------------------------------------------------
: command not found 7:
: command not found 8:
: command not found 10:
: command not found 11:
Generating password...
egroupware.sh: line 98: syntax error: unexpected end of file
is due to an abnormal character at the end of each line of the script

Remove the bad character (a square) at the end of each line and relaunch... This should be better !
 
 


I am getting this error. However, if I pico egroupware.sh, I do not see any "squares" and the end of each line. I have also tried opening the fle with notepad and wordpad and not square. Any help would be appreciated.

Offline cool34000

  • *
  • 339
  • +0/-0
[HOW TO] Install eGroupWare on SME 7.x
« Reply #73 on: April 16, 2007, 11:31:29 AM »
Try to do :
Code: [Select]
sh -x egroupware.shWell that's the verbose way, but you should see what's going on... And what's wrong...

Offline imcintyre

  • *
  • 609
  • +0/-0
[HOW TO] Install eGroupWare on SME 7.x
« Reply #74 on: April 16, 2007, 07:08:29 PM »
Thx for quick reply. I found an extra character at the end of the egroupware.sh file. I deleted it and things ran smoothly until I did the installation check and found 3 warnings. I see that the mysql database is enabled, but I don't know if I will use the others it mentions. Is this a concern?
Quote
Checking the eGroupWare Installation
 Checking required PHP version 4.3+ (recommended 5.0): 4.3.9 ==> True
 Checking php.ini: safe_mode = Off: ini_get('safe_mode')='' = Off
 Checking php.ini: magic_quotes_runtime = Off: ini_get('magic_quotes_runtime')='0' = Off
 Checking php.ini: register_globals = Off: ini_get('register_globals')='0' = Off
 Checking php.ini: memory_limit >= 16M: ini_get('memory_limit')='32M'
 Checking php.ini: max_execution_time >= 30: ini_get('max_execution_time')='60'
 Checking php.ini: file_uploads = On: ini_get('file_uploads')='1' = On
 Checking php.ini: include_path contain .: ini_get('include_path')='.:/usr/share/pear-addons:/usr/share/pear'
 Checking extension mysql is loaded or loadable: True
 Checking extension pgsql is loaded or loadable: False
The pgsql extension is needed, if you plan to use a pgSQL database.
 Checking extension odbc is loaded or loadable: False
The odbc extension is needed, if you plan to use a MaxDB, MsSQL or Oracle database.
 Checking extension oci8 is loaded or loadable: False
The oci extension is needed, if you plan to use a Oracle database.
 Checking extension mbstring is loaded or loadable: True
 Checking php.ini: mbstring.func_overload = 7: ini_get('mbstring.func_overload')='7'
 Checking extension imap is loaded or loadable: True
 Checking extension session is loaded or loadable: True
 Checking PEAR is installed: True
 Checking PEAR::Log is installed: True
 Checking for GD support...: True
 Checking file-permissions of . for not world writable: root/www dr-xr-x---

This might take a while, please wait ...
 Checking file-permissions of header.inc.php for not world readable: www/www -rw-------
 Checking file-permissions of fudforum for writable by the webserver: root/www drwxrwx---
 Checking if php.ini setting session.save_path='/tmp' is writable by the webserver: root/root drwxrwxrwt

Please fix the above errors () and warnings()