<html><head><meta http-equiv="Content-Type" content="text/html charset=windows-1252"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">Thanks for the response Timo!<div><br></div><div>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.<div><br></div><div>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.</div><div><br></div><div>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):</div><div>[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</div><div><br></div><div><br></div><div><br></div><div>Here’s the config file:</div><div><div><br></div><div>&lt;Directory "/usr/local/share/cobbler/web/"&gt;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &lt;IfModule mod_ssl.c&gt;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; SSLRequireSSL</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &lt;/IfModule&gt;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &lt;IfModule mod_nss.c&gt;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; NSSRequireSSL</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &lt;/IfModule&gt;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; SetEnv VIRTUALENV</div><div>&nbsp; &nbsp; &nbsp; &nbsp; Options Indexes MultiViews</div><div>&nbsp; &nbsp; &nbsp; &nbsp; AllowOverride None</div><div>&nbsp; &nbsp; &nbsp; &nbsp; Order allow,deny</div><div>&nbsp; &nbsp; &nbsp; &nbsp; Allow from all</div><div>&lt;/Directory&gt;</div><div><br></div><div>&lt;Directory "/srv/www/cobbler_webui_content/"&gt;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &lt;IfModule mod_ssl.c&gt;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; SSLRequireSSL</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &lt;/IfModule&gt;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &lt;IfModule mod_nss.c&gt;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; NSSRequireSSL</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &lt;/IfModule&gt;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; Options +Indexes +FollowSymLinks</div><div>&nbsp; &nbsp; &nbsp; &nbsp; AllowOverride None</div><div>&nbsp; &nbsp; &nbsp; &nbsp; Order allow,deny</div><div>&nbsp; &nbsp; &nbsp; &nbsp; Allow from all</div><div>&lt;/Directory&gt;</div><div><br></div><div># Use separate process group for wsgi</div><div>WSGISocketPrefix /var/run/wsgi</div><div>WSGIScriptAlias /cobbler_web /usr/local/share/cobbler/web/cobbler.wsgi</div><div>WSGIDaemonProcess cobbler_web display-name=%{GROUP}</div><div>WSGIProcessGroup cobbler_web</div><div>WSGIPassAuthorization On</div><div><br></div><div>&lt;IfVersion &gt;= 2.4&gt;</div><div>&nbsp; &nbsp; &lt;Location /cobbler_web&gt;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; Require all granted</div><div>&nbsp; &nbsp; &lt;/Location&gt;</div><div>&lt;/IfVersion&gt;</div></div><div><br></div><div>Regards,</div><div><br></div><div><br><div apple-content-edited="true">
<div><div>PCM (Paul Michali)</div><div><br></div><div>MAIL …..…. <a href="mailto:pcm@cisco.com">pcm@cisco.com</a></div><div>IRC ……..… pcm_ (<a href="http://irc.freenode.com">irc.freenode.com</a>)</div><div>TW ………... @pmichali</div><div>GPG Key … 4525ECC253E31A83</div><div>Fingerprint .. 307A 96BB 1A4C D2C7 931D 8D2D 4525 ECC2 53E3 1A83</div></div><div><br></div><br class="Apple-interchange-newline">
</div>
<br><div><div>On Sep 3, 2014, at 2:56 AM, Timo Aaltonen &lt;<a href="mailto:tjaalton@ubuntu.com">tjaalton@ubuntu.com</a>&gt; wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div style="font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;">On 02.09.2014 22:18, Paul Michali (pcm) wrote:<br><blockquote type="cite">Really odd. I had to reboot the VM for other purposes, and now, with the<br>system restarted, cobbler check/sync/import all work.<br><br>The only thing I’m having trouble with, is cobbler_web. I cannot access<br>the page, although, I have apache2 running and can access the home page.<br><br>In /var/www, I see a cobbler and cobbler_uiweb_content directories, but<br>no cobbler_web. There is a cobbler_web process running. When I look at<br>apache sites-enabled, I do NOT see cobbler_web.conf. I enabled it, and<br>got an error on L13:<br><br>Enabling site cobbler_web.<br>To activate the new configuration, you need to run:<br>&nbsp;service apache2 reload<br>root@jenga:/etc/apache2/sites-enabled# service apache2 reload<br>* Reloading web server apache2 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;*<br>* The apache2 configtest failed. Not doing anything.<br>Output of config test was:<br>AH00526: Syntax error on line 13 of<br>/etc/apache2/sites-enabled/cobbler_web.conf:<br>Name duplicates previous WSGI daemon definition.</blockquote></div></blockquote><blockquote type="cite"><div style="font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;"><blockquote type="cite">Action 'configtest' failed.<br></blockquote><br>Where did you get /etc/apache2/sites-enabled/cobbler_web.conf? That<br>shouldn't be needed since the package already installs (links)<br>/etc/apache2/conf-enabled/cobbler_web.conf. Probably also why you got<br>the dupe error..<br><br><br><br>--<span class="Apple-converted-space">&nbsp;</span><br>t</div></blockquote></div><br></div></div></body></html>