[cobbler] Basic startup of cobbler on Ubuntu 14.04
Paul Michali (pcm)
pcm at cisco.com
Wed Sep 3 22:28:36 UTC 2014
Thanks for the response Timo!
I think I had them from an attempt of installing from source and placed them there, when trying to get cobbler-web working. So, I disabled and removed this config file. I also purged and reinstalled cobbler-web via apt-get.
I see that in the conf.d and conf-enabled, the cobbler_web.conf and cobbler.conf files are present. However, in cobbler_web.conf it mentions a location as /usr/local/share/cobbler/…, but there is no such directory.
Should there have been a /usr/local/share/cobbler/web/ area? If so, any idea what went wrong? It looks like it is not finding the needed file (from log):
[Wed Sep 03 17:59:28.176258 2014] [:error] [pid 2929:tid 140418041784064] [client 10.86.244.120:58132] Target WSGI script not found or unable to stat: /usr/local/share/cobbler
Here’s the config file:
<Directory "/usr/local/share/cobbler/web/">
<IfModule mod_ssl.c>
SSLRequireSSL
</IfModule>
<IfModule mod_nss.c>
NSSRequireSSL
</IfModule>
SetEnv VIRTUALENV
Options Indexes MultiViews
AllowOverride None
Order allow,deny
Allow from all
</Directory>
<Directory "/srv/www/cobbler_webui_content/">
<IfModule mod_ssl.c>
SSLRequireSSL
</IfModule>
<IfModule mod_nss.c>
NSSRequireSSL
</IfModule>
Options +Indexes +FollowSymLinks
AllowOverride None
Order allow,deny
Allow from all
</Directory>
# Use separate process group for wsgi
WSGISocketPrefix /var/run/wsgi
WSGIScriptAlias /cobbler_web /usr/local/share/cobbler/web/cobbler.wsgi
WSGIDaemonProcess cobbler_web display-name=%{GROUP}
WSGIProcessGroup cobbler_web
WSGIPassAuthorization On
<IfVersion >= 2.4>
<Location /cobbler_web>
Require all granted
</Location>
</IfVersion>
Regards,
PCM (Paul Michali)
MAIL …..…. pcm at cisco.com
IRC ……..… pcm_ (irc.freenode.com)
TW ………... @pmichali
GPG Key … 4525ECC253E31A83
Fingerprint .. 307A 96BB 1A4C D2C7 931D 8D2D 4525 ECC2 53E3 1A83
On Sep 3, 2014, at 2:56 AM, Timo Aaltonen <tjaalton at ubuntu.com> wrote:
> On 02.09.2014 22:18, Paul Michali (pcm) wrote:
>> Really odd. I had to reboot the VM for other purposes, and now, with the
>> system restarted, cobbler check/sync/import all work.
>>
>> The only thing I’m having trouble with, is cobbler_web. I cannot access
>> the page, although, I have apache2 running and can access the home page.
>>
>> In /var/www, I see a cobbler and cobbler_uiweb_content directories, but
>> no cobbler_web. There is a cobbler_web process running. When I look at
>> apache sites-enabled, I do NOT see cobbler_web.conf. I enabled it, and
>> got an error on L13:
>>
>> Enabling site cobbler_web.
>> To activate the new configuration, you need to run:
>> service apache2 reload
>> root at jenga:/etc/apache2/sites-enabled# service apache2 reload
>> * Reloading web server apache2
>>
>> *
>> * The apache2 configtest failed. Not doing anything.
>> Output of config test was:
>> AH00526: Syntax error on line 13 of
>> /etc/apache2/sites-enabled/cobbler_web.conf:
>> Name duplicates previous WSGI daemon definition.
>> Action 'configtest' failed.
>
> Where did you get /etc/apache2/sites-enabled/cobbler_web.conf? That
> shouldn't be needed since the package already installs (links)
> /etc/apache2/conf-enabled/cobbler_web.conf. Probably also why you got
> the dupe error..
>
>
>
> --
> t
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.fedorahosted.org/pipermail/cobbler/attachments/20140903/0192144d/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 842 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <https://lists.fedorahosted.org/pipermail/cobbler/attachments/20140903/0192144d/attachment.sig>
More information about the cobbler
mailing list