• Recent
    • Unsolved
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login
    1. Home
    2. sudburr
    3. Posts
    • Profile
    • Following 0
    • Followers 1
    • Topics 129
    • Posts 747
    • Groups 2

    Posts

    Recent Best Controversial
    • Help with SED in Ubuntu

      I want to SED a file. That file contains many lines. There is a two-possibilities string I want to replace:

      scenario 1:
      ///

      scenario 2:
      //anything/

      In both cases I want to replace what occurs between // and /.

      What I’m trying:

      VAR=<something>
      sed -i "s;//([^/]+)/;//$VAR/; " /path/file

      This only works for scenario 2. I already have a second sed line in place to brute force replace /// whenever it occurs, but I would love to have it in a single command if possible.

      posted in Linux Problems
      sudburrS
      sudburr
    • RE: SVN 3125 & Hyper-V 2012 R2

      Something texty this way pastes (from Apache2 error.log):

      [Tue Apr 21 15:57:26.270596 2015] [:error] [pid 2509] [client 172.19.252.91:64306] PHP Fatal error: Call to undefined function mcrypt_get_iv_size() in /var/www/fog/lib/fog/FOGBase.class.php on line 301, referer: [url]http://devfog/fog/management/index.php?node=about&sub=settings[/url]
      [Tue Apr 21 16:09:45.085649 2015] [:error] [pid 6306] [client 172.19.252.91:64807] PHP Fatal error: Call to undefined function mcrypt_get_iv_size() in /var/www/fog/lib/fog/FOGBase.class.php on line 301, referer: [url]http://devfog/fog/management/index.php?node=about&sub=settings[/url]
      [Tue Apr 21 16:10:09.541837 2015] [:error] [pid 2509] [client 172.19.252.91:64820] PHP Fatal error: Call to undefined function mcrypt_get_iv_size() in /var/www/fog/lib/fog/FOGBase.class.php on line 301, referer: [url]http://devfog/fog/management/index.php?node=about&sub=settings[/url]
      [Tue Apr 21 16:11:15.654575 2015] [:error] [pid 10252] [client 172.19.252.91:64855] PHP Fatal error: Call to undefined function mcrypt_get_iv_size() in /var/www/fog/lib/fog/FOGBase.class.php on line 301, referer: [url]http://devfog/fog/management/index.php?node=about&sub=settings[/url]
      [Tue Apr 21 16:11:33.361855 2015] [:error] [pid 10254] [client 172.19.252.91:64869] PHP Fatal error: Call to undefined function mcrypt_get_iv_size() in /var/www/fog/lib/fog/FOGBase.class.php on line 301, referer: [url]http://devfog/fog/management/index.php?node=about&sub=settings[/url]
      [Tue Apr 21 16:14:22.390926 2015] [:error] [pid 6306] [client 172.19.252.91:64966] PHP Fatal error: Call to undefined function mcrypt_get_iv_size() in /var/www/fog/lib/fog/FOGBase.class.php on line 301, referer: [url]http://devfog/fog/management/index.php?node=about&sub=settings[/url]
      [Tue Apr 21 16:14:50.851178 2015] [:error] [pid 2510] [client 172.19.252.91:64987] PHP Fatal error: Call to undefined function mcrypt_get_iv_size() in /var/www/fog/lib/fog/FOGBase.class.php on line 301, referer: [url]http://devfog/fog/management/index.php?node=about&sub=settings[/url]
      [Tue Apr 21 17:01:59.452108 2015] [:error] [pid 10253] [client 172.19.252.91:52141] PHP Fatal error: Call to undefined function mcrypt_get_iv_size() in /var/www/fog/lib/fog/FOGBase.class.php on line 301, referer: [url]http://172.19.244.13/fog/management/index.php?node=about&sub=settings[/url]

      posted in Bug Reports
      sudburrS
      sudburr
    • RE: SVN 3125 & Hyper-V 2012 R2

      Whether I access the fog server by IP or DNS name the result is the same.

      posted in Bug Reports
      sudburrS
      sudburr
    • RE: SVN 3125 & Hyper-V 2012 R2

      I’m not sure what you’re asking, but that’s the server name.

      posted in Bug Reports
      sudburrS
      sudburr
    • RE: SVN 3125 & Hyper-V 2012 R2

      Wait a sec …

      Hitting save at any time for any reason on the Fog Settings page sends me to:

      [url]http://devfog/fog/management/index.php?node=about&sub=settings[/url]

      [I]The website cannot display this page (HTTP 500)[/I]

      This did happen when I initially tried to set debug, but thought it a random browser fault, and didn’t check to see if the setting stuck. It isn’t. I’ve tried again with the same result. I even tried just saving the unchanged settings page and get the same error.

      posted in Bug Reports
      sudburrS
      sudburr
    • RE: SVN 3125 & Hyper-V 2012 R2

      Running SVN3283 [B]Quick Host Register[/B] with 4.0.0 in debug elicits:

      error: /dev/sda2: no such file or directory
      udevd[2240]: inotify_add_watch(6, /dev/sda2, 10) failed: No such file or directory

      • Using disk device … /dev/sda

      • Starting host registration…

      • Attempting to register host …
        … cr+lf over and over…

      Running SVN3283 [B]Full Host Register[/B] with 4.0.0 in debug elicits the same messages as originally indicated.

      posted in Bug Reports
      sudburrS
      sudburr
    • RE: SVN 3125 & Hyper-V 2012 R2

      Continuing the install with MYSQLI_ASYNC …

      – svn: 3283
      [B]-- Kernel: 4.0.0[/B]
      – iPXE: 1.0.0+ (eda1)

      The problem has reverted to as described at the top of this thread for the Hyper-V 2012 R2 client.

      Reverting to [B]Kernel: 3.18.5 .[/B]

      posted in Bug Reports
      sudburrS
      sudburr
    • RE: SVN 3125 & Hyper-V 2012 R2

      Okay, looks like I pulled down 3283 and I have a new option upon installation:

      What MySQL connection type would you like?
      MYSQLI_STORE_RESULT is normal
      MYSQL_ASYNC is what is Defaulted and recommended
      Any value not equal to MYSQLI_ASYNC and not blank will use store result

      To answer, what did FOG set up prior to this?

      posted in Bug Reports
      sudburrS
      sudburr
    • RE: SVN 3125 & Hyper-V 2012 R2

      Updating now… brb. wheeee

      posted in Bug Reports
      sudburrS
      sudburr
    • RE: SVN 3125 & Hyper-V 2012 R2

      A quick test of Kernel 4.0.0 presents a new failure. BTW I’m still using SVN 3127.

      /bzImage… ok
      /init.xz… ok
      tulip: Cannot enable tuilip board #0, aborting
      piix4_smbus 0000:00:07.3: SMBus base address uninitialized - upgrade BIOS or use force_addr=0xaddr
      Starting logging: OK
      Populating /dev using udev: done
      Initializing random number generator… done.
      Starting network…
      ip: RTNETLINK answers: File exists
      ssh-keygen: generating new host keys: RSA1 RSA DSA ECDSA ED25519
      Starting sshd: OK

      < screen clears >
      < Free Computer Imaging Solution banner page appears followed by >

      An error has been detected!

      Failed to initialize disk

      Computer will reboot in 1 minute.

      Actually… 4.0.0 presents this error on other physical machines as well.

      Forgive my foggy response… burning off a migraine here, but how do I run debug for quick/full host registration?

      posted in Bug Reports
      sudburrS
      sudburr
    • RE: SVN 3125 & Hyper-V 2012 R2

      The problem still exists for [B]Kernel: 3.19.3 .[/B]

      posted in Bug Reports
      sudburrS
      sudburr
    • RE: SVN 3125 & Hyper-V 2012 R2

      Yes, the Friendly Giant. Good times …

      posted in Bug Reports
      sudburrS
      sudburr
    • RE: SVN 3125 & Hyper-V 2012 R2

      Look up, look way up… and I’ll call Rusty.

      posted in Bug Reports
      sudburrS
      sudburr
    • RE: SVN 3125 & Hyper-V 2012 R2

      According to my FOG Configuration > Kernel Update page, the kernel has not been updated past 3.19.2.

      Is a fix for this Hyper-V 2012 R2 problem in the queue of the list of many things to be done?

      posted in Bug Reports
      sudburrS
      sudburr
    • RE: Download Image issue

      Have you considered using Darik’s Boot And Nuke to zero the drive?

      posted in General
      sudburrS
      sudburr
    • RE: Latest Development FOG

      Having said that, and as much as I agree, upgrading to the SVN several times from 1.2.0 became a necessity for us to address multiple issues we encountered in our environment.

      We’re currently standardized on:

      – svn: 3127
      – Kernel: 3.18.5 x86_64 (manually downgraded)
      – iPXE: 1.0.0+ (acc27)

      Of course new SVN are vetted in our dev environment before being pushed onto our live servers.

      posted in General
      sudburrS
      sudburr
    • RE: SVN 3125 & Hyper-V 2012 R2

      I rolled the kernel back through successive older versions.

      – svn: 3127
      [B]-- Kernel: 3.18.5[/B]
      – iPXE: 1.0.0+ (acc27)

      … works.

      posted in Bug Reports
      sudburrS
      sudburr
    • RE: SVN 3125 & Hyper-V 2012 R2

      The VM is set to use a Legacy Adapter; or it wouldn’t have PXE booted at all as a Gen1 machine.

      posted in Bug Reports
      sudburrS
      sudburr
    • RE: SVN 3125 & Hyper-V 2012 R2

      – svn: 3127
      – Kernel: 3.19.2
      – iPXE: 1.0.0+ (acc27)

      Problem still exists.

      posted in Bug Reports
      sudburrS
      sudburr
    • SVN 3125 & Hyper-V 2012 R2

      – svn: 3125
      – Kernel: 3.19.1
      – iPXE: 1.0.0+ (acc27)

      I am unable to “Quick Register” or “Full Register” a Hyper-V 2012 R2 Generation 1 VM with FOG SVN 3125.

      Quick Register sticks at “Attempting to register host …” plus slowly creeping CR+LF

      Full Register throws up this:

      Unable to register host for the following reasons:

      BUG: using smp_processor_id() in preemptible [00000000] code: hdparm/2312
      SG_IO: bad/missing sense data, sb[]: 70 00 05 00 00 00 00 0a 00 00 00 00 20 00 00 … more 00
      HDIO_GET_IDENTITY failed: Invalid argument

      System Information: … lots of info …
      BIOS Information: … lots of info …
      Motherboard Information: … lots of info …

      Then the screen clears and fills with a column of “None” and continues with Memory Info, then [B]Hard Disk: with no information attached[/B], then Case information.

      Then it too sticks at “Attempting to register host …” plus slowly creeping CR+LF

      The VM passes the Compatibility check.

      I have verified that Quick and Full work on physical machines.

      Concurrently, not seeing the HD prevents uploading even if I manually create the host in FOG.

      I’m going to try 3127 now.

      posted in Bug Reports
      sudburrS
      sudburr
    • 1 / 1