ysrc / xunfeng

巡风是一款适用于企业内网的漏洞快速应急,巡航扫描系统。
GNU General Public License v3.0
3.53k stars 1.34k forks source link

一键安装脚本不好用了 #144

Open czq1351 opened 6 years ago

czq1351 commented 6 years ago

安装完了之后必定 xunfeng:xunfeng_aider FATAL Exited too quickly (process log may have details) xunfeng:xunfeng_db RUNNING pid 10254, uptime 0:00:09 xunfeng:xunfeng_nascan RUNNING pid 10251, uptime 0:00:09 xunfeng:xunfeng_vulscan RUNNING pid 10253, uptime 0:00:09 xunfeng:xunfeng_web RUNNING pid 10252, uptime 0:00:09 我的环境是centos7.2 [root@localhost ~]# uname -a Linux localhost.localdomain 3.10.0-693.11.1.el7.x86_64 #1 SMP Mon Dec 4 23:52:40 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux

czq1351 commented 6 years ago

如果需要详细信息可以联系我的邮箱

Medicean commented 6 years ago

试着下面步骤解决

  1. 停掉目前所有服务
supervisorctl -c /etc/xunfeng.conf stop all
  1. 杀死 supervisord 进程
killall supervisord
  1. 重新启动
/etc/init.d/xunfeng start
czq1351 commented 6 years ago

重启启动之后依然不行 Last login: Mon Dec 18 11:31:35 2017 from 192.168.254.13 [root@localhost ~]# /etc/init.d/xunfeng status [root@localhost ~]# /etc/init.d/xunfeng start Starting XunFeng... [root@localhost ~]# /etc/init.d/xunfeng status xunfeng:xunfeng_aider FATAL Exited too quickly (process log may have details) xunfeng:xunfeng_db RUNNING pid 2113, uptime 0:00:10 xunfeng:xunfeng_nascan RUNNING pid 2104, uptime 0:00:10 xunfeng:xunfeng_vulscan RUNNING pid 2106, uptime 0:00:10 xunfeng:xunfeng_web RUNNING pid 2105, uptime 0:00:10 [root@localhost ~]# /etc/init.d/xunfeng status xunfeng:xunfeng_aider FATAL Exited too quickly (process log may have details) xunfeng:xunfeng_db RUNNING pid 2113, uptime 0:00:14 xunfeng:xunfeng_nascan RUNNING pid 2104, uptime 0:00:14 xunfeng:xunfeng_vulscan RUNNING pid 2106, uptime 0:00:14 xunfeng:xunfeng_web RUNNING pid 2105, uptime 0:00:14 [root@localhost ~]# supervisorctl -c /etc/xunfeng.conf stop all xunfeng:xunfeng_nascan: stopped xunfeng:xunfeng_vulscan: stopped xunfeng:xunfeng_db: stopped xunfeng:xunfeng_web: stopped [root@localhost ~]# killall supervisord [root@localhost ~]# /etc/init.d/xunfeng start Starting XunFeng... [root@localhost ~]# /etc/init.d/xunfeng status xunfeng:xunfeng_aider FATAL Exited too quickly (process log may have details) xunfeng:xunfeng_db RUNNING pid 2202, uptime 0:00:07 xunfeng:xunfeng_nascan RUNNING pid 2199, uptime 0:00:07 xunfeng:xunfeng_vulscan RUNNING pid 2201, uptime 0:00:07 xunfeng:xunfeng_web RUNNING pid 2200, uptime 0:00:07 [root@localhost ~]#

czq1351 commented 6 years ago

Last login: Mon Dec 18 11:31:35 2017 from 192.168.254.13 [root@localhost ~]# /etc/init.d/xunfeng status [root@localhost ~]# /etc/init.d/xunfeng start Starting XunFeng... [root@localhost ~]# /etc/init.d/xunfeng status xunfeng:xunfeng_aider FATAL Exited too quickly (process log may have details) xunfeng:xunfeng_db RUNNING pid 2113, uptime 0:00:10 xunfeng:xunfeng_nascan RUNNING pid 2104, uptime 0:00:10 xunfeng:xunfeng_vulscan RUNNING pid 2106, uptime 0:00:10 xunfeng:xunfeng_web RUNNING pid 2105, uptime 0:00:10 [root@localhost ~]# /etc/init.d/xunfeng status xunfeng:xunfeng_aider FATAL Exited too quickly (process log may have details) xunfeng:xunfeng_db RUNNING pid 2113, uptime 0:00:14 xunfeng:xunfeng_nascan RUNNING pid 2104, uptime 0:00:14 xunfeng:xunfeng_vulscan RUNNING pid 2106, uptime 0:00:14 xunfeng:xunfeng_web RUNNING pid 2105, uptime 0:00:14 [root@localhost ~]# supervisorctl -c /etc/xunfeng.conf stop all xunfeng:xunfeng_nascan: stopped xunfeng:xunfeng_vulscan: stopped xunfeng:xunfeng_db: stopped xunfeng:xunfeng_web: stopped [root@localhost ~]# killall supervisord [root@localhost ~]# /etc/init.d/xunfeng start Starting XunFeng... [root@localhost ~]# /etc/init.d/xunfeng status xunfeng:xunfeng_aider FATAL Exited too quickly (process log may have details) xunfeng:xunfeng_db RUNNING pid 2202, uptime 0:00:07 xunfeng:xunfeng_nascan RUNNING pid 2199, uptime 0:00:07 xunfeng:xunfeng_vulscan RUNNING pid 2201, uptime 0:00:07 xunfeng:xunfeng_web RUNNING pid 2200, uptime 0:00:07 [root@localhost ~]# shutdown -a now

Last login: Mon Dec 11 11:15:42 2017 from 192.168.254.13 [root@localhost ~]# vi /etc/yum.repos.d/mongodb-org-3.2.repo [mongodb-org-3.2] name=MongoDB Repository baseurl=https://repo.mongodb.org/yum/redhat/$releasever/mongodb-org/3.2/x86_64/ gpgcheck=0 enabled=1 gpgkey=https://www.mongodb.org/static/pgp/server-3.2.asc ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ "/etc/yum.repos.d/mongodb-org-3.2.repo" [New] 6L, 200C written [root@localhost ~]# curl -sSL https://raw.githubusercontent.com/ysrc/xunfeng/master/install/install.sh | sh

Dependencies Resolved

========================================================================================================================== Package Arch Version Repository Size

Installing: python2-pip noarch 8.1.2-5.el7 epel 1.7 M

Transaction Summary

Install 1 Package

Total download size: 1.7 M Installed size: 7.2 M Downloading packages: 警告:/var/cache/yum/x86_64/7/epel/packages/python2-pip-8.1.2-5.el7.noarch.rpm: 表頭 V3 RSA/SHA256 Signature, key ID 352c64e5: NOKEY Public key for python2-pip-8.1.2-5.el7.noarch.rpm is not installed python2-pip-8.1.2-5.el7.noarch.rpm | 1.7 MB 00:00:10
Retrieving key from file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7 Importing GPG key 0x352C64E5: Userid : "Fedora EPEL (7) epel@fedoraproject.org" Fingerprint: 91e9 7d7c 4a5e 96f1 7f3e 888f 6a2f aea2 352c 64e5 Package : epel-release-7-9.noarch (@extras) From : /etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7 Running transaction check Running transaction test Transaction test succeeded Running transaction Installing : python2-pip-8.1.2-5.el7.noarch 1/1 Verifying : python2-pip-8.1.2-5.el7.noarch 1/1

Installed: python2-pip.noarch 0:8.1.2-5.el7

Complete! --2017-12-19 15:02:02-- https://sec.ly.com/mirror/dpkg_1.17.10.tar.xz 正在查找主機 sec.ly.com (sec.ly.com)... 139.199.91.27 正在連接 sec.ly.com (sec.ly.com)|139.199.91.27|:443... 連上了。 已送出 HTTP 要求,正在等候回應... 200 OK 長度: 4198340 (4.0M) [application/x-compressed] Saving to: ‘dpkg_1.17.10.tar.xz’

100%[================================================================================>] 4,198,340 840KB/s in 7.3s

