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 ... 24, 25, 26 ... 37, 38, 39  Next  
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks
View previous topic :: View next topic  
Author Message
KirinSan
n00b
n00b


Joined: 06 Aug 2003
Posts: 22
Location: NRW

PostPosted: Fri Apr 15, 2005 8:07 pm    Post subject: Reply with quote

Hello again,

thanx for your advices, but after hours of emerging, compiling and configuring I'm giving up.

I check all the conf files, but I did everything according to the documentation. Even postgres was configured correctly.

The errors ocurred while starting slapd.

Code:
slapd[1828]: daemon: socket() failed errno=97 (Address family not supported by protocol)
[1828]: sql_select option missing
[1828]: auxpropfunc error no mechanism available
[1828]: _sasl_plugin_load failed on sasl_auxprop_plug_init for plugin: sql
[1828]: bdb_initialize: Sleepycat Software: Berkeley DB 4.1.25: (December 19, 2002)
[1828]: bdb_db_init: Initializing BDB database
[1835]: slapd starting


According to other postings the "sql_select option missing" statement comes from mysql database.
Could it be a problem to use mysql and postgres on one host?

Quote:
If this error is indeed being thrown by OpenLDAP and not Postgres then make sure that you have 'allow bind_v2' in your slapd.conf file. It's order of placement matters, but slapd will tell you where to put it when you restart it.


I tested several placements, can you give me a better hint, where to put allow_bind_v2? At the moment it is configured like this:
Code:
allow bind_v2
backend         bdb
database        bdb


Greetz

KirinSan
_________________
"Ihr kriegt mich niemals! Niemand kriegt Homer Simpson ... ähh ...
ich meine, den Kuchenmann! Ich bin nämlich nicht Homer Simpson,
sondern der Kuchenmann, Homer Simpson ist garnicht hier! HAHAHA!"
Back to top
View user's profile Send private message
Hibbelharry
Tux's lil' helper
Tux's lil' helper


Joined: 27 May 2003
Posts: 88
Location: Bremen, Northern Germany

PostPosted: Sat Apr 16, 2005 11:12 pm    Post subject: Reply with quote

seems like you should maybe check the following things:

Code:
slapd[1828]: daemon: socket() failed errno=97 (Address family not supported by protocol)


this message informs you that not all address familys/protocols compiled into the openldap binaries can be used. normally this means you've compiled the binaries with support for the new and still in most places not usable IPv6 Protocol and/or if its usable at your site not enabled the sytem to use it. You can control the enabled protocols on your machine in /etc/rc.conf. Although this is not fatal you should ask yourself whether this support is needed. current internet only relys on IPv4. check your useflags and recompile openldap.

Code:

[1828]: sql_select option missing
[1828]: auxpropfunc error no mechanism available
[1828]: _sasl_plugin_load failed on sasl_auxprop_plug_init for plugin: sql


this message informs you that you've compiled cyrus-sasl with either support for mysql/postgresql but not yet configured the binding correctly. since normal (howto-based) open-xchange setups don't rely on using sql to authenticate users in favour of openldap, this is normally unneeded. if you've not got a special setup simply recompile cyrus-sasl without any sql use flag or use the quick and dirty way: just delete every file with sql in its name from /usr/lib/sasl2 and restart saslauthd.

hope this gives you a clue what to do next.

Greetz
Hibbelharry
Back to top
View user's profile Send private message
Hibbelharry
Tux's lil' helper
Tux's lil' helper


Joined: 27 May 2003
Posts: 88
Location: Bremen, Northern Germany

PostPosted: Sat Apr 16, 2005 11:35 pm    Post subject: Reply with quote

just noticed some of you are struggling around with pgsql 8.0.x...
i'm currently running pgsql 8.0.1 with connector 7.4.5. every newer connector i tried so far gave me more or less amounts of sql errors. will stay with this combination for a while. using the old connector doesn't seem to be a problem.

Greetz again
Hibbelharry
Back to top
View user's profile Send private message
les.piggot
n00b
n00b


Joined: 15 Oct 2003
Posts: 15

PostPosted: Mon Apr 18, 2005 12:36 pm    Post subject: Reply with quote

hi guys,

