99精品国产综合久久久久五月天,免费观看欧美大片毛片不用播放器 ,AV无码理论片在线观看免费网站,国产精品国产成人国产三级

Board logo

標題: [求助] mysql組已存在,bad user name www 問題怎樣解決 [打印本頁]

作者: monkey880    時間: 2012-10-31 17:02     標題: mysql組已存在,bad user name www 問題怎樣解決

本帖最后由 monkey880 于 2012-10-31 17:03 編輯

安裝過程的代碼提示

Preparing...                ########################################### [100%]
1:lanmp_wdcp             ########################################### [100%]
groupadd:mysql 組已存在
groupadd:www 組已存在
Starting MySQL.Manager of pid-file quit without updating file.[FAILED]
chown: “www.www”: 無效的用戶
Starting httpd: httpd: bad user name www
[FAILED]
Starting nginx: nginx: [emerg] getpwnam("www") failed in /www/wdlinux/nginx/conf/nginx.conf:4
[FAILED]
Starting httpd: [  OK  ]
Starting pure-config.pl: Running: /usr/sbin/pure-ftpd --daemonize -S21 -A -c50 -B -C8 -D -E -fftp -H -I15 -L10000:8 -m4 -s -U133:022 -u100 -k99 -Z -lunix -p20000:20500 -lmysql:/www/wdlinux/etc/pureftpd-mysql.conf
安裝好后,后臺不能遠行
提示 無法連接mysql,請檢查mysql是否已啟動及用戶密碼是否設置正確!:
作者: monkey880    時間: 2012-11-1 09:42

用戶www 在nginx 配置文件注釋后仍提示

Starting nginx: nginx: [emerg] getpwnam("www") failed
                                                           [FAILED]

下面是nginx的配置文件
# nginx conf conf/nginx.conf
# Created by http://fudaan.com
# Last Updated 2010.06.01
#user  www www;
worker_processes  3;
error_log  logs/error.log  notice;
pid        logs/nginx.pid;
worker_rlimit_nofile 5120;
events {
    use epoll;
    worker_connections  5120;
}

http {
    include       mime.types;
    default_type  application/octet-stream;

    server_names_hash_bucket_size 128;
    client_header_buffer_size 32k;
    large_client_header_buffers 4 32k;
    client_max_body_size 8m;
    limit_zone one $binary_remote_addr 32k;

    sendfile        on;
    tcp_nopush     on;

    keepalive_timeout  60;
    tcp_nodelay on;

    gzip  on;
    gzip_min_length  1k;
    gzip_buffers     4 16k;
    gzip_http_version 1.0;
    gzip_comp_level 2;
    gzip_types       text/plain application/x-javascript text/css application/xml;
    gzip_vary on;

    log_format  wwwlogs  '$remote_addr - $remote_user [$time_local] $request $status $body_bytes_sent $http_referer $http_user_agent $http_x_forwarded_for';
    #include default.conf;
    include vhost/*.conf;
}
作者: monkey880    時間: 2012-11-1 09:48

目前
service nginxd restart   提示   [emerg] getpwnam("www") failed
service httpd restart   提示    bad user name www

后臺可以正常使用
添加的網(wǎng)站打開是 It works! 頁
作者: admin    時間: 2012-11-1 10:08

看不到"提問三步曲"?
作者: monkey880    時間: 2012-11-1 11:06

問題已經(jīng)解決

是因為原系統(tǒng)裝有mysql ,apache,vsftp,再安裝時沒能成功添加www用戶和組,我手動改了etc/passwd和etc/group 文件后,用戶問題解決

之后把原來軟件安裝的目錄全刪除,重啟后問題解決




歡迎光臨 WDlinux官方論壇 (http://fudaan.com/bbs/) Powered by Discuz! 7.2