HTTP Status 404 - /sac error?

Discuss installation of Scalix software

Moderators: ScalixSupport, admin

hykinpower

HTTP Status 404 - /sac error?

Postby hykinpower » Mon Sep 18, 2006 5:06 am

hello everybody


i have installed scalix and finally when i am testing

http://your-domain-name:8080/sac
http://your-domain-name:8080/webmail

in my browser i am getting this error please give me the solution for this

HTTP Status 404 - /sac
thanx
prabhakar

jim mullady
Scalix
Scalix
Posts: 38
Joined: Mon Feb 28, 2005 5:50 pm

Postby jim mullady » Mon Sep 18, 2006 9:34 am

You use 8080 (if no mod_jk) or port 80 (with mod_jk). Did you install the mod_jk? If so try it without the 8080

hykinpower

n The requested resource (/webmail) is not available. error

Postby hykinpower » Fri Sep 22, 2006 4:09 am

hi,
i am getting this error while accessing from browser

HTTP Status 404 - /webmail

type Status report

message /webmail

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

-------------------------------------

when i searched the forums somebody reply to install mod_jk but when i locate mod_jk.so in my system it is showing in this location usr/local/scalix-core-intel-redhat-10.0.1/third_party/mod_jk/fc4/i386/mod_jk.so

how to load this module in http.conf i this right way are shall i install any dependencies to get access my scalix?

thanx

amir
Posts: 23
Joined: Mon Oct 02, 2006 1:05 pm

404 error at /sac?authid=sxadmin

Postby amir » Mon Oct 30, 2006 4:12 pm

Saclix 11 beta installed on FC5. According to the log it is installed successfully!
However, I get a 404 error from a page opened up at the end of the instalation:

http://mailhost.localdomain/sac?authid=sxadmin or

I also tried this : http://localhost/sac?authid=sxadmin and http://localhost:8080/sac?authid=sxadmin
which did not work.

I looked at /etc/httpd/conf/httpd.conf , there seems to be nothing about Scalix or /sac directory!!

web server is running all right at : http://localhost

Here is the apache error.log:

Code: Select all

[Mon Oct 30 23:02:46 2006] [error] [client 192.168.1.180] File does not exist: /var/www/html/sac


and access.log:

Code: Select all

192.168.1.180 - - [30/Oct/2006:23:02:46 -0500] "GET /sac?authid=sxadmin HTTP/1.1" 404 235 "-" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.1) Gecko/20060313 Fedora/1.5.0.1-9 Firefox/1.5.0.1 pango-text"


On port 8080 I dont get any connection ("Unable to connect, Firefox can't establish a connection to the server at localhost:8080").

HELP NEEDED!!!

amir
Posts: 23
Joined: Mon Oct 02, 2006 1:05 pm

Solved!

Postby amir » Tue Oct 31, 2006 9:02 pm

After being forced to learn about mod_proxy_ajp and following all the .conf files of Apache and spending 2 days! I solved the problem of getting 404 Not Found error on my Fedora Core 5 test server.

Anyway here is the solution, its very simple:

open /etc/httpd/conf.d/scalix-tomcat-connector.conf go to the end of the file and remove all the "/" after sac, webmail and others

it should look like this:

Code: Select all

<IfModule mod_proxy_ajp.c>
 ProxyPass /webmail ajp://localhost:8009/webmail
 ProxyPass /sac ajp://localhost:8009/sac
 ProxyPass /caa ajp://localhost:8009/caa
 ProxyPass /res ajp://localhost:8009/res
 ProxyPass /api ajp://localhost:8009/api
 ProxyPass /sis ajp://localhost:8009/sis
 ProxyPass /m ajp://localhost:8009/m
</IfModule>


It seems to me a bug in the Scalix 11 installer (but Im not sure).

florian
Scalix
Scalix
Posts: 3852
Joined: Fri Dec 24, 2004 8:16 am
Location: Frankfurt, Germany
Contact:

Postby florian » Wed Nov 01, 2006 3:43 am

This is a known issue. It was already covered for SLES10 and SuSE 10.1 in http://www.scalix.com/community/viewtopic.php?t=3372 - I've just updated the document to include FC5 as well.

Thanks,
Florian.
Florian von Kurnatowski, Die Harder!

indica3d

same problem

Postby indica3d » Tue Nov 07, 2006 7:14 pm

HI All

I jast installed v.11beta ..and i have the same problem
i did all you say here but same..404 for port 80 and Unable to connect on port 8009 and 8080 . (allso after reboot)
hope to get help with that. i am trying to move from Exchange .

Thanks
Asher

florian
Scalix
Scalix
Posts: 3852
Joined: Fri Dec 24, 2004 8:16 am
Location: Frankfurt, Germany
Contact:

Postby florian » Tue Nov 07, 2006 7:16 pm

what linux distribution are you using? are you sure you've followed all the steps in the mini-faq? only thing you'll need to try is port 80, port 8080 and 8009 are not relevant in this context.

Florian.
Florian von Kurnatowski, Die Harder!

indica3d

that was fast :)

Postby indica3d » Tue Nov 07, 2006 7:30 pm

Thanks for the replay ..

I use FC5 and i did all that say in the installtion guide.
*disable firewall
*no SElinux
*DNS work fine

and i see that my box listen to prots 80,8009,8005 but not to port 8080

Thanks
Asher

florian
Scalix
Scalix
Posts: 3852
Joined: Fri Dec 24, 2004 8:16 am
Location: Frankfurt, Germany
Contact:

Postby florian » Tue Nov 07, 2006 7:31 pm

It shouldn't listen to port 8080. is you tomcat java process running? is your httpd process up and running? please really verify that you have updated the scalix-tomcat-connector config file as described in the MiniFAQ.

cheers,
Florian.
Florian von Kurnatowski, Die Harder!

indica3d

Postby indica3d » Tue Nov 07, 2006 7:39 pm

Hi Florian

yes my httpd service runing and i delete all the / from -scalix-tomcat-connector.conf like you you say

there is a log that i can look for?

florian
Scalix
Scalix
Posts: 3852
Joined: Fri Dec 24, 2004 8:16 am
Location: Frankfurt, Germany
Contact:

Postby florian » Tue Nov 07, 2006 7:41 pm

did you restart your httpd after changing the file? can you post the final file? please also look in the apache error log...

- florian.
Florian von Kurnatowski, Die Harder!

indica3d

Postby indica3d » Tue Nov 07, 2006 7:49 pm

that my file

# ---------------------------------------------------------------------------
# Load deflate and proxy_ajp modules used by Scalix:
# ---------------------------------------------------------------------------

<IfModule !mod_deflate.c>
LoadModule deflate_module modules/mod_deflate.so
</IfModule>

<IfModule !mod_proxy_ajp.c>
LoadModule proxy_ajp_module modules/mod_proxy_ajp.so
</IfModule>

# ---------------------------------------------------------------------------
# Configure on-the-fly deflate compression of the pages:
# ---------------------------------------------------------------------------

<Location />
AddOutputFilterByType DEFLATE text/xml text/html text/css
AddOutputFilterByType DEFLATE application/x-javascript
</Location>

# ---------------------------------------------------------------------------
# mod_proxy_ajp connector configuration
# ---------------------------------------------------------------------------

<IfModule mod_proxy_ajp.c>

ProxyPass /webmail/ ajp://localhost:8009/webmail
ProxyPass /sac/ ajp://localhost:8009/sac
ProxyPass /caa/ ajp://localhost:8009/caa
ProxyPass /res/ ajp://localhost:8009/res
ProxyPass /api/ ajp://localhost:8009/api
ProxyPass /sis/ ajp://localhost:8009/sis
ProxyPass /m/ ajp://localhost:8009/m

</IfModule>

