Evaluation period has ended - 11.0.2 GA/postgres Problems

Discuss installation of Scalix software

Moderators: ScalixSupport, admin

kanderson

Postby kanderson » Thu Mar 01, 2007 12:32 pm

What does tail -n 25 /var/opt/scalix/??/postgres/pgstartup.log say?

Also, what IP address is listed in /var/opt/scalix/??/postgres/data/pg_hba on a line that looks like:

host scalix scalix 10.10.10.10/32 md5

Is that IP the correct one for your machine? Correct meaning NOT 127.0.0.1

Kev.

l8er
Posts: 60
Joined: Tue Mar 21, 2006 9:24 pm

Postby l8er » Thu Mar 01, 2007 1:03 pm

Code: Select all

[root@mymailserver ~]# tail -n 25 var/opt/scalix/qr/postgres/pgstartup.log
LOG:  logger shutting down
LOG:  logger shutting down
LOG:  logger shutting down
LOG:  logger shutting down
LOG:  logger shutting down
LOG:  logger shutting down
LOG:  logger shutting down
LOG:  logger shutting down
LOG:  logger shutting down
LOG:  logger shutting down
LOG:  logger shutting down
LOG:  logger shutting down
LOG:  logger shutting down
LOG:  logger shutting down
LOG:  logger shutting down
LOG:  logger shutting down
LOG:  logger shutting down
LOG:  logger shutting down
LOG:  logger shutting down
LOG:  logger shutting down
LOG:  logger shutting down
LOG:  logger shutting down
LOG:  logger shutting down
LOG:  logger shutting down
LOG:  logger shutting down
[root@mymailserver ~]#


And the "host scalix scalix" line in pg_hba was set to 127.0.0.1. I just now changed it to 192.168.100.254 and restarted the Scalix services.
-Gary

dougp23
Posts: 229
Joined: Thu Feb 15, 2007 2:42 pm

Postby dougp23 » Thu Mar 01, 2007 8:45 pm

l8er wrote:OK, this is strange.

If I have the following in my hosts file and reboot the Scalix box everything works execpt sending email from SWA:
127.0.0.1 localhost.localdomain localhost
127.0.0.1 mymailserver.com mymailserver

If I change the second line to:
192.168.100.254 mymailserver.com mymailserver

Then everything works including sending email from SWA.



Your /etc/hosts file is wrong.
Your 192 address should be a FQDN. mymailserver.com is a Domain Name, not a host name. Not knowing your real server names, I assume your mailserver is called mymailserver and your company is mycompany.com
Your 192 line should then be
192.168.100.254 mymailserver.mycompany.com mymailserver

l8er
Posts: 60
Joined: Tue Mar 21, 2006 9:24 pm

Postby l8er » Fri Mar 09, 2007 8:14 am

dougp23 wrote:Your 192 address should be a FQDN. mymailserver.com is a Domain Name, not a host name.

mymailserver.com is the domain for my mail server. I don't understand your example with mycompany in the mix.
-Gary

l8er
Posts: 60
Joined: Tue Mar 21, 2006 9:24 pm

Postby l8er » Fri Mar 09, 2007 8:18 am

l8er wrote:While rebooting with mymailserver.com set to 127.0.0.1 in hosts and then changing it to 192.168.100.254 and restarting the Scalix services after the box has booted does work - after some period of time Scalix quits communicating with postgres. (SWA becomes very slow and SWA mobile /m won't work). At that point, if I restart all three scalix services (scalix, scalix-postgres and scalix-tomcat) all is well for a while again.


Under 11.0.2, I must change the hosts file to 192.168.100.254 for mymailserver.com after the box boots and everything works, but if I now restart any of the 3 scalix services after doing that, SWA stops working. To get it working again I must change the hosts file back to 127.0.0.1 for mymailserver.com and restart the scalix services, but then sending outbound email stops working from SWA until I change hosts to 192.168.100.254 for mymailserver.com.
-Gary

l8er
Posts: 60
Joined: Tue Mar 21, 2006 9:24 pm

Postby l8er » Tue Mar 27, 2007 1:39 pm

Well 11.0.2 is limping along here and I would love to get the issues resolved and get it running properly.

The problems and convoluted ways around them are outlined in this thread, but if anyone needs more info, I'll try.

I'm relatively sure it has something to do with the change in Scalix between 11 beta and 11 GA release where localhost was acceptable earlier but not in current versions. I just can't figure out what to change to get it all running correctly.

Thanks in advance for any help.
-Gary

dougp23
Posts: 229
Joined: Thu Feb 15, 2007 2:42 pm

Postby dougp23 » Sun Apr 01, 2007 2:04 pm

l8er wrote:
dougp23 wrote:Your 192 address should be a FQDN. mymailserver.com is a Domain Name, not a host name.

mymailserver.com is the domain for my mail server. I don't understand your example with mycompany in the mix.


Correct. mymailserver.com is the DOMAIN for your mail server. Just like yahoo.com is the domain for Yahoo's mail server.

Now, go to http://dnsreport.com and on the right, type in yahoo.com. See what gets returned? Things like a.mx.mail.yahoo.com, and b.mx.mail.yahoo.com. THOSE NAMES, are FQDNs. Yahoo.com is a DOMAIN name, not a FQDN. (This is really not a great example, since these are probably just servers with MX records, but you sort of get the point: Yahoo's FQDN for a mail server is probably MAIL.YAHOO.COM).

So my example was, my company uses the DOMAIN mycompany.com, but my mailserver is named dylan, so my FQDN in my /etc/hosts should read
192.168.1.254 dylan.mycompany.com dylan
127.0.0.1 localhost

Try that. see if it helps.

l8er
Posts: 60
Joined: Tue Mar 21, 2006 9:24 pm

Postby l8er » Sun Apr 01, 2007 2:27 pm

I see what you're saying for yahoo.com. But if I type in mymailserver.com, the only response returned by dnsreport.com is mymailserver.com. Does the mail server domain need to be different from the main domain?, something like: mail.mymailserver.com so that hosts would contain:

192.168.100.254 mail.mymailserver.com mail
-Gary

dougp23
Posts: 229
Joined: Thu Feb 15, 2007 2:42 pm

Postby dougp23 » Sun Apr 01, 2007 5:01 pm

Again, a DOMAIN and a FQDN are 2 diff things.

Go back to dnsreport.com
Type in (in the mail box on the right) microsoft.com
See the results? maila.microsoft.com, mailb.microsoft.com, mailc.microsoft.com. Obviously, there are a pretty large company, so anyone trying to email the DOMAIN microsoft.com, is going to be directed to one of the FQDNs that I just listed (maila, mailb, mailc)
Since Msoft owns the domain microsoft.com, they can have ANYTHING they want in front of that.

So Msoft's /etc/hosts might look like this:
127.0.0.1 localhost
192.168.1.2 maila.microsoft.com maila
192.168.1.3 mailb.microsoft.com mailb
192.168.1.4 mailc.microsoft.com mailc

So if you have an entry that says
192.168.1.1 mymailserver.com mymailserver

I can see why your box is totally confused. You have defined ZERO hosts in the domain mymailserver.com. Name your box, then add it (let's name it mail). Now you have an entry like this

192.168.1.1 mail.mymailserver.com mail

Here is a link from O'Reilly, go to the bottom of the page where they really talk about a proper /etc/hosts

http://www.oreilly.com/catalog/debian/c ... 10_02.html

Good luck

l8er
Posts: 60
Joined: Tue Mar 21, 2006 9:24 pm

Postby l8er » Sun Apr 01, 2007 11:09 pm

OK. That gives me a thing or two to try in the morning. I understand now.

What I don't understand is how my setup worked up until the 11 GA release version (it worked under version 10 and version 11 early betas).

Thanks for the help.
-Gary

l8er
Posts: 60
Joined: Tue Mar 21, 2006 9:24 pm

Postby l8er » Mon Apr 02, 2007 5:01 pm

I've tried a few things, but still can't access SWA or SAC.

I have changed the server name to stargate, so the Scalix FQDN is now:

stargate.mymailserver.com

I changed the MX record, so that dnsport.com now shows the mail record as:
stargate.mymailserver.com.

/etc/hosts has:
127.0.0.1 locahost.localdomain localhost
192.168.100.254 stargate.mymailserver.com stargate

I went back to the version 11 beta from 9/30/06 and it installed using localhost for the database host and all worked fine except webmail is useless because of a time for this version expired warning. SAC works fine though.

Then I tried 11 GA release 11.0.2 and it installed using stargate.mymailserver.com for the database host. Everything
looked to install correctly, but I could not access SWA or SAC.

I then looked at /var/opt/scalix/qr/webmail/swa.properties and it still had:
swa.platform.url=http://localhost/api

I changed that to http://stargate.mymailserver.com/api and restarted everything but still couldn't access SWA or SAC.

I then checked /var/opt/scalix/qr/postgres/data/pg_hba and it had:

# List of Scalix Platform hosts begins here
host scalix scalix 127.0.0.1/32 md5
# List of Scalix Platform hosts ends here

So I changed that to:

# List of Scalix Platform hosts begins here
host scalix scalix 192.168.100.254/24 md5
# List of Scalix Platform hosts ends here

And restarted all scalix services and still couldn't access SWA or SAC.

So that's where it's at currently. Any help would be appreciated.
-Gary

l8er
Posts: 60
Joined: Tue Mar 21, 2006 9:24 pm

Postby l8er » Mon Apr 02, 2007 5:06 pm

From the 11 GA 11.0.2. installation:

Management Services -
default mail domain: mymailserver.com
server hostname: stargate.mymailserver.com

Management Agent -
hostname: stargate.mymailserver.com

Web Access Server -
default mail domain: mymailserver.com
scalix server hostname (IMAP): stargate.mymailserver.com
SMTP server name: stargate.mymailserver.com

Messaging Services -
Scalix server hostname (IMAP): stargate.mymailserver.com
SMPT server hostname: stargate.mymailserver.com

All the above came up the names I accepted. The one below came up as localhost, and I changed it since localhost was not valid.

Messaging Services (Database) -
server: localhost

changed to:
server: stargate.mymailserver.com
-Gary

l8er
Posts: 60
Joined: Tue Mar 21, 2006 9:24 pm

Postby l8er » Mon Apr 02, 2007 9:25 pm

I just spent the last several hours with a clean install of Fedora Core 5 on a test PC followed by a clean install of Scalix 11.0.2 GA. After completing the installation, and carefully checking and double checking all settings, SWA and SAC are unavailable.

Sorry, but I believe there's something broken in the installation program with regard to FC5, and unfortunately no one here has offered any real solutions.

After spending the last 3 months trying to get version 11 GA to run on FC5, I'm done investing any more time in Scalix.

I wish I could say it's been fun, but it hasn't been the least bit fun, only extremely aggravating. Good luck, folks. If you're running FC5 and attempting to install Scalix 11, you need it.
-Gary

dougp23
Posts: 229
Joined: Thu Feb 15, 2007 2:42 pm

Postby dougp23 » Tue Apr 03, 2007 11:07 am

Hey l8er,

Sorry I dropped off for a bit here, fires to put out, you know how that goes!

I would offer you this link:

http://swifttide.com/scalix/Scalix_Setup.html

It's my "can't miss Setup of Scalix on a CentOS4 box" which would almost totally apply to you (just forget editing /etc/redhat-release).

Try the install on FC4. There is really nothing wonderous I see in FC5. If you choose to live on the cutting edge, you will eventually get cut... :-) (Heck look at the amount of people who run qmail, which hasn't been updated in 7 years!!!! Stability can be boring, but very attractive)

Good luck whichever way you go.


Return to “Installation”



Who is online

Users browsing this forum: No registered users and 4 guests

cron