2017-12-19 15:02:10 (558 KB/s) - ‘dpkg_1.17.10.tar.xz’ saved [4198340/4198340]

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 how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/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 minix/config.h usability... no checking minix/config.h presence... no checking for minix/config.h... no checking whether it is safe to define EXTENSIONS... yes checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking for style of include used by make... GNU checking whether make supports nested variables... yes checking dependency style of gcc... gcc3 checking whether make supports nested variables... (cached) yes checking whether NLS is requested... yes checking for msgfmt... /usr/bin/msgfmt checking for gmsgfmt... /usr/bin/msgfmt checking for xgettext... /usr/bin/xgettext checking for msgmerge... /usr/bin/msgmerge checking build system type... x86_64-unknown-linux-gnu checking host system type... x86_64-unknown-linux-gnu checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for shared library run path origin... done checking for CFPreferencesCopyAppValue... no checking for CFLocaleCopyCurrent... no checking for GNU gettext in libc... yes checking whether to use NLS... yes checking where the gettext function comes from... libc checking how to print strings... printf checking for a sed that does not truncate output... /usr/bin/sed checking for fgrep... /usr/bin/grep -F checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking how to convert x86_64-unknown-linux-gnu file names to x86_64-unknown-linux-gnu format... func_convert_file_noop checking how to convert x86_64-unknown-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for ar... ar checking for archiver @FILE support... @ checking for strip... strip checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from gcc object... ok checking for sysroot... no checking for mt... no checking if : is a manifest tool... no checking for dlfcn.h... yes checking for objdir... .libs checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... yes checking if gcc static flag -static works... no checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... no checking whether to build static libraries... yes checking for --version-script linker flag... yes checking whether to build dselect... yes checking whether to build start-stop-daemon... yes checking whether to build update-alternatives... yes configure: using directory pkgconfdir = '${prefix}/etc/dpkg' configure: using directory admindir = '${prefix}/var/lib/dpkg' configure: using directory logdir = '${prefix}/var/log' configure: using default dpkg-deb compressor = xz checking for gnutar... no checking for gtar... gtar checking for gcc... (cached) gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking whether gcc understands -c and -o together... (cached) yes checking whether gcc supports C99 features... yes checking for g++... g++ checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking dependency style of g++... gcc3 checking how to run the C++ preprocessor... g++ -E checking for ld used by g++... /usr/bin/ld -m elf_x86_64 checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC -DPIC checking if g++ PIC flag -fPIC -DPIC works... yes checking if g++ static flag -static works... no checking if g++ supports -c -o file.o... yes checking if g++ supports -c -o file.o... (cached) yes checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether g++ supports C++11... no checking for g++ option to accept C++11... -std=gnu++11 checking for flex... no checking for lex... no checking for doxygen... no checking for dot... NO checking for po4a... no checking for perl... /usr/bin/perl checking for pod2man... pod2man checking whether to build with code coverage... no checking for special C compiler options needed for large files... no checking for _FILE_OFFSET_BITS value needed for large files... no checking for gzdopen in -lz... yes checking zlib.h usability... yes checking zlib.h presence... yes checking for zlib.h... yes checking for BZ2_bzdopen in -lbz2... no checking bzlib.h usability... no checking bzlib.h presence... no checking for bzlib.h... no checking for lzma_alone_decoder in -llzma... no checking lzma.h usability... no checking lzma.h presence... no checking for lzma.h... no checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for is_selinux_enabled in -lselinux... yes checking selinux/selinux.h usability... yes checking selinux/selinux.h presence... yes checking for selinux/selinux.h... yes checking whether Unicode is requested... yes checking ncurses/ncurses.h usability... yes checking ncurses/ncurses.h presence... yes checking for ncurses/ncurses.h... yes checking ncurses.h usability... yes checking ncurses.h presence... yes checking for ncurses.h... yes checking curses.h usability... yes checking curses.h presence... yes checking for curses.h... yes checking ncurses/term.h usability... yes checking ncurses/term.h presence... yes checking for ncurses/term.h... yes checking term.h usability... yes checking term.h presence... yes checking for term.h... yes checking ncursesw/ncurses.h usability... yes checking ncursesw/ncurses.h presence... yes checking for ncursesw/ncurses.h... yes checking ncursesw/term.h usability... yes checking ncursesw/term.h presence... yes checking for ncursesw/term.h... yes checking for initscr in -lncursesw... yes checking for proc_stat_list_create in -lps... no checking for kvm_openfiles in -lkvm... no checking for ANSI C header files... (cached) yes checking stddef.h usability... yes checking stddef.h presence... yes checking for stddef.h... yes checking error.h usability... yes checking error.h presence... yes checking for error.h... yes checking err.h usability... yes checking err.h presence... yes checking for err.h... yes checking locale.h usability... yes checking locale.h presence... yes checking for locale.h... yes checking libintl.h usability... yes checking libintl.h presence... yes checking for libintl.h... yes checking kvm.h usability... no checking kvm.h presence... no checking for kvm.h... no checking sys/param.h usability... yes checking sys/param.h presence... yes checking for sys/param.h... yes checking sys/sysctl.h usability... yes checking sys/sysctl.h presence... yes checking for sys/sysctl.h... yes checking sys/syscall.h usability... yes checking sys/syscall.h presence... yes checking for sys/syscall.h... yes checking sys/user.h usability... yes checking sys/user.h presence... yes checking for sys/user.h... yes checking sys/proc.h usability... no checking sys/proc.h presence... no checking for sys/proc.h... no checking sys/pstat.h usability... no checking sys/pstat.h presence... no checking for sys/pstat.h... no checking linux/fiemap.h usability... yes checking linux/fiemap.h presence... yes checking for linux/fiemap.h... yes checking whether byte ordering is bigendian... no checking for an ANSI C-conforming const... yes checking for inline... inline checking for working volatile... yes checking for mode_t... yes checking for pid_t... yes checking for size_t... yes checking for u_int8_t... yes checking for u_int16_t... yes checking for u_int32_t... yes checking for u_int64_t... yes checking for ptrdiff_t... yes checking size of unsigned int... 4 checking size of unsigned long... 8 checking for unistd.h... (cached) yes checking whether sys_siglist is declared... yes checking for va_copy... yes checking for C99 snprintf functions... yes checking whether offsetof is declared... yes checking whether makedev is declared... yes checking whether WCOREDUMP is declared... yes checking whether TIOCNOTTY is declared... yes checking whether O_NOFOLLOW is declared... yes checking whether P_tmpdir is declared... yes checking for program_invocation_short_name... yes checking for __progname... yes checking for getopt... yes checking for getopt_long... yes checking for obstack_free... yes checking for strnlen... yes checking for strndup... yes checking for strerror... yes checking for strsignal... yes checking for asprintf... yes checking for scandir... yes checking for alphasort... yes checking for unsetenv... yes checking whether strnlen is declared... yes checking for memcpy... yes checking for lchown... yes checking for strtoimax... yes checking for isascii... yes checking for setsid... yes checking for getdtablesize... yes checking for getprogname... no checking for getexecname... no checking for lutimes... yes checking for posix_fadvise... yes checking whether gcc accepts -Wall... yes checking whether g++ -std=gnu++11 accepts -Wall... yes checking whether gcc accepts -Wextra... yes checking whether g++ -std=gnu++11 accepts -Wextra... yes checking whether gcc accepts -Wno-unused-parameter... yes checking whether g++ -std=gnu++11 accepts -Wno-unused-parameter... yes checking whether gcc accepts -Wno-missing-field-initializers... yes checking whether g++ -std=gnu++11 accepts -Wno-missing-field-initializers... yes checking whether gcc accepts -Wmissing-declarations... yes checking whether g++ -std=gnu++11 accepts -Wmissing-declarations... yes checking whether gcc accepts -Wmissing-format-attribute... yes checking whether g++ -std=gnu++11 accepts -Wmissing-format-attribute... yes checking whether gcc accepts -Wformat-security... yes checking whether g++ -std=gnu++11 accepts -Wformat-security... yes checking whether gcc accepts -Wpointer-arith... yes checking whether g++ -std=gnu++11 accepts -Wpointer-arith... yes checking whether gcc accepts -Wlogical-op... yes checking whether g++ -std=gnu++11 accepts -Wlogical-op... yes checking whether gcc accepts -Wvla... yes checking whether g++ -std=gnu++11 accepts -Wvla... yes checking whether gcc accepts -Winit-self... yes checking whether g++ -std=gnu++11 accepts -Winit-self... yes checking whether gcc accepts -Wwrite-strings... yes checking whether g++ -std=gnu++11 accepts -Wwrite-strings... yes checking whether gcc accepts -Wcast-align... yes checking whether g++ -std=gnu++11 accepts -Wcast-align... yes checking whether gcc accepts -Wshadow... yes checking whether g++ -std=gnu++11 accepts -Wshadow... yes checking whether gcc accepts -Wdeclaration-after-statement... yes checking whether gcc accepts -Wnested-externs... yes checking whether gcc accepts -Wbad-function-cast... yes checking whether gcc accepts -Wstrict-prototypes... yes checking whether gcc accepts -Wmissing-prototypes... yes checking whether gcc accepts -Wold-style-definition... yes checking whether g++ -std=gnu++11 accepts -Wc++11-compat... yes checking whether g++ -std=gnu++11 accepts -Wzero-as-null-pointer-constant... yes checking dpkg cpu type... amd64 checking dpkg operating system type... linux checking dpkg architecture name... amd64 checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating dpkg-deb/Makefile config.status: creating dpkg-split/Makefile config.status: creating dselect/Makefile config.status: creating dselect/methods/Makefile config.status: creating dselect/po/Makefile.in config.status: creating lib/Makefile config.status: creating lib/compat/Makefile config.status: creating lib/dpkg/Makefile config.status: creating lib/dpkg/libdpkg.pc config.status: creating lib/dpkg/test/Makefile config.status: creating doc/Doxyfile config.status: creating man/Makefile config.status: creating po/Makefile.in config.status: creating scripts/Makefile config.status: creating scripts/mk/Makefile config.status: creating scripts/po/Makefile.in config.status: creating src/Makefile config.status: creating utils/Makefile config.status: creating config.h config.status: executing depfiles commands config.status: executing po-directories commands config.status: creating dselect/po/POTFILES config.status: creating dselect/po/Makefile config.status: creating po/POTFILES config.status: creating po/Makefile config.status: creating scripts/po/POTFILES config.status: creating scripts/po/Makefile config.status: executing libtool commands make all-recursive make[1]: Entering directory /usr/local/src/dpkg-1.17.10' Making all in lib make[2]: Entering directory/usr/local/src/dpkg-1.17.10/lib' Making all in compat make[3]: Entering directory /usr/local/src/dpkg-1.17.10/lib/compat' CC empty.lo CC md5.lo CCLD libcompat.la make[3]: Leaving directory/usr/local/src/dpkg-1.17.10/lib/compat' Making all in dpkg make[3]: Entering directory /usr/local/src/dpkg-1.17.10/lib/dpkg' Making all in . make[4]: Entering directory/usr/local/src/dpkg-1.17.10/lib/dpkg' CC ar.lo CC arch.lo CC atomic-file.lo CC buffer.lo CC cleanup.lo CC command.lo CC compress.lo CC dbdir.lo CC dbmodify.lo CC deb-version.lo CC debug.lo CC depcon.lo CC dir.lo CC dump.lo CC ehandle.lo CC error.lo CC fdio.lo CC file.lo CC fields.lo CC glob.lo CC i18n.lo CC log.lo CC mlib.lo CC namevalue.lo CC nfmalloc.lo CC options.lo CC options-parsers.lo CC parse.lo CC parsehelp.lo CC path.lo CC pkg.lo CC pkg-db.lo CC pkg-array.lo CC pkg-format.lo CC pkg-list.lo CC pkg-namevalue.lo CC pkg-queue.lo CC pkg-show.lo CC pkg-spec.lo CC progname.lo CC program.lo CC progress.lo CC report.lo CC string.lo CC strwide.lo CC subproc.lo CC tarfn.lo CC trigname.lo CC trignote.lo CC triglib.lo CC trigdeferred.lo CC utils.lo CC varbuf.lo CC version.lo CCLD libdpkg.la make[4]: Leaving directory /usr/local/src/dpkg-1.17.10/lib/dpkg' Making all in test make[4]: Entering directory/usr/local/src/dpkg-1.17.10/lib/dpkg/test' make[4]: Nothing to be done for all'. make[4]: Leaving directory/usr/local/src/dpkg-1.17.10/lib/dpkg/test' make[3]: Leaving directory /usr/local/src/dpkg-1.17.10/lib/dpkg' make[3]: Entering directory/usr/local/src/dpkg-1.17.10/lib' make[3]: Nothing to be done for all-am'. make[3]: Leaving directory/usr/local/src/dpkg-1.17.10/lib' make[2]: Leaving directory /usr/local/src/dpkg-1.17.10/lib' Making all in dpkg-deb make[2]: Entering directory/usr/local/src/dpkg-1.17.10/dpkg-deb' CC build.o CC extract.o CC info.o CC main.o CCLD dpkg-deb make[2]: Leaving directory /usr/local/src/dpkg-1.17.10/dpkg-deb' Making all in dpkg-split make[2]: Entering directory/usr/local/src/dpkg-1.17.10/dpkg-split' CC info.o CC join.o CC main.o CC queue.o CC split.o CCLD dpkg-split make[2]: Leaving directory /usr/local/src/dpkg-1.17.10/dpkg-split' Making all in src make[2]: Entering directory/usr/local/src/dpkg-1.17.10/src' CC archives.o CC cleanup.o CC configure.o CC depcon.o CC enquiry.o CC errors.o CC filesdb.o CC filesdb-hash.o CC file-match.o CC filters.o CC infodb-access.o CC infodb-format.o CC infodb-upgrade.o CC divertdb.o CC statdb.o CC help.o CC main.o CC packages.o CC remove.o CC script.o In file included from script.c:36:0: /usr/include/selinux/flask.h:5:2: 警告:#warning "Please remove any #include's of this header in your source code." [-Wcpp]

