Re: Installation hangs during Archive extraction phase (9.1)
On 7/26/2013 12:00 PM, Ewald Jenisch wrote: Hi, Upon trying to install FreeBSD 9.1 on a HP Proliant DL585G5 installation freezes when it comes to the point Archive Extraction while extracting ports. To be specific, the system freezes while extracting ports.txz at 23% with Overal Progress being 29%. You don't actually need to install ports.txz. All it does is populate /usr/ports, but you can do that after install using portsnap as documented in the handbook (http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/ports-using.html): portsnap fetch portsnap extract First I thought about the installation medium, so I re-burned the installation CD (disc1), tried the DVD-installation, even installing over the network - the machine always freezes when it comes to archive extraction. For the hardware part: HP Proliant DL585G5 128GB RAM 8 HDs a 146GB: two of them in Raid-1, the remainder Raid0 2x onboard LAN: (HP NC371i) 2 addon NIC-cards with 2 ports each (HP NC360T) Harddisk has been set up with GPT, for the test automatic partitioning. Has anybody out there seen this type of problem? If yes, any known cure/hint/??? Thanks much in advance for any clue, -ewald ___ 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: Errors building mysql55-client
I get these in poudriere: [01] Starting build of databases/mysql56-client [01] Finished build of databases/mysql56-client: Failed: checksum [01] Skipping build of databases/mysql56-server: Dependent port databases/mysql56-client failed Stopping 2 builders No package built, no need to update the repository Cleaning up Umounting file systems Failed ports: databases/mysql56-client:checksum Skipped ports: databases/mysql56-server [] 0 packages built, 1 failures, 0 ignored, 1 skipped This is mysql56, but I think it's related. As far as I know upstream changed the package because of man pages license issues. Didn't look into it any further, using mariadb mainly. On 7/8/2013 10:57 PM, Dave Hayes wrote: On 06/27/13 03:13, C. L. Martinez wrote: On Thu, Jun 27, 2013 at 9:21 AM, Trond Endrestøl trond.endres...@fagskolen.gjovik.no wrote: On Thu, 27 Jun 2013 07:55-, C. L. Martinez wrote: Either the file named distinfo is messed up, or the maintainer has access to a different file than the rest of us. Maybe you should wait until the MySQL mirrors catches up. I'm going to confirm that this was a recent patch to the ports tree: http://svnweb.freebsd.org/ports/head/databases/mysql55-server/distinfo?r1=320671r2=321789 It's pretty clear the versions the port is trying to download -used- to match the distinfo file, but they no longer do. This cryptic comment: Distfile rerolled to make it clearer the license of this community edition (GPLv2). seems to be the source of these errors which are biting me too. It would be nice for some clearer documentation on why distinfo was changed, what the real issue is, and what we can do to build this correctly. Naively speaking, the version available for download off the mysql site matches the old distinfo SHA checksum so I'm not sure why this was changed at all. I've CC'd the ports list and the responsible committer on this. I'll file a PR too if I get no response to this message. :) ___ 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: HP ILO FreeBSD 8.3 Installation problem
On 7/4/2013 4:59 PM, Emre Çamalan wrote: Hi, I'm trying to install FreeBSD with an HP ILO 4 advanced, web interface. I tried to install FreeBSD 8.2, FreeBSD 8.3 and FreeBSD 8.4. I tried to use acd0 and cd0 as media. I got the same result. ERROR: I'm trying to add freebsd8.3iso from ILO such as virtual drive not from cd or dvd. We had a similar experience with Dell's DRAC and FreeBSD 9.1, after initial boot and kernel load it wasn't able to mount / from (virtual) cd. We ended up using an mfsBSD iso ( http://mfsbsd.vx.sk/ ), which doesn't mount from cd, but uses an .img loaded as memory disk. Didn't try the official bootonly iso or the USB image. In Screeshot: Error: mounting /dev/acd0 on /dist: Input/output error (5) There is no screenshot, list strips attachments. other ERROR: Unable to initialize selected media. Would you like to adjust your media configuration and try again? ___ 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: getting system's telnet sessions' pid per pty
any ideas? any other command line tools which may help me?? any command which gives me pid per tty information or alike? Try fstat(1) and procstat(1) ___ 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: SPAM: Re: ZFS root, error 2 when mounting root
On 02/26/2013 04:31 PM, Chad M Stewart wrote: I've been down this road recently with 9.1-release. I ended up adding these lines to end of my script ## The next two are hacks in my book, without the last line, on reboot ## it gets stuck trying to find zfs:zroot/ROOT, but somehow the -f or reboot fixes # this quirk zpool export zroot zpool import -f zroot reboot Without the altroot it replaces the live CD mounts, and basically renders the system pointless, except that it works on reboot. :) I tried all sorts of other ways to make it work, mounting zroot and specifying a cache file, then cp the file over, etc., nothing I did worked except the above. There is probably a cleaner/better way but I was not able to find it. I seem to remember trying that too, forced import, but after an unsuccessful reboot, not at the end of the script. It didn't work for me. Anyway, thanks for the answers, it's a bit more clear now. ___ 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
ZFS root, error 2 when mounting root
Basically, I tried to follow https://wiki.freebsd.org/RootOnZFS/GPTZFSBoot/9.0-RELEASE, but ended up with a system that didn't know how to mount /. There are two scripts attached. zfsnocache.sh follows the instructions on the wiki. The system booted just fine, but when it got to the part where it mounts the root partition, it stopped with 'error 2' 'unknown file system'. I could import the pool when booting from LiveFS, I wrote to it, it was working fine, but at boot it just refused to be mounted as /. zfswithcache.sh from http://strahlert.net/wordpress/?p=142, I think. This worked with no issues. The main difference I see between those two scripts is that one doesn't use a cache file and the other one does, hence the name of the scripts. But it should work without cachefile too, shouldn't it? The other difference is how mountpoints are set, but I can't figure out what could be wrong there. Can someone please explain why zfsnocache fails to mount / ? ___ 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: convert date and time to epoch in awk
So, is there a way to compare two dates in FreeBSD's awk or convert a date to epoch? Or some other fast way to select the last 10 minutes from a log file? An example would be appreciated, if possible. Converting a date to an epoch is easy with date(1) (note: awk can make a system call and read back the stdout into a variable). For example, if I want to convert the date: Fri 01 Feb 2013 into an epoch using: date -j -f %a %d %b %Y Fri 01 Feb 2013 +%s The output of which is the following epoch: 1359763497 Doing this all from awk: echo Fri 01 Feb 2013 | awk ' { mydate = $0 date -j -f \%a %d %b %Y\ \ mydate \ +%s | getline myepoch print mydate = myepoch }' Hope this helps. It does, exactly what I was looking for, many thanks. ___ 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: convert date and time to epoch in awk
b I want to write a script that parses the last, say, 10 minutes of a log b file looking for a certain string, like 'error', or failed', and returns b how many times it shows up. The script would be run by Nagios and if it b returns 0 an alert is raised. Each line of the log file starts with a b date like 'Feb 19 23:45:32'. Instead of looking for 'error' or 'failed', I'd recommend weeding out benign log entries and returning everything else. Well, that was just an example, my needs are a bit more specific, but I found some new stuff for later in those links, thanks. ___ 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