Problem with re-installing ports


 
Thread Tools Search this Thread
Operating Systems BSD Problem with re-installing ports
# 1  
Old 10-21-2008
Problem with re-installing ports

Hello,

I am fairly new at FreeBSD. I tried searching existing topics for a similar problem, but I found none Smilie

I have a problem reinstalling apache22 which I had to remove in my troubleshooting with mysql. Since I've got MySQL working now (joy unbounded!) I now have the task of reinstalling apache.

Before all this, I installed it from /usr/ports/apache22 (make install) and everything worked great after a tiny bit of editing in the httpd.conf.

During my MySQL troubleshooting, I performed a "pkg_delete apache22". Now, I try to do a "make install" again from /usr/ports/apache22 but now it doesn't do anything. I tried a "make", but same story. It just goes like this:

cigva# pwd
/usr/ports/www/apache22
cigva# make install
cigva#

I would have liked to see a myriad of action going on here instead of the above Smilie

Therefore, my question is - if you already have used make install on a port one time, how do you reinstall this port in the future if you uninstall it as I did? I tried pkg_add apache22 but it just says that it cannot stat the package file apache22.

Can anyone help me with this, probably simple, question?

Thanks in advance,

/Klaus
# 2  
Old 10-21-2008
Did you completely remove apache22?
Code:
 pkg_info apache22

If so, is your ports tree up-to-date?

Is there anything listed in the apache22 port directory?
Code:
ls -a /usr/ports/www/apache22

You could also try manually removing apache22 with:
Code:
cd /usr/ports/www/apache22; make deinstall distclean; make install

# 3  
Old 10-22-2008
Unless you have specific reason for compiling apache from source, you can just use "pkg_add -r apache" or replace apache with respective software. Are you sure you have downloaded ports tree, like for example "portsnap fetch" , "portsnap extract" ?
# 4  
Old 10-22-2008
glen.barber,
Your "make deinstall distclean" followed up by a new "make install" was right on, it fixed the problem and my Apache is now again up and running.

sysgate,
Thank you for the tricks, I was not aware of those options. I'll be sure to test them the next time the need arises Smilie

Thanks to you both for your time!

/Klaus
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Red Hat

Problem to bind to local ports on Fedora 13

A problem with binding to local ports (22,23,80) in Fedora 13. Ports look not used. sshd, webserver is not running. I am using java remote connection manager. It is working fine with IE or Firefox in Windows with any user account. With Fedora 13, it starts via Firefox with not root account and... (0 Replies)
Discussion started by: gogogo
0 Replies

2. UNIX for Dummies Questions & Answers

Problem while installing WAS ND package

Hi everyone, Hope u doing good. I am trying to installl WebSphere Application Server(WAS) ND package, i got problem at initial level I hope, the problem is with Mozilla browzer. Can anyone trobleshoot the problem An error occurred while starting the launchpad for a WebSphere Application ... (0 Replies)
Discussion started by: sarfraz
0 Replies

3. BSD

Installing ports upon FreeBSD install

I use DesktopBSD (FreeBSD + KDE) and regularly install this on our machines. Currently I go to the package manager to install the ports, but what shell command can I enter instead right after BSD install to install the ports? Thanks in advance (3 Replies)
Discussion started by: figaro
3 Replies

4. Solaris

problem while installing on X-86

Hi all, I tried to install Sun Solaris 10 on a X-86 based machine. I have dedicated entire diskspace to create auto partition. My hardware config is below: Main Board : Asus Processor : Intel 945 , 3 G/Hz RAM : 1 Gigs Diskspace : 80 Gigs When I install, installation goes successful.... (1 Reply)
Discussion started by: naw_deepak
1 Replies

5. Solaris

problem installing solaris 10

I tried to install solaris 10 on a Netra T2000 server. From prompt ok, I entered "boot cdrom - install" command. Then, things seems to work normally. Except that nothing happend after displaying "Configuring the /devices". It seems that, installation never arrived to configure /devices. ... (4 Replies)
Discussion started by: Thom
4 Replies

6. IP Networking

problem opening TCP ports

Please can somebody help me. I'm trying to open ports 999, 1982 and 1983 but am not having much luck. I used iptables -A INPUT -i eth0 -p tcp --sport 999 -m state --state NEW,ESTABLISHED -j ACCEPT iptables -A INPUT -i eth0 -p tcp --sport 1982 -m state --state NEW,ESTABLISHED -j ACCEPT iptables... (5 Replies)
Discussion started by: thehaapyappy
5 Replies

7. UNIX for Dummies Questions & Answers

Please help. I have a problem with installing FreeBSD

hi. I am newbie in Unix. I wanted to install Free BSD 5.2.1 to my computer which winXp was already installed. But i couldn't. I chose Standard. Then it said you are going to use dos style fdisk partitioning. Then a window displayed begining like this. WARNING: A geometry of 155127/16/63 for... (2 Replies)
Discussion started by: sualcavab
2 Replies

8. Solaris

Problem installing Solaris 9

Hi all, i am new in solaris, i have a solris server Ultra 60, when i turn on the server show me the follow error: Bad magic number in disk label can`t open disk label package Boot device: net File and args: Timeouot waiting for ARP/RARP packet Timeouot waiting for ARP/RARP packet .... I... (3 Replies)
Discussion started by: elimunoz
3 Replies

9. UNIX for Dummies Questions & Answers

Problem installing openssh v2.9-p2

I am trying to install openssh v2.9-p2 on Solaris 8. I already installed zlib and openssl, as required in INSTALL file. But when I issue ./configure to configure openssh v2.9-p2 for my platform ( I got the sources), it stops in the folowing message: checking for OpenSSL directory... configure:... (1 Reply)
Discussion started by: htsubamoto
1 Replies

10. UNIX for Dummies Questions & Answers

Installing a modem on a serial accelerator ports

I had been using a modem installed on a Digi accelerator port to dial in to an SCO open server r5 server. On monday it quit working and I realy don't know how it was installed and configured. I have tested the modem on a PC and it works. The port the modem is connected to is ttyB06 and I have... (1 Reply)
Discussion started by: kikkin
1 Replies
Login or Register to Ask a Question