/bin/chown: `apache:apache': invalid user

GlobalDC

Verified User
Joined
Mar 12, 2004
Messages
14
Location
Milwaukee, Wisconsin
Hello, I get this when trying to install on RH 9. I installed DA before, on exact same server, but now it does not work. Everything was as it should be, with just gcc packages, as usual.

Please help, have reformatted the server, and still does not work.






./install.sh -m 751 -O 102 -g 2 . /etc/virtual/majordomo
./install.sh -m 755 -O 102 -g 2 . /etc/virtual/majordomo/bin
Copying tools to /etc/virtual/majordomo/bin
Copying Majordomo files to /etc/virtual/majordomo
Copying archiving and other tools to /etc/virtual/majordomo/Tools
./install.sh -m 755 -O 102 -g 2 . /etc/virtual/majordomo/Tools
Using installed majordomo.cf
Installing manual pages in /etc/virtual/majordomo/man

To finish the installation, 'su' to root and type:

make install-wrapper

If not installing the wrapper, type

cd /etc/virtual/majordomo; ./wrapper config-test

(no 'su' necessary) to verify the installation.
./install.sh -o root -g 2 \
-m 4755 wrapper /etc/virtual/majordomo/wrapper

To verify that all the permissions and etc are correct,
run the command

cd /etc/virtual/majordomo; ./wrapper config-test
Starting DA-PopB4Smtp:
/bin/chown: `apache:apache': invalid user
xinetd: unrecognized service
/bin/chown: `apache:apache': invalid user
[root@bob root]#










Goes fine, then just quit's with the above errors. How do I by-pass this? This is my last in stock server, so I cannot swap the server for another to test this on.


Thanks,
Chris
GlobalDC
 
Hey,

You're not alone...

/bin/chown: `apache:apache': invalid user

I started on a RH9 install and I'm seeing basically the same thing...

Is your customapache directory missing... Mine was/is after the install...

Obviously, the apache user/group is not being created.

I'm going over it again and will see what turns up.

David
 
yes

Yes, appears to be missing.

I think it is a problem with the installer mabe?


I've done over 30 installs/re-installs, and never had this issue. This server had DA in past, with no problems.
 
Hey,

After the somewhat failed install I ran customapache.sh and after that I ran the setup.sh again and DA is up...

I'll have to take a closer look but, after running setup.sh the install finished giving me the admin password to login with...

David
 
Hello,

Try running:
Code:
groupadd apache
useradd -d /var/www -g apache apache
And then do the install again.

John
 
Back
Top