nixCraft Linux / UNIX / Shell Scripting Forum

nixCraft

Linux / UNIX Tech Support Forum

I can't install Apache22 in FreeBSD

This is a discussion on I can't install Apache22 in FreeBSD within the All about FreeBSD/OpenBSD/NetBSD forums, part of the *BSD Operating systems category; After hours trying to install apache22 port, I have felt the need to explain my problem to find a solution. ...


Register free or login to your account to remove all advertisements.

Go Back   nixCraft Linux / UNIX / Shell Scripting Forum > *BSD Operating systems > All about FreeBSD/OpenBSD/NetBSD

Linux answers from nixCraft.


All about FreeBSD/OpenBSD/NetBSD Discuss all about the Rock solid FreeBSD/OpenBSD/NetBSD. You are free to talk about any issues related to BSD administration, networking, services and other stuff, share information or ask doubts.

Reply

 

Thread Tools Display Modes
  #1 (permalink)  
Old 31st December 2009, 01:56 AM
Junior Member
 
Join Date: Dec 2009
OS: FreeBSD
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
SirChokolate is on a distinguished road
Default I can't install Apache22 in FreeBSD

After hours trying to install apache22 port, I have felt the need to explain my problem to find a solution. The problem occurs when I try to install the port, I attached the log generated by FreeBSD, when I try to install apache22.

Can anyone of you give me a solution for this problem?

Code:
MXMZTDVL01# cd /usr/ports/www/apache22
MXMZTDVL01# make install clean

 To enable a module category: WITH_<CATEGORY>_MODULES
 To disable a module category: WITHOUT_<CATEGORY>_MODULES

 Per default categories are:
  AUTH AUTHN AUTHZ DAV CACHE MISC
 Categories available:
  AUTH AUTHN AUTHZ CACHE DAV EXPERIMENTAL LDAP  MISC PROXY SSL SUEXEC THREADS

  To see all available knobs, type make show-options
  To see all modules in different categories, type make show-categories
  You can check your modules configuration by using make show-modules

===>  apache-2.2.11_4 has known vulnerabilities:
=> apache22 -- several vulnerability.
   Reference: <http://www.FreeBSD.org/ports/portaudit/e15f2356-9139-11de-8f42-001aa0166822.html>
=> apr -- multiple vulnerabilities.
   Reference: <http://www.FreeBSD.org/ports/portaudit/eb9212f7-526b-11de-bbf2-001b77d09812.html>
=> Please update your ports tree and try again.
*** Error code 1

Stop in /usr/ports/www/apache22.
*** Error code 1

Stop in /usr/ports/www/apache22.

Any idea why?
Greetings and thanks in advance
Atte. SirChokolate
Reply With Quote
  #2 (permalink)  
Old 31st December 2009, 02:10 AM
jaysunn's Avatar
Contributors
 
Join Date: Apr 2009
Location: 41.332032,-73.089775
OS: RHEL - OSX
Scripting language: bourne again shell
Posts: 767
Thanks: 108
Thanked 104 Times in 95 Posts
Rep Power: 14
jaysunn has much to be proud ofjaysunn has much to be proud ofjaysunn has much to be proud ofjaysunn has much to be proud ofjaysunn has much to be proud ofjaysunn has much to be proud ofjaysunn has much to be proud ofjaysunn has much to be proud ofjaysunn has much to be proud of
Default

Hello,
From what you posted this will not work.

Code:
MXMZTDVL01# cd /usr/ports/www/apache22
MXMZTDVL01# make install clean
Try this.
Step1.
Code:
MXMZTDVL01# cd /usr/ports/www/apache22
Step2.
Code:
MXMZTDVL01#./configure --enable-module=most --enable-shared=max
Step3.
Code:
MXMZTDVL01#make
Step4.
Code:
MXMZTDVL01#make install


What BSD are you working with? This may be installed already unless you are trying to install / compile from source.


Also be sure it's 2.2 and not 22.

http://httpd.apache.org/

HTH,


Jaysunn
__________________
Have a look at what I have been working on
http://www.shellasaurus.com

Last edited by jaysunn; 31st December 2009 at 02:23 AM.
Reply With Quote
  #3 (permalink)  
Old 31st December 2009, 02:22 AM
Junior Member
 
Join Date: Dec 2009
OS: FreeBSD
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
SirChokolate is on a distinguished road
Default FreeBSD 7.2

Thanks for your quick reply, jaysunn: I'm working with freebsd 7.2 with csh, I'm not sure but, is not "./configure" a Bash Shell Script, because it not works with me, do you have any other alternative?

Thank you very much and I'll be waiting your reply.
Reply With Quote
  #4 (permalink)  
Old 31st December 2009, 02:32 AM
jaysunn's Avatar
Contributors
 
Join Date: Apr 2009
Location: 41.332032,-73.089775
OS: RHEL - OSX
Scripting language: bourne again shell
Posts: 767
Thanks: 108
Thanked 104 Times in 95 Posts
Rep Power: 14
jaysunn has much to be proud ofjaysunn has much to be proud ofjaysunn has much to be proud ofjaysunn has much to be proud ofjaysunn has much to be proud ofjaysunn has much to be proud ofjaysunn has much to be proud ofjaysunn has much to be proud ofjaysunn has much to be proud of
Default

Unless you need apache.

This looks cool.

