I can't log into the administration console after installing

Discuss installation of Scalix software

Moderators: ScalixSupport, admin

webacuity

I can't log into the administration console after installing

Postby webacuity » Wed Dec 28, 2005 5:05 pm

I can't log into the web interface from the adminitration console. I get an error " The adminitration server is not responding." I have install Scalix Enterprise Eval v 9.1.2.2

Additional symptoms include: in Daemon Services all are running except for the Item Structure Server. in the services are all are running except the Application Link Server.



Please Advise:

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

Postby ScalixSupport » Thu Dec 29, 2005 4:41 pm

Hi webacuity,

I'm wondering if tomcat is running. Please do

ps -aef |grep tomcat

This is quite an old version of Scalix. Where did you get it? The latest Enterprise eval version is 9.2.1. Is there some reason you don't want to use it?

What OS are you using? What version of the java SDK are you using? What version of tomcat are you using?

Thanks,
Don

webacuity

Reply to Login problem and what I'm running.

Postby webacuity » Thu Dec 29, 2005 8:06 pm

I am running Fedora Core 4 and j2 sdk 1.4.2_10 and TOMCAT 5.0.28 with Scalix v 9.2.2 in Eval mode

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

Postby ScalixSupport » Thu Dec 29, 2005 8:24 pm

OK, that all looks good. Is tomcat running?

Thanks,
Don

webacuity

Logon Failure

Postby webacuity » Tue Jan 03, 2006 2:06 pm

ScalixSupport wrote:OK, that all looks good. Is tomcat running?

Thanks,
Don


Both Tomcat and Java are running: The grep of Tomcat reveals startup on Boot along with Java j2sdk1.4.2_10. Do I need to install JSDK 1.5.0_06.



Eric

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

Postby ScalixSupport » Tue Jan 03, 2006 3:52 pm

Hi Eric,

No, 1.4.2 is the version of the Java sdk that you want. Could you type:

ps -aef|grep tomcat

on your server and post the output here?

Thanks,
Rachel

webacuity

Postby webacuity » Wed Jan 04, 2006 2:20 pm

ps -aef|grep tomcat
root 2276 1 0 2005 ? 00:05:40 /usr/java/j2sdk1.4.2_10/bin/java -server -Xms256m -Xmx256m -Djava.endorsed.dirs=/var/opt/jakarta-tomcat-5.0.28/c ommon/endorsed -classpath /usr/java/j2sdk1.4.2_10/lib/tools.jar:/var/opt/jakarta -tomcat-5.0.28/bin/bootstrap.jar:/var/opt/jakarta-tomcat-5.0.28/bin/commons-logg ing-api.jar -Dcatalina.base=/var/opt/jakarta-tomcat-5.0.28 -Dcatalina.home=/var/ opt/jakarta-tomcat-5.0.28 -Djava.io.tmpdir=/var/opt/jakarta-tomcat-5.0.28/temp o rg.apache.catalina.startup.Bootstrap start
root 4942 4922 0 13:11 pts/1 00:00:00 grep tomcat

Thanks,

Eric

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

Postby ScalixSupport » Wed Jan 04, 2006 3:11 pm

Hi Eric,

Please see the sticky note in this forum titled "Fedora Core 4 users: please read" which outlines a parameter you need to put into your tomcat setclasspath.sh file in order to resolve this.

Thanks,
Rachel

koxbox
Posts: 31
Joined: Sat Jan 07, 2006 11:52 pm

Postby koxbox » Sat Jan 07, 2006 11:59 pm

hello,

same problem here... "adminitration server is not responding"

i put that line "-Djava.net.preferIPv4Stack=true " exactly into the end of that file

$TOMCAT_HOME/bin/setclasspath.sh:

restartet fedora4 complete.. and startet tomcat .../bin/startup.sh

nothing hapend..

always the "adminitration server is not responding"

did i made some wrong ??

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

Postby ScalixSupport » Sun Jan 08, 2006 6:41 pm

Hi. Like the previous user, we need you to post the output from a:

pa -aef|grep tomcat

Thanks,
Rachel

koxbox
Posts: 31
Joined: Sat Jan 07, 2006 11:52 pm

Postby koxbox » Sun Jan 08, 2006 7:31 pm

ps -ef | grep tomcat
root 3050 1 24 00:30 pts/1 00:00:09 /usr/java/j2sdk1.4.2_10/bin/java -server -Xms256m -Xmx256m -Djava.endorsed.dirs=/root/jakarta-tomcat-5.0.28/common/endorsed -classpath /usr/java/j2sdk1.4.2_10/lib/tools.jar:/root/jakarta-tomcat-5.0.28/bin/bootstrap.jar:/root/jakarta-tomcat-5.0.28/bin/commons-logging-api.jar -Dcatalina.base=/root/jakarta-tomcat-5.0.28 -Dcatalina.home=/root/jakarta-tomcat-5.0.28 -Djava.io.tmpdir=/root/jakarta-tomcat-5.0.28/temp org.apache.catalina.startup.Bootstrap start
root 3110 3024 0 00:30 pts/1 00:00:00 grep tomcat

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

Postby ScalixSupport » Sun Jan 08, 2006 8:53 pm

Hi. It doesn't look like you modified the correct setclasspath.sh file as that output doesn't show the IPv4Stack parameter. Go into /root/jakarta-tomcat-5.0.28/bin and look at the setclasspath.sh file in the directory. After making the change, stop and restart tomcat by typing:

./shutdown.sh
./startup.sh

then type ps -aef|grep tomcat again. Where it says -Xms256m -Xmx256m... you should see the -Djava.net.preferIPv4Stack=true right after that.

You should also make sure the /etc/init.d/tomcat file points to the correct tomcat directory.

Thanks,
Rachel

