This is the closest thing to pkg:
pkgconf-0.8.9 = up-to-date with index
# l /var/db/pkg/pk*
-rw-r--r-- 1 root wheel 4916224 Nov 7 09:44 /var/db/pkg/pkgdb.db
/var/db/pkg/pkgconf-0.8.9:
total 48
-rw-r--r-- 1 root wheel 60 Sep 15 12:08 +COMMENT
-rw-r--r-- 1...
Thanks, but I'm getting the same error:
===> Installing for pkg-1.0.2
===> Generating temporary packing list
===> Checking if ports-mgmt/pkg already installed
===> pkg-1.0.2 is already installed
You may wish to ``make deinstall'' and install this port again
by ``make...
This kind of thing seems to happen every once in a while when I try to update the installed ports. This time I deinstalled/reinstalled and that didn't help. Anyone get through this (I was trying to update portmaster, not pkg by the way, but this was the error I got because pkg must be a...
Thanks Matt! Went to my.cnf and commented out the "no-auto-rehash" line that was in there because of the config file I picked (probably medium). Fixed.
Thanks plamaiziere. I will investigate rlwrap. Not sure if it's bad form to mention this, but every Linux distribution I've ever used seems to have mysql with autocomplete. Do you know if they wrap the cl by default?
I switched my shell to bash so I could have tab auto-complete, but although it works fine at the command line generally, it doesn't work from the mysql prompt. Anyone know the answer? I couldn't find it searching here or google (admittedly not extensively). Thanks!
I was actually able to resolve the issue by a force pkg_delete. Then I reinstalled worker-mpm and ended up deciding to go back to apache22 with prefork since I've just got a core2 duo processor and I'm using php (two things I've read that make the worker-mpm advantage minimal or non-existent -...
Thanks, but it makes no difference if I config apache22 to use cgid instead of cgi, it still gives this same error. Also if I update apache individually, it just updates worker-mpm and leaves the old apache22 in the same state (outdated).
I deinstalled both, then reinstalled worker-mpm with this command:
make clean config
make install
but I'm still getting the same error:
# portmaster -ad --delete-packages
===>>> Gathering distinfo list for installed ports
===>>> Starting check of installed ports for available updates
===>>>...
Thanks. So is this a bug in the port? It's telling me that apache needs to be updated, but when I update apache22 with portmaster, it just re-installs apache22-worker-mpm and leaves apache22 at 2.2.22_5 so then portmaster or portupgrade both tell me that apache22 is out of date. I've got both...
Thanks. Actually rebooting solved the issue. I'm guessing that restarting apache might have also done the trick, but I'm not sure. This all happened after a port update that included php, mysql and apache22 threaded.
mysql
MySQL Support => enabled
Active Persistent Links => 0
Active Links =>...
Ok, thanks. I was wondering. So the port apache22-mpm-worker is what is actually being used, and apache22 is being ignored? I've tried uninstalling apache22, since I've got mpm-worker installed, but that doesn't seem to work for some reason.
portmaster seems to be able to update apache22, but then when I run: portmaster -L --index-only| egrep '(ew|ort) version|total install'
it still says I need to update apache22. Then if I try portmaster -ad --delete-packages it fails with the message listed in my first message.
I'm getting the following in /var/log/httpd-error.log:
PHP Fatal error: Call to undefined function mysql_connect() in /...
mysql seems to be installed (from php_info()):
mysqlnd
mysqlnd enabled
Version mysqlnd 5.0.8-dev - 20102224 - $Id: 65fe78e70ce53d27a6cd578597722950e490b0d0 $
Compression...
I unmarked CGI and marked CGID via make config in the apache22 port directory. Same error. I've spent a few hours searching, uninstalling apache22, installing apache22-worker-mpm but no luck. Anyone know what to do here?
===>>> Launching child to update apache-2.2.22_5 to...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.