• Recent
    • Unsolved
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login
    1. Home
    2. jeffj
    3. Posts
    J
    • Profile
    • Following 0
    • Followers 0
    • Topics 7
    • Posts 37
    • Best 3
    • Controversial 0
    • Groups 0

    Posts made by jeffj

    • RE: Restarting Apache2 for fog vhost Failed!

      apache2.conf line 140:

      IncludeOptional mods-enabled/*.load

      php.load line 1 (also happens to be the only line):

      LoadModule php5_module /usr/lib/apache2/modules/libphp5.so

      something to note the php.load file only exists after I run the installer for fog before it does not exist.

      Edit: I checked the /usr/lib/apache2/modules/ folder and there is a libphp7.0.so I believe that is where the problem lies. though fixing it i am unsure how to do.

      posted in FOG Problems
      J
      jeffj
    • Restarting Apache2 for fog vhost Failed!
      Server
      • FOG Version: 1.3 RC-14
      • OS: Ubuntu 16.04
      Description

      So I have been working on getting fog installed on the ubuntu 16.04…

      obligatory I know I shouldn’t upgrade the os willy nilly because it causes problems most of the time.

      never the less I have done it and I am having problems on the install. this is an upgrade, btw it was on 14.04 and the fog version was 1.3 RC-8.

      I have read though the other posts pertaining to installing on 16.04 and it appears some people have had mixed results when installing this. Unfortunately, I have not had any luck getting it to work.

      I have commented out the packages line in the .fogsettings and deleted the php version info from php-var and php-varadd lines. everything appears to install fine up to the restarting of apache2 which fails.

      when checking the status of apache2 after the failed install shows it is failed (result: exit code).
      I also checked the fog error log in the /foginstalllocation/bin/error_log(s) folder and this is what is at the end of the log:

      Country Name (2 letter code) [AU]:State or Province Name (full name) [Some-State]:Locality Name (eg, city) []:Organization Name (eg, company) [Internet Widgits Pty Ltd]:Organizational Unit Name (eg, section) []:Common Name (e.g. server FQDN or YOUR name) []:Email Address []:
      Please enter the following ‘extra’ attributes
      to be sent with your certificate request
      A challenge password []:An optional company name []:Signature ok
      subject=/CN=10.3.1.100
      Getting CA Private Key
      ln: failed to create symbolic link ‘/var/www/html/fog/fog’: File exists
      Enabling module php.
      To activate the new configuration, you need to run:
      service apache2 restart
      Enabling module rewrite.
      To activate the new configuration, you need to run:
      service apache2 restart
      Considering dependency setenvif for ssl:
      Module setenvif already enabled
      Considering dependency mime for ssl:
      Module mime already enabled
      Considering dependency socache_shmcb for ssl:
      Enabling module socache_shmcb.
      Enabling module ssl.
      See /usr/share/doc/apache2/README.Debian.gz on how to configure SSL and create self-signed certificates.
      To activate the new configuration, you need to run:
      service apache2 restart
      Enabling site 001-fog.
      To activate the new configuration, you need to run:
      service apache2 reload
      Job for apache2.service failed because the control process exited with error code. See “systemctl status apache2.service” and “journalctl -xe” for details.
      ● apache2.service - LSB: Apache2 web server
      Loaded: loaded (/etc/init.d/apache2; bad; vendor preset: enabled)
      Drop-In: /lib/systemd/system/apache2.service.d
      └─apache2-systemd.conf
      Active: failed (Result: exit-code) since Tue 2016-10-18 10:00:50 CDT; 2s ago
      Docs: man:systemd-sysv-generator(8)
      Process: 20583 ExecStart=/etc/init.d/apache2 start (code=exited, status=1/FAILURE)
      Oct 18 10:00:50 fog apache2[20583]: *
      Oct 18 10:00:50 fog apache2[20583]: * The apache2 configtest failed.
      Oct 18 10:00:50 fog apache2[20583]: Output of config test was:
      Oct 18 10:00:50 fog apache2[20583]: apache2: Syntax error on line 140 of /etc/apache2/apache2.conf: Syntax error on line 1 of /etc/apache2/mods-enabled/php.load: Cannot load /usr/lib/apache2/modules/libphp5.so into server: /usr/lib/apache2/modules/libphp5.so: cannot open shared object file: No such file or directory
      Oct 18 10:00:50 fog apache2[20583]: Action ‘configtest’ failed.
      Oct 18 10:00:50 fog apache2[20583]: The Apache error log may have more information.
      Oct 18 10:00:50 fog systemd[1]: apache2.service: Control process exited, code=exited status=1
      Oct 18 10:00:50 fog systemd[1]: Failed to start LSB: Apache2 web server.
      Oct 18 10:00:50 fog systemd[1]: apache2.service: Unit entered failed state.
      Oct 18 10:00:50 fog systemd[1]: apache2.service: Failed with result ‘exit-code’.

      After the failed install apache2 will not restart until i purge and re-install it

      I noticed these lines in particular

      Oct 18 10:00:50 fog apache2[20583]: apache2: Syntax error on line 140 of /etc/apache2/apache2.conf: Syntax error on line 1 of /etc/apache2/mods-enabled/php.load: Cannot load /usr/lib/apache2/modules/libphp5.so into server: /usr/lib/apache2/modules/libphp5.so: cannot open shared object file: No such file or directory

      I am guessing some config file for apache is being changed which breaks it.

      Thank you ahead of time for your help!

      Edit: Here is some more information to maybe help resolve this problem.

      when running dpkg -l | grep php this is the output

      ii libapache2-mod-php7.0 7.0.12-1+deb.sury.org~xenial+1 i386 server-side, HTML-embedded scripting language (Apache 2 module)
      ii php-common 1:45+deb.sury.org~xenial+1 all Common files for PHP packages
      ii php-gettext 1.0.11-2+deb.sury.org~xenial+1 all read gettext MO files directly, without requiring anything other than PHP
      ii php-pear 1:1.10.1+submodules+notgz-8+donate.sury.org~xenial+2 all PEAR Base System
      ii php-xml 1:7.0+45+deb.sury.org~xenial+1 all DOM, SimpleXML, WDDX, XML, and XSL module for PHP [default]
      ii php7.0 7.0.12-1+deb.sury.org~xenial+1 all server-side, HTML-embedded scripting language (metapackage)
      ii php7.0-bcmath 7.0.12-1+deb.sury.org~xenial+1 i386 Bcmath module for PHP
      ii php7.0-cli 7.0.12-1+deb.sury.org~xenial+1 i386 command-line interpreter for the PHP scripting language
      ii php7.0-common 7.0.12-1+deb.sury.org~xenial+1 i386 documentation, examples and common module for PHP
      ii php7.0-curl 7.0.12-1+deb.sury.org~xenial+1 i386 CURL module for PHP
      ii php7.0-fpm 7.0.12-1+deb.sury.org~xenial+1 i386 server-side, HTML-embedded scripting language (FPM-CGI binary)
      ii php7.0-gd 7.0.12-1+deb.sury.org~xenial+1 i386 GD module for PHP
      ii php7.0-json 7.0.12-1+deb.sury.org~xenial+1 i386 JSON module for PHP
      ii php7.0-ldap 7.0.12-1+deb.sury.org~xenial+1 i386 LDAP module for PHP
      ii php7.0-mbstring 7.0.12-1+deb.sury.org~xenial+1 i386 MBSTRING module for PHP
      ii php7.0-mcrypt 7.0.12-1+deb.sury.org~xenial+1 i386 libmcrypt module for PHP
      ii php7.0-mysql 7.0.12-1+deb.sury.org~xenial+1 i386 MySQL module for PHP
      ii php7.0-opcache 7.0.12-1+deb.sury.org~xenial+1 i386 Zend OpCache module for PHP
      ii php7.0-readline 7.0.12-1+deb.sury.org~xenial+1 i386 readline module for PHP
      ii php7.0-xml 7.0.12-1+deb.sury.org~xenial+1 i386 DOM, SimpleXML, WDDX, XML, and XSL module for PHP

      posted in FOG Problems
      J
      jeffj
    • RE: Cannot Image Host SVN 5455 USB NIC Inspiron 7348

      SUCCESS! I have successfully created and deployed the images for these machines in efi mode. Thank you for all the help!

      posted in FOG Problems
      J
      jeffj
    • RE: Cannot Image Host SVN 5455 USB NIC Inspiron 7348

      this morning I updated to 5572 and after I fixed the memory problem that was not allowing the host page to load I was able to start the capture of the image. I will update again after it has finished about deploying the image to another machine but so far it looks like it may work.

      posted in FOG Problems
      J
      jeffj
    • RE: Fog Version 5507 Cannot Access Host Management

      uping the memory fixed im still not sure what is taking the memory but I changed it to 256 and now the page loads correctly. Thank you for your help.

      posted in FOG Problems
      J
      jeffj
    • RE: Fog Version 5507 Cannot Access Host Management

      ok build 5509 similar error:

      Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 4194433 bytes) in /var/www/html/fog/lib/db/MySQL.class.php on line 163

      posted in FOG Problems
      J
      jeffj
    • RE: Fog Version 5507 Cannot Access Host Management

      @Tom-Elliott

      I will give it a try I am running ubuntu 14.04 fyi

      posted in FOG Problems
      J
      jeffj
    • RE: Fog Version 5507 Cannot Access Host Management

      i think it is a little over 50 that is registered

      posted in FOG Problems
      J
      jeffj
    • Fog Version 5507 Cannot Access Host Management

      When I click on the Host management button it doen’t load all i get is this error:

      Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 4194433 bytes) in /var/www/html/fog/lib/db/MySQL.class.php on line 166

      all other “tabs” work

      posting per Sebastian Roth.

      posted in FOG Problems
      J
      jeffj
    • RE: Cannot Image Host SVN 5455 USB NIC Inspiron 7348

      @Sebastian-Roth

      yes sigh i did update i knew better but still did it anyway…the apache log has this:

      [Tue Nov 24 16:52:39.958421 2015] [:error] [pid 1359] [client xxx.xxx.xxx.xxx:58640] PHP Warning: mysqli::real_escape_string(): Couldn’t fetch mysqli in /var/www/html/fog/lib/db/MySQL.class.php on line 165, referer: http://10.3.1.100/fog/management/index.php

      posted in FOG Problems
      J
      jeffj
    • RE: Cannot Image Host SVN 5455 USB NIC Inspiron 7348

      well i have updated and configured the machine I wanted to image and when I click on the host link to select the host to start the upload I am unable to view the screen the host page is just blank…I checked the /var/www/fog/lib/pages folder and the hostmanagementpage.class.php has the node name as host and i dont know enough programming to find the information in the index.php that would point to the host page i am at a loss.

      posted in FOG Problems
      J
      jeffj
    • RE: Cannot Image Host SVN 5455 USB NIC Inspiron 7348

      some updates about this, I downloaded the init.xz and bzimage the way it is shown in the link, but when I tried to boot it failed at bzimage so I then went to kernel update in the fog gui and downloaded the 4.3.0 bzimage I noticed in my tftp folder I could change the undionly.kkpxe to ipxe.efi. did that and changed my boot back to efi and when it boots it now gets to part clone interface but fails. I think that part is because the image was made differently. I am going to remake the image and see what happens. as to weather or not I can boot to a live linux, I tried cent os and it hung and didnt boot and I dont have another os handy at this moment.

      posted in FOG Problems
      J
      jeffj
    • RE: Cannot Image Host SVN 5455 USB NIC Inspiron 7348

      @Sebastian-Roth also I played the video myself and watched it step by step there is a part that says:

      Simple Boot Flag value 0x81 read from CMOS RAM was invalid
      Simple boot Flag at 0x44 set to 0x1
      ACPI FADT declares the system doesn’t support PCIe ASPM, so disable it

      not sure if you saw that.

      posted in FOG Problems
      J
      jeffj
    • RE: Cannot Image Host SVN 5455 USB NIC Inspiron 7348

      I left it on over the weekend so hours and with the acpi_osi=Linux i left for over an hour. with the pcie_aspm=force longer than 10 min still no change.

      posted in FOG Problems
      J
      jeffj
    • RE: Cannot Image Host SVN 5455 USB NIC Inspiron 7348

      here you go hope this helps!

      https://app.box.com/s/h5oe1whn7nndljhih3glz5q91vtq9yj1

      posted in FOG Problems
      J
      jeffj
    • RE: Cannot Image Host SVN 5455 USB NIC Inspiron 7348

      So just got in the office this morning and checked the bzImage and init.xz files they are 6837408 and 16329408 respectivly those number do differentiate from the numbers you listed. Im not exactly sure how to re-download just those two files. I am not the best in linux so if there is a way to get the whole list of debug information from the boot sequence I don’t know how there may be better information to give you but it is flying by too quickly to read. when adding the acpi_osi=Linux it then gives the firmware bug BIOS _osi(Linux) query honored via cmdline but still hangs.

      posted in FOG Problems
      J
      jeffj
    • Cannot Image Host SVN 5455 USB NIC Inspiron 7348

      I have upgraded my fog machine to SVN 5455 and I am trying to image multiple Inspiron 7348’s. when I connect it to the network using the usb nic it only sees one machine no matter which one I plug the usb adapter into not as different machines. That is not so much the problem because it is reading the mac from the adapter and after it images the machine I can rename and finish setting it up how I would like. In an earlier version of fog I was able to create and distribute images to these machines, but now it is hanging after it loads bzimage ok and init.xz ok. I am using bzimage 4.3.0, undionly.kkpxe, and in the fog web interface it shows the host in the task management list as “queued” I have turned on debug mode and set it to 7 and when I reboot it flashes information to quick to read but it hangs at

      "[firmware bug]: ACPI: BIOS _OSI(Linux) query ignored
      ACPI: Dynamic OEM Table Load:
      ACPI: SSDT 0xFFFF880255813800 0003D3 (v2 PmRef Cpu0Cst 00003001 INTL 20130117)
      ACPI: SSDT 0xFFFF8802558EF000 0005AA (v2 PmRef ApIst 00003000 INTL 20130117)
      ACPI: SSDT 0xFFFF880255AA2A00 000119 (v2 PmRef ApCst 00003000 INTL 20130117)

      Aslo I have secure boot turned off and boot set to legacy boot.

      any help would be Greatly Appreciated.

      posted in FOG Problems
      J
      jeffj
    • 1 / 1