After only doing usually very smooth upgrades for quite a while I had to do a fresh install of Koha. To be honest, it hasn't gotten any easier over time. Anyway, after getting all the dependencies etc. installed, I got stuck at "sudo apache2ctl restart" which returns "apache2: bad user name ccclibrary-koha Action 'restart' failed. (Or Action 'configtest' failed when running as root) The Apache error log may have more information" The apache error log is sadly empty. A Google search tells me a temporary fix was to edit the file in /etc/apache2/apache2.conf It said to look for this: User ${APACHE_RUN_USER} Group ${APACHE_RUN_GROUP} and change it to this: User www-data Group www-data But that seems useless, as that is what envvars says already. Anyway, I tried it but it had no effect. Any ideas are welcome Marty
Marty schreef op ma 17-12-2012 om 14:04 [-0800]:
After only doing usually very smooth upgrades for quite a while I had to do a fresh install of Koha. To be honest, it hasn't gotten any easier over time.
What method did you install with? packages, git, tarball? Sounds like tarball or git as the packages will sort the dependencies and apache configuration for you.
at "sudo apache2ctl restart" which returns "apache2: bad user name ccclibrary-koha
and change it to this: User www-data Group www-data
Do you have a user/group on your system called 'www-data'? Also, if it already said that, where is ccclibrary-koha coming from? Have you looked through the rest of your apache configuration to find it? What OS are you installing on? What Koha version are you attempting to install? -- Robin Sheat Catalyst IT Ltd. ✆ +64 4 803 2204 GPG: 5957 6D23 8B16 EFAB FEF8 7175 14D3 6485 A99C EB6D
Installing on Debian 6 or Squeeze, downloaded tarball, that was the way I used to get it to work in the past. What seems to have happened is that I downloaded a Debian koha package and it seems I had some remains left over from that aborted trial. So I am trying to start over with a clean slate now. Just trying to get 3.07.08 running on a desktop like it is running on my laptop, and that was also installed from a tarball... Thanks for all your help y'all! ________________________________ From: Robin Sheat <robin@catalyst.net.nz> To: koha@lists.katipo.co.nz Sent: Monday, December 17, 2012 7:38:01 PM Subject: Re: [Koha] apache bad user name Marty schreef op ma 17-12-2012 om 14:04 [-0800]:
After only doing usually very smooth upgrades for quite a while I had to do a fresh install of Koha. To be honest, it hasn't gotten any easier over time.
What method did you install with? packages, git, tarball? Sounds like tarball or git as the packages will sort the dependencies and apache configuration for you.
at "sudo apache2ctl restart" which returns "apache2: bad user name ccclibrary-koha
and change it to this: User www-data Group www-data
Do you have a user/group on your system called 'www-data'? Also, if it already said that, where is ccclibrary-koha coming from? Have you looked through the rest of your apache configuration to find it? What OS are you installing on? What Koha version are you attempting to install? -- Robin Sheat Catalyst IT Ltd. ✆ +64 4 803 2204 GPG: 5957 6D23 8B16 EFAB FEF8 7175 14D3 6485 A99C EB6D _______________________________________________ Koha mailing list http://koha-community.org Koha@lists.katipo.co.nz http://lists.katipo.co.nz/mailman/listinfo/koha
participants (2)
-
Marty -
Robin Sheat