Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
HOWTO: Open-Xchange on Gentoo
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2, 3 ... 8, 9, 10 ... 37, 38, 39  Next  
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks
View previous topic :: View next topic  
Author Message
playworker
n00b
n00b


Joined: 28 Jul 2004
Posts: 21
Location: UK

PostPosted: Mon Nov 22, 2004 9:27 am    Post subject: Reply with quote

Some of the java classes need X, but none of them are needed for OX, I just emerged it with --nodeps and it worked fine (0.7.4) :)
Back to top
View user's profile Send private message
playworker
n00b
n00b


Joined: 28 Jul 2004
Posts: 21
Location: UK

PostPosted: Mon Nov 22, 2004 10:46 am    Post subject: Spellcheck Reply with quote

To get spellchecking to work in 0.7.4 (dunno if they have fixed this in the new version) you need to add the following line to each dictionary in your spellcheck.cfg file:
Code:
 <element pdict="/usr/local/open-xchange/var/dictionary/" filename="$uid"/>


If you are running an earlier version then this line will already be present but you need to change the ispell command line by removing the switch -TLatin1 at the end to get spellcheck to work.

Also, if you are a proper English person :P then you will probably want to change the English dictionary command line from -damerican to -dbritish :)

Hope this helps, if this doesn't make sense then take a look at the /usr/local/open-xchange/etc/webmail/spellcheck.cfg file and it will all become clear...

Matt
Back to top
View user's profile Send private message
temp
n00b
n00b


Joined: 03 Aug 2002
Posts: 11

PostPosted: Mon Nov 22, 2004 1:33 pm    Post subject: Reply with quote

Are there any guidelines in upgrading from 0.7.4 to 0.7.5?
Maybe add it as a chapter of your manual? :-)

Or isn't it recommended to upgrade a running version?
Back to top
View user's profile Send private message
bitwh0re
Apprentice
Apprentice


Joined: 29 Apr 2004
Posts: 214

PostPosted: Mon Nov 22, 2004 1:54 pm    Post subject: Reply with quote

temp wrote:
Are there any guidelines in upgrading from 0.7.4 to 0.7.5?
Maybe add it as a chapter of your manual? :-)

Or isn't it recommended to upgrade a running version?


That is one of the things I'd like to tackle in the future, right now I'm concentrating on having a good working HOWTO and adding the steps to extend it. Once I feel that that's been completed, then I'll concentrate on adding steps to upgrading.

Realize too that you'll probably have to do a fresh install once 0.8 comes out. I've read that there will be some major changes when that version is released.
Back to top
View user's profile Send private message
temp
n00b
n00b


Joined: 03 Aug 2002
Posts: 11

PostPosted: Mon Nov 22, 2004 2:22 pm    Post subject: Reply with quote

bitwh0re wrote:
That is one of the things I'd like to tackle in the future, right now I'm concentrating on having a good working HOWTO and adding the steps to extend it. Once I feel that that's been completed, then I'll concentrate on adding steps to upgrading.

Realize too that you'll probably have to do a fresh install once 0.8 comes out. I've read that there will be some major changes when that version is released.


Ah ok. I'll skip the 0.7.5 then ;-)
Going to test my import-stuff with 0.7.4, i can do wild things when I need to reinstall it with 0.8 either way... ;-)

Have you got any info's on when 0.8 will be released? Will there be any 0.7.x-releases before?
Back to top
View user's profile Send private message
bitwh0re
Apprentice
Apprentice


Joined: 29 Apr 2004
Posts: 214

PostPosted: Mon Nov 22, 2004 3:10 pm    Post subject: Reply with quote

temp wrote:
bitwh0re wrote:
That is one of the things I'd like to tackle in the future, right now I'm concentrating on having a good working HOWTO and adding the steps to extend it. Once I feel that that's been completed, then I'll concentrate on adding steps to upgrading.

Realize too that you'll probably have to do a fresh install once 0.8 comes out. I've read that there will be some major changes when that version is released.


Ah ok. I'll skip the 0.7.5 then ;-)
Going to test my import-stuff with 0.7.4, i can do wild things when I need to reinstall it with 0.8 either way... ;-)

