Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I'm trying to install a thttp web server which is part of a TI software package for embedded video systems.
after running the configuration file I did a make install which
seemed to be running and printed put lines, but eventually got error
because of chgrp command which failed. (see attached).
I'm a little surprised that Centos doesn't already have the 'www' group in the /etc/group file.
Assuming you are installing an Apache web server, you should see something like below.
Run this command from a terminal.
Code:
grep www /etc/group
www:x:8:
If nothing shows up as an answer, than create the group yourself with the 'groupadd' command.
Look at the /etc/passwd file to see if there's a 'wwwrun' user there, and use the group number from that to create the group.
Distribution: Mac OS X, Centos, OpenSuSE, Redhat, FreeBSD.
Posts: 26
Rep:
Why don't try with easy feature from centos.
Quote:
Originally Posted by dannyu
Hi,
I'm trying to install a thttp web server which is part of a TI software package for embedded video systems.
after running the configuration file I did a make install which
seemed to be running and printed put lines, but eventually got error
because of chgrp command which failed. (see attached).
Can anyone give me a hint, what to do next/how to define this group?
Thank you,
Danny
Hi Dannyu,
How if you try a easier feature from CentOS using with "yum" ?
Try this, "yum install httpd". It will not spent your time only for installing the webserver. Except, if you want to learn for try installing from the source code.
Distribution: Mac OS X, Centos, OpenSuSE, Redhat, FreeBSD.
Posts: 26
Rep:
Quote:
Originally Posted by udaman
I'm a little surprised that Centos doesn't already have the 'www' group in the /etc/group file.
Actually, in Centos is not using www as a user and group as default for apache directory. In OpenSuSE, yes it is. It using a user "apache" as a user and group as default. And the root directory is different from openSuSE. It goes to "/var/www/" as default.
I'm a little surprised that Centos doesn't already have the 'www' group in the /etc/group file.
Assuming you are installing an Apache web server, you should see something like below.
Run this command from a terminal.
Code:
grep www /etc/group
www:x:8:
If nothing shows up as an answer, than create the group yourself with the 'groupadd' command.
Look at the /etc/passwd file to see if there's a 'wwwrun' user there, and use the group number from that to create the group.
Here the group number is '8' in the above line. You should assign the group number the same as what yours shows.
Thanks for the input.
The grep failed to find any results on both the direcotries you suggested.
Also this command is being rejected within the command line.
it doesn't work as there is no gropuadd command in the os.
Afterwards I saw in the response by CPARAPAT saying that CENTOS doesn't support this.
Thanks again,
Danny
How if you try a easier feature from CentOS using with "yum" ?
Try this, "yum install httpd". It will not spent your time only for installing the webserver. Except, if you want to learn for try installing from the source code.
Thank you,
ofcourse I prefer to install it with yum (which as I understand
works like windows install/setup), but this also failes to perform.
Since I had a thought that maybe files are missing within the TI software package I got (DVSDK 365), I downloaded the thttpd package again from a website to find out that all matches (i.e. all files exists). (but still no sccess).
When you tried yum install httpd - what was the error you got? Apache(httpd) is a part of the official RHEL and CentOS repos so it should work provided that your yum repositories are correctly configured. Do other installs with yum work?
Actually, in Centos is not using www as a user and group as default for apache directory.
The OP showed the makefile error as being
Code:
chgrp: invalid group `www'
make[1]: *** [install] Error 1
The RPM was built by Centos, but RPMs don't always agree with the developers of the source code. The source code was clearly looking for the "www" group, and the OP was trying to install source code, not RPMs.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.