Hi Kris,<div><br></div><div>I installed this bad boy from PBI site and I swear I didn't touch anything ;). Oddly enough, the /usr/Programs/rc.d stuff doesn't respond in the same way that I figured /usr/local/etc/rc.d stuff doesn't. The good thing is that I only need apache to run for my OS testing so it isn't critical, but I wonder if the localbase for the PBI was never updated??</div>
<div><br></div><div>Anyway, this is for i386.<br><br><div class="gmail_quote">On Mon, Aug 10, 2009 at 8:04 PM, Kris Moore <span dir="ltr"><<a href="mailto:kris@pcbsd.org">kris@pcbsd.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<br>
Brodey,<br>
<br>
I'll test this out further in the morning and see if I can figure out<br>
whats going on with it. You just installed this PBI<br>
fresh from <a href="http://pbidir.com" target="_blank">pbidir.com</a> right? Also, the rc scripts are under<br>
/usr/Programs/rc.d/apache22, and /Programs/Apache*/<br>
<br>
Oh, this is on amd64 or i386?<br>
<br>
<br>
--<br>
Kris Moore<br>
PC-BSD Software<br>
<div><div></div><div class="h5"><br>
On Mon, 10 Aug 2009, Brodey Dover wrote:<br>
<br>
> On 8/10/09, Brodey Dover <<a href="mailto:doverosx@gmail.com">doverosx@gmail.com</a>> wrote:<br>
>> Sooo, I've got the PBI installed and I've got nothing of the sort<br>
>> running are capable of running. So, out-of-the-box the PBI fails<br>
>> outright.<br>
>><br>
>> [root@pcbsd]/home/brodey(42)# /usr/Programs/rc.d/apache22 status<br>
>> [root@pcbsd]/home/brodey(43)# /usr/Programs/rc.d/apache22 restart<br>
>> [root@pcbsd]/home/brodey(44)# /usr/Programs/rc.d/apache22 status<br>
>> [root@pcbsd]/home/brodey(45)# /usr/Programs/rc.d/apache22 start<br>
>><br>
>> As you can see there is no output, is this a lack of HTTP_ACCEPT??<br>
>><br>
>> [root@pcbsd]/home/brodey(52)# kldstat<br>
>> Id Refs Address Size Name<br>
>> 1 22 0xc0400000 b1ad40 kernel<br>
>> 2 2 0xc0f1b000 29b5c linux.ko<br>
>> 3 1 0xc0f45000 3818 ulpt.ko<br>
>> 4 1 0xc0f49000 2354 accf_http.ko<br>
>> 5 1 0xc0f4c000 6a48c acpi.ko<br>
>> 6 1 0xc33ff000 7000 linprocfs.ko<br>
>> 7 1 0xc3636000 6000 snd_ich.ko<br>
>> 8 1 0xc37ed000 9000 i915.ko<br>
>> 9 1 0xc37f6000 13000 drm.ko<br>
>><br>
>> Nope, there is accf_http.ko in all of its glory.<br>
>><br>
>> Am I using the wrong installed instance of apache?<br>
>><br>
>> [root@pcbsd]/home/brodey(54)# find / -name 'apache22'<br>
>> /usr/PCBSD/Services/apache22<br>
>> /usr/Programs/rc.d/apache22<br>
>> /usr/Programs/Apache2.2.11_7/services/apache22<br>
>> /usr/Programs/Apache2.2.11_7/etc/rc.d/apache22<br>
>> /usr/Programs/Apache2.2.11_7/etc/apache22<br>
>> /usr/Programs/Apache2.2.11_7/www/apache22<br>
>> /usr/Programs/Apache2.2.11_7/libexec/apache22<br>
>> /usr/local/etc/apache22<br>
>> /usr/local/libexec/apache22<br>
>> /usr/local/www/apache22<br>
>> [root@pcbsd]/home/brodey(55)#<br>
>> /usr/Programs/Apache2.2.11_7/etc/rc.d/apache22 status<br>
>> [root@pcbsd]/home/brodey(56)#<br>
>> /usr/Programs/Apache2.2.11_7/etc/rc.d/apache22 restart<br>
>> [root@pcbsd]/home/brodey(57)# cd /usr/PCBSD/Services/<br>
>> [root@pcbsd]/usr/PCBSD/Services(58)# ls -l<br>
>> total 16<br>
>> drwxr-xr-x 2 root wheel 512 May 29 09:44 acpinotebook<br>
>> lrwxr-xr-x 1 root wheel 42 Aug 9 23:10 apache22 -><br>
>> /Programs/Apache2.2.11_7/services/apache22<br>
>> drwxr-xr-x 2 root wheel 512 May 29 09:44 cpufreq<br>
>> drwxr-xr-x 2 root wheel 512 May 29 09:44 cups<br>
>> drwxr-xr-x 2 root wheel 512 May 29 09:44 denyhosts<br>
>> drwxr-xr-x 2 root wheel 512 May 29 09:44 hplip<br>
>> drwxr-xr-x 2 root wheel 512 May 29 09:44 oss<br>
>> drwxr-xr-x 2 root wheel 512 May 29 09:44 pf<br>
>> drwxr-xr-x 2 root wheel 512 May 29 09:44 ssh<br>
>><br>
>> I'm not sure where apachectl is, but I usually use that when I can't<br>
>> get any verbose output from apache22 buuut:<br>
>><br>
>> [root@pcbsd]/usr/PCBSD/local/sbin(70)# find / -name apachectl<br>
>> [root@pcbsd]/usr/PCBSD/local/sbin(71)#<br>
>><br>
>> so find recovers nothing. ls doesn't list any apachectls either.<br>
>> /usr/local/sbin has httpd, but that isn't apache..or is it?<br>
>><br>
>> [root@pcbsd]/usr/local/sbin(74)# ./httpd<br>
>> httpd: Could not reliably determine the server's fully qualified<br>
>> domain name, using 127.0.0.1 for ServerName<br>
>><br>
>> Interesting, 127.0.0.1 "It works!". Hrmm, so there must be a script<br>
>> looking for apache22 instead of httpd?? Worse!<br>
>><br>
>> apache start, stop, restart are all not working!! Yikes!<br>
>><br>
>> /PCBSD/Services/apache22/start.sh<br>
>> /PCBSD/Services/apache22/stop.sh<br>
>> /PCBSD/Services/apache22/restart.sh<br>
>><br>
>> should check for directory...<br>
>> /usr/local/sbin/httpd -k start<br>
>><br>
>> and not /usr/local/etc/rc.d/.... as this doesn't seem to be the<br>
>> standard Apache install.<br>
>><br>
>> I have it working, even with reboots, but of course you guys know your<br>
>> scripts/services better than I do ;).<br>
>><br>
><br>
> Or not...I can't find any of the scripts that launch because my<br>
> /usr/local/etc/rc.d is wiped clean, what is going on?<br>
</div></div>> _______________________________________________<br>
> Testing mailing list<br>
> <a href="mailto:Testing@lists.pcbsd.org">Testing@lists.pcbsd.org</a><br>
> <a href="http://lists.pcbsd.org/mailman/listinfo/testing" target="_blank">http://lists.pcbsd.org/mailman/listinfo/testing</a><br>
><br>
> !DSPAM:1,4a80b05b14808440913268!<br>
><br>
><br>
><br>
_______________________________________________<br>
Testing mailing list<br>
<a href="mailto:Testing@lists.pcbsd.org">Testing@lists.pcbsd.org</a><br>
<a href="http://lists.pcbsd.org/mailman/listinfo/testing" target="_blank">http://lists.pcbsd.org/mailman/listinfo/testing</a><br>
</blockquote></div><br></div>