error log :
[Tue Nov 07 23:57:12 2006] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Tue Nov 07 23:57:13 2006] [notice] Digest: generating secret for digest authentication ...
[Tue Nov 07 23:57:13 2006] [notice] Digest: done
[Tue Nov 07 23:57:14 2006] [notice] mod_python: Creating 4 session mutexes based on 256 max processes and 0 max threads.
[Tue Nov 07 23:57:16 2006] [notice] Apache/2.2.0 (Fedora) configured -- resuming normal operations
[Wed Nov 08 00:03:41 2006] [notice] caught SIGTERM, shutting down
[Wed Nov 08 00:03:44 2006] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Wed Nov 08 00:03:45 2006] [notice] Digest: generating secret for digest authentication ...
[Wed Nov 08 00:03:45 2006] [notice] Digest: done
[Wed Nov 08 00:03:45 2006] [notice] mod_python: Creating 4 session mutexes based on 256 max processes and 0 max threads.
[Wed Nov 08 00:03:46 2006] [notice] Apache/2.2.0 (Fedora) configured -- resuming normal operations
[Wed Nov 08 00:04:24 2006] [error] [client 192.168.0.214] File does not exist: /var/www/html/sac
[Wed Nov 08 00:04:28 2006] [error] [client 192.168.0.214] File does not exist: /var/www/html/favicon.ico
[Wed Nov 08 00:04:55 2006] [error] [client 127.0.0.1] File does not exist: /var/www/html/sac
[Wed Nov 08 00:04:57 2006] [error] [client 127.0.0.1] File does not exist: /var/www/html/favicon.ico
[Wed Nov 08 00:06:15 2006] [error] [client 127.0.0.1] Directory index forbidden by Options directive: /var/www/html/
[Wed Nov 08 00:07:59 2006] [notice] caught SIGTERM, shutting down
[Wed Nov 08 00:14:17 2006] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Wed Nov 08 00:14:19 2006] [notice] Digest: generating secret for digest authentication ...
[Wed Nov 08 00:14:19 2006] [notice] Digest: done
[Wed Nov 08 00:14:20 2006] [notice] mod_python: Creating 4 session mutexes based on 256 max processes and 0 max threads.
[Wed Nov 08 00:14:21 2006] [notice] Apache/2.2.0 (Fedora) configured -- resuming normal operations
[Wed Nov 08 00:16:27 2006] [error] [client 192.168.0.10] File does not exist: /var/www/html/webmail
[Wed Nov 08 00:16:28 2006] [error] [client 192.168.0.10] File does not exist: /var/www/html/favicon.ico
[Wed Nov 08 00:16:28 2006] [error] [client 192.168.0.10] File does not exist: /var/www/html/favicon.ico
[Wed Nov 08 00:21:18 2006] [error] [client 192.168.0.10] File does not exist: /var/www/html/webmail
[Wed Nov 08 00:21:19 2006] [error] [client 192.168.0.10] File does not exist: /var/www/html/webmail
[Wed Nov 08 00:21:20 2006] [error] [client 192.168.0.10] File does not exist: /var/www/html/webmail
[Wed Nov 08 00:21:21 2006] [error] [client 192.168.0.10] File does not exist: /var/www/html/webmail
[Wed Nov 08 00:26:56 2006] [error] [client 192.168.0.10] File does not exist: /var/www/html/sac
[Wed Nov 08 00:27:19 2006] [error] [client 192.168.0.10] Directory index forbidden by Options directive: /var/www/html/
[Wed Nov 08 00:38:28 2006] [error] [client 192.168.0.10] File does not exist: /var/www/html/webmail
[Wed Nov 08 00:47:45 2006] [error] [client 192.168.0.10] File does not exist: /var/www/html/webmail
[Wed Nov 08 00:48:44 2006] [warn] child process 2260 still did not exit, sending a SIGTERM
[Wed Nov 08 00:48:44 2006] [warn] child process 2261 still did not exit, sending a SIGTERM
[Wed Nov 08 00:48:44 2006] [warn] child process 2262 still did not exit, sending a SIGTERM
[Wed Nov 08 00:48:44 2006] [warn] child process 2263 still did not exit, sending a SIGTERM
[Wed Nov 08 00:48:44 2006] [warn] child process 2264 still did not exit, sending a SIGTERM
[Wed Nov 08 00:48:44 2006] [warn] child process 2265 still did not exit, sending a SIGTERM
[Wed Nov 08 00:48:44 2006] [warn] child process 2266 still did not exit, sending a SIGTERM
[Wed Nov 08 00:48:44 2006] [warn] child process 2267 still did not exit, sending a SIGTERM
[Wed Nov 08 00:52:22 2006] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Wed Nov 08 00:52:23 2006] [notice] Digest: generating secret for digest authentication ...
[Wed Nov 08 00:52:23 2006] [notice] Digest: done
[Wed Nov 08 00:52:25 2006] [notice] mod_python: Creating 4 session mutexes based on 256 max processes and 0 max threads.
[Wed Nov 08 00:52:27 2006] [notice] Apache/2.2.0 (Fedora) configured -- resuming normal operations
[Wed Nov 08 00:53:05 2006] [error] [client 192.168.0.10] File does not exist: /var/www/html/webmail
[Wed Nov 08 01:05:25 2006] [error] [client 192.168.0.10] File does not exist: /var/www/html/webmail
[Wed Nov 08 01:07:26 2006] [warn] child process 1967 still did not exit, sending a SIGTERM
[Wed Nov 08 01:07:26 2006] [warn] child process 1968 still did not exit, sending a SIGTERM
[Wed Nov 08 01:07:26 2006] [warn] child process 1969 still did not exit, sending a SIGTERM
[Wed Nov 08 01:07:26 2006] [warn] child process 1970 still did not exit, sending a SIGTERM
[Wed Nov 08 01:07:26 2006] [warn] child process 1971 still did not exit, sending a SIGTERM
[Wed Nov 08 01:07:26 2006] [warn] child process 1972 still did not exit, sending a SIGTERM
[Wed Nov 08 01:07:26 2006] [warn] child process 1973 still did not exit, sending a SIGTERM
[Wed Nov 08 01:07:26 2006] [warn] child process 1975 still did not exit, sending a SIGTERM
[Wed Nov 08 01:07:27 2006] [notice] caught SIGTERM, shutting down
[Wed Nov 08 01:07:29 2006] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Wed Nov 08 01:07:31 2006] [notice] Digest: generating secret for digest authentication ...
[Wed Nov 08 01:07:31 2006] [notice] Digest: done
[Wed Nov 08 01:07:31 2006] [notice] mod_python: Creating 4 session mutexes based on 256 max processes and 0 max threads.
[Wed Nov 08 01:07:32 2006] [notice] Apache/2.2.0 (Fedora) configured -- resuming normal operations
[Wed Nov 08 01:34:05 2006] [error] [client 192.168.0.10] File does not exist: /var/www/html/webmail

I see that it not looking in the right folder . how can i change that?

florian
Scalix
Scalix
Posts: 3852
Joined: Fri Dec 24, 2004 8:16 am
Location: Frankfurt, Germany
Contact:

Postby florian » Tue Nov 07, 2006 7:53 pm

Please compare your config file with what is compared in the MiniFAQ. You removed the "/" characters at the end of the line, however, you left the ones at the end of the first word (/sac/) there.

They also need to be removed.

Please read such instructions carefully.

Cheers,
Florian.
Florian von Kurnatowski, Die Harder!

indica3d

Postby indica3d » Tue Nov 07, 2006 8:01 pm

florian thanks for the help
...and i am sorry i didnt see the extra / ...maybe glasses will help next time ;)

Thanks a lot
Asher


Return to “Installation”



Who is online

Users browsing this forum: No registered users and 5 guests

cron