|
(CentOS) ERROR: Unknown user 'www-data' !
|
| Author |
Message |
rajahomega
Junior Member

Posts: 11
Group: Registered
Joined: Mar 2008
Status:
Offline
Reputation: 0
|
(CentOS) ERROR: Unknown user 'www-data' !
I am using cent OS, after I enter the information it says
ERROR: Unknown user 'www-data' !
Here is a copy of what it looks like
Use which PHP Version? (4 or 5). [5]:
IP of Secondary DNS. (optional) []:
Use MySQL Prefix.
Possible values: [i]nfront, [b]ehind, [n]one. [none]:
Activate AWStats. [no]:
Starting Installation...
ERROR: Unknown user 'www-data' !
Is there a simple solution?
This post was last modified: 03-29-2008 07:49 AM by joximu.
|
|
| 03-28-2008 09:26 AM |
|
 |
joximu
Moderator
    
Posts: 3,539
Group: Moderators
Joined: Jan 2007
Status:
Offline
Reputation: 47
|
RE: ERROR: Unknown user 'www-data' !
What's the user which is normally used for apache on centOS?
2008-03-16 ispCP RC4 released!!!
|
|
| 03-28-2008 09:29 AM |
|
 |
rajahomega
Junior Member

Posts: 11
Group: Registered
Joined: Mar 2008
Status:
Offline
Reputation: 0
|
RE: ERROR: Unknown user 'www-data' !
I don't know, this is on a VPS, does that matter? is the setup looking for a www-data user to exist? Do I create this user or change the user that should be used?
|
|
| 03-28-2008 04:36 PM |
|
 |
joximu
Moderator
    
Posts: 3,539
Group: Moderators
Joined: Jan 2007
Status:
Offline
Reputation: 47
|
RE: ERROR: Unknown user 'www-data' !
I don't know CentOS very good - normally when you install apache there is a user created named www-data or www or so...
The username is in the config file and if it's the wrong one then we have to change this.
2008-03-16 ispCP RC4 released!!!
|
|
| 03-28-2008 06:44 PM |
|
 |
rajahomega
Junior Member

Posts: 11
Group: Registered
Joined: Mar 2008
Status:
Offline
Reputation: 0
|
RE: ERROR: Unknown user 'www-data' !
Is this where I would change it?
http.conf
#
# If you wish httpd to run as a different user or group, you must run
# httpd as root initially and it will switch.
#
# User/Group: The name (or #number) of the user/group to run httpd as.
# . On SCO (ODT 3) use "User nouser" and "Group nogroup".
# . On HPUX you may not be able to use shared memory as nobody, and the
# suggested workaround is to create a user www and use that user.
# NOTE that some kernels refuse to setgid(Group) or semctl(IPC_SET)
# when the value of (unsigned)Group is above 60000;
# don't use Group "#-1" on these systems!
#
User nobody
Group nobody
|
|
| 03-29-2008 01:36 AM |
|
 |
joximu
Moderator
    
Posts: 3,539
Group: Moderators
Joined: Jan 2007
Status:
Offline
Reputation: 47
|
RE: ERROR: Unknown user 'www-data' !
Correct this in /etc/ispcp/ispcp.conf before running ispcp-setup.
I'd say change both:
APACHE_USER = www-data
APACHE_GROUP = www-data
Please report here if this is working better
thanx
2008-03-16 ispCP RC4 released!!!
|
|
| 03-29-2008 01:56 AM |
|
 |
rajahomega
Junior Member

Posts: 11
Group: Registered
Joined: Mar 2008
Status:
Offline
Reputation: 0
|
RE: ERROR: Unknown user 'www-data' !
Ok I went to /etc/ispcp/ispcp.conf and did this:
APACHE_USER = nobody
APACHE_GROUP = nobody
Now I get this error
Use which PHP Version? (4 or 5). [5]:
IP of Secondary DNS. (optional) []:
Use MySQL Prefix.
Possible values: [i]nfront, [b]ehind, [n]one. [none]:
Activate AWStats. [no]:
Starting Installation...
Can't exec "which": No such file or directory at ispcp-setup-methods.pl line 637.
Can't exec "which": No such file or directory at ispcp-setup-methods.pl line 638.
Use of uninitialized value in substitution (s///) at ispcp-setup-methods.pl line 640.
Use of uninitialized value in substitution (s///) at ispcp-setup-methods.pl line 641.
Use of uninitialized value in length at ispcp-setup-methods.pl line 643.
Use of uninitialized value in length at ispcp-setup-methods.pl line 643.
ERROR: Undefined template replacement data in repl_var: {RKHUNTER}!
|
|
| 03-29-2008 07:19 AM |
|
 |
joximu
Moderator
    
Posts: 3,539
Group: Moderators
Joined: Jan 2007
Status:
Offline
Reputation: 47
|
RE: ERROR: Unknown user 'www-data' !
Can you install the command "which" - in debian it's the packet debianutils, in suse it's util-linux - I hope you find it (and give us the right packet name).
/J
2008-03-16 ispCP RC4 released!!!
|
|
| 03-29-2008 07:48 AM |
|
 |
rajahomega
Junior Member

Posts: 11
Group: Registered
Joined: Mar 2008
Status:
Offline
Reputation: 0
|
RE: (CentOS) ERROR: Unknown user 'www-data' !
ok I installed "which" and "rkhunter" but still get an error
Starting Installation...
/bin/cp: cannot stat `/etc/ispcp/bind/backup/named.conf.ispcp': No such file or directory
ERROR: External command '/bin/cp -p /etc/ispcp/bind/backup/named.conf.ispcp /etc/bind/named.conf' returned '1' status !
|
|
| 03-29-2008 08:44 AM |
|
 |
joximu
Moderator
    
Posts: 3,539
Group: Moderators
Joined: Jan 2007
Status:
Offline
Reputation: 47
|
RE: (CentOS) ERROR: Unknown user 'www-data' !
which version of ispCP did you install? what's the name of the download file?
2008-03-16 ispCP RC4 released!!!
|
|
| 03-29-2008 08:51 AM |
|
 |
|
|