User(s) browsing this thread: 2 Guest(s)
|
[200] Region Count Clear / Reset app
|
|
12-06-2010, 02:28 PM
(This post was last modified: 12-06-2010 02:32 PM by lundman.)
|
|||
|
|||
|
RE: Region Count Clear / Reset app
Well
Code: # pids=""Those two are supposed to get a list of the httpd pids to use, with -p. Like for me: Code: # pidof httpdthe numbers will be different for you. Oh and I assume you cut'n'paste the lines, since in Unix there is a large difference between ticks '', and backticks `` |
|||
|
12-06-2010, 02:36 PM
(This post was last modified: 12-06-2010 02:38 PM by Adrgha.)
|
|||
|
|||
|
RE: Region Count Clear / Reset app
Yeah, but that's the thing, I'm not getting anything:
Code: sh-3.00# pidof httpdI'm probably missing something quite fundamental somewhere. @arikmi: We're attempting to find out why the region clear app doesn't work from the web services shortcut on my unit. 17TB WHS 2011 w/FlexRaid -> PCH C200: Hitachi 2,5" 160GB & LG CH08 BD-ROM -> Onkyo TX-SR507B -> Pioneer KURO PDP-LX5090
|
|||
|
12-06-2010, 02:40 PM
|
|||
|
|||
|
RE: Region Count Clear / Reset app
That would be a problem.
Run "ps -w" for me? Why would you not be having any httpd processes? |
|||
|
12-06-2010, 02:45 PM
|
|||
|
|||
|
RE: Region Count Clear / Reset app
Sure:
Code: sh-3.00# ps -w17TB WHS 2011 w/FlexRaid -> PCH C200: Hitachi 2,5" 160GB & LG CH08 BD-ROM -> Onkyo TX-SR507B -> Pioneer KURO PDP-LX5090
|
|||
|
12-06-2010, 02:47 PM
|
|||
|
|||
|
RE: Region Count Clear / Reset app
Huh yeah, so you don't have apache's httpd, but something called "lighthttpd". I'm guessing the lighthttpd does not do CGIs and will not work with patcher.
I do not know how to uninstall lighthttp and get apache back. |
|||
|
12-06-2010, 02:52 PM
|
|||
|
|||
|
RE: Region Count Clear / Reset app
Yes, that was installed through CSI:
Quote: A fast replacement webserver for the default one in CSI. Some of the apps on the C200 will get a speedup after installing this application. So removing it from the installed apps in CSI wouldn't remove it? 17TB WHS 2011 w/FlexRaid -> PCH C200: Hitachi 2,5" 160GB & LG CH08 BD-ROM -> Onkyo TX-SR507B -> Pioneer KURO PDP-LX5090
|
|||
|
12-06-2010, 02:54 PM
|
|||
|
|||
|
RE: Region Count Clear / Reset app
I would not have thought so, but easy for you to check, just run "ps -w" again. I suspect you will have to install the nmt.app again from maintenance,
|
|||
|
12-06-2010, 02:56 PM
(This post was last modified: 12-06-2010 02:58 PM by Adrgha.)
|
|||
|
|||
|
RE: Region Count Clear / Reset app
Code: sh-3.00# ps -wSeems to be gone, no? Though I guess the default one isn't running either. Bah. 17TB WHS 2011 w/FlexRaid -> PCH C200: Hitachi 2,5" 160GB & LG CH08 BD-ROM -> Onkyo TX-SR507B -> Pioneer KURO PDP-LX5090
|
|||
|
12-06-2010, 02:59 PM
(This post was last modified: 12-06-2010 03:00 PM by lundman.)
|
|||
|
|||
|
RE: Region Count Clear / Reset app
Sure its gone, but no default. So I would be surprised if even sysinfo ran now.
Although if sysinfo can do something which makes it work with both, I should check what it is.. |
|||
|
12-06-2010, 03:01 PM
(This post was last modified: 12-06-2010 03:38 PM by Adrgha.)
|
|||
|
|||
|
RE: Region Count Clear / Reset app
You are of course right.
Hmmm... I'm not sure it will let me install the apps again... it only lets me update them I think? Success! I had forgotten to update the apps to the newest version anyway, so that went fine. I'm getting response from the pidof commands now so the default webserver seems to be working again: Code: sh-3.00# pidof httpdAnyway, I ran the original chain of commands you listed, and I got the results uploaded to a .txt file: Code: 6054 accept(16, <unfinished ...>Dunno if you can make any sense out of that. I might add that returning to the original web server did nothing for the region clear app alone - it still doesn't work. 17TB WHS 2011 w/FlexRaid -> PCH C200: Hitachi 2,5" 160GB & LG CH08 BD-ROM -> Onkyo TX-SR507B -> Pioneer KURO PDP-LX5090
|
|||
|
12-06-2010, 04:53 PM
(This post was last modified: 12-06-2010 04:58 PM by Adrgha.)
|
|||
|
|||
|
RE: Region Count Clear / Reset app
Well, I figured it out myself from that log, lol.
"write(15, "[Mon Dec 6 15:32:53 2010] [error] [client 127.0.0.1] File does not exist: /share/Apps/AppInit/websites/region_clear gaya\n"..., 122) " That one stuck out like a sore thumb. Turns out I had forgotten an underscore in region_clear_gaya when I was trying some things with the shortcut yesterday. It works perfectly now! So, lighthttpd was the real cause of the problem in the first place. Thank you for your help, Lundman. It's been most educational! 17TB WHS 2011 w/FlexRaid -> PCH C200: Hitachi 2,5" 160GB & LG CH08 BD-ROM -> Onkyo TX-SR507B -> Pioneer KURO PDP-LX5090
|
|||
|
12-06-2010, 09:17 PM
|
|||
|
|||
|
RE: Region Count Clear / Reset app
Ok great, I will mention it in the install text then. But it is curious that Sysinfo works with lighthttpd? So it should be possible to get it to work maybe...
|
|||
|
12-06-2010, 09:49 PM
(This post was last modified: 12-06-2010 09:50 PM by nuke12.)
|
|||
|
|||
|
RE: Region Count Clear / Reset app
It's great that we have all the stuff in CSI and now in ipkg but there is really not a good dependencies system setup here. It's kind of like "user beware". I see the way things are going and I think people have to be careful of what ever they install because some things are going to screwup (can/maybe) other things. I suggest to install the "most necessary" things first and as you install more, check that the "most necessary" are still working. JMHO
C-200, A-110 both playing from a DIY Linux Raid 5 server. Remuxes, Captures and Transcodes done on a desktop running; Win7, Intel i7 hexacore processor with 24 GB ram, WD VR OS drive and a WD Black 2 TB data drive. |
|||
|
12-07-2010, 01:33 PM
(This post was last modified: 12-07-2010 01:35 PM by dc11ab.)
|
|||
|
|||
|
RE: Region Count Clear / Reset app
Adrgha;
I saw lundman posting the the lighttpd thread and that inspired me to an idea of a workaround. Add a file "index.php" to the region_clear Apps package, next to the index.cgi file, containing this: PHP Code: <html><head><title>region_clear installation</title></head><body>Oh, and the code above is written on free hand so it might not be entirely correct. And I don't have the lighttpd package myself. Hopefully it works as intended. (Btw: If the index.cgi is not executable, i.e. not chmod:ed 755, then the return error should be 126) EDIT: come to think about it, it probably should execute the installation shellscript directly, not the index.cgi!? I'm at work and cannot dig deeper atm. Audio, video, disco - I hear, I see, I learn. Wiki. Wiki? Wiki! |
|||
|
12-07-2010, 02:20 PM
|
|||
|
|||
|
RE: Region Count Clear / Reset app
Am I the only one who thinks that:
c-program (http) executes: c-program (php): executes php (index.php) executes: c-program (bash) executes: bash script: executes c-program (region_clear) as crazy? Just because you want "faster php". Huh
|
|||
|
« Next Oldest | Next Newest »
|

Twitter
Facebook
NMT Wiki
Search
Member List
Help
A-400 [13 May 2013]








![[+]](images/collapse_collapsed.gif)


