i have error 500, after change ip

90 wyświetleń
Przejdź do pierwszej nieodczytanej wiadomości

김동웅

nieprzeczytany,
15 paź 2015, 21:09:0415.10.2015
do BigBlueButton-dev
i set dev environment

first, i setup bigbluebutton 1.217.xxx.xxx and it worked well

and i want to try some test, so i change my computer ip address 192.168.0.60

and i type "sudo bbb-conf --setip 192.168.0.60"

and i got this 500 error when start video conf(but i can see my index page)

i use bbb-demo api, and i've changed "demo" folder name to "onbiz" and i rewrited nginx file, use rewrite.nginx


here is my sudo bbb-conf --check contents below
-------------------------------------------------------------------------------------------------------------------------------------
BigBlueButton Server 0.9.1 (362)
                    Kernel version: 3.16.0-50-generic
                      Distribution: Ubuntu 14.04.3 LTS (64-bit)
                            Memory: 7905 MB

/var/www/bigbluebutton/client/conf/config.xml (bbb-client)
          Port test (tunnel): 192.168.0.60
                              Red5: 192.168.0.60
              useWebrtcIfAvailable: true

/opt/freeswitch/conf/sip_profiles/external.xml (FreeSWITCH)
                    websocket port: 5066
                    WebRTC enabled: true

/etc/nginx/sites-available/bigbluebutton (nginx)
                       server name: 192.168.0.60
                              port: 80
                    bbb-client dir: #/home/firstuser/dev/bigbluebutton/bigbluebutton-client

/var/lib/tomcat7/webapps/bigbluebutton/WEB-INF/classes/bigbluebutton.properties (bbb-web)
                      bbb-web host: 192.168.0.60

/var/lib/tomcat7/webapps/demo/bbb_api_conf.jsp (API demos)
                           api url: 192.168.0.60

/usr/share/red5/webapps/bigbluebutton/WEB-INF/red5-web.xml (red5)
                  voice conference: FreeSWITCH
                     capture video: true
                   capture desktop: true

/usr/local/bigbluebutton/core/scripts/bigbluebutton.yml (record and playback)
                     playback host: 192.168.0.60


** Potential problems described below **
# Warning: nginx is not serving the client from /var/www/bigbluebutton/.
# Instead, it's being served from
#
#    #/home/firstuser/dev/bigbluebutton/bigbluebutton-client
#
# (This is OK if you have setup a development environment.)

# Warning: The directory
#
#    #/home/firstuser/dev/bigbluebutton/bigbluebutton-client
#
# does not exist.  The BigBlueButton client will not load.

# Warning: The API demos are installed and accessible from:
#
#    http://192.168.0.60/
#
# These API demos allow anyone to access your server without authentication
# to create/manage meetings and recordings. They are for testing purposes only.
# If you are running a production system, remove them by running:
#
#    sudo apt-get purge bbb-demo
------------------------------------------------------------------------------------------------------------------------

and here is my browser's error 500

====================================================================
An Error has occured:

Status Code    500
Exception Type    null
Message    null
Exception   
java.lang.NullPointerException
    at org.apache.jsp.demo1_jsp.getJoinURL(demo1_jsp.java:222)
    at org.apache.jsp.demo1_jsp._jspService(demo1_jsp.java:1262)
    at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
    at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:432)
    at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:390)
    at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:334)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)
    at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:501)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)
    at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:950)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)
    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)
    at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1041)
    at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:607)
    at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:313)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
    at java.lang.Thread.run(Thread.java:745)
Root Cause   
Header List
Name    Value
x-forwarded-for    192.168.0.72
host    127.0.0.1:8080
connection    close
accept    text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8
user-agent    Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/43.0.2357.81 Safari/537.36
referer    http://192.168.0.60/
accept-encoding    gzip, deflate, sdch
accept-language    en-US,en;q=0.8,ko;q=0.6
Attribute List
javax.servlet.forward.request_uri    /onbiz/demo1.jsp
javax.servlet.forward.context_path    /onbiz
javax.servlet.forward.servlet_path    /demo1.jsp
javax.servlet.forward.query_string    username=aasss&action=create
javax.servlet.jsp.jspException    java.lang.NullPointerException
javax.servlet.error.status_code    500
javax.servlet.error.servlet_name    jsp
javax.servlet.error.exception    java.lang.NullPointerException
javax.servlet.error.request_uri    /onbiz/demo1.jsp

====================================================================

thank you.


김동웅

nieprzeczytany,
15 paź 2015, 21:37:4215.10.2015
do BigBlueButton-dev
and i found faq(docs.bigbluebutton.org). and the solution is just change my networking setup? 

김동웅

nieprzeczytany,
15 paź 2015, 22:17:2115.10.2015
do BigBlueButton-dev
now i changed ip in

my bbb_api_conf.jsp

but the conf shows like this (empty)




Auto Generated Inline Image 1

Fred Dixon

