nginx appears to be disabled

971 views
Skip to first unread message

Ivos Riti

unread,
Dec 4, 2017, 8:40:16 AM12/4/17
to BigBlueButton-Setup
hi, i tried to install 2 beta version, but after installing i have a problem with nginx.

below, output of bbb-conf --check


root@serverdedicato:~# sudo bbb-conf --check
/usr/bin/bbb-conf: line 65: /etc/bigbluebutton/bigbluebutton-release: No such file or directory

BigBlueButton Server  (633)
                    Kernel version: 4.4.0-101-generic
                      Distribution: Ubuntu 16.04.3 LTS (64-bit)
                            Memory: 7825 MB

/var/www/bigbluebutton/client/conf/config.xml (bbb-client)
                Port test (tunnel): webinar.bonsaiclub.it
                              red5: webinar.bonsaiclub.it
              useWebrtcIfAvailable: true

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

/etc/nginx/sites-available/bigbluebutton (nginx)
cat: /etc/nginx/sites-available/bigbluebutton: No such file or directory
                       server name:
cat: /etc/nginx/sites-available/bigbluebutton: No such file or directory
                              port:
cat: /etc/nginx/sites-available/bigbluebutton: No such file or directory
cat: /etc/bigbluebutton/nginx/client.nginx: No such file or directory
                    bbb-client dir:

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

/var/lib/tomcat7/webapps/demo/bbb_api_conf.jsp (API demos)
                               url: webinar.bonsaiclub.it

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

/usr/local/bigbluebutton/core/scripts/bigbluebutton.yml (record and playback)
                     playback host: webinar.bonsaiclub.it


** Potential problems described below **
# Nginx: BigBlueButton appears to be disabled
         - no symbolic link in /etc/nginx/sites-enabled/bigbluebutton to /etc/nginx/sites-available/bigbluebutton
cat: /etc/nginx/sites-available/bigbluebutton: No such file or directory
# Tried to check server_name in
#    /etc/nginx/sites-available/bigbluebutton
# but value is empty.



Ivos Riti

unread,
Dec 4, 2017, 8:50:33 AM12/4/17
to BigBlueButton-Setup

output  dpkg -l | grep bbb



dpkg -l | grep bbb


 
ii  bbb-apps                              1:2.0.0-38                                 amd64        BigBlueButton applications for Red5
ii  bbb-apps-akka                         2.0.0-116                                  all          BigBlueButton Apps (Akka)
ii  bbb-apps-screenshare                  1:2.0.0-18                                 amd64        BigBlueButton screenshare module for Red5
ii  bbb-apps-sip                          1:2.0.0-3                                  amd64        BigBlueButton SIP module for Red5
ii  bbb-apps-video                        1:2.0.0-12                                 amd64        BigBlueButton video module for Red5
iU  bbb-client                            1:2.0.0-218                                amd64        BigBlueButton Flash client
iU  bbb-config                            1:2.0.0-26                                 amd64        BigBlueButton configuration utilities
iF  bbb-demo                              1:2.0.0-11                                 amd64        BigBlueButton API demos
ii  bbb-freeswitch-core                   2:1.6-41                                   amd64        BigBlueButton build of FreeSWITCH
ii  bbb-freeswitch-sounds                 1:1.6.7-9                                  amd64        FreeSWITCH Sounds
ii  bbb-fsesl-akka                        2.0.0-17                                   all          BigBlueButton FS-ESL (Akka)
ii  bbb-mkclean                           1:0.8.7-3                                  amd64        Clean and optimize Matroska and WebM files
ii  bbb-playback-presentation             1:2.0.0-20                                 amd64        BigBluebutton playback of presentation
ii  bbb-record-core                       1:2.0.0-17                                 amd64        BigBlueButton record and playback
ii  bbb-red5                              1:1.0.8-32                                 amd64        The Red5 server for BigBlueButton
ii  bbb-swftools                          1:0.9.2-2                                  amd64        The swftools files for BigBlueButton
ii  bbb-web                               1:2.0.0-59                                 amd64        BigBlueButton API
iU  bigbluebutton                         1:2.0.0-2                                  amd64        Open source web conferencing platform (bbb)

Fred Dixon

unread,
Dec 4, 2017, 9:07:26 AM12/4/17
to bigbluebu...@googlegroups.com
Hi,

Looks like the installation didn't finish.  Can you post the output of

  sudo apt-get install -f


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-setup+unsub...@googlegroups.com.
To post to this group, send email to bigbluebutton-setup@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

Ivos Riti