How to install Lighttpd, PHP 5, and MySQL 5.1 on FreeBSD 7.2 grypto


Jaysunn
__________________
Have a look at what I have been working on
http://www.shellasaurus.com
Reply With Quote
  #5 (permalink)  
Old 31st December 2009, 02:42 AM
Junior Member
 
Join Date: Dec 2009
OS: FreeBSD
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
SirChokolate is on a distinguished road
Default

Thanks, I was follow this thread (FreeBSD Install and Configure Apache Web Server), but I have the same problem described in log, I can't install apache, any sugesstions?

Thank you very much jaysunn
Reply With Quote
  #6 (permalink)  
Old 31st December 2009, 04:07 AM
Junior Member
 
Join Date: Dec 2009
OS: FreeBSD
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
SirChokolate is on a distinguished road
Default SOLVED: I can't install Apache22 in FreeBSD

Al least I can install Apache Web Server. In this thread (http://www.cyberciti.biz/faq/freebsd...rver-tutorial/) I change this command line portsnap fetch extract instead portsnap fetch update anyway every user need to check the documentation for portsnap command before execute portsnap fetch extract command:
....

COMMANDS
The command can be any one of the following:

fetch Fetch a compressed snapshot of the ports tree, or update the
existing snapshot. This command should only be used inter-
actively; for non-interactive use, you should use the cron
command.

cron Sleep a random amount of time between 1 and 3600 seconds,
then operate as if the fetch command was specified. As the
name suggests, this command is designed for running from
cron(; the random delay serves to minimize the probability
that a large number of machines will simultaneously attempt
to fetch updates.

extract Extract a ports tree, replacing existing files and directo-
ries. NOTE: This will remove anything occupying the loca-
tion where files or directories are being extracted; in par-
ticular, any changes made locally to the ports tree (for
example, adding new patches) will be silently obliterated.

Only run this command to initialize your portsnap-maintained
ports tree for the first time, if you wish to start over
with a clean, completely unmodified tree, or if you wish to
extract a specific part of the tree (using the path option).

update Update a ports tree extracted using the extract command.
You must run this command to apply changes to your ports
tree after downloading updates via the fetch or cron com-
mands. Again, note that in the parts of the ports tree
which are being updated, any local changes or additions will
be removed.

.....
for more information go to portsnap(


Greetings...
Reply With Quote
  #7 (permalink)  
Old 31st December 2009, 04:25 AM
jaysunn's Avatar
Contributors
 
Join Date: Apr 2009
Location: 41.332032,-73.089775
OS: RHEL - OSX
Scripting language: bourne again shell
Posts: 767
Thanks: 108
Thanked 104 Times in 95 Posts
Rep Power: 14
jaysunn has much to be proud ofjaysunn has much to be proud ofjaysunn has much to be proud ofjaysunn has much to be proud ofjaysunn has much to be proud ofjaysunn has much to be proud ofjaysunn has much to be proud ofjaysunn has much to be proud ofjaysunn has much to be proud of
Default [solved]

Nice,


Great Job. I am just diving into free BSD. I am starting to really enjoy using it as my operating system.

Awesome,

Jaysunn
__________________
Have a look at what I have been working on
http://www.shellasaurus.com
Reply With Quote
  #8 (permalink)  
Old 31st December 2009, 08:44 AM
nixcraft's Avatar
Never say die
 
Join Date: Jan 2005
Location: BIOS
OS: RHEL
Scripting language: Bash, Perl, Python
Posts: 3,195
Thanks: 13
Thanked 394 Times in 292 Posts
Rep Power: 10
nixcraft has a reputation beyond reputenixcraft has a reputation beyond reputenixcraft has a reputation beyond reputenixcraft has a reputation beyond reputenixcraft has a reputation beyond reputenixcraft has a reputation beyond reputenixcraft has a reputation beyond reputenixcraft has a reputation beyond reputenixcraft has a reputation beyond reputenixcraft has a reputation beyond reputenixcraft has a reputation beyond repute
Default

First you need to use updated ports.

When you run portsnap first time, it should be fetch extract, later on always run fetch update.
__________________
Vivek Gite
Be proud RHEL user, and let the world know about your enterprise choices! Join RedHat user group.
Do you run a Linux? Let's face it, you need help!
Cricket & IPL News Blog
Reply With Quote
Reply

Tags
freebsd apache install


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 
Thread Tools
Display Modes

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 Off


Similar Threads

Thread Thread Starter Forum Replies Last Post
command to install tar file on freebsd hellBoy All about FreeBSD/OpenBSD/NetBSD 3 15th November 2009 07:32 PM
How to install Asterisk Pbx on FreeBSD 6 sheikhatif All about FreeBSD/OpenBSD/NetBSD 4 24th July 2009 08:13 PM
FreeBSD Install Hp nx6310 Wireless Driver linuxchik All about FreeBSD/OpenBSD/NetBSD 0 18th August 2008 03:07 PM
FreeBSD Install Flashplugin Errors linuxchik All about FreeBSD/OpenBSD/NetBSD 3 4th August 2008 06:41 PM
need help to install FreeBSD 6 series on my Intel based pc sneezycrazyturtle All about FreeBSD/OpenBSD/NetBSD 1 22nd February 2007 02:27 PM


All times are GMT +5.5. The time now is 09:04 PM.


Powered by vBulletin® Version 3.8.6 - Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.2
©2005-2010 nixCraft. All rights reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40