nieprzeczytany,
16 paź 2015, 07:28:1116.10.2015
do BigBlueButton-dev
Hi ,

Was it working with the default install for BigBlueButton (that is, was it working before you made any custom changes)?

Regards,... Fred




--
You received this message because you are subscribed to the Google Groups "BigBlueButton-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bigbluebutton-...@googlegroups.com.
To post to this group, send email to bigblueb...@googlegroups.com.
Visit this group at http://groups.google.com/group/bigbluebutton-dev.
For more options, visit https://groups.google.com/d/optout.



--
BigBlueButton Developer
@bigbluebutton

김동웅

nieprzeczytany,
16 paź 2015, 08:55:2916.10.2015
do BigBlueButton-dev
hi Fred 

yes it worked very well, before i changed ip address

thank you.

Chad Pilkey

nieprzeczytany,
16 paź 2015, 12:13:1516.10.2015
do BigBlueButton-dev
One thing that could be complicating things is that you have setup the BBB server to use 192.168.0.60, but you are trying to access the client from 14.41.92.14. I'm not sure how you got the client to redirect to a different IP.

김동웅

nieprzeczytany,
16 paź 2015, 19:45:2516.10.2015
do BigBlueButton-dev
ah. i have two bigbluebutton server 

one has a problem after ip change. so i tested with the other pc to make a same environment

and to conclude, i think, when ip changed, i faced that problem.

im very sorry to confuse you , and thank you!

김동웅

nieprzeczytany,
17 paź 2015, 11:22:3017.10.2015
do BigBlueButton-dev
am i right way to change ip ?

Fred Dixon

nieprzeczytany,
19 paź 2015, 08:18:0519.10.2015
do BigBlueButton-dev
Hi 김동웅,

On an unmodified (non-customized) installation of BigBlueButton, the you can change the IP address/hostname for the BigBlueButton server using the bbb-conf command, see


Of course, if you make custom changes to BigBlueButton, you are responsible for understanding how bbb-conf works and updating the IP address/hostname in your changes.

Regards,.. Fred


On Sat, Oct 17, 2015 at 11:22 AM, 김동웅 <ferox...@gmail.com> wrote:
am i right way to change ip ?

--
You received this message because you are subscribed to the Google Groups "BigBlueButton-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bigbluebutton-...@googlegroups.com.
To post to this group, send email to bigblueb...@googlegroups.com.
Visit this group at http://groups.google.com/group/bigbluebutton-dev.
For more options, visit https://groups.google.com/d/optout.

김동웅

nieprzeczytany,
19 paź 2015, 21:18:0519.10.2015
do BigBlueButton-dev
thanks Fred.

if i use bbb-demo api, changing ip is same?

Fred Dixon

nieprzeczytany,
19 paź 2015, 23:04:3119.10.2015
do BigBlueButton-dev
Hi 김동웅,

You'll find the settings for the API demos in

  /var/lib/tomcat7/webapps/demo/bbb_api_conf.jsp

Regards,... Fred

On Mon, Oct 19, 2015 at 9:18 PM, 김동웅 <ferox...@gmail.com> wrote:
thanks Fred.

if i use bbb-demo api, changing ip is same?

--
You received this message because you are subscribed to the Google Groups "BigBlueButton-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bigbluebutton-...@googlegroups.com.
To post to this group, send email to bigblueb...@googlegroups.com.
Visit this group at http://groups.google.com/group/bigbluebutton-dev.
For more options, visit https://groups.google.com/d/optout.

김동웅

nieprzeczytany,
20 paź 2015, 03:09:2920.10.2015
do BigBlueButton-dev
Hi, Fred

i try to change ip my new bigbluebutton server one more time, with default setting(no customization) , but it also not work.

i got same result

i used bigbluebutton 0.9 and setting up dev environment and bbb-demo api.

and i command "sudo bbb-conf --setip XXX.xxx.xxx.xxx"

what's my problem? or am i missing something?

Fred Dixon

nieprzeczytany,
20 paź 2015, 06:19:5720.10.2015
do BigBlueButton-dev
Hi 김동웅,

Did the command 

  sudo bbb-conf --setip

work before you setup the development environment?  

On important point: when you setup your development environment, you are making custom changes, and the bbb-conf script does not try to figure out the changes and adjust new configuration files.

See


on how you need to make changes to your config.xml when you setup a development environment for the client.

Regards,... Fred

--
You received this message because you are subscribed to the Google Groups "BigBlueButton-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bigbluebutton-...@googlegroups.com.
To post to this group, send email to bigblueb...@googlegroups.com.
Visit this group at http://groups.google.com/group/bigbluebutton-dev.
For more options, visit https://groups.google.com/d/optout.

김동웅

nieprzeczytany,
21 paź 2015, 20:44:0421.10.2015
do BigBlueButton-dev
hi, Fred

i missed modifying dev environmet's ip of config.xml.

you advice always worked well

thank you !
Odpowiedz wszystkim
Odpowiedz autorowi
Przekaż
Nowe wiadomości: 0