warning "Please remove any #include's of this header in your source code."

^ /usr/include/selinux/flask.h:6:2: 警告:#warning "Instead, use string_to_security_class() to map the class name to a value." [-Wcpp]

warning "Instead, use string_to_security_class() to map the class name to a value."

^ CC select.o CC trigproc.o CC unpack.o CC update.o CC verify.o CCLD dpkg CC divertcmd.o CCLD dpkg-divert CC querycmd.o CCLD dpkg-query CC statcmd.o CCLD dpkg-statoverride CC trigcmd.o CCLD dpkg-trigger make[2]: Leaving directory /usr/local/src/dpkg-1.17.10/src' Making all in utils make[2]: Entering directory/usr/local/src/dpkg-1.17.10/utils' CC update-alternatives.o CCLD update-alternatives CC start-stop-daemon.o CCLD start-stop-daemon make[2]: Leaving directory /usr/local/src/dpkg-1.17.10/utils' Making all in dselect make[2]: Entering directory/usr/local/src/dpkg-1.17.10/dselect' Making all in methods make[3]: Entering directory /usr/local/src/dpkg-1.17.10/dselect/methods' make[3]: Nothing to be done forall'. make[3]: Leaving directory /usr/local/src/dpkg-1.17.10/dselect/methods' Making all in po make[3]: Entering directory/usr/local/src/dpkg-1.17.10/dselect/po' make[3]: Nothing to be done for all'. make[3]: Leaving directory/usr/local/src/dpkg-1.17.10/dselect/po' make[3]: Entering directory /usr/local/src/dpkg-1.17.10/dselect' CXX basecmds.o CXX baselist.o CXX basetop.o CXX bindings.o GEN curkeys.h Use of uninitialized value $^MATCH in concatenation (.) or string at ./mkcurkeys.pl line 138. Use of uninitialized value $^MATCH in concatenation (.) or string at ./mkcurkeys.pl line 138. Use of uninitialized value $^MATCH in concatenation (.) or string at ./mkcurkeys.pl line 138. Use of uninitialized value $^MATCH in concatenation (.) or string at ./mkcurkeys.pl line 138. Use of uninitialized value $^MATCH in concatenation (.) or string at ./mkcurkeys.pl line 138. Use of uninitialized value $^MATCH in concatenation (.) or string at ./mkcurkeys.pl line 138. Use of uninitialized value $^MATCH in concatenation (.) or string at ./mkcurkeys.pl line 138. Use of uninitialized value $^MATCH in concatenation (.) or string at ./mkcurkeys.pl line 138. Use of uninitialized value $^MATCH in concatenation (.) or string at ./mkcurkeys.pl line 138. Use of uninitialized value $^MATCH in concatenation (.) or string at ./mkcurkeys.pl line 138. Use of uninitialized value $^MATCH in concatenation (.) or string at ./mkcurkeys.pl line 138. Use of uninitialized value $^MATCH in concatenation (.) or string at ./mkcurkeys.pl line 138. Use of uninitialized value $^MATCH in concatenation (.) or string at ./mkcurkeys.pl line 138. Use of uninitialized value $^MATCH in concatenation (.) or string at ./mkcurkeys.pl line 138. Use of uninitialized value $^MATCH in concatenation (.) or string at ./mkcurkeys.pl line 138. Use of uninitialized value $^MATCH in concatenation (.) or string at ./mkcurkeys.pl line 138. Use of uninitialized value $^MATCH in concatenation (.) or string at ./mkcurkeys.pl line 138. Use of uninitialized value $^MATCH in concatenation (.) or string at ./mkcurkeys.pl line 138. Use of uninitialized value $^MATCH in concatenation (.) or string at ./mkcurkeys.pl line 138. Use of uninitialized value $^MATCH in concatenation (.) or string at ./mkcurkeys.pl line 138. Use of uninitialized value $^MATCH in concatenation (.) or string at ./mkcurkeys.pl line 138. Use of uninitialized value $^MATCH in concatenation (.) or string at ./mkcurkeys.pl line 138. Use of uninitialized value $^MATCH in concatenation (.) or string at ./mkcurkeys.pl line 138. Use of uninitialized value $^MATCH in concatenation (.) or string at ./mkcurkeys.pl line 138. Use of uninitialized value $^MATCH in concatenation (.) or string at ./mkcurkeys.pl line 138. Use of uninitialized value $^MATCH in concatenation (.) or string at ./mkcurkeys.pl line 138. Use of uninitialized value $^MATCH in concatenation (.) or string at ./mkcurkeys.pl line 138. Use of uninitialized value $^MATCH in concatenation (.) or string at ./mkcurkeys.pl line 138. Use of uninitialized value $^MATCH in concatenation (.) or string at ./mkcurkeys.pl line 138. Use of uninitialized value $^MATCH in concatenation (.) or string at ./mkcurkeys.pl line 138. Use of uninitialized value $^MATCH in concatenation (.) or string at ./mkcurkeys.pl line 138. Use of uninitialized value $^MATCH in concatenation (.) or string at ./mkcurkeys.pl line 138. Use of uninitialized value $^MATCH in concatenation (.) or string at ./mkcurkeys.pl line 138. Use of uninitialized value $^MATCH in concatenation (.) or string at ./mkcurkeys.pl line 138. Use of uninitialized value $^MATCH in concatenation (.) or string at ./mkcurkeys.pl line 138. Use of uninitialized value $^MATCH in concatenation (.) or string at ./mkcurkeys.pl line 138. Use of uninitialized value $^MATCH in concatenation (.) or string at ./mkcurkeys.pl line 138. Use of uninitialized value $^MATCH in concatenation (.) or string at ./mkcurkeys.pl line 138. Use of uninitialized value $^MATCH in concatenation (.) or string at ./mkcurkeys.pl line 138. Use of uninitialized value $^MATCH in concatenation (.) or string at ./mkcurkeys.pl line 138. Use of uninitialized value $^MATCH in concatenation (.) or string at ./mkcurkeys.pl line 138. Use of uninitialized value $^MATCH in concatenation (.) or string at ./mkcurkeys.pl line 138. Use of uninitialized value $^MATCH in concatenation (.) or string at ./mkcurkeys.pl line 138. Use of uninitialized value $^MATCH in concatenation (.) or string at ./mkcurkeys.pl line 138. Use of uninitialized value $^MATCH in concatenation (.) or string at ./mkcurkeys.pl line 138. Use of uninitialized value $^MATCH in concatenation (.) or string at ./mkcurkeys.pl line 138. Use of uninitialized value $^MATCH in concatenation (.) or string at ./mkcurkeys.pl line 138. Use of uninitialized value $^MATCH in concatenation (.) or string at ./mkcurkeys.pl line 138. Use of uninitialized value $^MATCH in concatenation (.) or string at ./mkcurkeys.pl line 138. Use of uninitialized value $^MATCH in concatenation (.) or string at ./mkcurkeys.pl line 138. Use of uninitialized value $^MATCH in concatenation (.) or string at ./mkcurkeys.pl line 138. Use of uninitialized value $^MATCH in concatenation (.) or string at ./mkcurkeys.pl line 138. Use of uninitialized value $^MATCH in concatenation (.) or string at ./mkcurkeys.pl line 138. Use of uninitialized value $^MATCH in concatenation (.) or string at ./mkcurkeys.pl line 138. Use of uninitialized value $^MATCH in concatenation (.) or string at ./mkcurkeys.pl line 138. Use of uninitialized value $^MATCH in concatenation (.) or string at ./mkcurkeys.pl line 138. Use of uninitialized value $^MATCH in concatenation (.) or string at ./mkcurkeys.pl line 138. Use of uninitialized value $^MATCH in concatenation (.) or string at ./mkcurkeys.pl line 138. Use of uninitialized value $^MATCH in concatenation (.) or string at ./mkcurkeys.pl line 138. Use of uninitialized value $^MATCH in concatenation (.) or string at ./mkcurkeys.pl line 138. Use of uninitialized value $^MATCH in concatenation (.) or string at ./mkcurkeys.pl line 138. Use of uninitialized value $^MATCH in concatenation (.) or string at ./mkcurkeys.pl line 138. Use of uninitialized value $^MATCH in concatenation (.) or string at ./mkcurkeys.pl line 138. Use of uninitialized value $^MATCH in concatenation (.) or string at ./mkcurkeys.pl line 138. Use of uninitialized value $^MATCH in concatenation (.) or string at ./mkcurkeys.pl line 138. Use of uninitialized value $^MATCH in concatenation (.) or string at ./mkcurkeys.pl line 138. Use of uninitialized value $^MATCH in concatenation (.) or string at ./mkcurkeys.pl line 138. Use of uninitialized value $^MATCH in concatenation (.) or string at ./mkcurkeys.pl line 138. Use of uninitialized value $^MATCH in concatenation (.) or string at ./mkcurkeys.pl line 138. Use of uninitialized value $^MATCH in concatenation (.) or string at ./mkcurkeys.pl line 138. Use of uninitialized value $^MATCH in concatenation (.) or string at ./mkcurkeys.pl line 138. Use of uninitialized value $^MATCH in concatenation (.) or string at ./mkcurkeys.pl line 138. Use of uninitialized value $^MATCH in concatenation (.) or string at ./mkcurkeys.pl line 138. Use of uninitialized value $^MATCH in concatenation (.) or string at ./mkcurkeys.pl line 138. Use of uninitialized value $^MATCH in concatenation (.) or string at ./mkcurkeys.pl line 138. Use of uninitialized value $^MATCH in concatenation (.) or string at ./mkcurkeys.pl line 138. Use of uninitialized value $^MATCH in concatenation (.) or string at ./mkcurkeys.pl line 138. Use of uninitialized value $^MATCH in concatenation (.) or string at ./mkcurkeys.pl line 138. Use of uninitialized value $^MATCH in concatenation (.) or string at ./mkcurkeys.pl line 138. Use of uninitialized value $^MATCH in concatenation (.) or string at ./mkcurkeys.pl line 138. Use of uninitialized value $^MATCH in concatenation (.) or string at ./mkcurkeys.pl line 138. Use of uninitialized value $^MATCH in concatenation (.) or string at ./mkcurkeys.pl line 138. Use of uninitialized value $^MATCH in concatenation (.) or string at ./mkcurkeys.pl line 138. Use of uninitialized value $^MATCH in concatenation (.) or string at ./mkcurkeys.pl line 138. Use of uninitialized value $^MATCH in concatenation (.) or string at ./mkcurkeys.pl line 138. Use of uninitialized value $^MATCH in concatenation (.) or string at ./mkcurkeys.pl line 138. Use of uninitialized value $^MATCH in concatenation (.) or string at ./mkcurkeys.pl line 138. Use of uninitialized value $^MATCH in concatenation (.) or string at ./mkcurkeys.pl line 138. Use of uninitialized value $^MATCH in concatenation (.) or string at ./mkcurkeys.pl line 138. Use of uninitialized value $^MATCH in concatenation (.) or string at ./mkcurkeys.pl line 138. Use of uninitialized value $^MATCH in concatenation (.) or string at ./mkcurkeys.pl line 138. Use of uninitialized value $^MATCH in concatenation (.) or string at ./mkcurkeys.pl line 138. Use of uninitialized value $^MATCH in concatenation (.) or string at ./mkcurkeys.pl line 138. Use of uninitialized value $^MATCH in concatenation (.) or string at ./mkcurkeys.pl line 138. Use of uninitialized value $^MATCH in concatenation (.) or string at ./mkcurkeys.pl line 138. Use of uninitialized value $^MATCH in concatenation (.) or string at ./mkcurkeys.pl line 138. Use of uninitialized value $^MATCH in concatenation (.) or string at ./mkcurkeys.pl line 138. Use of uninitialized value $^MATCH in concatenation (.) or string at ./mkcurkeys.pl line 138. Use of uninitialized value $^MATCH in concatenation (.) or string at ./mkcurkeys.pl line 138. Use of uninitialized value $^MATCH in concatenation (.) or string at ./mkcurkeys.pl line 138. Use of uninitialized value $^MATCH in concatenation (.) or string at ./mkcurkeys.pl line 138. Use of uninitialized value $^MATCH in concatenation (.) or string at ./mkcurkeys.pl line 138. Use of uninitialized value $^MATCH in concatenation (.) or string at ./mkcurkeys.pl line 138. Use of uninitialized value $^MATCH in concatenation (.) or string at ./mkcurkeys.pl line 138. Use of uninitialized value $^MATCH in concatenation (.) or string at ./mkcurkeys.pl line 138. Use of uninitialized value $^MATCH in concatenation (.) or string at ./mkcurkeys.pl line 138. Use of uninitialized value $^MATCH in concatenation (.) or string at ./mkcurkeys.pl line 138. Use of uninitialized value $^MATCH in concatenation (.) or string at ./mkcurkeys.pl line 138. Use of uninitialized value $^MATCH in concatenation (.) or string at ./mkcurkeys.pl line 138. Use of uninitialized value $^MATCH in concatenation (.) or string at ./mkcurkeys.pl line 138. Use of uninitialized value $^MATCH in concatenation (.) or string at ./mkcurkeys.pl line 138. Use of uninitialized value $^MATCH in concatenation (.) or string at ./mkcurkeys.pl line 138. Use of uninitialized value $^MATCH in concatenation (.) or string at ./mkcurkeys.pl line 138. Use of uninitialized value $^MATCH in concatenation (.) or string at ./mkcurkeys.pl line 138. Use of uninitialized value $^MATCH in concatenation (.) or string at ./mkcurkeys.pl line 138. Use of uninitialized value $^MATCH in concatenation (.) or string at ./mkcurkeys.pl line 138. Use of uninitialized value $^MATCH in concatenation (.) or string at ./mkcurkeys.pl line 138. Use of uninitialized value $^MATCH in concatenation (.) or string at ./mkcurkeys.pl line 138. Use of uninitialized value $^MATCH in concatenation (.) or string at ./mkcurkeys.pl line 138. Use of uninitialized value $^MATCH in concatenation (.) or string at ./mkcurkeys.pl line 138. Use of uninitialized value $^MATCH in concatenation (.) or string at ./mkcurkeys.pl line 138. Use of uninitialized value $^MATCH in concatenation (.) or string at ./mkcurkeys.pl line 138. Use of uninitialized value $^MATCH in concatenation (.) or string at ./mkcurkeys.pl line 138. Use of uninitialized value $^MATCH in concatenation (.) or string at ./mkcurkeys.pl line 138. Use of uninitialized value $^MATCH in concatenation (.) or string at ./mkcurkeys.pl line 138. Use of uninitialized value $^MATCH in concatenation (.) or string at ./mkcurkeys.pl line 138. Use of uninitialized value $^MATCH in concatenation (.) or string at ./mkcurkeys.pl line 138. Use of uninitialized value $^MATCH in concatenation (.) or string at ./mkcurkeys.pl line 138. Use of uninitialized value $^MATCH in concatenation (.) or string at ./mkcurkeys.pl line 138. Use of uninitialized value $^MATCH in concatenation (.) or string at ./mkcurkeys.pl line 138. Use of uninitialized value $^MATCH in concatenation (.) or string at ./mkcurkeys.pl line 138. Use of uninitialized value $^MATCH in concatenation (.) or string at ./mkcurkeys.pl line 138. Use of uninitialized value $^MATCH in concatenation (.) or string at ./mkcurkeys.pl line 138. Use of uninitialized value $^MATCH in concatenation (.) or string at ./mkcurkeys.pl line 138. Use of uninitialized value $^MATCH in concatenation (.) or string at ./mkcurkeys.pl line 138. Use of uninitialized value $^MATCH in concatenation (.) or string at ./mkcurkeys.pl line 138. Use of uninitialized value $^MATCH in concatenation (.) or string at ./mkcurkeys.pl line 138. Use of uninitialized value $^MATCH in concatenation (.) or string at ./mkcurkeys.pl line 138. Use of uninitialized value $^MATCH in concatenation (.) or string at ./mkcurkeys.pl line 138. Use of uninitialized value $^MATCH in concatenation (.) or string at ./mkcurkeys.pl line 138. Use of uninitialized value $^MATCH in concatenation (.) or string at ./mkcurkeys.pl line 138. Use of uninitialized value $^MATCH in concatenation (.) or string at ./mkcurkeys.pl line 138. Use of uninitialized value $^MATCH in concatenation (.) or string at ./mkcurkeys.pl line 138. Use of uninitialized value $^MATCH in concatenation (.) or string at ./mkcurkeys.pl line 138. Use of uninitialized value $^MATCH in concatenation (.) or string at ./mkcurkeys.pl line 138. Use of uninitialized value $^MATCH in concatenation (.) or string at ./mkcurkeys.pl line 138. Use of uninitialized value $^MATCH in concatenation (.) or string at ./mkcurkeys.pl line 138. Use of uninitialized value $^MATCH in concatenation (.) or string at ./mkcurkeys.pl line 138. Use of uninitialized value $^MATCH in concatenation (.) or string at ./mkcurkeys.pl line 138. Use of uninitialized value $^MATCH in concatenation (.) or string at ./mkcurkeys.pl line 138. Use of uninitialized value $^MATCH in concatenation (.) or string at ./mkcurkeys.pl line 138. Use of uninitialized value $^MATCH in concatenation (.) or string at ./mkcurkeys.pl line 138. Use of uninitialized value $^MATCH in concatenation (.) or string at ./mkcurkeys.pl line 138. Use of uninitialized value $^MATCH in concatenation (.) or string at ./mkcurkeys.pl line 138. Use of uninitialized value $^MATCH in concatenation (.) or string at ./mkcurkeys.pl line 138. Use of uninitialized value $^MATCH in concatenation (.) or string at ./mkcurkeys.pl line 138. Use of uninitialized value $^MATCH in concatenation (.) or string at ./mkcurkeys.pl line 138. Use of uninitialized value $^MATCH in concatenation (.) or string at ./mkcurkeys.pl line 138. Use of uninitialized value $^MATCH in concatenation (.) or string at ./mkcurkeys.pl line 138. Use of uninitialized value $^MATCH in concatenation (.) or string at ./mkcurkeys.pl line 138. Use of uninitialized value $^MATCH in concatenation (.) or string at ./mkcurkeys.pl line 138. Use of uninitialized value $^MATCH in concatenation (.) or string at ./mkcurkeys.pl line 138. Use of uninitialized value $^MATCH in concatenation (.) or string at ./mkcurkeys.pl line 138. Use of uninitialized value $^MATCH in concatenation (.) or string at ./mkcurkeys.pl line 138. Use of uninitialized value $^MATCH in concatenation (.) or string at ./mkcurkeys.pl line 138. Use of uninitialized value $^MATCH in concatenation (.) or string at ./mkcurkeys.pl line 138. Use of uninitialized value $^MATCH in concatenation (.) or string at ./mkcurkeys.pl line 138. Use of uninitialized value $^MATCH in concatenation (.) or string at ./mkcurkeys.pl line 138. Use of uninitialized value $^MATCH in concatenation (.) or string at ./mkcurkeys.pl line 138. Use of uninitialized value $^MATCH in concatenation (.) or string at ./mkcurkeys.pl line 138. Use of uninitialized value $^MATCH in concatenation (.) or string at ./mkcurkeys.pl line 138. Use of uninitialized value $^MATCH in concatenation (.) or string at ./mkcurkeys.pl line 138. Use of uninitialized value $^MATCH in concatenation (.) or string at ./mkcurkeys.pl line 138. Use of uninitialized value $^MATCH in concatenation (.) or string at ./mkcurkeys.pl line 138. Use of uninitialized value $^MATCH in concatenation (.) or string at ./mkcurkeys.pl line 138. Use of uninitialized value $^MATCH in concatenation (.) or string at ./mkcurkeys.pl line 138. Use of uninitialized value $^MATCH in concatenation (.) or string at ./mkcurkeys.pl line 138. Use of uninitialized value $^MATCH in concatenation (.) or string at ./mkcurkeys.pl line 138. Use of uninitialized value $^MATCH in concatenation (.) or string at ./mkcurkeys.pl line 138. Use of uninitialized value $^MATCH in concatenation (.) or string at ./mkcurkeys.pl line 138. Use of uninitialized value $^MATCH in concatenation (.) or string at ./mkcurkeys.pl line 138. Use of uninitialized value $^MATCH in concatenation (.) or string at ./mkcurkeys.pl line 138. Use of uninitialized value $^MATCH in concatenation (.) or string at ./mkcurkeys.pl line 138. Use of uninitialized value $^MATCH in concatenation (.) or string at ./mkcurkeys.pl line 138. Use of uninitialized value $^MATCH in concatenation (.) or string at ./mkcurkeys.pl line 138. Use of uninitialized value $^MATCH in concatenation (.) or string at ./mkcurkeys.pl line 138. Use of uninitialized value $^MATCH in concatenation (.) or string at ./mkcurkeys.pl line 138. Use of uninitialized value $^MATCH in concatenation (.) or string at ./mkcurkeys.pl line 138. Use of uninitialized value $^MATCH in concatenation (.) or string at ./mkcurkeys.pl line 138. Use of uninitialized value $^MATCH in concatenation (.) or string at ./mkcurkeys.pl line 138. Use of uninitialized value $^MATCH in concatenation (.) or string at ./mkcurkeys.pl line 138. Use of uninitialized value $^MATCH in concatenation (.) or string at ./mkcurkeys.pl line 138. Use of uninitialized value $^MATCH in concatenation (.) or string at ./mkcurkeys.pl line 138. Use of uninitialized value $^MATCH in concatenation (.) or string at ./mkcurkeys.pl line 138. Use of uninitialized value $^MATCH in concatenation (.) or string at ./mkcurkeys.pl line 138. Use of uninitialized value $^MATCH in concatenation (.) or string at ./mkcurkeys.pl line 138. Use of uninitialized value $^MATCH in concatenation (.) or string at ./mkcurkeys.pl line 138. Use of uninitialized value $^MATCH in concatenation (.) or string at ./mkcurkeys.pl line 138. Use of uninitialized value $^MATCH in concatenation (.) or string at ./mkcurkeys.pl line 138. Use of uninitialized value $^MATCH in concatenation (.) or string at ./mkcurkeys.pl line 138. Use of uninitialized value $^MATCH in concatenation (.) or string at ./mkcurkeys.pl line 138. Use of uninitialized value $^MATCH in concatenation (.) or string at ./mkcurkeys.pl line 138. Use of uninitialized value $^MATCH in concatenation (.) or string at ./mkcurkeys.pl line 138. Use of uninitialized value $^MATCH in concatenation (.) or string at ./mkcurkeys.pl line 138. Use of uninitialized value $^MATCH in concatenation (.) or string at ./mkcurkeys.pl line 138. Use of uninitialized value $^MATCH in concatenation (.) or string at ./mkcurkeys.pl line 138. Use of uninitialized value $^MATCH in concatenation (.) or string at ./mkcurkeys.pl line 138. Use of uninitialized value $^MATCH in concatenation (.) or string at ./mkcurkeys.pl line 138. Use of uninitialized value $^MATCH in concatenation (.) or string at ./mkcurkeys.pl line 138. Use of uninitialized value $^MATCH in concatenation (.) or string at ./mkcurkeys.pl line 138. Use of uninitialized value $^MATCH in concatenation (.) or string at ./mkcurkeys.pl line 138. Use of uninitialized value $^MATCH in concatenation (.) or string at ./mkcurkeys.pl line 138. Use of uninitialized value $^MATCH in concatenation (.) or string at ./mkcurkeys.pl line 138. Use of uninitialized value $^MATCH in concatenation (.) or string at ./mkcurkeys.pl line 138. Use of uninitialized value $^MATCH in concatenation (.) or string at ./mkcurkeys.pl line 138. Use of uninitialized value $^MATCH in concatenation (.) or string at ./mkcurkeys.pl line 138. Use of uninitialized value $^MATCH in concatenation (.) or string at ./mkcurkeys.pl line 138. Use of uninitialized value $^MATCH in concatenation (.) or string at ./mkcurkeys.pl line 138. Use of uninitialized value $^MATCH in concatenation (.) or string at ./mkcurkeys.pl line 138. Use of uninitialized value $^MATCH in concatenation (.) or string at ./mkcurkeys.pl line 138. CXX curkeys.o In file included from curkeys.cc:30:0: curkeys.h:9:21: 警告:缺少終止 " 字元 [enabled by default] { 34, "\" }, ^ curkeys.h:9:3: 錯誤:缺少結尾的 " 字元 { 34, "\" }, ^ curkeys.h:66:21: 警告:缺少終止 " 字元 [enabled by default] { 92, "\" }, ^ curkeys.h:66:3: 錯誤:缺少結尾的 " 字元 { 92, "\" }, ^ curkeys.h:128:21: 警告:缺少終止 " 字元 [enabled by default] { 28, "^\" }, ^ curkeys.h:128:3: 錯誤:缺少結尾的 " 字元 { 28, "^\" }, ^ curkeys.cc:31:2: 錯誤:expected 「}」 before 「;」 token }; ^ curkeys.cc:31:2: 錯誤:expected 「}」 before 「;」 token curkeys.cc:31:2: 錯誤:expected 「}」 before 「;」 token curkeys.cc:31:2: 錯誤:類型 「const char*」 的標量初始化帶大括號 make[3]: *** [curkeys.o] Error 1 make[3]: Leaving directory/usr/local/src/dpkg-1.17.10/dselect' make[2]: [all-recursive] Error 1 make[2]: Leaving directory `/usr/local/src/dpkg-1.17.10/dselect' make[1]: [all-recursive] Error 1 make[1]: Leaving directory `/usr/local/src/dpkg-1.17.10' make: *** [all] Error 2 [!] Don't worry, just build for start-stop-daemon Checking Python Version... Python 2.7.5 Python Version: .... pass Cloning into '/opt/xunfeng'... remote: Counting objects: 1765, done. remote: Total 1765 (delta 0), reused 0 (delta 0), pack-reused 1765 Receiving objects: 100% (1765/1765), 3.00 MiB | 1.10 MiB/s, done. Resolving deltas: 100% (830/830), done. install mongodb --2017-12-19 15:02:39-- https://sec.ly.com/mirror/mongodb-linux-x86_64-3.4.0.tgz 正在查找主機 sec.ly.com (sec.ly.com)... 139.199.91.27 正在連接 sec.ly.com (sec.ly.com)|139.199.91.27|:443... 連上了。 已送出 HTTP 要求,正在等候回應... 200 OK 長度: 86429824 (82M) [application/x-compressed] Saving to: ‘/tmp/mongodb.tgz’

