Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
Go Back   Zimbra :: Forums > Zimbra Collaboration Suite > Installation

Welcome to the Zimbra :: Forums!
Welcome, if you would like to post a comment please register. We also encourage you to explore all things Zimbra with our team and members of the community.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 09-08-2005, 08:50 PM
Junior Member
 
Posts: 6
Default Cannot connect to Zimbra after installation

Cannot connect to 7071, cannot even see it in NETSTAT:
Code:
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address               Foreign Address             State       PID/Program name   
tcp        0      0 fugly.lawyer.local:7777     *:*                         LISTEN      22755/perl          
tcp        0      0 *:7075                      *:*                         LISTEN      6309/master         
tcp        0      0 fugly.lawyer.local:10025    *:*                         LISTEN      6309/master         
tcp        0      0 fugly.lawyer.local:mysql    *:*                         LISTEN      19861/mysqld        
tcp        0      0 192.168.100.1:domain        *:*                         LISTEN      2268/named          
tcp        0      0 *:ssh                       *:*                         LISTEN      2280/sshd           
tcp        0      0 192.168.100.1:squid         *:*                         LISTEN      2363/(squid)        
tcp        0      0 fugly.lawyer.local:rndc     *:*                         LISTEN      2268/named          
tcp        0      0 *:7389                      *:*                         LISTEN      2595/slapd          
tcp        0      0 ::1:rndc                    *:*                         LISTEN      2268/named          
udp        0      0 *:32768                     *:*                                     2268/named          
udp        0      0 *:32770                     *:*                                     2363/(squid)        
udp        0      0 192.168.100.1:domain        *:*                                     2268/named          
udp        0      0 *:bootps                    *:*                                     2302/dhcpd          
udp        0      0 *:bootpc                    *:*                                     2241/dhclient       
udp        0      0 *:bootpc                    *:*                                     1789/dhclient       
udp        0      0 *:32769                     *:*                                     2268/named
I have tried to connect to all the exposed ports with the browser, no love.

Any help is appreciated, I don't even know where to begin

Thanks,

Bob
Reply With Quote
  #2 (permalink)  
Old 09-08-2005, 09:03 PM
Junior Member
 
Posts: 6
Default

I suppose some more information might be in order...

Centos 4.1 (RHEL4)
set up as required, some additional software installed, no firewall in place (internal test system so this is OK for now)

No error messages in zimbra.log
No error messages in /var/log/messages

Bob
Reply With Quote
  #3 (permalink)  
Old 09-08-2005, 09:44 PM
Junior Member
 
Posts: 6
Default

More info, found what looks like the problem:

jakarta-tomcat-5.5.7/logs/catalina.out:MESSAGE: Access denied for user 'zimbra'@'fugly.lawyer.local' (using password: YES)
jakarta-tomcat-5.5.7/logs/catalina.out:java.sql.SQLException: Access denied for user 'zimbra'@'fugly.lawyer.local' (using password: YES)

Where can I change these settings?

Thanks,

Bob
Reply With Quote
  #4 (permalink)  
Old 09-08-2005, 09:47 PM
Zimbra Employee
 
Posts: 4,792
Default

Make sure your /etc/hosts file has an entry like:

127.0.0.1 localhost.localdomain localhost

We've seen this problem when you have your hostname listed first in the list.

-kevin
Reply With Quote
  #5 (permalink)  
Old 09-09-2005, 05:46 AM
Active Member
 
Posts: 42
Default

I have the same issue, my netstat shows:

Code:
[root@localhost etc]# netstat -anp
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address               Foreign Address             State       PID/Program name
tcp        0      0 127.0.0.1:7777              0.0.0.0:*                   LISTEN      2631/perl
tcp        0      0 0.0.0.0:32769               0.0.0.0:*                   LISTEN      1579/rpc.statd
tcp        0      0 0.0.0.0:111                 0.0.0.0:*                   LISTEN      1561/portmap
tcp        0      0 127.0.0.1:631               0.0.0.0:*                   LISTEN      1888/cupsd
tcp        0      0 127.0.0.1:5335              0.0.0.0:*                   LISTEN      1873/mDNSResponder
tcp        0      0 :::22                       :::*                        LISTEN      1936/sshd
tcp        0      0 ::1:45249                   ::1:32786                   TIME_WAIT   -
tcp        0      0 ::1:58737                   ::1:32788                   TIME_WAIT   -
tcp       52    148 ::ffff:192.168.8.235:22     ::ffff:192.168.8.244:3815   ESTABLISHED 3833/sshd: mark [pr
udp        0      0 0.0.0.0:32768               0.0.0.0:*                               1579/rpc.statd
udp      432      0 192.168.8.235:32769         192.168.8.51:53             ESTABLISHED 4127/java
udp        0      0 0.0.0.0:907                 0.0.0.0:*                               1579/rpc.statd
udp        0      0 0.0.0.0:68                  0.0.0.0:*                               1509/dhclient
udp        0      0 0.0.0.0:5353                0.0.0.0:*                               1873/mDNSResponder
udp        0      0 0.0.0.0:111                 0.0.0.0:*                               1561/portmap
udp        0      0 0.0.0.0:631                 0.0.0.0:*                               1888/cupsd
udp        0      0 192.168.8.235:123           0.0.0.0:*                               1949/ntpd
udp        0      0 127.0.0.1:123               0.0.0.0:*                               1949/ntpd
udp        0      0 0.0.0.0:123                 0.0.0.0:*                               1949/ntpd
udp        0      0 :::123                      :::*                                    1949/ntpd
This is on a fresh Fedora Core 4 installation. Nothing added, and sendmail off in the configs.

When I try to restart zimbra I get:
Code:
[root@localhost etc]# /etc/init.d/zimbra restart
Calling ShutDownRequest (gws.mine.nu)

Calling startup (gws.mine.nu)

[root@localhost etc]#
What can we do?

Thanks,
Mark
Reply With Quote
  #6 (permalink)  
Old 09-09-2005, 06:03 AM
Active Member
 
Posts: 42
Default

I just got a little more info when trying to restart zimbra from the commandline:

Code:
[root@localhost log]# /etc/init.d/zimbra restart
Calling ShutDownRequest (gws.mine.nu)

Calling startup (gws.mine.nu)

perl /opt/zimbra/zimbramon/zmmon &

RESPONSE: (Zimbra::Mon::serviceInfo)
        host
                ip                  217.149.34.117
                name                gws.mine.nu
[root@localhost log]# DBI connect('database=zimbra;mysql_read_default_file=/opt/zimbra/conf/my.cnf;mysql_socket=/opt/zimbra/db/mysql.sock','zimbra',...) failed: Can't connect to local MySQL server through socket '/opt/zimbra/db/mysql.sock' (2) at /opt/zimbra/zimbramon/lib/Zimbra/Mon/StatusMon.pm line 152
Does that help?
Reply With Quote
  #7 (permalink)  
Old 09-09-2005, 08:33 AM
Active Member
 
Posts: 42
Default MySQL does not start

I installed ZCS on a new FC4. Only the stuff listening on port 7777 runs. MySQL and other ZCS does not:

Code:
[root@zimbra etc]# netstat -l -n --programs
Aktive Internetverbindungen (Nur Server)
Proto Recv-Q Send-Q Local Address               Foreign Address             State       PID/Program name   
tcp        0      0 127.0.0.1:7777              0.0.0.0:*                   LISTEN      3480/perl           
tcp        0      0 0.0.0.0:32769               0.0.0.0:*                   LISTEN      1616/rpc.statd      
tcp        0      0 0.0.0.0:111                 0.0.0.0:*                   LISTEN      1597/portmap        
tcp        0      0 127.0.0.1:631               0.0.0.0:*                   LISTEN      1986/cupsd          
tcp        0      0 127.0.0.1:5335              0.0.0.0:*                   LISTEN      1968/mDNSResponder  
tcp        0      0 :::22                       :::*                        LISTEN      2034/sshd           
udp        0      0 0.0.0.0:32768               0.0.0.0:*                               1616/rpc.statd      
udp        0      0 0.0.0.0:944                 0.0.0.0:*                               1616/rpc.statd      
udp        0      0 0.0.0.0:5353                0.0.0.0:*                               1968/mDNSResponder  
udp        0      0 0.0.0.0:111                 0.0.0.0:*                               1597/portmap        
udp        0      0 0.0.0.0:631                 0.0.0.0:*                               1986/cupsd          
udp        0      0 192.168.2.71:123            0.0.0.0:*                               2048/ntpd           
udp        0      0 127.0.0.1:123               0.0.0.0:*                               2048/ntpd           
udp        0      0 0.0.0.0:123                 0.0.0.0:*                               2048/ntpd           
udp        0      0 :::123                      :::*                                    2048/ntpd
/etc/init.d/zimbra restart takes an eternity to finish and yields

Code:
Calling ShutDownRequest (zimbra.gtds.lan)

Calling startup (zimbra.gtds.lan)

perl /opt/zimbra/zimbramon/zmmon &

RESPONSE: (Zimbra::Mon::serviceInfo)
        host
                ip                  192.168.2.71
                name                zimbra.gtds.lan
[root@zimbra ~]# DBI connect('database=zimbra;mysql_read_default_file=/opt/zimbra/conf/my.cnf;mysql_socket=/opt/zimbra/db/mysql.sock','zimbra',...) failed: Can't connect to local MySQL server through socket '/opt/zimbra/db/mysql.sock' (2) at /opt/zimbra/zimbramon/lib/Zimbra/Mon/StatusMon.pm line 152
with the DBI error mesaage repeating until I kill the process.

As far as I can tell MySQL never get started. There is nothing MySQL related inside /etc/init.d/. I remember thar MySQL was started by nstall.sh and under /opt/zimbra/db/data/ is a zimbra directory.

Can you help? TIA.

Regards,

Gert
Reply With Quote
  #8 (permalink)  
Old 09-09-2005, 08:44 AM
Zimbra Employee
 
Posts: 4,792
Default

Gert,

Can you check /etc/hosts and make sure the first line is:

Code:
127.0.0.1 localhost.localdomain localhost
By default Fedora wil put the name of your host in this line. If so just reorder the hostname to the end or add a new line.

-kevin
Reply With Quote
  #9 (permalink)  
Old 09-09-2005, 08:58 AM
Active Member
 
Posts: 42
Default

I've read post #4 and checked /etc/hosts before a posted my reply.

My /etc/hosts:

Code:
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1               localhost.localdomain localhost
192.168.2.71            zimbra.gtds.lan zimbra
- Gert
Reply With Quote
  #10 (permalink)  
Old 09-09-2005, 09:25 AM
Junior Member
 
Posts: 6
Default

Re-sorting my /etc/hosts file worked flawlessly.

Thanks!

Bob
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads

Why Join?

Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.

blog.zimbra.com




 

SEO by vBSEO ©2011, Crawlability, Inc.