Have you got any info's on when 0.8 will be released? Will there be any 0.7.x-releases before?


Tenative Q1 2005. Might be sooner, might be later. They said "It'll be released when it gets released." Sound familiar?? :)
Back to top
View user's profile Send private message
sardiskan
Tux's lil' helper
Tux's lil' helper


Joined: 07 Oct 2004
Posts: 115
Location: Montgomery

PostPosted: Mon Nov 22, 2004 6:26 pm    Post subject: Reply with quote

I was following the install guide and I have come to a stopping point. During the "Initialize LDAP tree" phase I have a create a file called ldap.diff and configure it. Then I have to add this tree configuration to ldap by running:

Code:
slapadd -l ldap.ldif


After I try that I get the following error:

Code:
slapadd: cound not parse entry (line=9)


I'm not sure what to do next. Any ideas?
_________________
Unless a grain of wheat falls to the ground and dies, it remains only a single seed.
Back to top
View user's profile Send private message
bitwh0re
Apprentice
Apprentice


Joined: 29 Apr 2004
Posts: 214

PostPosted: Mon Nov 22, 2004 7:49 pm    Post subject: Reply with quote

sardiskan wrote:
I was following the install guide and I have come to a stopping point. During the "Initialize LDAP tree" phase I have a create a file called ldap.diff and configure it. Then I have to add this tree configuration to ldap by running:

Code:
slapadd -l ldap.ldif


After I try that I get the following error:

Code:
slapadd: cound not parse entry (line=9)


I'm not sure what to do next. Any ideas?


You know, I thought everyone that was getting this error was doing it wrong until I got that error just the other day. I've changed the HOWTO around to show a working way of initially populating the LDAP tree. Here's the command until I publish the next HOWTO:

Code:
ldapadd –x –D “cn=Manager,dc=ox-domain,dc=tld” –W –f ldap.ldif


Of course, change dc=ox-domain,dc=tld to suit your environment.
Back to top
View user's profile Send private message
sardiskan
Tux's lil' helper
Tux's lil' helper


Joined: 07 Oct 2004
Posts: 115
Location: Montgomery

PostPosted: Mon Nov 22, 2004 10:28 pm    Post subject: Reply with quote

Well, I actually did eventually get it to work, but now I'm having trouble with another ldif file. The init_ldap.ldif file is not importing. I'm not sure why, everything appears to be ok.

Jason King
_________________
Unless a grain of wheat falls to the ground and dies, it remains only a single seed.
Back to top
View user's profile Send private message
bitwh0re
Apprentice
Apprentice


Joined: 29 Apr 2004
Posts: 214

PostPosted: Tue Nov 23, 2004 12:29 pm    Post subject: Reply with quote

sardiskan wrote:
Well, I actually did eventually get it to work, but now I'm having trouble with another ldif file. The init_ldap.ldif file is not importing. I'm not sure why, everything appears to be ok.

Jason King


That file does need quite a few edits to get it going. You really have to customize it for your environment. Be sure to change all of the dc=example,dc=org to your tree.
Back to top
View user's profile Send private message
sardiskan
Tux's lil' helper
Tux's lil' helper


Joined: 07 Oct 2004
Posts: 115
Location: Montgomery

PostPosted: Tue Nov 23, 2004 1:39 pm    Post subject: Reply with quote

I have an email system already in place and I don't want to get rid of it. I just want to integrate open-xchange with what I already have. Can open-xchange be integrated into other email programs? I'm running qmail w/vpopmail as my mail box store.

Jason
_________________
Unless a grain of wheat falls to the ground and dies, it remains only a single seed.
Back to top
View user's profile Send private message
bitwh0re
Apprentice
Apprentice


Joined: 29 Apr 2004
Posts: 214

PostPosted: Tue Nov 23, 2004 3:32 pm    Post subject: Reply with quote

sardiskan wrote:
I have an email system already in place and I don't want to get rid of it. I just want to integrate open-xchange with what I already have. Can open-xchange be integrated into other email programs? I'm running qmail w/vpopmail as my mail box store.

Jason


That's a question best answered by the OX team:

http://mirror.open-xchange.org/ox/EN/mailman/