100%[================================================================================>] 86,429,824 4.38MB/s in 27s

2017-12-19 15:03:07 (3.07 MB/s) - ‘/tmp/mongodb.tgz’ saved [86429824/86429824]

Collecting pip Downloading pip-9.0.1-py2.py3-none-any.whl (1.3MB) 100% |████████████████████████████████| 1.3MB 850kB/s Installing collected packages: pip Found existing installation: pip 8.1.2 Uninstalling pip-8.1.2: Successfully uninstalled pip-8.1.2 Successfully installed pip-9.0.1 Collecting meld3==1.0.0 Downloading http://pypi.doubanio.com/packages/33/fb/d93e08f13aa96a9cd5e75178af45e3f11fb57a3addb3955dcd49472d8c9b/meld3-1.0.0.tar.gz Installing collected packages: meld3 Found existing installation: meld3 1.0.2 Uninstalling meld3-1.0.2: Successfully uninstalled meld3-1.0.2 Running setup.py install for meld3 ... done Successfully installed meld3-1.0.0 Requirement already satisfied: six>=1.6.0 in /usr/lib/python2.7/site-packages (from -r /opt/xunfeng/requirements.txt (line 1)) Collecting Flask (from -r /opt/xunfeng/requirements.txt (line 2)) Downloading http://pypi.doubanio.com/packages/77/32/e3597cb19ffffe724ad4bf0beca4153419918e7fa4ba6a34b04ee4da3371/Flask-0.12.2-py2.py3-none-any.whl (83kB) 100% |████████████████████████████████| 92kB 1.5MB/s Collecting pymongo (from -r /opt/xunfeng/requirements.txt (line 3)) Downloading http://pypi.doubanio.com/packages/90/8b/4ab711bcf19363b54ae7e64c5d7e4fd932ca1af2b41d4d52e542ddfe8740/pymongo-3.6.0-cp27-cp27mu-manylinux1_x86_64.whl (381kB) 100% |████████████████████████████████| 389kB 8.4MB/s Collecting xlwt (from -r /opt/xunfeng/requirements.txt (line 4)) Downloading http://pypi.doubanio.com/packages/44/48/def306413b25c3d01753603b1a222a011b8621aed27cd7f89cbc27e6b0f4/xlwt-1.3.0-py2.py3-none-any.whl (99kB) 100% |████████████████████████████████| 102kB 14.6MB/s Collecting paramiko==1.15.3 (from -r /opt/xunfeng/requirements.txt (line 5)) Downloading http://pypi.doubanio.com/packages/81/52/9dab09302f1cddf924c7f72d9897889ed4e6dee9f2863a8b5449475abde2/paramiko-1.15.3-py2.py3-none-any.whl (166kB) 100% |████████████████████████████████| 174kB 6.2MB/s Collecting packaging (from -r /opt/xunfeng/requirements.txt (line 6)) Downloading http://pypi.doubanio.com/packages/87/1b/c39b7c65b5612812b83d6cab7ef2885eac9f6beb0b7b8a7071a186aea3b1/packaging-16.8-py2.py3-none-any.whl Collecting appdirs (from -r /opt/xunfeng/requirements.txt (line 7)) Downloading http://pypi.doubanio.com/packages/56/eb/810e700ed1349edde4cbdc1b2a21e28cdf115f9faf263f6bbf8447c1abf3/appdirs-1.4.3-py2.py3-none-any.whl Collecting gunicorn (from -r /opt/xunfeng/requirements.txt (line 8)) Downloading http://pypi.doubanio.com/packages/64/32/becbd4089a4c06f0f9f538a76e9fe0b19a08f010bcb47dcdbfbc640cdf7d/gunicorn-19.7.1-py2.py3-none-any.whl (111kB) 100% |████████████████████████████████| 112kB 11.1MB/s Collecting Jinja2>=2.4 (from Flask->-r /opt/xunfeng/requirements.txt (line 2)) Downloading http://pypi.doubanio.com/packages/7f/ff/ae64bacdfc95f27a016a7bed8e8686763ba4d277a78ca76f32659220a731/Jinja2-2.10-py2.py3-none-any.whl (126kB) 100% |████████████████████████████████| 133kB 137kB/s Collecting Werkzeug>=0.7 (from Flask->-r /opt/xunfeng/requirements.txt (line 2)) Downloading http://pypi.doubanio.com/packages/e7/dc/e41d4d6adf0cd3f02b0bdf02fcddee77a2ef02c0b1d5eaa517308333d673/Werkzeug-0.13-py2.py3-none-any.whl (311kB) 100% |████████████████████████████████| 317kB 3.2MB/s Collecting click>=2.0 (from Flask->-r /opt/xunfeng/requirements.txt (line 2)) Downloading http://pypi.doubanio.com/packages/34/c1/8806f99713ddb993c5366c362b2f908f18269f8d792aff1abfd700775a77/click-6.7-py2.py3-none-any.whl (71kB) 100% |████████████████████████████████| 71kB 7.9MB/s Collecting itsdangerous>=0.21 (from Flask->-r /opt/xunfeng/requirements.txt (line 2)) Downloading http://pypi.doubanio.com/packages/dc/b4/a60bcdba945c00f6d608d8975131ab3f25b22f2bcfe1dab221165194b2d4/itsdangerous-0.24.tar.gz (46kB) 100% |████████████████████████████████| 51kB 12.9MB/s Collecting ecdsa>=0.11 (from paramiko==1.15.3->-r /opt/xunfeng/requirements.txt (line 5)) Downloading http://pypi.doubanio.com/packages/63/f4/73669d51825516ce8c43b816c0a6b64cd6eb71d08b99820c00792cb42222/ecdsa-0.13-py2.py3-none-any.whl (86kB) 100% |████████████████████████████████| 92kB 251kB/s Collecting pycrypto!=2.4,>=2.1 (from paramiko==1.15.3->-r /opt/xunfeng/requirements.txt (line 5)) Downloading http://pypi.doubanio.com/packages/60/db/645aa9af249f059cc3a368b118de33889219e0362141e75d4eaf6f80f163/pycrypto-2.6.1.tar.gz (446kB) 100% |████████████████████████████████| 450kB 2.6MB/s Collecting pyparsing (from packaging->-r /opt/xunfeng/requirements.txt (line 6)) Downloading http://pypi.doubanio.com/packages/6a/8a/718fd7d3458f9fab8e67186b00abdd345b639976bc7fb3ae722e1b026a50/pyparsing-2.2.0-py2.py3-none-any.whl (56kB) 100% |████████████████████████████████| 61kB 6.2MB/s Collecting MarkupSafe>=0.23 (from Jinja2>=2.4->Flask->-r /opt/xunfeng/requirements.txt (line 2)) Downloading http://pypi.doubanio.com/packages/4d/de/32d741db316d8fdb7680822dd37001ef7a448255de9699ab4bfcbdf4172b/MarkupSafe-1.0.tar.gz Installing collected packages: MarkupSafe, Jinja2, Werkzeug, click, itsdangerous, Flask, pymongo, xlwt, ecdsa, pycrypto, paramiko, pyparsing, packaging, appdirs, gunicorn Running setup.py install for MarkupSafe ... done Running setup.py install for itsdangerous ... done Running setup.py install for pycrypto ... done Successfully installed Flask-0.12.2 Jinja2-2.10 MarkupSafe-1.0 Werkzeug-0.13 appdirs-1.4.3 click-6.7 ecdsa-0.13 gunicorn-19.7.1 itsdangerous-0.24 packaging-16.8 paramiko-1.15.3 pycrypto-2.6.1 pymongo-3.6.0 pyparsing-2.2.0 xlwt-1.3.0

                                          ┌────────────────────────────┐
                                          │ Set database account name  │
                                          │                            │
                                          │ default: scan              │
                                          │                            │
                                          │ __________________________ │
                                          │                            │
                                          │    <確定>      <取消>      │
                                          │                            │
                                          └────────────────────────────┘

                                          ┌────────────────────────────┐
                                          │ Set database password      │
                                          │                            │
                                          │ default: scanlol66         │
                                          │                            │
                                          │ __________________________ │
                                          │                            │
                                          │    <確定>      <取消>      │
                                          │                            │
                                          └────────────────────────────┘

                                          ┌────────────────────────────┐
                                          │ Repeat database password   │
                                          │                            │
                                          │ default: scanlol66         │
                                          │                            │
                                          │ __________________________ │
                                          │                            │
                                          │    <確定>      <取消>      │
                                          │                            │
                                          └────────────────────────────┘

                                          ┌────────────────────────────┐
                                          │ Set xunfeng website        │
                                          │ account name               │
                                          │                            │
                                          │ default: admin             │
                                          │                            │
                                          │ __________________________ │
                                          │    <確定>      <取消>      │
                                          │                            │
                                          └────────────────────────────┘

                                          ┌────────────────────────────┐
                                          │ Set xunfeng website        │
                                          │ account password           │
                                          │                            │
                                          │ default: xunfeng321        │
                                          │                            │
                                          │ __________________________ │
                                          │    <確定>      <取消>      │
                                          │                            │
                                          └────────────────────────────┘

                                          ┌────────────────────────────┐
                                          │ Repeat website account     │
                                          │ password                   │
                                          │                            │
                                          │ default: xunfeng321        │
                                          │                            │
                                          │ __________________________ │
                                          │    <確定>      <取消>      │
                                          │                            │
                                          └────────────────────────────┘