unread,
Dec 4, 2017, 9:18:55 AM12/4/17
to BigBlueButton-Setup
hi Fred, tnx in advanced.
below the output


Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
  cim-schema libargtable2-0 libcimcclient0 libcmpicppimpl0 libopenipmi0
  libsfcutil0 libslp1 libsmbios2v5 libsnmp-base libsnmp30 libsysfs2
  libwsman-client2 libwsman-curl-client-transport1 libwsman-server1 libwsman1
  linux-headers-4.4.0-63 linux-headers-4.4.0-63-generic linux-headers-4.4.0-64
  linux-headers-4.4.0-64-generic linux-headers-4.4.0-66
  linux-headers-4.4.0-66-generic linux-headers-4.4.0-70
  linux-headers-4.4.0-70-generic linux-headers-4.4.0-71
  linux-headers-4.4.0-71-generic openipmi openwsman python-libsmbios sfcb
  smbios-utils snap-confine
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
6 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Setting up nginx-core (1.10.3-0ubuntu0.16.04.2) ...
Job for nginx.service failed because the control process exited with error code. See "systemctl status nginx.service" and "journalctl -xe" for details.
invoke-rc.d: initscript nginx, action "start" failed.
● nginx.service - A high performance web server and a reverse proxy server
   Loaded: loaded (/lib/systemd/system/nginx.service; enabled; vendor preset: enabled)
   Active: failed (Result: exit-code) since Mon 2017-12-04 15:17:07 CET; 12ms ago
  Process: 4496 ExecStartPre=/usr/sbin/nginx -t -q -g daemon on; master_process on; (code=exited, status=1/FAILURE)

Dec 04 15:17:07 serverdedicato systemd[1]: Starting A high performance web s....
Dec 04 15:17:07 serverdedicato nginx[4496]: nginx: [emerg] socket() [::]:80 ...)
Dec 04 15:17:07 serverdedicato nginx[4496]: nginx: configuration file /etc/n...d
Dec 04 15:17:07 serverdedicato systemd[1]: nginx.service: Control process ex...1
Dec 04 15:17:07 serverdedicato systemd[1]: Failed to start A high performanc....
Dec 04 15:17:07 serverdedicato systemd[1]: nginx.service: Unit entered faile....
Dec 04 15:17:07 serverdedicato systemd[1]: nginx.service: Failed with result....
Hint: Some lines were ellipsized, use -l to show in full.
dpkg: error processing package nginx-core (--configure):
 subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of nginx:
 nginx depends on nginx-core (>= 1.10.3-0ubuntu0.16.04.2) | nginx-full (>= 1.10.3-0ubuntu0.16.04.2) | nginx-light (>= 1.10.3-0ubuntu0.16.04.2) | nginx-extras (>= 1.10.3-0ubuntu0.16.04.2); however:
  Package nginx-core is not configured yet.
  Package nginx-full is not installed.
  Package nginx-light is not installed.
  Package nginx-extras is not installed.
 nginx depends on nginx-core (<< 1.10.3-0ubuntu0.16.04.2.1~) | nginx-full (<< 1.10.3-0ubuntu0.16.04.2.1~) | nginx-light (<< 1.10.3-0ubuntu0.16.04.2.1~) | nginx-extras (<< 1.10.3-0ubuntu0.16.04.2.1~); however:
  Package nginx-core is not configured yet.
  Package nginx-full is not installed.
  Package nginx-light is not installed.
  Package nginx-extras is not installed.

dpkg: error processing package nginx (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of bbb-client:
 bbb-client depends on nginx; however:
  Package nginx iNo apport report written because the error message indicates its a followup error from a previous failure.
                                           No apport report written because the error message indicates its a followup error from a previous failure.
                                                                     No apport report written because MaxReports is reached already
                                                   s not configured yet.
  Package nginx-core which provides nginx is not configured yet.

dpkg: error processing package bbb-client (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of bbb-config:
 bbb-config depends on bbb-client; however:
  Package bbb-client is not configured yet.

dpkg: error processing package bbb-config (--configure):
 dependency problems - leaving unconfigured
Setting up bbb-demo (1:2.0.0-11) ...
Reloading nginx.service using systemd
Adding nginx.service to autostart using systemd
Synchronizing state of nginx.service with SysV init with /lib/systemd/systemd-sysv-install...
Executing /lib/systemd/systemd-sysv-install enable nginx
Job for nginx.service failed because the control process exited with error code. See "systemctl status nginx.service" and "journalctl -xe" for details.
dpkg: error processing package bbb-demo (--configure):
 subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of bigbluebutton:
 bigbluebutton depends on bbb-config; however:
  Package bbb-config is not configured yet.

dpkg: error processing package bigbluebutton (--configure):
 dependency problems - leaving unconfigured
No apport report written because MaxReports is reached already
                                                              No apport report written because MaxReports is reached already
                                            Errors were encountered while processing:
 nginx-core
 nginx
 bbb-client
 bbb-config
 bbb-demo
 bigbluebutton
E: Sub-process /usr/bin/dpkg returned an error code (1)

Ivos Riti

unread,
Dec 4, 2017, 1:15:35 PM12/4/17
to BigBlueButton-Setup
I tried to find a solution myself but no without  good result.
I read many topics whith a similar problem but any way i cant solve my situation

below, some output

### OUTPUT sudo bbb-conf --check ###########
cat: /etc/nginx/sites-available/bigbluebutton: No such file or directory
# Tried to check server_name in
#    /etc/nginx/sites-available/bigbluebutton
# but value is empty.



### OUTPUT sudo apt-get install -f #######

Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
6 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Setting up nginx-core (1.10.3-0ubuntu0.16.04.2) ...
Job for nginx.service failed because the control process exited with error code. See "systemctl status nginx.service" and "journalctl -xe" for details.
invoke-rc.d: initscript nginx, action "start" failed.
● nginx.service - A high performance web server and a reverse proxy server
   Loaded: loaded (/lib/systemd/system/nginx.service; enabled; vendor preset: enabled)
   Active: failed (Result: exit-code) since Mon 2017-12-04 19:07:44 CET; 14ms ago
  Process: 28991 ExecStartPre=/usr/sbin/nginx -t -q -g daemon on; master_process on; (code=exited, status=1/FAILURE)

Dec 04 19:07:44 serverdedicato systemd[1]: Starting A high performance web serve.....
Dec 04 19:07:44 serverdedicato nginx[28991]: nginx: [emerg] socket() [::]:80 fail...)
Dec 04 19:07:44 serverdedicato nginx[28991]: nginx: configuration file /etc/nginx...d
Dec 04 19:07:44 serverdedicato systemd[1]: nginx.service: Control process exited...=1
Dec 04 19:07:44 serverdedicato systemd[1]: Failed to start A high performance we...r.
Dec 04 19:07:44 serverdedicato systemd[1]: nginx.service: Unit entered failed state.
Dec 04 19:07:44 serverdedicato systemd[1]: nginx.service: Failed with result 'ex...'.

Fred Dixon

unread,
Dec 4, 2017, 6:23:36 PM12/4/17
to bigbluebu...@googlegroups.com
Is this a new Ubuntu 16.04 64-bit server, or did you upgrade Ubuntu from a previous version?

Can you post the output of

  ls /etc/apt/sources.list.d
  cat /etc/apt/sources.list

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-setup+unsub...@googlegroups.com.
To post to this group, send email to bigbluebutton-setup@googlegroups.com.
Visit this group at https://groups.google.com/group/bigbluebutton-setup.
For more options, visit https://groups.google.com/d/optout.

Ivos Riti

unread,
Dec 5, 2017, 2:36:54 AM12/5/17
to BigBlueButton-Setup
Ho Fred, tnx

It's a new Ubuntu server 16.4

The output is


bigbluebutton.list linux.dell.com.sources.list.save
linux.dell.com.sources.list openjdk-r-ubuntu-ppa-xenial.list
root@serverdedicato:~# cat /etc/apt/sources.list
# deb http://it.archive.ubuntu.com/ubuntu/ xenial main restricted

# deb http://it.archive.ubuntu.com/ubuntu/ xenial-updates main restricted
# deb http://security.ubuntu.com/ubuntu xenial-security main restricted

# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb http://it.archive.ubuntu.com/ubuntu/ xenial main restricted
# deb-src http://it.archive.ubuntu.com/ubuntu/ xenial main restricted

## Major bug fix updates produced after the final release of the
## distribution.
deb http://it.archive.ubuntu.com/ubuntu/ xenial-updates main restricted
# deb-src http://it.archive.ubuntu.com/ubuntu/ xenial-updates main restricted
## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team. Also, please note that software in universe WILL NOT receive any
## review or updates from the Ubuntu security team.
deb http://it.archive.ubuntu.com/ubuntu/ xenial universe
# deb-src http://it.archive.ubuntu.com/ubuntu/ xenial universe
deb http://it.archive.ubuntu.com/ubuntu/ xenial-updates universe
# deb-src http://it.archive.ubuntu.com/ubuntu/ xenial-updates universe

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
deb http://it.archive.ubuntu.com/ubuntu/ xenial multiverse
# deb-src http://it.archive.ubuntu.com/ubuntu/ xenial multiverse
deb http://it.archive.ubuntu.com/ubuntu/ xenial-updates multiverse
# deb-src http://it.archive.ubuntu.com/ubuntu/ xenial-updates multiverse

## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
deb http://it.archive.ubuntu.com/ubuntu/ xenial-backports main restricted universe multiverse
# deb-src http://it.archive.ubuntu.com/ubuntu/ xenial-backports main restricted universe multiverse

## Uncomment the following two lines to add software from Canonical's
## 'partner' repository.
## This software is not part of Ubuntu, but is offered by Canonical and the
## respective vendors as a service to Ubuntu users.
# deb http://archive.canonical.com/ubuntu xenial partner
# deb-src http://archive.canonical.com/ubuntu xenial partner

deb http://security.ubuntu.com/ubuntu xenial-security main restricted
# deb-src http://security.ubuntu.com/ubuntu xenial-security main restricted
deb http://security.ubuntu.com/ubuntu xenial-security universe
# deb-src http://security.ubuntu.com/ubuntu xenial-security universe
deb http://security.ubuntu.com/ubuntu xenial-security multiverse
# deb-src http://security.ubuntu.com/ubuntu xenial-security multiverse
deb http://archive.ubuntu.com/ubuntu/ xenial multiverse
deb http://archive.ubuntu.com/ubuntu/ xenial multiverse
deb http://archive.ubuntu.com/ubuntu/ xenial multiverse
deb http://archive.ubuntu.com/ubuntu/ xenial multiverse

Reply all
Reply to author
Forward
0 new messages