RE: a very annoying pb with accounts
[EMAIL PROTECTED] wrote: Hi everybody, Here is my (weird) problem ... I opened /etc/spwd.db with ee and exited (which was actually a very bad idea, even if I did not modified anything). At this time, everything was still ok. Then, a few minutes later, I tried to su ... Impossible : I get some weird error message telling me su: who are you ? Then I tried to log directly from the login shell on tty0 with my account... unknown user. I add a look at /etc/passwd : everything was correct. And when I tried to recreate my account : user already exists Then I reboot (the second very bad idea in the same day), and user gdm didn't exist anymore. Exactly as if I forgot to make mergemaster after upgrading, but with only one difference : I actually didn't made a upgrade. So now the situation is : I can only access with root account. Does someone know when I did a mistake ? and does someone knows how to fix it ? Should I delete account in /etc/passwd and create them again ? I had this idea, but I didn't want to make another stupid thing today :) Thanks a lot I can only guess that you need to use pwd_mkdb. Probably the easiest way to do this is to use /sbin/vipw, just doing :wq to save the changes (though there will be none), which will run pwd_mkdb for you. Steve ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: PHP Install Options Problem
On Sunday 26 September 2004 14:00, Richard Collyer wrote: Hi All, I'm running FBSD 4.10 and recently had some problems with php. So i decided to de-install it and start again to see if that would help. Basically functions started to fail in Fatal Errors after upgrading to a newer version. Now when installing the package (from ports) it does not give any options to select what i want to install (i.e. no window saying mysql, xml support etc.). Is I think this is the root of the problem and php must not be installing the requred modules to handle the pages I am asking it to serve. PHP installs fine and the test page ( echo php_info(); ) works fine however alot of functons dont work such as preg_match() and mysql_connect() i get Fatal Error: etc... if these are called. Is thier a way to force the install to bring up these options or is thier a file where the values are installed that i could edit? when doing make it says: === Found saved configuration for mod_php4-4.3.8_2,1 Is thier a way to locate and delete this file. Atm using: cd /usr/ports/www/mod_php4/ make clean make make install make clean I have googled and searched the archive and nothing (as of yet) has turned up to be of much help. this is becoming a FAQ from /usr/ports/UPDATING 20040719: AFFECTS: users of PHP AUTHOR: [EMAIL PROTECTED] The old lang/php4 and lang/php5 ports have been splitted into 'base' PHP, PEAR, and shared extensions to allow more flexibility and add new features. Upgrading your current PHP installation will result in a 'base' PHP installation (no PEAR and no extensions). PEAR can be found in the new devel/php4-pear and devel/php5-pear ports, while the set of PHP extensions to install can be choosen via the meta-ports lang/php4-extensions and lang/php5-extensions, or installing singular extensions individually. If you have a previous php.ini configuration file, be sure to comment out the extension_dir parameter, since the correct path is statically compiled into the PHP binary. For an overview of the modules used with the old PHP binary, use the command php -m. Steve ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: NTLDR missing after 5-RELEASE install
On Tuesday 25 February 2003 16:58, Andrew Boothman wrote: Quoting Lucas Holt [EMAIL PROTECTED]: It probably is. You need to put in the win 2k CD and do a repair on your windows install.. unfortunetely this may screw up your freebsd install. On Tuesday, February 25, 2003, at 05:58 AM, Andrew Boothman wrote: Hi! I've just installed 5-RELEASE, and I asked for the FreeBSD Boot Manager to be installed on both my HDDs. When the machine boots I'm given options for : F1 - DOS F5 - Drive 2 Hitting F5 takes me to a second menu, where I can boot FreeBSD no problem. My problem is that Win2k will no longer boot Hitting F1 displays a message that, NTLDR is missing. I've tried all the repair options on the Win2k setup disc to no avail I think. I'm sorry this isn't directly FreeBSD related, but I really hope my Win2k installation isn't hosed. Thanks for replying! I can't understand how the 5.x boot manager has managed to break my windows boot, i've never had any trouble under 3.x or 4.x, both of which played with windows perfectly nicely. I think i've tried all of the various repair options on the Win2k CD, including getting it to do a fresh installation into a different folder (c:\tempwin), but even that failed with the NTLDR missing message! However you no longer get the booteasy (F1 F2) menu anymore, so Windows must have rewritten something. It still doesn't explain why Win2k still won't boot. I'm running out of ideas and I *really* don't want to have to reformat my windows drive! Other than this (fairly major) problem, my 5.0 installation went really well, even ACPI seems to be working perfectly and I even found a KLD to support my on- board sound card! :) I really want to get windows booting again so I can continue to play with 5.0 without worrying... Any help is much appricated! It could well be that windows has become confused about the partition numbering. the important file is c:\boot.ini. It will have a line like... multi(0)disk(0)rdisk(0)partition(1)\WINNT=Windows /fastdetect I can't recall what all the numbers mean and IIRC documentation is slightly scant, but try changing the numbers, in particular the partition() part and see if that helps. Since you can't boot windows its not obvious how to edit the file, recovery console or knoppix are the two methods i would try. Steve ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: snort+mysql+acid
kinux wrote: Thanks for your reply. After installed php4-session and php4-mysql, it work, The error messages disappearred. But i found there is another problem. it can not display the alert with details, it always prompted with following line.. Fatal error: Call to undefined function: preg_replace() in /usr/local/www/acid/acid_signature.inc on line 194 Install devel/php4-pcre Alternatively you can install the lang/php4-extensions port, which gives you a list of all the possible extensions you can install Steve ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: snort+mysql+acid
On Wednesday 22 September 2004 18:25, kinux wrote: hi, i installed snort+mysql+acid by ports following this link http://www.bsdhound.com/newsread.php?newsid=42 , after finished installation, tried to browsed the result and found a line Fatal error: Call to undefined function: session_module_name() in /usr/local/www/acid/acid_state_common.inc on line 49 The php has recently been split up into lots of different parts. The correct thing to do is install the /usr/ports/www/php[4,5]-session port, and presumably the database/php-[4,5]-mysql port. Steve ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: portindex/portindexdb
FWIW, portindexdb will generate INDEX-5.db just fine on 5-current. It doesn't have the problem with ruby bus erroring like portsdb -u does. Kent This also works for me on 5.2.1-p9. Am I missing something in asking why couldn't portsdb -u be replaced by portindex? Obviously this couldn't happen now with the code-freeze for 5.3, but for 5.4? Steve ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: portupgrade, portsdb -U failing, ruby dumping core
I hate to add a me too, but, well, me too. I'm running 5.2.1-RELEASE, not running portindex, and didn't have trouble until the instructions from /usr/ports/UPDATING. Haven't tried to move and re-cvsup /usr/ports. Anyone else have success via this route? Evan Nope, didn't work for me I've deinstalled kde,gnome,ruby and portupgrade (and now reinstalled them). I've removed the ports tree and that didn't work. Given that it appears to be a problem in the ports tree (someone [sorry, I've deleted the email] said they have narrowed it down), I was planning on leaving it for now and just cvsupping regularly. Not much help I guess Steve ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: portupgrade, portsdb -U failing, ruby dumping core
On Thursday 02 September 2004 19:34, Dan Finn wrote: [ root @ stewie : /usr/ports/sysutils/portupgrade] : portupgrade ruby [Failed `Inappropriate file type or format'] [Updating the portsdb format:bdb1_btree in /usr/ports ... - 11725 port entries found .1000.2000.3000.4000.5000.6 000.7000.8000/usr/local/lib/ruby/site_ruby/1.8/portsdb.r b:587: [BUG] Bus Error ruby 1.8.1 (2004-05-02) [i386-freebsd5] I have just had the same thing happen to me, and I'm unable to fix it by using pkgdb or portsdb. I just portupgraded kde3 using the instructions in /usr/ports/UPDATING and also updated the nvidia drivers. I'm running FreeBSD 5.2.1-p9. --- Checking the package registry database Stale dependency: gnome2-2.6.2 - nvidia-driver-1.0.6113 (x11/nvidia-driver): [Failed `Inappropriate file type or format'] [Updating the portsdb format:bdb1_btree in /usr/ports ... - 11726 port entries found .1000.2000.3000.4000.5000.6000.7000.8000/usr/local/lib/ruby/site_ruby/1.8/portsdb.rb:587: [BUG] Bus Error ruby 1.8.2 (2004-07-29) [i386-freebsd5] Abort trap (core dumped) Any ideas, or suggestions appreciated. Steve ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: java install errors
Java HotSpot(TM) Client VM warning: Can't detect initial thread stack location /usr/ports/java/jdk14/work/control/build/bsd-i586/gensrc/java /util/Curr ency Data.java:1: 'class' or 'interface' expected Java HotSpot(TM) Client VM warning: Can't detect initial thread stack location ^ /usr/ports/java/jdk14/work/control/build/bsd-i586/gensrc/java/ util/Currency Data.java:1: unclosed character literal Java HotSpot(TM) Client VM warning: Can't detect initial thread stack location ^ snip Stop in /usr/ports/java/jdk14. -- What needs to be done to make this actually install correctly? Thanks, Chip I had this happen to me a couple of times, and the cause (for me) was that I hadn't setup linux emulation properly. This message (from a google search) seems to sum it up: http://www.mail-archive.com/[EMAIL PROTECTED]/msg60015.html IIRC, I had to make clean in /usr/ports/java/jdk14 to get it work again once this had happened. Steve ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
panic when inserting USB drive into 5.2.1R machine
Hi, I've just bought a new USB flash drive and it causes a panic on my machine. The motherboard is an nForce2 (dmesg can be sent to anyone who requests it). The offending messages are: ===On Insertion=== Aug 21 14:22:37 congo kernel: umass0: vendor 0x0ef8 PANRAM, rev 1.10/1.00, addr 3 Aug 21 14:22:42 congo kernel: umass0: Invalid CSW: tag 3 should be 1 Aug 21 14:22:42 congo kernel: umass0: Invalid CSW: tag 1 should be 2 Aug 21 14:22:42 congo kernel: umass0: Invalid CSW: tag 1 should be 3 ===Panic message savecore: reboot after panic: ohci_add_done: addr 0x1d074f60 not found ===GDB backtrace=== #0 doadump () at /usr/src/sys/kern/kern_shutdown.c:240 #1 0xc04f6fda in boot (howto=256) at /usr/src/sys/kern/kern_shutdown.c:372 #2 0xc04f7358 in panic () at /usr/src/sys/kern/kern_shutdown.c:550 #3 0xc048ea08 in ohci_add_done (sc=0xc4823000, done=487018336) at /usr/src/sys/dev/usb/ohci.c:1320 #4 0xc048e7d9 in ohci_intr1 (sc=0xc4823000) at /usr/src/sys/dev/usb/ohci.c:1212 #5 0xc048e65f in ohci_intr (p=0xc4823000) at /usr/src/sys/dev/usb/ohci.c:1142 #6 0xc04e25d8 in ithread_loop (arg=0xc204c880) at /usr/src/sys/kern/kern_intr.c:544 #7 0xc04e132f in fork_exit (callout=0xc04e2410 ithread_loop, arg=0x0, frame=0x0) at /usr/src/sys/kern/kern_fork.c The only thing i've come across when looking through the archives is http://lists.freebsd.org/pipermail/freebsd-current/2004-January/018826.html, which isn't too helpful, and since i've used other USB flash drives before with no problems I would doubt a chipset error. Any help is appreciated. Although I haven't yet upgraded to 5.3-BETA I am considering it to see if this fixes it Steve ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Voodoo 3500 AGP under FreeBSD
Sorry to be still hammering on about this problem - I am starting to feel a bit dense. I've tried a few times now to get FreeBSD running a GUI with my Voodoo 3500 AGP card. Thanks to some helpful advice from [EMAIL PROTECTED] I reckon that I should be able to get things running using the tdfx X-server. Other advice is that if my card ain't listed explicitly, it won't work. Longer term, a carefully-chosen card will be a great solution - at this point though I just want to try things out and the number of cards that will run BeOS, Linux, FreeBSD and/or Windows (this last reluctantly) seems a little limited. As an aside one of the problems here is that BeOS now seems happier with *old* graphics cards (one of the problems that got me looking for the ONE OS in the first place). When I try to run the tdfx driver I am still unable to complete X Windows installation successfully so I suspect that it really may be a case of having to specify a specific card for a trouble free GUI. Just as an experiment I stuck on the latest Mandrake 9.0; in half an hour and I was up and running Gnome 2.0 with no problems whatsoever using a generic Voodoo driver. Am I being stupid in thinking that this is the same XFree86? I really don't want to go down a Linux route, I've been burned too many times there in the past. Any expertise greatly welcome at this point. cheers, Steve Hodgson To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Voodoo 3500 AGP under FreeBSD
I had been having some problem trying to get FreeBSD installed onto a free partition because I was unsure whether my Voodoo 3500 AGP card was supported by X Windows. Thanks to some help received I now know that I need to use the tdfx driver. However when I select this as part of the graphical or shell- based W Windows setup during install it still fails. I wonder if anyone can advise whether I am missing some quirk of using the card. With regard to the graphical setup it may be useful to note that all the other devices are shown correctly while the graphics card is only shown as an outline box. Is it time to try to pick up a cheat ATi card? Cheers, Steve Hodgson To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Voodoo Graphics Cards
I have been trying to find out if a 3dfx voodoo 3500 AGP is compatible with FreeBSD 4.7. I have managed to everything up to a successful GUI -free login. I checked out the various web resources and usenet with no success. My FreeBSD book (FreeBSd Unleashed) doesn't list the card in the supported hardware. I have used the card successfully with Linux, BeOS and Windows (not XP) so assumed it would be OK under FreeBSD too. Any help and pointers would be much appreciated at this stage! Steve Hodgson To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message