Database account:  scan
Database password: scanlol66
Website  account:  admin
Website  password: xunfeng321

Initialized XunFeng Database... exception: connect failed Wait xunfeng_db startup... bye MongoDB shell version v3.4.0 connecting to: mongodb://127.0.0.1:65521/xunfeng MongoDB server version: 3.4.0 switched to db xunfeng Successfully added user: { "user" : "scan", "roles" : [ { "role" : "dbOwner", "db" : "xunfeng" } ] } 1 bye 2017-12-19T15:04:14.751+0800 the --db and --collection args should only be used when restoring from a BSON file. Other uses are deprecated and will not exist in the future; use --nsInclude instead 2017-12-19T15:04:14.751+0800 building a list of collections to restore from /opt/xunfeng/db dir 2017-12-19T15:04:14.752+0800 reading metadata for xunfeng.Config from /opt/xunfeng/db/Config.metadata.json 2017-12-19T15:04:14.785+0800 restoring xunfeng.Config from /opt/xunfeng/db/Config.bson 2017-12-19T15:04:14.786+0800 reading metadata for xunfeng.Heartbeat from /opt/xunfeng/db/Heartbeat.metadata.json 2017-12-19T15:04:14.786+0800 reading metadata for xunfeng.History from /opt/xunfeng/db/History.metadata.json 2017-12-19T15:04:14.787+0800 reading metadata for xunfeng.Info from /opt/xunfeng/db/Info.metadata.json 2017-12-19T15:04:14.787+0800 restoring indexes for collection xunfeng.Config from metadata 2017-12-19T15:04:14.818+0800 restoring xunfeng.Heartbeat from /opt/xunfeng/db/Heartbeat.bson 2017-12-19T15:04:14.818+0800 finished restoring xunfeng.Config (2 documents) 2017-12-19T15:04:14.823+0800 reading metadata for xunfeng.Plugin from /opt/xunfeng/db/Plugin.metadata.json 2017-12-19T15:04:14.847+0800 restoring xunfeng.Info from /opt/xunfeng/db/Info.bson 2017-12-19T15:04:14.875+0800 restoring indexes for collection xunfeng.Info from metadata 2017-12-19T15:04:14.892+0800 restoring indexes for collection xunfeng.Heartbeat from metadata 2017-12-19T15:04:14.892+0800 restoring xunfeng.History from /opt/xunfeng/db/History.bson 2017-12-19T15:04:14.920+0800 restoring indexes for collection xunfeng.History from metadata 2017-12-19T15:04:14.930+0800 restoring xunfeng.Plugin from /opt/xunfeng/db/Plugin.bson 2017-12-19T15:04:14.957+0800 restoring indexes for collection xunfeng.Plugin from metadata 2017-12-19T15:04:15.031+0800 finished restoring xunfeng.Heartbeat (2 documents) 2017-12-19T15:04:15.031+0800 reading metadata for xunfeng.Result from /opt/xunfeng/db/Result.metadata.json 2017-12-19T15:04:15.032+0800 finished restoring xunfeng.Info (0 documents) 2017-12-19T15:04:15.032+0800 reading metadata for xunfeng.Statistics from /opt/xunfeng/db/Statistics.metadata.json 2017-12-19T15:04:15.054+0800 finished restoring xunfeng.History (0 documents) 2017-12-19T15:04:15.054+0800 reading metadata for xunfeng.Task from /opt/xunfeng/db/Task.metadata.json 2017-12-19T15:04:15.054+0800 finished restoring xunfeng.Plugin (0 documents) 2017-12-19T15:04:15.054+0800 reading metadata for xunfeng.Update from /opt/xunfeng/db/Update.metadata.json 2017-12-19T15:04:15.071+0800 restoring xunfeng.Result from /opt/xunfeng/db/Result.bson 2017-12-19T15:04:15.097+0800 restoring indexes for collection xunfeng.Result from metadata 2017-12-19T15:04:15.110+0800 restoring xunfeng.Statistics from /opt/xunfeng/db/Statistics.bson 2017-12-19T15:04:15.137+0800 restoring indexes for collection xunfeng.Statistics from metadata 2017-12-19T15:04:15.146+0800 restoring xunfeng.Update from /opt/xunfeng/db/Update.bson 2017-12-19T15:04:15.173+0800 restoring indexes for collection xunfeng.Update from metadata 2017-12-19T15:04:15.183+0800 restoring xunfeng.Task from /opt/xunfeng/db/Task.bson 2017-12-19T15:04:15.186+0800 restoring indexes for collection xunfeng.Task from metadata 2017-12-19T15:04:15.229+0800 finished restoring xunfeng.Statistics (0 documents) 2017-12-19T15:04:15.229+0800 finished restoring xunfeng.Task (0 documents) 2017-12-19T15:04:15.229+0800 finished restoring xunfeng.Result (0 documents) 2017-12-19T15:04:15.229+0800 finished restoring xunfeng.Update (0 documents) 2017-12-19T15:04:15.229+0800 done Initialized Database Success Stopping XunFeng... XunFeng stopped. Starting XunFeng... [root@localhost ~]# /etc/init.d/xunfeng status xunfeng:xunfeng_aider FATAL Exited too quickly (process log may have details) xunfeng:xunfeng_db RUNNING pid 10235, uptime 0:00:11 xunfeng:xunfeng_nascan RUNNING pid 10232, uptime 0:00:11 xunfeng:xunfeng_vulscan RUNNING pid 10234, uptime 0:00:11 xunfeng:xunfeng_web RUNNING pid 10233, uptime 0:00:11 [root@localhost ~]# /etc/init.d/xunfeng status xunfeng:xunfeng_aider FATAL Exited too quickly (process log may have details) xunfeng:xunfeng_db RUNNING pid 10235, uptime 0:00:20 xunfeng:xunfeng_nascan RUNNING pid 10232, uptime 0:00:20 xunfeng:xunfeng_vulscan RUNNING pid 10234, uptime 0:00:20 xunfeng:xunfeng_web RUNNING pid 10233, uptime 0:00:20 [root@localhost ~]#

