nginx is not running

1,645 views
Skip to first unread message

Abderrazak EL YOUSFI

unread,
May 12, 2016, 6:07:20 AM5/12/16
to BigBlueButton-Setup
Hello,

I have a problem with the start of nginx under BigBlueButton, can you help ?



root@BBBtest:/etc/nginx/sites-available# sudo bbb-conf --check

BigBlueButton Server 0.9.1 (391)
                    Kernel version: 3.19.0-39-generic
                      Distribution: Ubuntu 14.04.3 LTS (64-bit)
                            Memory: 3952 MB

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

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

/etc/nginx/sites-available/bigbluebutton (nginx)
                       server name: webconf.enfa.fr
                              port: 80
443 ssl
                    bbb-client dir: /var/www/bigbluebutton

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

/var/www/bigbluebutton/check/conf/config.xml (client check)
                      client check: webconf.enfa.fr

/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: webconf.enfa.fr


** Potential problems described below **
# Not Running:  Nginx
# Error: Could not connect to the configured hostname/IP address
#
#    http://webconf.enfa.fr/
#
# If your BigBlueButton server is behind a firewall, see FAQ.

# Warning: The client self check is installed and accessible from:
#
#    http://webconf.enfa.fr/check
#

# Error: Unable to reach default URL for presentation:
#
#    https://webconf.enfa.fr/default.pdf
#
# Check value for beans.presentationService.defaultUploadedPresentation in
#   /var/lib/tomcat7/webapps/bigbluebutton/WEB-INF/classes/bigbluebutton.properties

Thank you in advance!

Auto Generated Inline Image 1

Fred Dixon

unread,
May 12, 2016, 8:00:09 AM5/12/16
to bigbluebu...@googlegroups.com
Hi Abderrazak,

I looks like nginx didn't start

> # Not Running:  Nginx

You can try running nginx on the command line

  sudo service nginx restart

to see if it fails to startup.  If so, check the error logs in

  /var/log/nginx

If you Google for "nginx startup errors" you'll also find references to a command to check the nginx syntax

  sudo nginx -t 

Let us know if the above gets you going.


Regards,.. Fred



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



--
BigBlueButton Developer
@bigbluebutton

Abderrazak EL YOUSFI

unread,
May 12, 2016, 9:45:45 AM5/12/16
to BigBlueButton-Setup


Le jeudi 12 mai 2016 12:07:20 UTC+2, Abderrazak EL YOUSFI a écrit :
Thans you Mr DIXON for your quick reponse,

When I try running nginx on the command line,
I get the message below

root@BBBtest:/etc/nginx/sites-available# sudo service nginx restart
* Restarting nginx nginx [fail]

I found a error.log file in /var/log/nginx, il open it

2016/05/12 14:16:30 [emerg] 29512#0: BIO_new_file("/etc/nginx/ssl/webconf.enfa.fr.crt") failed (SSL: error:02001002:system library:fopen:No such file or directory:fopen('/etc/nginx/ssl/webconf.enfa.fr.crt','r') error:2006D080:BIO routines:BIO_new_file:no such file)

 And when i tape the command line sudo nginx -t

root@BBBtest:/var/log/nginx# sudo nginx -t
nginx: [emerg] BIO_new_file("/etc/nginx/ssl/webconf.enfa.fr.crt") failed (SSL: error:02001002:system library:fopen:No such file or directory:fopen('/etc/nginx/ssl/webconf.enfa.fr.crt','r') error:2006D080:BIO routines:BIO_new_file:no such file)
nginx: configuration file /etc/nginx/nginx.conf test failed

Best regards

Abderrazak

Fred Dixon

unread,
May 12, 2016, 10:27:40 AM5/12/16
to bigbluebu...@googlegroups.com
Hi Abderrazak,

We looked at the error messages you posted and it indicates the source of the problem

> No such file or directory:fopen('/etc/nginx/ssl/webconf.enfa.fr.crt','r')

This file does not exist.  Did you encounter any errors when you setup SSL certificates on your site?


Regards,... Fred


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

Abderrazak EL YOUSFI

unread,
May 17, 2016, 6:01:51 AM5/17/16
to BigBlueButton-Setup
Hello Fred ,

When I look at the procedure for recovery of the certificate , you are asked to create a directory
mkdir / etc / nginx / ssl what I did. I find the directory 4 files see below, Why ?

bbb@BBBtest:/etc/nginx/ssl$ ls
bigbluebutton.example.com.crt dhp-2048.pem
bigbluebutton.example.com.key webconf.enfa.fr.key

When I open the file webconf.enfa.fr , it is empty and I find nothing to copy and paste the file bigbluebutton.example.com.key


Below procedure

And now create the private key file for nginx to use (replace the

hostname in the filename with your own). In addition, fix the permissions so that only root can read the private key:

cat >/etc/nginx/ssl/bigbluebutton.example.com.key <<'END'Paste the contents of your key file hereEND
chmod 0600 /etc/nginx/ssl/bigbluebutton.example.com.key

And the certificate file. Note that nginx needs your server certificate and the list of intermediate certificates together in one file (replace the hostname in the filename with your own):

cat >/etc/nginx/ssl/bigbluebutton.example.com.crt <<'END'Paste (in order) the contents of the following files:  1. The signed certificate from the CA  2. In order, each intermediate certificate provided by the CA (but do not include the root).END


There's something I did not understand , it is possible to redo the installation to get the SSL Certificates ?


Thanks you for your help.



Message has been deleted
Message has been deleted
Message has been deleted

Fred Dixon

unread,
Jan 12, 2017, 11:56:59 PM1/12/17
to bigbluebu...@googlegroups.com
Hi Thi,

You've already made multiple posts of this question multiple forums.  All you are doing is making more work for others to respond as there are now many places to followup.  

One post is sufficient.  See:


Regards,... Fred

On Thu, Jan 12, 2017 at 10:39 PM, Thị Nữ Nguyễn <nguyenth...@gmail.com> wrote:

can you help ?
what should i do? 

--
You received this message because you are subscribed to the Google Groups "BigBlueButton-Setup" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bigbluebutton-setup+unsub...@googlegroups.com.
To post to this group, send email to bigbluebutton-setup@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages