Re: /usr/local/java/jboss5 fails to build
On Wed, Apr 18, 2012 at 07:42:55AM +, vermaden thus spake: hi, I do not pressure to use the Ports version I just need a working JBOSS5 on FreeBSD, I can download jboss-5.1.0.GA.zip from here http://sourceforge.net/projects/jboss/files/JBoss/JBoss-5.1.0.GA/ But will it be fully functional on FreeBSD? Regards, vermaden I can't answer if it will be functional or not on FreeBSD until it is successfully installed, however it being in the portstree gives me some indication that it did work at one time. This is a vendor issue though, and I would urge you to contact them regarding their maven repository issue with the error you are receiving. I would be happy to look into this further after they are able to diagnose the issue. Thanks! -jgh -- Jason Helfman | FreeBSD Committer j...@freebsd.org | http://people.freebsd.org/~jgh ___ 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: /usr/local/java/jboss5 fails to build
On Tue, Apr 17, 2012 at 08:34:55PM +, vermaden thus spake: Hi, I have the same problem as described here: http://freebsd.org/cgi/query-pr.cgi?pr=166986 The package of JBOSS5 is also not available, any suggestions? Any help appreciated. Regards, vermaden I've dealt somewhat with the maven repositories, and this is nothing really that can be prevented in the portstree. Working with the vendor in releasing a distribution file of the maven repository at the time of the release of the code that is required for code to build against is something that can be done to prevent this. I worked with the vendor in doing this for databases/jasperserver. This really is an issue with the remote repository, and needs to be fixed with the owners of that maven code repository. I suggest in working with the vendor to fix the repository, and it would be great if you can convince them to release a snapshot of the maven repository that the code was used to build from for distribution purposes. That way, it will always be build-able. Even if they fix it today, someone could break it soon afterwards. -jgh -- Jason Helfman | FreeBSD Committer j...@freebsd.org | http://people.freebsd.org/~jgh ___ 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: phpmyadmin port files errors
On Tue, Apr 03, 2012 at 03:14:39PM -0400, Fbsd8 thus spake: Just downloaded phpmyadmin for 9.0 system. The port files seem to be named wrong. Makefile,v distinfo,v pkg-descr,v pkg-plist-chunk,v make install command issues error message "Don't know how to make install." I see on the web ports system that this port was just updated 5 days ago. Looks like a error was made. These files should not have the ,v suffix. Removing the ,v file name suffix and issuing make install generated a bunch of other error messages. Dead in the water until this gets fixed. If this is indeed an error with the port then I will submit a bug report. This looks incorrect. I just brought down a fresh copy of this port, and don't see files named this way. How are you getting the port, and how are you installing it? These files look like they are directly out of CVS. -jgh -- Jason Helfman System Administrator experts-exchange.com http://www.experts-exchange.com/M_4830110.html E4AD 7CF1 1396 27F6 79DD 4342 5E92 AD66 8C8C FBA5 ___ 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: pkg_add -r and a local package repo
On Wed, Jan 11, 2012 at 02:23:48PM -0800, Chuck Swiger thus spake: On Jan 11, 2012, at 2:03 PM, Randal L. Schwartz wrote: First, it looks like pkg_add -r needs the full package name. Is there any way to give it "zsh" instead of "zsh-4.3.15"? Create a symlink from zsh-4.3.15.tbz to zsh.tbz on the package server. You can also control this at the time of building the package via: www.freebsd.org/doc/en/books/porters-handbook/makefile-naming.html#AEN647 "5.2.4 LATEST_LINK LATEST_LINK is used during package building to determine a shortened name to create links that can be used by pkg_add -r. This makes it possible to, for example, install the latest perl version by running pkg_add -r perl without knowing the exact version number. This name needs to be unique and obvious to users." Second, it looks like it won't install dependencies. This is a problem. Can I get it to search and install dependencies somehow? Does the package in question have its dependencies properly specified? Regards, -- -Chuck Why not just point the PACKAGESITE to the Latest directory of the tree you want to install? -jgh -- Jason Helfman System Administrator experts-exchange.com http://www.experts-exchange.com/M_4830110.html E4AD 7CF1 1396 27F6 79DD 4342 5E92 AD66 8C8C FBA5 ___ 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: freebsd-update (custom kernel)
On Thu, Nov 03, 2011 at 09:42:12AM -0700, Michael Sierchio thus spake: This is simply not the case. freebsd-update works on the basis of cryptographic hashes on the binaries. It is, after all, a binary update program. If it detects a custom kernel, it will not update the kernel, but updates userland programs. It doesn't *care* what your kernel config name is, it really doesn't matter. Kernel update becomes a manual operation, which requires fetching sources from the SECURITY branch. I'm not disagreeing with you, and I know what it does. I happen to run a slew of update servers myself, however if you run your own update server based on your own signatures, it will patch your custom kernel and distribute it, as well. I didn't know it would skip it, though, with the main update servers. Interesting. -- Jason Helfman System Administrator experts-exchange.com http://www.experts-exchange.com/M_4830110.html E4AD 7CF1 1396 27F6 79DD 4342 5E92 AD66 8C8C FBA5 ___ 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: freebsd-update (custom kernel)
On Thu, Nov 03, 2011 at 09:19:29AM -0700, Michael Sierchio thus spake: On Thu, Nov 3, 2011 at 9:13 AM, Jason Helfman wrote: I does work fine with a custom kernel, as long as you are running and maintaining the actual update server that distributes. I don't think that's relevant. It works fine with the public servers. I beg to differ. If you run a kernel called CUSTOM, it won't work. And if you run a custom kernel called GENERIC, the moment you upgrade, you custom kernel is no longer custom. All of this aside, I would be interested in hearing how you are able to avoid non-custom updates to your custom kernel when the kernel or os patches are distributed by the update servers. -- Jason Helfman System Administrator experts-exchange.com http://www.experts-exchange.com/M_4830110.html E4AD 7CF1 1396 27F6 79DD 4342 5E92 AD66 8C8C FBA5 ___ 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: freebsd-update (custom kernel)
On Thu, Nov 03, 2011 at 08:49:16AM -0700, masayoshi thus spake: I would like to know about freebsd-update command. It is rumoured that freebsd-update command does not work well with custom kernel. First question is the following : su - #freebsd-update fetch #freebsd-update install Does this command work well? The answer is . [A].Always work, [B]Depend on my computer. Second question is ... For example,if I upgrade from FreeBSD 7.4 to 8.2 by freebsd-update command. Can I upgrade without failure? I would like to know only "success rate"? The answer is [A].about 100%, [B].about 80%,[C].about 75%,[D] less than 50% Thanks in advance. I does work fine with a custom kernel, as long as you are running and maintaining the actual update server that distributes. 1. Always work 2. Can never account for 100 percent... I've not run into a problem, though. http://www.freebsd.org/doc/en_US.ISO8859-1/articles/freebsd-update-server/ -jgh -- Jason Helfman System Administrator experts-exchange.com http://www.experts-exchange.com/M_4830110.html E4AD 7CF1 1396 27F6 79DD 4342 5E92 AD66 8C8C FBA5 ___ 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: idletime in login.conf
On Mon, Oct 31, 2011 at 08:11:57PM +0100, Julian H. Stacey thus spake: Hi, Reference: From: Jason Helfman Date: Mon, 31 Oct 2011 11:25:32 -0700 Message-id: <20111031182532.gf82...@eggman.experts-exchange.com> Jason Helfman wrote: On Mon, Oct 31, 2011 at 10:09:34AM -0500, Dan Nelson thus spake: >In the last episode (Oct 31), Damien Fleuriot said: >> On 30 Oct 2011, at 16:45, Modulok wrote: >> > List, >> > >> > Goal: Automatically logoff users that are idle after 'x' minutes. >> > >> > Attempt: I added this to /etc/login.conf to the default login class: >> > >> >:idletime=10m: >> > >> > I then rebuilt the database: >> > >> >cap_mkdb /etc/login.conf >> > >> > Problem: It doesn't work. The 'w' command shows users idle for 20 >> > minutes or more. I'm missing something. Other than an autologout shell >> > variables, how do I force idle users to logout? >> >> Are these users that logged in after or before your change ? >> >> Obviously the idle timeout only applies to users who logged in after you >> adjusted the value and rebuilt the db. > >Actually, the idle timeout is not implemented in the base system. It's >there in case someone writes a 3rd-party module that does idle detection. >See the login.conf manpage: > >RESERVED CAPABILITIES > The following capabilities are reserved for the purposes indicated and > may be supported by third-party software. They are not implemented in > the base system. >[...] > idletime timeMaximum idle time before logout. > > You may want to look into /usr/ports/sysutils/doinkd for this. I use it on many systems, and it works remarkable well, and it is highly configurable. -jgh -- Jason Helfman System Administrator That was a useful tip, but people (inc. self) will not remember. Suggestion: use send-pr to submit a diff to add SEE ALSO ports/sysutils/doinkd to man login.conf Cheers, Julian I don't believe doinkd respects the values of login.conf, however you may use those values for what is configurable for doinkd. I don't believe it is the correct place in a base man page for mentioning a port in the FreeBSD tree, or in at least this case. If you feel it is, feel free to send in a problem report. I, myself, will not be filing a report for this item. -jgh -- Jason Helfman System Administrator experts-exchange.com http://www.experts-exchange.com/M_4830110.html E4AD 7CF1 1396 27F6 79DD 4342 5E92 AD66 8C8C FBA5 ___ 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: idletime in login.conf
On Mon, Oct 31, 2011 at 10:09:34AM -0500, Dan Nelson thus spake: In the last episode (Oct 31), Damien Fleuriot said: On 30 Oct 2011, at 16:45, Modulok wrote: > List, > > Goal: Automatically logoff users that are idle after 'x' minutes. > > Attempt: I added this to /etc/login.conf to the default login class: > >:idletime=10m: > > I then rebuilt the database: > >cap_mkdb /etc/login.conf > > Problem: It doesn't work. The 'w' command shows users idle for 20 > minutes or more. I'm missing something. Other than an autologout shell > variables, how do I force idle users to logout? Are these users that logged in after or before your change ? Obviously the idle timeout only applies to users who logged in after you adjusted the value and rebuilt the db. Actually, the idle timeout is not implemented in the base system. It's there in case someone writes a 3rd-party module that does idle detection. See the login.conf manpage: RESERVED CAPABILITIES The following capabilities are reserved for the purposes indicated and may be supported by third-party software. They are not implemented in the base system. [...] idletime timeMaximum idle time before logout. You may want to look into /usr/ports/sysutils/doinkd for this. I use it on many systems, and it works remarkable well, and it is highly configurable. -jgh -- Jason Helfman System Administrator experts-exchange.com http://www.experts-exchange.com/M_4830110.html E4AD 7CF1 1396 27F6 79DD 4342 5E92 AD66 8C8C FBA5 ___ 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: pkg_version: corrupted record (pkgdep line without argument), ignoring
On Thu, Oct 20, 2011 at 04:24:19PM +0200, Alexandre thus spake: On Thu, Oct 20, 2011 at 3:20 PM, Jerry wrote: After attempting unsuccessfully to update KDE4 via "portmaster", I found a number of errors printed out when using "pkg_version-vIL=". I eventually used "portmanager" to update the KDE4 port successfully; however, I am still receiving the following error messages. These ports need updating: pkg_version: corrupted record (pkgdep line without argument), ignoring pkg_version: corrupted record (pkgdep line without argument), ignoring pkg_version: corrupted record (pkgdep line without argument), ignoring koffice-kde4-2.3.3_3< needs updating (index has 2.3.3_5) postgresql-client-8.2.21< needs updating (index has 8.2.22_1) I have not found a way to ascertain which ports contain the corrupted records. Originally, there were over a dozen of them but "portmanager" fixed most of them for me. How can I determine what ports are still damaged so that I might correct them. -- Jerry ✌ jerry+f...@seibercom.net Hi Jerry, Have you tried this : # portmaster --check-depends # portmaster -Da Source : http://www.cyberciti.biz/faq/pkg_version-corrupted-record-pkgdep-line-without-argument-ignoring/ You can have a look on this thread, where Doug Barton (portmaster's author) explain another way to resolve this problem. http://groups.google.com/group/lucky.freebsd.ports/browse_thread/thread/e2054d1cfadc0e3a/66c038dfffb36d40?lnk=raot&pli=1 Try looking into reporting pkgs from the output of this too: #!/bin/sh grep -A1 "^@pkgdep $" /var/db/pkg/*/+CONTENTS -jgh -- Jason Helfman System Administrator experts-exchange.com http://www.experts-exchange.com/M_4830110.html E4AD 7CF1 1396 27F6 79DD 4342 5E92 AD66 8C8C FBA5 ___ 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: FBSD82 sec patch -p4, uname still -p3
On Fri, Oct 07, 2011 at 08:55:26AM +0200, n dhert thus spake: I just applied security patch -p4 (last week -p3) to a freebsd 8.2 system (generic kernel) # freebsd-update fetch # freebsd-update install # ls -la /usr/src/sys/conf/newvers.sh has date of today and contains REVISION="8.2" BRANCH="RELEASE-p4" reboot # uname -r 8.2-RELEASE-p3 still shows -p3 not -p4 # uname -a FreeBSD mcsbu.cde.ua.ac.be 8.2-RELEASE-p3 FreeBSD 8.2-RELEASE-p3 #0: Tue Sep 27 18:45:57 UTC 2011 r...@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64 why? -p4 was a small patch to linux emulation mode, which I don't have installed is this why it is still -p3 ? If your kernel wasn't touched during the update, then uname won't bump. -jgh -- Jason Helfman System Administrator experts-exchange.com http://www.experts-exchange.com/M_4830110.html E4AD 7CF1 1396 27F6 79DD 4342 5E92 AD66 8C8C FBA5 ___ 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: How to allow Amanda to install as operator?
On Tue, Aug 23, 2011 at 07:20:32PM +, Morse, Richard E.MGH thus spake: Hi! I'm trying to upgrade my Amanda installation from a v2.6 to v3.2 via ports. I had configured Amanda previously to be installed as the user `operator`. The upgraded version wants to install as the user `amanda`; however this presents all kinds of problems: - the `amanda` user has no home directory, one is needed to put the access file in - I already have all of the directories set up as owned by operator - I have a number of clients that are all set up to allow operator to access them, but not "amanda". I have tried setting AMANDA_USER and AMANDA_GROUP to be `operator`, but this then complains that `operator` is not found in `/usr/ports/GIDs` and `/usr/ports/UIDs`. Since these are part of the base system, I don't want to mess with them, so I groveled through the .mk files, and determined that I should be able to provide my own user and group files by setting the GID_FILES and UID_FILES environment variable. I tried this. I created the necessary files (greping out the data from /etc/passwd and /etc/group), put them in the same directory as GIDs and UIDs, and ran the make command: GID_FILES="/usr/ports/OP_GROUP" UID_FILES="/usr/ports/OP_USER" AMANDA_USER="operator" AMANDA_GROUP="operator" make install This runs along for a while, then dies with the note: ** /usr/ports/OP_GROUP doesn't exist. Exiting. *** Error code 1 If I do a `less /usr/ports/OP_GROUP` (copying exactly from the error message), I can see the file I created just fine. Is there something that I'm missing? How am I supposed to install a port as a user that already exists? Why doesn't make see that the file exists? Thanks, Ricky If you update your portstree, this should be fixed now. I notificed crees@ and he committed to UIDs/GIDs the operator user and group, so they may be used for installing. -jgh -- Jason Helfman System Administrator experts-exchange.com http://www.experts-exchange.com/M_4830110.html E4AD 7CF1 1396 27F6 79DD 4342 5E92 AD66 8C8C FBA5 ___ 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: ports make search not working in jails
On Thu, Aug 11, 2011 at 11:05:14AM -0400, Alejandro Imass thus spake: On Thu, Aug 11, 2011 at 10:15 AM, Alejandro Imass wrote: Hi, I have been using Jails and EzJail for a while now and everything works perfectly except for make search in the ports collection insisde a jail. Never mind. It's a specific couple of jails that doesn't work and I never tried to fetchindex again. I tried in other servers and jails and make fetchindex works perfectly. Thanks! But does make search now work? -jgh -- Jason Helfman System Administrator experts-exchange.com http://www.experts-exchange.com/M_4830110.html E4AD 7CF1 1396 27F6 79DD 4342 5E92 AD66 8C8C FBA5 ___ 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: Source Upgrade
On Wed, Aug 03, 2011 at 10:02:28PM -0500, jh...@socket.net thus spake: I am attempting to upgrade my server from 8.0 to 8.2 Release by upgrading the source code and recompiling the kernel. I am using cvs to download the source code. Following are the entries in my cvs-supfile. The system is an HP server. Following is the system information. FreeBSD 8.0-RELEASE FreeBSD 8.0-RELEASE #0: Sat Nov 21 15:48:17 UTC 2009 r...@almeida.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 *default host=cvsup15.us.FreeBSD.org *default base=/var/db *default prefix=/usr *default release=cvs tag=RELENG_8_2 *default delete use-rel-suffix *default tag=. src-all ports-all Based on this configuration, you grabbed CURRENT, and not 8.2. Have a look here and alter your configuration, and rebuild. http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/cvsup.html Hope this helps -jgh -- Jason Helfman System Administrator experts-exchange.com http://www.experts-exchange.com/M_4830110.html E4AD 7CF1 1396 27F6 79DD 4342 5E92 AD66 8C8C FBA5 ___ 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: Unusual Error while compiling from Portstree
On Thu, May 26, 2011 at 04:44:16PM +0200, herbert langhans thus spake: Hi Daemons, recently some of the ports get stuck when I compile from the portstree with #make install - it says '1 out of 1 hunks failed--saving rejects to nbase/configure.rej'. The portstree is updated, FreeBSD 7.2 on this laptop, many other ports are working. I had such trouble with ports/graphics/xv, with ImageMagick and now with nmap too. Here is the output: sandcat# cd /usr/ports/security/nmap sandcat# make install ===> Vulnerability check disabled, database not found ===> License GPLv2 accepted by the user => nmap-5.51.tar.bz2 doesn't seem to exist in /usr/ports/distfiles/. => Attempting to fetch http://nmap.org/dist/nmap-5.51.tar.bz2 nmap-5.51.tar.bz2 100% of 16 MB 99 kBps 00m00s ===> Extracting for nmap-5.51_1 => SHA256 Checksum OK for nmap-5.51.tar.bz2. ===> Patching for nmap-5.51_1 ===> Applying FreeBSD patches for nmap-5.51_1 1 out of 1 hunks failed--saving rejects to nbase/configure.rej => Patch patch-nbase__configure failed to apply cleanly. => Patch(es) patch-Makefile.in patch-TargetGroup.cc patch-configure patch-libdnet-stripped__configure patch-libdnet-stripped__src__eth-bsd.c applied cleanly. *** Error code 1 Stop in /usr/ports/security/nmap. sandcat# Anybody has an idea whats wrong there? I have no clue what it is about failed hunks and such! Thanks! herb langhans You may want to run a 'make clean' and also a 'portsnap fetch update', as I have a updated ports tree, as of this morning, and running 'make patch' exits with no issue. [jhelfman@eggman /usr/ports/security/nmap]$ sudo make patch ===> License GPLv2 accepted by the user => nmap-5.51.tar.bz2 doesn't seem to exist in /usr/ports/distfiles/. => Attempting to fetch http://nmap.org/dist/nmap-5.51.tar.bz2 nmap-5.51.tar.bz2 100% of 16 MB 184 kBps 00m00s ===> Extracting for nmap-5.51_1 => SHA256 Checksum OK for nmap-5.51.tar.bz2. ===> Patching for nmap-5.51_1 ===> Applying FreeBSD patches for nmap-5.51_1 [jhelfman@eggman /usr/ports/security/nmap]$ -jgh -- Jason Helfman System Administrator experts-exchange.com http://www.experts-exchange.com/M_4830110.html E4AD 7CF1 1396 27F6 79DD 4342 5E92 AD66 8C8C FBA5 ___ 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: Using "/etc/rc.d/netif start"
On Tue, Mar 29, 2011 at 10:40:19AM -0700, Nerius Landys thus spake: First off, I'm on 9.0-CURRENT-i386, but I don't think that will make a difference for purposes of my question. I think the freebsd-current folks are expecting questions that are much harder than this one. I'm trying to use /etc/rc.d/netif to bring down and bring back up all network interfaces, because I'm trying to get the correct entries in /etc/rc.conf for testing some extra network cards. So right now, my /etc/rc.conf looks like this: defaultrouter="192.168.0.254" hostname="elmer.i" ifconfig_em0="inet 192.168.0.6 netmask 255.255.255.0" /etc/resolv.conf looks like this: domain i nameserver 192.168.0.254 I'm basically in a LAN. When I boot up this "elmer.i" machine, everything works well. Then, I do the following two commands: /etc/rc.d/netif stop /etc/rc.d/netif start After these, I'm still able to ping a raw IP LAN address such as 192.168.0.254. However, two problems start occurring: 1. I cannot ping an IP address that is outside of my LAN, e.g. ping 64.156.192.169 PING 64.156.192.169 (64.156.192.169): 56 data bytes ping: sendto: No route to host 2. DNS (via 192.168.0.254 nameserver) won't work at first, but starts to magically work when I for example enable sshd and log in to elmer from another host on the LAN So the nut of my question is, I think "/etc/rc.d/netif stop" stops some additional things such as packet routing that the corresponding "/etc/rc.d/netif start" command won't start back up. So what is the best way to bring down the network and bring it back up again for purposes of testing /etc/rc.conf syntax? In my experience, I've found it best to restart 'routing,' as well. /etc/rc.d/routing restart -jgh -- Jason Helfman System Administrator experts-exchange.com http://www.experts-exchange.com/M_4830110.html E4AD 7CF1 1396 27F6 79DD 4342 5E92 AD66 8C8C FBA5 ___ 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: logging to dmesg from userland
On Sun, Mar 13, 2011 at 07:08:20PM -0700, per...@pluto.rain.com thus spake: I am looking for a way to write into the kernel message buffer -- the one that dmesg prints out -- from a userland program, to help in relating kernel printf messages to the userland operations which provoked them. (Yes, I am aware of the potential DoS implications: the capability should be restricted to root, or at least to the "operator" group. I expect to use it only in single-user mode.) Is there a program, or a system call, which can do this? logger(1) seemed a likely prospect, but either it doesn't have this capability or I haven't found the formula. man syslog should have all of the info you need. -jgh ___ 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: lost network during freebsd-update install
On Thu, Mar 10, 2011 at 10:24:30AM -0500, Tom Worster thus spake: On 3/10/11 9:13 AM, "Bas Smeelen" wrote: On 03/10/2011 03:03 PM, Tom Worster wrote: at this stage, i have no remote access. even if i could gain access, i wouldn't know what state it's in or how to proceed. it's probably best now to pay for the hosting company to install 8.1 from cd. Well if this is an option. But before paying and with a bit of bad luck getting the same problem in 8.1 it would be nice to know what's the cause. You do not have remote console access and a way to mount a virtual cdrom? no. if i can't ssh then i need local help. i'll ask them to try rollback before resorting to cd. Good idea. Rollback does work, and has worked for me in a very similar situation, and hopefully will work for you as well. After the rollback, reboot, and start again from your initial upgrade command. I would highly recommend using tmux, and also installing a remote console/management card for your system so you can control it remotely. The cost of the card is probably less than remote-hands cost on one support call. -jgh -- Jason Helfman System Administrator experts-exchange.com http://www.experts-exchange.com/M_4830110.html E4AD 7CF1 1396 27F6 79DD 4342 5E92 AD66 8C8C FBA5 ___ 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: determining freebsd-update status
On Fri, Mar 04, 2011 at 02:05:15PM -0500, Tom Worster thus spake: thanks for the answers, jason. two more questions below. np On 3/4/11 1:09 PM, "Jason Helfman" wrote: On Fri, Mar 04, 2011 at 11:32:11AM -0500, Tom Worster thus spake: to determine roughly where a server is in its updates (we're running only RELEASE) i do: 1 - check the 1st 4 fields of the tag file in the freebsd-update working dir. Just because the 1st 4 fields are populated, doesn't necessarily imply it is running at that version. The tag is stating what it has recently "seen" as available on the update server, but that doesn't mean that those updates have been installed. ok. 2 - check the output of freebsd-update IDS. is it the case that freebsd-update IDS checks base system status relative to what's referenced in the tag file? No. The hash index file is pulled from the update server for the installed release, and your system is compared with that. "the installed release" being what exactly? What the system is running. and how does freebsd-update determine what it is? From the code, it appears to use `uname -r` and `uname -m`, for release and architecture, respectively. -jgh ___ 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: determining freebsd-update status
On Fri, Mar 04, 2011 at 11:32:11AM -0500, Tom Worster thus spake: to determine roughly where a server is in its updates (we're running only RELEASE) i do: 1 - check the 1st 4 fields of the tag file in the freebsd-update working dir. Just because the 1st 4 fields are populated, doesn't necessarily imply it is running at that version. The tag is stating what it has recently "seen" as available on the update server, but that doesn't mean that those updates have been installed. 2 - check the output of freebsd-update IDS. is it the case that freebsd-update IDS checks base system status relative to what's referenced in the tag file? No. The hash index file is pulled from the update server for the installed release, and your system is compared with that. tia tom ___ 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" -jgh ___ 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: freebsd-update housekeeping?
On Mon, Feb 28, 2011 at 03:25:47AM +1100, andrew clarke thus spake: On Fri 2011-02-25 17:26:52 UTC+, Neil Long (n...@cymru.com) wrote: Just noticed how large /var/db/freebsd-update has grown on a box I just upgraded from 7.3 to 7.4 (but I can't recall when I started using it). Is there a recommended approach or just rm the directory if I have no need to roll it back? Before I upgraded to 7.4-REL I used rm -rf /var/db/freebsd-update/ as my /var is "only" 1 GB and was running low on free space. Doing this should be no different to a fresh install where this directory is initially empty anyway. Of course if you're still wary you could make a tarball backup of that directory somewhere else before emptying it out. IIRC, freebsd-update will complain if /var/db/freebsd-update/ doesn't exist, so you may need to mkdir it after using rm -rf. Regards Andrew ___ 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" If there were no problems with your update, then it is safe to remove the directory, and recreate it. If your update didn't go so well, you will lose the ability to use the 'rollback' feature, which will uninstall previously applied update. -jgh -- Jason Helfman System Administrator experts-exchange.com http://www.experts-exchange.com/M_4830110.html E4AD 7CF1 1396 27F6 79DD 4342 5E92 AD66 8C8C FBA5 ___ 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: bash can not find most of my commands
On Tue, Feb 22, 2011 at 12:08:30PM -0500, Randy Ramsdell thus spake: Alokat wrote: On 02/22/11 17:49, Paul Macdonald wrote: On 22/02/2011 16:40, Alokat wrote: Hi, I have changed my shell from csh to bash ... But after that I have to call "reboot" like /sbin/reboot. How can I change that without changing the shell. :) don't change your root shell! csh is in the base system so is safe and will always* work, bash is a port and gets updated regularly, there's been at least one occasion when my bash upgrade failed and i couln't login as root. very frustrating.. I just get used to changing to bash after that, much safer! Paul. Paul has satisfied me. I have changed back to csh. Thank for help. Regards, alokat And if you use bash after login or anytime, your original problem remains. This has to do with your path, and it is known good practice to use full paths, as well. -jgh ___ 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"
BSD Magazine inquiry, question
Hi, I was wondering if anyone has a hardcopy of BSD Magazine listed here: http://bsdmag.org/magazine/1021-bsd-as-a-desktop I wrote an article for the magazine, and would very much like to get a hardcopy of it. I am willing to purchase it. Thanks so much! Jason Helfman -- Jason Helfman System Administrator experts-exchange.com http://www.experts-exchange.com/M_4830110.html E4AD 7CF1 1396 27F6 79DD 4342 5E92 AD66 8C8C FBA5 ___ 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: Run your own portsnap mirror?
On Thu, Feb 10, 2011 at 10:13:38PM +, RW thus spake: On Thu, 10 Feb 2011 14:52:01 -0500 Lowell Gilbert wrote: patrick writes: > Is there any official way to run a private portsnap mirror? ie. Have > one, external server fetch from the official portsnap sources, and > then internal servers pulling from the private mirror? It runs over pipelined HTTP, so all you need to do is set up a caching HTTP proxy, and have your internal servers use that. If you are going to do that then you need to set HTTP_PROXY and/or http_proxy consistently. If either of these are set portsnap uses them to to seed it's choice of server rather than a pure random selection. ___ 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" I would be highly interested in running my own internal portsnap mirror based on an internal ports tree with local ports, as well. Has anyone done this? -- Jason Helfman System Administrator experts-exchange.com http://www.experts-exchange.com/M_4830110.html E4AD 7CF1 1396 27F6 79DD 4342 5E92 AD66 8C8C FBA5 ___ 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: DELL idrac embedded BMC- good console server replacement?
On Mon, Jan 17, 2011 at 05:09:34PM +, Paul Macdonald thus spake: Does anyone use the (dell) idrac embedded bmc on their bsd boxes.. I'm only interested in easy 'serial' access to the bios, and the running system, no need for any grpahical interfaces obviously. From what i've read they can power up/down machines too, but i'm a bit confused with the docs. I've historically used a serial console server, and i usually flatten any new dells without much thought for the tools they come with.. Dell also sell their server mgmt cards as well, but i'm interested in hearing if the embedded bmc alone can offer an easy alternative to a console server. thanks BMC is great on Dell's. You can do everything you could do as if you were standing right in front of it. Dell updates are easy to apply as well, however that is through a front-end gui through the BIOS. -jgh -- - Paul Macdonald IFDNRG Ltd Web and video hosting - t: 0131 5548070 m: 07534206249 e: p...@ifdnrg.com w: http://www.ifdnrg.com - IFDNRG 40 Maritime Street Edinburgh EH6 6SA - ___ 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" ___ 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: pkg_deinstall vsftpd-ssl-2.3.2 works but not pkg_deinstall vsftpd???
On Sat, Jan 08, 2011 at 02:30:01PM -0800, Devin Teske thus spake: On Jan 8, 2011, at 4:18 AM, Tony Maserati wrote: pkg_deinstall vsftpd-ssl-2.3.2 works but not pkg_deinstall vsftpd??? Try: pkg_delete -x vsftpd I tried this operation on both vsftpd and vsftpd-ssl and they both deinstall properly. -jgh -- Devin ___ 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" -- Jason Helfman System Administrator experts-exchange.com http://www.experts-exchange.com/M_4830110.html E4AD 7CF1 1396 27F6 79DD 4342 5E92 AD66 8C8C FBA5 ___ 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: Well, I broke it! FreeBSD V8.1 release
On Wed, Dec 22, 2010 at 09:49:46AM -0500, Chris Brennan thus spake: On Wed, Dec 22, 2010 at 8:07 AM, Bruce Cran wrote: On Wed, 22 Dec 2010 11:01:10 - "Dave" wrote: > Sysinstall alows you to select and enable one, but not remove it! > > Bit of an oversight that I suspect Fixed in r216651 :) IIRC ';' isn't a valid bash comment ... (which has been previously discussed elsewhere). It's usually safer to use '#' for comment in /etc/rc.conf and other system config files as they typically use BASH style structs. IMHO... It seems that /etc/rc.conf is in need of a sytax check script. Something similiar to visudo for editing /usr/local/etc/sudoers. -jgh ___ 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: pkg_add fail on FreeBSD V8.0
On Tue, Nov 30, 2010 at 08:39:24PM -, Dave thus spake: OK, another show stopper for me, but probably a simple fix for the wise on list. FreeBSD V8.0 that I'm slowley getting to know (and beginning to like!) FreeBSD FBSD.67MK181QZ 8.0-RELEASE FreeBSD 8.0-RELEASE #0: Wed Apr 14 22:55:09 BST 2010 r...@fbsd.67mk181qz:/usr/obj/usr/src/sys/PPSGENERIC i386 Looking to install the Hiawatha webserver, but got this when I tried... pkg_add -r hiawatha Error: Unable to get ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-8.0- release/Latest/hiawatha.tbz: File unavailable (e.g., file not found, no access) pkg_add: unable to fetch 'ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-8.0- release/Latest/hiawatha.tbz' by URL It worked ok on a V8.1 box I threw together for testing things during the works lunch hour. So, can I (and how) get this version to use I guess the 8.1 repository, or how do I cleanly update this to 8.1, though to maintain my needed PPS support I guess I'll need to recompile the kernel again? Is the change from V8.0 to V8.1 realy that a big step? Or compile Hiawatha from sources? (I *Will* need guidance and hand- holding to do that!) Advice please, before I mess things up. Regards. Dave B. Are you using sudo by chance when installing? ___ 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" -- Jason Helfman System Administrator experts-exchange.com http://www.experts-exchange.com/M_4830110.html ___ 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: *default release=cvs tag=RELENG_8 in both standard-supfile and stable-supfile
On Tue, Nov 16, 2010 at 01:09:30PM -0500, pigskinwhite...@icqmail.com thus spake: I was wondering why both the stable & standard supfiles on FreeBSD-8.1 / amd64 both have the exact release tag: *default release=cvs tag=RELENG_8 From: http://www.freebsd.org/doc/handbook/cvs-tags.html RELENG_8 The line of development for FreeBSD-8.X, also known as FreeBSD 8-STABLE Shouldn't they be different? What would be the correct tab for each supfile respectively? Since 8.0 and 8.1 fall under 8.x, I would think this is by design according to the documentation. -jgh ___ 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: ssmtp - possible anomaly with SSL
I should port this wiki to @doc On Nov 6, 2010, at 9:30 AM, Chris Brennan wrote: > On Sat, Nov 6, 2010 at 12:01 PM, Chad Perrin wrote: > >> On Sat, Nov 06, 2010 at 07:23:39AM -0400, Steven Friedrich wrote: >>> I recently figured out how to send mail thru my ISP ID using ssmtp. I >> had >>> previously only been using KMail, and I had it configured to use port 465 >> SSL >>> LOGIN. >>> >>> I can send mail when I don't use port 465: >>> mailhub=mail.InsightBB.com >>> >>> but if I add the port 465 a,d enable SSL with: >>> UseTLS=YES >>> >>> then I use the -v switch and also -auFreeBSD -apPassword >>> as in smtp -v -auFreeBSD -apPassword free...@insightbb.com >>> >>> and the messages all indicate success, but the mail never arrives. It >> does >>> when I don't use SSL on port 465. >>> >>> KMail does work with SSL on port 465. >> >> I'm not entirely clear on what you're using as a mail user agent. Are >> you still using KMail as your MUA, but using ssmtp to send the emails to >> your SMTP server, or have you switched MUAs when you started using ssmtp? >> >> Chris Brennan suggested you send more information; in addition to >> answering my question, it might be useful to give us the information >> Chris requested -- but make sure you obscure any username/password >> information. >> > > If you reference my last e-mail, I posted my my working ssmtp.conf (for > communicating w/ GMail/Google for Domains). If sSMTP is your only MTA, then > using my example will get you up and running very quickly. You can also > reference http://wiki.freebsd.org/SecureSSMTP on how to secure it (if this > is a (semi-)public machine with more then one user on it. > > >> >> -- >> Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ] >> > ___ > 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" > ___ 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: how do i scp .dotfiles??
On Fri, 27 Aug 2010 13:19:40 -0400 Glen Barber wrote: > On 8/27/10 1:07 PM, Gary Kline wrote: > > > > guys, > > > > this is the start of my master switchover. how to i copy/scp,say, > > ~/.purpur to home/kline/.purple? along with many hundreds of other > > dot files? scp doesn't do it. > > > > tx, > > > > scp u...@foo:\.dotfile .dotfile > > Regards, > Use rsync over ssh. -- Jason Helfman System Administrator experts-exchange.com http://www.experts-exchange.com/M_4830110.html ___ 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: localization management tool which works in FreeBSD
Check out Puppet. It may fit most of your needs, and it is very configurable, so you can design it for what you need it to do. http://reductivelabs.com/trac/puppet/wiki/AboutPuppet GUI is available as 3rd Party, I believe. -jgh On Aug 26, 2009, at 12:47 AM, Matthias Apitz wrote: Hello, Is ther some localization management tool which runs in FreeBSD and supports - connectors to CVS or SVN (i.e. pulls/stores the source and translated files there) - extracts text pieces for translations from various file formats, like XML, HTML, PO, ASCII, ... presents these extracted strings for translation and writes the target file with the translated strings; - keeps somehow track of already translated text pieces and offers the translation nextime the (modified) source file is opened again; - does some checks, for example if the length of the translated string will fit, some kind of aspell/ispell checks, ... - export/import of extracted strings and its translation to give a way the work of translation to translators; - GUI Thanks in advance matthias -- Matthias Apitz t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211 e - w http://www.unixarea.de/ People who hate Microsoft Windows use Linux but people who love UNIX use FreeBSD. ___ 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 " ___ 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"
kernel compiling questions
Hi. I am trying to figure out how when making the kernel that the number is incremented. For example my system reads: FreeBSD 7.2-RELEASE #4 I have my own kernel that works, however I would like to have it read this: FreeBSD 7.2-RELEASE #0 Is there a way to resolve this? Thanks! Jason ___ 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: Which nVidea driver to install
I am not exactly sure which driver I am using between these two, however I have found that setting up the driver and display are great with these packages installed. I guess I would be using the most recent :) nvidia-driver-173.14.12 nvidia-driver-71.86.06 nvidia-settings-173.14.09 nvidia-xconfig-1.0_2 After you use the "nvidia" driver in your Xorg.conf file, I would suggest running, nvidia-xconfig, and then nvidia-settings while in X to configure the card. -Jason On Mon, Jun 08, 2009 at 05:05:42PM +0100, Mike Clarke thus spake: On Monday 08 June 2009, Carmel wrote: One last question; if I install the AMD 64 bit version of FBSD, will the NV driver work? I know that the regular one won't since it doesn't support 64 bit systems. I'm using i386 so have no direct experience of this but package versions of the xf86-video-nv port are available for both i386 and amd64 so you should have no problem. -- Mike Clarke ___ 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" ___ 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: openoffice.org-3 compiling issue
On Fri, Jun 05, 2009 at 08:33:22AM +0300, Manolis Kiagias thus spake: Jason wrote: Hello, Newbie to FreeBSD here, however I have been studying like a madman, running it on my desktop, and administering systems on a daily basis so I've learned quiet a bit recently. I am trying to install openoffice.org-3 port, and am receiving the following error. 1 module(s): openssl need(s) to be rebuilt Reason(s): ERROR: error 65280 occurred while making /usr/ports/editors/openoffice.org-3/work/BEB300_m3/openssl Attention: if you build and deliver the above module(s) you may prolongue your the build issuing command "build --from openssl" *** Error code 1 Stop in /usr/ports/editors/openoffice.org-3. At first I received this error, I was running -j5 with my make command, but after removing that I managed to get pass the initial error that included icu and ssl issues. All posts that look similar to the error I am having, have no replies to them. Thanks, Jason Which version of FreeBSD are you using? 7.1 I am getting the above error trying to compile openoffice 3 on 8.0-CURRENT tinderbox (and I tried several times, updating to the latest current). It compiles normally on 7.2-RELEASE (haven't tested on stable). After updating my ports tree, I was albe to do a successful build. Thanks very much. -jgh ___ 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"
openoffice.org-3 compiling issue
Hello, Newbie to FreeBSD here, however I have been studying like a madman, running it on my desktop, and administering systems on a daily basis so I've learned quiet a bit recently. I am trying to install openoffice.org-3 port, and am receiving the following error. 1 module(s): openssl need(s) to be rebuilt Reason(s): ERROR: error 65280 occurred while making /usr/ports/editors/openoffice.org-3/work/BEB300_m3/openssl Attention: if you build and deliver the above module(s) you may prolongue your the build issuing command "build --from openssl" *** Error code 1 Stop in /usr/ports/editors/openoffice.org-3. At first I received this error, I was running -j5 with my make command, but after removing that I managed to get pass the initial error that included icu and ssl issues. All posts that look similar to the error I am having, have no replies to them. Thanks, Jason ___ 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"