[LON-CAPA-admin] Install error
Lucas, Richard
clucas at purdue.edu
Fri May 2 15:42:26 EDT 2014
Actually I figured it out. When the install.pl script downloads and untars it, it preserves ownership of when it was created. Hence it was owned by 500:admin (admin is the 500 group on my system). After I chowned everything to an actual user I got past this. You may want to edit the install.pl to either chown everything to www:www after it untars it.
Now it's failed further along trying to run "install -d ""/home/httpd/html/lon-status" because /home/httpd doesn't exist. I assumed that since there was nothing in the docs about creating these directories it would do it automatically. However it now appears as though they need to be there beforehand. Can you tell me what that directory structure should look like so I don't hit this again after creating /home/httpd/html?
Thanks,
Richard
-----Original Message-----
From: lon-capa-admin-bounces at mail.lon-capa.org [mailto:lon-capa-admin-bounces at mail.lon-capa.org] On Behalf Of Stuart Raeburn
Sent: Friday, May 02, 2014 2:42 PM
To: lon-capa-admin at mail.lon-capa.org
Subject: Re: [LON-CAPA-admin] Install error
Richard,
>> install: destination owner 500 doesn't exist
> [root at ldvstulon01 installation]# id www
> uid=38269(www) gid=1759(www) groups=1759(www)
On my CentOS 6.5 system I have:
id www
uid=500(www) gid=500(www) groups=500(www)
One thing to try would be to change both the uid and gid for the www user and www group to 500, and then do make clean and run ./UPDATE again.
> I reran it but it did not suggest creating the www user as it did
> before. (BTW, why doesn't it just use the default user of apache?)
That decision was made fifteen years ago, at the very beginning of the
LON-CAPA project, and is something which predates my involvement.
Stuart Raeburn
LON-CAPA Academic Consortium
Quoting "Lucas, Richard" <clucas at purdue.edu>:
> Yes the install.pl script was ran successfully and the user exists:
>
> [root at ldvstulon01 installation]# id www
> uid=38269(www) gid=1759(www) groups=1759(www)
>
> I reran it but it did not suggest creating the www user as it did
> before. (BTW, why doesn't it just use the default user of apache?)
>
> I did the make clean and tried the update again, same thing. This is
> Redhat 6.
>
> Thanks,
> Richard
>
> -----Original Message-----
> From: lon-capa-admin-bounces at mail.lon-capa.org
> [mailto:lon-capa-admin-bounces at mail.lon-capa.org] On Behalf Of
> Stuart Raeburn
> Sent: Thursday, May 01, 2014 6:09 PM
> To: lon-capa-admin at mail.lon-capa.org
> Subject: Re: [LON-CAPA-admin] Install error
>
> Hi,
>
>> install: destination owner 500 doesn't exist
>
> Was the install.pl script run successfully (including creation of
> the www user) before running ./UPDATE?
>
> Can you run install.pl again to check whether the www user is found.
>
> (You will find install.pl in the installation directory extracted
> which you will extract from install.tar, available from
> http://install.loncapa.org/linux/install.tar)
>
> In a case of a failed build, you may need to do:
>
> cd loncom/build
>
> from the directory where UPDATE is located, and then run
>
> make clean
>
> before doing
>
> cd ../../
>
> and running ./UPDATE again.
>
> What is the Linux distro/version here?
>
>
> Stuart Raeburn
>
> Quoting "Lucas, Richard" <clucas at purdue.edu>:
>
>> I am trying to do an install and when running UPDATE I am getting the
>> following error:
>>
>> cat ../../doc/loncapafiles/loncapafiles.lpml | \
>> perl lpml_parse.pl build "development" `perl ./distprobe`
>> "../.." """" \
>> "/bin/bash" > Makefile.build
>> install -d ../../doc/man
>> install: destination owner 500 doesn't exist
>> make: *** [build] Error 67
>> **** ERROR **** command "make build" failed
>> ---> 0 WARNINGS ENCOUNTERED!
>> ---> 1 ERRORS ENCOUNTERED!
>> ---> 0 NOTES ENCOUNTERED!
>> !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
>> !!!! Please read the WARNINGS file !!!!
>> !!!! to make sure everything is !!!!
>> !!!! correct and taken care of !!!!
>> !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
>>
>>
>> Any ideas?
>>
>> Thanks,
>> Richard
>>
>
> _______________________________________________
> LON-CAPA-admin mailing list
> LON-CAPA-admin at mail.lon-capa.org
> http://mail.lon-capa.org/mailman/listinfo/lon-capa-admin
_______________________________________________
LON-CAPA-admin mailing list
LON-CAPA-admin at mail.lon-capa.org
http://mail.lon-capa.org/mailman/listinfo/lon-capa-admin
More information about the LON-CAPA-admin
mailing list