Can't login to sac or webmail...

Discuss installation of Scalix software

Moderators: ScalixSupport, admin

marato
Posts: 26
Joined: Fri Jun 08, 2007 2:43 pm

Can't login to sac or webmail...

Postby marato » Wed Jul 18, 2007 10:23 am

Hello all,

I configured scalix on a ubuntu 6.06 LAMP, according to the manual installation wiki.

Except from 1 error, everything went fine. The error during configuration was:

psql: could not connect to server: No such file or directory
Is the server running locally and accepting
connections on Unix domain socket "/var/opt/scalix/mr/postgres/data/.s.PGSQL.5733"?

This error appears when setting up Scalix-Postgres, when typing the password with code:

/opt/scalix-postgres/bin/sxpsql-setpwd mypassword

I haven't solved that problem because I don't know how. The Scalix-Postgres service does start, terminal returns an ok.


Now, when trying to login to sac or webmail, http://fqdn/sac; http://fqdn/webmail I get the following error:

HTTP/1.0 404 Not Found.

As a MTA I have postfix installed and working, but not yet integrated with Scalix.

Any suggestions on how to solve this one?

Thanks,

marato
Posts: 26
Joined: Fri Jun 08, 2007 2:43 pm

Postby marato » Fri Jul 20, 2007 9:09 am

Is there really no one who knows how to solve this? I've searched the forum for solutions, changed some lines in config files, but it still doesn't work.

Any help on this one would be great.

Thanks,

fb
Posts: 22
Joined: Sun Jul 01, 2007 10:45 am

Postby fb » Mon Jul 23, 2007 2:28 am

hi there,

please check some things first and post the results here.

What does the following requests bounce back to you:

Code: Select all

nmap localhost

Code: Select all

nmap fdqn

Code: Select all

omstat -a

Code: Select all

omstat -s


Second, as Tomcat is running on port 8080 by default, your browser request should look like this: http://fdqn:8080/sac /webmail, respectivly[/code]

marato
Posts: 26
Joined: Fri Jun 08, 2007 2:43 pm

Postby marato » Mon Jul 23, 2007 8:24 am

Hi,

nmap localhost returns:

bash: nmap: command not found
I've tried this one also in /opt/scalix/bin, same bash.

nmap fqdn returns:
bash: nmap: command not found

omstat -a returns:
/opt/scalix/bin# ./omstat -a
PC Monitor Started NON-STOP 0
Directory Relay Server Started 07.20.07
Notification Server Started 07.20.07 0
Shared memory daemon Started NON-STOP
Notification Monitor Started NON-STOP
Session Monitor Started NON-STOP
Indexer Started NON-STOP
Stats Daemon Started NON-STOP
Container Access Monitor Started NON-STOP
Item Structure Server Stopped
Database Monitor Started 07.20.07
Licence Monitor Daemon Started NON-STOP
LDAP Daemon Started 07.20.07
Queue Manager Started NON-STOP
Item Delete Daemon Started NON-STOP
IMAP Server Daemon Aborted 07.20.07
SMTP Relay Partially Abor 07.20.07
Mime Browser Controller Started 07.20.07
Event Server Started 07.20.07


omstat -s
returns:
./omstat -s
Service Router Started 07.20.07 0
Local Delivery Started 07.20.07 0
Internet Mail Gateway Started 07.20.07 0
Local Client Interface Enabled 07.20.07 0
Remote Client Interface Enabled 07.20.07 0
Test Server Started 07.20.07 0
Request Server Started 07.20.07 0
Print Server Started 07.20.07 0
Bulletin Board Server Started 07.20.07 0
Background Search Service Started 07.20.07 0
CDA Server Aborted 07.20.07 0
POP3 interface Aborted 07.20.07 0
Omscan Server Started 07.20.07 0
Archiver Started 07.20.07 0


When I type in a browser:
http://fqdn:8080/sac
I get a unable to connect error.

Hope you can help me further,

Thanks,

les
Scalix Star
Scalix Star
Posts: 819
Joined: Thu Feb 23, 2006 10:18 am
Location: Sydney, Australia

Postby les » Mon Jul 23, 2007 6:18 pm

marato wrote:Is there really no one who knows how to solve this? I've searched the forum for solutions, changed some lines in config files, but it still doesn't work.

Any help on this one would be great.

Thanks,


please post copies of your apache error log when you make the request. It should tell you why its failing.

Also...does it work locally from the box if you use 127.0.0.1???
Regards,

Les Stott

marato
Posts: 26
Joined: Fri Jun 08, 2007 2:43 pm

Postby marato » Tue Jul 24, 2007 8:35 am

Hi,

I tried http://127.0.0.1/sac; 8080:/sac; 8080:/webmail.
None of them did work, I get a 404 not found error.

It is perhaps because I had a problem with apache2 when I began installing. I insatlled and configured everything, and fixed apache2 afterwards, Still, the right documents have been created in apache2's conf.d by scalix.

Perhaps I must do the install again, now with apache2 running correctly, or is there some way I can make the two work together?

Anyway, here's the error log of apache when typing http://127.0.0.1/webmail etc.


[Tue Jul 24 07:35:07 2007] [notice] Apache/2.0.55 (Ubuntu) mod_jk/1.2.18 PHP/4.4.2-1build1 configured -- resuming normal operations
[Tue Jul 24 14:26:40 2007] [error] [client 127.0.0.1] File does not exist: /var/www/sac
[Tue Jul 24 14:26:41 2007] [error] [client 127.0.0.1] File does not exist: /var/www/favicon.ico
[Tue Jul 24 14:26:51 2007] [error] [client 127.0.0.1] File does not exist: /var/www/sac
[Tue Jul 24 14:26:51 2007] [error] [client 127.0.0.1] File does not exist: /var/www/favicon.ico
[Tue Jul 24 14:27:03 2007] [error] [client 127.0.0.1] File does not exist: /var/www/webmail

