root@PlexWatch:/ # service apache24 start Performing sanity check on apache24 configuration: Shared object "libaprutil-1.so.0" not found, required by "httpd" Starting apache24. Shared object "libaprutil-1.so.0" not found, required by "httpd" /usr/local/etc/rc.d/apache24: WARNING: failed to start apache24
Alright, so pkg works now, and I successfully got plexWatch installed and running.
However, following the steps given by nitefood on installing plexWatchWeb, I run into a couple of problems:
1) The install defaults to apache24 instead of apache22 (which may not be a problem itself), and
2) When I try to run apache, I get this error:
Code:root@PlexWatch:/ # service apache24 start Performing sanity check on apache24 configuration: Shared object "libaprutil-1.so.0" not found, required by "httpd" Starting apache24. Shared object "libaprutil-1.so.0" not found, required by "httpd" /usr/local/etc/rc.d/apache24: WARNING: failed to start apache24
I did a little looking around on Google, but didn't see anything that looked relevant. Any ideas?
Edit: Manually installed apache22, same error.
I am getting the same issues. I can get past that libaprutil-1.so.0 error by using the pkg_add -r and adding packages that way (and apache22). But that way I can't install mod_php5 which means, when I go to the page it forces me to download the php page instead of displaying it. So then I tried pkg install, and I get the same error as BrianDMG. Looking into as well, but can't find anything that explains.
If you can figure out how to install mod_php5 using pkg_add -r that would get you around this error.
pkg install devel/apr1
root@PlexWatch:# /usr/bin/perl /opt/plexWatch/plexWatch.pl Can't locate Net/SMTPS.pm in @INC (@INC contains: /usr/local/lib/perl5/5.16/BSDPAN /usr/local/lib/perl5/site_perl/5.16/mach /usr/local/lib/perl5/site_perl/5.16 /usr/local/lib/perl5/5.16/mach /usr/local/lib/perl5/5.16 .) at /opt/plexWatch/plexWatch.pl line 104.
Well, here's where I'm at now: following the advice from this page, I was able to get rid of the "Shared object "libaprutil-1.so.0" not found, required by "httpd"" error using the command:
Code:pkg install devel/apr1
However, now when I try and manually run plexWatch.pl to verify that it still works, I get this error:
Code:root@PlexWatch:# /usr/bin/perl /opt/plexWatch/plexWatch.pl Can't locate Net/SMTPS.pm in @INC (@INC contains: /usr/local/lib/perl5/5.16/BSDPAN /usr/local/lib/perl5/site_perl/5.16/mach /usr/local/lib/perl5/site_perl/5.16 /usr/local/lib/perl5/5.16/mach /usr/local/lib/perl5/5.16 .) at /opt/plexWatch/plexWatch.pl line 104.
Leads me to believe that the above pkg may not be an ideal 'fix'.. I guess I'm going to start Googling this new error and see what I can find.
P.S.: I'm also having the problem where it just downloads the index.html page instead of showing it, despite the fact that "pkg install mod_php5" reports a successful installation.
Well, here's where I'm at now: following the advice from this page, I was able to get rid of the "Shared object "libaprutil-1.so.0" not found, required by "httpd"" error using the command:
Code:pkg install devel/apr1
However, now when I try and manually run plexWatch.pl to verify that it still works, I get this error:
Code:root@PlexWatch:# /usr/bin/perl /opt/plexWatch/plexWatch.pl Can't locate Net/SMTPS.pm in @INC (@INC contains: /usr/local/lib/perl5/5.16/BSDPAN /usr/local/lib/perl5/site_perl/5.16/mach /usr/local/lib/perl5/site_perl/5.16 /usr/local/lib/perl5/5.16/mach /usr/local/lib/perl5/5.16 .) at /opt/plexWatch/plexWatch.pl line 104.
Leads me to believe that the above pkg may not be an ideal 'fix'.. I guess I'm going to start Googling this new error and see what I can find.
P.S.: I'm also having the problem where it just downloads the index.html page instead of showing it, despite the fact that "pkg install mod_php5" reports a successful installation.
Hi,
apache usually makes you download a file instead of showing it in your browser when it can't recognize its extension. This usually means that apache doesn't know how to handle files of such type (for example .php). If this is your case, the problem needs to be fixed in apache configuration by the means of "AddType" directives (step 3 of my previous post)...give it a try and remember to restart apache afterwards.
apache usually makes you download a file instead of showing it in your browser when it can't recognize its extension.
You should look inside the logs for possible timeouts or errors (apache logs would be a good start)