Apache Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsSystem AdministrationApache Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
Stop making mediocre tutorials.The best tutorials are video! Camtasia Studio makes it easy to create engaging, buzz-building screen videos at any size, in any popular format. Download the free trial!
  #1  
Old August 9th, 2000, 05:57 PM
alexgreg's Avatar
alexgreg alexgreg is offline
Full Access
Dev Shed Regular (2000 - 2499 posts)
 
Join Date: Jun 2000
Location: London, UK
Posts: 2,019 alexgreg User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 3 sec
Reputation Power: 11
OK, I downloaded Apache 1.3.12 from their website (http://www.apache.org/dist/apache_1.3.12.tar.gz) and I burned it onto CD in order to get it onto my Linux box (which hasn't got a modem). So I tried to install it with the commands:

cd /tmp
tar -zvxf apache_1.3.12.tar.gz

In return for my hard work, I get the following message:

gzip: stdin: not in gzip format
tar: Child returned status 1
tar: Error exit delayed from previous errors

I would hazard a guess that this means that the file I downloaded, complete with its extension .tar.gz is not a gzipped tar file. Help! Now I'm lost. I'm extremely new to Linux and I have three aims: to get mySQL, Apache and PHP4 all working together. I've got tutorials that tell me how to do this but very simple things seem to go wrong. Does anyone know what that error means and how I can fix it so that I can install Apache??

I also got a really wierd problem the other day. I'd just installed mySQL on my Linux box, and it started fine (with /usr/local/mysql/support-files/mysql.server start) but then when I tried to start mySQL by typing mySQL it worked fine, and I got the thing telling me "Welcome to mySQL, blah blah blah". Then when I tried again, in the same place a couple of days later, I got bash: command mysql not found or words to that effect. I did a directory listing and found a file called mysql which i presumed was the executable. It was in /usr/local/mysql/bin
I went to that file in File Manager and found that it was of type text-plain!

Now I'm lost. Really lost. Why has this file turned to text-plain?! It executed before and gave me the mySQL monitor! I extracted the file onto my Win32 machine and all the files in the bin directory had no extension(which I presume means they're text-plain, or does Linux see these as executables??). So what's gone wrong? I'm really confused about the whole thing now. All I want is to get Apache, mySQL and PHP4 installed on a Linux box so I can develop web programs with these tools. It seems that everything is conspiring against me!

Please someone help before I lose my head!

--------------------------------------------
Alex
(http://www.alex-greg.co.uk)

Reply With Quote
  #2  
Old August 9th, 2000, 07:53 PM
freebsd
Guest
Dev Shed Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
>>gzip: stdin: not in gzip format

That file in your CD was corrupted. Reburn it again.

>>I'm extremely new to Linux and I have three aims:

Start here -> http://www.devshed.com/Talk/Forums/Forum15/HTML/000020.html

>>all the files in the bin directory had no extension

So? That doesn't mean they are ASCII files.

Reply With Quote
  #3  
Old August 10th, 2000, 09:19 AM
alexgreg's Avatar
alexgreg alexgreg is offline
Full Access
Dev Shed Regular (2000 - 2499 posts)
 
Join Date: Jun 2000
Location: London, UK
Posts: 2,019 alexgreg User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 3 sec
Reputation Power: 11
FreeBSD,

The file on my CD isn't corrupted: it extracted fine on my Win32 machine, all the directories etc. are in place. It just doesn't seem to want to extact on my Linux box.

Do you have any insight as to the problem with mySQL that I described above? This is also bugging me.

--------------------------------------------
Alex
(http://www.alex-greg.co.uk)

[This message has been edited by alexgreg (edited August 10, 2000).]

Reply With Quote
  #4  
Old August 10th, 2000, 09:46 AM
christucker2 christucker2 is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2000
Posts: 81 christucker2 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 8
Alex, you need to buy yourself a Linux book and read that first. If you want to be able to administer a MySQL/Apache/PHP setup you're going to need some skills with Linux and an understanding of how it works. In Linux (as in DOS, for that matter), a file does not have to be a binary to execute. In DOS, files with the extension .bat are plain text but are interpreted, while in Linux any file with the execute permission set may be executed. In Linux, file extensions are not used to determine whether something can be executed or not.

Setting permissions in Unix requires a basic understanding of users, groups, and security, so I'm not going to try to give you the answer to your problems here (it would take too long, and I have no idea how much knowledge of this stuff you already have). Any good Unix/Linux book will explain all that for you much better than I can.

Reply With Quote
  #5  
Old August 10th, 2000, 04:18 PM
freebsd
Guest
Dev Shed Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
>>The file on my CD isn't corrupted

Okay, try NOT to place it in /tmp, put it somewhere like /usr/local/src

You should also cd /tmp, then do a df and see how much disk space you have there. apache_1.3.12.tar.gz needs at least 9mb free space.

Reply With Quote
Reply

Viewing: Dev Shed ForumsSystem AdministrationApache Development > Problem EXTRACTING Apache on Red Hat Linux!


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 1 hosted by Hostway