czq1351 commented 6 years ago

如上,我又搭建了一个centos7.2的环境 进行了全新的安装,依然是这样

IsTr33 commented 6 years ago

我的Ubuntu 16.04

aider也是一样

sudo /etc/init.d/xunfeng status xunfeng:xunfeng_aider FATAL Exited too quickly (process log may have details) xunfeng:xunfeng_db RUNNING pid 120096, uptime 0:00:07 xunfeng:xunfeng_nascan RUNNING pid 120093, uptime 0:00:07 xunfeng:xunfeng_vulscan RUNNING pid 120095, uptime 0:00:07 xunfeng:xunfeng_web RUNNING pid 120094, uptime 0:00:07

这个是什么情况,aider是做什么的,对系统使用有影响吗?

IsTr33 commented 6 years ago

按照以往的尿性,肯定又是什么包没装。

少装了一个datetime包,pip install datetime。

不过还是启动不了,53端口被dnsmasq占用了。 把dnsmasq禁了,手动配置了个DNS服务器。

jiuzhi8099 commented 6 years ago

我也是,装完一样的结果,有解决方案了吗?

xsaddata commented 6 years ago

是端口被占用了,你试试把/etc/xunfeng.conf文件里面的web端口改成其他的。

Liuzhongzhou commented 5 years ago

路过学习一下

starnightcyber commented 3 years ago

FYI ~ 我这也是xunfeng_aider服务无法启动。

xunfeng:xunfeng_aider FATAL Exited too quickly (process log may have details)

查看端口是dnsmap, 127.0.0.53:53占用。 可修改/opt/xunfeng/aider/aider.py里dns绑定的端口,line 37修改为60053:dns.bind(('0.0.0.0', 60053))

# /etc/init.d/xunfeng restart 
Stopping XunFeng...
XunFeng stopped.
Starting XunFeng...
# /etc/init.d/xunfeng status
xunfeng:xunfeng_aider            RUNNING   pid 61710, uptime 0:00:04
xunfeng:xunfeng_db               RUNNING   pid 61714, uptime 0:00:04
xunfeng:xunfeng_nascan           RUNNING   pid 61711, uptime 0:00:04
xunfeng:xunfeng_vulscan          RUNNING   pid 61713, uptime 0:00:04
xunfeng:xunfeng_web              RUNNING   pid 61712, uptime 0:00:04

这样巡风服务就可以启动和访问了,不知道会不会有什么其他问题。