Author Topic: Cherokee Web Server  (Read 4132 times)

Schnoober

  • Newbie
  • *
  • Posts: 28
    • View Profile
    • http://
Cherokee Web Server
« on: August 07, 2006, 09:12:48 am »
Hi,
This topic is migrating from here:
https://www.oesf.org/forums/index.php?act=f...post&pid=137520

I've been trying various methods of installing the web server Cherokee (recently included in the feeds) on to my 3200 running OZ 3.5.4.1/Opie. I had started by trying to do it by hand. When the feed files emerged I tried that, but all with precious little luck.

I have run ipkg update, switched feeds to a different mirror, tried downloading the files to my own feed, tried expanding the ipks and remaking them. All without joy.

The file I am using is: 3.5.4.1/feed/upgrades/cherokee_0.5.3-r1_arm.ipk
This is the only file I could find, but it's in "upgrades" so there may be another file but I cannot find it for the life of me.

Is there another file that I have missed, and that is not being picked up by ipkg?


-------------------------------| console listing |--------------------------------
# ipkg install cherokee    
Installing cherokee (0.5.4-1) to root...
Nothing to be done
An error ocurred, return value: -1.
Collected errors:
ERROR: Package cherokee (parent cherokee) is not available from any configured src.
Failed to download cherokee. Perhaps you need to run 'ipkg update'?
3200 running Cacko 1.23 (It Works!)
AmbiCom WL1100C-CF wireless LAN card (Not working =p)
1gb SD
Multiple CF storage cards.

koen

  • Hero Member
  • *****
  • Posts: 1008
    • View Profile
    • http://dominion.thruhere.net/koen/cms/
Cherokee Web Server
« Reply #1 on: August 07, 2006, 09:17:50 am »
With the default feed configuration:

Code: [Select]
koen@netbook-pro:~$ su -
Password:
root@netbook-pro:~# ipkg install cherokee
Installing cherokee (0.5.3-r1) to root...
Downloading http://ewi546.ewi.utwente.nl/mirror/www.openzaurus.org/official/unstable/3.5.4.1/feed/upgrades/cherokee_0.5.3-r1_arm.ipk
Installing libcherokee-base0 (0.5.3-r1) to root...
Downloading http://ewi546.ewi.utwente.nl/mirror/www.openzaurus.org/official/unstable/3.5.4.1/feed/upgrades/libcherokee-base0_0.5.3-r1_arm.ipk
Installing libpcre0 (4.4-r1) to root...
Downloading http://ewi546.ewi.utwente.nl/mirror/www.openzaurus.org/official/unstable/3.5.4.1/feed/base/libpcre0_4.4-r1_armv5te.ipk
Installing libcherokee-client0 (0.5.3-r1) to root...
Downloading http://ewi546.ewi.utwente.nl/mirror/www.openzaurus.org/official/unstable/3.5.4.1/feed/upgrades/libcherokee-client0_0.5.3-r1_arm.ipk
Installing libcherokee-server0 (0.5.3-r1) to root...
Downloading http://ewi546.ewi.utwente.nl/mirror/www.openzaurus.org/official/unstable/3.5.4.1/feed/upgrades/libcherokee-server0_0.5.3-r1_arm.ipk
Configuring cherokee
Configuring libcherokee-base0
Configuring libcherokee-client0
Configuring libcherokee-server0
Configuring libpcre0
Forums are not bugtrackers!!! Smart questions
Ångström release team
iPAQ h2210, iPAQ h5550, iPAQ hx4700, Zaurus SL-C700, Nokia 770, all running some form of GPE
My blog

lardman

  • Hero Member
  • *****
  • Posts: 4512
    • View Profile
    • http://people.bath.ac.uk/enpsgp/Zaurus/
Cherokee Web Server
« Reply #2 on: August 07, 2006, 09:47:40 am »
Quote
This is the only file I could find, but it's in "upgrades" so there may be another file but I cannot find it for the life of me.

Do you have the upgrades feed available (i.e. is it listed in one of the .conf files in /etc/ipkg/ or in /etc/ipkg.conf)?


Si
C750 OZ3.5.4 (GPE, 2.6.x kernel)
SL5500 OZ3.5.4 (Opie)
Nokia 770
Serial GPS, WCF-12, Socket Ethernet & BT, Ratoc USB
WinXP, Mandriva

Schnoober

  • Newbie
  • *
  • Posts: 28
    • View Profile
    • http://
