[PC-BSD Testing] Apache PBI what's up?

Brodey Dover doverosx at gmail.com
Mon Aug 10 16:42:07 PDT 2009


On 8/10/09, Brodey Dover <doverosx at gmail.com> wrote:
> Sooo, I've got the PBI installed and I've got nothing of the sort
> running are capable of running. So, out-of-the-box the PBI fails
> outright.
>
> [root at pcbsd]/home/brodey(42)# /usr/Programs/rc.d/apache22 status
> [root at pcbsd]/home/brodey(43)# /usr/Programs/rc.d/apache22 restart
> [root at pcbsd]/home/brodey(44)# /usr/Programs/rc.d/apache22 status
> [root at pcbsd]/home/brodey(45)# /usr/Programs/rc.d/apache22 start
>
> As you can see there is no output, is this a lack of HTTP_ACCEPT??
>
> [root at pcbsd]/home/brodey(52)# kldstat
> Id Refs Address    Size     Name
>  1   22 0xc0400000 b1ad40   kernel
>  2    2 0xc0f1b000 29b5c    linux.ko
>  3    1 0xc0f45000 3818     ulpt.ko
>  4    1 0xc0f49000 2354     accf_http.ko
>  5    1 0xc0f4c000 6a48c    acpi.ko
>  6    1 0xc33ff000 7000     linprocfs.ko
>  7    1 0xc3636000 6000     snd_ich.ko
>  8    1 0xc37ed000 9000     i915.ko
>  9    1 0xc37f6000 13000    drm.ko
>
> Nope, there is accf_http.ko in all of its glory.
>
> Am I using the wrong installed instance of apache?
>
> [root at pcbsd]/home/brodey(54)# find / -name 'apache22'
> /usr/PCBSD/Services/apache22
> /usr/Programs/rc.d/apache22
> /usr/Programs/Apache2.2.11_7/services/apache22
> /usr/Programs/Apache2.2.11_7/etc/rc.d/apache22
> /usr/Programs/Apache2.2.11_7/etc/apache22
> /usr/Programs/Apache2.2.11_7/www/apache22
> /usr/Programs/Apache2.2.11_7/libexec/apache22
> /usr/local/etc/apache22
> /usr/local/libexec/apache22
> /usr/local/www/apache22
> [root at pcbsd]/home/brodey(55)#
> /usr/Programs/Apache2.2.11_7/etc/rc.d/apache22 status
> [root at pcbsd]/home/brodey(56)#
> /usr/Programs/Apache2.2.11_7/etc/rc.d/apache22 restart
> [root at pcbsd]/home/brodey(57)# cd /usr/PCBSD/Services/
> [root at pcbsd]/usr/PCBSD/Services(58)# ls -l
> total 16
> drwxr-xr-x  2 root  wheel  512 May 29 09:44 acpinotebook
> lrwxr-xr-x  1 root  wheel   42 Aug  9 23:10 apache22 ->
> /Programs/Apache2.2.11_7/services/apache22
> drwxr-xr-x  2 root  wheel  512 May 29 09:44 cpufreq
> drwxr-xr-x  2 root  wheel  512 May 29 09:44 cups
> drwxr-xr-x  2 root  wheel  512 May 29 09:44 denyhosts
> drwxr-xr-x  2 root  wheel  512 May 29 09:44 hplip
> drwxr-xr-x  2 root  wheel  512 May 29 09:44 oss
> drwxr-xr-x  2 root  wheel  512 May 29 09:44 pf
> drwxr-xr-x  2 root  wheel  512 May 29 09:44 ssh
>
> I'm not sure where apachectl is, but I usually use that when I can't
> get any verbose output from apache22 buuut:
>
> [root at pcbsd]/usr/PCBSD/local/sbin(70)# find / -name apachectl
> [root at pcbsd]/usr/PCBSD/local/sbin(71)#
>
> so find recovers nothing. ls doesn't list any apachectls either.
> /usr/local/sbin has httpd, but that isn't apache..or is it?
>
> [root at pcbsd]/usr/local/sbin(74)# ./httpd
> httpd: Could not reliably determine the server's fully qualified
> domain name, using 127.0.0.1 for ServerName
>
> Interesting, 127.0.0.1 "It works!". Hrmm, so there must be a script
> looking for apache22 instead of httpd?? Worse!
>
> apache start, stop, restart are all not working!! Yikes!
>
> /PCBSD/Services/apache22/start.sh
> /PCBSD/Services/apache22/stop.sh
> /PCBSD/Services/apache22/restart.sh
>
> should check for directory...
> /usr/local/sbin/httpd -k start
>
> and not /usr/local/etc/rc.d/.... as this doesn't seem to be the
> standard Apache install.
>
> I have it working, even with reboots, but of course you guys know your
> scripts/services better than I do ;).
>

Or not...I can't find any of the scripts that launch because my
/usr/local/etc/rc.d is wiped clean, what is going on?


More information about the Testing mailing list