NEWBIE needs help after rebooting server

Discuss installation of Scalix software

Moderators: ScalixSupport, admin

rnelson
Posts: 13
Joined: Mon Feb 13, 2006 2:19 pm

NEWBIE needs help after rebooting server

Postby rnelson » Mon Feb 13, 2006 2:23 pm

Installed Scalix Community Edition with no problems. Was able to login to admin console and create accounts, was able to login to webmail. This morning I rebooted the server and now when I go to

http://myservername:8080/sac

or

http://myservername:8080/webmail

I get a box telling me the connection was refused when trying to contact the servername:8080.

if I just go to http://myservername I get the apache web page

At the server i do a

ps -ef | grep tomcat

and get the response

root 21787 5977 0 14:50 pts/0 00:00 grep tomcat

Can anyone help?

Thanks

ScalixSupport
Scalix
Scalix
Posts: 5503
Joined: Thu Mar 25, 2004 8:15 pm

Postby ScalixSupport » Mon Feb 13, 2006 7:41 pm

Your ps output clearly shows that tomcat isn't running, so the first thing you need to do is start it. Go to your tomcat home/bin subdirectory and while logged on as root (make sure you su - root, not just su root) type:

Code: Select all

./startup.sh


If you want tomcat to start automatically whenever you restart your computer, go into the admin_resource_kit subdirectory, copy the file called tomcat to /etc/init.d, edit the file so it has your correct tomcat home, then chmod the file to 755.

Thanks,
Rachel

ScalixSupport
Scalix
Scalix
Posts: 5503
Joined: Thu Mar 25, 2004 8:15 pm

Postby ScalixSupport » Mon Feb 13, 2006 8:06 pm

...ummm, about that suggestion of being a "newbie"...well, yea - but don't worry we were all there once (except Dave, he learned Linux while in the womb).

That output from your "ps" would explain it. Tomcat isn't running - and it needs to be for SWA and SAC to work. You haven't set Tomcat to start automatically upon reboot. In the Admin Resource Kit (it's a subdirectory of the Scalix software, created when it was untarred), there is a file called Tomcat. Open it and read it, follow the instructions, it will explain how you can make Tomcat start automatically.

In the interim, you can go to the directory where tomcat was installed (typically this is something like /var/opt/jakarta-tomcat-5.0.28). Go the the /bin directory under the jakarta-tomcat-5.x.x directory and execute...

./startup.sh

That will get Tomcat running for this session. If you then do your "ps -ef | grep tomcat" you should see output like...

Code: Select all

[root@mail /]# ps -ef | grep tomcat
root      2607     1  0 Feb07 ?        00:00:19 /usr/java/j2sdk1.4.2_08/bin/java
 -Djava.endorsed.dirs=/var/opt/jakarta-tomcat-5.0.28/common/endorsed -classpath
/usr/java/j2sdk1.4.2_08/lib/tools.jar:/var/opt/jakarta-tomcat-5.0.28/bin/bootstr
ap.jar:/var/opt/jakarta-tomcat-5.0.28/bin/commons-logging-api.jar -Dcatalina.bas

root     13523 13478  1 15:44 pts/2    00:00:00 grep tomcat


Notice there's two processes, the Tomcat process, and then the second one, which is really the "ps -ef | grep tomcat" process itself.

Hope that helps, let us know if you need anything else...

Cheers

Karl

rnelson
Posts: 13
Joined: Mon Feb 13, 2006 2:19 pm

Postby rnelson » Tue Feb 14, 2006 11:18 pm

wow - you guys are good AND fast. Thanks for the assitance. My problem is fixed.

Mucho Gracious


Return to “Installation”



Who is online

Users browsing this forum: No registered users and 2 guests