View Full Version : Aircontrol on Suse linux?
macosoft
10-25-2009, 02:26 PM
Aircontrol is working on suse linux? If so, where can I find a tutorial for installing that tarball?
I did not find any docs about installing it :(
I'm working in console mode into my suse box and I find very hard to use a new software that has no README or INSTALL notice.
I have tried in Slackware and still nothing, and Windows 7 where I need JRE installed.
UBNT-Thomas
10-25-2009, 03:31 PM
We currently provide the debian installer only for Linux. It should work on SUSE, though we don't test it.
AirControl is deployed within Tomcat and requires Sun JDK6 (or JRE6).
For how to run Tomcat look here:
https://svn.apache.org/repos/asf/tomcat/tc6.0.x/tags/TOMCAT_6_0_19/RUNNING.txt
General AirControl info: docs/index.html
Will add README with these basic pointers in future build.
macosoft
10-25-2009, 03:37 PM
Thanks for your prompt answer Thomas.
I'll need a few hours/day to setup aircontrol on linux like that. As I said before: a tutorial was incredible helpfull. I'll try to install all that and I'll come back with news. If it dosen't work can I get an e-mail to send you ip, username and password to my box and see what is wrong there? :)
UBNT-Thomas
10-25-2009, 03:54 PM
Actually it should not take you that long if you have installed/used a Java application before.
You need to install Sun Java if it's not aleady installed.
Then extract the tarball, set JAVA_HOME or JRE_HOME and you are ready to run the startup script. You may also need to tune memory options with JAVA_OPTS (-Xmx1024M etc.)
Let me know your findings and yes, I can log into your box and have a look if needed (send me private message through forum).
macosoft
10-25-2009, 11:08 PM
Thanks for your support Thomas. Now it's installed.
I've tryied to Connect/Disconnect and I get this error after setting ssh port, username and password for all the devices: Device operation failed: Invalid argument
What should I do?
macosoft
11-01-2009, 02:05 AM
Aircontrol it's working just fine right now, thanks to Thomas. Thanks alot dude!
This software it's awsome! I can see all the devices in my network from just one panel. The firmware upgrade from Aircontrol it's also a cool add in there.
I'll be back with more comments and bugs if I got any :)
phanny
11-14-2009, 02:42 PM
Hi, I also get the "Device operation failed: Invalid argument " when I try to manage a device in Aircontrol. Istalled on Archlinux, SUN JDK. How did you get rid of the problem?
UBNT-Thomas
11-15-2009, 09:43 AM
Put in the update, don't use the full installer. This fix will be part of the next build.
phanny
11-15-2009, 02:42 PM
Put in the update, don't use the full installer. This fix will be part of the next build.
I am sorry, could you be more specific? What update you mean?
UBNT-Thomas
11-15-2009, 05:58 PM
http://www.ubnt.com/forum/showpost.php?p=51414&postcount=1
phanny
11-16-2009, 02:21 AM
Thanx a lot!
Ptera Wireless
12-07-2009, 01:25 PM
Tried running this and nothing happens so I ran the following command.
/aircontrol/aircontrol-1.0.04-beta/bin/catalina.sh run
I got...
Using CATALINA_BASE: /aircontrol/aircontrol-1.0.04-beta
Using CATALINA_HOME: /aircontrol/aircontrol-1.0.04-beta
Using CATALINA_TMPDIR: /aircontrol/aircontrol-1.0.04-beta/temp
Using JRE_HOME: /usr/lib/jvm/java-1.5.0-gcj-1.5.0.0/jre
7-Dec-09 1:16:43 PM org.apache.tomcat.util.digester.Digester startElement
SEVERE: Begin event threw error
java.lang.NoClassDefFoundError: org.apache.catalina.mbeans.ServerLifecycleListener
at java.lang.Class.initializeClass(libgcj.so.8rh)
at java.lang.Class.newInstance(libgcj.so.8rh)
...
UBNT-Thomas
12-07-2009, 02:31 PM
Use: catalina.sh start
If it does not work check that your installation is not corrupt.
Ptera Wireless
12-07-2009, 03:25 PM
I am sorry but the instructions are confusing to me.
First install java - I believe I have done that.
[root@ntop ~]# java -version
java version "1.5.0"
gij (GNU libgcj) version 4.1.2 20070502 (Red Hat 4.1.2-12)
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Then download and start tomcat.
Tried that too.... but nothing happens...
[root@ntop ~]# /tomcat/apache-tomcat-6.0.20/bin/startup.sh
Using CATALINA_BASE: /tomcat/apache-tomcat-6.0.20
Using CATALINA_HOME: /tomcat/apache-tomcat-6.0.20
Using CATALINA_TMPDIR: /tomcat/apache-tomcat-6.0.20/temp
Using JRE_HOME: /usr
So then I tried to set the JRE to /usr/lib/jvm/java-1.5.0-gcj-1.5.0.0/jre
export JRE_HOME=/usr/lib/jvm/java-1.5.0-gcj-1.5.0.0/jre
[root@ntop ~]# /tomcat/apache-tomcat-6.0.20/bin/startup.sh
Using CATALINA_BASE: /tomcat/apache-tomcat-6.0.20
Using CATALINA_HOME: /tomcat/apache-tomcat-6.0.20
Using CATALINA_TMPDIR: /tomcat/apache-tomcat-6.0.20/temp
Using JRE_HOME: /usr/lib/jvm/java-1.5.0-gcj-1.5.0.0/jre
Still nothing...
So I downloaded and extracted aircontrol it again...
Added the following lines to the catalina.properties file
ubnt.setup.admin.login=your_login_here
ubnt.setup.admin.password=your_password_here
Yes I changed them to my username and password combo
Then tried to run it again.
[root@ntop ~]# /aircontrol/aircontrol-1.0.04-beta/bin/startup.sh
-bash: /aircontrol/aircontrol-1.0.04-beta/bin/startup.sh: Permission denied
Change permissions in the /bin directory along with its files and subfolders.
Ran it again
[root@ntop ~]# /aircontrol/aircontrol-1.0.04-beta/bin/startup.sh
Using CATALINA_BASE: /aircontrol/aircontrol-1.0.04-beta
Using CATALINA_HOME: /aircontrol/aircontrol-1.0.04-beta
Using CATALINA_TMPDIR: /aircontrol/aircontrol-1.0.04-beta/temp
Using JRE_HOME: /usr/lib/jvm/java-1.5.0-gcj-1.5.0.0/jre
Still nothing...
Does a separate tomcat have to running as a daemon?
Am I missing a bunch of other steps that I am not aware of?
Ptera Wireless
12-07-2009, 04:50 PM
Hope this helps in the future.
My version of linux fedora7 was pointing to the libgcj version
and not the new version of downloaded java.
The install RPM did not set any paths etc.
This fixed it....
export JAVA_HOME=/usr/java/jre1.6.0_17
lukkes
02-06-2010, 09:36 PM
hi people
all seems to be working for me, i chek the path, all is working the login page is working but i can log in with ubnt/ubnt, also i ser a password and user in catalina.properties but doesnt work always say login failed. im using centos and installed the generic tarball
thanks a lot
UBNT-Thomas
02-06-2010, 11:27 PM
Please check the log files for errors (under logs/, specifically server.log). It could be a problem other than password.
lukkes
02-07-2010, 06:54 PM
Thanks Thomas, this is the output for server.log
2010-02-07 21:36:16,655 WARN main org.jboss.seam.Component - Component class should be serializable: Realm
2010-02-07 21:36:17,109 WARN main org.jboss.seam.Component - Component class should be serializable: categoryTree
2010-02-07 21:36:17,144 WARN main org.jboss.seam.Component - Component class should be serializable: com.ubnt.mc.ui.converter.deviceAttributeConverter
2010-02-07 21:36:17,158 WARN main org.jboss.seam.Component - Component class should be serializable: deviceAddAction
2010-02-07 21:36:17,169 WARN main org.jboss.seam.Component - Component class should be serializable: deviceAttributesPickListAction
2010-02-07 21:36:17,185 WARN main org.jboss.seam.Component - Component class should be serializable: deviceDiscover
2010-02-07 21:36:17,219 WARN main org.jboss.seam.Component - Interceptors are disabled for @Synchronized component - synchronization will be disabled for: deviceEventSessionListener
2010-02-07 21:36:17,219 WARN main org.jboss.seam.Component - Component class should be serializable: deviceEventSessionListener
2010-02-07 21:36:17,241 WARN main org.jboss.seam.Component - Component class should be serializable: deviceFirmwareUpgradeAction
2010-02-07 21:36:17,249 WARN main org.jboss.seam.Component - Component class should be serializable: deviceGroupAddAction
2010-02-07 21:36:17,268 WARN main org.jboss.seam.Component - Component class should be serializable: deviceGroupsAction
2010-02-07 21:36:17,272 WARN main org.jboss.seam.Component - Component class should be serializable: devicePing
2010-02-07 21:36:17,285 WARN main org.jboss.seam.Component - Component class should be serializable: deviceRegistrationAction
2010-02-07 21:36:17,295 WARN main org.jboss.seam.Component - Component class should be serializable: deviceStatsChartAction
2010-02-07 21:36:17,328 WARN main org.jboss.seam.Component - Component class should be serializable: devicesAction
2010-02-07 21:36:17,361 WARN main org.jboss.seam.Component - Component class should be serializable: firmwareAction
2010-02-07 21:36:17,788 WARN main org.jboss.seam.Component - Component class should be serializable: searchsystemlog
2010-02-07 21:36:17,802 WARN main org.jboss.seam.security.permission.PersistentPermissionResolver - no permission store available - please install a PermissionStore with the name 'org.jboss.seam.security.jpaPermissionStore' if persistent permissions are required.
2010-02-07 21:36:21,986 ERROR main org.hibernate.tool.hbm2ddl.SchemaUpdate - Unsuccessful: alter table Device_DeviceGroup add constraint FK31827D60B583F36A foreign key (deviceGroups_device_group_id) references DeviceGroup
2010-02-07 21:36:21,988 ERROR main org.hibernate.tool.hbm2ddl.SchemaUpdate - Constraint already exists in statement [alter table Device_DeviceGroup add constraint FK31827D60B583F36A foreign key (deviceGroups_device_group_id) references DeviceGroup]
can i send you al the logs by email? thanks
UBNT-Thomas
02-07-2010, 07:54 PM
Log above looks all fine. And yes, please don't post logs onto the forum. I sent you a PM where to email it. System access would be better.
UBNT-Thomas
02-08-2010, 07:44 PM
> Thanks a lot, it’s working good, now can i make just a few questions more? Ok just answer this if I can…
This was a username/password problem.
> 1) I try in windows and works fine, but once a device its discovered and change the IP or upgrade de firmware the device will remain as old ip or firmware in the device list.
There is something wrong. New firmware version should be reflected in the UI after upgrade.
> 2) In order to be keeping discovering and updating devices the ./startup.sh script must be running? How I cant put it as a daemon? Or I can insert in the chakconfig and that’s it?
That's the script that is launching the JVM. The script does nothing else. You can call the startup script from init.d to make sure AirControl is started when the machine reboots. Full service integration is provided by the Debian installer.
besimler
09-29-2010, 09:49 AM
hi, i cant login. I installed tomcat + java and configure it. Login screen coming but i could not login. Look like Lukkes problem. What can i do? Thanx
UBNT-Thomas
09-29-2010, 10:23 AM
Use the tarball, don't install tomcat separately, it is already part of AirControl.
The default login is ubnt/ubnt if you install from tarball.
If that does not work, send me private forum message.