Closed beyondjjw closed 8 years ago
Hello beyondjjw, I had the same problem...
As far as I know, this error is caused by the fact that you've installed apache2. Your make command is trying to include '-I/usr/include/httpd', but I guess this folder does not exist on your system... Try to change it into '-I/usr/include/apache2' or '-I/usr/local/include/apache2'.
This is my approach:
In /netopeer-gui/install/:
./configure websockets_CFLAGS=-I/usr/include/apache2 httpdmoduledir=/usr/lib/apache2/modules/ httpdconfddir=/etc/apache2/apache2.conf
In /netopeer-gui/install/mod_netconf:
./configure --prefix=/usr/ websockets_CFLAGS=-I/usr/include/apache2 httpdmoduledir=lib/apache2/modules/ httpdconfddir=../etc/apache2/apache2.conf
The last command might look strange, but in my understanding the configure script does not take the paths of 'httpdmoduledir' and 'httpdconfddir', it is starting with the prefix, eg. /usr/../etc/apache2/apache2.conf
Unfortunately, this will not solve the problem - it's just leading to my issue: #92
@beyondjjw Do you have apache-dev
? It contains mentioned header files: https://packages.debian.org/sid/amd64/apache2-dev/filelist (this is the first link I found)
@0xADA5 Well, httpdconfdir is meant to be a dir where to store config file of NetopeerGUI. In my case, it is set to
httpdconfddir="/etc/httpd/conf.d"
Because that is a nice place where to store netopeergui.conf
with config for apache...
apache2-dev is already the newest @cejkato2
@cejkato2:
I'm sorry and yes that's right! httpdconfddir
is expected to be a directory!
However, I've installed apache2 and it's running.
Even though there is no /etc/httpd/
and therefore no /etc/httpd/conf.d
. Indeed, in my understanding, this is correct, because Ubuntu is using Apache(2) and systems like Red Hat are using httpd.
Nevertheless, my apache2 folder does not contain any directory conf.d
- but if I understood correctly, this doesn't matter. It's just a folder to store the configuration!?
With regard to this difference: Is the Netopeer GUI expected to work on Ubuntu systems as well? Would you suggest to use anything else instead of Apache2?
If so, what do you propose?
@beyondjjw:
Did you try to set the websockets_CFLAGS
path? I'm pretty sure, that this folder contains the missing unixd.h
(/usr/include/apache2/
or /usr/local/include/apache2`).
Hi all. I slept just a few hours this night, however, I figured this out somehow... Well, at least partially. Have a look at this: https://github.com/CESNET/Netopeer-GUI/blob/master/install/ubuntu/Vagrantfile
Naturally, I had to make some changes in mod_netconf
in order to be compilable. Those changes are in https://github.com/CESNET/mod_netconf/tree/ubuntu branch (automatically checked out by vagrant inline script).
I hope this will help you with your build. It has finished successfully for me (even though there are warnings there).
I would really appreciate your testing, since the only thing I had time for was the compilation. So, any patches/pull requests will be helpful.
@alexadavid should be able to add his installation of the NetopeerGUI frontend by now.
@cejkato2: Thank you very much!! I still have some trouble to get the GUI working, but mod_netconf is compiling without errors!
could you send me output from installation of netopeergui? or any error on screen or from logs?
Hello alexadavid, please excuse the delay. I've tried to figure out what's wrong on my installation, but it's still not working. I'd appreciate any help on this issue.
A short description:
Installation seems to work, but I can't load the page.
If I try to open http://localhost/netopeer-gui
, I'll get linked to http://localhost/netopeer-gui/login
but that's all. I get the following message:
Not Found
The requested URL /netopeer-gui/login was not found on this server.
Apache/2.4.7 (Ubuntu) Server at localhost Port 80
Here some information (details are listed below):
make
and make install
It succeded for both netopeer-gui and mod_netconf - as far as I can see./var/www/netopeer-gui/
allow everybody anythin (just for testing)php app/check.php
Errors:
PHP Warning: file_get_contents(/var/www/netopeer-gui/app/../vendor/sensio/distribution-bundle/Sensio/Bundle/DistributionBundle/Resources/skeleton/app/SymfonyRequirements.php): failed to open stream: No such file or directory in /var/www/netopeer-gui/app/SymfonyRequirements.php on line 534
ERROR Vendor libraries must be installed
and
ERROR date.timezone setting must be set
composer.phar
netopeer-gui/bin/doctrine
and doctrine.php
, run php ./composer.phar install
...
- Installing doctrine/orm (v2.3.6)
Loading from cache
Skipped installation of bin bin/doctrine for package doctrine/orm: name conflicts with an existing file
Skipped installation of bin bin/doctrine.php for package doctrine/orm: name conflicts with an existing file
...
Parameters:
database_driver (pdo_sqlite):
database_host (localhost):
database_port (null):
database_name (null):
database_user (null):
database_path ('%kernel.root_dir%/netopeerWebGui.db'):
database_password (null):
mailer_transport (smtp):
mailer_host (localhost):
mailer_user (null):
mailer_password (null):
locale (en):
secret (fjdpaiouczvjyqperncvmz0900rfq):
netopeer_single_instance (false):
saml_entity_id (netopeergui): netopeer-gui
saml_base_url ('https://localhost/netopeergui'): https://localhost/netopeer-gui
.6. set timezone in php.ini
php app/check.php
Passed!ServerName localhost
to /etc/apache2.conf
copy /etc/apache2/netopeer-gui.conf
to sites-available
and sites-enabled
run apache2ctl restart
firefox http://localhost/netopeer-gui
Not Found
The requested URL /netopeer-gui/login was not found on this server.
Apache/2.4.7 (Ubuntu) Server at localhost Port 80
Content of /var/log/apache2/error.log
:
[Fri Mar 18 13:31:51.402492 2016] [mpm_prefork:notice] [pid 32745] AH00163: Apache/2.4.7 (Ubuntu) PHP/5.5.9-1ubuntu4.14 configured -- resuming normal operations
[Fri Mar 18 13:31:51.402544 2016] [core:notice] [pid 32745] AH00094: Command line: '/usr/sbin/apache2'
Create '/var/www/'
============================================================================================================================================================================================
Clone NetopeerGUI
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Clone repository: 'https://github.com/cesnet/netopeer-gui.git'
Nach »netopeer-gui« wird geklont
remote: Counting objects: 19004, done.
remote: Compressing objects: 100% (100/100), done.
remote: Total 19004 (delta 38), reused 0 (delta 0), pack-reused 18897
Objekte werden empfangen: 100% (19004/19004), 16.85 MiB | 6.12 MiB/s, done.
Unterschiede werden aufgelöst: 100% (8590/8590), done.
Verbundenheit wird überprüft … Fertig.
============================================================================================================================================================================================
Clone mod_netconf - Ubuntu branch
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Nach »mod_netconf« wird geklont
remote: Counting objects: 33, done.
remote: Compressing objects: 100% (29/29), done.
remote: Total 33 (delta 2), reused 19 (delta 2), pack-reused 0
Unpacking objects: 100% (33/33), done.
Verbundenheit wird überprüft … Fertig.
============================================================================================================================================================================================
Configure, make and make install NetopeerGui - GitHubversion
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Configure, make and make install NetopeerGui - GitHubversion (Yes/No/Skip)? y
============================================================================================================================================================================================
Run Configure And Make
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
____________________________________________________________________________________________________________________________________________________________________________________________
netopeer-gui: ./bootstrap.sh ..
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
configure.ac:99: installing './compile'
configure.ac:99: installing './config.guess'
configure.ac:99: installing './config.sub'
configure.ac:6: installing './install-sh'
configure.ac:6: installing './missing'
Makefile.am: installing './INSTALL'
src/Makefile.am: installing './depcomp'
configure.ac:6: installing './install-sh'
configure.ac:6: installing './missing'
____________________________________________________________________________________________________________________________________________________________________________________________
netopeer-gui: ./configure ..
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Configure: ./configure --prefix=/usr/ --exec-prefix=/usr/lib/ --without-notifications websockets_CFLAGS=-I/usr/include/apache2 httpdmoduledir=/usr/lib/apache2/modules/ httpdconfddir=/etc/apache2/
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking how to create a pax tar archive... gnutar
checking for rpmbuild... no
checking for httpd... no
checking for apachectl... /usr/sbin/apachectl
checking for php... /usr/bin/php
checking for php module dom... yes
checking for php module json... yes
checking for php module xml... yes
checking for php module pdo... yes
checking for php module intl... yes
checking for php module sysvsem... yes
checking for pyang... yes
checking for python... /usr/bin/python
checking for rpmbuild... (cached) no
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating netopeergui.conf
config.status: creating pyang/Makefile
=== configuring in mod_netconf (/var/www/netopeer-gui/install/mod_netconf)
configure: running /bin/bash ./configure --disable-option-checking '--prefix=/usr' '--exec-prefix=/usr/lib/' '--without-notifications' 'websockets_CFLAGS=-I/usr/include/apache2' 'httpdmoduledir=/usr/lib/apache2/modules/' 'httpdconfddir=/etc/apache2/' --cache-file=/dev/null --srcdir=.
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether make supports nested variables... (cached) yes
checking for apxs2... /usr/bin/apxs2
checking for rpmbuild... no
checking for httpd... no
checking for apachectl... /usr/sbin/apachectl
checking for rpmbuild... (cached) no
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for json... yes
checking for apr... yes
checking for aprutil... yes
checking for netconf... yes
checking for xml... yes
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for style of include used by make... GNU
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether gcc understands -c and -o together... yes
checking dependency style of gcc... gcc3
checking for the pthreads library -lpthreads... no
checking whether pthreads work without any flags... no
checking whether pthreads work with -Kthread... no
checking whether pthreads work with -kthread... no
checking for the pthreads library -llthread... no
checking whether pthreads work with -pthread... yes
checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE
checking if more special flags are required for pthreads... no
checking for PTHREAD_PRIO_INHERIT... yes
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking for unistd.h... (cached) yes
checking for int64_t... yes
checking for size_t... yes
checking for ssize_t... yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible realloc... yes
checking for getdelim... yes
checking for gettimeofday... yes
checking for memset... yes
checking for socket... yes
checking for strdup... yes
checking for strerror... yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating config.h
config.status: creating mod_netconf.spec
config.status: creating conf.d/Makefile
config.status: creating src/Makefile
config.status: executing depfiles commands
------------------------------------------------------------------------
mod_netconf 1.0.2
------------------------------------------------------------------------
Configuration Options Summary:
Documentation..........:
Compilation............: make (or gmake)
asxs.................:
LIBS.................: -ljson-c -lnetconf -lxml2
CFLAGS...............: -I/usr/include/json-c -I/usr/include/libxml2 -Djsonincdir=1 -I/usr/include/apache2
Installation...........: make install (as root if needed, with 'su' or 'sudo')
prefix...............: /usr
python module dir....:
webgui dir...........:
webgui name..........:
httpdmoduledir.......: /usr//usr/lib/apache2/modules/
httpdconfddir........: /usr//etc/apache2/
Su user for process:...............:
Su group for process:..............:
Chown user for sock file:...............:
Chown group for sock file:..............:
------------------------------------------------------------------------
netopeergui 1.0.0
------------------------------------------------------------------------
Configuration Options Summary:
Documentation..........:
Compilation............: make (or gmake)
asxs.................:
LIBS.................:
CFLAGS...............:
Components
mod_netconf..........: yes
pyang plugins........: yes
Installation...........: make install (as root if needed, with 'su' or 'sudo')
prefix...............: /usr
python module dir....: /usr/lib/python2.7/dist-packages/pyang/plugins
webgui dir...........: /var/www
webgui name..........: netopeer-gui
httpdmoduledir.......: /usr/lib/apache2/modules/
httpdconfddir........: /etc/apache2/
____________________________________________________________________________________________________________________________________________________________________________________________
mod_netconf: ./bootstrap.sh ..
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
____________________________________________________________________________________________________________________________________________________________________________________________
mod_netconf: ./mod_netconf/configure ..
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Configure: ./configure -q --disable-option-checking --prefix=/usr --without-notifications netconf_CFLAGS=-I/usr/include/apache2 httpdmoduledir=lib/apache2/modules/ httpdconfddir=../etc/apache2/ --cache-file=/dev/null
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
------------------------------------------------------------------------
mod_netconf 1.0.2
------------------------------------------------------------------------
Configuration Options Summary:
Documentation..........:
Compilation............: make (or gmake)
asxs.................:
LIBS.................: -ljson-c -lnetconf -lxml2
CFLAGS...............: -I/usr/include/json-c -I/usr/include/apache2 -I/usr/include/libxml2 -Djsonincdir=1 -I/usr/include/apache2
Installation...........: make install (as root if needed, with 'su' or 'sudo')
prefix...............: /usr
python module dir....:
webgui dir...........:
webgui name..........:
httpdmoduledir.......: /usr/lib/apache2/modules/
httpdconfddir........: /usr/../etc/apache2/
Su user for process:...............:
Su group for process:..............:
Chown user for sock file:...............:
Chown group for sock file:..............:
============================================================================================================================================================================================
netopeer-gui: 'make'
____________________________________________________________________________________________________________________________________________________________________________________________
Making all in mod_netconf
make[1]: Verzeichnis »/var/www/netopeer-gui/install/mod_netconf« wird betreten
Making all in src
make[2]: Verzeichnis »/var/www/netopeer-gui/install/mod_netconf/src« wird betreten
gcc -I/usr/include/json-c -I/usr/include/apache2 -I/usr/include/libxml2 -Djsonincdir=1 -I/usr/include/apache2 -DHTTPD_INDEPENDENT -o webgui-backend ./mod_netconf.c ./notification-server.c `apr-1-config --cflags --cppflags --includes --link-ld` -I/usr/include/httpd -laprutil-1 -ljson-c -lnetconf -lxml2
In file included from /usr/include/apache2/ap_config.h:138:0,
from /usr/include/apache2/httpd.h:44,
from ./notification_module.h:48,
from ./notification-server.c:34:
/usr/include/apache2/ap_config_auto.h:99:0: warning: "HAVE_INTTYPES_H" redefined [enabled by default]
#define HAVE_INTTYPES_H 1
^
In file included from /usr/include/libwebsockets.h:34:0,
from ./notification-server.c:33:
/usr/include/lws_config.h:77:0: note: this is the location of the previous definition
#define HAVE_INTTYPES_H
^
In file included from /usr/include/apache2/ap_config.h:138:0,
from /usr/include/apache2/httpd.h:44,
from ./notification_module.h:48,
from ./notification-server.c:34:
/usr/include/apache2/ap_config_auto.h:111:0: warning: "HAVE_MEMORY_H" redefined [enabled by default]
#define HAVE_MEMORY_H 1
^
In file included from /usr/include/libwebsockets.h:34:0,
from ./notification-server.c:33:
/usr/include/lws_config.h:87:0: note: this is the location of the previous definition
#define HAVE_MEMORY_H
^
In file included from /usr/include/apache2/ap_config.h:138:0,
from /usr/include/apache2/httpd.h:44,
from ./notification_module.h:48,
from ./notification-server.c:34:
/usr/include/apache2/ap_config_auto.h:144:0: warning: "HAVE_STDINT_H" redefined [enabled by default]
#define HAVE_STDINT_H 1
^
In file included from /usr/include/libwebsockets.h:34:0,
from ./notification-server.c:33:
/usr/include/lws_config.h:103:0: note: this is the location of the previous definition
#define HAVE_STDINT_H
^
In file included from /usr/include/apache2/ap_config.h:138:0,
from /usr/include/apache2/httpd.h:44,
from ./notification_module.h:48,
from ./notification-server.c:34:
/usr/include/apache2/ap_config_auto.h:147:0: warning: "HAVE_STDLIB_H" redefined [enabled by default]
#define HAVE_STDLIB_H 1
^
In file included from /usr/include/libwebsockets.h:34:0,
from ./notification-server.c:33:
/usr/include/lws_config.h:106:0: note: this is the location of the previous definition
#define HAVE_STDLIB_H
^
In file included from /usr/include/apache2/ap_config.h:138:0,
from /usr/include/apache2/httpd.h:44,
from ./notification_module.h:48,
from ./notification-server.c:34:
/usr/include/apache2/ap_config_auto.h:150:0: warning: "HAVE_STRINGS_H" redefined [enabled by default]
#define HAVE_STRINGS_H 1
^
In file included from /usr/include/libwebsockets.h:34:0,
from ./notification-server.c:33:
/usr/include/lws_config.h:112:0: note: this is the location of the previous definition
#define HAVE_STRINGS_H
^
In file included from /usr/include/apache2/ap_config.h:138:0,
from /usr/include/apache2/httpd.h:44,
from ./notification_module.h:48,
from ./notification-server.c:34:
/usr/include/apache2/ap_config_auto.h:153:0: warning: "HAVE_STRING_H" redefined [enabled by default]
#define HAVE_STRING_H 1
^
In file included from /usr/include/libwebsockets.h:34:0,
from ./notification-server.c:33:
/usr/include/lws_config.h:115:0: note: this is the location of the previous definition
#define HAVE_STRING_H
^
In file included from /usr/include/apache2/ap_config.h:138:0,
from /usr/include/apache2/httpd.h:44,
from ./notification_module.h:48,
from ./notification-server.c:34:
/usr/include/apache2/ap_config_auto.h:165:0: warning: "HAVE_SYS_PRCTL_H" redefined [enabled by default]
#define HAVE_SYS_PRCTL_H 1
^
In file included from /usr/include/libwebsockets.h:34:0,
from ./notification-server.c:33:
/usr/include/lws_config.h:118:0: note: this is the location of the previous definition
#define HAVE_SYS_PRCTL_H
^
In file included from /usr/include/apache2/ap_config.h:138:0,
from /usr/include/apache2/httpd.h:44,
from ./notification_module.h:48,
from ./notification-server.c:34:
/usr/include/apache2/ap_config_auto.h:180:0: warning: "HAVE_SYS_SOCKET_H" redefined [enabled by default]
#define HAVE_SYS_SOCKET_H 1
^
In file included from /usr/include/libwebsockets.h:34:0,
from ./notification-server.c:33:
/usr/include/lws_config.h:121:0: note: this is the location of the previous definition
#define HAVE_SYS_SOCKET_H
^
In file included from /usr/include/apache2/ap_config.h:138:0,
from /usr/include/apache2/httpd.h:44,
from ./notification_module.h:48,
from ./notification-server.c:34:
/usr/include/apache2/ap_config_auto.h:183:0: warning: "HAVE_SYS_STAT_H" redefined [enabled by default]
#define HAVE_SYS_STAT_H 1
^
In file included from /usr/include/libwebsockets.h:34:0,
from ./notification-server.c:33:
/usr/include/lws_config.h:124:0: note: this is the location of the previous definition
#define HAVE_SYS_STAT_H
^
In file included from /usr/include/apache2/ap_config.h:138:0,
from /usr/include/apache2/httpd.h:44,
from ./notification_module.h:48,
from ./notification-server.c:34:
/usr/include/apache2/ap_config_auto.h:192:0: warning: "HAVE_SYS_TYPES_H" redefined [enabled by default]
#define HAVE_SYS_TYPES_H 1
^
In file included from /usr/include/libwebsockets.h:34:0,
from ./notification-server.c:33:
/usr/include/lws_config.h:127:0: note: this is the location of the previous definition
#define HAVE_SYS_TYPES_H
^
In file included from /usr/include/apache2/ap_config.h:138:0,
from /usr/include/apache2/httpd.h:44,
from ./notification_module.h:48,
from ./notification-server.c:34:
/usr/include/apache2/ap_config_auto.h:204:0: warning: "HAVE_UNISTD_H" redefined [enabled by default]
#define HAVE_UNISTD_H 1
^
In file included from /usr/include/libwebsockets.h:34:0,
from ./notification-server.c:33:
/usr/include/lws_config.h:130:0: note: this is the location of the previous definition
#define HAVE_UNISTD_H
^
/usr/bin/apxs2 -ljson-c -lnetconf -lxml2 -I/usr/include/json-c -I/usr/include/apache2 -I/usr/include/libxml2 -Djsonincdir=1 -I/usr/include/apache2 -c -o mod_netconf.so ./mod_netconf.c ./notification-server.c
/usr/share/apr-1.0/build/libtool --silent --mode=compile --tag=disable-static i686-linux-gnu-gcc -std=gnu99 -prefer-pic -pipe -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -DLINUX -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -pthread -I/usr/include/apache2 -I/usr/include/apr-1.0 -I/usr/include/apr-1.0 -I/usr/include -I/usr/include/json-c -I/usr/include/apache2 -I/usr/include/libxml2 -I/usr/include/apache2 -Djsonincdir=1 -c -o ./mod_netconf.lo ./mod_netconf.c && touch ./mod_netconf.slo
/usr/share/apr-1.0/build/libtool --silent --mode=compile --tag=disable-static i686-linux-gnu-gcc -std=gnu99 -prefer-pic -pipe -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -DLINUX -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -pthread -I/usr/include/apache2 -I/usr/include/apr-1.0 -I/usr/include/apr-1.0 -I/usr/include -I/usr/include/json-c -I/usr/include/apache2 -I/usr/include/libxml2 -I/usr/include/apache2 -Djsonincdir=1 -c -o ./notification-server.lo ./notification-server.c && touch ./notification-server.slo
In file included from /usr/include/apache2/ap_config.h:138:0,
from /usr/include/apache2/httpd.h:44,
from ./notification_module.h:48,
from ./notification-server.c:34:
/usr/include/apache2/ap_config_auto.h:99:0: warning: "HAVE_INTTYPES_H" redefined [enabled by default]
#define HAVE_INTTYPES_H 1
^
In file included from /usr/include/libwebsockets.h:34:0,
from ./notification-server.c:33:
/usr/include/lws_config.h:77:0: note: this is the location of the previous definition
#define HAVE_INTTYPES_H
^
In file included from /usr/include/apache2/ap_config.h:138:0,
from /usr/include/apache2/httpd.h:44,
from ./notification_module.h:48,
from ./notification-server.c:34:
/usr/include/apache2/ap_config_auto.h:111:0: warning: "HAVE_MEMORY_H" redefined [enabled by default]
#define HAVE_MEMORY_H 1
^
In file included from /usr/include/libwebsockets.h:34:0,
from ./notification-server.c:33:
/usr/include/lws_config.h:87:0: note: this is the location of the previous definition
#define HAVE_MEMORY_H
^
In file included from /usr/include/apache2/ap_config.h:138:0,
from /usr/include/apache2/httpd.h:44,
from ./notification_module.h:48,
from ./notification-server.c:34:
/usr/include/apache2/ap_config_auto.h:144:0: warning: "HAVE_STDINT_H" redefined [enabled by default]
#define HAVE_STDINT_H 1
^
In file included from /usr/include/libwebsockets.h:34:0,
from ./notification-server.c:33:
/usr/include/lws_config.h:103:0: note: this is the location of the previous definition
#define HAVE_STDINT_H
^
In file included from /usr/include/apache2/ap_config.h:138:0,
from /usr/include/apache2/httpd.h:44,
from ./notification_module.h:48,
from ./notification-server.c:34:
/usr/include/apache2/ap_config_auto.h:147:0: warning: "HAVE_STDLIB_H" redefined [enabled by default]
#define HAVE_STDLIB_H 1
^
In file included from /usr/include/libwebsockets.h:34:0,
from ./notification-server.c:33:
/usr/include/lws_config.h:106:0: note: this is the location of the previous definition
#define HAVE_STDLIB_H
^
In file included from /usr/include/apache2/ap_config.h:138:0,
from /usr/include/apache2/httpd.h:44,
from ./notification_module.h:48,
from ./notification-server.c:34:
/usr/include/apache2/ap_config_auto.h:150:0: warning: "HAVE_STRINGS_H" redefined [enabled by default]
#define HAVE_STRINGS_H 1
^
In file included from /usr/include/libwebsockets.h:34:0,
from ./notification-server.c:33:
/usr/include/lws_config.h:112:0: note: this is the location of the previous definition
#define HAVE_STRINGS_H
^
In file included from /usr/include/apache2/ap_config.h:138:0,
from /usr/include/apache2/httpd.h:44,
from ./notification_module.h:48,
from ./notification-server.c:34:
/usr/include/apache2/ap_config_auto.h:153:0: warning: "HAVE_STRING_H" redefined [enabled by default]
#define HAVE_STRING_H 1
^
In file included from /usr/include/libwebsockets.h:34:0,
from ./notification-server.c:33:
/usr/include/lws_config.h:115:0: note: this is the location of the previous definition
#define HAVE_STRING_H
^
In file included from /usr/include/apache2/ap_config.h:138:0,
from /usr/include/apache2/httpd.h:44,
from ./notification_module.h:48,
from ./notification-server.c:34:
/usr/include/apache2/ap_config_auto.h:165:0: warning: "HAVE_SYS_PRCTL_H" redefined [enabled by default]
#define HAVE_SYS_PRCTL_H 1
^
In file included from /usr/include/libwebsockets.h:34:0,
from ./notification-server.c:33:
/usr/include/lws_config.h:118:0: note: this is the location of the previous definition
#define HAVE_SYS_PRCTL_H
^
In file included from /usr/include/apache2/ap_config.h:138:0,
from /usr/include/apache2/httpd.h:44,
from ./notification_module.h:48,
from ./notification-server.c:34:
/usr/include/apache2/ap_config_auto.h:180:0: warning: "HAVE_SYS_SOCKET_H" redefined [enabled by default]
#define HAVE_SYS_SOCKET_H 1
^
In file included from /usr/include/libwebsockets.h:34:0,
from ./notification-server.c:33:
/usr/include/lws_config.h:121:0: note: this is the location of the previous definition
#define HAVE_SYS_SOCKET_H
^
In file included from /usr/include/apache2/ap_config.h:138:0,
from /usr/include/apache2/httpd.h:44,
from ./notification_module.h:48,
from ./notification-server.c:34:
/usr/include/apache2/ap_config_auto.h:183:0: warning: "HAVE_SYS_STAT_H" redefined [enabled by default]
#define HAVE_SYS_STAT_H 1
^
In file included from /usr/include/libwebsockets.h:34:0,
from ./notification-server.c:33:
/usr/include/lws_config.h:124:0: note: this is the location of the previous definition
#define HAVE_SYS_STAT_H
^
In file included from /usr/include/apache2/ap_config.h:138:0,
from /usr/include/apache2/httpd.h:44,
from ./notification_module.h:48,
from ./notification-server.c:34:
/usr/include/apache2/ap_config_auto.h:192:0: warning: "HAVE_SYS_TYPES_H" redefined [enabled by default]
#define HAVE_SYS_TYPES_H 1
^
In file included from /usr/include/libwebsockets.h:34:0,
from ./notification-server.c:33:
/usr/include/lws_config.h:127:0: note: this is the location of the previous definition
#define HAVE_SYS_TYPES_H
^
In file included from /usr/include/apache2/ap_config.h:138:0,
from /usr/include/apache2/httpd.h:44,
from ./notification_module.h:48,
from ./notification-server.c:34:
/usr/include/apache2/ap_config_auto.h:204:0: warning: "HAVE_UNISTD_H" redefined [enabled by default]
#define HAVE_UNISTD_H 1
^
In file included from /usr/include/libwebsockets.h:34:0,
from ./notification-server.c:33:
/usr/include/lws_config.h:130:0: note: this is the location of the previous definition
#define HAVE_UNISTD_H
^
/usr/share/apr-1.0/build/libtool --silent --mode=link --tag=disable-static i686-linux-gnu-gcc -std=gnu99 -Wl,--as-needed -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-z,now -o mod_netconf.la -ljson-c -lnetconf -lxml2 -rpath /usr/lib/apache2/modules -module -avoid-version ./notification-server.lo ./mod_netconf.lo
make[2]: Verzeichnis »/var/www/netopeer-gui/install/mod_netconf/src« wird verlassen
Making all in conf.d
make[2]: Verzeichnis »/var/www/netopeer-gui/install/mod_netconf/conf.d« wird betreten
make[2]: Für das Ziel »all« ist nichts zu tun.
make[2]: Verzeichnis »/var/www/netopeer-gui/install/mod_netconf/conf.d« wird verlassen
make[2]: Verzeichnis »/var/www/netopeer-gui/install/mod_netconf« wird betreten
make[2]: Für das Ziel »all-am« ist nichts zu tun.
make[2]: Verzeichnis »/var/www/netopeer-gui/install/mod_netconf« wird verlassen
make[1]: Verzeichnis »/var/www/netopeer-gui/install/mod_netconf« wird verlassen
Making all in pyang
make[1]: Verzeichnis »/var/www/netopeer-gui/install/pyang« wird betreten
make[1]: Für das Ziel »all« ist nichts zu tun.
make[1]: Verzeichnis »/var/www/netopeer-gui/install/pyang« wird verlassen
make[1]: Verzeichnis »/var/www/netopeer-gui/install« wird betreten
make[1]: Für das Ziel »all-am« ist nichts zu tun.
make[1]: Verzeichnis »/var/www/netopeer-gui/install« wird verlassen
============================================================================================================================================================================================
netopeer-gui: 'make install'
____________________________________________________________________________________________________________________________________________________________________________________________
Making install in mod_netconf
make[1]: Verzeichnis »/var/www/netopeer-gui/install/mod_netconf« wird betreten
Making install in src
make[2]: Verzeichnis »/var/www/netopeer-gui/install/mod_netconf/src« wird betreten
make[3]: Verzeichnis »/var/www/netopeer-gui/install/mod_netconf/src« wird betreten
/usr/bin/apxs2 -ljson-c -lnetconf -lxml2 -I/usr/include/json-c -I/usr/include/apache2 -I/usr/include/libxml2 -Djsonincdir=1 -I/usr/include/apache2 -c -o mod_netconf.so ./mod_netconf.c ./notification-server.c
/usr/share/apr-1.0/build/libtool --silent --mode=compile --tag=disable-static i686-linux-gnu-gcc -std=gnu99 -prefer-pic -pipe -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -DLINUX -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -pthread -I/usr/include/apache2 -I/usr/include/apr-1.0 -I/usr/include/apr-1.0 -I/usr/include -I/usr/include/json-c -I/usr/include/apache2 -I/usr/include/libxml2 -I/usr/include/apache2 -Djsonincdir=1 -c -o ./mod_netconf.lo ./mod_netconf.c && touch ./mod_netconf.slo
/usr/share/apr-1.0/build/libtool --silent --mode=compile --tag=disable-static i686-linux-gnu-gcc -std=gnu99 -prefer-pic -pipe -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -DLINUX -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -pthread -I/usr/include/apache2 -I/usr/include/apr-1.0 -I/usr/include/apr-1.0 -I/usr/include -I/usr/include/json-c -I/usr/include/apache2 -I/usr/include/libxml2 -I/usr/include/apache2 -Djsonincdir=1 -c -o ./notification-server.lo ./notification-server.c && touch ./notification-server.slo
In file included from /usr/include/apache2/ap_config.h:138:0,
from /usr/include/apache2/httpd.h:44,
from ./notification_module.h:48,
from ./notification-server.c:34:
/usr/include/apache2/ap_config_auto.h:99:0: warning: "HAVE_INTTYPES_H" redefined [enabled by default]
#define HAVE_INTTYPES_H 1
^
In file included from /usr/include/libwebsockets.h:34:0,
from ./notification-server.c:33:
/usr/include/lws_config.h:77:0: note: this is the location of the previous definition
#define HAVE_INTTYPES_H
^
In file included from /usr/include/apache2/ap_config.h:138:0,
from /usr/include/apache2/httpd.h:44,
from ./notification_module.h:48,
from ./notification-server.c:34:
/usr/include/apache2/ap_config_auto.h:111:0: warning: "HAVE_MEMORY_H" redefined [enabled by default]
#define HAVE_MEMORY_H 1
^
In file included from /usr/include/libwebsockets.h:34:0,
from ./notification-server.c:33:
/usr/include/lws_config.h:87:0: note: this is the location of the previous definition
#define HAVE_MEMORY_H
^
In file included from /usr/include/apache2/ap_config.h:138:0,
from /usr/include/apache2/httpd.h:44,
from ./notification_module.h:48,
from ./notification-server.c:34:
/usr/include/apache2/ap_config_auto.h:144:0: warning: "HAVE_STDINT_H" redefined [enabled by default]
#define HAVE_STDINT_H 1
^
In file included from /usr/include/libwebsockets.h:34:0,
from ./notification-server.c:33:
/usr/include/lws_config.h:103:0: note: this is the location of the previous definition
#define HAVE_STDINT_H
^
In file included from /usr/include/apache2/ap_config.h:138:0,
from /usr/include/apache2/httpd.h:44,
from ./notification_module.h:48,
from ./notification-server.c:34:
/usr/include/apache2/ap_config_auto.h:147:0: warning: "HAVE_STDLIB_H" redefined [enabled by default]
#define HAVE_STDLIB_H 1
^
In file included from /usr/include/libwebsockets.h:34:0,
from ./notification-server.c:33:
/usr/include/lws_config.h:106:0: note: this is the location of the previous definition
#define HAVE_STDLIB_H
^
In file included from /usr/include/apache2/ap_config.h:138:0,
from /usr/include/apache2/httpd.h:44,
from ./notification_module.h:48,
from ./notification-server.c:34:
/usr/include/apache2/ap_config_auto.h:150:0: warning: "HAVE_STRINGS_H" redefined [enabled by default]
#define HAVE_STRINGS_H 1
^
In file included from /usr/include/libwebsockets.h:34:0,
from ./notification-server.c:33:
/usr/include/lws_config.h:112:0: note: this is the location of the previous definition
#define HAVE_STRINGS_H
^
In file included from /usr/include/apache2/ap_config.h:138:0,
from /usr/include/apache2/httpd.h:44,
from ./notification_module.h:48,
from ./notification-server.c:34:
/usr/include/apache2/ap_config_auto.h:153:0: warning: "HAVE_STRING_H" redefined [enabled by default]
#define HAVE_STRING_H 1
^
In file included from /usr/include/libwebsockets.h:34:0,
from ./notification-server.c:33:
/usr/include/lws_config.h:115:0: note: this is the location of the previous definition
#define HAVE_STRING_H
^
In file included from /usr/include/apache2/ap_config.h:138:0,
from /usr/include/apache2/httpd.h:44,
from ./notification_module.h:48,
from ./notification-server.c:34:
/usr/include/apache2/ap_config_auto.h:165:0: warning: "HAVE_SYS_PRCTL_H" redefined [enabled by default]
#define HAVE_SYS_PRCTL_H 1
^
In file included from /usr/include/libwebsockets.h:34:0,
from ./notification-server.c:33:
/usr/include/lws_config.h:118:0: note: this is the location of the previous definition
#define HAVE_SYS_PRCTL_H
^
In file included from /usr/include/apache2/ap_config.h:138:0,
from /usr/include/apache2/httpd.h:44,
from ./notification_module.h:48,
from ./notification-server.c:34:
/usr/include/apache2/ap_config_auto.h:180:0: warning: "HAVE_SYS_SOCKET_H" redefined [enabled by default]
#define HAVE_SYS_SOCKET_H 1
^
In file included from /usr/include/libwebsockets.h:34:0,
from ./notification-server.c:33:
/usr/include/lws_config.h:121:0: note: this is the location of the previous definition
#define HAVE_SYS_SOCKET_H
^
In file included from /usr/include/apache2/ap_config.h:138:0,
from /usr/include/apache2/httpd.h:44,
from ./notification_module.h:48,
from ./notification-server.c:34:
/usr/include/apache2/ap_config_auto.h:183:0: warning: "HAVE_SYS_STAT_H" redefined [enabled by default]
#define HAVE_SYS_STAT_H 1
^
In file included from /usr/include/libwebsockets.h:34:0,
from ./notification-server.c:33:
/usr/include/lws_config.h:124:0: note: this is the location of the previous definition
#define HAVE_SYS_STAT_H
^
In file included from /usr/include/apache2/ap_config.h:138:0,
from /usr/include/apache2/httpd.h:44,
from ./notification_module.h:48,
from ./notification-server.c:34:
/usr/include/apache2/ap_config_auto.h:192:0: warning: "HAVE_SYS_TYPES_H" redefined [enabled by default]
#define HAVE_SYS_TYPES_H 1
^
In file included from /usr/include/libwebsockets.h:34:0,
from ./notification-server.c:33:
/usr/include/lws_config.h:127:0: note: this is the location of the previous definition
#define HAVE_SYS_TYPES_H
^
In file included from /usr/include/apache2/ap_config.h:138:0,
from /usr/include/apache2/httpd.h:44,
from ./notification_module.h:48,
from ./notification-server.c:34:
/usr/include/apache2/ap_config_auto.h:204:0: warning: "HAVE_UNISTD_H" redefined [enabled by default]
#define HAVE_UNISTD_H 1
^
In file included from /usr/include/libwebsockets.h:34:0,
from ./notification-server.c:33:
/usr/include/lws_config.h:130:0: note: this is the location of the previous definition
#define HAVE_UNISTD_H
^
/usr/share/apr-1.0/build/libtool --silent --mode=link --tag=disable-static i686-linux-gnu-gcc -std=gnu99 -Wl,--as-needed -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-z,now -o mod_netconf.la -ljson-c -lnetconf -lxml2 -rpath /usr/lib/apache2/modules -module -avoid-version ./notification-server.lo ./mod_netconf.lo
if [ "x/usr/lib/apache2/modules/" == x ]; then \
/usr/bin/apxs2 -i -a mod_netconf.la; else \
{ \
mkdir -p "/usr/lib/apache2/modules/"; \
/usr/bin/apxs2 -i -S LIBEXECDIR="/usr/lib/apache2/modules/" -a mod_netconf.la; } \
fi
/usr/share/apache2/build/instdso.sh SH_LIBTOOL='/usr/share/apr-1.0/build/libtool' mod_netconf.la /usr/lib/apache2/modules/
/usr/share/apr-1.0/build/libtool --mode=install install mod_netconf.la /usr/lib/apache2/modules//
libtool: install: install .libs/mod_netconf.so /usr/lib/apache2/modules//mod_netconf.so
libtool: install: install .libs/mod_netconf.lai /usr/lib/apache2/modules//mod_netconf.la
libtool: install: warning: remember to run `libtool --finish /usr/lib/apache2/modules'
chmod 644 /usr/lib/apache2/modules//mod_netconf.so
[preparing module `netconf' in /etc/apache2/mods-available/netconf.load]
Module netconf already enabled
make[3]: Für das Ziel »install-data-am« ist nichts zu tun.
make[3]: Verzeichnis »/var/www/netopeer-gui/install/mod_netconf/src« wird verlassen
make[2]: Verzeichnis »/var/www/netopeer-gui/install/mod_netconf/src« wird verlassen
Making install in conf.d
make[2]: Verzeichnis »/var/www/netopeer-gui/install/mod_netconf/conf.d« wird betreten
make[3]: Verzeichnis »/var/www/netopeer-gui/install/mod_netconf/conf.d« wird betreten
make[3]: Für das Ziel »install-exec-am« ist nichts zu tun.
/bin/mkdir -p '/usr/../etc/apache2/'
/usr/bin/install -c -m 644 mod_netconf.conf '/usr/../etc/apache2/'
make[3]: Verzeichnis »/var/www/netopeer-gui/install/mod_netconf/conf.d« wird verlassen
make[2]: Verzeichnis »/var/www/netopeer-gui/install/mod_netconf/conf.d« wird verlassen
make[2]: Verzeichnis »/var/www/netopeer-gui/install/mod_netconf« wird betreten
make[3]: Verzeichnis »/var/www/netopeer-gui/install/mod_netconf« wird betreten
make[3]: Für das Ziel »install-exec-am« ist nichts zu tun.
make[3]: Für das Ziel »install-data-am« ist nichts zu tun.
make[3]: Verzeichnis »/var/www/netopeer-gui/install/mod_netconf« wird verlassen
make[2]: Verzeichnis »/var/www/netopeer-gui/install/mod_netconf« wird verlassen
make[1]: Verzeichnis »/var/www/netopeer-gui/install/mod_netconf« wird verlassen
Making install in pyang
make[1]: Verzeichnis »/var/www/netopeer-gui/install/pyang« wird betreten
make[2]: Verzeichnis »/var/www/netopeer-gui/install/pyang« wird betreten
make[2]: Für das Ziel »install-exec-am« ist nichts zu tun.
/bin/mkdir -p '/usr/lib/python2.7/dist-packages/pyang/plugins'
/usr/bin/install -c nmp.py resptempl.py wyin.py '/usr/lib/python2.7/dist-packages/pyang/plugins'
make[2]: Verzeichnis »/var/www/netopeer-gui/install/pyang« wird verlassen
make[1]: Verzeichnis »/var/www/netopeer-gui/install/pyang« wird verlassen
make[1]: Verzeichnis »/var/www/netopeer-gui/install« wird betreten
make[2]: Verzeichnis »/var/www/netopeer-gui/install« wird betreten
make[2]: Für das Ziel »install-exec-am« ist nichts zu tun.
make install-data-hook
make[3]: Verzeichnis »/var/www/netopeer-gui/install« wird betreten
[ -e "/etc/apache2/" ] || mkdir -p "/etc/apache2/"; \
[ -e "/etc/apache2//netopeer-gui.conf" ] && mv "/etc/apache2//netopeer-gui.conf" "/etc/apache2//netopeer-gui.conf.back"; \
cp netopeergui.conf /etc/apache2//netopeer-gui.conf;
make[3]: Verzeichnis »/var/www/netopeer-gui/install« wird verlassen
make[2]: Verzeichnis »/var/www/netopeer-gui/install« wird verlassen
make[1]: Verzeichnis »/var/www/netopeer-gui/install« wird verlassen
PHP Warning: file_get_contents(/var/www/netopeer-gui/app/../vendor/sensio/distribution-bundle/Sensio/Bundle/DistributionBundle/Resources/skeleton/app/SymfonyRequirements.php): failed to open stream: No such file or directory in /var/www/netopeer-gui/app/SymfonyRequirements.php on line 534
********************************
* *
* Symfony requirements check *
* *
********************************
* Configuration file used by PHP: /etc/php5/cli/php.ini
** ATTENTION **
* The PHP CLI can use a different php.ini file
* than the one used with your web server.
* To be on the safe side, please also launch the requirements check
* from your web server using the web/config.php script.
** Mandatory requirements **
OK PHP version must be at least 5.3.3 (5.5.9-1ubuntu4.14 installed)
OK PHP version must not be 5.3.16 as Symfony won't work properly with it
ERROR Vendor libraries must be installed
Vendor libraries are missing. Install composer following instructions from http://getcomposer.org/. Then run "php composer.phar install" to install them.
OK app/cache/ directory must be writable
OK app/logs/ directory must be writable
ERROR date.timezone setting must be set
Set the "date.timezone" setting in php.ini* (like Europe/Paris).
OK Configured default timezone "Europe/Berlin" must be supported by your installation of PHP
OK json_encode() must be available
OK session_start() must be available
OK ctype_alpha() must be available
OK token_get_all() must be available
OK simplexml_import_dom() must be available
OK detect_unicode must be disabled in php.ini
OK PCRE extension must be available
** Optional recommendations **
WARNING Requirements file should be up-to-date
Your requirements file is outdated. Run composer install and re-check your configuration.
OK You should use at least PHP 5.3.4 due to PHP bug #52083 in earlier versions
OK When using annotations you should have at least PHP 5.3.8 due to PHP bug #55156
OK You should not use PHP 5.4.0 due to the PHP bug #61453
OK When using the logout handler from the Symfony Security Component, you should have at least PHP 5.4.11 due to PHP bug #63379 (as a workaround, you can also set invalidate_session to false in the security logout handler configuration)
OK You should use PHP 5.3.18+ or PHP 5.4.8+ to always get nice error messages for fatal errors in the development environment due to PHP bug #61767/#60909
OK PCRE extension should be at least version 8.0 (8.31 installed)
OK PHP-DOM and PHP-XML modules should be installed
OK mb_strlen() should be available
OK iconv() should be available
OK utf8_decode() should be available
OK posix_isatty() should be available
OK intl extension should be available
OK intl extension should be correctly configured
OK intl ICU version should be at least 4+
OK a PHP accelerator should be installed
OK short_open_tag should be disabled in php.ini
OK magic_quotes_gpc should be disabled in php.ini
OK register_globals should be disabled in php.ini
OK session.auto_start should be disabled in php.ini
OK PDO should be installed
OK PDO should have some drivers installed (currently available: mysql, odbc, sqlite)
php -r "readfile('https://getcomposer.org/installer');" > composer-setup.php
php -r "if (hash('SHA384', file_get_contents('composer-setup.php')) === '41e71d86b40f28e771d4bb662b997f79625196afcca95a5abf44391188c695c6c1456e16154c75a211d238cc3bc5cb47') { echo 'Installer verified'; } else { echo 'Installer corrupt'; unlink('composer-setup.php'); }"
> Installer verified
php composer-setup.php
> All settings correct for using Composer
> Downloading...
>
> Composer successfully installed to: /var/www/netopeer-gui/composer.phar
> Use it: php composer.phar
php -r "unlink('composer-setup.php');"
Loading composer repositories with package information
Updating dependencies (including require-dev)
- Installing jdorn/sql-formatter (v1.2.17)
Loading from cache
- Installing psr/log (1.0.0)
Loading from cache
- Installing twig/twig (v1.24.0)
Loading from cache
- Installing doctrine/lexer (v1.0.1)
Loading from cache
- Installing doctrine/annotations (v1.2.7)
Loading from cache
- Installing doctrine/collections (v1.3.0)
Loading from cache
- Installing doctrine/cache (v1.6.0)
Loading from cache
- Installing doctrine/inflector (v1.1.0)
Loading from cache
- Installing doctrine/common (v2.4.3)
Loading from cache
- Installing symfony/polyfill-mbstring (v1.1.1)
Loading from cache
- Installing symfony/polyfill-apcu (v1.1.1)
Loading from cache
- Installing paragonie/random_compat (v1.3.0)
Loading from cache
- Installing symfony/symfony (v2.3.39)
Loading from cache
- Installing doctrine/dbal (2.3.5)
Loading from cache
- Installing doctrine/doctrine-bundle (v1.2.0)
Loading from cache
- Installing monolog/monolog (1.18.1)
Loading from cache
- Installing symfony/monolog-bundle (v2.3.0)
Loading from cache
- Installing winzou/cache-bundle (dev-master c72a86b)
Cloning c72a86be7ee38fef209d4bc81a7e34efdc70f95a
- Installing rnijveld/xmlseclibs (v1.3.1)
Loading from cache
- Installing aerialship/lightsaml (1.0.5)
Loading from cache
- Installing aerialship/saml-sp-bundle (dev-master 371de10)
Cloning 371de10e6dbc9b7c41c70e1805d52e982521bd19
- Installing doctrine/orm (v2.3.6)
Loading from cache
- Installing twig/extensions (v1.0.1)
Loading from cache
- Installing kriswallsmith/assetic (v1.1.3)
Loading from cache
- Installing symfony/assetic-bundle (v2.3.1)
Loading from cache
- Installing swiftmailer/swiftmailer (v5.4.1)
Loading from cache
- Installing symfony/swiftmailer-bundle (v2.3.11)
Loading from cache
- Installing sensio/distribution-bundle (v2.3.22)
Loading from cache
- Installing sensio/framework-extra-bundle (v2.3.4)
Loading from cache
- Installing sensio/generator-bundle (v2.3.5)
Loading from cache
- Installing incenteev/composer-parameter-handler (v2.1.2)
Loading from cache
paragonie/random_compat suggests installing ext-libsodium (Provides a modern crypto API that can be used to generate random bytes.)
monolog/monolog suggests installing graylog2/gelf-php (Allow sending log messages to a GrayLog2 server)
monolog/monolog suggests installing raven/raven (Allow sending log messages to a Sentry server)
monolog/monolog suggests installing doctrine/couchdb (Allow sending log messages to a CouchDB server)
monolog/monolog suggests installing ruflin/elastica (Allow sending log messages to an Elastic Search server)
monolog/monolog suggests installing videlalvaro/php-amqplib (Allow sending log messages to an AMQP server using php-amqplib)
monolog/monolog suggests installing ext-amqp (Allow sending log messages to an AMQP server (1.0+ required))
monolog/monolog suggests installing ext-mongo (Allow sending log messages to a MongoDB server)
monolog/monolog suggests installing mongodb/mongodb (Allow sending log messages to a MongoDB server via PHP Driver)
monolog/monolog suggests installing aws/aws-sdk-php (Allow sending log messages to AWS services like DynamoDB)
monolog/monolog suggests installing rollbar/rollbar (Allow sending log messages to Rollbar)
monolog/monolog suggests installing php-console/php-console (Allow sending log messages to Google Chrome)
rnijveld/xmlseclibs suggests installing ext/openssl ()
rnijveld/xmlseclibs suggests installing ext/mcrypt ()
aerialship/saml-sp-bundle suggests installing doctrine/mongodb-odm (If you want store sso state to mongodb)
kriswallsmith/assetic suggests installing leafo/lessphp (Assetic provides the integration with the lessphp LESS compiler)
kriswallsmith/assetic suggests installing leafo/scssphp (Assetic provides the integration with the scssphp SCSS compiler)
kriswallsmith/assetic suggests installing ptachoire/cssembed (Assetic provides the integration with phpcssembed to embed data uris)
kriswallsmith/assetic suggests installing leafo/scssphp-compass (Assetic provides the integration with the SCSS compass plugin)
Package winzou/cache-bundle is abandoned, you should avoid using it. Use doctrine/doctrine-cache-bundle instead.
Writing lock file
Generating autoload files
> Incenteev\ParameterHandler\ScriptHandler::buildParameters
Creating the "app/config/parameters.yml" file
Some parameters are missing. Please provide them.
database_driver (pdo_sqlite):
database_host (localhost):
database_port (null):
database_name (null):
database_user (null):
database_path ('%kernel.root_dir%/netopeerWebGui.db'):
database_password (null):
mailer_transport (smtp):
mailer_host (localhost):
mailer_user (null):
mailer_password (null):
locale (en):
secret (fjdpaiouczvjyqperncvmz0900rfq):
netopeer_single_instance (false):
saml_entity_id (netopeergui): netopeer-gui
saml_base_url ('https://localhost/netopeergui'): https://localhost/netopeer-gui
> Sensio\Bundle\DistributionBundle\Composer\ScriptHandler::buildBootstrap
> Sensio\Bundle\DistributionBundle\Composer\ScriptHandler::clearCache
PHP Strict Standards: Declaration of FIT\NetopeerBundle\Entity\SamlUser::setCreatedOn() should be compatible with AerialShip\SamlSPBundle\Model\SSOState::setCreatedOn(DateTime $createdOn) in /var/www/netopeer-gui/src/FIT/NetopeerBundle/Entity/SamlUser.php on line 52
Clearing the cache for the dev environment with debug true
> Sensio\Bundle\DistributionBundle\Composer\ScriptHandler::installAssets
PHP Strict Standards: Declaration of FIT\NetopeerBundle\Entity\SamlUser::setCreatedOn() should be compatible with AerialShip\SamlSPBundle\Model\SSOState::setCreatedOn(DateTime $createdOn) in /var/www/netopeer-gui/src/FIT/NetopeerBundle/Entity/SamlUser.php on line 52
Installing assets using the symlink option
Installing assets for Symfony\Bundle\FrameworkBundle into web/bundles/framework
Installing assets for FIT\NetopeerBundle into web/bundles/fitnetopeer
Installing assets for FIT\Bundle\ModuleDefaultBundle into web/bundles/fitmoduledefault
Installing assets for FIT\Bundle\ModuleXmlBundle into web/bundles/fitmodulexml
Installing assets for Sensio\Bundle\DistributionBundle into web/bundles/sensiodistribution
> Sensio\Bundle\DistributionBundle\Composer\ScriptHandler::installRequirementsFile
> php app/console doctrine:generate:entities FIT
Generating entities for namespace "FIT"
PHP Strict Standards: Declaration of FIT\NetopeerBundle\Entity\SamlUser::setCreatedOn() should be compatible with AerialShip\SamlSPBundle\Model\SSOState::setCreatedOn(DateTime $createdOn) in /var/www/netopeer-gui/src/FIT/NetopeerBundle/Entity/SamlUser.php on line 52
> backing up BaseConnection.php to BaseConnection.php~
> generating FIT\NetopeerBundle\Entity\BaseConnection
> backing up UserCustomData.php to UserCustomData.php~
> generating FIT\NetopeerBundle\Entity\UserCustomData
> backing up ModuleController.php to ModuleController.php~
> generating FIT\NetopeerBundle\Entity\ModuleController
> backing up SamlUser.php to SamlUser.php~
> generating FIT\NetopeerBundle\Entity\SamlUser
> backing up User.php to User.php~
> generating FIT\NetopeerBundle\Entity\User
> php app/console app:install --post=update
========================
Executing post update script.
========================
Error in post update script occured.
chown: invalid user: ‘apache:apache’
chmod: cannot access ‘app/netopeerWebGui.db’: No such file or directory
========================
End of post update script
========================
> php app/console assetic:dump --env=prod --no-debug
Dumping all prod assets.
Debug mode is off.
11:27:14 [dir+] /var/www/netopeer-gui/app/../web/css
11:27:14 [file+] /var/www/netopeer-gui/app/../web/css/stylesheet.css
11:27:14 [dir+] /var/www/netopeer-gui/app/../web/js/compiled
11:27:14 [file+] /var/www/netopeer-gui/app/../web/js/compiled/default.js
11:27:14 [file+] /var/www/netopeer-gui/app/../web/js/compiled/module-default.js
11:27:14 [file+] /var/www/netopeer-gui/app/../web/css/module-default.css
11:27:14 [file+] /var/www/netopeer-gui/app/../web/js/compiled/module-xml.js
11:27:14 [file+] /var/www/netopeer-gui/app/../web/css/module-xml.css
********************************
* *
* Symfony requirements check *
* *
********************************
* Configuration file used by PHP: /etc/php5/cli/php.ini
** ATTENTION **
* The PHP CLI can use a different php.ini file
* than the one used with your web server.
* To be on the safe side, please also launch the requirements check
* from your web server using the web/config.php script.
** Mandatory requirements **
OK PHP version must be at least 5.3.3 (5.5.9-1ubuntu4.14 installed)
OK PHP version must not be 5.3.16 as Symfony won't work properly with it
OK Vendor libraries must be installed
OK app/cache/ directory must be writable
OK app/logs/ directory must be writable
OK date.timezone setting must be set
OK Configured default timezone "Europe/Berlin" must be supported by your installation of PHP
OK json_encode() must be available
OK session_start() must be available
OK ctype_alpha() must be available
OK token_get_all() must be available
OK simplexml_import_dom() must be available
OK detect_unicode must be disabled in php.ini
OK PCRE extension must be available
** Optional recommendations **
OK Requirements file should be up-to-date
OK You should use at least PHP 5.3.4 due to PHP bug #52083 in earlier versions
OK When using annotations you should have at least PHP 5.3.8 due to PHP bug #55156
OK You should not use PHP 5.4.0 due to the PHP bug #61453
OK When using the logout handler from the Symfony Security Component, you should have at least PHP 5.4.11 due to PHP bug #63379 (as a workaround, you can also set invalidate_session to false in the security logout handler configuration)
OK You should use PHP 5.3.18+ or PHP 5.4.8+ to always get nice error messages for fatal errors in the development environment due to PHP bug #61767/#60909
OK PCRE extension should be at least version 8.0 (8.31 installed)
OK PHP-DOM and PHP-XML modules should be installed
OK mb_strlen() should be available
OK iconv() should be available
OK utf8_decode() should be available
OK posix_isatty() should be available
OK intl extension should be available
OK intl extension should be correctly configured
OK intl ICU version should be at least 4+
OK intl.error_level should be 0 in php.ini
OK a PHP accelerator should be installed
OK short_open_tag should be disabled in php.ini
OK magic_quotes_gpc should be disabled in php.ini
OK register_globals should be disabled in php.ini
OK session.auto_start should be disabled in php.ini
OK PDO should be installed
OK PDO should have some drivers installed (currently available: mysql, odbc, sqlite)
@0xADA5 are you sure you have DocumentRoot of your webserver set to /var/www? Because trying to open localhost/netopeer-gui means you should have documentroot set to /var/www/ or configure Location /netopeer-gui. See this for inspiration (apache) https://github.com/CESNET/Netopeer-GUI/blob/master/install/netopeergui.conf.in
@0xADA5 In addition, have a look at httpdconfdir and httpdmoduledir that is set using configure. It is not the best setting.
However, you need not to run apache module, you can use a standalone binary executable that you have compiled (webgui-backend).
@cejkato2:
Regarding DocumentRoot
:
Using the configuration described above, I've tried to replace app.php within the netopeer-gui folder - for testing my configuration concerning apache. In this case I can call this page via http://localhost/netopeer-gui. Furthermore, I can load the apache config page with http://localhost
(/var/www/html/index.html
).
httpdmoduledir
and httpdconfddir
:
Mycurrent settings are:
httpdmoduledir.......: /usr/lib/apache2/modules/
httpdconfddir........: /etc/apache2/
The folder you've suggested to use, httpdconfddir="/etc/httpd/conf.d"
, doesn't exist on my system. However, you're right! This settings might be suboptimal - that's the reason for my 'adjustments' at the end...
Anyway, I think the modules, netopeergui and mod_netconf, are loaded correctly. I've already tried to add them to the enabled modules (/etc/apache2/mods-enabled/
) which leads to the the message that the mod_netconf ist already loaded.
Any idea? Do you need any further information, a log or anything else that could be helpful to identify the problem?
I would say, correct me if I skiped something from the discussion above, that you have to set virtualhost for the URL localhost/netopeer-gui correctly. DocumentRoot must be set to /var/www/netopeer-gui/web, direcotry index must be set to app.php (inspiration here https://github.com/CESNET/Netopeer-GUI/blob/master/install/netopeergui.conf.in#L13).
One further help, just for testing, is to run server from command line
cd /var/www/netopeer-gui; php app/console server:run
This will run server on localhost with given port (you see the info on screen). It runs the application in "development" mode, which is quite slower, but for testing, if everything is installed correctly, is ok.
From log above, I think the db was not initialized correctly. Please, check if the file /var/www/netopeer-gui/app/netopeerWebGui.db exists. If not, or any problem appears, delete this file and run
php app/console doctrine:schema:update --force
. To add default user for login, use php app/console app:user --action=add --user=admin --pass=pass
Well, it's still not working...
The Document Root is correct. I deleted netopeerWebGui.db
and recreated it.
Running the Server from command line was a good idea!!
cd /var/www/netopeer-gui; php app/console server:run
While this tool was running I could access the netopeer-gui via http://localhost:8000/
!
However, without starting the server from command line, I always get linked to http://localhost/netopeer-gui/login
which can't be found. Furthermore, I placed a test.php file at /var/www/netopeer-gui/web
- it can be called via http://localhost/netopeer-gui/test.php`.
I tried to figure out what's wrong, but I can't find the reason...
Any ideas?
And by the way: Thanks for helping!!!
Solved! I had a failure in my Apache/php configuration. I wasn't linked correctly.
Thanks for helping!
I install netopeer-gui in Ubuntu15.10.,and my apache2 is working very well. after run the command "make", it shows error message as below:
make[1]: Entering directory /var/www/netopeer-gui/install/mod_netconf' Making install in src make[2]: Entering directory/var/www/netopeer-gui/install/mod_netconf/src' gcc -lwebsockets -ljson-c -lwebsockets -L/usr/local/lib -lnetconf -lxml2 -I/usr/include/json-c -I/usr/local/include -I/usr/include/libxml2 -DWITH_NOTIFICATIONS -DHTTPD_INDEPENDENT apr-1-config --cflags --cppflags --includes --link-ld -I/usr/include/httpd -laprutil-1 -o webgui-backend ./mod_netconf.c ./notification-server.c ./mod_netconf.c:58:19: fatal error: unixd.h: No such file or directory
include
^ compilation terminated. In file included from ./notification-server.c:34:0: ./notification_module.h:48:19: fatal error: httpd.h: No such file or directory
include
how to continue?