koxbox
Posts: 31
Joined: Sat Jan 07, 2006 11:52 pm

Postby koxbox » Sun Jan 08, 2006 10:25 pm

nothing hapend... always same problem

[root@braindora bin]# /etc/init.d/tomcat restart
Stopping Tomcat service: Using CATALINA_BASE: /root/jakarta-tomcat-5.0.28
Using CATALINA_HOME: /root/jakarta-tomcat-5.0.28
Using CATALINA_TMPDIR: /root/jakarta-tomcat-5.0.28/temp
Using JAVA_HOME: /usr/java/j2sdk1.4.2_10
Catalina.stop: java.net.SocketException: Invalid argument or cannot assign requested address
java.net.SocketException: Invalid argument or cannot assign requested address
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:305)
at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:171)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:158)
at java.net.Socket.connect(Socket.java:452)
at java.net.Socket.connect(Socket.java:402)
at java.net.Socket.<init>(Socket.java:309)
at java.net.Socket.<init>(Socket.java:124)
at org.apache.catalina.startup.Catalina.stopServer(Catalina.java:410)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.apache.catalina.startup.Bootstrap.stopServer(Bootstrap.java:336)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:427)
[ OK ]
Starting Tomcat service: Using CATALINA_BASE: /root/jakarta-tomcat-5.0.28
Using CATALINA_HOME: /root/jakarta-tomcat-5.0.28
Using CATALINA_TMPDIR: /root/jakarta-tomcat-5.0.28/temp
Using JAVA_HOME: /usr/java/j2sdk1.4.2_10
[ OK ]
[root@braindora bin]# ps -aef | grep tomcat
root 3050 1 0 00:30 pts/1 00:00:21 /usr/java/j2sdk1.4.2_10/bin/java -server -Xms256m -Xmx256m -Djava.endorsed.dirs=/root/jakarta-tomcat-5.0.28/common/endorsed -classpath /usr/java/j2sdk1.4.2_10/lib/tools.jar:/root/jakarta-tomcat-5.0.28/bin/bootstrap.jar:/root/jakarta-tomcat-5.0.28/bin/commons-logging-api.jar -Dcatalina.base=/root/jakarta-tomcat-5.0.28 -Dcatalina.home=/root/jakarta-tomcat-5.0.28 -Djava.io.tmpdir=/root/jakarta-tomcat-5.0.28/temp org.apache.catalina.startup.Bootstrap start
root 17225 17161 0 03:24 pts/1 00:00:00 grep tomcat
[root@braindora bin]#

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

Postby ScalixSupport » Sun Jan 08, 2006 10:28 pm

Hi. Could you post your /root/jakarta-tomcat-5.0.28/bin/setclasspath.sh file as well?

Thanks,
Rachel

koxbox
Posts: 31
Joined: Sat Jan 07, 2006 11:52 pm

Postby koxbox » Sun Jan 08, 2006 10:36 pm

# Added by Scalix Wizard version 9.4.2.7 (do not remove any of this section)
JAVA_HOME=/usr/java/j2sdk1.4.2_10
JAVA_OPTS="-server -Xms256m -Xmx256m"
# End of added Scalix Wizard entries
# -----------------------------------------------------------------------------
# Set CLASSPATH and Java options
#
# $Id: setclasspath.sh,v 1.7.2.1 2004/08/21 15:49:50 yoavs Exp $
# -----------------------------------------------------------------------------

# Make sure prerequisite environment variables are set
if [ -z "$JAVA_HOME" ]; then
echo "The JAVA_HOME environment variable is not defined"
echo "This environment variable is needed to run this program"
exit 1
fi
if $os400; then
if [ ! -x "$JAVA_HOME"/bin/java -o ! -x "$JAVA_HOME"/bin/javac ]; then
echo "The JAVA_HOME environment variable is not defined correctly"
echo "This environment variable is needed to run this program"
echo "NB: JAVA_HOME should point to a JDK not a JRE"
exit 1
fi
else
if [ ! -x "$JAVA_HOME"/bin/java -o ! -x "$JAVA_HOME"/bin/jdb -o ! -x "$JAVA_HOME"/bin/javac ]; then
echo "The JAVA_HOME environment variable is not defined correctly"
echo "This environment variable is needed to run this program"
echo "NB: JAVA_HOME should point to a JDK not a JRE"
exit 1
fi
fi
if [ -z "$BASEDIR" ]; then
echo "The BASEDIR environment variable is not defined"
echo "This environment variable is needed to run this program"
exit 1
fi
if [ ! -x "$BASEDIR"/bin/setclasspath.sh ]; then
echo "The BASEDIR environment variable is not defined correctly"
echo "This environment variable is needed to run this program"
exit 1
fi

# Set the default -Djava.endorsed.dirs argument
JAVA_ENDORSED_DIRS="$BASEDIR"/common/endorsed-Djava.net.preferIPv4Stack=true

# Set standard CLASSPATH
CLASSPATH="$JAVA_HOME"/lib/tools.jar

# OSX hack to CLASSPATH
JIKESPATH=
if [ `uname -s` = "Darwin" ]; then
OSXHACK="/System/Library/Frameworks/JavaVM.framework/Versions/CurrentJDK/Classes"
if [ -d "$OSXHACK" ]; then
for i in "$OSXHACK"/*.jar; do
JIKESPATH="$JIKESPATH":"$i"
done
fi
fi

# Set standard commands for invoking Java.
_RUNJAVA="$JAVA_HOME"/bin/java
if [ $os400 = false ]; then
_RUNJDB="$JAVA_HOME"/bin/jdb
fi
_RUNJAVAC="$JAVA_HOME"/bin/javac


Return to “Installation”



Who is online

Users browsing this forum: No registered users and 4 guests