OK, I'm baffled by this one at the moment, but its a mod_jk2 configuration error, but I just can't find the bugger, what makes it worse is its probabily staring me in the face! :(

Scenario:

Login to open-xchange, via the login page http://mydomain.com/cgi-bin/login.pl and then get an Interal Server Error

In the apache error log, I see

[Mon Apr 18 12:28:32 2005] [error] [client 172.16.2.3] -1<-, referer: http:/mydomain.com/cgi-bin/login.pl
[Mon Apr 18 12:28:32 2005] [error] channelApr.open() attempt to connect to 172.16.2.111:8009 (mydomain.com) failed 111
[Mon Apr 18 12:28:32 2005] [error] ajp13.connect() failed ajp13:mydomain.com:8009
[Mon Apr 18 12:28:32 2005] [error] ajp13.service() failed to connect endpoint errno=9 Bad file descriptor
[Mon Apr 18 12:28:32 2005] [error] ajp13.service() Error forwarding ajp13:mydomain.com:8009 1 1
[Mon Apr 18 12:28:32 2005] [error] mod_jk2.handler() Error connecting to tomcat 120000, status 0


Software Versions as as Per Mike's Howto with the exception that its Gentoo 2005.0

Any ideas?

Cheers

Les

Config files:

Extract from /etc/conf.d/apache2:

#APACHE2_OPTS="-D SSL"
APACHE2_OPTS="-D JK2"

/etc/apache2/conf/modules.d/89_mod_jk2.conf
apollo conf # more /etc/apache2/conf/modules.d/89_mod_jk2.conf
<IfDefine JK2>
<IfModule !mod_jk2.c>
LoadModule jk2_module extramodules/mod_jk2.so
JkSet config.file /etc/apache2/conf/workers2.properties
# for extra piece of mind we can project the WEB-INF directory
<Location "/jsp-examples/WEB-INF/">
AllowOverride None
deny from all
</Location>

# This is provided as an example of how to
# map a webapp from tomcat to a path in
# Apache.
<Location "/jsp-examples/*">
JkUriSet worker ajp13:localhost:8009
</Location>
</IfModule>

/etc/apache2/con/workers2.properties:
[logger]
info=Native Logger
level=ERROR

[shm]
info=Scoreboard. Requried for reconfiguration and status with multiprocess servers.
file=anon

# Defines a load balancer named lb. Use even if you only have one machine.
[lb:lb]

# Example socket channel, override port and host.
[channel.socket:localhost:8009]
port=8009
host=localhost

[ajp13:localhost:8009]
channel=channel.socket:localhost:8009[ajp13:localhost:8009]
channel=channel.socket:localhost:8009

[uri:/jsp-examples/*]
worker=ajp13:localhost:8009

[channel.socket:greavessports.com:8009]
port=8009
host=greavessports.com

# define the worker
[ajp13:greavessports.com:8009]
channel=channel.socket:greavessports.com:8009
group=lb

# Map the Tomcat examples webapp to the Web server uri space
[uri:/examples/*]
group=lb

[status:]
info=Status worker, displays runtime information
[uri:/jkstatus/*]
info=The Tomcat /jkstatus handler
group=status:

[uri:/servlet/*]
worker=ajp13:greavessports.com:8009

[uri:/umin/*]
worker=ajp13:greavessports.com:8009

[uri:/servlet/webdav.contacts/*]
worker=ajp13:greavessports.com:8009

[uri:/servlet/webdav.calendar/*]
worker=ajp13:greavessports.com:8009

[uri:/servlet/webdav.ical/*]
worker=ajp13:greavessports.com:8009

[uri:/servlet/webdav.documents/*]
worker=ajp13:greavessports.com:8009

[uri:/servlet/webdav.folders/*]
worker=ajp13:greavessports.com:8009

[uri:/servet/webdav.projects/*]
worker=ajp13:greavessports.com:8009

[uri:/servlet/webdav.groupuser/*]
worker=ajp13:greavessports.com:8009

[uri:/servlet/webdav.attachments/*]
worker=ajp13:greavessports.com:8009

[uri:/servlet/webdav.freebusy/*]
worker=ajp13:greavessports.com:8009

[uri:/servlet/webdav.freebusy/*]
worker=ajp13:greavessports.com:8009


/opt/tomcat5/webapps/servlet/WEB-INF/web.xml
<?xml version="1.0" encoding="UTF-8"?>

<!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd">

<web-app>
<display-name>
Open-Xchange Servlets and WebDAV
</display-name>
<description>
Open-Xchange 0.8.0
</description>

<servlet>
<servlet-name>intranet</servlet-name>
<servlet-class>intranet</servlet-class>
</servlet>

<servlet>
<servlet-name>webmail</servlet-name> <servlet>
<servlet-name>documents</servlet-name>
<servlet-class>
com.openexchange.webdav.documents
</servlet-class>
<init-param>
<param-name>openexchange.propfile</param-name>
<param-value>
/usr/local/open-xchange/etc/groupware/system.properties
</param-value>
</init-param>
</servlet>

<servlet>
<servlet-name>calendar</servlet-name>
<servlet-class>
com.openexchange.webdav.calendar
</servlet-class>
<init-param>
<param-name>openexchange.propfile</param-name>
<param-value>
/usr/local/open-xchange/etc/groupware/system.properties
</param-value>

<servlet-class>webmail</servlet-class>
</servlet>
Back to top
View user's profile Send private message
bitwh0re
Apprentice
Apprentice


Joined: 29 Apr 2004
Posts: 214

PostPosted: Mon Apr 18, 2005 4:16 pm    Post subject: Reply with quote

Try using localhost in place of mydomain.com and/or greavessports.com. I don't think either of those will be resolving to 172.16.2.111.
Back to top
View user's profile Send private message
les.piggot
n00b
n00b


Joined: 15 Oct 2003
Posts: 15

PostPosted: Mon Apr 18, 2005 9:42 pm    Post subject: Reply with quote

Already tried replacing with localhost, just as I was posting it :( greavessports.com is specified in the host files and on internal DNS for clients (yes I know its a very stupid name but it was late and I had too much caffine :roll: ) I'll re-emerge and see if that corrects the problem (you never know ;) )

Cheers

Les
Back to top
View user's profile Send private message
KirinSan
n00b
n00b


Joined: 06 Aug 2003
Posts: 22
Location: NRW

PostPosted: Tue Apr 19, 2005 9:35 am    Post subject: Reply with quote

Hey all,

finally open-xchange is working on my pc. Thank you all for your help.

It was not an error with ipv6, but with the postgresql:(

Now I can do groupware and such things, but one little error keeps to appear:

When I'm adding a user to ox and later to cyrus only one folder is created. Folders like 'INBOX.Trash' doesn't exists. How can I create them? :-)

Greetings

KirinSan
_________________
"Ihr kriegt mich niemals! Niemand kriegt Homer Simpson ... ähh ...
ich meine, den Kuchenmann! Ich bin nämlich nicht Homer Simpson,
sondern der Kuchenmann, Homer Simpson ist garnicht hier! HAHAHA!"
Back to top
View user's profile Send private message
les.piggot
n00b
n00b


Joined: 15 Oct 2003
Posts: 15

PostPosted: Tue Apr 19, 2005 11:01 am    Post subject: Reply with quote

Hi,

I've now got OX to startup and I can log in (reemerging tomcat and mod_jk2 appeared to clear down the tomcat errors) but if a user moves off the initial portal page, OX crashes.

Restarting, LDAP, apache, open-xchange and tomcat doesn't restart the server once the crash has occurred (a system reboot does however)

The apache error log file say (/var/log/apache2/error_log)


[Tue Apr 19 12:51:14 2005] [notice] Digest: generating secret for digest authentication ...
[Tue Apr 19 12:51:14 2005] [notice] Digest: done
[Tue Apr 19 12:51:15 2005] [notice] Apache/2.0.52 (Gentoo/Linux) mod_jk2/2.0.4 configured -- resuming normal operations
[Tue Apr 19 12:51:30 2005] [error] [client 172.16.2.145] -1<-, referer: http://172.16.2.111/cgi-bin/login.pl
[Tue Apr 19 12:51:30 2005] [error] channelApr.open() attempt to connect to 172.16.2.111:8009 (ox.greavessports.com) failed 111
[Tue Apr 19 12:51:30 2005] [error] ajp13.connect() failed ajp13:ox.greavessports.com:8009
[Tue Apr 19 12:51:30 2005] [error] ajp13.service() failed to connect endpoint errno=9 Bad file descriptor
[Tue Apr 19 12:51:30 2005] [error] ajp13.service() Error forwarding ajp13:ox.greavessports.com:8009 1 1
[Tue Apr 19 12:51:30 2005] [error] mod_jk2.handler() Error connecting to tomcat 120000, status 0


Any ideas on where to go from here?

Cheers

Les
Back to top
View user's profile Send private message
les.piggot
n00b
n00b


Joined: 15 Oct 2003
Posts: 15

PostPosted: Tue Apr 19, 2005 11:48 am    Post subject: Reply with quote

OK, looked through the catalina logs and found that I had a type and that the openexchange system.properties file wasn't being read, oops!

OK, so I can consistantly log in and get the portal, however I cannot go anything with my basic user, is that meant to happen?

when I click on setup for example I get:

Sorry,

Details: acess denied

Les
Back to top
View user's profile Send private message
dashnu
l33t
l33t


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

PostPosted: Tue Apr 19, 2005 2:49 pm    Post subject: Reply with quote

KirinSan wrote:
Hey all,

finally open-xchange is working on my pc. Thank you all for your help.

It was not an error with ipv6, but with the postgresql:(

Now I can do groupware and such things, but one little error keeps to appear:

When I'm adding a user to ox and later to cyrus only one folder is created. Folders like 'INBOX.Trash' doesn't exists. How can I create them? :-)

Greetings

KirinSan


err add the folders.. You can do it via a mail client or in the webmail part of the app.
_________________
write quit bang
Back to top
View user's profile Send private message
dashnu
l33t
l33t


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

PostPosted: Tue Apr 19, 2005 2:50 pm    Post subject: Reply with quote

les.piggot wrote:
OK, looked through the catalina logs and found that I had a type and that the openexchange system.properties file wasn't being read, oops!

OK, so I can consistantly log in and get the portal, however I cannot go anything with my basic user, is that meant to happen?

when I click on setup for example I get:

Sorry,

Details: acess denied

Les


AFIK the setup link is a differnt app you need to deploy ....bitwh0re ?

/me stuck with a production 7.5 server :(

have not tested 8 yet
_________________
write quit bang
Back to top
View user's profile Send private message
KirinSan
n00b
n00b


Joined: 06 Aug 2003
Posts: 22
Location: NRW

PostPosted: Wed Apr 20, 2005 6:48 am    Post subject: Reply with quote

Hey again,

well...i tried to add different folders..even with ox, but i can't.

When I create a user for cyrus with cm user.Test the only folder, which is created is the inbox.

Normally it should create folders like drafts, sent and so on, or?

Greetings

KirinSan
_________________
"Ihr kriegt mich niemals! Niemand kriegt Homer Simpson ... ähh ...
ich meine, den Kuchenmann! Ich bin nämlich nicht Homer Simpson,
sondern der Kuchenmann, Homer Simpson ist garnicht hier! HAHAHA!"
Back to top
View user's profile Send private message
Suicidal
l33t
l33t


Joined: 30 Jul 2003
Posts: 959
Location: /dev/null

PostPosted: Wed Apr 20, 2005 7:17 am    Post subject: Reply with quote

Gonna give it a try, if it works (reliably) im gonna Ebay my 600 Exchange licenses, and buy a new server :P
Back to top
View user's profile Send private message
dashnu
l33t
l33t


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

PostPosted: Wed Apr 20, 2005 12:49 pm    Post subject: Reply with quote

Suicidal wrote:
Gonna give it a try, if it works (reliably) im gonna Ebay my 600 Exchange licenses, and buy a new server :P


w00h00 That is what we like to hear!
_________________
write quit bang
Back to top
View user's profile Send private message
bitwh0re
Apprentice
Apprentice


Joined: 29 Apr 2004
Posts: 214

PostPosted: Wed Apr 20, 2005 1:00 pm    Post subject: Reply with quote

init-zero wrote:
les.piggot wrote:

when I click on setup for example I get:

Sorry,
Details: acess denied


AFIK the setup link is a differnt app you need to deploy ....bitwh0re ?


Yes, you have to deploy umin.jar which happens here:

http://www.mikefetherston.ca/OX/html/index-new.html#34 (very first line)

and then here:

http://www.mikefetherston.ca/OX/html/index-new.html#35 (workers2.properties)

Are you getting "Access Denied" errors elsewhere, or just in the Setup link?
Back to top
View user's profile Send private message
bitwh0re
Apprentice
Apprentice


Joined: 29 Apr 2004
Posts: 214

PostPosted: Wed Apr 20, 2005 1:21 pm    Post subject: Reply with quote

KirinSan wrote:
Hey again,

well...i tried to add different folders..even with ox, but i can't.

When I create a user for cyrus with cm user.Test the only folder, which is created is the inbox.

Normally it should create folders like drafts, sent and so on, or?


Yes, 0.7.5 *used* to do this upon first logon but it doesn't appear that OX 0.8 does. Here is a script you can use:

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

Mike
Back to top
View user's profile Send private message
bitwh0re
Apprentice
Apprentice


Joined: 29 Apr 2004
Posts: 214

PostPosted: Wed Apr 20, 2005 1:26 pm    Post subject: Reply with quote

ClarkConnect will be shipping an out-of-the-box OX server very soon:

http://www.clarkconnect.org/projects/groupware.php

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


Joined: 08 Apr 2005
Posts: 14

PostPosted: Wed Apr 20, 2005 2:38 pm    Post subject: Reply with quote

KirinSan wrote:
Hey all,

finally open-xchange is working on my pc. Thank you all for your help.

It was not an error with ipv6, but with the postgresql:(


Could you please tell us what you did to solve your problem? I'm stuck at the error you described in earlier posts.

TIA
Back to top
View user's profile Send private message
ferp2
Tux's lil' helper
Tux's lil' helper


Joined: 13 Aug 2002
Posts: 104

PostPosted: Wed Apr 20, 2005 3:37 pm    Post subject: Reply with quote

I just want to recommend the following to anyone who's planning on installing OX or is in the process of installing OX:

Don't use postgresql-8.0.1-r2 and/or jdbc3-postgresql-8.0_p311. They don't work and you will get an SQL ERROR when you try to add a user with OX. I downgraded both postgresql server and the jdbc3-postgresql driver and, lo and behold, I got the SQL SUCCESS message. Oh and another thing, you don't have to reinstall OX after changing the jdbc3 driver. It starts working right after you downgrade the jdbc3 driver.

If you're downgrading, just specify the version you want as follows:

emerge =postgresql-7.4.7-r1

Run the following to erase the data dir which you already set up with postgresql-8.0.1-r2:

rm -rf /var/lib/postgresql/data/*

Now you can run the postgresql ebuild config step.

Good luck.
Back to top
View user's profile Send private message
les.piggot
n00b
n00b


Joined: 15 Oct 2003
Posts: 15

PostPosted: Thu Apr 21, 2005 9:58 am    Post subject: Reply with quote

[quote]Are you getting "Access Denied" errors elsewhere, or just in the Setup link?[/quote]

There is something amiss with my installation I think. after logging into OX, all OX modules such as tasks, projects etc. are not present. Interestingly enough, only the "portal" button is shown in the top menu. Setup and Logout links are visable just under the menu. Its easier to show what I mean http://www.greavessports.com/openxchange.jpg demonstrates the problem.

So from this, I would assume that the webapps have not been deployed properly, although the files have been copied over and workers2.properties has been updated as per (i think??) the HOWTO


workers2.properties

[logger]
info=Native Logger
level=ERROR
[shm]
info=Scoreboard. Requried for reconfiguration and status with multiprocess servers.
file=anon
# Defines a load balancer named lb. Use even if you only have one machine.
[lb:lb]
[channel.socket:localhost:8009]
port=8009
host=127.0.0.1
[ajp13:localhost:8009]
channel=channel.socket:localhost:8009
[uri:/jsp-examples/*]
worker=ajp13:localhost:8009
# Example socket channel, override port and host.
[channel.socket:ox.greavessports.com:8009]
port=8009
host=ox.greavessports.com
# define the worker
[ajp13:ox.greavessports.com:8009]
channel=channel.socket:ox.greavessports.com:8009
group=lb
# Map the Tomcat examples webapp to the Web server uri space
[uri:/examples/*]
group=lb
[status:]
info=Status worker, displays runtime information
[uri:/jkstatus/*]
info=The Tomcat /jkstatus handler
group=status:
[uri:/servlet/*]
worker=ajp13:ox.greavessports.com:8009
[uri:/umin/*]
worker=ajp13:ox.greavessports.com:8009
[uri:/servlet/webdav.contacts/*]
worker=ajp13:ox.greavessports.com:8009
[uri:/servlet/webdav.calendar/*]
worker=ajp13:ox.greavessports.com:8009
[uri:/servlet/webdav.ical/*]
worker=ajp13:ox.greavessports.com:8009
[uri:/servlet/webdav.documents/*]
worker=ajp13:ox.greavessports.com:8009
[uri:/servlet/webdav.tasks/*]
worker=ajp13:ox.greavessports.com:8009
[uri:/servlet/webdav.folders/*]
worker=ajp13:ox.greavessports.com:8009
[uri:/servlet/webdav.projects/*]
worker=ajp13:ox.greavessports.com:8009
[uri:/servlet/webdav.groupuser/*]
worker=ajp13:ox.greavessports.com:8009
[uri:/servlet/webdav.attachments/*]
worker=ajp13:ox.greavessports.com:8009
[uri:/servlet/webdav.freebusy/*]
worker=ajp13:ox.greavessports.com:8009
[uri:/servlet/webdav.freebusy/*]
worker=ajp13:ox.greavessports.com:8009

Directory listing of /opt/tomcat5/webapps

total 4115
drwxr-xr-x 7 tomcat tomcat 432 Apr 21 11:48 .
drwxr-x--- 9 tomcat tomcat 264 Apr 19 10:43 ..
drwxr-xr-x 3 tomcat tomcat 248 Apr 19 10:43 ROOT
drwxr-xr-x 4 tomcat tomcat 128 Apr 19 10:43 balancer
-rw-r--r-- 1 root root 352916 Apr 21 11:48 comfiretools.jar
-rw-r--r-- 1 root root 844807 Apr 21 11:48 intranet.jar
-rw-r--r-- 1 root root 52872 Apr 21 11:48 nas.jar
drwxr-xr-x 4 tomcat tomcat 96 Apr 21 11:48 servlet
-rw-r--r-- 1 root root 1962258 Apr 21 11:48 servlet.war
-rw-r--r-- 1 root root 10152 Apr 21 11:48 sessiond.jar
drwxr-xr-x 6 root root 144 Apr 21 11:48 umin
-rw-r--r-- 1 root root 27258 Apr 21 11:48 umin.jar
-rw-r--r-- 1 root root 664792 Apr 21 11:48 umin.war
drwxr-xr-x 3 tomcat tomcat 168 Apr 19 10:43 webdav
-rw-r--r-- 1 root root 51719 Apr 21 11:48 webdav.jar
-rw-r--r-- 1 root root 223801 Apr 21 11:48 webmail.jar

From netstat the JK2 workers are running on port 8009 as per the definition in the workers2.properties

Any ideas where my problem could be?

Cheers

Les
Back to top
View user's profile Send private message
bitwh0re
Apprentice
Apprentice


Joined: 29 Apr 2004
Posts: 214

PostPosted: Thu Apr 21, 2005 12:59 pm    Post subject: Reply with quote

les.piggot wrote:
There is something amiss with my installation I think. after logging into OX, all OX modules such as tasks, projects etc. are not present. Interestingly enough, only the "portal" button is shown in the top menu. Setup and Logout links are visable just under the menu. Its easier to show what I mean http://www.greavessports.com/openxchange.jpg demonstrates the problem.


I've seen this before with usernames with a capital in them.. try a user with all lower case letters.
Back to top
View user's profile Send private message
ulwur
n00b
n00b


Joined: 06 Mar 2005
Posts: 17

PostPosted: Thu Apr 21, 2005 9:20 pm    Post subject: Reply with quote

Quote:
Don't use postgresql-8.0.1-r2 and/or jdbc3-postgresql-8.0_p311. They don't work and you will get an SQL ERROR when you try to add a user with OX. I downgraded both postgresql server and the jdbc3-postgresql driver and, lo and behold, I got the SQL SUCCESS message. Oh and another thing, you don't have to reinstall OX after changing the jdbc3 driver. It starts working right after you downgrade the jdbc3 driver.

If you're downgrading, just specify the version you want as follows:

emerge =postgresql-7.4.7-r1


I had the same problem, with Postgresql 8 and jdbc-postgresql 8 installed but got around this problem by just downgrading jdbc3-postgresql to 7.4.5
First I added "dev-java/jdbc3-postgresql ~x86" to /etc/portage/package.keywords and then
emerge =jdbc3-postgresql-7.4.5

Then I could run the adduser_ox script just fine!!
Back to top
View user's profile Send private message
feliperal
Apprentice
Apprentice


Joined: 09 Mar 2003
Posts: 168

PostPosted: Fri Apr 22, 2005 1:45 am    Post subject: Reply with quote

As of this morning, the mod_j2k ebuild was removed from portage (www-apache). So, I tried to build the sucker out of source. I downloaded the most current version off of apache: jakarta-tomcat-connectors-jk2-2.0.4-src. Proceeded with configuring the source files:
Code:

$ mkdir /tmp/build/
$ cd /tmp/build && wget http://apache.mirrors.pair.com/jakarta/tomcat-connectors/jk2/jakarta-tomcat-connectors-jk2-src-current.tar.gz
$ tar -xvzf *.gz
$ cd /tmp/build/jakarta-tomcat-connectors-jk2-2.0.4-src/jk/native2
$ chmod 0777 build.sh
$ ./build.sh
# must do this or the configure script will bitch that the compiler used to compile apache2 is different than the one to be used for mod_jk2
$ CC=x86_64-pc-linux-gnu-gcc ./configure --with-apxs2=/usr/sbin/apxs2 --with-jni --with-pcre
# okay, let's try to give it a shot and build it
$ make clean build


I get this error when trying to compile it:
Code:

$ make clean build
list=' server/apache2'; \
for i in $list; do \
        echo "Making $target in $i"; \
        if test "$i" != "."; then \
        (cd $i && make clean) || exit 1; \
fi; \
done;
Making  in server/apache2
make[1]: Entering directory `/tmp/build/jakarta-tomcat-connectors-jk2-2.0.4-src/jk/native2/server/apache2'
rm -rf ../../../build/jk2/apache2/*.lo ../../../build/jk2/apache2/*.la ../../../build/jk2/apache2/*.o ../../../build/jk2/apache2/*.a \
        ../../../build/jk2/apache2/.libs ../../../build/jk2/apache2/*.so ../../../build/jk2/apache2/usr/lib/apache2/modules/*.so \
        ../../../build/jk2/apache2/usr/lib/apache2/modules/*.la
make[1]: Leaving directory `/tmp/build/jakarta-tomcat-connectors-jk2-2.0.4-src/jk/native2/server/apache2'
list=' server/apache2'; \
for i in $list; do \
        echo "Making $target in $i"; \
        if test "$i" != "."; then \
        (cd $i && make) || exit 1; \
fi; \
done;
Making  in server/apache2
make[1]: Entering directory `/tmp/build/jakarta-tomcat-connectors-jk2-2.0.4-src/jk/native2/server/apache2'
mkdir -p ../../../build/jk2/apache2/usr/lib/apache2/modules
/bin/sh /usr/lib/apache2/build/libtool --silent  --mode=compile x86_64-pc-linux-gnu-gcc  -O2 -march=nocona -mtune=nocona -pipe -pthread    -DLINUX=2 -D_REENTRANT -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE   -I../../include -I/usr/include/apache2 -I/usr/include/apr-0 -I/usr/include/apr-0 -I /opt/blackdown-jdk-1.4.2.01/include -I /opt/blackdown-jdk-1.4.2.01/include/linux  -DCHUNK_SIZE=4096 -DUSE_APACHE_MD5 -DHAVE_JNI -I/usr/local/include -DHAS_PCRE -c ../../common/jk_channel.c -o ../../../build/jk2/apache2/jk_channel.lo
/bin/sh: /usr/lib/apache2/build/libtool: No such file or directory
make[1]: *** [../../../build/jk2/apache2/jk_channel.lo] Error 127
make[1]: Leaving directory `/tmp/build/jakarta-tomcat-connectors-jk2-2.0.4-src/jk/native2/server/apache2'
make: *** [jk2-build] Error 1


I got the same error with the ebuild before it was removed from portage. Any help or suggestions would be appreciated.

Thanks,
Felipe[/code]
Back to top
View user's profile Send private message
bitwh0re
Apprentice
Apprentice


Joined: 29 Apr 2004
Posts: 214

PostPosted: Fri Apr 22, 2005 2:09 pm    Post subject: Reply with quote

KirinSan wrote:

Now I can do groupware and such things, but one little error keeps to appear:

When I'm adding a user to ox and later to cyrus only one folder is created. Folders like 'INBOX.Trash' doesn't exists. How can I create them? :-)


Suggested "fix" for that is here:

http://www.open-xchange.org/cgi-bin/simpleforum.cgi?fid=01&topic_id=1114003156
Back to top
View user's profile Send private message
bitwh0re
Apprentice
Apprentice


Joined: 29 Apr 2004
Posts: 214

PostPosted: Fri Apr 22, 2005 2:15 pm    Post subject: Reply with quote

Oh and by the way, Open-Xchange v0.8 final has been released today.
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 ... 24, 25, 26 ... 37, 38, 39  Next
Page 25 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