无标题文档
wdCP系统 (介绍,功能特性,运行环境,安装说明,演示,常见问题,使用教程) wdCDN系统 (介绍,功能特性,运行环境,安装说明,演示,常见问题,使用手册)
wdOS系统 (介绍,功能特性,运行环境,安装说明,演示,常见问题,使用教程) wdDNS系统 (介绍,功能特性,运行环境,安装说明,演示,常见问题,使用手册)
注册 发贴 提问 回复-必看必看 wddns免费智能 DNS 开通 本地或虚拟机使 用wdcp 一键包在mysql编 译时"卡住"
【300G高防】双线 无视攻击 wdcp官方技术支持/服务 阿里云8折优惠券 无敌云 腾讯云优惠中,现注册更有260代金额券赠送
返回列表 发帖
提问三步曲: 提问先看教程/FAQ索引(wdcp,wdcp_v3,一键包)及搜索,会让你更快解决问题
1 提供详细,如系统版本,wdcp版本,软件版本等及错误的详细信息,贴上论坛或截图发论坛
2 做过哪些操作或改动设置等

温馨提示:信息不详,很可能会没人理你!论坛有教程说明的,也可能没人理!因为,你懂的

[求助] mysql install error 关于这个错误各位前辈请指导一下

mysql install error 关于这个错误各位前辈请指导一下!

[root@hao139 ~]# Preparing...                ########################################### [100%]
-bash: Preparing...: command not found
   1:mysql                  ########################################### [100%]
[root@hao139 ~]#    1:mysql                  ########################################### [100%]
-bash: 1:mysql: command not found
[root@hao139 ~]# chown: cannot access `/www/wdlinux/mysql/var': No such file or directory
> Starting MySQL.[  OK  ]
> /www/wdlinux/mysql/bin/mysqladmin: connect to server at 'localhost' failed
> error: 'Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)'
> Check that mysqld is running and that the socket: '/tmp/mysql.sock' exists!
> error: %post(mysql-5.1.55-1.x86_64) scriptlet failed, exit status 1
>
> ============  mysql install error  =============
>
[root@hao139 ~]#
[root@hao139 ~]# top
top - 08:16:54 up  5:37,  1 user,  load average: 0.00, 0.00, 0.00
Tasks:  72 total,   2 running,  70 sleeping,   0 stopped,   0 zombie
Cpu(s):  0.0%us,  0.0%sy,  0.0%ni,100.0%id,  0.0%wa,  0.0%hi,  0.0%si,  0.0%st
Mem:    385024k total,   340260k used,    44764k free,     7056k buffers
Swap:        0k total,        0k used,        0k free,   108572k cached
  PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND
    1 root      15   0 10352  684  576 S  0.0  0.2   0:00.05 init
    2 root      RT  -5     0    0    0 S  0.0  0.0   0:00.00 migration/0
    3 root      34  19     0    0    0 S  0.0  0.0   0:00.00 ksoftirqd/0
    4 root      RT  -5     0    0    0 S  0.0  0.0   0:00.00 watchdog/0
    5 root      10  -5     0    0    0 S  0.0  0.0   0:00.00 events/0
    6 root      10  -5     0    0    0 S  0.0  0.0   0:00.00 khelper
    7 root      11  -5     0    0    0 S  0.0  0.0   0:00.00 kthread
    9 root      10  -5     0    0    0 S  0.0  0.0   0:00.00 xenwatch
   10 root      10  -5     0    0    0 S  0.0  0.0   0:00.00 xenbus
   33 root      10  -5     0    0    0 S  0.0  0.0   0:00.00 kblockd/0
   34 root      20  -5     0    0    0 S  0.0  0.0   0:00.00 cqueue/0
   38 root      20  -5     0    0    0 S  0.0  0.0   0:00.00 khubd
   40 root      10  -5     0    0    0 S  0.0  0.0   0:00.00 kseriod
  100 root      15   0     0    0    0 S  0.0  0.0   0:00.00 khungtaskd
  101 root      15   0     0    0    0 S  0.0  0.0   0:00.06 pdflush
  102 root      15   0     0    0    0 S  0.0  0.0   0:00.05 pdflush
  103 root      10  -5     0    0    0 S  0.0  0.0   0:00.21 kswapd0

什么系统版本?
看清提问三步曲及多看教程/FAQ索引(wdcp,v3,一键包,wdOS),益处多多.wdcp工具集 阿里云主机8折优惠码

TOP

Hostname: hao139
Template: CentOS 5.5 LAMP x64
Ip address: 95.168.218.140

TOP

快速安装方法,输入以下命令(时间只要十分钟左右):

wget http://dl.wdlinux.cn:5180/rpms/rpm_install
sh rpm_install
然后按提示选择安装lamp or lnmp,输入数字自己选择即可。

TOP

管理员:CentOS 5.5 LAMP x64

TOP

安装2.X新版的吧
看清提问三步曲及多看教程/FAQ索引(wdcp,v3,一键包,wdOS),益处多多.wdcp工具集 阿里云主机8折优惠码

TOP

感谢!安装方法和老版本是一样的么

TOP

下载安装
wget http://dl.wdlinux.cn:5180/lanmp_v20.tar.gz
tar zxvf lanmp_v20.tar.gz
安装全部
sh in.sh
只安装lamp/lnmp/lnamp集成环境
sh lanmp.sh
只安装wdcp管理系统
sh wdcp_ins.sh

TOP

2011-12-29 12:30:58 (3.36 KB/s) - Connection closed at byte 25197153. Giving up.

[root@hao139 ~]# tar zxvf lanmp_last.tar.gz
lanmp/
lanmp/php-5.2.17.tar.gz
lanmp/httpd-2.2.17.tar.gz
lanmp/pure-ftpd-1.0.32.tar.gz
lanmp/mod_rpaf-0.6.tar.gz
lanmp/mysql-5.1.56.tar.gz

