1

(15 ответов, оставленных в FreeBSD & BSD)

ankor пишет:
phpfox пишет:

Начал обновляться #portupgrade -a
и в этот момент выключился свет и отрубился сервер после чего вот такие проблемы
#portupgrade -a
portupgrade: Command not found
#pkgdb -F
pkgdb:  Command not found

Народ подскажите че теперь делать переустановка portupgrade не помогло

А команда по прежнему не работает.
#pkgdb -F
pkgdb:  Command not found

Попробуй так:
#/usr/local/sbin/pkgdb -F
и
#/usr/local/sbin/portupgrade -a
если сработает, значит потёрлись файлы конфигурации у root'а

Спасибо вроде все помогло но опять же через некоторое время появились проблемы с обновлением

Делаю все по очередности, сначала обновляю порты portsnap fetch extract update после ввожу команду portupgrade -a после чего обновилось все без единой ошибки и только потом спустя неделе две повторяю опять тоже самое и вот опять что то не ладное

*** Error code 1
1 error
*** Error code 1
Stop in /usr/ports/www/php5-session.
** Command failed [exit code 1]: /usr/local/libexec/pkgtools/script -qa /tmp/portupgrade20130103-44986-1mw9cby-0 env UPGRADE_TOOL=portupgrade UPGRADE_PORT=php5-session-5.4.5 UPGRADE_PORT_VER=5.4.5 make
** Fix the problem and try again.
** Listing the failed packages (-:ignored / *:skipped / !:failed)
        * bsdpan-Opcodes-0.11 (bsdpan-Opcodes-0.11)
        * www/p5-CGI.pm (bsdpan-CGI.pm-3.63)
        * devel/p5-Time-HiRes (bsdpan-Time-HiRes-1.9725)
        * bsdpan-lib-0.63 (bsdpan-lib-0.63)
        * bsdpan-Search-Dict-1.07 (bsdpan-Search-Dict-1.07)
        * bsdpan-DB_File-1.827 (bsdpan-DB_File-1.827)
        * bsdpan-if-0.0601 (bsdpan-if-0.0601)
        * bsdpan-B-Lint-1.14 (bsdpan-B-Lint-1.14)
        * bsdpan-Version-Requirements-0.101022 (bsdpan-Version-Requirements-0.101022)
        * bsdpan-SelfLoader-1.20 (bsdpan-SelfLoader-1.20)
        * bsdpan-Env-1.03 (bsdpan-Env-1.03)
        * devel/p5-ExtUtils-CBuilder (bsdpan-ExtUtils-CBuilder-0.280205)
        * bsdpan-constant-1.21 (bsdpan-constant-1.21)
        * bsdpan-Devel-SelfStubber-1.05 (bsdpan-Devel-SelfStubber-1.05)
        * bsdpan-B-Flags-0.06 (bsdpan-B-Flags-0.06)
        * bsdpan-Text-Abbrev-1.02 (bsdpan-Text-Abbrev-1.02)
        * bsdpan-B-Debug-1.18 (bsdpan-B-Debug-1.18)
        * bsdpan-PerlIO-via-QuotedPrint-0.07 (bsdpan-PerlIO-via-QuotedPrint-0.07)
        * devel/p5-IO (bsdpan-IO-1.25)
        * lang/p5-Scalar-List-Utils (bsdpan-Scalar-List-Utils-1.27)
        * converters/p5-JSON-PP (bsdpan-JSON-PP-2.27200)
        * bsdpan-IPC-SysV-2.03 (bsdpan-IPC-SysV-2.03)
        * bsdpan-Thread-Semaphore-2.12 (bsdpan-Thread-Semaphore-2.12)
        * bsdpan-I18N-Collate-1.02 (bsdpan-I18N-Collate-1.02)
        * bsdpan-Term-ReadLine-1.10 (bsdpan-Term-ReadLine-1.10)
        * bsdpan-Term-Cap-1.12 (bsdpan-Term-Cap-1.12)
        * bsdpan-Pod-Plainer-1.03 (bsdpan-Pod-Plainer-1.03)
        * devel/p5-PathTools (bsdpan-PathTools-3.33)
        * bsdpan-Dumpvalue-1.17 (bsdpan-Dumpvalue-1.17)
        * devel/p5-IPC-Cmd (bsdpan-IPC-Cmd-0.78)
        * bsdpan-Devel-DProf-20110802.00 (bsdpan-Devel-DProf-20110802.00)
        * bsdpan-File-CheckTree-4.41 (bsdpan-File-CheckTree-4.41)
        ! converters/php5-mbstring (php5-mbstring-5.4.5)        (compiler error)
        ! www/php5-tidy (php5-tidy-5.4.5)       (compiler error)
        ! devel/php5-tokenizer (php5-tokenizer-5.4.5)   (compiler error)
        * bsdpan-CPAN-1.9800 (bsdpan-CPAN-1.9800)
        ! databases/php5-mysql (php5-mysql-5.4.5)       (missing header)
        ! databases/php5-pdo (php5-pdo-5.4.5)   (compiler error)
        ! archivers/php5-zip (php5-zip-5.4.5)   (compiler error)
        ! textproc/php5-dom (php5-dom-5.4.5)    (compiler error)
        ! devel/php5-pcntl (php5-pcntl-5.4.5)   (missing header)
        * textproc/php5-xmlreader (php5-xmlreader-5.4.5)
        ! textproc/php5-simplexml (php5-simplexml-5.4.5)        (unknown build error)
        ! databases/libmemcached (libmemcached-1.0.2)   (unknown build error)
        ! converters/php5-iconv (php5-iconv-5.4.5)      (compiler error)
        ! databases/php5-mysqli (php5-mysqli-5.4.5)     (missing header)
        * databases/php5-pdo_sqlite (php5-pdo_sqlite-5.4.5)
        ! archivers/php5-zlib (php5-zlib-5.4.5) (compiler error)
        ! www/php5-session (php5-session-5.4.5) (compiler error)
gardnet#

2

(15 ответов, оставленных в FreeBSD & BSD)

crash пишет:

а сделать поиск по всей системе? Проверить, все ли разделы примонтированы.

Не могли бы подсказать как это сделать, какой командой или иначе как то можно я пока только обучаюсь данной OS многое в ней для меня как первое открытие.

3

(15 ответов, оставленных в FreeBSD & BSD)

Начал обновляться #portupgrade -a
и в этот момент выключился свет и отрубился сервер после чего вот такие проблемы
#portupgrade -a
portupgrade: Command not found
#pkgdb -F
pkgdb:  Command not found

Народ подскажите че теперь делать переустановка portupgrade не помогло

А команда по прежнему не работает.
#pkgdb -F
pkgdb:  Command not found

4

(19 ответов, оставленных в FreeBSD & BSD)

ankor пишет:

Обновите снова порты и попробуйте.

Обновил порты и результата все равно не дало, вот даже видео сделал http://disk.tom.ru/syr8ej6

5

(19 ответов, оставленных в FreeBSD & BSD)

ankor пишет:

Попробуйте обновить так:
portmaster -o ftp/vsftpd-ext ftp/vsftpd
Судя по макефайлу версия 3.0 пока во FreeBSD не работает.

Сделал как вы написали все обновилось вернее vsftpd обновился но вот все остальное так же по прежнему не хочет.

===>>> All >> (16)
===>>> The following actions will be taken if you choose to proceed:
        Upgrade php5-dom-5.4.5 to php5-dom-5.4.7
        Upgrade php5-pdo-5.4.5 to php5-pdo-5.4.7
        Upgrade libmemcached-1.0.2 to libmemcached-1.0.7
        Upgrade php5-iconv-5.4.5 to php5-iconv-5.4.7
        Upgrade php5-mbstring-5.4.5 to php5-mbstring-5.4.7
        Upgrade php5-mysql-5.4.5 to php5-mysql-5.4.7
        Upgrade php5-mysqli-5.4.5 to php5-mysqli-5.4.7
        Upgrade php5-pcntl-5.4.5 to php5-pcntl-5.4.7
        Upgrade php5-pdo_sqlite-5.4.5 to php5-pdo_sqlite-5.4.7
        Upgrade php5-session-5.4.5 to php5-session-5.4.7
        Upgrade php5-simplexml-5.4.5 to php5-simplexml-5.4.7
        Upgrade php5-tidy-5.4.5 to php5-tidy-5.4.7
        Upgrade php5-tokenizer-5.4.5 to php5-tokenizer-5.4.7
        Upgrade php5-xmlreader-5.4.5 to php5-xmlreader-5.4.7
        Upgrade php5-zip-5.4.5 to php5-zip-5.4.7
        Upgrade php5-zlib-5.4.5 to php5-zlib-5.4.7
