SC suddenly stopped working?? - 2008/12/21 14:34Hi 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.6] PHP 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
robPlayer: 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.
Pernod
Admin
Posts: 2840
Re: SC suddenly stopped working?? - 2008/12/21 19:51Did 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.
bobbo
User
Posts: 212
Re: SC suddenly stopped working?? - 2008/12/22 04:08HI 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 robPlayer: 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.
bobbo
User
Posts: 212
Re: SC suddenly stopped working?? - 2008/12/22 05:15I 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.4] PHP 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.4] PHP Notice: Undefined variable: url in /var/www/swisscenter/ext/iradio/live-radio.php on line 29
[Mon Dec 22 09:59:33 2008] [error] [client 192.168.0.4] PHP 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.4] PHP 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.4] PHP Notice: A session had already been started - ignoring session_start() in /var/www/swisscenter/config/index.php on line 135, referer: http://192.168.0.3:8080/config/
[Mon Dec 22 09:59:47 2008] [error] [client 192.168.0.4] PHP Notice: A session had already been started - ignoring session_start() in /var/www/swisscenter/config/index.php on line 135, referer: http://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:47] Page Requested : http://192.168.0.3:8080/ by client (192.168.0.6)
[2008.12.22 10:07:47] SQL> select value from system_prefs where name='CACHE_STYLE_DETAILS'
[2008.12.22 10:08:04] Loaded en language file into language
[2008.12.22 10:08:04] SQL> select value from system_prefs where name='DEFAULT_LANGUAGE'
[2008.12.22 10:08:04] SQL> select count(*) from system_prefs where name='DEFAULT_LANGUAGE' and value='en-gb'
[2008.12.22 10:08:04] SQL> select value from system_prefs where name='DATABASE_PATCH'
[2008.12.22 10:08:04] SQL> select value from system_prefs where name='PLAYLIST_AUTOLOAD'
[2008.12.22 10:08:04] SQL> SELECT name,user_id FROM users WHERE pin IS NULL
[2008.12.22 10:08:04] SQL> SELECT count(*) FROM users WHERE user_id=1 AND pin IS NULL
[2008.12.22 10:08:05] SQL> select count(*) from system_prefs where name='LAST_USER' and value='1'
[2008.12.22 10:08:05] SQL> select value from system_prefs where name='USER_TIMEOUT'
[2008.12.22 10:08:05] SQL> SELECT pin FROM users WHERE user_id=1
[2008.12.22 10:08:05] SQL> select value from user_prefs where user_id = 1 and name='STYLE'
[2008.12.22 10:08:21] Loaded en language file into language
[2008.12.22 10:08:21] SQL> SELECT pin FROM users WHERE user_id=1
[2008.12.22 10:08:21] SQL> select value from user_prefs where user_id = 1 and name='LANGUAGE'
[2008.12.22 10:08:21] SQL> select value from system_prefs where name='DEFAULT_LANGUAGE'
[2008.12.22 10:08:21] SQL> select count(*) from system_prefs where name='DEFAULT_LANGUAGE' and value='en-gb'
[2008.12.22 10:08:21] SQL> SELECT pin FROM users WHERE user_id=1
[2008.12.22 10:08:21] SQL> select value from system_prefs where name='PLAYER_PAGE_CHARSET'
[2008.12.22 10:08:21] SQL> select value from system_prefs where name='PLAYER_PAGE_CHARSET'
[2008.12.22 10:08:21] SQL> select media_table from media_types where media_id = 3
[2008.12.22 10:08:21] SQL> select 'YES' from movies t, media_locations ml where t.location_id=ml.location_id and ml.media_type=3 limit 1
[2008.12.22 10:08:21] SQL> select media_table from media_types where media_id = 6
[2008.12.22 10:08:21] SQL> select 'YES' from tv t, media_locations ml where t.location_id=ml.location_id and ml.media_type=6 limit 1
[2008.12.22 10:08:21] SQL> select media_table from media_types where media_id = 1
[2008.12.22 10:08:21] SQL> select 'YES' from mp3s t, media_locations ml where t.location_id=ml.location_id and ml.media_type=1 limit 1
[2008.12.22 10:08:21] SQL> select media_table from media_types where media_id = 2
[2008.12.22 10:08:21] SQL> select 'YES' from photos t, media_locations ml where t.location_id=ml.location_id and ml.media_type=2 limit 1
[2008.12.22 10:08:21] SQL> select value from system_prefs where name='INTERNET_SETTING'
[2008.12.22 10:08:21] SQL> select value from system_prefs where name='INTERNET_CHECK_TIME'
[2008.12.22 10:08:21] SQL> select value from system_prefs where name='INTERNET_AVAILABLE'
[2008.12.22 10:08:21] SQL> select value from system_prefs where name='WEATHER_ENABLED'
[2008.12.22 10:08:21] SQL> select value from system_prefs where name='PLAYLISTS'
[2008.12.22 10:08:21] SQL> select value from system_prefs where name='PLAYLISTS'
[2008.12.22 10:08:21] SQL> SELECT count(*) FROM users
[2008.12.22 10:08:21] SQL> select value from system_prefs where name='INTERNET_SETTING'
[2008.12.22 10:08:21] SQL> select value from system_prefs where name='INTERNET_CHECK_TIME'
[2008.12.22 10:08:21] SQL> select value from system_prefs where name='INTERNET_AVAILABLE'
[2008.12.22 10:08:21] SQL> select value from system_prefs where name='UPDATE_CHECK_TIME'
[2008.12.22 10:08:21] SQL> select value from system_prefs where name='UPDATES_ENABLED'
[2008.12.22 10:08:21] SQL> select value from system_prefs where name='INTERNET_SETTING'
[2008.12.22 10:08:21] SQL> select value from system_prefs where name='INTERNET_CHECK_TIME'
[2008.12.22 10:08:21] SQL> select value from system_prefs where name='INTERNET_AVAILABLE'
[2008.12.22 10:08:21] SQL> select value from system_prefs where name='UPDATE_AVAILABLE'
[2008.12.22 10:08:21] SQL> SELECT count(*)
FROM messages
WHERE status=0
[2008.12.22 10:08:21] SQL> select tvid_custom, tvid_default from tvid_prefs where player_type='NETGEAR' and tvid_sc='BACKSPACE'
[2008.12.22 10:08:21] SQL> select tvid_custom, tvid_default from tvid_prefs where player_type='NETGEAR' and tvid_sc='HOME'
[2008.12.22 10:08:21] SQL> select tvid_custom, tvid_default from tvid_prefs where player_type='NETGEAR' and tvid_sc='MUSIC'
[2008.12.22 10:08:21] SQL> select tvid_custom, tvid_default from tvid_prefs where player_type='NETGEAR' and tvid_sc='MOVIE'
[2008.12.22 10:08:21] SQL> select tvid_custom, tvid_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
robPlayer: 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.
bobbo
User
Posts: 212
Re: SC suddenly stopped working?? - 2008/12/22 15:56OK 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???
any help much appreciated
robPlayer: 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.
bobbo
User
Posts: 212
Re: SC suddenly stopped working?? - 2008/12/23 08:40More info ....
Her eis the clear log of the Netgear requesting the indexpage , then just nohting..
No errors from php other than the normal warnings
and SC log has this
Code:
------------------------------------------------------------------------------
[2008.12.23 13:36:51] Page Requested : http://192.168.0.3:8080//index.php by client (192.168.0.6)
[2008.12.23 13:36:51] SQL> select value from system_prefs where name='CACHE_STYLE_DETAILS'
[2008.12.23 13:37:08] Loaded en language file into language
[2008.12.23 13:37:08] SQL> select value from system_prefs where name='DEFAULT_LANGUAGE'
[2008.12.23 13:37:08] SQL> select count(*) from system_prefs where name='DEFAULT_LANGUAGE' and value='en-gb'
[2008.12.23 13:37:08] SQL> select value from system_prefs where name='DATABASE_PATCH'
[2008.12.23 13:37:08] SQL> select value from system_prefs where name='PLAYLIST_AUTOLOAD'
[2008.12.23 13:37:08] SQL> SELECT name,user_id FROM users WHERE pin IS NULL
[2008.12.23 13:37:08] SQL> SELECT count(*) FROM users WHERE user_id=1 AND pin IS NULL
[2008.12.23 13:37:08] SQL> select count(*) from system_prefs where name='LAST_USER' and value='1'
[2008.12.23 13:37:08] SQL> select value from system_prefs where name='USER_TIMEOUT'
[2008.12.23 13:37:08] SQL> SELECT pin FROM users WHERE user_id=1
[2008.12.23 13:37:09] SQL> select value from user_prefs where user_id = 1 and name='STYLE'
[2008.12.23 13:37:26] Loaded en language file into language
[2008.12.23 13:37:26] SQL> SELECT pin FROM users WHERE user_id=1
[2008.12.23 13:37:26] SQL> select value from user_prefs where user_id = 1 and name='LANGUAGE'
[2008.12.23 13:37:26] SQL> select value from system_prefs where name='DEFAULT_LANGUAGE'
[2008.12.23 13:37:26] SQL> select count(*) from system_prefs where name='DEFAULT_LANGUAGE' and value='en-gb'
[2008.12.23 13:37:26] SQL> SELECT pin FROM users WHERE user_id=1
[2008.12.23 13:37:26] SQL> select value from system_prefs where name='PLAYER_PAGE_CHARSET'
[2008.12.23 13:37:26] SQL> select value from system_prefs where name='PLAYER_PAGE_CHARSET'
[2008.12.23 13:37:26] SQL> select media_table from media_types where media_id = 3
[2008.12.23 13:37:26] SQL> select 'YES' from movies t, media_locations ml where t.location_id=ml.location_id and ml.media_type=3 limit 1
[2008.12.23 13:37:26] SQL> select media_table from media_types where media_id = 6
[2008.12.23 13:37:26] SQL> select 'YES' from tv t, media_locations ml where t.location_id=ml.location_id and ml.media_type=6 limit 1
[2008.12.23 13:37:26] SQL> select media_table from media_types where media_id = 1
[2008.12.23 13:37:26] SQL> select 'YES' from mp3s t, media_locations ml where t.location_id=ml.location_id and ml.media_type=1 limit 1
[2008.12.23 13:37:26] SQL> select media_table from media_types where media_id = 2
[2008.12.23 13:37:26] SQL> select 'YES' from photos t, media_locations ml where t.location_id=ml.location_id and ml.media_type=2 limit 1
[2008.12.23 13:37:26] SQL> select value from system_prefs where name='INTERNET_SETTING'
[2008.12.23 13:37:26] SQL> select value from system_prefs where name='WEATHER_ENABLED'
[2008.12.23 13:37:26] SQL> select value from system_prefs where name='RADIO_ENABLED'
[2008.12.23 13:37:26] SQL> select value from system_prefs where name='WEB_ENABLED'
[2008.12.23 13:37:26] SQL> select value from system_prefs where name='OVERRIDE_ENABLE_WEBLINKS'
[2008.12.23 13:37:26] SQL> select value from system_prefs where name='FLICKR_ENABLED'
[2008.12.23 13:37:26] SQL> select value from system_prefs where name='RSS_ENABLED'
[2008.12.23 13:37:26] SQL> select value from system_prefs where name='PLAYLISTS'
[2008.12.23 13:37:26] SQL> select value from system_prefs where name='PLAYLISTS'
[2008.12.23 13:37:26] SQL> SELECT count(*) FROM users
[2008.12.23 13:37:26] SQL> select value from system_prefs where name='INTERNET_SETTING'
[2008.12.23 13:37:26] SQL> select value from system_prefs where name='UPDATE_CHECK_TIME'
[2008.12.23 13:37:26] SQL> select value from system_prefs where name='UPDATES_ENABLED'
[2008.12.23 13:37:26] SQL> select value from system_prefs where name='INTERNET_SETTING'
[2008.12.23 13:37:26] SQL> select value from system_prefs where name='UPDATE_AVAILABLE'
[2008.12.23 13:37:26] SQL> SELECT count(*)
FROM messages
WHERE status=0
[2008.12.23 13:37:26] SQL> select value from system_prefs where name='FONTWIDTH_MULTIPLIER'
[2008.12.23 13:37:26] SQL> select value from system_prefs where name='FONTWIDTH_MULTIPLIER'
[2008.12.23 13:37:26] SQL> select value from system_prefs where name='FONTWIDTH_MULTIPLIER'
[2008.12.23 13:37:26] SQL> select value from system_prefs where name='FONTWIDTH_MULTIPLIER'
[2008.12.23 13:37:26] SQL> select tvid_custom, tvid_default from tvid_prefs where player_type='NETGEAR' and tvid_sc='BACKSPACE'
[2008.12.23 13:37:26] SQL> select tvid_custom, tvid_default from tvid_prefs where player_type='NETGEAR' and tvid_sc='HOME'
[2008.12.23 13:37:26] SQL> select tvid_custom, tvid_default from tvid_prefs where player_type='NETGEAR' and tvid_sc='MUSIC'
[2008.12.23 13:37:26] SQL> select tvid_custom, tvid_default from tvid_prefs where player_type='NETGEAR' and tvid_sc='MOVIE'
[2008.12.23 13:37:26] SQL> select tvid_custom, tvid_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.
bobbo
User
Posts: 212
Re: SC suddenly stopped working?? - 2008/12/23 08:55i 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 thnxPlayer: 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.
bobbo
User
Posts: 212
Re: SC suddenly stopped working??Resolved - 2008/12/23 09:32So 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 robPlayer: 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.
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
JoeClients: 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.
jamescronin
User
Posts: 74
Re: SC suddenly stopped working??Resolved - 2008/12/27 05:02i 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.
bobbo
User
Posts: 212
Re: SC suddenly stopped working??Resolved - 2009/01/09 09:54Just 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 robPlayer: 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.