Linux / UNIX Tech Support Forum
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.
|
|||||||
| 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. |
![]() |
|
|
Thread Tools | Display Modes |
|
|||
|
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 |
|
||||
|
Hello,
From what you posted this will not work. Code:
MXMZTDVL01# cd /usr/ports/www/apache22 MXMZTDVL01# make install clean Step1. Code:
MXMZTDVL01# cd /usr/ports/www/apache22 Code:
MXMZTDVL01#./configure --enable-module=most --enable-shared=max Code:
MXMZTDVL01#make 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 Last edited by jaysunn; 31st December 2009 at 02:23 AM. |
|
|||
|
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. |
|
||||
|
Unless you need apache.
This looks cool. How to install Lighttpd, PHP 5, and MySQL 5.1 on FreeBSD 7.2 grypto Jaysunn |
|
|||
|
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 |
|
|||
|
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( 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... |
|
||||
|
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 |
![]() |
|
|
| Tags |
| freebsd apache install |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) |
|
| Thread Tools | |
| Display Modes | |
|
|
|
||||
| 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 |