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 ... 9, 10, 11 ... 37, 38, 39  Next  
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks
View previous topic :: View next topic  
Author Message
bitwh0re
Apprentice
Apprentice


Joined: 29 Apr 2004
Posts: 214

PostPosted: Thu Nov 25, 2004 12:05 pm    Post subject: Reply with quote

pneum0nia wrote:
I emerge cyrus-sasl successfully, but don't have /usr/sbin/saslpasswd2 as mentioned in the pdf document. Am I missing something?


Maybe it exists elsewhere? Try, as root, find / -name "saslpasswd2" -print and see if that locates it for you.
Back to top
View user's profile Send private message
pneum0nia
n00b
n00b


Joined: 24 Sep 2004
Posts: 37

PostPosted: Thu Nov 25, 2004 9:13 pm    Post subject: Reply with quote

Nope...
_________________
#define CLEVER_SIGNATURE 1
Back to top
View user's profile Send private message
pneum0nia
n00b
n00b


Joined: 24 Sep 2004
Posts: 37

PostPosted: Thu Nov 25, 2004 9:18 pm    Post subject: Reply with quote

I even tried remerging cyrus-sasl, but nowhere in the ebuild installation does it install saslpasswd2 anywhere. Very strange stuff.
_________________
#define CLEVER_SIGNATURE 1
Back to top
View user's profile Send private message
bitwh0re
Apprentice
Apprentice


Joined: 29 Apr 2004
Posts: 214

PostPosted: Thu Nov 25, 2004 10:43 pm    Post subject: Reply with quote

pneum0nia wrote:
I even tried remerging cyrus-sasl, but nowhere in the ebuild installation does it install saslpasswd2 anywhere. Very strange stuff.


And you've emerged, and possibly re-emerged, all the other software in order as well? Including cyrus-imapd, cyrus-imap-admin, and the necessary perl modules?

Can you post your USE flags?

Can you tell me if this is a fresh system or a currently working Gentoo install?
Back to top
View user's profile Send private message
pneum0nia
n00b
n00b


Joined: 24 Sep 2004
Posts: 37

PostPosted: Fri Nov 26, 2004 2:40 am    Post subject: Reply with quote

This is a currently working gentoo install. I have emerged all packages once in order as described in the pdf. The only package I had to re-emerge was cyrus-sasl, because it wasn't compiling in ldap support.

root@hyperbole Pan # cat /etc/make.conf
Code:

# These settings were set by the catalyst build script that automatically built this stage
# Please consult /etc/make.conf.example for a more detailed example
CFLAGS="-O3 -mcpu=athlon -march=athlon -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CXXFLAGS="${CFLAGS}"
GENTOO_MIRRORS="http://gentoo.ccccom.com"
MAKEOPTS="-j1"
#FEATURES="distcc"
PORTDIR_OVERLAY="/usr/local/portage"

USE="acpi apache1 imap tiff -oss -arts -avi -cups -encode -foomaticdb -gpm \
     -gtk -gtk2 -imlib -kde -gnome -libg++ -mad -mikmod -mpeg -oggvorbis \
     -opengl -qt -quicktime -X -xmms -xv -berkdb java javacomm javadoc \
     -pam javamail perl jikes -gdbm ldap sasl xerces xml xmlrpc postgres"

_________________
#define CLEVER_SIGNATURE 1
Back to top
View user's profile Send private message
bitwh0re
Apprentice
Apprentice


Joined: 29 Apr 2004
Posts: 214

PostPosted: Fri Nov 26, 2004 5:02 am    Post subject: Reply with quote

pneum0nia wrote:
This is a currently working gentoo install. I have emerged all packages once in order as described in the pdf. The only package I had to re-emerge was cyrus-sasl, because it wasn't compiling in ldap support.

root@hyperbole Pan # cat /etc/make.conf
Code:

# These settings were set by the catalyst build script that automatically built this stage
# Please consult /etc/make.conf.example for a more detailed example
CFLAGS="-O3 -mcpu=athlon -march=athlon -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CXXFLAGS="${CFLAGS}"
GENTOO_MIRRORS="http://gentoo.ccccom.com"
MAKEOPTS="-j1"
#FEATURES="distcc"
PORTDIR_OVERLAY="/usr/local/portage"

USE="acpi apache1 imap tiff -oss -arts -avi -cups -encode -foomaticdb -gpm \
     -gtk -gtk2 -imlib -kde -gnome -libg++ -mad -mikmod -mpeg -oggvorbis \
     -opengl -qt -quicktime -X -xmms -xv -berkdb java javacomm javadoc \
     -pam javamail perl jikes -gdbm ldap sasl xerces xml xmlrpc postgres"


you may want to change that '-berkdb' to 'berkdb' and start over....
Back to top
View user's profile Send private message
pneum0nia
n00b
n00b


Joined: 24 Sep 2004
Posts: 37

PostPosted: Fri Nov 26, 2004 5:08 am    Post subject: Reply with quote

Yeah, I was thinking the same thing. I will try that out and post my results.
_________________
#define CLEVER_SIGNATURE 1
Back to top
View user's profile Send private message
pneum0nia
n00b
n00b


Joined: 24 Sep 2004
Posts: 37

PostPosted: Fri Nov 26, 2004 8:58 am    Post subject: Reply with quote

Bitwh0re, after re-emerging the packages with that changed USE flag, I now have saslpasswd2 in /usr/sbin and all things are good. Thanks for your help.
_________________
#define CLEVER_SIGNATURE 1
Back to top
View user's profile Send private message
bitwh0re
Apprentice
Apprentice


Joined: 29 Apr 2004
Posts: 214

PostPosted: Fri Nov 26, 2004 3:43 pm    Post subject: Reply with quote

pneum0nia wrote:
Bitwh0re, after re-emerging the packages with that changed USE flag, I now have saslpasswd2 in /usr/sbin and all things are good. Thanks for your help.


Good to hear, maybe i'll add that USE flag to the HOWTO.
Back to top
View user's profile Send private message
pneum0nia
n00b
n00b


Joined: 24 Sep 2004
Posts: 37

PostPosted: Fri Nov 26, 2004 8:38 pm    Post subject: Reply with quote

I am now having problems configuring the open-exchange 0.7.5 source as described in the source. It is complaining that I don't have java installed, but I installed it via the binary (sun-jdk).

Code:
./configure --enable-webdav --with-mailjar=/usr/share/sun-jaf-bin/lib/activation.jar --with-activationjar=/usr/share/sun-jaf-bin/lib/activation.jar --with-jdomjar=/usr/share/jdom/lib/jdom.jar --with-xercesjar=/usr/share/xerces-2/lib/xercesImpl.jar --with-jsdkjar=/opt/tomcat5/common/lib/servlet-api.jar --with-jdbcjar=/usr/share/jdbc3-postgresql-1/lib/pg73jdbc3.jar --with-dbname=openexchange --with-dbuser=open-xchange --with-dbpass=oxen --with-runuid=apache --with-servletdir=/opt/tomcat5/webapps/servlet/ --with-htdocsdir=/var/www/localhost/htdocs/ --with-cgibindir=/var/www/localhost/cgi-bin/ --with-jni-dir=/opt/sun-jdk-1.4.2.06/include/ --with-openssl-dir=/usr/include/
checking for a BSD-compatible install... /bin/install -c
checking whether build environment is sane... yes
/home/pneumonia/temp/open-xchange.0.7.5/missing: Unknown `--run' option
Try `/home/pneumonia/temp/open-xchange.0.7.5/missing --help' for more information
configure: WARNING: `missing' script is too old or missing
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make sets $(MAKE)... (cached) yes
checking for a BSD-compatible install... /bin/install -c
checking for java... no
checking for jikes... /opt/sun-jdk-1.4.2.06/bin/javac
checking for jar... no
checking for ant... /usr/bin/ant
checking for javah... no
checking for sudo... /usr/bin/sudo
checking for gcc... gcc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for ld used by GCC... /usr/i686-pc-linux-gnu/bin/ld
checking if the linker (/usr/i686-pc-linux-gnu/bin/ld) is GNU ld... yes
checking for /usr/i686-pc-linux-gnu/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking for a sed that does not truncate output... /bin/sed
checking whether ln -s works... yes
checking how to recognise dependent libraries... pass_all
checking command to parse /usr/bin/nm -B output... ok
checking how to run the C preprocessor... gcc -E
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for ranlib... ranlib
checking for strip... strip
checking for objdir... .libs
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.lo... yes
checking if gcc supports -fno-rtti -fno-exceptions... yes
checking whether the linker (/usr/i686-pc-linux-gnu/bin/ld) supports shared libraries... yes
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking whether -lc should be explicitly linked in... no
creating libtool
checking for pthread_mutex_lock in -lpthread... yes
checking for pthread_mutex_lock in -lpthreads... no
checking for socket in -lsocket... no
checking for _xti_accept in -lnsl... no
checking for an ANSI C-conforming const... yes
configure: error: java is requiered - please install at least the Java(TM) 2 SDK.

_________________
#define CLEVER_SIGNATURE 1
Back to top
View user's profile Send private message
bitwh0re
Apprentice
Apprentice


Joined: 29 Apr 2004
Posts: 214

PostPosted: Sat Nov 27, 2004 12:47 am    Post subject: Reply with quote

pneum0nia wrote:
I am now having problems configuring the open-exchange 0.7.5 source as described in the source. It is complaining that I don't have java installed, but I installed it via the binary (sun-jdk).

Code:
./configure --enable-webdav
configure: error: java is requiered - please install at least the Java(TM) 2 SDK.


either do the config as a user or as root type 'env-update && source /etc/profile'
Back to top
View user's profile Send private message
pneum0nia
n00b
n00b


Joined: 24 Sep 2004
Posts: 37

PostPosted: Sat Nov 27, 2004 1:06 am    Post subject: Reply with quote

That was it. Thanx again. I think you should add that to the doc. I'm so used to compiling via Gentoo's ebuilds that I forgot about updating the environment.
_________________
#define CLEVER_SIGNATURE 1
Back to top
View user's profile Send private message
pneum0nia
n00b
n00b


Joined: 24 Sep 2004
Posts: 37

PostPosted: Sat Nov 27, 2004 1:41 am    Post subject: Reply with quote

I am now having trouble compiling open-exchange 0.7.5.
Code:

./configure --enable-webdav --with-mailjar=/usr/share/sun-jaf-bin/lib/activation.jar --with-activationjar=/usr/share/sun-jaf-bin/lib/activation.jar --with-jdomjar=/usr/share/jdom/lib/jdom.jar --with-xercesjar=/usr/share/xerces-2/lib/xercesImpl.jar --with-jsdkjar=/opt/tomcat5/common/lib/servlet-api.jar --with-jdbcjar=/usr/share/jdbc3-postgresql-1/lib/pg73jdbc3.jar --with-dbname=openexchange --with-dbuser=open-xchange --with-dbpass=oxen --with-runuid=apache --with-servletdir=/opt/tomcat5/webapps/servlet/ --with-htdocsdir=/var/www/localhost/htdocs/ --with-cgibindir=/var/www/localhost/cgi-bin/ --with-jni-dir=/opt/sun-jdk-1.4.2.06/include/ --with-openssl-dir=/usr/include/
checking for a BSD-compatible install... /bin/install -c
checking whether build environment is sane... yes
/home/pneumonia/temp/open-xchange.0.7.5/missing: Unknown `--run' option
Try `/home/pneumonia/temp/open-xchange.0.7.5/missing --help' for more information
configure: WARNING: `missing' script is too old or missing
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make sets $(MAKE)... (cached) yes
checking for a BSD-compatible install... /bin/install -c
checking for java... /opt/sun-jdk-1.4.2.06/bin/java
checking for jikes... /opt/sun-jdk-1.4.2.06/bin/javac
checking for jar... /opt/sun-jdk-1.4.2.06/bin/jar
checking for ant... /usr/bin/ant
checking for javah... /opt/sun-jdk-1.4.2.06/bin/javah
checking for sudo... /usr/bin/sudo
checking for gcc... gcc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for ld used by GCC... /usr/i686-pc-linux-gnu/bin/ld
checking if the linker (/usr/i686-pc-linux-gnu/bin/ld) is GNU ld... yes
checking for /usr/i686-pc-linux-gnu/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking for a sed that does not truncate output... /bin/sed
checking whether ln -s works... yes
checking how to recognise dependent libraries... pass_all
checking command to parse /usr/bin/nm -B output... ok
checking how to run the C preprocessor... gcc -E
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for ranlib... ranlib
checking for strip... strip
checking for objdir... .libs
checking for gcc option to produce PIC... -fPICchecking if gcc PIC flag -fPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.lo... yes
checking if gcc supports -fno-rtti -fno-exceptions... yes
checking whether the linker (/usr/i686-pc-linux-gnu/bin/ld) supports shared libraries... yes
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking whether -lc should be explicitly linked in... no
creating libtool
checking for pthread_mutex_lock in -lpthread... yes
checking for pthread_mutex_lock in -lpthreads... no
checking for socket in -lsocket... no
checking for _xti_accept in -lnsl... no
checking for an ANSI C-conforming const... yes
** WebDAV enabled per user request
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking for sys/types.h... (cached) yes
checking netinet/in.h usability... yes
checking netinet/in.h presence... yes
checking for netinet/in.h... yes
checking netinet/tcp.h usability... yes
checking netinet/tcp.h presence... yes
checking for netinet/tcp.h... yes
checking netdb.h usability... yes
checking netdb.h presence... yes
checking for netdb.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking signal.h usability... yes
checking signal.h presence... yes
checking for signal.h... yes
checking for unistd.h... (cached) yes
checking for string.h... (cached) yes
Buildfile: OX_COMPILE_CHECK.xml

compile:[javac] Compiling 1 source file

BUILD SUCCESSFUL
Total time: 6 seconds
configure: WARNING: it seems that the database can not be reached ... maybe the application will not work as expected
configure: creating ./config.status
config.status: creating build.xml
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating src/misc/Makefile
config.status: creating src/misc/login/login.pm
config.status: creating src/misc/ssl/Makefile
config.status: creating javabuild/Makefile
config.status: creating bin/groupware/openexchange-groupware
config.status: creating bin/webmail/openexchange-webmail
config.status: creating bin/groupware/openexchange-sessiond
config.status: creating sbin/addgroup_ox
config.status: creating sbin/addresource_ox
config.status: creating sbin/addresourcegroup_ox
config.status: creating sbin/addresourcetogroup_ox
config.status: creating sbin/adduser_ox
config.status: creating sbin/addusersql_ox
config.status: creating sbin/addusertogroup_ox
config.status: creating sbin/changeuserattr_ox
config.status: creating sbin/changecyruspass_ox
config.status: creating sbin/delgroup_ox
config.status: creating sbin/delresource_ox
config.status: creating sbin/delresourcefromgroup_ox
config.status: creating sbin/delresourcegroup_ox
config.status: creating sbin/deluser_ox
config.status: creating sbin/deluserfromgroup_ox
config.status: creating sbin/correctfilespool
config.status: creating system/etc/init.d/groupware
config.status: creating system/etc/init.d/webmail
config.status: creating system/etc/init.d/sessiond
config.status: creating system/etc/init.d/openexchange
config.status: creating system/servlet/web.xml
config.status: creating conf/groupware/system.properties
config.status: creating conf/groupware/server.conf
config.status: creating conf/webmail/server.conf
config.status: creating conf/webmail/system.properties
config.status: creating conf/admintools.conf
config.status: executing depfiles commands

Code:

[javac]     58.     public static boolean hasRight(Folder folder, Rights.Right right) {
    [javac]                                                                  ^---^
    [javac] *** Semantic Error: Type "Rights.Right" was not found.


    [javac]     59.         IMAPFolder fa = null;
    [javac]                 ^--------^
    [javac] *** Semantic Error: Type "com.openexchange.webmail.folder.IMAPFolder" was not found.


    [javac]     65.             fa = (IMAPFolder)folder;
    [javac]                           ^--------^
    [javac] *** Semantic Error: A candidate for type "IMAPFolder" was found, but it is invalid and needs to be fixed before this type will successfully compile.


    [javac]     66.             Rights rights = fa.myRights();
    [javac]                     ^----^
    [javac] *** Semantic Error: Type "com.openexchange.webmail.folder.Rights" was not found.


    [javac]     77.     public void getFolderList(List folderList, Folder fimap[]) throws Exception {
    [javac]                                                        ^----^
    [javac] *** Semantic Error: A candidate for type "Folder" was found, but it is invalid and needs to be fixed before this type will successfully compile.


    [javac]     83.             if (((Folder[])fimap[b].list()).length != 0) {
    [javac]                           ^----^
    [javac] *** Semantic Error: A candidate for type "Folder" was found, but it is invalid and needs to be fixed before this type will successfully compile.


    [javac]     84.                 getFolderList(folderList, (Folder[])fimap[b].list());
    [javac]                                                    ^----^
    [javac] *** Semantic Error: A candidate for type "Folder" was found, but it is invalid and needs to be fixed before this type will successfully compile.
make[1]: Leaving directory `/home/pneumonia/temp/open-xchange.0.7.5/javabuild'
BUILD FAILED /home/pneumonia/temp/open-xchange.0.7.5/build.xml:85: The following error occurred while executing this line: /home/pneumonia/temp/open-xchange.0.7.5/build.xml:104: Compile failed; see the compiler error output for details.  Total time: 18 seconds
make[1]: *** [java] Error 1
make: *** [all-recursive] Error 1

_________________
#define CLEVER_SIGNATURE 1
Back to top
View user's profile Send private message
bitwh0re
Apprentice
Apprentice


Joined: 29 Apr 2004
Posts: 214

PostPosted: Sat Nov 27, 2004 12:01 pm    Post subject: Reply with quote

pneum0nia wrote:
I am now having trouble compiling open-exchange 0.7.5.
Code:

./configure --enable-webdav --with-mailjar=/usr/share/sun-jaf-bin/lib/activation.jar

---8<---snip---8<---

`/home/pneumonia/temp/open-xchange.0.7.5/javabuild'
BUILD FAILED /home/pneumonia/temp/open-xchange.0.7.5/build.xml:85: The following error occurred while executing this line: /home/pneumonia/temp/open-xchange.0.7.5/build.xml:104: Compile failed; see the compiler error output for details.  Total time: 18 seconds
make[1]: *** [java] Error 1
make: *** [all-recursive] Error 1


double check your ./configure options.. your --with-mailjar should look like this:

Code:
--with-mailjar=/usr/share/sun-javamail-bin/lib/mail.jar
Back to top
View user's profile Send private message
Primera
n00b
n00b


Joined: 05 Nov 2003
Posts: 22
Location: New Orleans, LA

PostPosted: Sat Nov 27, 2004 6:42 pm    Post subject: cyradm -user cyrus domain.tld HANGS Reply with quote

I am currently on page 9 of the howto. I have reached the step
Code:
cyradm -user cyrus domain.tld
but this command just hangs and never allows me to continue with the following steps. I have insured that postfix user is part of the mail group. I have been unable to look at logs as I do not have /var/log/mail.log or /var/logmail.err. In the beginning of this thread it suggests to use the full server name in this command, but when I do
Code:
cyradm -user cyrus computer.domain.tld
it still hangs. Thanks for this howto, and thanks in advance for any assistance.

Update: I am able to do
Code:
cyradm -user cyrus
which gets me to
Code:
cyradm>
but when I attempt to do
Code:
cm user.foo
I get an error message stating "createmailbox: no connection to server". It would appear that I am having trouble connecting to the server when I use the full command.
_________________
All it takes for evil to triumph is for good men to do nothing.
Back to top
View user's profile Send private message
bitwh0re
Apprentice
Apprentice


Joined: 29 Apr 2004
Posts: 214

PostPosted: Sat Nov 27, 2004 7:29 pm    Post subject: Re: cyradm -user cyrus domain.tld HANGS Reply with quote

Primera wrote:
I am currently on page 9 of the howto. I have reached the step
Code:
cyradm -user cyrus domain.tld
but this command just hangs and never allows me to continue with the following steps. I have insured that postfix user is part of the mail group. I have been unable to look at logs as I do not have /var/log/mail.log or /var/logmail.err. In the beginning of this thread it suggests to use the full server name in this command, but when I do
Code:
cyradm -user cyrus computer.domain.tld
it still hangs. Thanks for this howto, and thanks in advance for any assistance.

Update: I am able to do
Code:
cyradm -user cyrus
which gets me to
Code:
cyradm>
but when I attempt to do
Code:
cm user.foo
I get an error message stating "createmailbox: no connection to server". It would appear that I am having trouble connecting to the server when I use the full command.


Ensure that your hostname is in your /etc/hosts file. You may be using a different system logger than what I've used (sysklogd) and that could explain why you don't see mail.log and/or mail.err
Back to top
View user's profile Send private message
Primera
n00b
n00b


Joined: 05 Nov 2003
Posts: 22
Location: New Orleans, LA

PostPosted: Sat Nov 27, 2004 7:46 pm    Post subject: Reply with quote

/etc/hosts contains my full hostname
Code:
computer.domain.tld
. This appears to be an authentication problem or connection to server problem. Could someone please post their imapd.conf from a working install?
_________________
All it takes for evil to triumph is for good men to do nothing.
Back to top
View user's profile Send private message
Primera
n00b
n00b


Joined: 05 Nov 2003
Posts: 22
Location: New Orleans, LA

PostPosted: Sat Nov 27, 2004 8:31 pm    Post subject: Re: cyradm -user cyrus domain.tld HANGS Reply with quote

Primera wrote:
I am currently on page 9 of the howto. I have reached the step
Code:
cyradm -user cyrus domain.tld
but this command just hangs and never allows me to continue with the following steps. I have insured that postfix user is part of the mail group. I have been unable to look at logs as I do not have /var/log/mail.log or /var/logmail.err. In the beginning of this thread it suggests to use the full server name in this command, but when I do
Code:
cyradm -user cyrus computer.domain.tld
it still hangs. Thanks for this howto, and thanks in advance for any assistance.


Update: I am able to do
Code:
cyradm -user cyrus
which gets me to
Code:
cyradm>
but when I attempt to do
Code:
cm user.foo
I get an error message stating "createmailbox: no connection to server". It would appear that I am having trouble connecting to the server when I use the full command.


I'm pretty sure my problem lies in /etc/cyrus.conf or /etc/imapd.conf. If anyone could post those files from a working server that would be great.
_________________
All it takes for evil to triumph is for good men to do nothing.
Back to top
View user's profile Send private message
pneum0nia
n00b
n00b


Joined: 24 Sep 2004
Posts: 37

PostPosted: Sat Nov 27, 2004 9:37 pm    Post subject: Reply with quote

Code:
cyradm -user cyrus domain.tld


Try cyradm -user cyrus localhost.
_________________
#define CLEVER_SIGNATURE 1
Back to top
View user's profile Send private message
pneum0nia
n00b
n00b


Joined: 24 Sep 2004
Posts: 37

PostPosted: Sat Nov 27, 2004 10:02 pm    Post subject: Reply with quote

I am getting the following apache error after I try and login:
Code:

Forbidden

You don't have permission to access /servlet/intranet on this server.

Additionally, a 403 Forbidden error was encountered while trying to use an ErrorDocument to handle the request.

Before this, I was getting that /servlet/intranet/ didn't exist, so I created it and created a symlink to the tomcat servlet dir. I never read about any of this in the doc.
_________________
#define CLEVER_SIGNATURE 1
Back to top
View user's profile Send private message
Primera
n00b
n00b


Joined: 05 Nov 2003
Posts: 22
Location: New Orleans, LA

PostPosted: Sat Nov 27, 2004 11:46 pm    Post subject: Reply with quote

Code:
cyradm -user cyrus localhost
also does not work.
_________________
All it takes for evil to triumph is for good men to do nothing.
Back to top
View user's profile Send private message
bitwh0re
Apprentice
Apprentice


Joined: 29 Apr 2004
Posts: 214

PostPosted: Sun Nov 28, 2004 12:47 am    Post subject: Reply with quote

pneum0nia wrote:
I am getting the following apache error after I try and login:
Code:

Forbidden

You don't have permission to access /servlet/intranet on this server.

Additionally, a 403 Forbidden error was encountered while trying to use an ErrorDocument to handle the request.

Before this, I was getting that /servlet/intranet/ didn't exist, so I created it and created a symlink to the tomcat servlet dir. I never read about any of this in the doc.


It's because you're not supposed to... the link is made through JK2 and workers2.properties.
Back to top
View user's profile Send private message
bitwh0re
Apprentice
Apprentice


Joined: 29 Apr 2004
Posts: 214

PostPosted: Sun Nov 28, 2004 12:48 am    Post subject: configs from a working server Reply with quote

configs from a working server can be found here:

http://www.mikefetherston.ca/OX/configs
Back to top
View user's profile Send private message
pneum0nia
n00b
n00b


Joined: 24 Sep 2004
Posts: 37

PostPosted: Sun Nov 28, 2004 1:54 am    Post subject: Reply with quote

I noticed in the doc that it instructs to create the directory 'cfintranet' and place the web files within it. Is there a config that specifies which directory to look for its webfiles?
_________________
#define CLEVER_SIGNATURE 1
Back to top
View user's profile Send private message
bitwh0re
Apprentice
Apprentice


Joined: 29 Apr 2004
Posts: 214

PostPosted: Sun Nov 28, 2004 2:35 am    Post subject: Reply with quote

pneum0nia wrote:
I noticed in the doc that it instructs to create the directory 'cfintranet' and place the web files within it. Is there a config that specifies which directory to look for its webfiles?


Do you mean where Apache should look for html files? Yes, it's the DocumentRoot parameter in apache2.conf.

If instead, you're referring to OX, it's the --with-htdocsdir configure parameter.

OX 0.7.5 now copies over the html files to cfintranet when you make install.
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 ... 9, 10, 11 ... 37, 38, 39  Next
Page 10 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