Install guide (Was: Re: Urgent help needed : portmaster dies on py-cairo)
On Wednesday 08 July 2009 19:45:05 Manish Jain wrote: == Part-1)Immediately after a fresh FreeBSD-7.2#RELEASE install : I assume you will at some stage or the other install a linux port, eg acroread8 or acroread9, linux-ymessenger, etc. Incidentally, unless you have specific needs, prefer acroread8 over acroread9. Adding to assumptions: one wants to use gnome as desktop. All following steps are to be executed as root. a)Make sure /etc/rc.conf has at least the following 5 lines. dbus_enable=YES hald_enable=YES polkitd_enable=YES gnome_enable=YES linux_enable=YES b)Make sure /boot/loader.conf has at least the following 3 lines. kern.maxdsiz=734003200 This is a) not needed and b) doesn't do anything useful, since the default will still be the compiled default, unless you also set kern.defdsiz. The only thing this does is allow the datasize limit to be raised to 700M, using limits(1), but since the default still is 512M an unaware application will still fail malloc(3) if allocating beyond 512M. linprocfs_load=YES linsysfs_load=YES Which ports you mention require linsysfs? c)Make sure /etc/fstab has at least the following 3 lines. proc/proc procfs rw00 linproc /usr/compat/linux/proclinprocfsrw00 linsys /usr/compat/linux/sys linsysfs rw0 0 Better to use /compat/linux/*. While by default it resides on /usr, it is convenient to be able to change the symlink, for example to test a new linux_base port without wiping the current one or to free up space on the /usr partition. d)Upgrage from python25 to python26 along with all dependent ports as follows : rm -rf /usr/ports 2/dev/null Or you can simply not install the ports distribution, since this is the first thing you do. I also don't understand why you install a boatload of packages from CD/DVD only to complicate things by upgrading by my estimate at least 70%. Why not just portsnap and build the leafs? mkdir -p /usr/ports/distfiles portsnap fetch extract cd /usr/ports/ports-mgmt/portupgrade make deinstall 2/dev/null make install clean portupgrade -C -r -o lang/python26 lang/python25 portupgrade -rfx python26 python26 pkgdb -F Before doing anything further, reboot. This needs a reason. I don't know any. Immediately after reboot, execute Part-2. Part-2) Steps to be followed whenever a significant number new ports/patches are available and you need to ensure your ports as well as your ports directory are up to date : thisdate=`date +%Y-%m-%n` I assume that's %d, since %n is a newline. rm /root/portupgrade-${thisdate}.log 2/dev/null portsnap fetch update portupgrade -ace -uRl /root/portupgrade-${thisdate}.log pkgdb -F Note : If you plan to install any linux ports, you should have said yes to 'Linux binary compatibility' at the time you installed FreeBSD. If you didn't, the very first port you need to build is emulators/linux_base-fc4 If you use net/skype you will need linux_base-fc6, so again using sysinstall can be a problem. -- Mel ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Urgent help needed : portmaster dies on py-cairo
b. f. wrote: On 7/6/09, manish jain invalid.poin...@gmail.com wrote: 2009/7/6 b. f. bf1...@googlemail.com After running pkgdb -F, I find that there hundreds of ports depending on python2.5. Most of these are probably indirectly dependent, and may not be seriously affected. Many, for example, may have been dragged in by xorg's silly dependency on python via libxcb. Looks to me it will be easier to backup my dstfiles and reinstall the whole system afresh a 3rd time rather than trying to fix the existing ports. This time I will install no packages from the installation media, and build directly from ports instead. The first 2 ports I will build this time will be lang/python26 followed by lang/python. Sounds good. I suppose this should set the systemwide default python version to 2.6. As the others have mentioned, you don't need to do this unless you wish to use a version of python other than 2.6, which is now the default. 1) How do I find or set PYTHON_DEFAULT_VERSION ? 2) What workaround would be needed in make.conf to get 2.5-hardwired ports to use 2.6 instead ? 1) See above. 2) I didn't mean, as Seaman seemed to think, and you may have, that you can use ports built against 2.5 with 2.6. That would only rarely work, and most likely lead to all sorts of problems. Instead you should proceed with your plan, and rebuild all dependent ports via: pkgdb -L pkgdb -F portupgrade -fvrx lang/python26 lang/python26 rm -r /usr/local/lib/python2.5 or rebuild just that subset of ports that are most likely to be broken by the change, via the upgrade-site-packages target in lang/python, as Seaman suggested. What I meant by my original comment was, that if you should happen to want to build a port against 2.6, but find that it is hardwired in the port Makefile via USE_PYTHON to another version or versions, and you don't want to go to the trouble of patching the port Makefile, and then preserving this local modification when you merge in updates to the port tree, you can add a workaround in /etc/make.conf. Say, for example, you see that mail/py-spambayes has: USE_PYTHON= -2.5 in the port Makefile, and you want to install spambayes, but you don't want to have to reinstall python 2.5 or an earlier version of python. If you add: .if${.CURDIR:M*/mail/py-spambayes*} PYTHON_VERSION=python2.6 NO_IGNORE=yes .endif to /etc/make.conf, you can override the spambayes port Makefile without patching it. Now, you are _not_ supposed to do this, and you will probably have to deal with any consequences of such a local change on your own. Many ports have these restrictions for a good reason, but such an override can be occasionally useful. b. Hi, After a marathon session spread over 2 days, I have managed to set up a new FreeBSD-7.2 installation with all ports (762) up to date. From the gleanings of this conversation and some reading I did myself, I have compiled a small document for what-to-do-after-installation. I would dearly appreciate your comments on the document, and would be extremely glad if my document could be of any help to somebody else too. Please note that portupgrade works much better on my system than portmaster. So the following document assumes/recommends using portupgrade. Here it is. == Part-1)Immediately after a fresh FreeBSD-7.2#RELEASE install : I assume you will at some stage or the other install a linux port, eg acroread8 or acroread9, linux-ymessenger, etc. Incidentally, unless you have specific needs, prefer acroread8 over acroread9. All following steps are to be executed as root. a)Make sure /etc/rc.conf has at least the following 5 lines. dbus_enable=YES hald_enable=YES polkitd_enable=YES gnome_enable=YES linux_enable=YES b)Make sure /boot/loader.conf has at least the following 3 lines. kern.maxdsiz=734003200 linprocfs_load=YES linsysfs_load=YES c)Make sure /etc/fstab has at least the following 3 lines. proc/proc procfs rw00 linproc /usr/compat/linux/proclinprocfsrw00 linsys /usr/compat/linux/sys linsysfs rw0 0 d)Upgrage from python25 to python26 along with all dependent ports as follows : rm -rf /usr/ports 2/dev/null mkdir -p /usr/ports/distfiles portsnap fetch extract cd /usr/ports/ports-mgmt/portupgrade make deinstall 2/dev/null make install clean portupgrade -C -r -o lang/python26 lang/python25 portupgrade -rfx python26 python26 pkgdb -F Before doing anything further, reboot. Immediately after reboot, execute Part-2. Part-2) Steps to be followed whenever a significant number new ports/patches are available and you need to ensure your ports as well as your ports directory are up to date : thisdate=`date +%Y-%m-%n` rm /root/portupgrade-${thisdate}.log 2/dev/null portsnap fetch update portupgrade
Re: Urgent help needed : portmaster dies on py-cairo
2009/7/6 b. f. bf1...@googlemail.com Manish Jain wrote: After 3-4 hours, portsnap died on graphics/py-cairo saying : cannot find python headers I'm guessing you meant portmaster died here ... /usr/ports/graphics/py-cairo/work/pycairo-1.8.4/config.log says : configure:4734: cc -E -I/usr/local/include conftest.c conftest.c:10:28: error: ac_nonexistent.h: No such file or directory configure:4741: $? = 1 cd /usr find . -name 'ac_nonexistent.h' #no results As the name suggests, this header doesn't really exist. It's just a dummy header used during a test in the configure script to see how the compiler reacts when a header isn't there, in preparation for testing for the presence of real headers. That shouldn't be the problem: are you sure the configure script really failed at that point? If so, something is probably wrong with your compiler or toolchain, and that's usually bad news. :( py-cairo-1.8.4 needs python2.6. My system has both python2.5 and python2.6 installed, with their headers under /usr/local/include/python2.5 and /usr/local/include/python2.6 respectively. Why do you have both versions installed? 2.6 is largely backwards-compatible with 2.5, so why not just rip out 2.5 and use 2.6 exclusively? You'll save some trouble and disk space. Make sure your ports tree is up-to-date, so that PYTHON_DEFAULT_VERSION defaults to python2.6. Then deinstall lang/python25 and reinstall lang/python26. In particular, check to see that /usr/local/bin/python is present is a link to /usr/local/bin/python2.6. If it isn't, then something is wrong -- perhaps you have PYTHON_VERSION or PYTHON_DEFAULT_VERSION defined to the wrong value, or your ports tree is corrupt. Then rebuild all of the ports that depend upon python, and remove any vestige of the old /usr/local/lib/python2.5 directory tree. If you've stale ports that are still wired to use python2.5 for no good reason, you can patch them or their port Makefiles, or put a workaround in make.conf. Any help on enabling py-cairo locate the python headers would be greatly appreciated. What is the output of: make -C /usr/ports/graphics/py-cairo -V CONFIGURE_ENV If PYTHON is in there, properly defined as the path to the python2.6 binary, and the binary actually exists, then the configure script should succeed. If not, something is wrong. The configure script uses: PYTHON_INCLUDES=`$PYTHON-config --includes 2/dev/null` to find the proper Python.h. Is /usr/local/bin/python2.6-config missing or broken on your system? What about /usr/local/include/python2.6/Python.h? b. Hello B, Thanks for your help. After running pkgdb -F, I find that there hundreds of ports depending on python2.5. Looks to me it will be easier to backup my dstfiles and reinstall the whole system afresh a 3rd time rather than trying to fix the existing ports. This time I will install no packages from the installation media, and build directly from ports instead. The first 2 ports I will build this time will be lang/python26 followed by lang/python. I suppose this should set the systemwide default python version to 2.6. Before I undertake this 3rd attempt, I request a few clarifications so that everything comes out fine this time around. something is wrong -- perhaps you have PYTHON_VERSION or PYTHON_DEFAULT_VERSION defined to the wrong value, or your ports tree is corrupt. Then rebuild all of the ports that depend upon python, and remove any vestige of the old /usr/local/lib/python2.5 directory tree. If you've stale ports that are still wired to use python2.5 for no good reason, you can patch them or their port Makefiles, or put a workaround in make.conf. 1) How do I find or set PYTHON_DEFAULT_VERSION ? 2) What workaround would be needed in make.conf to get 2.5-hardwired ports to use 2.6 instead ? Thanks for any help. Regards Manish Jain invalid.poin...@gmail.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Urgent help needed : portmaster dies on py-cairo
On Mon, Jul 06, 2009 at 02:50:35PM +0530, manish jain wrote: 2009/7/6 b. f. bf1...@googlemail.com After running pkgdb -F, I find that there hundreds of ports depending on python2.5. You shouldn't have 2.5 installed at all. It should be upgraded to 2.6 and changes propagated to all dependent ports, see /usr/ports/UPDATE entry from 20090608. I've 99 ports depending on python 2.6, and my update was quite smooth, IIRC. 1) How do I find or set PYTHON_DEFAULT_VERSION ? 2) What workaround would be needed in make.conf to get 2.5-hardwired ports to use 2.6 instead ? I never had to mess with this, and I don't think it is a good idea. What I would probably do in your situation, is delete python2.5 forcefully, reinstall python2.6, and then reinstall any port which complains. -- Anton Shterenlikht Room 2.6, Queen's Building Mech Eng Dept Bristol University University Walk, Bristol BS8 1TR, UK Tel: +44 (0)117 928 8233 Fax: +44 (0)117 929 4423 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Urgent help needed : portmaster dies on py-cairo
manish jain wrote: 1) How do I find or set PYTHON_DEFAULT_VERSION ? It's defined in /usr/ports/Mk/bsd.python.mk -- the default is 'python2.6' since 2009-06-08. If you want to use a non-default value you can override the default by adding eg.: PYTHON_DEFAULT_VERSION= python2.5 to /etc/make.conf. You can see what actual value value is used by issuing the following command in any port that uses python: happy-idiot-talk:...ports/graphics/py-cairo:% make -V PYTHON_DEFAULT_VERSION python2.6 Note that 'PYTHON_DEFAULT_VERSION' is the python version any add-on modules will be compiled against. The similar 'PYTHON_VERSION' variable indicates which version of python you'ld get by running the command 'python'. Please read the descriptions at the top of bsd.python.mk for more detail. 2) What workaround would be needed in make.conf to get 2.5-hardwired ports to use 2.6 instead ? You can't do it that way. Previously installed ports have to be modified to use py26, as described in the 20090608 entry in /usr/ports/UPDATING: Once the installed Python has been updated to 2.6, by using the method above, it is required to run the upgrade-site-packages target in lang/python to assure that site-packages are made available to the new Python version. If using portupgrade: # cd /usr/ports/lang/python make upgrade-site-packages If using portmaster: # cd /usr/ports/lang/python make upgrade-site-packages -DUSE_PORTMASTER The portmaster case can take quite some time to complete due to the lack of cached information that the portupgrade suite uses (specifically pkg_which). This is not the fault of portmaster. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW signature.asc Description: OpenPGP digital signature
Re: Urgent help needed : portmaster dies on py-cairo
On 7/6/09, manish jain invalid.poin...@gmail.com wrote: 2009/7/6 b. f. bf1...@googlemail.com After running pkgdb -F, I find that there hundreds of ports depending on python2.5. Most of these are probably indirectly dependent, and may not be seriously affected. Many, for example, may have been dragged in by xorg's silly dependency on python via libxcb. Looks to me it will be easier to backup my dstfiles and reinstall the whole system afresh a 3rd time rather than trying to fix the existing ports. This time I will install no packages from the installation media, and build directly from ports instead. The first 2 ports I will build this time will be lang/python26 followed by lang/python. Sounds good. I suppose this should set the systemwide default python version to 2.6. As the others have mentioned, you don't need to do this unless you wish to use a version of python other than 2.6, which is now the default. 1) How do I find or set PYTHON_DEFAULT_VERSION ? 2) What workaround would be needed in make.conf to get 2.5-hardwired ports to use 2.6 instead ? 1) See above. 2) I didn't mean, as Seaman seemed to think, and you may have, that you can use ports built against 2.5 with 2.6. That would only rarely work, and most likely lead to all sorts of problems. Instead you should proceed with your plan, and rebuild all dependent ports via: pkgdb -L pkgdb -F portupgrade -fvrx lang/python26 lang/python26 rm -r /usr/local/lib/python2.5 or rebuild just that subset of ports that are most likely to be broken by the change, via the upgrade-site-packages target in lang/python, as Seaman suggested. What I meant by my original comment was, that if you should happen to want to build a port against 2.6, but find that it is hardwired in the port Makefile via USE_PYTHON to another version or versions, and you don't want to go to the trouble of patching the port Makefile, and then preserving this local modification when you merge in updates to the port tree, you can add a workaround in /etc/make.conf. Say, for example, you see that mail/py-spambayes has: USE_PYTHON= -2.5 in the port Makefile, and you want to install spambayes, but you don't want to have to reinstall python 2.5 or an earlier version of python. If you add: .if${.CURDIR:M*/mail/py-spambayes*} PYTHON_VERSION=python2.6 NO_IGNORE=yes .endif to /etc/make.conf, you can override the spambayes port Makefile without patching it. Now, you are _not_ supposed to do this, and you will probably have to deal with any consequences of such a local change on your own. Many ports have these restrictions for a good reason, but such an override can be occasionally useful. b. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Urgent help needed : portmaster dies on py-cairo
Manish Jain wrote: After 3-4 hours, portsnap died on graphics/py-cairo saying : cannot find python headers I'm guessing you meant portmaster died here ... /usr/ports/graphics/py-cairo/work/pycairo-1.8.4/config.log says : configure:4734: cc -E -I/usr/local/include conftest.c conftest.c:10:28: error: ac_nonexistent.h: No such file or directory configure:4741: $? = 1 cd /usr find . -name 'ac_nonexistent.h' #no results As the name suggests, this header doesn't really exist. It's just a dummy header used during a test in the configure script to see how the compiler reacts when a header isn't there, in preparation for testing for the presence of real headers. That shouldn't be the problem: are you sure the configure script really failed at that point? If so, something is probably wrong with your compiler or toolchain, and that's usually bad news. :( py-cairo-1.8.4 needs python2.6. My system has both python2.5 and python2.6 installed, with their headers under /usr/local/include/python2.5 and /usr/local/include/python2.6 respectively. Why do you have both versions installed? 2.6 is largely backwards-compatible with 2.5, so why not just rip out 2.5 and use 2.6 exclusively? You'll save some trouble and disk space. Make sure your ports tree is up-to-date, so that PYTHON_DEFAULT_VERSION defaults to python2.6. Then deinstall lang/python25 and reinstall lang/python26. In particular, check to see that /usr/local/bin/python is present is a link to /usr/local/bin/python2.6. If it isn't, then something is wrong -- perhaps you have PYTHON_VERSION or PYTHON_DEFAULT_VERSION defined to the wrong value, or your ports tree is corrupt. Then rebuild all of the ports that depend upon python, and remove any vestige of the old /usr/local/lib/python2.5 directory tree. If you've stale ports that are still wired to use python2.5 for no good reason, you can patch them or their port Makefiles, or put a workaround in make.conf. Any help on enabling py-cairo locate the python headers would be greatly appreciated. What is the output of: make -C /usr/ports/graphics/py-cairo -V CONFIGURE_ENV If PYTHON is in there, properly defined as the path to the python2.6 binary, and the binary actually exists, then the configure script should succeed. If not, something is wrong. The configure script uses: PYTHON_INCLUDES=`$PYTHON-config --includes 2/dev/null` to find the proper Python.h. Is /usr/local/bin/python2.6-config missing or broken on your system? What about /usr/local/include/python2.6/Python.h? b. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Urgent help needed please: Gvinum problem
Ian Lord wrote: Hi, We had a power lost even though we have ups and generators (still investigating it) and when the machine rebooted one of the disk seems to be failed : The system complains about fsck repaired failed and that I must run it manually. It then boots in single user mode. I entered gvinum and pressed “l” to see the status of the drive and I get this: My volume is UP My plex is shown as degraded I have 3 of the 4 subdisks shown as UP the 4th is shown as down. Running “gvinum /dev/gvinum/RAID5” which is the name of my volume gets me this error: ** /dev/gvinum/RAID5 Cannot find file system superblock Ioctl (GCINFO): Inapropriate ioctl for device fsck_ufs: /dev/gvinum/RAID5: can’t read disk label I tried “bsdlabel gvinum/RAID5” it tells me there is no valid label found Does anyone knows what I can try to try to put back system online (at least, so I can restore a backup on the disk) I'm trying to find my vinum notes, but can't as of yet... What does a: # fsck -y /dev/gvinum/RAID5 ...yield...anything? Steve ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
RE: Urgent help needed please: Gvinum problem
Hi, We had a power lost even though we have ups and generators (still investigating it) and when the machine rebooted one of the disk seems to be failed : The system complains about fsck repaired failed and that I must run it manually. It then boots in single user mode. I entered gvinum and pressed l to see the status of the drive and I get this: My volume is UP My plex is shown as degraded I have 3 of the 4 subdisks shown as UP the 4th is shown as down. Running gvinum /dev/gvinum/RAID5 which is the name of my volume gets me this error: ** /dev/gvinum/RAID5 Cannot find file system superblock Ioctl (GCINFO): Inapropriate ioctl for device fsck_ufs: /dev/gvinum/RAID5: can't read disk label I tried bsdlabel gvinum/RAID5 it tells me there is no valid label found Does anyone knows what I can try to try to put back system online (at least, so I can restore a backup on the disk) I'm trying to find my vinum notes, but can't as of yet... What does a: # fsck -y /dev/gvinum/RAID5 ...yield...anything? Steve ~ Same :( But thanks all, I just did a newfs and currently restoring backups on it Strange... Last time I will will gvinum, nothing as stable as a hardware controller I guess :( ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
RE: Urgent help needed please: pecl-memcache problem after upgrade of php
-Original Message- From: B. Cook [mailto:[EMAIL PROTECTED] Sent: 13 août 2007 13:54 To: Ian Lord Subject: Re: Urgent help needed please: pecl-memcache problem after upgrade of php Have you tried rebuilding the port? memcache to reflect your current version of php? Thats usually what I need to do. cd /usr/ports/www/memcache (or whatever it is..) make clean make make deinstall make install sync then try a php -v or php-cgi -v and see what happens. Ian Lord wrote, On 8/13/07 10:49 AM: Hi, I just did a portupgrade -a and now memcache doesn't work anymore in php. Here are the version portupgrade installed: pecl-memcache-2.1.2 memcached-1.2.2 php5-5.2.3_1 In php/error.log I can see this error message [13-Aug-2007 10:38:20] PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/20060613/memcache.so' - /usr/local/lib/php/20060613/memcache.so: Undefined symbol quot;php_session_create_idquot; in Unknown on line 0 Can anyone help please If not able to fix (might be a problem with the port, what is the easiest way to go back to previous version) Thanks p.s. Please reply to me directly as I am only registered on the digest list ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- B. Cook Network Analyst Poughkeepsie City School District Mobile: 845.264.5827 | Desk: 845.451.4791 Thanks for your help... The problem was not with the memcache port but with the pecl-memcache port... Doing as you suggested, fixed the problem make clean, followed by a make deinstall and make install Before sending the message I already tried a make deinstall / make reinstall and it didnt work. Any idea why 1- Portupgrade broke the thing ? 2- a make clean/make deinstall/make install is better than a make deinstall/make reinstall ? Thanks ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Urgent help needed please: pecl-memcache problem after upgrade of php
On Tue, 14 Aug 2007 03:01:15 -0400 Ian Lord [EMAIL PROTECTED] wrote: 1- Portupgrade broke the thing ? portupgrade upgraded libraries that were referenced by other objects...for some reason, pecl / php stuff is very picky. Maybe the ports need to be updated in unison / force upgrades of the other (if installed)... 2- a make clean/make deinstall/make install is better than a make deinstall/make reinstall ? not sure, make clean forces a full rebuild of the port ... i think it goes back to the point that portupgrade may not realise it needs to update the other port...if u tell it exactly what to update then it should work too with portupgrade _ {Beto|Norberto|Numard} Meijome Never take Life too seriously, no one gets out alive anyway. I speak for myself, not my employer. Contents may be hot. Slippery when wet. Reading disclaimers makes you go blind. Writing them is worse. You have been Warned. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Urgent help needed please: pecl-memcache problem after upgrade of php
On Mon, 13 Aug 2007 10:49:48 -0400 Ian Lord [EMAIL PROTECTED] wrote: Hi, I just did a portupgrade -a and now memcache doesn't work anymore in php. best practice is to test upgrades before applying them to production :) Here are the version portupgrade installed: pecl-memcache-2.1.2 memcached-1.2.2 php5-5.2.3_1 In php/error.log I can see this error message [13-Aug-2007 10:38:20] PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/20060613/memcache.so' - /usr/local/lib/php/20060613/memcache.so: Undefined symbol quot;php_session_create_idquot; in Unknown on line 0 it could be that memcache and php got out of sync with the php modules. try rebuilding all the php modules ( portupgrade -fp php-* ) . the -p will make binary packages after installing the ports [...] If not able to fix (might be a problem with the port, what is the easiest way to go back to previous version) - have you kept packages of the previously installed versions? you an use them to revert back - you can try to move the ports tree back to before those upgrades happened, and force a downgrade to those versions. i still think the fastest way is to rebuild php* good luck, B _ {Beto|Norberto|Numard} Meijome Egotism is the anesthetic that dulls the pain of stupidity. Frank Leahy I speak for myself, not my employer. Contents may be hot. Slippery when wet. Reading disclaimers makes you go blind. Writing them is worse. You have been Warned. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Urgent Help needed: How to boot in single user mode with usb keyboard
Ian Lord wrote: Hi, I am currently in a maintenance window trying to rebuildworld... I am doing it on a dell poweredge with a built in drac wich emulate a usb keyboard... When I need to boot on the drac, I need to use boot with usb keyboard in the menu... Now I need to boot in single mode WITH usb keyboard and I can't figure out... I saw in a post that I could do the following in boot loader: set hint.atkbd.0.flags=0x1 boot -s Is the kernel you boot built with support for usb keyboard? if not, I think you can do something like load ukbd boot -s you may also need some other modules depending on your hardware. Cheers, Erik -- Ph: +34.666334818 web: www.locolomo.org S/MIME Certificate: www.daemonsecurity.com/ca/8D03551FFCE04F06.crt Subject ID: 9E:AA:18:E6:94:7A:91:44:0A:E4:DD:87:73:7F:4E:82:E7:08:9C:72 Fingerprint: 5B:D5:1E:3E:47:E7:EC:1C:4C:C8:3A:19:CC:AE:14:F5:DF:18:0F:B9 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: urgent help
On Mon, Dec 27, 2004 at 04:17:38AM -0500, kalin mintchev wrote: the machine would come up. then netsat or ping or ssh will crash it... the first time i had to add the sshd user and group... crash is about as helpful as it's broken!. Are core files generated? Are there any error messages? Does the machine instantaneously reboot? Hard-freeze? You also might want to try running the programs under a debugger. 4.6 to 4.10 is a pretty big jump. Altogether, it'd probably be best to tar up your configuration files, clean-install 4.10 (or 5.3 for that matter) and manually merge your changes in, consulting any documentation available for the 4.6 - 4.7, 4.7 - 4.8, 4.8 - 4.9, and 4.9 - 4.10 upgrades to make sure you get your config files updated properly. -- Adam Fabian ([EMAIL PROTECTED]) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: urgent help
PLEASE REPLY TO [EMAIL PROTECTED] upgraded from 4.6 = 4.10 rel network programs are craching the new system: netstat, ping, the qmail tcp server all of them... sshd is running but when accessing from outside it panics too... what is it? can i turn something off in the kernel?! -- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: urgent help
At 09:35 27.12.2004, you wrote: PLEASE REPLY TO [EMAIL PROTECTED] upgraded from 4.6 = 4.10 rel network programs are craching the new system: netstat, ping, the qmail tcp server all of them... sshd is running but when accessing from outside it panics too... what is it? can i turn something off in the kernel?! Did you make world in addition to recompiling the Kernel? Sounds like your system is out of sync. Here's a note about how I did it a while back: http://home.eunet.no/~awand/freebsd-4.6_installasjon.txt (it's in Norwegian, but all commands and order should be understandable. /Andreas --- Norsk Smalfilm Andreas Widerøe Andersen [EMAIL PROTECTED] http://www.smalfilm.no Tel:(+47) 38 17 99 16 Fax:(+47) 38 02 33 84 Mob:(+47) 90 92 61 21 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: urgent help
kalin mintchev [EMAIL PROTECTED] wrote: PLEASE REPLY TO [EMAIL PROTECTED] upgraded from 4.6 = 4.10 rel network programs are craching the new system: netstat, ping, the qmail tcp server all of them... sshd is running but when accessing from outside it panics too... what is it? can i turn something off in the kernel?! What process did you follow to update? It sounds to me like you didn't complete the upgrade process, skipped a step, or did it improperly. There's no reason I can think of that upgrading should cause things to panic, unless you did the upgrade process improperly. -- Bill Moran Potential Technologies http://www.potentialtech.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: urgent help
PLEASE REPLY TO [EMAIL PROTECTED] thank you Bill for rplying... well i did it a few times with the same success. it's not the first time i'm doing it. it's the first time with the 4.x.. i followed the handbook step by step - rebuild devs too.. and then cleaned up obj.. to make it all again - the same problems were happening after every try... the machine would come up. then netsat or ping or ssh will crash it... the first time i had to add the sshd user and group... i mostly installed the new etc files except the passwd, group and hosts... i have a copy of the old etc... what else do i need? kalin mintchev [EMAIL PROTECTED] wrote: PLEASE REPLY TO [EMAIL PROTECTED] upgraded from 4.6 = 4.10 rel network programs are craching the new system: netstat, ping, the qmail tcp server all of them... sshd is running but when accessing from outside it panics too... what is it? can i turn something off in the kernel?! What process did you follow to update? It sounds to me like you didn't complete the upgrade process, skipped a step, or did it improperly. There's no reason I can think of that upgrading should cause things to panic, unless you did the upgrade process improperly. -- Bill Moran Potential Technologies http://www.potentialtech.com -- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: urgent help
On Mon, Dec 27, 2004 at 02:40:34PM +0100, Andreas Wider?e Andersen typed: At 09:35 27.12.2004, you wrote: PLEASE REPLY TO [EMAIL PROTECTED] upgraded from 4.6 = 4.10 rel network programs are craching the new system: netstat, ping, the qmail tcp server all of them... sshd is running but when accessing from outside it panics too... what is it? can i turn something off in the kernel?! Did you make world in addition to recompiling the Kernel? Sounds like your system is out of sync. Here's a note about how I did it a while back: http://home.eunet.no/~awand/freebsd-4.6_installasjon.txt (it's in Norwegian, but all commands and order should be understandable. From this document I understand you do a make buildkernel before you do a make buildworld. That's not the recommended order. Build world before you build kernel. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: urgent help
PLEASE REPLY TO [EMAIL PROTECTED] On Mon, Dec 27, 2004 at 02:40:34PM +0100, Andreas Wider?e Andersen typed: At 09:35 27.12.2004, you wrote: PLEASE REPLY TO [EMAIL PROTECTED] upgraded from 4.6 = 4.10 rel network programs are craching the new system: netstat, ping, the qmail tcp server all of them... sshd is running but when accessing from outside it panics too... what is it? can i turn something off in the kernel?! Did you make world in addition to recompiling the Kernel? Sounds like your system is out of sync. Here's a note about how I did it a while back: http://home.eunet.no/~awand/freebsd-4.6_installasjon.txt (it's in Norwegian, but all commands and order should be understandable. how do i make it in sync?! i did buildworld first - as it's in the handbook. i've done 5.x five before without a problem... this is for a mailserver in production... From this document I understand you do a make buildkernel before you do a make buildworld. That's not the recommended order. Build world before you build kernel. -- -- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: urgent help
On Tue, 10 Dec 2002, [iso-8859-1] shubha mr wrote: Hi, I am trying to install samba on my freeBSD machine and it says /: write file system full .Looks like the hard disk is not sufficient.How do I solve this issue,meaning to uninstall a few things? depending on the packages you have installed you can run pkg_info to see all the installed packages and then remove the ones you don't want to use/need. to do so the easy way go to /usr/ports/sysutils/pkg_remove/ and do a make make install make clean after that you can remove packages by using pkg_remove pkg name emptying the /usr/ports/distfiles should help to :-) i don't know what kind of disk (size) you are using and how it is partitioned so this is about all the help i have for you. Marcel To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
RE: urgent help
Hy, Perhaps you can also do a: 1) cd /usr/ports make clean make distclean (this will take some time an clean up you /usr/ports/dist directory an your /usr/ports directory) You might not need to clean the entire /usr/ports directories perhaps only /usr/ports/x11-wm/kde3 for example if you have compile kde3 from the ports. 2) cd /usr/obj chflags -R noschg * 3) while of course still in the /usr/obj directory rm -rf * (be aware of this command) Point 2 3 are only usefull if you have make world or compile and build stuff from the sources! It will clean up this directories 4) pkg_delete or pkg_remove stuff Good luck -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of shubha mr Sent: Tuesday, December 10, 2002 13:17 To: [EMAIL PROTECTED] Subject: urgent help Hi, I am trying to install samba on my freeBSD machine and it says /: write file system full .Looks like the hard disk is not sufficient.How do I solve this issue,meaning to uninstall a few things? thanks shubha __ Do You Yahoo!? Everything you'll ever need on one web page from News and Sport to Email and Music Charts http://uk.my.yahoo.com To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message