moServices 3 on RT 1185 players ..

Re: moServices 3 on RT 1185 players ..

Postby FarVoice » 24 Oct 2011, 00:50

try to run php from command prompt, as
php /tmp/www/index.php
and see messages. I think, any libraries is missing or incompatible.
ASUS O!Play R1 (amp_r12_vrtn), xTreamer Pro (amp_r12_vrt), xTreamer Prodigy (iNeXT 2.14 r2), IconBIT HDR12L (amp_r12_vrt), 3Q F425HW (xds42gl_7725_r3), MyGica A11 (mygica_m3_20121222)
User avatar
FarVoice
Администратор
 
Posts: 8572
Joined: 03 Sep 2010, 01:27
Location: Russia, Moscow

Re: moServices 3 on RT 1185 players ..

Postby aasoror » 24 Oct 2011, 01:08

FarVoice wrote:try to run php from command prompt, as
php /tmp/www/index.php
and see messages. I think, any libraries is missing or incompatible.


Man you are so helpful, THANK YOU SO MUCH ..

Here is the output ..

Code: Select all
/usr/local/etc/mos/bin # php /tmp/www/index.php

Warning: opendir(modules): failed to open dir: No such file or directory in /usr
/local/etc/mos/www/modules/core/core_functions.php on line 73

Warning: readdir() expects parameter 1 to be resource, boolean given in /usr/loc
al/etc/mos/www/modules/core/core_functions.php on line 74
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/x
html1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>moServices - </title>
<link rel="shortcut icon" href="favicon.ico" />
<script src="modules/core/js/navbar.js" type="text/javascript" charset="utf-8"><
/script>
<script src="modules/core/js/log.js" type="text/javascript" charset="utf-8"></sc
ript>
<link rel="stylesheet" href="modules/core/css/main.css" type="text/css" media="s
creen" charset="utf-8">
<body>
<div id="main_container">

Warning: opendir(modules): failed to open dir: No such file or directory in /usr
/local/etc/mos/www/modules/core/index.php on line 118

Warning: readdir() expects parameter 1 to be resource, boolean given in /usr/loc
al/etc/mos/www/modules/core/index.php on line 119
<div id="header">
<center><table><tr><td>
<ul class="navbarmenu">
<li>navManage</li>
<li>navigation</li>
<li>navResouces</li>
<li>navService</li>
</ul>
</td></tr></table></center></div>

<div id="content_container">
</div></div>
</body></html>


The dir referenced in line 73 is named modules, but I am not sure about the full path of it to check if its already there or not.
Code: Select all
$d = opendir( 'modules' )


Just checked and /tmp/www/modules does exist on my box and is linked to /usr/local/etc/mos/www/modules
Thanks again,
aasoror
 
Posts: 14
Joined: 21 Oct 2011, 07:35

Re: moServices 3 on RT 1185 players ..

Postby FarVoice » 24 Oct 2011, 01:21

maybe core module not started normally?
ASUS O!Play R1 (amp_r12_vrtn), xTreamer Pro (amp_r12_vrt), xTreamer Prodigy (iNeXT 2.14 r2), IconBIT HDR12L (amp_r12_vrt), 3Q F425HW (xds42gl_7725_r3), MyGica A11 (mygica_m3_20121222)
User avatar
FarVoice
Администратор
 
Posts: 8572
Joined: 03 Sep 2010, 01:27
Location: Russia, Moscow

Re: moServices 3 on RT 1185 players ..

Postby aasoror » 24 Oct 2011, 01:31

FarVoice wrote:maybe core module not started normally?


How to check for error logs ? when starting services manually the script doesn't terminate.
Code: Select all
/usr/local/etc/mos # ./services start
/usr/local/etc/mos # Starting lighttp service...

After pressing Ctrl+C
ps reveals that both lighttpd and php have started successfully.

Code: Select all
16725 root        660 S N /usr/local/etc/mos/bin/lighttpd -f /usr/local/etc/mos
16726 root            Z N [php]
18069 root        372 R   ps


And executing the commands individually terminates successfully ..
Code: Select all
/usr/local/etc/mos/etc/init # ./S00base start
/usr/local/etc/mos/etc/init # ./S01core start
/usr/local/etc/mos/etc/init # ./S03web start
Starting lighttp service...
/usr/local/etc/mos/etc/init #


By the way, when I issue php command inside the moS folder it appears to run without a problem.

