Koozali.org formerly Contribs.org

Urgent: server-manager 404 Not Found

Offline 7eis

Urgent: server-manager 404 Not Found
« on: March 05, 2008, 03:32:53 PM »
I recently installed roundcube using the rpm found in the contrib repo.

I did the following
Code: [Select]
config setprop roundcube URL mail
expand-template /etc/httpd/conf/httpd.conf
sv h /service/httpd-e-smith
This results in the 403 Forbidden error, so I set up mail.mydomain.com instead.

First time I try to access the server-manager I get a 404 error. PAGE NOT FOUND :shock: This is both when using the ip and the server name.

When I try to access the server-manager by using my.domain.com/server-manager I get 403 - access forbidden.
horde/webmail only works from the outside too. Same 404 error from lan.

Any ideas what could have caused this, and how to fix it? Also, can/should I reverse the 'URL mail'?

update: I get a very strange error when I restart the httpd
Quote
[Wed Mar 05 15:46:16 2008] [warn] The Alias directive in /etc/httpd/conf/httpd.conf at line 1956 will probably never match because it overlaps an earlier Alias.
(98)Address already in use: make_sock: could not bind to address 0.0.0.0:443
no listening sockets available, shutting down
Unable to open logs
[FAILED]
« Last Edit: March 05, 2008, 04:10:23 PM by 7eis »

Offline cactus

  • *
  • 4,880
    • http://www.snetram.nl
Re: Urgent: server-manager 404 Not Found
« Reply #1 on: March 05, 2008, 04:12:45 PM »
I recently installed roundcube using the rpm found in the contrib repo.

I did the following
Code: [Select]
config setprop roundcube URL mail
expand-template /etc/httpd/conf/httpd.conf
sv h /service/httpd-e-smith
This results in the 403 Forbidden error, so I set up mail.mydomain.com instead.

First time I try to access the server-manager I get a 404 error. PAGE NOT FOUND :shock: This is both when using the ip and the server name.

When I try to access the server-manager by using my.domain.com/server-manager I get 403 - access forbidden.

Any ideas what could have caused this, and how to fix it? Also, can/should I reverse the 'URL mail'?

update: I get a very strange error when I restart the httpd
I guess the error is in the roundcube db property. I am not sure if 'mail' is a valid URL setting. AFAIK the mail hostname is reserved for your server by default (have a look in the hostname panel of the server-manager to check which names are used already), perhaps choose another one.

The best way to get everything up and running is to remove the roundcube RPM and it's database entry followed by
Code: [Select]
signal-event post-upgrade; signal-event reboot
If you want us to help you fix the error we need more information probably from the /var/log/messages, var/log/httpd/error_log and the /var/log/httpd/admin_error_log files at the time you were trying to restart your webserver.

« Last Edit: March 05, 2008, 04:15:13 PM by cactus »
Be careful whose advice you buy, but be patient with those who supply it. Advice is a form of nostalgia, dispensing it is a way of fishing the past from the disposal, wiping it off, painting over the ugly parts and recycling it for more than its worth ~ Baz Luhrmann - Everybody's Free (To Wear Sunscreen)

Offline 7eis

Re: Urgent: server-manager 404 Not Found
« Reply #2 on: March 05, 2008, 05:21:18 PM »
Oops.. :lol:

The 'URL mail' totally took my mind off simply removing the Roundcube rpm. :-?

I will do a manual install instead.

Thanks for helping out!

Offline byte

  • *
  • 2,183
Re: Urgent: server-manager 404 Not Found
« Reply #3 on: March 05, 2008, 07:09:54 PM »
Moving this topic to the SME 7.x contribs forum, it is more appropriate there. Thanks!
--[byte]--

Have you filled in a Bug Report over @ http://bugs.contribs.org ? Please don't wait to be told this way you help us to help you/others - Thanks!