http://www.open-xchange.org/cgi-bin/simpleforum.cgi
Back to top
View user's profile Send private message
sardiskan
Tux's lil' helper
Tux's lil' helper


Joined: 07 Oct 2004
Posts: 115
Location: Montgomery

PostPosted: Tue Nov 23, 2004 9:07 pm    Post subject: Can't add entry into ldap tree Reply with quote

I tried running the following command to initialize the ldap tree but I got this message.


Code:
portal root # slapadd -l /usr/local/open-xchange/share/init_ldap.ldif
slapadd: could not add entry dn="ou=OxObjects,dc=informs,dc=com" (line=5): txn_aborted! DB_KEYEXIST: Key/data pair already exists (-30997)


What have I done wrong?

Jason
_________________
Unless a grain of wheat falls to the ground and dies, it remains only a single seed.
Back to top
View user's profile Send private message
parnasus
n00b
n00b


Joined: 20 Mar 2003
Posts: 7

PostPosted: Tue Nov 23, 2004 9:29 pm    Post subject: Username different from mail address? Reply with quote

According to the HOWTO, mail addresses (for user jdoe) are added to cyrus in the form:
Code:
localhost> cm user.jdoe
localhost> quit
What I'm wonder is: Is there a way to have a user "jdoe" with an email address of "john_doe@oxdomain.com" :?:
_________________
"If you design for the exceptions, the rules fall into place."
Back to top
View user's profile Send private message
dashnu
l33t
l33t


Joined: 21 Jul 2004
Posts: 703
Location: Casco Maine

PostPosted: Tue Nov 23, 2004 9:44 pm    Post subject: Reply with quote

Spell check. Confirm you have ispell emerged.

Than change your /etc/webmail/spellcheck.cfg

Code:
# WebMail SpellCheck configuration file
# (c) Netline Internet Service GmbH
# Author: Stefan Preuss <stefan.preuss@netline-is.de>
# Feel free to add new dictionaries.
# Note:
# Currently we ONLY support ispell. Never change the breakpoint parameter!

<SpellCheck>

 <element enabled="true"/>
 <element breakpoint="4000"/>
 <element language="EN" default="english"/>


 <dictionary id="english">
  <element title="Englisch" language="DE"/>
  <element title="English" language="EN"/>
  <element debug="false"/>
  <execute cmd="/usr/bin/ispell -damerican -a -P -H"/>
 </dictionary>

</SpellCheck>


Really easy but figured I would post it anyways. This is for english of course :p
_________________
write quit bang
Back to top
View user's profile Send private message
bitwh0re
Apprentice
Apprentice


Joined: 29 Apr 2004
Posts: 214

PostPosted: Tue Nov 23, 2004 11:28 pm    Post subject: Re: Username different from mail address? Reply with quote

parnasus wrote:
According to the HOWTO, mail addresses (for user jdoe) are added to cyrus in the form:
Code:
localhost> cm user.jdoe
localhost> quit
What I'm wonder is: Is there a way to have a user "jdoe" with an email address of "john_doe@oxdomain.com" :?:


This can be done with Postfix:

http://www.postfix.org/VIRTUAL_README.html

http://www.postfix.org/aliases.5.html
Back to top
View user's profile Send private message
bitwh0re
Apprentice
Apprentice


Joined: 29 Apr 2004
Posts: 214

PostPosted: Wed Nov 24, 2004 12:18 am    Post subject: Some interesting things.... Reply with quote

Just browsing the OX website and ran across some interesting items in the Wiki...

SAMBA and OX playing together:

http://www.open-xchange.org/oxwiki/OX_20and_20Samba_20Login_20through_20LDAP


OX filespool through WebDAV in Windows:

http://www.open-xchange.org/oxwiki/Using_20WebDAV_20for_20documents_20as_20Windows_20network_20share


And the (GPL?) Outlook connector will be released with OX 0.8:

http://www.open-xchange.org/oxwiki/OutlookConnector
Back to top
View user's profile Send private message
-Tom-
n00b
n00b


Joined: 11 Aug 2004
Posts: 9
Location: Reading, UK

PostPosted: Wed Nov 24, 2004 11:53 am    Post subject: Reply with quote

Hi all, I'm having quite the time of it with Tomcat - I wonder if anyone can help me?

First a quick bit of background: This is a clean OXinstall, using the 0.14 howto, it's been installed on a clean Gentoo build (2.6.9-gentoo-r4) and is running on Sempron 3000+ / nForce2 platform. Nothing else has been installed other than the items specified in the Gentoo Handbook.

Right, having followed the howto through, I have run through successfully to 'Configure Tomcat for OX's servlets' - the only 'odd' thing up to that point was that 'login.pl' was not in /usr/local/open-xchange/share/perl, rather, it was already in /var/www/localhost/cgi-bin/ :roll:

So, what I am doing as of now is this:

Code:
foobar ~ # mkdir /opt/tomcat/webapps/servlet
foobar ~ # mkdir /opt/tomcat5/webapps/servlet/WEB-INF
foobar ~ # mkdir /opt/tomcat5/webapps/servlet/WEB-INF/classes
foobar ~ # mkdir /opt/tomcat5/webapps/servlet/WEB-INF/lib


This all does what you'd expect - creates the dirs (duh!). It's the next bit that's the problem...

Code:
foobar ~ # cp /usr/local/open-xchange/share/servlets/*
/opt/tomcat5/webapps/servlet/WEB-INF/classes


For some reason, /usr/local/open-xchange/share/servlets/ is empty :? Is this normal? I have a feeling there should be something in there, no? The next command:

Code:
foobar ~ # cp /usr/local/open-xchange/lib/*
/opt/tomcat5/webapps/servlet/WEB-INF/lib/


works fine - there are files in /usr/local/open-xchange/lib/ and are copied across...

Anyway, I run throught the howto noting the following:

- That /opt/tomcat5/webapps/servlet/WEB-INF/web.xml doesn't exits, so I create it and add the contents as outlined in the howto.
- That on restarting Tomcat I don't get the 'No running Server found.' error - but not really knowing Tomcat, I forge on ahead... :roll: The error I see is an 'Apache Tomcat/5.0.27 - Error report', which presents me with a page basically saying:
Code:
HTTP Status 404 - /servlets/

type Status report

message /servlets/

description The requested resource (/servlets/) is not available.

- That /etc/apache2/conf/jk2.conf doesn't exist, so I create it and populate it as in the howto.
- That /etc/apache2/conf/workers2.properties doesn't exist, so I create it and populate as in the howto.

I then restart Apache, and get the following error:

Code:
[error] env.createBean2(): Error getting factory for [sbm] (null)
[error] config.update(): Can't create sbm


When looking in the /var/log/apache2/error_log file, I see:

