PDA

View Full Version : Linux Install


rdw
01-01-2010, 02:53 PM
anyone have a tutorial for a linux install. i have tomcat installed and aircontrol but i still dont know how to start aircontrol

UBNT-Thomas
01-02-2010, 01:04 PM
You don't mention whether you use the tarball or the Debian installer.

The Debian installer will setup the control script under /etc/init.d/aircontrol

For the tarball, the first step for you would be to consult the README in the installation directory. It contains this link:

https://svn.apache.org/repos/asf/tomcat/tc6.0.x/tags/TOMCAT_6_0_19/RUNNING.txt

Which tells you how to start/stop Tomcat.

rdw
01-02-2010, 01:16 PM
we are using Centos
i used the tar and have tomcat running. the readme didnt seam to be very usefull

lncommunications
01-02-2010, 05:24 PM
$CATALINA_HOME/bin/startup.sh

then browse to http://localhost:9080/

I believe.

rdw
01-03-2010, 07:54 AM
that doesnt work under CentOs. why i can figure that out yet. i can start it via (service tomcat5 start) but that page doesnt come up

rdw
01-03-2010, 01:46 PM
ok i can start tomcat and get to the default tomcat page (http://localhost:8080)
but when i try (http://localhost:9080) i dont get anything

UBNT-Thomas
01-04-2010, 06:38 AM
Here are the findings, should someone else run into similar problems:

Start server using the bin/startup.sh script in the directory where you untared:

Example: /root/download/aircontrol-1.0.05-beta/bin/startup.sh

Make sure JAVA_HOME is set correctly, in this case the error was found in catalina.out:

/root/download/aircontrol-1.0.05-beta/bin/catalina.sh: line 311: /usr/lib/java-1.6.0/bin/java: No such file or directory

bin/catalina.sh

JAVA_HOME=/usr/lib/jvm/jre-1.6.0-openjdk

Make sure port numbers don't conflict with other processes:

/root/download/aircontrol-1.0.05-beta/logs/catalina.2010-01-04.log

Jan 4, 2010 2:20:52 PM org.apache.catalina.core.StandardServer await
SEVERE: StandardServer.await: create[8005]:
java.net.BindException: Address already in use
at java.net.PlainSocketImpl.socketBind(Native Method)

conf/catalina.properties:

ubnt.http.port=9080
ubnt.https.port=9443
ubnt.admin.port=9005

lukkes
02-06-2010, 09:03 PM
from catalina.out

06-feb-2010 23:44:19 org.apache.catalina.core.AprLifecycleListener init
INFO: La biblioteca nativa de Apache Tomcat basada en ARP que permite un rendimiento óptimo en entornos de desarrollo
06-feb-2010 23:44:19 org.apache.coyote.http11.Http11Protocol init
INFO: Inicializando Coyote HTTP/1.1 en puerto http-9080
06-feb-2010 23:44:20 org.apache.coyote.http11.Http11Protocol init
INFO: Inicializando Coyote HTTP/1.1 en puerto http-8443
06-feb-2010 23:44:20 org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 1461 ms
06-feb-2010 23:44:20 org.apache.catalina.core.StandardService start
INFO: Arrancando servicio Catalina
06-feb-2010 23:44:20 org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/6.0.20
log4j:WARN No such property [maxBackupIndex] in org.apache.log4j.DailyRollingFileAppender.
[23:44:26] <main> ERROR SchemaUpdate - Unsuccessful: alter table Device_DeviceGroup add constraint FK31827D60B583F36
[23:44:26] <main> ERROR SchemaUpdate - Constraint already exists in statement [alter table Device_DeviceGroup add co
06-feb-2010 23:44:28 com.sun.faces.config.ConfigureListener contextInitialized
INFO: Initializing Mojarra (1.2_12-b01-FCS) for context ''
Failed loading resource bundle: Can't find bundle for base name com.ubnt.discovery.messages, locale es_ES
06-feb-2010 23:44:33 org.apache.coyote.http11.Http11Protocol start
INFO: Arrancando Coyote HTTP/1.1 en puerto http-9080
06-feb-2010 23:44:33 org.apache.coyote.http11.Http11Protocol start
INFO: Arrancando Coyote HTTP/1.1 en puerto http-8443
06-feb-2010 23:44:33 org.apache.jk.common.ChannelSocket init
INFO: JK: ajp13 listening on /0.0.0.0:8009
06-feb-2010 23:44:33 org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=0/22 config=null
06-feb-2010 23:44:33 org.apache.catalina.startup.Catalina start
INFO: Server startup in 12946 ms

the conf/catalina.properties config file

#avoid loading of classes and launching of threads on re-deploy (AWT etc.)
org.apache.catalina.loader.WebappClassLoader.ENABLE_CLEAR_REFERENCES=false
#AirControl settings
ubnt.http.port=9080
ubnt.https.port=8443
ubnt.admin.port=9005
ubnt.setup.admin.login=lukkes
ubnt.setup.admin.password=lukkes01
product=aircontrol
tomcat.home=/home/lukkes/aircontrol/bin
tomcat.java.opts.start=-Xmx1024M -XX:MaxPermSize=64M -Xdebug -Xnoagent -Xrunjdwp:transport=dt_socket,server=y,suspend
ubnt.disableClientResourceVersioning=true


in bin/catalina.sh

JAVA_HOME=/usr/java/jre1.6.0_18/
CATALINA_OPTS=-Xmx1024m

, the aircontrol login webpage load and ask for user and password, i write lukkes lukkes01 but cant login, just sayd login failed... can anybody helme? is centos and usiing generic tarball

thanks

UBNT-Thomas
02-08-2010, 07:46 PM
http://www.ubnt.com/forum/showthread.php?p=74770#post74770

Please don't post same issue in mutiple threads.

CzechEnglishFrenchGermanItalianPolishPortugueseRussianSpanish
Translations supported by vB Enterprise Translator 3.5.4