During "make install" chgrp fails with "invalid groupname" (Ungültiger Gruppenname); see line 8). Obviously line 7) is missing the "id -g hobbit" as in line 6). Whre do I add it?
Yours hjb
...
- Loading md5-data ... OK
- touch /home/hobbit/server/etc/hobbit-nkview.cfg /home/hobbit/server/etc/hobbit-nkview.cfg.bak
- chmod g+w /home/hobbit/server/etc/hobbit-nkview.cfg /home/hobbit/server/etc/hobbit-nkview.cfg.bak
- mkdir -p /var/log/hobbit
- chown hobbit /var/log/hobbit /home/hobbit/server /home/hobbit/server/* /home/hobbit/server/bin/* /home/hobbit/server/etc/* /home/hobbit/server/ext/* /home/hobbit/server/web/* /home/hobbit/server/www/gifs /home/hobbit/server/www/gifs/* /home/hobbit/server/www/menu /home/hobbit/server/www/menu/* /home/hobbit/server/www/help /home/hobbit/server/www/notes /home/hobbit/server/www/html /home/hobbit/server/www/wml /home/hobbit/data /home/hobbit/data/*
- chgrp
id -g hobbit/var/log/hobbit /home/hobbit/server /home/hobbit/server/* /home/hobbit/server/bin/* /home/hobbit/server/etc/* /home/hobbit/server/ext/* /home/hobbit/server/web/* /home/hobbit/server/www/gifs /home/hobbit/server/www/gifs/* /home/hobbit/server/www/menu /home/hobbit/server/www/menu/* /home/hobbit/server/www/help /home/hobbit/server/www/notes /home/hobbit/server/www/html /home/hobbit/server/www/wml /home/hobbit/data /home/hobbit/data/* - chgrp /home/hobbit/server/etc/hobbit-nkview.cfg /home/hobbit/server/etc/hobbit-nkview.cfg.bak
- --->>> chgrp: Ungültiger Gruppenname ,,/home/hobbit/server/etc/hobbit-nkview.cfg" make[1]: *** [install-cfg] Fehler 1 make[1]: Leaving directory `/home/beckers/hobbit-4.2.0/hobbitd' make: *** [install-hobbitd] Fehler 2
Diese E-Mail wurde geprüft von Symantec Antivirus
Hermann-Josef Beckers wrote on 17/08/2006 02:07:25 a.m.:
During "make install" chgrp fails with "invalid groupname" (Ungültiger Gruppenname); see line 8). Obviously line 7) is missing the "id -g hobbit" as in line 6). Whre do I add it?
Yours hjb
...
- Loading md5-data ... OK
- touch /home/hobbit/server/etc/hobbit-nkview.cfg /home/hobbit/server/etc/hobbit-nkview.cfg.bak
- chmod g+w /home/hobbit/server/etc/hobbit-nkview.cfg /home/hobbit/server/etc/hobbit-nkview.cfg.bak
- mkdir -p /var/log/hobbit
- chown hobbit /var/log/hobbit /home/hobbit/server /home/hobbit/server/* /home/hobbit/server/bin/* /home/hobbit/server/etc/* /home/hobbit/server/ext/* /home/hobbit/server/web/* /home/hobbit/server/www/gifs /home/hobbit/server/www/gifs/* /home/hobbit/server/www/menu /home/hobbit/server/www/menu/* /home/hobbit/server/www/help /home/hobbit/server/www/notes /home/hobbit/server/www/html /home/hobbit/server/www/wml /home/hobbit/data /home/hobbit/data/*
- chgrp
id -g hobbit/var/log/hobbit /home/hobbit/server /home/hobbit/server/* /home/hobbit/server/bin/* /home/hobbit/server/etc/* /home/hobbit/server/ext/* /home/hobbit/server/web/* /home/hobbit/server/www/gifs /home/hobbit/server/www/gifs/* /home/hobbit/server/www/menu /home/hobbit/server/www/menu/* /home/hobbit/server/www/help /home/hobbit/server/www/notes /home/hobbit/server/www/html /home/hobbit/server/www/wml /home/hobbit/data /home/hobbit/data/*- chgrp /home/hobbit/server/etc/hobbit-nkview.cfg /home/hobbit/server/etc/hobbit-nkview.cfg.bak
- --->>> chgrp: Ungültiger Gruppenname ,, /home/hobbit/server/etc/hobbit-nkview.cfg" make[1]: *** [install-cfg] Fehler 1 make[1]: Leaving directory `/home/beckers/hobbit-4.2.0/hobbitd' make: *** [install-hobbitd] Fehler 2
I had the same issue. The definition of HTTPDGID= seems to be missing from the root Makefile (top source directory) after configure, so the chgrp on line 160 of hobbitd/Makefile fails.
The workaround I used was to edit hobbitd/Makefile and change ${HTTPDGID} to nobody (the group for my Apache user). I guess I could have also set the variable in the root Makefile!
My guess is that this is caused by pressing Enter to accept the default web user during configure, but I'll leave it up to Henrik to confirm and propose a more robust solution ;-)
HTH, Andy.
#####################################################################################
This email is intended for the person to whom it is addressed only. If you are not the intended recipient, do not read, copy or use the contents in any way. The opinions expressed may not necessarily reflect those of ZESPRI Group of Companies ('ZESPRI').
While every effort has been made to verify the information contained herein, ZESPRI does not make any representations as to the accuracy of the information or to the performance of any data, information or the products mentioned herein. ZESPRI will not accept liability for any losses, damage or consequence, however, resulting directly or indirectly from the use of this e-mail/attachments. #####################################################################################
Hi Andy,
thanks for pointing to the right Makefile. I substituted {HTTPDGID} with the "id -g hobbit" from the line above in the hobbitd/Makefile. Now hobbit installs cleanly.
Yours hjb
Diese E-Mail wurde geprüft von Symantec Antivirus
On Thu, Aug 17, 2006 at 09:55:56AM +1200, Andy France wrote:
Hermann-Josef Beckers wrote on 17/08/2006 02:07:25 a.m.:
During "make install" chgrp fails with "invalid groupname" (Ungültiger Gruppenname); see line 8). Obviously line 7) is missing the "id -g hobbit" as in line 6). Whre do I add it?
I had the same issue. The definition of HTTPDGID= seems to be missing from the root Makefile (top source directory) after configure, so the chgrp on line 160 of hobbitd/Makefile fails.
OK, I hadn't thought of this. So I've changed the configuration script so that the HTTPDGID setting defaults to "nobody".
Regards, Henrik
participants (3)
-
Andy@zespri.com
-
henrik@hswn.dk
-
hj.beckers@kreis-steinfurt.de