gzip: stdin: unexpected end of file
tar: Unexpected EOF in archive
tar: Unexpected EOF in archive
tar: Error is not recoverable: exiting now
[root@hao139 ~]#
[root@hao139 ~]# [root@hao139 ~]# tar zxvf lanmp_last.tar.gz
-bash: [root@hao139: command not found
[root@hao139 ~]# lanmp/
-bash: lanmp/: is a directory
[root@hao139 ~]# lanmp/php-5.2.17.tar.gz
-bash: lanmp/php-5.2.17.tar.gz: Permission denied
[root@hao139 ~]# lanmp/httpd-2.2.17.tar.gz
-bash: lanmp/httpd-2.2.17.tar.gz: Permission denied
[root@hao139 ~]# lanmp/pure-ftpd-1.0.32.tar.gz
-bash: lanmp/pure-ftpd-1.0.32.tar.gz: Permission denied
[root@hao139 ~]# lanmp/mod_rpaf-0.6.tar.gz
-bash: lanmp/mod_rpaf-0.6.tar.gz: Permission denied
[root@hao139 ~]# lanmp/mysql-5.1.56.tar.gz
-bash: lanmp/mysql-5.1.56.tar.gz: Permission denied
[root@hao139 ~]#
[root@hao139 ~]# gzip: stdin: unexpected end of file
-bash: gzip:: command not found
[root@hao139 ~]# tar: Unexpected EOF in archive
-bash: tar:: command not found
[root@hao139 ~]# tar: Unexpected EOF in archive
-bash: tar:: command not found
[root@hao139 ~]# tar: Error is not recoverable: exiting now
-bash: tar:: command not found
[root@hao139 ~]# dir
anaconda-ks.cfg            lanmp_last.tar.gz
httpd-2.2.17-1.x86_64.rpm  mysql-5.1.55-1.x86_64.rpm
install.log                php_apache-5.2.17-1.x86_64.rpm
install.log.syslog         rpm_install
kloxo-installer.sh         vsftpd-2.3.4-1.x86_64.rpm
lanmp                      wdcp-1.1-1.noarch.rpm
[root@hao139 ~]# sh in.sh
sh: in.sh: No such file or directory
[root@hao139 ~]# sh: in.sh: No such file or directory
-bash: sh:: command not found
[root@hao139 ~]# sh in.sh
sh: in.sh: No such file or directory
[root@hao139 ~]# -bash: lanmp/php-5.2.17.tar.gz: Permission denied
-bash: -bash:: command not found
[root@hao139 ~]# [root@hao139 ~]# lanmp/httpd-2.2.17.tar.gz
-bash: [root@hao139: command not found
[root@hao139 ~]# -bash: lanmp/httpd-2.2.17.tar.gz: Permission denied
-bash: -bash:: command not found
[root@hao139 ~]# [root@hao139 ~]# lanmp/pure-ftpd-1.0.32.tar.gz
-bash: [root@hao139: command not found
[root@hao139 ~]# -bash: lanmp/pure-ftpd-1.0.32.tar.gz: Permission denied
-bash: -bash:: command not found
[root@hao139 ~]# [root@hao139 ~]# lanmp/mod_rpaf-0.6.tar.gz
-bash: [root@hao139: command not found
[root@hao139 ~]# -bash: lanmp/mod_rpaf-0.6.tar.gz: Permission denied
-bash: -bash:: command not found
[root@hao139 ~]# [root@hao139 ~]# lanmp/mysql-5.1.56.tar.gz
-bash: [root@hao139: command not found
[root@hao139 ~]# -bash: lanmp/mysql-5.1.56.tar.gz: Permission denied
-bash: -bash:: command not found
[root@hao139 ~]#

TOP

没下载完整
看清提问三步曲及多看教程/FAQ索引(wdcp,v3,一键包,wdOS),益处多多.wdcp工具集 阿里云主机8折优惠码

TOP

configure: error: Please reinstall the iconv library.


----Install Error: wdphp configure err -----------

TOP

checking for grp.h... yes
checking for ieeefp.h... no
checking for langinfo.h... yes
checking for limits.h... yes
checking for locale.h... yes
checking for monetary.h... yes
checking for netdb.h... yes
checking for pwd.h... yes
checking for resolv.h... yes
checking for signal.h... yes
checking for stdarg.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for syslog.h... yes
checking for sysexits.h... yes
checking for sys/ioctl.h... yes
checking for sys/file.h... yes
checking for sys/mman.h... yes
checking for sys/mount.h... yes
checking for sys/poll.h... yes
checking for sys/resource.h... yes
checking for sys/select.h... yes
checking for sys/socket.h... yes
checking for sys/stat.h... yes
checking for sys/statfs.h... yes
checking for sys/statvfs.h... yes
checking for sys/vfs.h... yes
checking for sys/sysexits.h... no
checking for sys/varargs.h... no
checking for sys/wait.h... yes
checking for sys/loadavg.h... no
checking for termios.h... yes
checking for unistd.h... yes
checking for unix.h... no
checking for utime.h... yes
checking for sys/utsname.h... yes
checking for sys/ipc.h... yes
checking for dlfcn.h... yes
checking for assert.h... (cached) yes
checking for mach-o/dyld.h... no
checking for fopencookie... yes
checking for broken getcwd... no
checking for broken libc stdio... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking for tm_zone in struct tm... yes
checking for missing declarations of reentrant functions... done
checking for fclose declaration... ok
checking for tm_gmtoff in struct tm... yes
checking for struct flock... yes
checking for socklen_t... yes
checking size of size_t... 8
checking size of long long... 8
checking size of long long int... 8
checking size of long... 8
checking size of int... 4
checking size of intmax_t... 8
checking size of ssize_t... 8
checking size of ptrdiff_t... 8
checking for st_blksize in struct stat... yes
checking for st_blocks in struct stat... yes
checking for st_rdev in struct stat... yes
checking for size_t... yes
checking for uid_t in sys/types.h... yes
checking for struct sockaddr_storage... yes
checking for field sa_len in struct sockaddr... no
checking for IPv6 support... yes
checking for vprintf... yes
checking for alphasort... yes
checking for asctime_r... yes
checking for chroot... yes
checking for ctime_r... yes
checking for cuserid... yes
checking for crypt... no
checking for flock... yes
checking for ftok... yes
checking for funopen... no
checking for gai_strerror... yes
checking for gcvt... yes
checking for getloadavg... yes
checking for getlogin... yes
checking for getprotobyname... yes
checking for getprotobynumber... yes
checking for getservbyname... yes
checking for getservbyport... yes
checking for getrusage... yes
checking for gettimeofday... yes
checking for gmtime_r... yes
checking for getpwnam_r... yes
checking for getgrnam_r... yes
checking for getpwuid_r... yes
checking for grantpt... yes
checking for inet_ntoa... yes
checking for inet_ntop... yes
checking for inet_pton... yes
checking for isascii... yes
checking for link... yes
checking for localtime_r... yes
checking for lockf... yes
checking for lchown... yes
checking for lrand48... yes
checking for memcpy... yes
checking for memmove... yes
checking for mkstemp... yes
checking for mmap... yes
checking for nl_langinfo... yes
checking for perror... yes
checking for poll... yes
checking for ptsname... yes
checking for putenv... yes
checking for realpath... yes
checking for random... yes
checking for rand_r... yes
checking for regcomp... yes
checking for res_search... (cached) yes
checking for scandir... yes
checking for setitimer... yes
checking for setlocale... yes
checking for localeconv... yes
checking for setenv... yes
checking for setpgid... yes
checking for setsockopt... yes
checking for setvbuf... yes
checking for shutdown... yes
checking for sin... yes
checking for snprintf... yes
checking for srand48... yes
checking for srandom... yes
checking for statfs... yes
checking for statvfs... yes
checking for std_syslog... no
checking for strcasecmp... yes
checking for strcoll... yes
checking for strdup... yes
checking for strerror... yes
checking for strftime... yes
checking for strnlen... yes
checking for strptime... yes
checking for strstr... yes
checking for strtok_r... yes
checking for symlink... yes
checking for tempnam... yes
checking for tzset... yes
checking for unlockpt... yes
checking for unsetenv... yes
checking for usleep... yes
checking for utime... yes
checking for vsnprintf... yes
checking for nanosleep... checking for nanosleep in -lrt... yes
yes
checking for getaddrinfo... yes
checking for strlcat... no
checking for strlcpy... no
checking for getopt... yes
checking whether utime accepts a null argument... yes
checking for working alloca.h... (cached) yes
checking for alloca... yes
checking for declared timezone... yes
checking for type of reentrant time-related functions... POSIX
checking for readdir_r... yes
checking for type of readdir_r... POSIX
checking for in_addr_t... yes
checking for crypt_r... no

General settings
checking whether to include gcov symbols... no
checking whether to include debugging symbols... no
checking layout of installed files... PHP
checking path to configuration file... DEFAULT
checking where to scan for configuration files...
checking whether to enable safe mode by default... no
checking for safe mode exec dir... /usr/local/php/bin
checking whether to enable PHP's own SIGCHLD handler... no
checking whether to enable magic quotes by default... no
checking whether to explicitly link against libgcc... no
checking whether to enable short tags by default... yes
checking whether to enable dmalloc... no
checking whether to enable IPv6 support... yes
checking how big to make fd sets... using system default

Configuring extensions
checking size of long... (cached) 8
checking size of int... (cached) 4
checking for int32_t... yes
checking for uint32_t... yes
checking for sys/types.h... (cached) yes
checking for inttypes.h... (cached) yes
checking for stdint.h... (cached) yes
checking for string.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for strtoll... yes
checking for atoll... yes
checking for strftime... (cached) yes
checking whether to enable LIBXML support... yes
checking libxml2 install dir... no
checking for xml2-config path... /usr/bin/xml2-config
checking whether libxml build works... yes
checking for OpenSSL support... no
checking for Kerberos support... no
checking for PCRE support... yes
checking for ZLIB support... no
checking if the location of ZLIB install directory is defined... no
checking whether to enable bc style precision math functions... no
checking for BZip2 support... no
checking whether to enable calendar conversion support... no
checking whether to enable ctype functions... yes
checking for cURL support... yes
checking if we should use cURL for url streams... no
checking for cURL in default path... found in /usr
checking for cURL 7.10.5 or greater... libcurl 7.15.5
checking for SSL support in libcurl... yes
checking how to run the C preprocessor... gcc -E
checking for openssl support in libcurl... yes
checking for openssl/crypto.h... yes
checking for gnutls support in libcurl... no
checking for curl_easy_perform in -lcurl... yes
checking for curl_version_info in -lcurl... yes
checking for curl_easy_strerror in -lcurl... yes
checking for curl_multi_strerror in -lcurl... yes
checking for QDBM support... no
checking for GDBM support... no
checking for NDBM support... no
checking for Berkeley DB4 support... no
checking for Berkeley DB3 support... no
checking for Berkeley DB2 support... no
checking for DB1 support... no
checking for DBM support... no
checking for CDB support... no
checking for INI File support... no
checking for FlatFile support... no
checking whether to enable DBA interface... no
checking whether to enable dbase support... no
checking whether to enable DOM support... yes
checking for xml2-config path... (cached) /usr/bin/xml2-config
checking whether libxml build works... (cached) yes
checking whether to enable EXIF (metadata from images) support... no
checking for FrontBase SQL92 (fbsql) support... no
checking for FDF support... no
checking whether to enable input filter support... yes
checking pcre install prefix... no
checking whether to enable FTP support... yes
checking OpenSSL dir for FTP... no
checking for GD support... yes
checking for the location of libjpeg... no
checking for the location of libpng... no
checking for the location of libXpm... no
checking for FreeType 1.x support... no
checking for FreeType 2... no
checking for T1lib support... no
checking whether to enable truetype string function in GD... yes
checking whether to enable JIS-mapped Japanese font support in GD... no
checking for fabsf... yes
checking for floorf... yes
If configure fails try --with-jpeg-dir=<DIR>
checking for png_write_image in -lpng... yes
If configure fails try --with-xpm-dir=<DIR>
If configure fails try --with-freetype-dir=<DIR>
checking for GNU gettext support... no
checking for GNU MP support... no
checking whether to enable hash support... yes
checking whether byte ordering is bigendian... (cached) no
checking size of short... 2
checking size of int... (cached) 4
checking size of long... (cached) 8
checking size of long long... (cached) 8
checking for iconv support... yes
configure: error: Please reinstall the iconv library.


----Install Error: wdphp configure err -----------

TOP

wget http://ftp.gnu.org/pub/gnu/libiconv/libiconv-1.14.tar.gz
tar xzf libiconv-1.14.tar.gz
cd libiconv-1.14
./configure
make && make install
ln -s /usr/local/lib/libiconv.so.2 /usr/lib/libiconv.so.2

TOP

Sorry, I cannot run apxs.  Possible reasons follow:

1. Perl is not installed
2. apxs was not found. Try to pass the path using --with-apxs2=/path/to/apxs
3. Apache was not built using --enable-so (the apxs usage page is displayed)

The output of /www/wdlinux/wdapache/bin/apxs follows:
/www/wdlinux/wdapache/bin/httpd: error while loading shared libraries: libiconv.so.2: cannot open shared object file: No such file or directory
apxs:Error: Sorry, no shared object support for Apache.
apxs:Error: available under your platform. Make sure.
apxs:Error: the Apache module mod_so is compiled into.
apxs:Error: your server binary `/www/wdlinux/wdapache/bin/httpd'..
configure: error: Aborting


----Install Error: wdphp configure err -----------

TOP

Sorry, I cannot run apxs.  Possible reasons follow:

1. Perl is not installed
2. apxs was not found. Try to pass the path using --with-apxs2=/path/to/apxs
3. Apache was not built using --enable-so (the apxs usage page is displayed)

The output of /www/wdlinux/wdapache/bin/apxs follows:
/www/wdlinux/wdapache/bin/httpd: error while loading shared libraries: libiconv.so.2: cannot open shared object file: No such file or directory
apxs:Error: Sorry, no shared object support for Apache.
apxs:Error: available under your platform. Make sure.
apxs:Error: the Apache module mod_so is compiled into.
apxs:Error: your server binary `/www/wdlinux/wdapache/bin/httpd'..
configure: error: Aborting


----Install Error: wdphp configure err -----------

TOP

返回列表