Thanks,

les
Scalix Star
Scalix Star
Posts: 819
Joined: Thu Feb 23, 2006 10:18 am
Location: Sydney, Australia

Postby les » Tue Jul 24, 2007 8:54 am

marato wrote:Hi,

I tried http://127.0.0.1/sac; 8080:/sac; 8080:/webmail.
None of them did work, I get a 404 not found error.

It is perhaps because I had a problem with apache2 when I began installing. I insatlled and configured everything, and fixed apache2 afterwards, Still, the right documents have been created in apache2's conf.d by scalix.

Perhaps I must do the install again, now with apache2 running correctly, or is there some way I can make the two work together?

Anyway, here's the error log of apache when typing http://127.0.0.1/webmail etc.


[Tue Jul 24 07:35:07 2007] [notice] Apache/2.0.55 (Ubuntu) mod_jk/1.2.18 PHP/4.4.2-1build1 configured -- resuming normal operations
[Tue Jul 24 14:26:40 2007] [error] [client 127.0.0.1] File does not exist: /var/www/sac
[Tue Jul 24 14:26:41 2007] [error] [client 127.0.0.1] File does not exist: /var/www/favicon.ico
[Tue Jul 24 14:26:51 2007] [error] [client 127.0.0.1] File does not exist: /var/www/sac
[Tue Jul 24 14:26:51 2007] [error] [client 127.0.0.1] File does not exist: /var/www/favicon.ico
[Tue Jul 24 14:27:03 2007] [error] [client 127.0.0.1] File does not exist: /var/www/webmail

Thanks,


those entries above are default and quite often seen. Which probably points to apache being ok.
Then your problem must be in tomcat.

what about the tomcat conf files?

normally in /etc/opt/scalix-tomcat/connector/ajp/instance-<hostname>.conf
and
/etc/opt/scalix-tomcat/connector/jk/instance-<hostname>.conf

what do they have?

p.s. pathing may be different on your install....
Regards,

Les Stott

marato
Posts: 26
Joined: Fri Jun 08, 2007 2:43 pm

Postby marato » Tue Jul 24, 2007 9:09 am

Hi,

Here are the tomcat conf files, I forgot about them:
From the folder ajp:

<VirtualHost mailserver:80>
Include /etc/opt/scalix-tomcat/connector/ajp/app-mailserver.*.conf
</VirtualHost>


From the folder jk:


<VirtualHost mailserver:80>
Include /etc/opt/scalix-tomcat/connector/jk/app-mailserver.*.conf
</VirtualHost>
JkWorkerProperty worker.mailserver.type=ajp13
JkWorkerProperty worker.mailserver.host=mailserver
JkWorkerProperty worker.mailserver.port=8009
JkWorkerProperty worker.mailserver.lbfactor=50
JkWorkerProperty worker.mailserver.cachesize=10
JkWorkerProperty worker.mailserver.cache_timeout=600
JkWorkerProperty worker.mailserver.socket_keepalive=1
JkWorkerProperty worker.mailserver.recycle_timeout=300

Thanks,

les
Scalix Star
Scalix Star
Posts: 819
Joined: Thu Feb 23, 2006 10:18 am
Location: Sydney, Australia

Postby les » Tue Jul 24, 2007 6:10 pm

marato wrote:Hi,

Here are the tomcat conf files, I forgot about them:
From the folder ajp:

<VirtualHost mailserver:80>
Include /etc/opt/scalix-tomcat/connector/ajp/app-mailserver.*.conf
</VirtualHost>


From the folder jk:


<VirtualHost mailserver:80>
Include /etc/opt/scalix-tomcat/connector/jk/app-mailserver.*.conf
</VirtualHost>
JkWorkerProperty worker.mailserver.type=ajp13
JkWorkerProperty worker.mailserver.host=mailserver
JkWorkerProperty worker.mailserver.port=8009
JkWorkerProperty worker.mailserver.lbfactor=50
JkWorkerProperty worker.mailserver.cachesize=10
JkWorkerProperty worker.mailserver.cache_timeout=600
JkWorkerProperty worker.mailserver.socket_keepalive=1
JkWorkerProperty worker.mailserver.recycle_timeout=300

Thanks,


if the hostname of your box is called "mailserver" then it will only accept requests to mailserver:80

If you want it to accept on all interfaces make them both

<VirtualHost *:80>

restart scalix-tomcat and httpd.
Regards,

Les Stott

McRelax

This is my problem!

Postby McRelax » Tue Jul 24, 2007 8:23 pm

I have exactly the same problem! I tried it on Ubuntu 7.04 and also on Fedora Core 5!

Is there really noone who can help us!?

I don't have to post any output or log; It's really the same problem!
I had no installation problems when installing apache/httpd;

Benjamin

McRelax

Postby McRelax » Tue Jul 24, 2007 8:47 pm

Hey the last tip by les was great, but not exactly the way to the solution!

In my case it was not the port, which was bad configured. It was the DNS-Name. I accessed my server from the internet, and so i used my.externalhomeip.net instead of my.internal.domain.

So i changed the

Code: Select all

<VirtualHost mailserver:80>

to

Code: Select all

<VirtualHost *:*>


Benjamin


Return to “Installation”



Who is online

Users browsing this forum: No registered users and 4 guests