Code: Select all
/usr/local/etc/mos/www # php index.php
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/x
html1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>moServices -      Ç        </title>
<link rel="shortcut icon" href="favicon.ico" />
<script src="modules/core/js/navbar.js" type="text/javascript" charset="utf-8"><
/script>
<script src="modules/core/js/log.js" type="text/javascript" charset="utf-8"></sc
ript>
<link rel="stylesheet" href="modules/core/css/main.css" type="text/css" media="s
creen" charset="utf-8">
<link rel="stylesheet" href="modules/core/css/services.css" type="text/css" medi
a="screen" charset="utf-8">
<link rel="stylesheet" href="modules/core/css/toolbar.css" type="text/css" media
="screen" charset="utf-8">
<script src="modules/core/js/about.js" type="text/javascript" charset="utf-8"></
script>
<body>
<div id="main_container">
<div id="header">
<center><table><tr><td>
<ul class="navbarmenu">
<li><a  href="#" onclick="mopen('main')" onmouseout="mclosetime()">     Ç
</a>
<div class="menu" id="main" onmouseover="mcancelclosetime()" onmouseout="mcloset
ime()">
<a  href="?page=services" target="_self">     Ç        </a>
<a  href="?page=modules" target="_self">            </a>
<a  href="?page=sets" target="_self">         Ç        </a>
</div>
</li>
<li>                  </li>
<li>         Ç    </li>
<li><a  href="#" onclick="mopen('srv')" onmouseout="mclosetime()">
</a>
<div class="menu" id="srv" onmouseover="mcancelclosetime()" onmouseout="mcloseti
me()">
<a  href="?page=info" target="_self">         Ç                            </a>
<a  href="?page=reboot" target="_self">     Ç         Ç        </a>
</div>
</li>
</ul>
</td></tr></table></center></div>

<div id="content_container">
<div id="about_container">
<a href="#" onclick="closeAbout()"><div id="about_topic">                </div><
/a>
<div id="about_list">
</div></div>

<div id="container">

<table border="0" cellspacing="0" cellpadding="0">
<tr><td><h3>     Ç        </h3></td>
<td width="20">&nbsp;</td>
<td>
<div class="mod_toolbar">
<a class="mod_button" href="?page=services&view=tile" title="            ">
<img src="modules/core/images/btn_tile_view.png" /></a>
<a class="mod_button" href="?page=services&view=list" title="            ">
<img src="modules/core/images/btn_list_view.png" /></a>
<a class="mod_button" href="?page=services&act=getrep" title="
  Ç               Ç    ">
<img src="modules/core/images/btn_page_refresh.png" /></a>
<a class="mod_button" href="?page=update_all&ret=services&act=prepare" title="
                    ">
<img src="modules/core/images/btn_update_all.png" /></a>
</div></td></tr></table>

<div class="memory">
<b>                              49.0     </b>
</div>

</div>
</div></div>
</body></html>


Does that mean there is some files that needs to copied some where ?
Last edited by aasoror on 24 Oct 2011, 01:43, edited 1 time in total.
aasoror
 
Posts: 14
Joined: 21 Oct 2011, 07:35

Re: moServices 3 on RT 1185 players ..

Postby FarVoice » 24 Oct 2011, 01:43

on this listing I can not to understand what exactly wrong...
If you can forward on inet 21 and 23 ports of your player, then I can look at and possibly fix it. my skype is farvoice-home
ASUS O!Play R1 (amp_r12_vrtn), xTreamer Pro (amp_r12_vrt), xTreamer Prodigy (iNeXT 2.14 r2), IconBIT HDR12L (amp_r12_vrt), 3Q F425HW (xds42gl_7725_r3), MyGica A11 (mygica_m3_20121222)
User avatar
FarVoice
Администратор
 
Posts: 8572
Joined: 03 Sep 2010, 01:27
Location: Russia, Moscow

Re: moServices 3 on RT 1185 players ..

Postby aasoror » 24 Oct 2011, 01:45

FarVoice wrote:on this listing I can not to understand what exactly wrong...
If you can forward on inet 21 and 23 ports of your player, then I can look at and possibly fix it. my skype is farvoice-home


Sure, let me setup port forwarding and get back to you.
aasoror
 
Posts: 14
Joined: 21 Oct 2011, 07:35

Previous

Return to About moServices

Who is online

Users browsing this forum: No registered users and 7 guests

cron