PDA

Bekijk de volledige versie : How to install Apache



VinLien
04-01-2007, 19:54
Hi,

I try to install OpenShowCenter to use my pinnacle showcenter.

I use the link: http://www.nslu2-linux.org/wiki/Applications/OpenShowCenter

There I need to instal Apache. There is the problem...


[root]$ ipkg install php-apache
Package php-apache (5.2.0-1) installed in root is up to date.
Configuring apache
update-alternatives: Linking //opt/sbin/htpasswd to /opt/sbin/apache-htpasswd
httpd: Could not determine the server's fully qualified domain name, using 192.168.1.1 for ServerName
httpd (no pid file) not running
httpd: Could not determine the server's fully qualified domain name, using 192.168.1.1 for ServerName
Segmentation fault
postinst script returned status 139
ERROR: apache.postinst returned 139
Nothing to be done
Successfully terminated.

It says httpd not running, but i think it is. I did install it using url:
http://www.macsat.com/php_web.php

Whats wrong?

WL500-gx
Firmware: Oleg 1.9.2.7-7f

VinLien
06-01-2007, 20:23
I did not install Apache but only php-thttpd using the link

http://www.macsat.com/php_web.php


Then I installed openshowviewer usin the link

http://www.nslu2-linux.org/wiki/Applications/OpenShowCenter

but without the Apache stuff. Start at step 6.

Now it works fine.:)

QMax
17-04-2007, 23:06
but without the Apache stuff. Start at step 6.

Now it works fine.:)

Mmmmm... I'm having some problems here... exactly at point 11.
At point 10 I haven't created symlinks to test from the original /opt/share/www/openshowcenter dir.

Then at point 11 I modified my /opt/etc/thttpd.conf file instead of httpd.conf, and then modified php.ini at point 12...

I'm can see both on my browser and on SC200 the server running, but with a lot of Undefined index error msgs.... :confused:

Can you please post your thttpd.conf and php.ini file ?

Did you open to WAN on post-firewall ?

Thanks, Max

QMax
17-04-2007, 23:57
PARTIALLY FIXED: I simply commented out a wrong line in php.ini.
Now server appear correct, but I'm not able to view avi files that appears in my videos directory. Browsing WizD with Internet explorer, if I click on a movie IE ask me what to do of the incoming .pls file. Click on the same movie in OpenShowCenter i see this msg:


media/movie/test.avi|0|0|:8000/media/movie/test.avi|

On Pinnacle sc200, a flash message "Playing media/Test.avi" appear, but nothing is played and jump back to main menu.

Another problem is with shoutcast, none of the radio are playing, but i have to update links at first.

Max