Author Topic: Apache on OZ 3.2  (Read 3113 times)

omro

  • Hero Member
  • *****
  • Posts: 796
    • View Profile
    • http://
Apache on OZ 3.2
« on: June 02, 2004, 11:53:49 am »
Hi guys,

I\'ve got OZ 3.2 on my Z5500.

I\'ve migrated the opt, home and root directories as suggested in this site:

 http://www.linux-migration.org

I\'ve installed the apache-1.3.27-php-4.2.3_0.1_arm.ipk successfully.

When I go to start apache I get the following:

Code: [Select]
# /home/www/bin/httpd start

httpd: bad group name nobody


So it\'s not starting up  :cry:

Does anyone know if this is fixable?

Thanks,

Owen
Zaurus C-1000

EasyKill

  • Newbie
  • *
  • Posts: 2
    • View Profile
    • http://
Apache on OZ 3.2
« Reply #1 on: June 02, 2004, 12:25:35 pm »
I know absolutely nothing about the Zaurus, as a matter of fact my first Zaurus is being shipped to me right now (at least it better be!!). I would guess from my thin knowledge of linux that apache is running under nobody and the Zaurus doesn\'t have that group. you could do a groupadd nobody (maybe a useradd nobody as well and add nobody to the group nobody) or you could use apache2 which runs under root.

omro

  • Hero Member
  • *****
  • Posts: 796
    • View Profile
    • http://
Apache on OZ 3.2
« Reply #2 on: June 04, 2004, 05:29:56 am »
I have to admit a little bit of confusion about reply that sorry :-(
Zaurus C-1000

EasyKill

  • Newbie
  • *
  • Posts: 2
    • View Profile
    • http://
Apache on OZ 3.2
« Reply #3 on: June 07, 2004, 12:00:39 am »
Looking back at my response, it was a pretty lousy explanation. Bring up a console, type in \'su -\' without the quotes and then enter the root password. Then type \'groupadd nobody\' again without the quotes. This might help, and it might not. I don\'t see how it could cause any problems so you have nothing to lose.

al

  • Newbie
  • *
  • Posts: 39
    • View Profile
    • http://
Apache on OZ 3.2
« Reply #4 on: June 07, 2004, 02:01:33 am »
Edit your httpd.conf file and search for \"nobody\". I can\'t remember exactly what the entry is but I changed it from nobody to nogroup and it worked for me.
SL-5500 OZ3.5.2, 256SD, 256CF, WiFi, etc
SuSE 9.2 Pro, WinXP Pro

omro

  • Hero Member
  • *****
  • Posts: 796
    • View Profile
    • http://
Apache on OZ 3.2
« Reply #5 on: June 07, 2004, 11:02:59 am »
OK, did that, httpd is running, but when I try and point the web browser at the index page, nothing is found, it times out. I tried pinging 127.0.0.1 and there was 100% package loss.

Because I\'ve moved the home directory onto the SD card, do I need to do anything in addition? Or is it simply because I\'m running OZ3.2?
Zaurus C-1000

omro

  • Hero Member
  • *****
  • Posts: 796
    • View Profile
    • http://
Apache on OZ 3.2
« Reply #6 on: June 08, 2004, 04:48:54 am »
Is it possible that because I\'ve moved everything onto the SD card, the system doesn\'t know where the htdocs directory is anymore? If that\'s the case, how would I con the system into thinking that the apache server is where it thinks it should be and not on the SD card where it doesn\'t think it should be?
Zaurus C-1000