Cherokee Web Server
« Reply #3 on: August 07, 2006, 01:44:41 pm »
Quote
Do you have the upgrades feed available (i.e. is it listed in one of the .conf files in /etc/ipkg/ or in /etc/ipkg.conf)?
[div align=\"right\"][{POST_SNAPBACK}][/a][/div]

Thanks for the responses folks.
Lardman, yes, after changing the conf files around to point to different mirrors I reinstated the default .conf, which has the same feed that Koen is using in his install listing above, and ran ipkg update again. No dice.

Koen, how interesting that you can do this and I cannot. I just noticed that the Cherokee version in your listing is different from mine. Wierd.

You: Installing cherokee (0.5.3-r1) to root...
Me:  Installing cherokee (0.5.4-1) to root...

That's even when I'm pointing ipkg directly to the file in your listing:
ipkg install [a href=\"http://ewi546.ewi.utwente.nl/mirror/www.openzaurus.org/official/unstable/3.5.4.1/feed/upgrades/cherokee_0.5.3-r1_arm.ipk]http://ewi546.ewi.utwente.nl/mirror/www.op....5.3-r1_arm.ipk[/url]

This is very odd.

Thanks again for your time. I'll need to go away and poke at this until I can figure out what's wrong. I certainly seems as though the problem is on my Z. I'll let you know what happens.
3200 running Cacko 1.23 (It Works!)
AmbiCom WL1100C-CF wireless LAN card (Not working =p)
1gb SD
Multiple CF storage cards.

zedkatuf2

  • Full Member
  • ***
  • Posts: 153
    • View Profile
    • http://www.projectgalileo.org.uk
Cherokee Web Server
« Reply #4 on: August 08, 2006, 04:30:43 pm »
Quote
With the default feed configuration:

Code: [Select]
koen@netbook-pro:~$ su -
Password:
root@netbook-pro:~# ipkg install cherokee
Installing cherokee (0.5.3-r1) to root...
Downloading http://ewi546.ewi.utwente.nl/mirror/www.openzaurus.org/official/unstable/3.5.4.1/feed/upgrades/cherokee_0.5.3-r1_arm.ipk
Installing libcherokee-base0 (0.5.3-r1) to root...
Downloading http://ewi546.ewi.utwente.nl/mirror/www.openzaurus.org/official/unstable/3.5.4.1/feed/upgrades/libcherokee-base0_0.5.3-r1_arm.ipk
Installing libpcre0 (4.4-r1) to root...
Downloading http://ewi546.ewi.utwente.nl/mirror/www.openzaurus.org/official/unstable/3.5.4.1/feed/base/libpcre0_4.4-r1_armv5te.ipk
Installing libcherokee-client0 (0.5.3-r1) to root...
Downloading http://ewi546.ewi.utwente.nl/mirror/www.openzaurus.org/official/unstable/3.5.4.1/feed/upgrades/libcherokee-client0_0.5.3-r1_arm.ipk
Installing libcherokee-server0 (0.5.3-r1) to root...
Downloading http://ewi546.ewi.utwente.nl/mirror/www.openzaurus.org/official/unstable/3.5.4.1/feed/upgrades/libcherokee-server0_0.5.3-r1_arm.ipk
Configuring cherokee
Configuring libcherokee-base0
Configuring libcherokee-client0
Configuring libcherokee-server0
Configuring libpcre0
[div align=\"right\"][a href=\"index.php?act=findpost&pid=137674\"][{POST_SNAPBACK}][/a][/div]

I can confirm this works for me too.

Is it possible someone couls compile phpcgi so we can use php/mysql with cherokee>

Then I can make some progress on getting to grips with php at last

(My terrier is my main computer now)

zedkatuf2
Zaurus SLC3200 (Terrier) [SOLD]
Hardware extras: 2Gb Viking SD card 4Gb Transcode MMC card 2Gb Kingston 50x CF card Symbol Socket Spectrum & Ambicom 1100C  WLAN cards Shirtpocket Bluetooth CF  & Sitecom USB cards Running Pdaxii13 using Meanie's Atika ROM & full-hd apps.

Schnoober

  • Newbie
  • *
  • Posts: 28
    • View Profile
    • http://
Cherokee Web Server
« Reply #5 on: August 08, 2006, 05:46:03 pm »
Quote
I can confirm this works for me too.

Is it possible someone couls compile phpcgi so we can use php/mysql with cherokee>

Then I can make some progress on getting to grips with php at last

(My terrier is my main computer now)

zedkatuf2
[div align=\"right\"][a href=\"index.php?act=findpost&pid=137870\"][{POST_SNAPBACK}][/a][/div]


That you've already got. [edit] minus the MySQL [/edit]It's already installed on my machine, ready to go.

try: ipkg list | grep php

Incidentally, I can install Ruby too which comes from the same feed as Cherokee, but Cherokee still hates me. I also appear to be the only person in the universe who is unable to make this work. Gee that makes me feel good.
« Last Edit: August 08, 2006, 05:56:53 pm by Schnoober »
3200 running Cacko 1.23 (It Works!)
AmbiCom WL1100C-CF wireless LAN card (Not working =p)
1gb SD
Multiple CF storage cards.

zedkatuf2

  • Full Member
  • ***
  • Posts: 153
    • View Profile
    • http://www.projectgalileo.org.uk
Cherokee Web Server
« Reply #6 on: August 10, 2006, 09:00:15 am »
Quote
try ipkg list|grep php

Code: [Select]
ipkg list|grep php
apache-1.3.27-php-4.2.3 - 0.1 -
php - 4.3.10-r0 - A server-side, HTML-embedded scripting language. This package provides the CGI.
php-dev - 4.3.10-r0 - A server-side, HTML-embedded scripting language. This package provides the CGI.
...the apache-php thingy no worko on my 3200....it just segfaults.

But anyway, with cherokee running, when I browse a php file, the browser returns:

Code: [Select]
200 OK
...this is for a file containing:
Code: [Select]
phpinfo();
?>
...which should return the standard php info page, so something's not right in terms of cherokee parsing php.

The cherokee modules file contains the handlers for php..so no comprendo que pasa
Zaurus SLC3200 (Terrier) [SOLD]
Hardware extras: 2Gb Viking SD card 4Gb Transcode MMC card 2Gb Kingston 50x CF card Symbol Socket Spectrum & Ambicom 1100C  WLAN cards Shirtpocket Bluetooth CF  & Sitecom USB cards Running Pdaxii13 using Meanie's Atika ROM & full-hd apps.

Schnoober

  • Newbie
  • *
  • Posts: 28
    • View Profile
    • http://
Cherokee Web Server
« Reply #7 on: August 18, 2006, 06:01:33 pm »
By way of a wrap up for this thread ...

In the end I gave up in despair and reloaded OZ/Opie from scratch. Immediately everything worked perfectly, though php is still not working with cherokee. Admittedly I have not tried very hard to make it work as yet. In fact, not at all.

It would seem that I had changed some esoteric setting somewhere, but which and where I could not tell you. I naturally insist that I made no foolish changes, and others will smile knowingly and insist that I did. We will never know.

I thank everyone for their efforts to help in this.

zedkatuf2, if I discover the answer to the php thing I'll post it here.
3200 running Cacko 1.23 (It Works!)
AmbiCom WL1100C-CF wireless LAN card (Not working =p)
1gb SD
Multiple CF storage cards.

zedkatuf2

  • Full Member
  • ***
  • Posts: 153
    • View Profile
    • http://www.projectgalileo.org.uk
Cherokee Web Server
« Reply #8 on: August 18, 2006, 06:12:53 pm »
Quote
By way of a wrap up for this thread ...

In the end I gave up in despair and reloaded OZ/Opie from scratch. Immediately everything worked perfectly, though php is still not working with cherokee. Admittedly I have not tried very hard to make it work as yet. In fact, not at all.

It would seem that I had changed some esoteric setting somewhere, but which and where I could not tell you. I naturally insist that I made no foolish changes, and others will smile knowingly and insist that I did. We will never know.

I thank everyone for their efforts to help in this.

zedkatuf2, if I discover the answer to the php thing I'll post it here.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=139067\"][{POST_SNAPBACK}][/a][/div]

Thanks Schnoober for replying; I've moved over to using the Sharp ROM for now, as it runs much faster & I've got apache & php working with mysql...maybe I'll come back to OZ at some point, but for now the SharpROM does everything I need.

Cheers,

zedkatuf
Zaurus SLC3200 (Terrier) [SOLD]
Hardware extras: 2Gb Viking SD card 4Gb Transcode MMC card 2Gb Kingston 50x CF card Symbol Socket Spectrum & Ambicom 1100C  WLAN cards Shirtpocket Bluetooth CF  & Sitecom USB cards Running Pdaxii13 using Meanie's Atika ROM & full-hd apps.