===>>> Proceed? y/n [y] y
===>>> Starting build for ports that need updating <<<===
===>>> Launching child to install textproc/php5-dom
===>>> All >> textproc/php5-dom (1/16)
===>>> Currently installed version: php5-dom-5.4.5
===>>> Port directory: /usr/ports/textproc/php5-dom
===>>> Starting check for build dependencies
===>>> Gathering dependency list for textproc/php5-dom from ports
===>>> Dependency check complete for textproc/php5-dom
===>>> All >> php5-dom-5.4.5 (1/16)
===>  Cleaning for php5-dom-5.4.7
===>  License PHP301 accepted by the user
===>  Extracting for php5-dom-5.4.7
=> SHA256 Checksum OK for php-5.4.7.tar.bz2.
===>  Patching for php5-dom-5.4.7
===>   php5-dom-5.4.7 depends on file: /usr/local/bin/phpize - found
===>   php5-dom-5.4.7 depends on file: /usr/local/bin/autoconf-2.69 - found
===>   php5-dom-5.4.7 depends on executable: pkgconf - found
===>   php5-dom-5.4.7 depends on shared library: xml2.5 - found
===>  PHPizing for php5-dom-5.4.7
Configuring for:
PHP Api Version:         20090626
Zend Module Api No:      20090626
Zend Extension Api No:   220090626
configure.in:3: warning: prefer named diversions
configure.in:3: warning: prefer named diversions
===>  Configuring for php5-dom-5.4.7
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for a sed that does not truncate output... /usr/bin/sed
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 cc accepts -g... yes
checking for cc option to accept ISO C89... none needed
checking how to run the C preprocessor... cpp
checking for icc... no
checking for suncc... no
checking whether cc understands -c and -o together... yes
checking for system library directory... lib
checking if compiler supports -R... yes
checking build system type... amd64-portbld-freebsd8.0
checking host system type... amd64-portbld-freebsd8.0
checking target system type... amd64-portbld-freebsd8.0
checking for PHP prefix... /usr/local
checking for PHP includes... -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib
checking for PHP extension directory... /usr/local/lib/php/20090626
checking for PHP installed headers prefix... /usr/local/include/php
checking if debug is enabled... no
checking if zts is enabled... no
checking for re2c... re2c
checking for re2c version... 0.13.5 (ok)
checking for gawk... no
checking for nawk... nawk
checking if nawk is broken... no
checking whether to enable DOM support... yes, shared
checking libxml2 install dir... /usr/local
checking for xml2-config path... /usr/local/bin/xml2-config
checking whether libxml build works... yes
checking for ld used by cc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
checking how to recognize dependent libraries... pass_all
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 dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking the maximum length of command line arguments... (cached) 262144
checking command to parse /usr/bin/nm -B output from cc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking if cc supports -fno-rtti -fno-exceptions... no
checking for cc option to produce PIC... -fPIC
checking if cc PIC flag -fPIC works... yes
checking if cc static flag -static works... yes
checking if cc supports -c -o file.o... yes
checking whether the cc linker (/usr/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... freebsd8.0 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
creating libtool
appending configuration tag "CXX" to libtool
checking whether the c++ linker (/usr/bin/ld) supports shared libraries... yes
checking for c++ option to produce PIC...
checking if c++ static flag  works... yes
checking if c++ supports -c -o file.o... yes
checking whether the c++ linker (/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... freebsd8.0 ld.so
(cached) (cached) checking how to hardcode library paths into programs... unsupported
configure: creating ./config.status
config.status: creating config.h
===>  Building for php5-dom-5.4.7
/bin/sh /usr/ports/textproc/php5-dom/work/php-5.4.7/ext/dom/libtool --mode=compile cc  -I. -I/usr/ports/textproc/php5-dom/work/php-5.4.7/ext/dom -DPHP_ATOM_INC -I/usr/ports/textproc/php5-dom/work/php-5.4.7/ext/dom/include -I/usr/ports/textproc/php5-dom/work/php-5.4.7/ext/dom/main -I/usr/ports/textproc/php5-dom/work/php-5.4.7/ext/dom -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -I/usr/local/include/libxml2 -I/usr/local/include  -DHAVE_CONFIG_H  -O2 -pipe -fno-strict-aliasing   -c /usr/ports/textproc/php5-dom/work/php-5.4.7/ext/dom/php_dom.c -o php_dom.lo
mkdir .libs
 cc -I. -I/usr/ports/textproc/php5-dom/work/php-5.4.7/ext/dom -DPHP_ATOM_INC -I/usr/ports/textproc/php5-dom/work/php-5.4.7/ext/dom/include -I/usr/ports/textproc/php5-dom/work/php-5.4.7/ext/dom/main -I/usr/ports/textproc/php5-dom/work/php-5.4.7/ext/dom -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -I/usr/local/include/libxml2 -I/usr/local/include -DHAVE_CONFIG_H -O2 -pipe -fno-strict-aliasing -c /usr/ports/textproc/php5-dom/work/php-5.4.7/ext/dom/php_dom.c  -fPIC -DPIC -o .libs/php_dom.o
/usr/ports/textproc/php5-dom/work/php-5.4.7/ext/dom/php_dom.c:306: error: expected ';', ',' or ')' before '*' token
/usr/ports/textproc/php5-dom/work/php-5.4.7/ext/dom/php_dom.c:340: error: expected ';', ',' or ')' before '*' token
/usr/ports/textproc/php5-dom/work/php-5.4.7/ext/dom/php_dom.c:386: error: expected ';', ',' or ')' before '*' token
/usr/ports/textproc/php5-dom/work/php-5.4.7/ext/dom/php_dom.c:421: error: expected ';', ',' or ')' before '*' token
/usr/ports/textproc/php5-dom/work/php-5.4.7/ext/dom/php_dom.c: In function 'zm_startup_dom':
/usr/ports/textproc/php5-dom/work/php-5.4.7/ext/dom/php_dom.c:664: error: 'dom_read_property' undeclared (first use in this function)
/usr/ports/textproc/php5-dom/work/php-5.4.7/ext/dom/php_dom.c:664: error: (Each undeclared identifier is reported only once
/usr/ports/textproc/php5-dom/work/php-5.4.7/ext/dom/php_dom.c:664: error: for each function it appears in.)
/usr/ports/textproc/php5-dom/work/php-5.4.7/ext/dom/php_dom.c:665: error: 'dom_write_property' undeclared (first use in this function)
/usr/ports/textproc/php5-dom/work/php-5.4.7/ext/dom/php_dom.c:666: error: 'dom_get_property_ptr_ptr' undeclared (first use in this function)
/usr/ports/textproc/php5-dom/work/php-5.4.7/ext/dom/php_dom.c:668: error: 'dom_property_exists' undeclared (first use in this function)
*** Error code 1
1 error
*** Error code 1
Stop in /usr/ports/textproc/php5-dom.
===>>> make failed for textproc/php5-dom
===>>> Aborting update
===>>> Update for textproc/php5-dom failed
===>>> Aborting update
Terminated
Terminated
===>>> You can restart from the point of failure with this command line:
       portmaster <flags> textproc/php5-dom databases/php5-pdo databases/libmemcached converters/php5-iconv converters/php5-mbstring databases/php5-mysql databases/php5-mysqli devel/php5-pcntl databases/php5-pdo_sqlite www/php5-session textproc/php5-simplexml www/php5-tidy devel/php5-tokenizer textproc/php5-xmlreader archivers/php5-zip archivers/php5-zlib

6

(19 ответов, оставленных в FreeBSD & BSD)

ankor пишет:

Мало логов, не понятно где ошибка.
Попробуй pkgdb -F , может зависимости где-то рухнули.
Можно попробовать обновить только vsftpd
portmaster vsftpd

portmaster -L | grep New , выведет список, что надо обновить,
эти порты и искать в UPDATING, опции обновления
могут немного отличаться.

gardnet# pkgdb -F
--->  Checking the package registry database
gardnet# portmaster vsftpd
===>>> Currently installed version: vsftpd-2.3.4
===>>> Port directory: /usr/ports/ftp/vsftpd
===>>> Gathering distinfo list for installed ports
===>>> Launching 'make checksum' for ftp/vsftpd in background
===>>> Gathering dependency list for ftp/vsftpd from ports
===>>> No dependencies for ftp/vsftpd
===>>> Starting build for ftp/vsftpd <<<===
===>>> All dependencies are up to date
===>  Cleaning for vsftpd-3.0.0
===>  License GPLv2 accepted by the user
===>  Found saved configuration for vsftpd-3.0.0
===>  Extracting for vsftpd-3.0.0
=> SHA256 Checksum OK for vsftpd-3.0.0.tar.gz.
===>  Patching for vsftpd-3.0.0
===>  Applying FreeBSD patches for vsftpd-3.0.0
===>  Configuring for vsftpd-3.0.0
/usr/bin/sed -i.bak -e  "s|#undef VSF_BUILD_TCPWRAPPERS|#define VSF_BUILD_TCPWRAPPERS 1|"  /usr/ports/ftp/vsftpd/work/vsftpd-3.0.0/builddefs.h
/usr/bin/sed -i.bak -e "s|^listen=.*|listen=NO|"  -e "s|/etc/vsftpd.conf|/usr/local/etc/vsftpd.conf|"  /usr/ports/ftp/vsftpd/work/vsftpd-3.0.0/defs.h /usr/ports/ftp/vsftpd/work/vsftpd-3.0.0/vsftpd.conf
/usr/bin/sed -i.bak -e "s|/etc/v|/usr/local/etc/v|"  /usr/ports/ftp/vsftpd/work/vsftpd-3.0.0/vsftpd.8 /usr/ports/ftp/vsftpd/work/vsftpd-3.0.0/vsftpd.conf.5 /usr/ports/ftp/vsftpd/work/vsftpd-3.0.0/tunables.c
/usr/bin/sed -i.bak -e "s|-O2 ||"   -e "s|^CC   =       gcc|CC  =       cc|"  -e "s|^CFLAGS  =|CFLAGS =       -O2 -pipe -fno-strict-aliasing |"  -e "s|^LDFLAGS       =       |LDFLAGS     = |"  -e "s|     -Wl,-s| -lssp_nonshared|"  /usr/ports/ftp/vsftpd/work/vsftpd-3.0.0/Makefile
/usr/bin/sed -i.bak -e '/-lutil/d' /usr/ports/ftp/vsftpd/work/vsftpd-3.0.0/vsf_findlibs.sh
===>  Building for vsftpd-3.0.0
cc -c main.c -O2 -pipe -fno-strict-aliasing -fPIE -fstack-protector --param=ssp-buffer-size=4  -Wall -W -Wshadow -Werror -Wformat-security  -D_FORTIFY_SOURCE=2 -idirafter dummyinc
cc -c utility.c -O2 -pipe -fno-strict-aliasing -fPIE -fstack-protector --param=ssp-buffer-size=4  -Wall -W -Wshadow -Werror -Wformat-security  -D_FORTIFY_SOURCE=2 -idirafter dummyinc
cc -c prelogin.c -O2 -pipe -fno-strict-aliasing -fPIE -fstack-protector --param=ssp-buffer-size=4  -Wall -W -Wshadow -Werror -Wformat-security  -D_FORTIFY_SOURCE=2 -idirafter dummyinc
cc -c ftpcmdio.c -O2 -pipe -fno-strict-aliasing -fPIE -fstack-protector --param=ssp-buffer-size=4  -Wall -W -Wshadow -Werror -Wformat-security  -D_FORTIFY_SOURCE=2 -idirafter dummyinc
cc -c postlogin.c -O2 -pipe -fno-strict-aliasing -fPIE -fstack-protector --param=ssp-buffer-size=4  -Wall -W -Wshadow -Werror -Wformat-security  -D_FORTIFY_SOURCE=2 -idirafter dummyinc
cc -c privsock.c -O2 -pipe -fno-strict-aliasing -fPIE -fstack-protector --param=ssp-buffer-size=4  -Wall -W -Wshadow -Werror -Wformat-security  -D_FORTIFY_SOURCE=2 -idirafter dummyinc
cc -c tunables.c -O2 -pipe -fno-strict-aliasing -fPIE -fstack-protector --param=ssp-buffer-size=4  -Wall -W -Wshadow -Werror -Wformat-security  -D_FORTIFY_SOURCE=2 -idirafter dummyinc
cc -c ftpdataio.c -O2 -pipe -fno-strict-aliasing -fPIE -fstack-protector --param=ssp-buffer-size=4  -Wall -W -Wshadow -Werror -Wformat-security  -D_FORTIFY_SOURCE=2 -idirafter dummyinc
cc -c secbuf.c -O2 -pipe -fno-strict-aliasing -fPIE -fstack-protector --param=ssp-buffer-size=4  -Wall -W -Wshadow -Werror -Wformat-security  -D_FORTIFY_SOURCE=2 -idirafter dummyinc
cc -c ls.c -O2 -pipe -fno-strict-aliasing -fPIE -fstack-protector --param=ssp-buffer-size=4  -Wall -W -Wshadow -Werror -Wformat-security  -D_FORTIFY_SOURCE=2 -idirafter dummyinc
cc -c postprivparent.c -O2 -pipe -fno-strict-aliasing -fPIE -fstack-protector --param=ssp-buffer-size=4  -Wall -W -Wshadow -Werror -Wformat-security  -D_FORTIFY_SOURCE=2 -idirafter dummyinc
cc -c logging.c -O2 -pipe -fno-strict-aliasing -fPIE -fstack-protector --param=ssp-buffer-size=4  -Wall -W -Wshadow -Werror -Wformat-security  -D_FORTIFY_SOURCE=2 -idirafter dummyinc
cc -c str.c -O2 -pipe -fno-strict-aliasing -fPIE -fstack-protector --param=ssp-buffer-size=4  -Wall -W -Wshadow -Werror -Wformat-security  -D_FORTIFY_SOURCE=2 -idirafter dummyinc
cc -c netstr.c -O2 -pipe -fno-strict-aliasing -fPIE -fstack-protector --param=ssp-buffer-size=4  -Wall -W -Wshadow -Werror -Wformat-security  -D_FORTIFY_SOURCE=2 -idirafter dummyinc
cc -c sysstr.c -O2 -pipe -fno-strict-aliasing -fPIE -fstack-protector --param=ssp-buffer-size=4  -Wall -W -Wshadow -Werror -Wformat-security  -D_FORTIFY_SOURCE=2 -idirafter dummyinc
cc -c strlist.c -O2 -pipe -fno-strict-aliasing -fPIE -fstack-protector --param=ssp-buffer-size=4  -Wall -W -Wshadow -Werror -Wformat-security  -D_FORTIFY_SOURCE=2 -idirafter dummyinc
cc -c banner.c -O2 -pipe -fno-strict-aliasing -fPIE -fstack-protector --param=ssp-buffer-size=4  -Wall -W -Wshadow -Werror -Wformat-security  -D_FORTIFY_SOURCE=2 -idirafter dummyinc
cc -c filestr.c -O2 -pipe -fno-strict-aliasing -fPIE -fstack-protector --param=ssp-buffer-size=4  -Wall -W -Wshadow -Werror -Wformat-security  -D_FORTIFY_SOURCE=2 -idirafter dummyinc
cc -c parseconf.c -O2 -pipe -fno-strict-aliasing -fPIE -fstack-protector --param=ssp-buffer-size=4  -Wall -W -Wshadow -Werror -Wformat-security  -D_FORTIFY_SOURCE=2 -idirafter dummyinc
cc -c secutil.c -O2 -pipe -fno-strict-aliasing -fPIE -fstack-protector --param=ssp-buffer-size=4  -Wall -W -Wshadow -Werror -Wformat-security  -D_FORTIFY_SOURCE=2 -idirafter dummyinc
cc -c ascii.c -O2 -pipe -fno-strict-aliasing -fPIE -fstack-protector --param=ssp-buffer-size=4  -Wall -W -Wshadow -Werror -Wformat-security  -D_FORTIFY_SOURCE=2 -idirafter dummyinc
cc -c oneprocess.c -O2 -pipe -fno-strict-aliasing -fPIE -fstack-protector --param=ssp-buffer-size=4  -Wall -W -Wshadow -Werror -Wformat-security  -D_FORTIFY_SOURCE=2 -idirafter dummyinc
cc -c twoprocess.c -O2 -pipe -fno-strict-aliasing -fPIE -fstack-protector --param=ssp-buffer-size=4  -Wall -W -Wshadow -Werror -Wformat-security  -D_FORTIFY_SOURCE=2 -idirafter dummyinc
cc -c privops.c -O2 -pipe -fno-strict-aliasing -fPIE -fstack-protector --param=ssp-buffer-size=4  -Wall -W -Wshadow -Werror -Wformat-security  -D_FORTIFY_SOURCE=2 -idirafter dummyinc
cc -c standalone.c -O2 -pipe -fno-strict-aliasing -fPIE -fstack-protector --param=ssp-buffer-size=4  -Wall -W -Wshadow -Werror -Wformat-security  -D_FORTIFY_SOURCE=2 -idirafter dummyinc
cc -c hash.c -O2 -pipe -fno-strict-aliasing -fPIE -fstack-protector --param=ssp-buffer-size=4  -Wall -W -Wshadow -Werror -Wformat-security  -D_FORTIFY_SOURCE=2 -idirafter dummyinc
cc -c tcpwrap.c -O2 -pipe -fno-strict-aliasing -fPIE -fstack-protector --param=ssp-buffer-size=4  -Wall -W -Wshadow -Werror -Wformat-security  -D_FORTIFY_SOURCE=2 -idirafter dummyinc
cc -c ipaddrparse.c -O2 -pipe -fno-strict-aliasing -fPIE -fstack-protector --param=ssp-buffer-size=4  -Wall -W -Wshadow -Werror -Wformat-security  -D_FORTIFY_SOURCE=2 -idirafter dummyinc
cc -c access.c -O2 -pipe -fno-strict-aliasing -fPIE -fstack-protector --param=ssp-buffer-size=4  -Wall -W -Wshadow -Werror -Wformat-security  -D_FORTIFY_SOURCE=2 -idirafter dummyinc
cc -c features.c -O2 -pipe -fno-strict-aliasing -fPIE -fstack-protector --param=ssp-buffer-size=4  -Wall -W -Wshadow -Werror -Wformat-security  -D_FORTIFY_SOURCE=2 -idirafter dummyinc
cc -c readwrite.c -O2 -pipe -fno-strict-aliasing -fPIE -fstack-protector --param=ssp-buffer-size=4  -Wall -W -Wshadow -Werror -Wformat-security  -D_FORTIFY_SOURCE=2 -idirafter dummyinc
cc -c opts.c -O2 -pipe -fno-strict-aliasing -fPIE -fstack-protector --param=ssp-buffer-size=4  -Wall -W -Wshadow -Werror -Wformat-security  -D_FORTIFY_SOURCE=2 -idirafter dummyinc
cc -c ssl.c -O2 -pipe -fno-strict-aliasing -fPIE -fstack-protector --param=ssp-buffer-size=4  -Wall -W -Wshadow -Werror -Wformat-security  -D_FORTIFY_SOURCE=2 -idirafter dummyinc
cc -c sslslave.c -O2 -pipe -fno-strict-aliasing -fPIE -fstack-protector --param=ssp-buffer-size=4  -Wall -W -Wshadow -Werror -Wformat-security  -D_FORTIFY_SOURCE=2 -idirafter dummyinc
cc -c ptracesandbox.c -O2 -pipe -fno-strict-aliasing -fPIE -fstack-protector --param=ssp-buffer-size=4  -Wall -W -Wshadow -Werror -Wformat-security  -D_FORTIFY_SOURCE=2 -idirafter dummyinc
cc -c ftppolicy.c -O2 -pipe -fno-strict-aliasing -fPIE -fstack-protector --param=ssp-buffer-size=4  -Wall -W -Wshadow -Werror -Wformat-security  -D_FORTIFY_SOURCE=2 -idirafter dummyinc
cc -c sysutil.c -O2 -pipe -fno-strict-aliasing -fPIE -fstack-protector --param=ssp-buffer-size=4  -Wall -W -Wshadow -Werror -Wformat-security  -D_FORTIFY_SOURCE=2 -idirafter dummyinc
cc -c sysdeputil.c -O2 -pipe -fno-strict-aliasing -fPIE -fstack-protector --param=ssp-buffer-size=4  -Wall -W -Wshadow -Werror -Wformat-security  -D_FORTIFY_SOURCE=2 -idirafter dummyinc
cc -c seccompsandbox.c -O2 -pipe -fno-strict-aliasing -fPIE -fstack-protector --param=ssp-buffer-size=4  -Wall -W -Wshadow -Werror -Wformat-security  -D_FORTIFY_SOURCE=2 -idirafter dummyinc
cc -o vsftpd main.o utility.o prelogin.o ftpcmdio.o postlogin.o privsock.o  tunables.o ftpdataio.o secbuf.o ls.o  postprivparent.o logging.o str.o netstr.o sysstr.o strlist.o  banner.o filestr.o parseconf.o secutil.o  ascii.o oneprocess.o twoprocess.o privops.o standalone.o hash.o  tcpwrap.o ipaddrparse.o access.o features.o readwrite.o opts.o  ssl.o sslslave.o ptracesandbox.o ftppolicy.o sysutil.o sysdeputil.o  seccompsandbox.o -lssp_nonshared -fPIE -pie -Wl,-z,relro -Wl,-z,now `./vsf_findlibs.sh`
/usr/bin/ld: /usr/lib/crt1.o: relocation R_X86_64_32 can not be used when making a shared object; recompile with -fPIC
/usr/lib/crt1.o: could not read symbols: Bad value
*** Error code 1
Stop in /usr/ports/ftp/vsftpd/work/vsftpd-3.0.0.
*** Error code 1
Stop in /usr/ports/ftp/vsftpd.
*** Error code 1
Stop in /usr/ports/ftp/vsftpd.
===>>> make failed for ftp/vsftpd
===>>> Aborting update
Terminated
Terminated
===>>> You can restart from the point of failure with this command line:
       portmaster <flags> ftp/vsftpd
gardnet# portmaster -L | grep New
        ===>>> New version available: vsftpd-3.0.0
        ===>>> New version available: php5-dom-5.4.7
        ===>>> New version available: php5-pdo-5.4.7
        ===>>> New version available: libmemcached-1.0.7
        ===>>> New version available: php5-iconv-5.4.7
        ===>>> New version available: php5-mbstring-5.4.7
        ===>>> New version available: php5-mysql-5.4.7
        ===>>> New version available: php5-mysqli-5.4.7
        ===>>> New version available: php5-pcntl-5.4.7
        ===>>> New version available: php5-pdo_sqlite-5.4.7
        ===>>> New version available: php5-session-5.4.7
        ===>>> New version available: php5-simplexml-5.4.7
        ===>>> New version available: php5-tidy-5.4.7
        ===>>> New version available: php5-tokenizer-5.4.7
        ===>>> New version available: php5-xmlreader-5.4.7
        ===>>> New version available: php5-zip-5.4.7
        ===>>> New version available: php5-zlib-5.4.7
gardnet#

7

(19 ответов, оставленных в FreeBSD & BSD)

/usr/bin/ld: /usr/lib/crt1.o: relocation R_X86_64_32 can not be used when making a shared object; recompile with -fPIC
/usr/lib/crt1.o: could not read symbols: Bad value
*** Error code 1
Stop in /usr/ports/ftp/vsftpd/work/vsftpd-3.0.0.
*** Error code 1
Stop in /usr/ports/ftp/vsftpd.
*** Error code 1
Stop in /usr/ports/ftp/vsftpd.
===>>> make failed for ftp/vsftpd
===>>> Aborting update
===>>> Update for ftp/vsftpd failed
===>>> Aborting update
Terminated
===>>> You can restart from the point of failure with this command line:
       portmaster <flags> ftp/vsftpd textproc/php5-dom databases/php5-pdo databases/libmemcached converters/php5-iconv converters/php5-mbstring databases/php5-mysql databases/php5-mysqli devel/php5-pcntl databases/php5-pdo_sqlite www/php5-session textproc/php5-simplexml www/php5-tidy devel/php5-tokenizer textproc/php5-xmlreader archivers/php5-zip archivers/php5-zlib

Смотреть в /usr/ports/UPDATING.

Да посмотреть я могу но вот только все равно не чего я там понять не смогу если только вам его покажу как специалисту а я в этом еще пока долек.

UPDATING
http://disk.tom.ru/h8m7tly

8

(19 ответов, оставленных в FreeBSD & BSD)

crash пишет:

а вам что-нибудь из этого надо?

Большое вам спасибо! gd поставил portmaster и portupgrade тоже но начал обновлять
portmaster -ad

после чего выдало мне ошибку

*** Error code 1
Stop in /usr/ports/ftp/vsftpd/work/vsftpd-3.0.0.
*** Error code 1
Stop in /usr/ports/ftp/vsftpd.
*** Error code 1
Stop in /usr/ports/ftp/vsftpd.
===>>> make failed for ftp/vsftpd
===>>> Aborting update
===>>> Update for ftp/vsftpd failed
===>>> Aborting update
Terminated
===>>> You can restart from the point of failure with this command line:
       portmaster <flags> ftp/vsftpd textproc/php5-dom databases/php5-pdo databases/libmemcached converters/php5-iconv converters/php5-mbstring databases/php5-mysql databases/php5-mysqli devel/php5-pcntl databases/php5-pdo_sqlite www/php5-session textproc/php5-simplexml www/php5-tidy devel/php5-tokenizer textproc/php5-xmlreader archivers/php5-zip archivers/php5-zlib

9

(19 ответов, оставленных в FreeBSD & BSD)

ankor пишет:
phpfox пишет:
# cd usr/ports/ports-mgmt/portmaster && make install clean
usr/ports/ports-mgmt/portmaster: No such file or directory.

Я ошибся, а вы не подумали.
слеш(/) перед usr

Ага заработало, и чтоб дальше ошибок не наделать хочу спросить тут нужно что нибуть выделять.

http://s017.radikal.ru/i442/1210/bf/001fb2d4be85.png

10

(19 ответов, оставленных в FreeBSD & BSD)

ankor пишет:

pkg_info | grep portupgrade
посмотреть есть-ли он.

Установить portmaster
cd usr/ports/ports-mgmt/portmaster && make install clean

rehash

потом
portsnap fetch update

Посмотреть, что надо обновить
portmaster -L | grep New

Обязательно смотреть в /usr/ports/UPDATING, что-бы не нарваться
на неприятности.
Можно обновлять всё сразу
portmaster -a
или конкретные порты
portmaster help2man libX11 libXaw libXext
портмастер обновит и зависимости

вот что выдает

# pkg_info | grep portupgrade
portupgrade-2.4.10.2,2 FreeBSD ports/packages administration and management tool s
# cd usr/ports/ports-mgmt/portmaster && make install clean
usr/ports/ports-mgmt/portmaster: No such file or directory.

11

(19 ответов, оставленных в FreeBSD & BSD)

ankor пишет:

И чего вы хотите?
Вот то, что выдало обновить надо, иначе не поставите.

А как мне обновить? Я пробовал

portupgrade
portupgrade: Command not found.

хотя portupgrade установлен

и так тоже пробовал 
portsnap fetch extract update

12

(19 ответов, оставленных в FreeBSD & BSD)

ankor пишет:

Для начала посмотреть, что с портами.
pkg_version -v | grep "<"
или
portmaster -L | grep New
FreeBSD какая?

# uname -a
FreeBSD gardnet 8.0-RELEASE-p4 FreeBSD 8.0-RELEASE-p4 #0: Mon Jul 12 20:55:11 UTC 2010     [email protected]:/usr/obj/usr/src/sys/GENERIC  amd64
# pkg_version -v | grep "<"
apache-1.3.42                       <   needs updating (port has 2.2.22_8)
ca_root_nss-3.13.5                  <   needs updating (port has 3.13.6)
curl-7.24.0                         <   needs updating (port has 7.24.0_1)
gmake-3.82                          <   needs updating (port has 3.82_1)
help2man-1.40.10                    <   needs updating (port has 1.40.12)
libX11-1.2.1_1,1                    <   needs updating (port has 1.4.4,1)
libXaw-1.0.5_1,1                    <   needs updating (port has 1.0.9,2)
libXext-1.0.5,1                     <   needs updating (port has 1.3.0_1,1)
libXmu-1.0.4,1                      <   needs updating (port has 1.1.0,1)
libXp-1.0.0,1                       <   needs updating (port has 1.0.1,1)
libXpm-3.5.7                        <   needs updating (port has 3.5.9)
libXrender-0.9.5                    <   needs updating (port has 0.9.6)
libXt-1.0.5_1                       <   needs updating (port has 1.1.1,1)
libmemcached-1.0.2                  <   needs updating (port has 1.0.7)
libslang2-2.2.4_1                   <   needs updating (port has 2.2.4_3)
libxml2-2.7.8_2                     <   needs updating (port has 2.7.8_5)
m4-1.4.16,1                         <   needs updating (port has 1.4.16_1,1)
mc-4.8.1.1_1                        <   needs updating (port has 4.8.1.4_1)
memcached-1.4.13                    <   needs updating (port has 1.4.15)
monit-5.2.5_1                       <   needs updating (port has 5.5)
mysql-client-5.5.23                 <   needs updating (port has 5.5.28)
mysql-server-5.5.23                 <   needs updating (port has 5.5.28)
nginx-devel-1.2.0_1                 <   needs updating (port has 1.3.7)
openconnect-3.16                    <   needs updating (port has 4.07)
openldap-client-2.4.31_1            <   needs updating (port has 2.4.33)
openssl-1.0.1_1                     <   needs updating (port has 1.0.1_4)
p5-Net-SSLeay-1.47                  <   needs updating (port has 1.48)
pcre-8.30_2                         <   needs updating (port has 8.31_1)
pdflib-7.0.5                        <   needs updating (port has 7.0.5_2)
php5-bz2-5.4.5                      <   needs updating (port has 5.4.7)
php5-ctype-5.4.5                    <   needs updating (port has 5.4.7)
php5-curl-5.4.5                     <   needs updating (port has 5.4.7)
php5-dom-5.4.5                      <   needs updating (port has 5.4.7)
php5-filter-5.4.5                   <   needs updating (port has 5.4.7)
php5-ftp-5.4.5                      <   needs updating (port has 5.4.7)
php5-gettext-5.4.5                  <   needs updating (port has 5.4.7)
php5-hash-5.4.5                     <   needs updating (port has 5.4.7)
php5-iconv-5.4.5                    <   needs updating (port has 5.4.7)
php5-imap-5.4.5                     <   needs updating (port has 5.4.7)
php5-json-5.4.5                     <   needs updating (port has 5.4.7)
php5-ldap-5.4.5                     <   needs updating (port has 5.4.7)
php5-mbstring-5.4.5                 <   needs updating (port has 5.4.7)
php5-mcrypt-5.4.5                   <   needs updating (port has 5.4.7)
php5-mysql-5.4.5                    <   needs updating (port has 5.4.7)
php5-mysqli-5.4.5                   <   needs updating (port has 5.4.7)
php5-pcntl-5.4.5                    <   needs updating (port has 5.4.7)
php5-pdo-5.4.5                      <   needs updating (port has 5.4.7)
php5-pdo_sqlite-5.4.5               <   needs updating (port has 5.4.7)
php5-phar-5.4.5                     <   needs updating (port has 5.4.7)
php5-posix-5.4.5                    <   needs updating (port has 5.4.7)
php5-session-5.4.5                  <   needs updating (port has 5.4.7)
php5-simplexml-5.4.5                <   needs updating (port has 5.4.7)
php5-sockets-5.4.5                  <   needs updating (port has 5.4.7)
php5-sqlite3-5.4.5                  <   needs updating (port has 5.4.7)
php5-tidy-5.4.5                     <   needs updating (port has 5.4.7)
php5-tokenizer-5.4.5                <   needs updating (port has 5.4.7)
php5-xml-5.3.8                      <   needs updating (port has 5.4.7)
php5-xml-5.4.5                      <   needs updating (port has 5.4.7)
php5-xmlreader-5.4.5                <   needs updating (port has 5.4.7)
php5-xmlwriter-5.4.5                <   needs updating (port has 5.4.7)
php5-zip-5.4.5                      <   needs updating (port has 5.4.7)
php5-zlib-5.4.5                     <   needs updating (port has 5.4.7)
pkgconf-0.8.3_1                     <   needs updating (port has 0.8.9)
python27-2.7.3                      <   needs updating (port has 2.7.3_3)
ru-freebsd-doc-20090913             <   needs updating (port has 39278,1)
ruby-1.8.7.352_2,1                  <   needs updating (port has 1.8.7.370,1)
sphinxsearch-2.0.3                  <   needs updating (port has 2.0.5)
sqlite3-3.7.11                      <   needs updating (port has 3.7.14.1)
tcl-8.5.11                          <   needs updating (port has 8.5.12_2)
tcl-modules-8.5.11                  <   needs updating (port has 8.5.12_2)
texi2html-1.82,1                    <   needs updating (port has 5.0_1,1)
unrar-4.10_2,5                      <   needs updating (port has 4.20_1,5)
vsftpd-2.3.4                        <   needs updating (port has 3.0.0)
xcb-proto-1.6                       <   needs updating (port has 1.7.1)
# portmaster -L | grep New
portmaster: Command not found.

13

(19 ответов, оставленных в FreeBSD & BSD)

PHP 5.3.17 with Suhosin-Patch (cli) (built: Oct 13 2012 18:47:08)
Copyright (c) 1997-2012 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2012 Zend Technologies

Срочно требуется GD на моем сервере а установить не в какую не могу помогите чем сможете. Заранее большое спасибо за любую помощь.

xglyph.c:47:27: error: X11/Xaw/Label.h: No such file or directory
xglyph.c:48:29: error: X11/Xaw/Command.h: No such file or directory
xglyph.c:49:26: error: X11/Xaw/Form.h: No such file or directory
xglyph.c:50:28: error: X11/Xaw/Dialog.h: No such file or directory
xglyph.c:51:25: error: X11/Xaw/Box.h: No such file or directory
xglyph.c:54:31: error: X11/Xaw/AsciiText.h: No such file or directory
xglyph.c:57:26: error: X11/Xaw/List.h: No such file or directory
xglyph.c: In function 'main':
xglyph.c:687: error: 'labelWidgetClass' undeclared (first use in this function)
xglyph.c:687: error: (Each undeclared identifier is reported only once
xglyph.c:687: error: for each function it appears in.)
xglyph.c:765: error: 'boxWidgetClass' undeclared (first use in this function)
xglyph.c:773: error: 'dialogWidgetClass' undeclared (first use in this function)
xglyph.c:1037: error: 'commandWidgetClass' undeclared (first use in this function)
xglyph.c:1374: error: 'asciiTextWidgetClass' undeclared (first use in this function)
xglyph.c:1379: error: 'XtNwrap' undeclared (first use in this function)
xglyph.c:1379: error: 'XawtextWrapLine' undeclared (first use in this function)
xglyph.c:1380: error: 'XawtextEdit' undeclared (first use in this function)
xglyph.c: In function 'showchar':
xglyph.c:1860: warning: passing argument 1 of 'sscanf' makes pointer from integer without a cast
xglyph.c:1861: warning: passing argument 1 of 'sscanf' makes pointer from integer without a cast
xglyph.c:1862: warning: passing argument 1 of 'sscanf' makes pointer from integer without a cast
xglyph.c:1863: warning: passing argument 1 of 'sscanf' makes pointer from integer without a cast
xglyph.c:1864: warning: passing argument 1 of 'sscanf' makes pointer from integer without a cast
xglyph.c:1865: warning: passing argument 1 of 'sscanf' makes pointer from integer without a cast
xglyph.c:1917: warning: passing argument 1 of 'sscanf' makes pointer from integer without a cast
xglyph.c:1961: warning: passing argument 1 of 'sscanf' makes pointer from integer without a cast
xglyph.c:1969: warning: passing argument 1 of 'sscanf' makes pointer from integer without a cast
xglyph.c: In function 'showstring':
xglyph.c:2123: warning: passing argument 1 of 'sscanf' makes pointer from integer without a cast
xglyph.c:2124: warning: passing argument 1 of 'sscanf' makes pointer from integer without a cast
xglyph.c:2125: warning: passing argument 1 of 'sscanf' makes pointer from integer without a cast
xglyph.c:2126: warning: passing argument 1 of 'sscanf' makes pointer from integer without a cast
xglyph.c:2127: warning: passing argument 1 of 'sscanf' makes pointer from integer without a cast
xglyph.c:2128: warning: passing argument 1 of 'sscanf' makes pointer from integer without a cast
xglyph.c:2179: warning: passing argument 1 of 'sscanf' makes pointer from integer without a cast
xglyph.c:2223: warning: passing argument 1 of 'sscanf' makes pointer from integer without a cast
xglyph.c:2231: warning: passing argument 1 of 'sscanf' makes pointer from integer without a cast
xglyph.c:2376: warning: passing argument 1 of 'sscanf' makes pointer from integer without a cast
xglyph.c: In function 'aashowchar':
xglyph.c:2503: warning: passing argument 1 of 'sscanf' makes pointer from integer without a cast
xglyph.c:2504: warning: passing argument 1 of 'sscanf' makes pointer from integer without a cast
xglyph.c:2505: warning: passing argument 1 of 'sscanf' makes pointer from integer without a cast
xglyph.c:2506: warning: passing argument 1 of 'sscanf' makes pointer from integer without a cast
xglyph.c:2507: warning: passing argument 1 of 'sscanf' makes pointer from integer without a cast
xglyph.c:2508: warning: passing argument 1 of 'sscanf' makes pointer from integer without a cast
xglyph.c:2559: warning: passing argument 1 of 'sscanf' makes pointer from integer without a cast
xglyph.c:2603: warning: passing argument 1 of 'sscanf' makes pointer from integer without a cast
xglyph.c:2611: warning: passing argument 1 of 'sscanf' makes pointer from integer without a cast
xglyph.c: In function 'aashowstring':
xglyph.c:2778: warning: passing argument 1 of 'sscanf' makes pointer from integer without a cast
xglyph.c:2779: warning: passing argument 1 of 'sscanf' makes pointer from integer without a cast
xglyph.c:2780: warning: passing argument 1 of 'sscanf' makes pointer from integer without a cast
xglyph.c:2781: warning: passing argument 1 of 'sscanf' makes pointer from integer without a cast
xglyph.c:2782: warning: passing argument 1 of 'sscanf' makes pointer from integer without a cast
xglyph.c:2783: warning: passing argument 1 of 'sscanf' makes pointer from integer without a cast
xglyph.c:2834: warning: passing argument 1 of 'sscanf' makes pointer from integer without a cast
xglyph.c:2878: warning: passing argument 1 of 'sscanf' makes pointer from integer without a cast
xglyph.c:2886: warning: passing argument 1 of 'sscanf' makes pointer from integer without a cast
xglyph.c: In function 'showcharX':
xglyph.c:3111: warning: passing argument 1 of 'sscanf' makes pointer from integer without a cast
xglyph.c:3112: warning: passing argument 1 of 'sscanf' makes pointer from integer without a cast
xglyph.c:3113: warning: passing argument 1 of 'sscanf' makes pointer from integer without a cast
xglyph.c:3114: warning: passing argument 1 of 'sscanf' makes pointer from integer without a cast
xglyph.c:3115: warning: passing argument 1 of 'sscanf' makes pointer from integer without a cast
xglyph.c:3116: warning: passing argument 1 of 'sscanf' makes pointer from integer without a cast
xglyph.c:3167: warning: passing argument 1 of 'sscanf' makes pointer from integer without a cast
xglyph.c:3211: warning: passing argument 1 of 'sscanf' makes pointer from integer without a cast
xglyph.c:3219: warning: passing argument 1 of 'sscanf' makes pointer from integer without a cast
xglyph.c: In function 'showstringX':
xglyph.c:3376: warning: passing argument 1 of 'sscanf' makes pointer from integer without a cast
xglyph.c:3377: warning: passing argument 1 of 'sscanf' makes pointer from integer without a cast
xglyph.c:3378: warning: passing argument 1 of 'sscanf' makes pointer from integer without a cast
xglyph.c:3379: warning: passing argument 1 of 'sscanf' makes pointer from integer without a cast
xglyph.c:3380: warning: passing argument 1 of 'sscanf' makes pointer from integer without a cast
xglyph.c:3381: warning: passing argument 1 of 'sscanf' makes pointer from integer without a cast
xglyph.c:3432: warning: passing argument 1 of 'sscanf' makes pointer from integer without a cast
xglyph.c:3476: warning: passing argument 1 of 'sscanf' makes pointer from integer without a cast
xglyph.c:3484: warning: passing argument 1 of 'sscanf' makes pointer from integer without a cast
xglyph.c: In function 'aashowcharX':
xglyph.c:3691: warning: passing argument 1 of 'sscanf' makes pointer from integer without a cast
xglyph.c:3692: warning: passing argument 1 of 'sscanf' makes pointer from integer without a cast
xglyph.c:3693: warning: passing argument 1 of 'sscanf' makes pointer from integer without a cast
xglyph.c:3694: warning: passing argument 1 of 'sscanf' makes pointer from integer without a cast
xglyph.c:3695: warning: passing argument 1 of 'sscanf' makes pointer from integer without a cast
xglyph.c:3696: warning: passing argument 1 of 'sscanf' makes pointer from integer without a cast
xglyph.c:3747: warning: passing argument 1 of 'sscanf' makes pointer from integer without a cast
xglyph.c:3791: warning: passing argument 1 of 'sscanf' makes pointer from integer without a cast
xglyph.c:3799: warning: passing argument 1 of 'sscanf' makes pointer from integer without a cast
xglyph.c: In function 'aashowstringX':
xglyph.c:3959: warning: passing argument 1 of 'sscanf' makes pointer from integer without a cast
xglyph.c:3960: warning: passing argument 1 of 'sscanf' makes pointer from integer without a cast
xglyph.c:3961: warning: passing argument 1 of 'sscanf' makes pointer from integer without a cast
xglyph.c:3962: warning: passing argument 1 of 'sscanf' makes pointer from integer without a cast
xglyph.c:3963: warning: passing argument 1 of 'sscanf' makes pointer from integer without a cast
xglyph.c:3964: warning: passing argument 1 of 'sscanf' makes pointer from integer without a cast
xglyph.c:4015: warning: passing argument 1 of 'sscanf' makes pointer from integer without a cast
xglyph.c:4060: warning: passing argument 1 of 'sscanf' makes pointer from integer without a cast
xglyph.c:4068: warning: passing argument 1 of 'sscanf' makes pointer from integer without a cast
xglyph.c: In function 'fonttable':
xglyph.c:4288: warning: passing argument 1 of 'sscanf' makes pointer from integer without a cast
xglyph.c:4289: warning: passing argument 1 of 'sscanf' makes pointer from integer without a cast
xglyph.c:4290: warning: passing argument 1 of 'sscanf' makes pointer from integer without a cast
xglyph.c:4291: warning: passing argument 1 of 'sscanf' makes pointer from integer without a cast
xglyph.c:4292: warning: passing argument 1 of 'sscanf' makes pointer from integer without a cast
xglyph.c:4293: warning: passing argument 1 of 'sscanf' makes pointer from integer without a cast
xglyph.c:4340: warning: passing argument 1 of 'sscanf' makes pointer from integer without a cast
xglyph.c:4385: warning: passing argument 1 of 'sscanf' makes pointer from integer without a cast
xglyph.c:4393: warning: passing argument 1 of 'sscanf' makes pointer from integer without a cast
xglyph.c: In function 'CheckTransform':
xglyph.c:4717: warning: passing argument 1 of 'sscanf' makes pointer from integer without a cast
gmake[1]: *** [xglyph.lo] Error 1
gmake[1]: Leaving directory `/usr/ports/devel/t1lib/work/t1lib-5.1.2/xglyph'
gmake: *** [XXXX] Error 1
*** Error code 1
Stop in /usr/ports/devel/t1lib.
*** Error code 1
Stop in /usr/ports/graphics/php5-gd.
*** Error code 1
Stop in /usr/ports/graphics/php5-gd.

14

(11 ответов, оставленных в PHP)

да конечно есть и даже права стоят на запись 777
http://s019.radikal.ru/i644/1203/28/5c6d7c24dd70t.jpg

15

(11 ответов, оставленных в PHP)

Уже даже обновил php до

# php -v
PHP 5.3.10 (cli) (built: Feb 26 2012 15:55:46)
Copyright (c) 1997-2012 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2012 Zend Technologies
gardnet#



Вот мой конфиг может кто че обнаружит в нем не ладное что могло вызвать эту ошибку.

user  www;
worker_processes  1;
worker_rlimit_nofile 10240;
worker_rlimit_sigpending 32768;
error_log  /var/log/nginx-error.log;
#error_log  logs/error.log  notice;
#error_log  logs/error.log  info;
pid        /var/run/nginx.pid;
worker_priority -5;
events {
    worker_connections  1024;
    use                 kqueue;
}
http {
    include       mime.types;
    default_type  application/octet-stream;
    client_max_body_size 40m;
    #log_format  main  '$remote_addr - $remote_user [$time_local] "$request" '
    #                  '$status $body_bytes_sent "$http_referer" '
    #                  '"$http_user_agent" "$http_x_forwarded_for"';
    #access_log  logs/access.log  main;
    sendfile        on;
    aio             sendfile;
    tcp_nopush      on;
    tcp_nodelay     on;
    send_lowat      12000;
    server_tokens   off;
    log_not_found   off;
    #keepalive_timeout  0;
    keepalive_timeout  65;
    lingering_time      30;
    lingering_timeout   6;
    #optimiz for fulehosting
    #output_buffers                  32 512k;
    #sendfile_max_chunk              128k;
    #postpone_output                 1460;
    server_names_hash_bucket_size   32;
    gzip  on;
    gzip_vary on;
    #gzip_min_length 2048;
    gzip_comp_level 5;
    #gzip_http_version 1.0;
    gzip_proxied any;
    gzip_disable "msie6";
    gzip_types text/plain text/css application/x-javascript text/xml application/xml application/xml+rss text/javascript;
    # Optimization Hard disk fuckking ass
    open_file_cache                 max=100000 inactive=40s;
    open_file_cache_valid           60s;
    open_file_cache_min_uses        2;
    open_file_cache_errors          on;
    # client_max_body_size            16m;
    large_client_header_buffers     16 8k;
    client_header_buffer_size       4k;
    client_body_temp_path /tmp/nginx/client_temp 1 2;
    # Limit connection Google bot and etc
    limit_req_zone  $binary_remote_addr  zone=one:16m  rate=5r/s;
    server {
        listen       78.129.222.45:80 default sndbuf=16k rcvbuf=8k accept_filter=httpready;
        server_name  mydomain.ru www.mydomain.ru;
        charset windows-1251;
        access_log  off;
        #logs/host.access.log  main;
        location / {
            root   /db/www/mydomain.ru;
            index  index.html index.htm index.php;
            # SEO begginer mod
            #rewrite ^/?t([0-9]+)(\..*)?$ /viewtopic.php?t=$1 permanent;
        }
        error_page  404              /errors/404.html;
        error_page  503              /errors/503.html;
        # redirect server error pages to the static page /50x.html
        #
        error_page   500 502 504  /errors/50x.html;
        #location = /50x.html {
        #    root   /usr/local/www/nginx-dist;
        #}
        # proxy the PHP scripts to Apache listening on 127.0.0.1:80
        #
        #location ~ \.php$ {
        #    proxy_pass   http://127.0.0.1;
        #}
        # pass the PHP scripts to FastCGI server listening on 127.0.0.1:9000
        #
        location ~* \.php$ {
            # control php limit connect unique IP
            # limit_req  zone=one  burst=20  nodelay;
            # limit_req_log_level  info;
            root           /db/www/mydomain.ru;
            try_files $uri = 404;
            fastcgi_pass   unix:/tmp/www.sock;
            fastcgi_index  index.php;
            # FreeBSD Optimization
            fastcgi_pass_request_body off;
            client_body_in_file_only clean;
            fastcgi_param   REQUEST_BODY_FILE  $request_body_file;
        fastcgi_param   PHP_ADMIN_VALUE "open_basedir = /db/www/mydomain.ru/:/tmp/";
            fastcgi_param   SCRIPT_FILENAME $document_root$fastcgi_script_name;
            fastcgi_param   PATH_TRANSLATED $document_root$fastcgi_script_name;
            include        fastcgi_params;
        }
        # рЕТЕЧПД ПВТБВПФЮЙЛБ Ч ТЕЦЙН ПФДБЮЙ ЛПОФЕОФБ ЙЪ РБРЛЙ files
        location ~ ^/files/ {
            root         /db/www/mydomain.ru;
            types {
                text/plain php php3 php4 php5 phtml phps pl pm;
            }
        }
        # deny access to .htaccess files, if Apache's document root
        # concurs with nginx's one
        #
        location ~ /\.ht {
            deny  all;
        }
        # Deny folder (Sec. lvl1)
        location ~ \/(cache|log|attach_mod|cache|config|includes|language|triggers)\/ {
            deny all;
        }
        location ~ \.(.*sql|tpl|db|inc|log)$ {
            deny  all;
        }
        rewrite ^/forum/torrentbar.php/([0-9]+\.png)$ /forum/torrentbar.php?/$1 last;
        location ^~ /bt/ {
            #if ( $query_string ~ "^uk=([^&?]{10})[&?]+(.*)$" ) {
            #    set $uk $1;
            #    set $qs $2&ip=$remote_addr;
            #}
            #if ( $query_string ~ "^uk=([^&?]{10})[&?]+((.*&|)ip=.*)$" ) {
            #    set $uk $1;
            #    set $qs $2;
            #}
            #if ( $qs ) {
            #    rewrite ^.*/([a-z]+)(\.php|)$ /$uk/$1?$qs break;
            #}
            #rewrite ^.*/([a-z]+)(\.php|)$ /$1 break;
            rewrite ^/?(.*)$ /$1?ip=$remote_addr&$query_string break;
            proxy_pass http://127.0.0.1:2710/;
        }
       #location ~* \.(jpg|jpeg|gif|png|ico)$ {
       #     root   /db/www;
       #     access_log   off;
       #     expires      30d;
       #     add_header   Cache-Control  public;
       #  }
    # nginx status
    location = /status-nginx {
            access_log   off;
            stub_status on;
        }
     }
    # another virtual host using mix of IP-, name-, and port-based configuration
    #
    #server {
    #    listen       8000;
    #    listen       somename:8080;
    #    server_name  somename  alias  another.alias;
    #    location / {
    #        root   html;
    #        index  index.html index.htm;
    #    }
    #}
    # HTTPS server
    #
    #server {
    #    listen       443;
    #    server_name  localhost;
    #    ssl                  on;
    #    ssl_certificate      cert.pem;
    #    ssl_certificate_key  cert.key;
    #    ssl_session_timeout  5m;
    #    ssl_protocols  SSLv2 SSLv3 TLSv1;
    #    ssl_ciphers  ALL:!ADH:!EXPORT56:RC4+RSA:+HIGH:+MEDIUM:+LOW:+SSLv2:+EXP;
    #    ssl_prefer_server_ciphers   on;
    #    location / {
    #        root   html;
    #        index  index.html index.htm;
    #    }
    #}
}

Ах да и вот такая ошибка довольна часто появляется, может какая то взаимосвязь есть я если честно хз.

WARNING: [pool www] child 8558 said into stderr: "NOTICE: PHP message: PHP Warning:  REQUEST_BODY_FILE: open('/tmp/nginx/client_temp/1/34/0052180341') failed: No such file or directory (2) in Unknown on line 0"

SatanaClause
У вас есть аска или скайп, а то я редко за интернетом и почтовым методом я долго буду с вами связываться.

Добавлено: 21-03-2012 22:56:19

Что то не кто мне помочь не может даже за деньги может тут нет таковых специалистов которые залечат эти баги? или может кто поделится ссылкой где за это возьмутся более опытные специалисты по этой части.

16

(10 ответов, оставленных в Разное)

Не к сожалению не помогло, даже менял место положение все без результатно, может я малость гоню, как мне известно

# BEFORE: nginx то данная функция щас закоментирована может нужно разкоментировать? или еще какие нибудь есть предложения.

17

(10 ответов, оставленных в Разное)

crash пишет:

Как вариант в /etc/rc.d/dhclient указать

# BEFORE: nginx

Сам не проверял, но в роде из доки получается так. Проверить не на чем

Если точнее то вот так должно выглядить? или нужно соблюдать очередность?

#!/bin/sh
#
# $FreeBSD: src/etc/rc.d/dhclient,v 1.32.2.1.2.1 2009/10/25 01:10:29 kensmith Exp $
#
# PROVIDE: dhclient
# KEYWORD: nojail nostart
# BEFORE: nginx
. /etc/rc.subr
. /etc/network.subr
name="dhclient"
rcvar=
start_cmd="dhclient_start"
stop_cmd="dhclient_stop"
dhclient_start()
{
    # prevent unnecessary restarts
    # XXX: dhclient had better create a pidfile
    if [ -x /bin/pgrep ]; then
        pids=`/bin/pgrep -f "dhclient: $ifn(\$| .*)"`
        if [ -n "$pids" ]; then
            sleep 1
            pids=`/bin/pgrep -f "dhclient: $ifn(\$| .*)"`
            if [ -n "$pids" ]; then
                exit 0
            fi
        elif [ -e /var/run/dhclient.pid ]; then
            if [ -n "`pgrep -F /var/run/dhclient.pid`" ]; then
                exit 0
            fi
        fi
    fi
    # Override for $ifn specific flags (see rc.subr for $flags setting)
    specific=`get_if_var $ifn dhclient_flags_IF`
    if [ -z "$flags" -a -n "$specific" ]; then
        rc_flags=$specific
    fi
    background_dhclient=`get_if_var $ifn background_dhclient_IF $background_dhclient`
    if checkyesno background_dhclient; then
        rc_flags="${rc_flags} -b"
    fi
    ${dhclient_program} ${rc_flags} $ifn
}
dhclient_stop()
{
    ifconfig $ifn down    # cause dhclient to die
}
ifn="$2"
load_rc_config $name
load_rc_config network
if ! dhcpif $ifn; then
    return 1
fi
run_rc_command "$1"

18

(10 ответов, оставленных в Разное)

Данный скрипт НЕ лежит в /etc/rc.d он лежит в /usr/local/etc/rc.d собственно вот он сам может в нем проблема.

 
#!/bin/sh
# $FreeBSD: ports/www/nginx-devel/files/nginx.sh.in,v 1.12 2012/01/14 08:57:15 dougb Exp $
# PROVIDE: nginx
# REQUIRE: LOGIN cleanvar
# KEYWORD: shutdown
#
# Add the following lines to /etc/rc.conf to enable nginx:
# nginx_enable (bool):        Set to "NO" by default.
#                Set it to "YES" to enable nginx
# nginx_profiles (str):        Set to "" by default.
#                Define your profiles here.
# nginxlimits_enable (bool):    Set to "NO" by default.
#                Set it to yes to run `limits $limits_args`
#                just before nginx starts.
# nginx_flags (str):        Set to "" by default.
#                Extra flags passed to start command.
# nginxlimits_args (str):    Default to "-e -U www"
#                Arguments of pre-start limits run.
. /etc/rc.subr
name="nginx"
rcvar=nginx_enable
start_precmd="nginx_precmd"
restart_precmd="nginx_checkconfig"
reload_precmd="nginx_checkconfig"
configtest_cmd="nginx_checkconfig"
gracefulstop_cmd="nginx_gracefulstop"
upgrade_precmd="nginx_checkconfig"
upgrade_cmd="nginx_upgrade"
command="/usr/local/sbin/nginx"
_pidprefix="/var/run/nginx"
pidfile="${_pidprefix}.pid"
required_files=/usr/local/etc/nginx/nginx.conf
[ -z "$nginx_enable" ]        && nginx_enable="NO"
[ -z "$nginxlimits_enable" ]    && nginxlimits_enable="NO"
[ -z "$nginxlimits_args" ]    && nginxlimits_args="-e -U www"
load_rc_config $name
if [ -n "$2" ]; then
    profile="$2"
    if [ "x${nginx_profiles}" != "x" ]; then
        pidfile="${_pidprefix}.${profile}.pid"
        eval nginx_configfile="\${nginx_${profile}_configfile:-}"
        if [ "x${nginx_configfile}" = "x" ]; then
            echo "You must define a configuration file (nginx_${profile}_configfile)"
            exit 1
        fi
        required_files="${nginx_configfile}"
        eval nginx_enable="\${nginx_${profile}_enable:-${nginx_enable}}"
        eval nginx_flags="\${nginx_${profile}_flags:-${nginx_flags}}"
        eval nginxlimits_enable="\${nginxlimits_${profile}_enable:-${nginxlimits_enable}}"
        eval nginxlimits_args="\${nginxlimits_${profile}_args:-${nginxlimits_args}}"
        nginx_flags="-c ${nginx_configfile} -g \"pid ${pidfile};\" ${nginx_flags}"
    else
        echo "$0: extra argument ignored"
    fi
else
    if [ "x${nginx_profiles}" != "x" -a "x$1" != "x" ]; then
        for profile in ${nginx_profiles}; do
            echo "===> nginx profile: ${profile}"
            /usr/local/etc/rc.d/nginx $1 ${profile}
            retcode="$?"
            if [ "0${retcode}" -ne 0 ]; then
                failed="${profile} (${retcode}) ${failed:-}"
            else
                success="${profile} ${success:-}"
            fi
        done
        exit 0
    fi
fi
nginx_checkconfig()
{
    echo "Performing sanity check on nginx configuration:"
    eval ${command} ${nginx_flags} -t
}
nginx_gracefulstop()
{
    echo "Performing a graceful stop:"
    sig_stop="QUIT"
    run_rc_command ${rc_prefix}stop $rc_extra_args || return 1
}
nginx_upgrade()
{
    echo "Upgrading nginx binary:"
    reload_precmd=""
    sig_reload="USR2"
    run_rc_command ${rc_prefix}reload $rc_extra_args || return 1
    sleep 1
    echo "Stopping old binary:"
    sig_reload="QUIT"
    pidfile="$pidfile.oldbin"
    run_rc_command ${rc_prefix}reload $rc_extra_args || return 1
}
nginx_precmd() 
{
    nginx_checkconfig
    if checkyesno nginxlimits_enable
    then
        eval `/usr/bin/limits ${nginxlimits_args}` 2>/dev/null
    else
        return 0
    fi
}
extra_commands="reload configtest upgrade gracefulstop"
run_rc_command "$1"

19

(10 ответов, оставленных в Разное)

crash пишет:

а если потом вручную запустить?
Возможно, что не запускается, потому что еще не получен ip по dhcp. Но это надо проверять в этом дело или нет.

Совершенно верно перед данной проблемой мы меняли провайдера и соответственно меняли настройки но не я а другой человек, может вы мне подскажите какие мне предоставить данные чтоб вы мне смогли чем то помочь а то без автоматического запуска nginx не могу, так как бывают перебои с электроэнергией и человек который может запустить сервер не умеет пользоваться консолем  только и может это нажать на кнопку запуска.

20

(10 ответов, оставленных в Разное)

Всем привет! Люди подскажите что мне сделать с грядущей проблемой, у меня при запуске сервера не запускается nginx

rc.conf

ifconfig_vr0="inet 192.168.10.1  netmask 255.255.255.0"
hostname="gardnet"
nginx_enable="YES"
gateway_enable="YES"
mac_enable="YES"
#keymap="ru.koi8-r"
sshd_enable="YES"
#natd_enable="YES"
firewall_enable="YES"
firewall_nat_enable="YES"
mysql_enable="YES"
xbtt_enable="YES"
memcached_enable="YES"
memcached_flags="-d -l 127.0.0.1"
memcached_user="www"
php_fpm_enable="YES"
# mail
exim_enable="YES"
dovecot_enable="YES"
sendmail_submit_enable="NO"
xbtt_path="/usr/local/xbtt"
#vsftpd_enable="YES"
opentracker_enable="YES"
opentracker_config=/usr/local/etc/opentracker/opentracker.conf
mbmon_enable=YES
#Ethernet
ifconfig_nfe0="DHCP"
defaultrouter="**.***.***.*"

Mar  8 10:56:28 gardnet reboot: rebooted by root
Mar  8 10:56:28 gardnet syslogd: exiting on signal 15
Mar  8 11:05:38 gardnet syslogd: kernel boot file is /boot/kernel/kernel
Mar  8 11:05:38 gardnet kernel: Copyright (c) 1992-2009 The FreeBSD Project.
Mar  8 11:05:38 gardnet kernel: Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
Mar  8 11:05:38 gardnet kernel: The Regents of the University of California. All rights reserved.
Mar  8 11:05:38 gardnet kernel: FreeBSD is a registered trademark of The FreeBSD Foundation.
Mar  8 11:05:38 gardnet kernel: FreeBSD 8.0-RELEASE-p2 #2: Mon Jan 30 06:28:09 UTC 2012
Mar  8 11:05:38 gardnet kernel: root@gardnet:/usr/src/sys/amd64/compile/GENERIC
Mar  8 11:05:38 gardnet kernel: Timecounter "i8254" frequency 1193182 Hz quality 0
Mar  8 11:05:38 gardnet kernel: CPU: AMD Athlon(tm) 64 Processor 3200+ (2010.31-MHz K8-class CPU)
Mar  8 11:05:38 gardnet kernel: Origin = "AuthenticAMD"  Id = 0x20ff2  Stepping = 2
Mar  8 11:05:38 gardnet kernel: Features=0x78bfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,MMX,FXSR,SSE,SSE2>
Mar  8 11:05:38 gardnet kernel: Features2=0x1<SSE3>
Mar  8 11:05:38 gardnet kernel: AMD Features=0xe2500800<SYSCALL,NX,MMX+,FFXSR,LM,3DNow!+,3DNow!>
Mar  8 11:05:38 gardnet kernel: AMD Features2=0x1<LAHF>
Mar  8 11:05:38 gardnet kernel: real memory  = 4294967296 (4096 MB)
Mar  8 11:05:38 gardnet kernel: avail memory = 4107034624 (3916 MB)
Mar  8 11:05:38 gardnet kernel: ACPI APIC Table: <GBT    NVDAACPI>
Mar  8 11:05:38 gardnet kernel: ioapic0 <Version 1.1> irqs 0-23 on motherboard
Mar  8 11:05:38 gardnet kernel: kbd1 at kbdmux0
Mar  8 11:05:38 gardnet kernel: acpi0: <GBT NVDAACPI> on motherboard
Mar  8 11:05:38 gardnet kernel: acpi0: [ITHREAD]
Mar  8 11:05:38 gardnet kernel: acpi0: Power Button (fixed)
Mar  8 11:05:38 gardnet kernel: acpi0: reservation of 290, 5 (4) failed
Mar  8 11:05:38 gardnet kernel: acpi0: reservation of 0, a0000 (3) failed
Mar  8 11:05:38 gardnet kernel: acpi0: reservation of 100000, cfef0000 (3) failed
Mar  8 11:05:38 gardnet kernel: Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000
Mar  8 11:05:38 gardnet kernel: acpi_timer0: <24-bit timer at 3.579545MHz> port 0x1008-0x100b on acpi0
Mar  8 11:05:38 gardnet kernel: acpi_button0: <Power Button> on acpi0
Mar  8 11:05:38 gardnet kernel: pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
Mar  8 11:05:38 gardnet kernel: pci0: <ACPI PCI bus> on pcib0
Mar  8 11:05:38 gardnet kernel: pci0: <memory> at device 0.0 (no driver attached)
Mar  8 11:05:38 gardnet kernel: isab0: <PCI-ISA bridge> at device 1.0 on pci0
Mar  8 11:05:38 gardnet kernel: isa0: <ISA bus> on isab0
Mar  8 11:05:38 gardnet kernel: pci0: <serial bus, SMBus> at device 1.1 (no driver attached)
Mar  8 11:05:38 gardnet kernel: ohci0: <OHCI (generic) USB controller> mem 0xf4102000-0xf4102fff irq 21 at device 2.0 on pci0
Mar  8 11:05:38 gardnet kernel: ohci0: [ITHREAD]
Mar  8 11:05:38 gardnet kernel: usbus0: <OHCI (generic) USB controller> on ohci0
Mar  8 11:05:38 gardnet kernel: ehci0: <NVIDIA nForce4 USB 2.0 controller> mem 0xfeb00000-0xfeb000ff irq 22 at device 2.1 on pci0
Mar  8 11:05:38 gardnet kernel: ehci0: [ITHREAD]
Mar  8 11:05:38 gardnet kernel: usbus1: EHCI version 1.0
Mar  8 11:05:38 gardnet kernel: usbus1: <NVIDIA nForce4 USB 2.0 controller> on ehci0
Mar  8 11:05:38 gardnet kernel: pci0: <multimedia, audio> at device 4.0 (no driver attached)
Mar  8 11:05:38 gardnet kernel: atapci0: <nVidia nForce CK804 UDMA133 controller> port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xf000-0xf00f at device 6.0 on pci0
Mar  8 11:05:38 gardnet kernel: ata0: <ATA channel 0> on atapci0
Mar  8 11:05:38 gardnet kernel: ata0: [ITHREAD]
Mar  8 11:05:38 gardnet kernel: ata1: <ATA channel 1> on atapci0
Mar  8 11:05:38 gardnet kernel: ata1: [ITHREAD]
Mar  8 11:05:38 gardnet kernel: atapci1: <nVidia nForce CK804 SATA300 controller> port 0x9f0-0x9f7,0xbf0-0xbf3,0x970-0x977,0xb70-0xb73,0xcc00-0xcc0f mem 0xf4100000-0xf4100fff irq 21 at device 7.0 on pci0
Mar  8 11:05:38 gardnet kernel: atapci1: [ITHREAD]
Mar  8 11:05:38 gardnet kernel: ata2: <ATA channel 0> on atapci1
Mar  8 11:05:38 gardnet kernel: ata2: [ITHREAD]
Mar  8 11:05:38 gardnet kernel: ata3: <ATA channel 1> on atapci1
Mar  8 11:05:38 gardnet kernel: ata3: [ITHREAD]
Mar  8 11:05:38 gardnet kernel: atapci2: <nVidia nForce CK804 SATA300 controller> port 0x9e0-0x9e7,0xbe0-0xbe3,0x960-0x967,0xb60-0xb63,0xe000-0xe00f mem 0xf4101000-0xf4101fff irq 22 at device 8.0 on pci0
Mar  8 11:05:38 gardnet kernel: atapci2: [ITHREAD]
Mar  8 11:05:38 gardnet kernel: ata4: <ATA channel 0> on atapci2
Mar  8 11:05:38 gardnet kernel: ata4: [ITHREAD]
Mar  8 11:05:38 gardnet kernel: ata5: <ATA channel 1> on atapci2
Mar  8 11:05:38 gardnet kernel: ata5: [ITHREAD]
Mar  8 11:05:38 gardnet kernel: pcib1: <ACPI PCI-PCI bridge> at device 9.0 on pci0
Mar  8 11:05:38 gardnet kernel: pci1: <ACPI PCI bus> on pcib1
Mar  8 11:05:38 gardnet kernel: vr0: <VIA VT6105 Rhine III 10/100BaseTX> port 0x9000-0x90ff mem 0xf4005000-0xf40050ff irq 16 at device 6.0 on pci1
Mar  8 11:05:38 gardnet kernel: vr0: Quirks: 0x0
Mar  8 11:05:38 gardnet kernel: vr0: Revision: 0x8b
Mar  8 11:05:38 gardnet kernel: miibus0: <MII bus> on vr0
Mar  8 11:05:38 gardnet kernel: ukphy0: <Generic IEEE 802.3u media interface> PHY 1 on miibus0
Mar  8 11:05:38 gardnet kernel: ukphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
Mar  8 11:05:38 gardnet kernel: vr0: Ethernet address: 00:22:b0:e1:dc:45
Mar  8 11:05:38 gardnet kernel: vr0: [ITHREAD]
Mar  8 11:05:38 gardnet kernel: fwohci0: <Texas Instruments TSB43AB23> mem 0xf4004000-0xf40047ff,0xf4000000-0xf4003fff irq 19 at device 10.0 on pci1
Mar  8 11:05:38 gardnet kernel: fwohci0: [ITHREAD]
Mar  8 11:05:38 gardnet kernel: fwohci0: OHCI version 1.10 (ROM=1)
Mar  8 11:05:38 gardnet kernel: fwohci0: No. of Isochronous channels is 4.
Mar  8 11:05:38 gardnet kernel: fwohci0: EUI64 00:14:85:00:00:2a:78:fd
Mar  8 11:05:38 gardnet kernel: fwohci0: Phy 1394a available S400, 3 ports.
Mar  8 11:05:38 gardnet kernel: fwohci0: Link S400, max_rec 2048 bytes.
Mar  8 11:05:38 gardnet kernel: firewire0: <IEEE1394(FireWire) bus> on fwohci0
Mar  8 11:05:38 gardnet kernel: dcons_crom0: <dcons configuration ROM> on firewire0
Mar  8 11:05:38 gardnet kernel: dcons_crom0: bus_addr 0xc70c8000
Mar  8 11:05:38 gardnet kernel: fwe0: <Ethernet over FireWire> on firewire0
Mar  8 11:05:38 gardnet kernel: if_fwe0: Fake Ethernet address: 02:14:85:2a:78:fd
Mar  8 11:05:38 gardnet kernel: fwe0: Ethernet address: 02:14:85:2a:78:fd
Mar  8 11:05:38 gardnet kernel: fwip0: <IP over FireWire> on firewire0
Mar  8 11:05:38 gardnet kernel: fwip0: Firewire address: 00:14:85:00:00:2a:78:fd @ 0xfffe00000000, S400, maxrec 2048
Mar  8 11:05:38 gardnet kernel: fwohci0: Initiate bus reset
Mar  8 11:05:38 gardnet kernel: fwohci0: fwohci_intr_core: BUS reset
Mar  8 11:05:38 gardnet kernel: fwohci0: fwohci_intr_core: node_id=0x00000000, SelfID Count=1, CYCLEMASTER mode
Mar  8 11:05:38 gardnet kernel: nfe0: <NVIDIA nForce4 CK804 MCP9 Networking Adapter> port 0xe800-0xe807 mem 0xf4103000-0xf4103fff irq 23 at device 10.0 on pci0
Mar  8 11:05:38 gardnet kernel: miibus1: <MII bus> on nfe0
Mar  8 11:05:38 gardnet kernel: rlphy0: <RTL8201L 10/100 media interface> PHY 1 on miibus1
Mar  8 11:05:38 gardnet kernel: rlphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
Mar  8 11:05:38 gardnet kernel: nfe0: Ethernet address: 00:14:85:2b:58:8d
Mar  8 11:05:38 gardnet kernel: nfe0: [FILTER]
Mar  8 11:05:38 gardnet kernel: pcib2: <ACPI PCI-PCI bridge> at device 11.0 on pci0
Mar  8 11:05:38 gardnet kernel: pci2: <ACPI PCI bus> on pcib2
Mar  8 11:05:38 gardnet kernel: pcib3: <ACPI PCI-PCI bridge> at device 12.0 on pci0
Mar  8 11:05:38 gardnet kernel: pci3: <ACPI PCI bus> on pcib3
Mar  8 11:05:38 gardnet kernel: pcib4: <ACPI PCI-PCI bridge> at device 13.0 on pci0
Mar  8 11:05:38 gardnet kernel: pci4: <ACPI PCI bus> on pcib4
Mar  8 11:05:38 gardnet kernel: pcib5: <ACPI PCI-PCI bridge> at device 14.0 on pci0
Mar  8 11:05:38 gardnet kernel: pci5: <ACPI PCI bus> on pcib5
Mar  8 11:05:38 gardnet kernel: vgapci0: <VGA-compatible display> port 0xa000-0xa07f mem 0xf2000000-0xf2ffffff,0xe0000000-0xefffffff,0xf0000000-0xf1ffffff irq 18 at device 0.0 on pci5
Mar  8 11:05:38 gardnet kernel: atrtc0: <AT realtime clock> port 0x70-0x73 irq 8 on acpi0
Mar  8 11:05:38 gardnet kernel: fdc0: <floppy drive controller> port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on acpi0
Mar  8 11:05:38 gardnet kernel: fdc0: [FILTER]
Mar  8 11:05:38 gardnet kernel: fd0: <1440-KB 3.5" drive> on fdc0 drive 0
Mar  8 11:05:38 gardnet kernel: uart0: <16550 or compatible> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0
Mar  8 11:05:38 gardnet kernel: uart0: [FILTER]
Mar  8 11:05:38 gardnet kernel: uart1: <16550 or compatible> port 0x2f8-0x2ff irq 3 on acpi0
Mar  8 11:05:38 gardnet kernel: uart1: [FILTER]
Mar  8 11:05:38 gardnet kernel: ppc0: <Parallel port> port 0x378-0x37f irq 7 on acpi0
Mar  8 11:05:38 gardnet kernel: ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode
Mar  8 11:05:38 gardnet kernel: ppc0: [ITHREAD]
Mar  8 11:05:38 gardnet kernel: ppbus0: <Parallel port bus> on ppc0
Mar  8 11:05:38 gardnet kernel: plip0: <PLIP network interface> on ppbus0
Mar  8 11:05:38 gardnet kernel: plip0: [ITHREAD]
Mar  8 11:05:38 gardnet kernel: lpt0: <Printer> on ppbus0
Mar  8 11:05:38 gardnet kernel: lpt0: [ITHREAD]
Mar  8 11:05:38 gardnet kernel: lpt0: Interrupt-driven port
Mar  8 11:05:38 gardnet kernel: ppi0: <Parallel I/O> on ppbus0
Mar  8 11:05:38 gardnet kernel: atkbdc0: <Keyboard controller (i8042)> port 0x60,0x64 irq 1 on acpi0
Mar  8 11:05:38 gardnet kernel: atkbd0: <AT Keyboard> irq 1 on atkbdc0
Mar  8 11:05:38 gardnet kernel: kbd0 at atkbd0
Mar  8 11:05:38 gardnet kernel: atkbd0: [GIANT-LOCKED]
Mar  8 11:05:38 gardnet kernel: atkbd0: [ITHREAD]
Mar  8 11:05:38 gardnet kernel: cpu0: <ACPI CPU> on acpi0
Mar  8 11:05:38 gardnet kernel: powernow0: <Cool`n'Quiet K8> on cpu0
Mar  8 11:05:38 gardnet kernel: orm0: <ISA Option ROM> at iomem 0xd0000-0xd17ff on isa0
Mar  8 11:05:38 gardnet kernel: sc0: <System console> at flags 0x100 on isa0
Mar  8 11:05:38 gardnet kernel: sc0: VGA <16 virtual consoles, flags=0x300>
Mar  8 11:05:38 gardnet kernel: vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
Mar  8 11:05:38 gardnet kernel: Timecounter "TSC" frequency 2010312304 Hz quality 800
Mar  8 11:05:38 gardnet kernel: Timecounters tick every 1.000 msec
Mar  8 11:05:38 gardnet kernel: firewire0: 1 nodes, maxhop <= 0 cable IRM irm(0)  (me)
Mar  8 11:05:38 gardnet kernel: firewire0: bus manager 0
Mar  8 11:05:38 gardnet kernel: IP Filter: v4.1.28 initialized.  Default = pass all, Logging = disabled
Mar  8 11:05:38 gardnet kernel: ipfw2 (+ipv6) initialized, divert enabled, nat enabled, rule-based forwarding enabled, default to deny, logging disabled
Mar  8 11:05:38 gardnet kernel: usbus0: 12Mbps Full Speed USB v1.0
Mar  8 11:05:38 gardnet kernel: usbus1: 480Mbps High Speed USB v2.0
Mar  8 11:05:38 gardnet kernel: ugen0.1: <nVidia> at usbus0
Mar  8 11:05:38 gardnet kernel: uhub0: <nVidia OHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus0
Mar  8 11:05:38 gardnet kernel: ugen1.1: <nVidia> at usbus1
Mar  8 11:05:38 gardnet kernel: uhub1: <nVidia EHCI root HUB, class 9/0, rev 2.00/1.00, addr 1> on usbus1
Mar  8 11:05:38 gardnet kernel: acd0: DVDR <HL-DT-ST DVDRAM GSA-H10N/JL10> at ata1-slave UDMA33
Mar  8 11:05:38 gardnet kernel: ad8: 476938MB <Seagate ST3500320AS SD15> at ata4-master SATA150
Mar  8 11:05:38 gardnet kernel: uhub0: 10 ports with 10 removable, self powered
Mar  8 11:05:38 gardnet kernel: Root mount waiting for: usbus1
Mar  8 11:05:38 gardnet last message repeated 3 times
Mar  8 11:05:38 gardnet kernel: uhub1: 10 ports with 10 removable, self powered
Mar  8 11:05:38 gardnet kernel: Trying to mount root from ufs:/dev/ad8s1a
Mar  8 11:05:46 gardnet root: /etc/rc: WARNING: failed to start nginx
Mar  8 11:05:47 gardnet dhclient[795]: connection closed
Mar  8 11:05:47 gardnet dhclient[795]: exiting.
Mar  8 11:05:47 gardnet kernel: ifa_add_loopback_route: insertion failed
Mar  8 11:05:47 gardnet dhclient: New IP Address (nfe0): 78.139.212.45
Mar  8 11:05:47 gardnet dhclient: New Subnet Mask (nfe0): 255.255.254.0
Mar  8 11:05:47 gardnet dhclient: New Broadcast Address (nfe0): 78.139.213.255
Mar  8 11:05:47 gardnet dhclient: New Routers (nfe0): 78.139.212.1
Mar  8 13:43:18 gardnet kernel: pid 1868 (php-fpm), uid 80: exited on signal 11
Mar  8 13:58:29 gardnet kernel: pid 1892 (php-fpm), uid 80: exited on signal 11
Mar  8 14:27:53 gardnet kernel: pid 1863 (php-fpm), uid 80: exited on signal 11
Mar  9 00:45:33 gardnet sshd[2663]: fatal: Read from socket failed: Connection reset by peer
Mar  9 15:20:57 gardnet kernel: pid 1850 (php-fpm), uid 80: exited on signal 11
Mar  9 15:21:27 gardnet kernel: pid 10196 (php-fpm), uid 80: exited on signal 11
Mar  9 16:26:42 gardnet sshd[5869]: fatal: Read from socket failed: Connection reset by peer
Mar 10 13:20:55 gardnet kernel: pid 1876 (php-fpm), uid 80: exited on signal 11
Mar 10 14:31:29 gardnet kernel: pid 1884 (php-fpm), uid 80: exited on signal 11
Mar 10 14:43:10 gardnet kernel: pid 1888 (php-fpm), uid 80: exited on signal 11
Mar 10 14:49:21 gardnet kernel: pid 16632 (php-fpm), uid 80: exited on signal 11
Mar 11 07:15:00 gardnet kernel: pid 1852 (php-fpm), uid 80: exited on signal 11
Mar 11 13:21:09 gardnet kernel: pid 1899 (php-fpm), uid 80: exited on signal 11
Mar 11 16:25:33 gardnet kernel: pid 1859 (php-fpm), uid 80: exited on signal 11
Mar 11 23:58:26 gardnet kernel: Limiting open port RST response from 214 to 200 packets/sec
Mar 11 23:58:33 gardnet kernel: Limiting open port RST response from 210 to 200 packets/sec
Mar 12 06:43:09 gardnet kernel: pid 1926 (php-fpm), uid 80: exited on signal 11
Mar 12 08:47:09 gardnet kernel: pid 1887 (php-fpm), uid 80: exited on signal 11
Mar 12 09:56:25 gardnet kernel: Limiting open port RST response from 210 to 200 packets/sec
Mar 12 09:56:28 gardnet kernel: Limiting open port RST response from 210 to 200 packets/sec
Mar 12 09:56:32 gardnet kernel: Limiting open port RST response from 211 to 200 packets/sec
Mar 12 09:56:42 gardnet kernel: Limiting open port RST response from 210 to 200 packets/sec
Mar 12 14:39:20 gardnet sshd[25237]: fatal: Read from socket failed: Connection reset by peer

21

(11 ответов, оставленных в PHP)

Вы можете мне как то помочь приватно?

22

(11 ответов, оставленных в PHP)

SatanaClause пишет:

11    SIGSEGV      create core image    segmentation violation

топаем искать core файлик и c gdb его анализируем (http://www.unknownroad.com/rtfm/gdbtut/gdbuse.html) Еще strace может помочь.

Могли бы дать на русском руководство по установке и компиляции gdb и strace в гугле просто пало чего про это нашел.

23

(11 ответов, оставленных в PHP)

crash пишет:

попробовать отключить расширение APC

Не поверите все перепробовал отключал все ускорители и Memcache, eaccelerator, apc, xcache и с разными пробовал и без них один фиг в логах появляется

WARNING: [pool www] child 2266 exited on signal 11 (SIGSEGV) after 2178.624133 seconds from start
[28-Jul-2011 12:36:35] NOTICE: [pool www] child 12552 started

куда копать хз уже нет не каких идей.

24

(11 ответов, оставленных в PHP)

Народ нужна помощь в решении одной проблемы.


php -v
PHP 5.3.9 with Suhosin-Patch (cli) (built: Jan 29 2012 14:40:07)
Copyright (c) 1997-2012 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2012 Zend Technologies

version of APC (3.1.9)

Ситуация в общем вот такая в логах php-fpm.log появляются такие ошибки

WARNING: [pool www] child 2266 exited on signal 11 (SIGSEGV) after 2178.624133 seconds from start
[28-Jul-2011 12:36:35] NOTICE: [pool www] child 12552 started

Весь интернет поставил на уши google уже вешается от меня но окончательного решения я так и не нашел, нашел только такую статью _http://skeletor.org.ua/?p=1346 где человек пишет о таких же ошибках и плюс пишет решение после чего я попробовал в nginx.conf вписать нечто такое  fastcgi_param   PHP_ADMIN_VALUE "open_basedir=/db/www/mydomain.ru/:/tmp/"; но не помогло.

location ~* \.php$ {
            # control php limit connect unique IP
            # limit_req  zone=one  burst=20  nodelay;
            # limit_req_log_level  info;
            root           /db/www/mydomain.ru;
            try_files $uri = 404;
            fastcgi_pass   unix:/tmp/my.sock;
            fastcgi_index  index.php;
            # FreeBSD Optimization
            fastcgi_pass_request_body off;
            client_body_in_file_only clean;
            fastcgi_param   REQUEST_BODY_FILE  $request_body_file;
            fastcgi_param   PHP_ADMIN_VALUE "open_basedir=/db/www/mydomain.ru/:/tmp/";
            fastcgi_param   SCRIPT_FILENAME $document_root$fastcgi_script_name;
            fastcgi_param   PATH_TRANSLATED $document_root$fastcgi_script_name;
            include        fastcgi_params;
        }

Народ может кто то встречался с подобной ошибкой и знает как ее решить помогите мне чем сможете. Заранее большое спасибо!