LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 12-20-2012, 07:45 AM   #1
jak4
LQ Newbie
 
Registered: Jul 2011
Posts: 6

Rep: Reputation: Disabled
Error while starting lighttpd on ARM target


Hi
I am trying to use lighttpd web server for my arm target. I was able to cross compile it by modifying the configure file. I made the following changes tp the default configure file

1. --host = arm-linux (for linux target)
2. --without-bzip2
3. --disable-ipv6 (don't need IPV6 support)

I transferred the exe and the lighttpd.conf file to my target. I also copied the rc.lighttpd to the /etc/rc.d/init.d folder.

Now whenever I execute the following command

/etc/rc.d/init.d/lightpd start

I get the error

Starting lighttpd/etc/rc.d/init.d/lightpd: line 162: : not found
/etc/rc.d/init.d/lightpd: line 162: /opt/MAP/etc/startup/lighty/lighttpd: not found

Can someone please tell me why this error is coming. The lighttpd executable is present at the mentioned location I made sure of that.
 
Old 12-23-2012, 11:17 AM   #2
theNbomr
LQ 5k Club
 
Registered: Aug 2005
Distribution: OpenSuse, Fedora, Redhat, Debian
Posts: 5,399
Blog Entries: 2

Rep: Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908
I guess the first thing to do would be to look at the code around line 162 of the offending script. If that doesn't shed some light on the problem, post the code here (in [CODE] [/CODE] tags, of course), and someone might be able to interpret the problem. Right now, it seems to be looking for a file, and not finding it. My guess is that the server uses a startup/configuration file that you must create, or there is a default that comes with the source package, and you've failed to copy it to the target host.

--- rod.
 
  


Reply

Tags
arm7, lighttpd



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How prevent lighttpd sharing persistent sockets for different requests arm embedded golden_boy615 Linux - Embedded & Single-board computer 0 04-03-2012 06:21 AM
Linux header installation for target ARM: meke menuconfig error jeevan.123 Linux - Embedded & Single-board computer 4 02-27-2012 11:43 AM
Error while Porting Glibc-2.11.1 to arm cortex-a9 target me011089 Linux - Hardware 0 09-28-2011 04:21 AM
Compilation error Linux 2.6.32 for ARM target xplorer30 Linux - General 1 09-27-2010 09:59 PM
shared library error while running gdbserver on target with arm-926ejs processor amit123solanki Linux - Software 0 07-08-2008 12:55 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 07:47 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration