- r - 以节省内存的方式增长 data.frame
- ruby-on-rails - ruby/ruby on rails 内存泄漏检测
- android - 无法解析导入android.support.v7.app
- UNIX 域套接字与共享内存(映射文件)
我正在尝试在 Linux 上安装 monit。我运行了以下命令:
wget http://mmonit.com/monit/dist/monit-5.5.tar.gz
tar zxvf monit-5.5.tar.gz
cd monit-5.5
./configure
当我尝试时:
make && make install
我得到:
make: *** No targets specified and no makefile found. Stop.
monit-5.5 目录包含以下内容:
$ ls
CHANGES Makefile.in bootstrap configure doc monitrc
COPYING README config configure.ac libmonit src
Makefile.am aclocal.m4 config.log contrib monit.1
不知道是什么问题。谢谢你的帮助。
[ec2-user@...~]$ sudo tar zxvf monit-5.5.tar.gz.1 monit-5.5/
monit-5.5/src/
monit-5.5/src/http/
monit-5.5/src/http/base64.h
monit-5.5/src/http/processor.h
monit-5.5/src/http/base64.c
monit-5.5/src/http/cervlet.c
monit-5.5/src/http/cervlet.h
monit-5.5/src/http/engine.h
monit-5.5/src/http/engine.c
monit-5.5/src/http/processor.c
monit-5.5/src/http/httpstatus.h
monit-5.5/src/p.y
monit-5.5/src/collector.c
monit-5.5/src/util.h
monit-5.5/src/ssl.c
monit-5.5/src/status.c
monit-5.5/src/monit.h
monit-5.5/src/log.c
monit-5.5/src/net.c
monit-5.5/src/y.tab.c
monit-5.5/src/file.h
monit-5.5/src/socket.h
monit-5.5/src/md5_crypt.c
monit-5.5/src/event.c
monit-5.5/src/md5.c
monit-5.5/src/daemonize.c
monit-5.5/src/signal.c
monit-5.5/src/process.h
monit-5.5/src/sha1.c
monit-5.5/src/lex.yy.c
monit-5.5/src/md5_crypt.h
monit-5.5/src/socket.c
monit-5.5/src/control.c
monit-5.5/src/config.h.in
monit-5.5/src/net.h
monit-5.5/src/env.c
monit-5.5/src/util.c
monit-5.5/src/alert.c
monit-5.5/src/l.l
monit-5.5/src/state.c
monit-5.5/src/alert.h
monit-5.5/src/md5.h
monit-5.5/src/http.c
monit-5.5/src/validate.c
monit-5.5/src/process.c
monit-5.5/src/gc.c
monit-5.5/src/device/
monit-5.5/src/device/device_sysdep.h
monit-5.5/src/device/sysdep_LINUX.c
monit-5.5/src/device/sysdep_NETBSD.c
monit-5.5/src/device/device.h
monit-5.5/src/device/sysdep_DARWIN.c
monit-5.5/src/device/sysdep_OPENBSD.c
monit-5.5/src/device/sysdep_UNKNOWN.c
monit-5.5/src/device/sysdep_SOLARIS.c
monit-5.5/src/device/device_common.c
monit-5.5/src/device/sysdep_AIX.c
monit-5.5/src/device/sysdep_FREEBSD.c
monit-5.5/src/device/sysdep_HPUX.c
monit-5.5/src/tokens.h
monit-5.5/src/state.h
monit-5.5/src/file.c
monit-5.5/src/spawn.c
monit-5.5/src/protocols/
monit-5.5/src/protocols/rsync.c
monit-5.5/src/protocols/pgsql.c
monit-5.5/src/protocols/mysql.c
monit-5.5/src/protocols/ftp.c
monit-5.5/src/protocols/protocol.c
monit-5.5/src/protocols/apache_status.c
monit-5.5/src/protocols/lmtp.c
monit-5.5/src/protocols/dns.c
monit-5.5/src/protocols/ntp3.c
monit-5.5/src/protocols/sip.c
monit-5.5/src/protocols/nntp.c
monit-5.5/src/protocols/tns.c
monit-5.5/src/protocols/ldap2.c
monit-5.5/src/protocols/smtp.c
monit-5.5/src/protocols/ldap3.c
monit-5.5/src/protocols/radius.c
monit-5.5/src/protocols/http.c
monit-5.5/src/protocols/dwp.c
monit-5.5/src/protocols/imap.c
monit-5.5/src/protocols/default.c
monit-5.5/src/protocols/gps.c
monit-5.5/src/protocols/protocol.h
monit-5.5/src/protocols/pop.c
monit-5.5/src/protocols/generic.c
monit-5.5/src/protocols/ssh.c
monit-5.5/src/protocols/memcache.c
monit-5.5/src/protocols/clamav.c
monit-5.5/src/protocols/postfix_policy.c
monit-5.5/src/protocols/rdate.c
monit-5.5/src/event.h
monit-5.5/src/xml.c
monit-5.5/src/ssl.h
monit-5.5/src/sha1.h
monit-5.5/src/process/
monit-5.5/src/process/sysdep_LINUX.c
monit-5.5/src/process/sysdep_NETBSD.c
monit-5.5/src/process/sysdep_DARWIN.c
monit-5.5/src/process/sysdep_OPENBSD.c
monit-5.5/src/process/sysdep_UNKNOWN.c
monit-5.5/src/process/process_sysdep.h
monit-5.5/src/process/process_common.c
monit-5.5/src/process/sysdep_SOLARIS.c
monit-5.5/src/process/sysdep_AIX.c
monit-5.5/src/process/sysdep_FREEBSD.c
monit-5.5/src/process/sysdep_HPUX.c
monit-5.5/src/sendmail.c
monit-5.5/src/monit.c
monit-5.5/monitrc
monit-5.5/CHANGES
monit-5.5/monit.1
monit-5.5/configure.ac
monit-5.5/configure
monit-5.5/aclocal.m4
monit-5.5/Makefile.in
monit-5.5/bootstrap
monit-5.5/libmonit/
monit-5.5/libmonit/src/
monit-5.5/libmonit/src/thread/
monit-5.5/libmonit/src/thread/Thread.h
monit-5.5/libmonit/src/thread/Thread.c
monit-5.5/libmonit/src/system/
monit-5.5/libmonit/src/system/Time.h
monit-5.5/libmonit/src/system/Net.h
monit-5.5/libmonit/src/system/Mem.c
monit-5.5/libmonit/src/system/Mem.h
monit-5.5/libmonit/src/system/Net.c
monit-5.5/libmonit/src/system/System.h
monit-5.5/libmonit/src/system/Command.h
monit-5.5/libmonit/src/system/Time.c
monit-5.5/libmonit/src/system/System.c
monit-5.5/libmonit/src/system/Process.h
monit-5.5/libmonit/src/system/Command.c
monit-5.5/libmonit/src/io/
monit-5.5/libmonit/src/io/File.h
monit-5.5/libmonit/src/io/Dir.h
monit-5.5/libmonit/src/io/InputStream.h
monit-5.5/libmonit/src/io/InputStream.c
monit-5.5/libmonit/src/io/OutputStream.h
monit-5.5/libmonit/src/io/OutputStream.c
monit-5.5/libmonit/src/io/File.c
monit-5.5/libmonit/src/io/Dir.c
monit-5.5/libmonit/src/util/
monit-5.5/libmonit/src/util/Str.h
monit-5.5/libmonit/src/util/Str.c
monit-5.5/libmonit/src/util/StringBuffer.h
monit-5.5/libmonit/src/util/StringBuffer.c
monit-5.5/libmonit/src/util/List.h
monit-5.5/libmonit/src/util/List.c
monit-5.5/libmonit/src/xconfig.h.in
monit-5.5/libmonit/src/Bootstrap.h
monit-5.5/libmonit/src/Bootstrap.c
monit-5.5/libmonit/src/exceptions/
monit-5.5/libmonit/src/exceptions/MemoryException.h
monit-5.5/libmonit/src/exceptions/AssertException.h
monit-5.5/libmonit/src/exceptions/Exception.h
monit-5.5/libmonit/src/exceptions/NumberFormatException.h
monit-5.5/libmonit/src/exceptions/IOException.h
monit-5.5/libmonit/src/exceptions/assert.c
monit-5.5/libmonit/src/exceptions/Exception.c
monit-5.5/libmonit/src/exceptions/assert.h
monit-5.5/libmonit/src/Config.h
monit-5.5/libmonit/libtool
monit-5.5/libmonit/Makefile
monit-5.5/libmonit/configure.ac
monit-5.5/libmonit/test/
monit-5.5/libmonit/test/OutputStreamTest.c
monit-5.5/libmonit/test/Makefile
monit-5.5/libmonit/test/FileTest.c
monit-5.5/libmonit/test/StrTest.c
monit-5.5/libmonit/test/TimeTest.c
monit-5.5/libmonit/test/CommandTest.c
monit-5.5/libmonit/test/Makefile.in
monit-5.5/libmonit/test/ListTest.c
monit-5.5/libmonit/test/DirTest.c
monit-5.5/libmonit/test/NetTest.c
monit-5.5/libmonit/test/test.sh
monit-5.5/libmonit/test/StringBufferTest.c
monit-5.5/libmonit/test/ExceptionTest.c
monit-5.5/libmonit/test/Makefile.am
monit-5.5/libmonit/test/SystemTest.c
monit-5.5/libmonit/test/InputStreamTest.c
monit-5.5/libmonit/test/data/
monit-5.5/libmonit/test/data/stream.data
monit-5.5/libmonit/configure
monit-5.5/libmonit/aclocal.m4
monit-5.5/libmonit/Makefile.in
monit-5.5/libmonit/bootstrap
monit-5.5/libmonit/config/
monit-5.5/libmonit/config/config.guess
monit-5.5/libmonit/config/missing
monit-5.5/libmonit/config/ltmain.sh
monit-5.5/libmonit/config/install-sh
monit-5.5/libmonit/config/config.sub
monit-5.5/libmonit/COPYING
monit-5.5/libmonit/README
monit-5.5/libmonit/Makefile.am
monit-5.5/libmonit/m4/
monit-5.5/libmonit/m4/libtool.m4
monit-5.5/libmonit/m4/lt~obsolete.m4
monit-5.5/libmonit/m4/ltsugar.m4
monit-5.5/libmonit/m4/ltoptions.m4
monit-5.5/libmonit/m4/ltversion.m4
monit-5.5/contrib/
monit-5.5/contrib/monitrc-gentoo
monit-5.5/contrib/rc.monit
monit-5.5/contrib/packages/
monit-5.5/contrib/packages/freebsd/
monit-5.5/contrib/packages/freebsd/pkg-message
monit-5.5/contrib/packages/freebsd/distinfo
monit-5.5/contrib/packages/freebsd/Makefile
monit-5.5/contrib/packages/freebsd/files/
monit-5.5/contrib/packages/freebsd/files/monit.sh
monit-5.5/contrib/packages/freebsd/pkg-descr
monit-5.5/contrib/packages/freebsd/README.porter
monit-5.5/contrib/packages/redhat/
monit-5.5/contrib/packages/redhat/monit.spec
monit-5.5/contrib/packages/solaris/
monit-5.5/contrib/packages/solaris/README.solaris
monit-5.5/contrib/packages/solaris/init.monit
monit-5.5/contrib/packages/solaris/makesolpkg.sh
monit-5.5/contrib/monit.upstart.in
monit-5.5/contrib/monit.service.in
monit-5.5/contrib/monit.service
monit-5.5/contrib/monit.upstart
monit-5.5/config/
monit-5.5/config/config.guess
monit-5.5/config/missing
monit-5.5/config/ltmain.sh
monit-5.5/config/install-sh
monit-5.5/config/config.sub
monit-5.5/COPYING
monit-5.5/README
monit-5.5/doc/
monit-5.5/doc/monit.pod
monit-5.5/doc/PLATFORMS
monit-5.5/Makefile.am
[ec2-user@domU-12-31-39-03-28-A1 ~]$ ls
crawller monit-5.5 node-v0.8.14 tmp
m_2.2.0.tgz monit-5.5.tar.gz node-v0.8.14.tar.gz
mongodb-linux-x86_64-2.2.0 monit-5.5.tar.gz.1 nodejs
[ec2-user@domU-12-31-39-03-28-A1 ~]$ cd monit-5.5
[ec2-user@domU-12-31-39-03-28-A1 monit-5.5]$ sudo ./configure
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... gawk
checking whether make sets $(MAKE)... yes
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 for style of include used by make... GNU
checking dependency style of gcc... none
checking whether make sets $(MAKE)... (cached) yes
checking for bison... bison -y
checking for flex... /usr/bin/flex
checking for pod2man... /usr/bin/pod2man
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for fgrep... /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 for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for ar... ar
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking how to run the C preprocessor... gcc -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 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 whether -lc should be explicitly linked in... no
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... yes
checking whether to build static libraries... no
checking for socket in -lsocket... no
checking for socket in -linet... no
checking for inet_addr in -lnsl... yes
checking for inet_aton in -lresolv... yes
checking for crypt in -lc... no
checking for crypt in -lcrypt... yes
checking for pthread_create in -lpthread... yes
checking for ANSI C header files... (cached) yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking whether stat file-mode macros are broken... no
checking whether time.h and sys/time.h may both be included... yes
checking alloca.h usability... yes
checking alloca.h presence... yes
checking for alloca.h... yes
checking arpa/inet.h usability... yes
checking arpa/inet.h presence... yes
checking for arpa/inet.h... yes
checking asm/page.h usability... no
checking asm/page.h presence... no
checking for asm/page.h... no
checking asm/param.h usability... yes
checking asm/param.h presence... yes
checking for asm/param.h... yes
checking cf.h usability... no
checking cf.h presence... no
checking for cf.h... no
checking crt_externs.h usability... no
checking crt_externs.h presence... no
checking for crt_externs.h... no
checking ctype.h usability... yes
checking ctype.h presence... yes
checking for ctype.h... yes
checking crypt.h usability... yes
checking crypt.h presence... yes
checking for crypt.h... yes
checking dirent.h usability... yes
checking dirent.h presence... yes
checking for dirent.h... yes
checking errno.h usability... yes
checking errno.h presence... yes
checking for errno.h... yes
checking execinfo.h usability... yes
checking execinfo.h presence... yes
checking for execinfo.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking getopt.h usability... yes
checking getopt.h presence... yes
checking for getopt.h... yes
checking glob.h usability... yes
checking glob.h presence... yes
checking for glob.h... yes
checking grp.h usability... yes
checking grp.h presence... yes
checking for grp.h... yes
checking kvm.h usability... no
checking kvm.h presence... no
checking for kvm.h... no
checking paths.h usability... yes
checking paths.h presence... yes
checking for paths.h... yes
checking kstat.h usability... no
checking kstat.h presence... no
checking for kstat.h... no
checking sys/protosw.h usability... no
checking sys/protosw.h presence... no
checking for sys/protosw.h... no
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking loadavg.h usability... no
checking loadavg.h presence... no
checking for loadavg.h... no
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking mach/host_info.h usability... no
checking mach/host_info.h presence... no
checking for mach/host_info.h... no
checking mach/mach.h usability... no
checking mach/mach.h presence... no
checking for mach/mach.h... no
checking mach/mach_host.h usability... no
checking mach/mach_host.h presence... no
checking for mach/mach_host.h... no
checking for memory.h... (cached) yes
checking mntent.h usability... yes
checking mntent.h presence... yes
checking for mntent.h... yes
checking netdb.h usability... yes
checking netdb.h presence... yes
checking for netdb.h... yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking netinet/in.h usability... yes
checking netinet/in.h presence... yes
checking for netinet/in.h... yes
checking netinet/in_systm.h usability... yes
checking netinet/in_systm.h presence... yes
checking for netinet/in_systm.h... yes
checking pam/pam_appl.h usability... no
checking pam/pam_appl.h presence... no
checking for pam/pam_appl.h... no
checking security/pam_appl.h usability... no
checking security/pam_appl.h presence... no
checking for security/pam_appl.h... no
checking poll.h usability... yes
checking poll.h presence... yes
checking for poll.h... yes
checking procfs.h usability... no
checking procfs.h presence... no
checking for procfs.h... no
checking sys/procfs.h usability... yes
checking sys/procfs.h presence... yes
checking for sys/procfs.h... yes
checking procinfo.h usability... no
checking procinfo.h presence... no
checking for procinfo.h... no
checking pthread.h usability... yes
checking pthread.h presence... yes
checking for pthread.h... yes
checking pwd.h usability... yes
checking pwd.h presence... yes
checking for pwd.h... yes
checking regex.h usability... yes
checking regex.h presence... yes
checking for regex.h... yes
checking setjmp.h usability... yes
checking setjmp.h presence... yes
checking for setjmp.h... yes
checking signal.h usability... yes
checking signal.h presence... yes
checking for signal.h... yes
checking stdarg.h usability... yes
checking stdarg.h presence... yes
checking for stdarg.h... yes
checking stddef.h usability... yes
checking stddef.h presence... yes
checking for stddef.h... yes
checking stdio.h usability... yes
checking stdio.h presence... yes
checking for stdio.h... yes
checking for string.h... (cached) yes
checking for strings.h... (cached) yes
checking stropts.h usability... no
checking stropts.h presence... no
checking for stropts.h... no
checking sys/cfgodm.h usability... no
checking sys/cfgodm.h presence... no
checking for sys/cfgodm.h... no
checking sys/cfgdb.h usability... no
checking sys/cfgdb.h presence... no
checking for sys/cfgdb.h... no
checking sys/dk.h usability... no
checking sys/dk.h presence... no
checking for sys/dk.h... no
checking sys/dkstat.h usability... no
checking sys/dkstat.h presence... no
checking for sys/dkstat.h... no
checking sys/filio.h usability... no
checking sys/filio.h presence... no
checking for sys/filio.h... no
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking sys/loadavg.h usability... no
checking sys/loadavg.h presence... no
checking for sys/loadavg.h... no
checking sys/lock.h usability... no
checking sys/lock.h presence... no
checking for sys/lock.h... no
checking sys/mnttab.h usability... no
checking sys/mnttab.h presence... no
checking for sys/mnttab.h... no
checking sys/mutex.h usability... no
checking sys/mutex.h presence... no
checking for sys/mutex.h... no
checking sys/nlist.h usability... no
checking sys/nlist.h presence... no
checking for sys/nlist.h... no
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking sys/pstat.h usability... no
checking sys/pstat.h presence... no
checking for sys/pstat.h... no
checking sys/queue.h usability... yes
checking sys/queue.h presence... yes
checking for sys/queue.h... yes
checking sys/resource.h usability... yes
checking sys/resource.h presence... yes
checking for sys/resource.h... yes
checking sys/statfs.h usability... yes
checking sys/statfs.h presence... yes
checking for sys/statfs.h... yes
checking sys/statvfs.h usability... yes
checking sys/statvfs.h presence... yes
checking for sys/statvfs.h... yes
checking sys/sysinfo.h usability... yes
checking sys/sysinfo.h presence... yes
checking for sys/sysinfo.h... yes
checking sys/systemcfg.h usability... no
checking sys/systemcfg.h presence... no
checking for sys/systemcfg.h... no
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking sys/tree.h usability... no
checking sys/tree.h presence... no
checking for sys/tree.h... no
checking for sys/types.h... (cached) yes
checking sys/un.h usability... yes
checking sys/un.h presence... yes
checking for sys/un.h... yes
checking sys/utsname.h usability... yes
checking sys/utsname.h presence... yes
checking for sys/utsname.h... yes
checking sys/vmmeter.h usability... no
checking sys/vmmeter.h presence... no
checking for sys/vmmeter.h... no
checking sys/vfs.h usability... yes
checking sys/vfs.h presence... yes
checking for sys/vfs.h... yes
checking syslog.h usability... yes
checking syslog.h presence... yes
checking for syslog.h... yes
checking for unistd.h... (cached) yes
checking uvm/uvm.h usability... no
checking uvm/uvm.h presence... no
checking for uvm/uvm.h... no
checking uvm/uvm_extern.h usability... no
checking uvm/uvm_extern.h presence... no
checking for uvm/uvm_extern.h... no
checking vm/vm.h usability... no
checking vm/vm.h presence... no
checking for vm/vm.h... no
checking for libperfstat.h... no
checking for netinet/ip.h... yes
checking for net/if.h... yes
checking for netinet/ip_icmp.h... yes
checking for sys/sysctl.h... yes
checking for sys/mount.h... yes
checking for sys/proc.h... no
checking for sys/swap.h... yes
checking for sys/ucred.h... no
checking for sys/user.h... yes
checking for machine/vmparam.h... no
checking for vm/pmap.h... no
checking for machine/pmap.h... no
checking for vm/vm_map.h... no
checking for vm/vm_object.h... no
checking for sys/resourcevar.h... no
checking for uvm/uvm_map.h... no
checking for uvm/uvm_pmap.h... no
checking for uvm/uvm_object.h... no
checking for mode_t... yes
checking for pid_t... yes
checking for size_t... yes
checking for pid_t... (cached) yes
checking return type of signal handlers... void
checking whether struct tm is in sys/time.h or time.h... time.h
checking for struct tm.tm_gmtoff... no
checking for error_at_line... yes
checking vfork.h usability... no
checking vfork.h presence... no
checking for vfork.h... no
checking for fork... yes
checking for vfork... yes
checking for working fork... yes
checking for working vfork... (cached) yes
checking whether lstat correctly handles trailing slash... yes
checking whether stat accepts an empty string... no
checking for strftime... yes
checking for statfs... yes
checking for statvfs... yes
checking for setlocale... yes
checking for getaddrinfo... yes
checking for syslog... yes
checking for vsyslog... yes
checking for backtrace... yes
checking for getloadavg... yes
checking for SOL_IP... yes
checking for va_copy... yes
checking for an ANSI C-conforming const... yes
checking whether byte ordering is bigendian... no
checking pid file location... /var/run
checking for large files support... enabled
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking for PAM support... enabled
checking for pam_start in -lpam... no
configure: error: PAM enabled but headers or library not found, install the PAM development support or run configure --without-pam
[ec2-user@... monit-5.5]$ make && make install
make: *** No targets specified and no makefile found. Stop.
最佳答案
非常感谢,你是对的,问题是我没有安装 pam 和 ssl headers所以我所做的解决了这个问题:
sudo -s
sudo yum install pam-devel
sudo yum install openssl-devel
sudo yum update (probably not necessary but to be on the sife side)
然后,我遇到了 monitrc 文件的问题,所以我将它复制到 ~ 和
chmod 0700 ~/.monitrc
关于linux - 在 linux ec2 上安装 monit 失败,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/13175331/
尽管我的 EC2 实例(带有针对 ECS 优化的 AIM)正在运行 ecs 代理,但容器并未在我的 EC2 中启动。为了确认 ecs-agent 正在我的 EC2 实例上运行,我检查了: ecs 日志
我想在一个任务定义中使用客户端和服务器在 aws ecs 中运行套接字程序。当我使用 awsvpc 网络模式并每次连接到本地主机上的服务器时,我都可以运行它。这很好,所以我不需要知道服务器的 IP 地
我有一个在 AWS ECS 上运行的 Docker 容器。我不想要负载均衡器,因为容器是用来处理 websocket 连接的。 https://aws.amazon.com/getting-start
我想在我的 AWS ECS/Fargate 集群上的公共(public) Docker 镜像中启动交互式 shell,以便从集群内部运行网络/连接测试。 似乎官方的方法是使用 aws ecs run-
我在 ECS Fargate 上托管了一个 Shiny 的应用程序。它运行得相当好,但偶尔在使用该应用程序时它会崩溃。我在事件选项卡中将其追溯到以下内容: service YYYY has start
在 AWS ECS 中创建容量提供程序时。我们正在填充的值 Target capacity %,在超过这个值后我们的集群缩小,但我很好奇当前集群的这个值是如何计算的,如果我想检查当前的是什么集群的值(
在 AWS ECS 中创建容量提供程序时。我们正在填充的值 Target capacity %,在超过这个值后我们的集群缩小,但我很好奇当前集群的这个值是如何计算的,如果我想检查当前的是什么集群的值(
我在 AWS 上设置了具有多个目标组和应用程序负载均衡器的 Fargate ecs 服务。它按预期运行。 然后我尝试使用本教程设置管道 https://docs.aws.amazon.com/Amaz
我有一个运行任务的 ECS 集群服务,可以使用 AWS 控制台查看其 Cloudwatch 日志流。 如何为 awslogs-stream-prefix 设置日期,因为我想按日期识别日志流。 "c
我正在使用两个容器部署 ECS Fargate 任务:1 个反向代理 nginx 和 1 个 python 服务器。对于每个我有一个 ECR 存储库,我有一个 CI/CD CodePipeline 设
我在 AWS ECS 上部署了一个 CloudFormation 堆栈,比如 teststack , 通过命令 aws cloudformation deploy --template-file ./
我这里有一些具体的用例。我需要自动扩展在 ECS Fargate 上运行的分布式 Web 应用程序。问题是所有节点都需要在内存中保留相同的数据(因此增加节点数量无助于内存压力)。因此,只有在水平(添加
我正在寻找有关为 ECS 任务分配内存的指南。我正在为希望在服务器成本上尽可能便宜的客户运行 Rails 应用程序。我正在查看具有 2 个 CPU 和 4 GB 内存的中等服务器大小。 大多数情况下,
我是 ECS 新手,我正在尝试使用 Cloudformation 部署它。 我通过查看文档以及从博客和一些文章中找到的一些示例来制作以下 cloudformation 模板。 但是,由于某种原因,它在
也许这很愚蠢,但如果我创建一个 ECS 任务定义(例如参见 https://aws.amazon.com/blogs/compute/better-together-amazon-ecs-and-aw
ECS 的容器定义允许您指定 memoryReservation对于每个容器: The soft limit (in MiB) of memory to reserve for the contain
我在 ca-central 区域创建了一个 AWS ECS 实例。它与每次更新服务时都会更改的动态公共(public) ip 一起使用。到目前为止一切都很好。 由于需要一个公网静态IP,所以我在同一区
Invalid 'containerPort' setting for container 'prerenderContainer'.(Service: AmazonECS; Status Code:
如果我在 ECS 服务级别进行自动扩展,我看不到使用容量提供程序扩展 ECS 集群的意义: https://docs.aws.amazon.com/AmazonECS/latest/developer
关闭。这个问题不符合 Stack Overflow guidelines 。它目前不接受答案。 想改进这个问题?更新问题,使其成为 Stack Overflow 的 on-topic。 1年前关闭。
我是一名优秀的程序员,十分优秀!