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  


SC suddenly stopped working?? - 2008/12/21 14:34 Hi all

now here is an odd one... i have had SC runinng on my Buffalo NAS (DEBIAN) for 4 months no issues , refualr updats ot the SVN build of SC and no issues...

Now i come in tonight to watch CSI and the EVA will not bring up SC, i can see it on the slection screen however i just get a URL failed to load meeage... Ihave rebooted everything including the router and NAS and no joy. SC comes up ok on the web interface form my PC but still i get this URL fialed ot load from the EVA...


Looking in the logs i see nothing unususla in SC logs but apache lists this as th eerror

Code:

 [Sun Dec 21 19:29:49 2008] [error] [client 192.168.0.6PHP Fatal error:  Maximum execution time of 30 seconds exceeded in /var/www/swisscenter/base/language.php on line 34



Has any one seen this before - ???
Cheers
rob
Player: EVA700
Server1:
Windows Vista PC
Server2:
Device: Buffalo LS Pro NAS
OS: Freelink Debian etch
Web Server: lighttpd 1.4.13
MYSql: v5.0.30-Debian_3
PHP: v5.2.0-8+etch11
  | | The administrator has disabled public write access.
Re: SC suddenly stopped working?? - 2008/12/21 19:51 Did you change anything prior to it failing? You could try increasing the max_execution_time in your php.ini. It's probably set to 30 by default. Players : Netgear EVA700 | Popcorn A-100 (100516) | Popcorn A-200 (100208)
Webserver : Simese v2.6.4 | Apache 2.2.16 | PHP v5.2.12 | MySQL v5.1.32
Server : Windows 7 Home Premium 64bit
Spec : Intel C2Q Q6600 - 4GB RAM - 4TB HDD
AV : Pioneer VSX-915 | Samsung LE40C650
  | | The administrator has disabled public write access.
Re: SC suddenly stopped working?? - 2008/12/22 04:08 HI
no nothing was chaged , which is the very odd thing .... all that has occured since it last worjed on Saturday night was my back up schdulde rang and copide a large (7G file over ot the NAS.... ill try the extending the max execution time to see if that fixes it...

cheers
rob
Player: EVA700
Server1:
Windows Vista PC
Server2:
Device: Buffalo LS Pro NAS
OS: Freelink Debian etch
Web Server: lighttpd 1.4.13
MYSql: v5.0.30-Debian_3
PHP: v5.2.0-8+etch11
  | | The administrator has disabled public write access.
Re: SC suddenly stopped working?? - 2008/12/22 05:15 I have rebooted everything including the powerlines and NAS also increased the max execution time in php.ini .

So now what happens is the EVA still filas ot load the index.php page but nowe i get no errors in apache ... see below..

Apache log:
Code:

 [Mon Dec 22 09:59:30 2008] [error] [client 192.168.0.4PHP Notice:  A session had already been started ignoring session_start() in /var/www/swisscenter/config/index.php on line 135 [Mon Dec 22 09:59:33 2008] [error] [client 192.168.0.4PHP Notice:  Undefined variableurl in /var/www/swisscenter/ext/iradio/live-radio.php on line 29 [Mon Dec 22 09:59:33 2008] [error] [client 192.168.0.4PHP Notice:  Undefined property:  liveradio::$params in /var/www/swisscenter/ext/iradio/live-radio.php on line 97 [Mon Dec 22 09:59:33 2008] [error] [client 192.168.0.4PHP Notice:  Trying to get property of non-object in /var/www/swisscenter/ext/iradio/live-radio.php on line 97 [Mon Dec 22 09:59:40 2008] [error] [client 192.168.0.4PHP Notice:  A session had already been started ignoring session_start() in /var/www/swisscenter/config/index.php on line 135refererhttp://192.168.0.3:8080/config/ [Mon Dec 22 09:59:47 2008] [error] [client 192.168.0.4PHP Notice:  A session had already been started ignoring session_start() in /var/www/swisscenter/config/index.php on line 135refererhttp://192.168.0.3:8080/config/?section=SUPPORT&action=DISPLAY



note the .4 client is my PC not the EVA700 which is not creating any entires in apache error log... now the SC log

Code:

 [2008.12.22 10:07:47Page Requested http://192.168.0.3:8080/ by client (192.168.0.6) [2008.12.22 10:07:47SQLselect value from system_prefs where name='CACHE_STYLE_DETAILS' [2008.12.22 10:08:04Loaded en language file into language [2008.12.22 10:08:04SQLselect value from system_prefs where name='DEFAULT_LANGUAGE' [2008.12.22 10:08:04SQLselect count(*) from system_prefs where name='DEFAULT_LANGUAGE' and value='en-gb' [2008.12.22 10:08:04SQLselect value from system_prefs where name='DATABASE_PATCH' [2008.12.22 10:08:04SQLselect value from system_prefs where name='PLAYLIST_AUTOLOAD' [2008.12.22 10:08:04SQLSELECT name,user_id FROM users WHERE pin IS NULL [2008.12.22 10:08:04SQLSELECT count(*) FROM users WHERE user_id=AND pin IS NULL [2008.12.22 10:08:05SQLselect count(*) from system_prefs where name='LAST_USER' and value='1' [2008.12.22 10:08:05SQLselect value from system_prefs where name='USER_TIMEOUT' [2008.12.22 10:08:05SQLSELECT pin FROM users WHERE user_id=1 [2008.12.22 10:08:05SQLselect value from user_prefs where user_id and name='STYLE' [2008.12.22 10:08:21Loaded en language file into language [2008.12.22 10:08:21SQLSELECT pin FROM users WHERE user_id=1 [2008.12.22 10:08:21SQLselect value from user_prefs where user_id and name='LANGUAGE' [2008.12.22 10:08:21SQLselect value from system_prefs where name='DEFAULT_LANGUAGE' [2008.12.22 10:08:21SQLselect count(*) from system_prefs where name='DEFAULT_LANGUAGE' and value='en-gb' [2008.12.22 10:08:21SQLSELECT pin FROM users WHERE user_id=1 [2008.12.22 10:08:21SQLselect value from system_prefs where name='PLAYER_PAGE_CHARSET' [2008.12.22 10:08:21SQLselect value from system_prefs where name='PLAYER_PAGE_CHARSET' [2008.12.22 10:08:21SQLselect media_table from media_types where media_id 3 [2008.12.22 10:08:21SQLselect 'YES' from movies tmedia_locations ml where t.location_id=ml.location_id and ml.media_type=3 limit 1 [2008.12.22 10:08:21SQLselect media_table from media_types where media_id 6 [2008.12.22 10:08:21SQLselect 'YES' from tv tmedia_locations ml where t.location_id=ml.location_id and ml.media_type=6 limit 1 [2008.12.22 10:08:21SQLselect media_table from media_types where media_id 1 [2008.12.22 10:08:21SQLselect 'YES' from mp3s tmedia_locations ml where t.location_id=ml.location_id and ml.media_type=1 limit 1 [2008.12.22 10:08:21SQLselect media_table from media_types where media_id 2 [2008.12.22 10:08:21SQLselect 'YES' from photos tmedia_locations ml where t.location_id=ml.location_id and ml.media_type=2 limit 1 [2008.12.22 10:08:21SQLselect value from system_prefs where name='INTERNET_SETTING' [2008.12.22 10:08:21SQLselect value from system_prefs where name='INTERNET_CHECK_TIME' [2008.12.22 10:08:21SQLselect value from system_prefs where name='INTERNET_AVAILABLE' [2008.12.22 10:08:21SQLselect value from system_prefs where name='WEATHER_ENABLED' [2008.12.22 10:08:21SQLselect value from system_prefs where name='PLAYLISTS' [2008.12.22 10:08:21SQLselect value from system_prefs where name='PLAYLISTS' [2008.12.22 10:08:21SQLSELECT count(*) FROM users [2008.12.22 10:08:21SQLselect value from system_prefs where name='INTERNET_SETTING' [2008.12.22 10:08:21SQLselect value from system_prefs where name='INTERNET_CHECK_TIME' [2008.12.22 10:08:21SQLselect value from system_prefs where name='INTERNET_AVAILABLE' [2008.12.22 10:08:21SQLselect value from system_prefs where name='UPDATE_CHECK_TIME' [2008.12.22 10:08:21SQLselect value from system_prefs where name='UPDATES_ENABLED' [2008.12.22 10:08:21SQLselect value from system_prefs where name='INTERNET_SETTING' [2008.12.22 10:08:21SQLselect value from system_prefs where name='INTERNET_CHECK_TIME' [2008.12.22 10:08:21SQLselect value from system_prefs where name='INTERNET_AVAILABLE' [2008.12.22 10:08:21SQLselect value from system_prefs where name='UPDATE_AVAILABLE' [2008.12.22 10:08:21SQLSELECT count(*)                         FROM messages                       WHERE status=0 [2008.12.22 10:08:21SQLselect tvid_customtvid_default from tvid_prefs where player_type='NETGEAR' and tvid_sc='BACKSPACE' [2008.12.22 10:08:21SQLselect tvid_customtvid_default from tvid_prefs where player_type='NETGEAR' and tvid_sc='HOME' [2008.12.22 10:08:21SQLselect tvid_customtvid_default from tvid_prefs where player_type='NETGEAR' and tvid_sc='MUSIC' [2008.12.22 10:08:21SQLselect tvid_customtvid_default from tvid_prefs where player_type='NETGEAR' and tvid_sc='MOVIE' [2008.12.22 10:08:21SQLselect tvid_customtvid_default from tvid_prefs where player_type='NETGEAR' and tvid_sc='PHOTO'



Where you can clearly see the NETGEAR (.6 client) requesting the page adn SC doing its normal searches and SQL. i am not sure what to do now...
any suggestions - thanks
rob
Player: EVA700
Server1:
Windows Vista PC
Server2:
Device: Buffalo LS Pro NAS
OS: Freelink Debian etch
Web Server: lighttpd 1.4.13
MYSql: v5.0.30-Debian_3
PHP: v5.2.0-8+etch11
  | | The administrator has disabled public write access.
Re: SC suddenly stopped working?? - 2008/12/22 15:56 OK so update i have installed lighttpd http://www.lighttpd.net/ to see if i can speed up the NAS as APache is much heavier on CPU.

It insatlled very ealisy and SC came up fin on the PC web browser - however still no luck with the EVA - despite setting the php time to 240 or higher.

Does anyone knwo if the EVA (or other sybas devices) have a built in tiem out for running scripts that may be over ridding the php.ini settings.

I am runnign a little out of ideas now , unless there is a light MYSQL that will work as its a memorg hog too.

anyoen else ssee issues with NAS devices sce th elastest SVNN relass, i wonder if tthe latest release have increased memory usage???

result of more /proc/meminfo

Code:

  MemTotal:       125844 kB MemFree:         24560 kB Buffers:         14860 kB Cached:          47828 kB SwapCached:          0 kB



any help much appreciated
rob
Player: EVA700
Server1:
Windows Vista PC
Server2:
Device: Buffalo LS Pro NAS
OS: Freelink Debian etch
Web Server: lighttpd 1.4.13
MYSql: v5.0.30-Debian_3
PHP: v5.2.0-8+etch11
  | | The administrator has disabled public write access.
Re: SC suddenly stopped working?? - 2008/12/23 08:40 More info ....

Her eis the clear log of the Netgear requesting the indexpage , then just nohting..

Lighttpd log:
Code:

 192.168.0.6 192.168.0.3:8080 - [23/Dec/2008:13:37:26 +0000"GET / HTTP/1.0" 200 "-" "Syabas/21-46-070404-01-NGR-293-000/01-NGR (uCOS-II v2.05;NOS;KA9Q; Res624x496-HiColor; TV  Res720x576; Browser Res624x496-32bits; www.syabas.com mac_addr=00.14.6c.2b.f6.ec)"



No errors from php other than the normal warnings
and SC log has this
Code:

 ------------------------------------------------------------------------------ [2008.12.23 13:36:51Page Requested http://192.168.0.3:8080//index.php by client (192.168.0.6) [2008.12.23 13:36:51SQLselect value from system_prefs where name='CACHE_STYLE_DETAILS' [2008.12.23 13:37:08Loaded en language file into language [2008.12.23 13:37:08SQLselect value from system_prefs where name='DEFAULT_LANGUAGE' [2008.12.23 13:37:08SQLselect count(*) from system_prefs where name='DEFAULT_LANGUAGE' and value='en-gb' [2008.12.23 13:37:08SQLselect value from system_prefs where name='DATABASE_PATCH' [2008.12.23 13:37:08SQLselect value from system_prefs where name='PLAYLIST_AUTOLOAD' [2008.12.23 13:37:08SQLSELECT name,user_id FROM users WHERE pin IS NULL [2008.12.23 13:37:08SQLSELECT count(*) FROM users WHERE user_id=AND pin IS NULL [2008.12.23 13:37:08SQLselect count(*) from system_prefs where name='LAST_USER' and value='1' [2008.12.23 13:37:08SQLselect value from system_prefs where name='USER_TIMEOUT' [2008.12.23 13:37:08SQLSELECT pin FROM users WHERE user_id=1 [2008.12.23 13:37:09SQLselect value from user_prefs where user_id and name='STYLE' [2008.12.23 13:37:26Loaded en language file into language [2008.12.23 13:37:26SQLSELECT pin FROM users WHERE user_id=1 [2008.12.23 13:37:26SQLselect value from user_prefs where user_id and name='LANGUAGE' [2008.12.23 13:37:26SQLselect value from system_prefs where name='DEFAULT_LANGUAGE' [2008.12.23 13:37:26SQLselect count(*) from system_prefs where name='DEFAULT_LANGUAGE' and value='en-gb' [2008.12.23 13:37:26SQLSELECT pin FROM users WHERE user_id=1 [2008.12.23 13:37:26SQLselect value from system_prefs where name='PLAYER_PAGE_CHARSET' [2008.12.23 13:37:26SQLselect value from system_prefs where name='PLAYER_PAGE_CHARSET' [2008.12.23 13:37:26SQLselect media_table from media_types where media_id 3 [2008.12.23 13:37:26SQLselect 'YES' from movies tmedia_locations ml where t.location_id=ml.location_id and ml.media_type=3 limit 1 [2008.12.23 13:37:26SQLselect media_table from media_types where media_id 6 [2008.12.23 13:37:26SQLselect 'YES' from tv tmedia_locations ml where t.location_id=ml.location_id and ml.media_type=6 limit 1 [2008.12.23 13:37:26SQLselect media_table from media_types where media_id 1 [2008.12.23 13:37:26SQLselect 'YES' from mp3s tmedia_locations ml where t.location_id=ml.location_id and ml.media_type=1 limit 1 [2008.12.23 13:37:26SQLselect media_table from media_types where media_id 2 [2008.12.23 13:37:26SQLselect 'YES' from photos tmedia_locations ml where t.location_id=ml.location_id and ml.media_type=2 limit 1 [2008.12.23 13:37:26SQLselect value from system_prefs where name='INTERNET_SETTING' [2008.12.23 13:37:26SQLselect value from system_prefs where name='WEATHER_ENABLED' [2008.12.23 13:37:26SQLselect value from system_prefs where name='RADIO_ENABLED' [2008.12.23 13:37:26SQLselect value from system_prefs where name='WEB_ENABLED' [2008.12.23 13:37:26SQLselect value from system_prefs where name='OVERRIDE_ENABLE_WEBLINKS' [2008.12.23 13:37:26SQLselect value from system_prefs where name='FLICKR_ENABLED' [2008.12.23 13:37:26SQLselect value from system_prefs where name='RSS_ENABLED' [2008.12.23 13:37:26SQLselect value from system_prefs where name='PLAYLISTS' [2008.12.23 13:37:26SQLselect value from system_prefs where name='PLAYLISTS' [2008.12.23 13:37:26SQLSELECT count(*) FROM users [2008.12.23 13:37:26SQLselect value from system_prefs where name='INTERNET_SETTING' [2008.12.23 13:37:26SQLselect value from system_prefs where name='UPDATE_CHECK_TIME' [2008.12.23 13:37:26SQLselect value from system_prefs where name='UPDATES_ENABLED' [2008.12.23 13:37:26SQLselect value from system_prefs where name='INTERNET_SETTING' [2008.12.23 13:37:26SQLselect value from system_prefs where name='UPDATE_AVAILABLE' [2008.12.23 13:37:26SQLSELECT count(*)                         FROM messages                       WHERE status=0 [2008.12.23 13:37:26SQLselect value from system_prefs where name='FONTWIDTH_MULTIPLIER' [2008.12.23 13:37:26SQLselect value from system_prefs where name='FONTWIDTH_MULTIPLIER' [2008.12.23 13:37:26SQLselect value from system_prefs where name='FONTWIDTH_MULTIPLIER' [2008.12.23 13:37:26SQLselect value from system_prefs where name='FONTWIDTH_MULTIPLIER' [2008.12.23 13:37:26SQLselect tvid_customtvid_default from tvid_prefs where player_type='NETGEAR' and tvid_sc='BACKSPACE' [2008.12.23 13:37:26SQLselect tvid_customtvid_default from tvid_prefs where player_type='NETGEAR' and tvid_sc='HOME' [2008.12.23 13:37:26SQLselect tvid_customtvid_default from tvid_prefs where player_type='NETGEAR' and tvid_sc='MUSIC' [2008.12.23 13:37:26SQLselect tvid_customtvid_default from tvid_prefs where player_type='NETGEAR' and tvid_sc='MOVIE' [2008.12.23 13:37:26SQLselect tvid_customtvid_default from tvid_prefs where player_type='NETGEAR' and tvid_sc='PHOTO'




i am going to put a place holder index.php page in and see if that loads...
Player: EVA700
Server1:
Windows Vista PC
Server2:
Device: Buffalo LS Pro NAS
OS: Freelink Debian etch
Web Server: lighttpd 1.4.13
MYSql: v5.0.30-Debian_3
PHP: v5.2.0-8+etch11
  | | The administrator has disabled public write access.
Re: SC suddenly stopped working?? - 2008/12/23 08:55 i am going to put a place holder index.php page in and see if that loads...

EDIT ....ok so i can use the EVA to view the php test page and see the php varriables etc so can confirm the EVA can comincatate with SC and that PCs can access it so there is somthing not happy with the EVA loadinf full php pages....

What is used differiently when the EVA access verus the PC??

help is apprecaited
thnx
Player: EVA700
Server1:
Windows Vista PC
Server2:
Device: Buffalo LS Pro NAS
OS: Freelink Debian etch
Web Server: lighttpd 1.4.13
MYSql: v5.0.30-Debian_3
PHP: v5.2.0-8+etch11
  | | The administrator has disabled public write access.
Re: SC suddenly stopped working??Resolved - 2008/12/23 09:32 So no idea (still) why this broke in the first place.... however it did give me the push to install lighttpd which has now speeded things up.

I had missed setting zlib.output_compression = ON in the php5.ini file when i upgraded to fastC

lesson of today ... if it ait broken dont fix it and if it breaks after a christmass poart in th elounge - reinstall all things )

Happy chirstmas to everyone
rob
Player: EVA700
Server1:
Windows Vista PC
Server2:
Device: Buffalo LS Pro NAS
OS: Freelink Debian etch
Web Server: lighttpd 1.4.13
MYSql: v5.0.30-Debian_3
PHP: v5.2.0-8+etch11
  | | The administrator has disabled public write access.
Re: SC suddenly stopped working??Resolved - 2008/12/24 08:00 Hi,

I donīt know whether this info helps:

I did a "soft reset" via the RC of my PCH today and very surprisingly could not reach SC anymore. I have done this frequently in the past and never saw a problem to access SC, also not after many updates to the latest SVN1138.

I could only solve the problem today in doing a full cold start of my PCH (disconnecting the power supply).

Then immediately SC was accessable again and the "play now" audio screen worked flawlessly. In fact the "play now" audio screen was lost during the past 5 days, so I thought to initiate a "soft reset" what led to the loss of SC for the PCH.

It seems the PCH needs a cold start from time to time!


Merry Christmas


Joe
Clients: Popcorn A-100 with 4 GB Flash-Memory, Mozilla Firefox on MS Win 7 Ultimate X64
Media storage on NAS: Synology DS207+
SC 1.22 latest SVN installed on DS207+ (RAID 1) with FW 2.3-1118 utilizing: Apache 2.2.13, MySQL 5.1.34, PHP 5.2.10
GbE network with Zyxel GS-108A
PCH-A100 connected via HDMI in 1920x1080p to display.
  | | The administrator has disabled public write access.
Re: SC suddenly stopped working??Resolved - 2008/12/27 05:02 i have also started having the same problem with the EVA700 on my system, however the one in the lounge started doing it first (still have not fixed it), then the one in the bedroom started doing it, but re-booted windows a few times and that one now works again, but still no luck in the lounge.

interestingly the one in the lounge is three more switches down the cable than the one in my room so maybe there is a little more latency here?

I know this is running on windows but i thought I would offer some input as i was about to post about swapping over to linux.......


Also noticed something starange as well when I re-booted - the database went back to an old version, and the S/C version number reverted back to 1118 - strange er?
-------------------------------------------------------
Netgear EVA700 X2 Wired 100mbps
-----Storage + Simese Server ------
AMD Sepmeron 2.4Ghz 1 Gbyte 1.5Tbye storage
Windows Server 2003
Simese 2.09 S/C SVN 1245
PHP 4.4.4 MySQL 5.0.67

-----Database Serves-------
2x (PIII 500mhz dual processsor with 512mbytes Ram)
Gentoo Linux 2009 with MySQL, Bind, and Apache2(for database config and not S/C) - latest stable with patches
Configured with Replication and load ballancing for MySQL
  | | The administrator has disabled public write access.
Re: SC suddenly stopped working??Resolved - 2009/01/09 09:54 Just an update to this thread in case anyone else has this issue...


After a power cut last night i found the EVA need to reeestablish a connection to SC runnning on the NAS. Again it kept timing out ,i wonder if it is index.php taking too long to load (Qu does it initialise a lot of PHP items??) so i did the following...

renamed index,php to index2.php thus forcing the EVA to load th edirecotry listing of the swisscenrte folder. whcih it did instantly. i then browsed (on the TV) to /config and it loaded the config page no issue.

Befoe slecting the big X in the top corner of the config page to go back to the nomal index i renamed index2.php back to index.phpo and iot loaded up to the main menu fine ....


So to me it looks like ther eis a lot going on in the index.php page that is tioming our on the EVA , wioth th eocnfig page ok to load and establish the php and mysql sockets??

Nigel/Rob any thouhgs on my diagnosis...
cheers
rob
Player: EVA700
Server1:
Windows Vista PC
Server2:
Device: Buffalo LS Pro NAS
OS: Freelink Debian etch
Web Server: lighttpd 1.4.13
MYSql: v5.0.30-Debian_3
PHP: v5.2.0-8+etch11
  | | The administrator has disabled public write access.
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