The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
.
google unix.com



UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Create Folder and setup Apache cthinh UNIX for Dummies Questions & Answers 1 03-25-2008 07:32 AM
Problems starting apache 1.3 with mysql godspunk32 SUN Solaris 1 08-25-2006 10:56 AM
problems with Apache GKnight SUN Solaris 3 04-08-2006 12:11 AM
Problems with Apache setup cstovall UNIX for Dummies Questions & Answers 2 11-19-2002 12:54 AM
Apache Server 1.3.20 Icons Missing and Other Problems...Please Help!!!! crazycelicagts UNIX for Dummies Questions & Answers 1 08-12-2002 05:09 PM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 11-25-2002
cstovall cstovall is offline
Registered User
  
 

Join Date: Nov 2002
Location: Raleigh, N.C.
Posts: 78
Question Problems with Apache setup

I posted a problem with the forum on 11/18/02. Unfortunately, I
have been out of town. Today is the first chance I've had to try
the suggestions that were made.

Here is the output from the ls -l configure* command:

-rw-r--r-- 1root sys 58230 May 21 2002 configure


When I type " sh ./configure or ksh ./configure " I get the output:

. /configure: ^M: not found
. /configure: ^M: not found
. /configure: ^M: not found
. /configure: syntax error line 103: `in^M unexpected


The forums help would be greatly appreciated. Thanks.
  #2 (permalink)  
Old 11-25-2002
WIntellect's Avatar
WIntellect WIntellect is offline
Registered User
  
 

Join Date: Sep 2002
Location: United Kingdom
Posts: 170
It looks like you opened the file in Windows and then saved it, resulting in the windows "^M" end of line character appearing in the file.

Backup your Apache files and then try to remove all the "^M" characters at the end of each line in the file "configure"

Also, if you are to run a command like:
Code:
./configure
you need to make the file executable - which your isn't (-rw-r--r--), this can be done with the command:
Code:
chmod +x configure
  #3 (permalink)  
Old 11-25-2002
Jimbo
Guest
  
 

Posts: n/a
Bits: 0 [Banking]
Yep, and when you run the script like cstovall did, as a parameter to the shell, the script does not need the executable bit set.
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

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
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 04:10 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0