Code:
[Wed Nov 24 11:38:55 2004] [notice] Digest: generating secret for digest authentication ...
[Wed Nov 24 11:38:55 2004] [notice] Digest: done
[Wed Nov 24 11:38:56 2004] [error] ajp13.init(): No channel [server name removed]:8009
[Wed Nov 24 11:38:56 2004] [error] uriEnv.init() map to invalid worker /servlet/* ajp13.[server name removed]:8009
[Wed Nov 24 11:38:56 2004] [error] ajp13.init(): No channel [server name removed]:8009
[Wed Nov 24 11:38:56 2004] [error] uriEnv.init() map to invalid worker /servlet/* ajp13.[server name removed]:8009
[Wed Nov 24 11:38:56 2004] [error] ajp13.init(): No channel [server name removed]:8009
[Wed Nov 24 11:38:56 2004] [error] uriEnv.init() map to invalid worker /servlet/* ajp13.[server name removed]:8009
[Wed Nov 24 11:38:56 2004] [error] ajp13.init(): No channel [server name removed]:8009
[Wed Nov 24 11:38:56 2004] [error] uriEnv.init() map to invalid worker /servlet/* ajp13.[server name removed]:8009
[Wed Nov 24 11:38:56 2004] [notice] Apache/2.0.52 (Gentoo/Linux) mod_jk2/2.0.4 configured -- resuming normal operations
[Wed Nov 24 11:38:56 2004] [error] ajp13.init(): No channel [server name removed]:8009
[Wed Nov 24 11:38:56 2004] [error] uriEnv.init() map to invalid worker /servlet/* ajp13.[server name removed]:8009


It is at this point that I now find myself... :cry: Anyone have any suggestions about what might be the problem? I've tried Googling on the errors, and I've tried both the Gentoo and OX forums - but all to no avail. Please help - I'm floating around in a giant pool of my own n00bishness, and it's not nice...

- Tom.
Back to top
View user's profile Send private message
bitwh0re
Apprentice
Apprentice


Joined: 29 Apr 2004
Posts: 214

PostPosted: Wed Nov 24, 2004 1:42 pm    Post subject: Reply with quote

You're installing OX 0.7.5 by the sounds of it. 'make install' now copies over the html files to cfintranet and copies over the class files. Move the files you find in /opt/tomcat5/webapps/servlet to /opt/tomcat5/webapps/servlet/WEB-INF/classes. Be sure to stop both the tomcat and apache services before you do this.

Also be sure that your workers2.properties file has hostnames that match your environment...
Back to top
View user's profile Send private message
-Tom-
n00b
n00b


Joined: 11 Aug 2004
Posts: 9
Location: Reading, UK

PostPosted: Wed Nov 24, 2004 4:36 pm    Post subject: Reply with quote

bitwh0re wrote:
You're installing OX 0.7.5 by the sounds of it.


Yep, it's the 0.7.5 install... Your solution worked fine thanks :D

bitwh0re wrote:
Also be sure that your workers2.properties file has hostnames that match your environment...


Yeah... I had a couple of type-o's in there :oops:

One more question: How do I stop OX outputting to the screen if I've started the processes manually?

Thanks!
Back to top
View user's profile Send private message
sardiskan
Tux's lil' helper
Tux's lil' helper


Joined: 07 Oct 2004
Posts: 115
Location: Montgomery

PostPosted: Wed Nov 24, 2004 5:06 pm    Post subject: Reply with quote

What is the login information for Tomcat anyway?
_________________
Unless a grain of wheat falls to the ground and dies, it remains only a single seed.
Back to top
View user's profile Send private message
bitwh0re
Apprentice
Apprentice


Joined: 29 Apr 2004
Posts: 214

PostPosted: Wed Nov 24, 2004 5:24 pm    Post subject: Reply with quote

-Tom- wrote:

One more question: How do I stop OX outputting to the screen if I've started the processes manually?

Thanks!


I think the standard
Code:

command > /dev/null 2 > &1


should work. There is a fix for having to manually start the processes. Edit each individual file (sessiond, groupware, webmail) in etc/init.d. In there search for 'su', comment out the line that starts with su and uncomment the line with sudo in it. That should let you just run the master etc/init.d/openexchange script. This fix will be in the next HOWTO.
Back to top
View user's profile Send private message
bitwh0re
Apprentice
Apprentice


Joined: 29 Apr 2004
Posts: 214

PostPosted: Wed Nov 24, 2004 5:25 pm    Post subject: Reply with quote

sardiskan wrote:
What is the login information for Tomcat anyway?


Do you mean for http://host:8080/manager?
Back to top
View user's profile Send private message
bitwh0re
Apprentice
Apprentice


Joined: 29 Apr 2004
Posts: 214

PostPosted: Wed Nov 24, 2004 7:28 pm    Post subject: Reply with quote

I'm just gonna keep posting interesting URLs here so I don't have to find them again:

Add Cyrus user when adduser_ox:

http://www.open-xchange.org/cgi-bin/simpleforum.cgi?fid=01&topic_id=1097702474


Automatic logout:

http://www.open-xchange.org/cgi-bin/simpleforum.cgi?fid=03&topic_id=1101159936
Back to top
View user's profile Send private message
pneum0nia
n00b
n00b


Joined: 24 Sep 2004
Posts: 37

PostPosted: Wed Nov 24, 2004 11:00 pm    Post subject: Reply with quote

I emerge cyrus-sasl successfully, but don't have /usr/sbin/saslpasswd2 as mentioned in the pdf document. Am I missing something?
_________________
#define CLEVER_SIGNATURE 1
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks All times are GMT
Goto page Previous  1, 2, 3 ... 8, 9, 10 ... 37, 38, 39  Next
Page 9 of 39

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum