spacer
spacer search

SwissCenter

Search
spacer
Main Menu
Home
Documentation + FAQ
Screenshots
Downloads
Forums
Bug Tracking
History
Login
Username

Password

Remember me
?
No account yet?

Locations of visitors to this page

 
Home arrow Forums

SwissCenter Forums  


<< Start < Previous 1 2 Next > End >>
Re:Showcenter on Linksys nslu2 - 2007/02/08 13:48 No find nor xargs are in the /usr/bin directory ?
I have reinstalling findutils after removing busybox but still no luck.
  | | The administrator has disabled public write access.
Re: Showcenter on Linksys nslu2 - 2008/02/19 09:47 I'm getting stuck and I don't know whether it is that the instructions are now a bit old for the current version of Swisscenter or my lack of Linux knowledge. Basically the NSLU is Unslung and I followed the Wiki instructions but when I point to 8080 on the device (served by thttpd) I get a poorly formatted screen showing that some things are not right.

In the section PHP 5.2.5 it says
[FAIL_PHP_EXTRA_MODS] [zip] which I gather means the zip module in PHP5. But I do not know what package to install with ipkg to fix this?

It also says [FAIL_PHP_FONTS]

In the Swisscenter section it says

[ROOT_INSTALL_TEXT]. Now in support.log it also complains that Swisscenter appears to have been installed as the "root" user. How do I change this? I did do the chown and chmod on the Swisscenter directory as per the Wiki

[MISSING_PERMS_TEXT] In support.log I get a message saying that the Swisscenter directory does not have r/w permission from the webuser. But I thought that was fixed by the chown nobody stuff? When I do an ls -l on files I see somethings show as nobody root, some nobody nobody and some are nobody everyone for owner id and group id.

[FAIL_SWISS_INI] In support.log I get a message saying unable to access opt/share/www/swisscenter/config/swisscenter.ini but I have manually chmod the protection on that file to 777 and chown to nobody.

So, it looks to be mostly a permissions thing - at least if I can eliminate these errors then I can move forward to see if the other errors in the support.log are relevant.

I did all installation by using Putty/SSH into the box and logging in as root. I did type MySQL and then load swiss and show tables and it looks like there is a database.

Help would be appreciated. Not a Linux expert as you can see but have previously reflashed a Linkstation and installed Slimserver plus plugins successfully (Debian that time) and that uses many of the same components. So not a complete no hoper either.

Andy
  | | The administrator has disabled public write access.
Re: Showcenter on Linksys nslu2 - 2008/02/19 12:37 OK, ignore the Swisscenter errors - these were not permissions but just an error in the path to the Swisscenter directory. I corrected that and it now shows a MySQL error.

The PHP zip and font errors remain

Now I can't connect to the MySQL.

Webserver PHP Tests...
[2008.02.19 16:58:36] - PHP Version : 5.2.5
[2008.02.19 16:58:36] - Suggested PHP module 'zip' not installed
[2008.02.19 16:58:36] - PHP ini location : /opt/etc/php.ini
[2008.02.19 16:58:36] - PHP CLI location : /opt/bin/php
[2008.02.19 16:58:36] Unable to query database:
[2008.02.19 16:58:36] Unable to query database:
[2008.02.19 16:58:36] Unable to use Truetype Font '' to display 'Test'
[2008.02.19 16:58:36] Unable to use Truetype Font '/usr/share/fonts/truetype/msttcorefonts/Arial.ttf' to display 'Test'
[2008.02.19 16:58:36] Unable to use Truetype Font 'luxisr' to display 'Test'
[2008.02.19 16:58:36] - Unable to determine database connection details
[2008.02.19 16:58:36] - Unable to determine database connection details
[2008.02.19 16:58:36] - Unable to connect to MySQL
[2008.02.19 16:58:36] Unable to query database:
[2008.02.19 16:58:36] - No media locations have been defined yet.

I know MySQL is there as I can invoke it at command level and so it is about accessing MySQL from PHP.

Note that I made the edit in server.php as the Wiki suggests to hard code the server address but the code example they give is for an earlier version and so I had to guess where the change was needed.
  | | The administrator has disabled public write access.
Re: Showcenter on Linksys nslu2 - 2008/03/14 09:35 Hi,

I did the steps from this page: http://www.nslu2-linux.org/wiki/Applications/SwissCenter%5C%22

The swisscenter is now running with thttp.
I used the config page to generate the db, checked this with phpmyadmin, everything looks fine.

But I cant config my mediafolders
If i type in:
/share/hdd/data/HDD_1_1_1
the mediafolder is accepted, but nothing found.

If i use
/share/hdd/data/HDD_1_1_1/Filme
the mediafolder could not be found.

I guess it is an access problem.
ls -la /share/hdd/data/

root@NAS:/> ls -la /share/hdd/data/
drwxrwxr-x 4 admin everyone 1024 Feb 15 14:04 .
drwxr-xr-x 4 admin everyone 1024 Feb 15 11:54 ..
drwxrwx--- 12 guest everyone 4096 Jan 1 1970 HDD_1_1_1
drwxrwx--- 11 guest everyone 4096 Jan 1 1970 HDD_1_2_1


and
ls -la /share/hdd/data/HDD_1_1_1/

drwxrwx--- 2 guest everyone 4096 Mar 14 01:02 Filme


root@NAS:/> ps -ef | grep thtt
619 nobody 5360 S /opt/sbin/thttpd -C /opt/etc/thttpd.conf


changing the owner didn't work
root@NAS:/> chown nobody:everyone /share/hdd/data/HDD_1_1_1/Filme
chown: /share/hdd/data/HDD_1_1_1/Filme: Operation not permitted


Any idea?
  | | The administrator has disabled public write access.
Re: Showcenter on Linksys nslu2 - 2008/09/21 12:37 Yes, its a permission problem.
most daemons run as "nobody" on the nslu2. So you need to make sure this user has proper permissions as well.
Swisscenter SVN 1138 on Ubuntu 8.04 Server
Intel SS4200
Showcenter 200
  | | The administrator has disabled public write access.
Re: Showcenter on Linksys nslu2 - 2008/09/21 16:22 @fizze:
do you have SC running on your NSLU2 ? Can you help me in getting it to run ?
  | | The administrator has disabled public write access.
Re: Showcenter on Linksys nslu2 - 2008/09/22 15:22 No, I don't run swisscenter on the NSLU2, because its far too weak to run it, afaik. But I like to be proven wrong

I run swisscenter on my PC, and use WIZD on the slug as media server. It is working fine with my showcenter 200.

You just need to change the permissions to the /Filme subfolder. Check the syntax of chown I think you're missing a trailing slash.
Swisscenter SVN 1138 on Ubuntu 8.04 Server
Intel SS4200
Showcenter 200
  | | The administrator has disabled public write access.
<< Start < Previous 1 2 Next > End >>
spacer
 

Screenshots

www.flickr.com
This is a Flickr badge showing public photos from swisscenter. Make your own badge here.


 

Mambo is Free Software released under the GNU/GPL License.
spacer