• Recent
    • Unsolved
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login
    1. Home
    2. TheWizardUk
    3. Posts
    T
    • Profile
    • Following 0
    • Followers 0
    • Topics 6
    • Posts 25
    • Best 0
    • Controversial 0
    • Groups 0

    Posts made by TheWizardUk

    • UserTracker Error

      Hello All,

      When using the usertracker occasionally it will not write any data to the db, fog log shows (on unit / service start-up)

      01/10/2014 06:31 FOG::UserTracker Unknown error, module will exit.

      however the next day it may be fine and capture the data

      has anyone else seen this or has a suggested workaround?

      FOG 1.1.2

      posted in FOG Problems
      T
      TheWizardUk
    • RE: User Login Hist Time Stamp

      Ben ensure your php.ini file has your timezone defined, ubuntu location is "/etc/php5/apache2/php.ini
      date.timezone = “Europe/London”

      Timezone list can be found [url]http://php.net/manual/en/timezones.php[/url]

      also ensure you have a daily cron for an ntp update

      [FONT=Helvetica Neue][COLOR=#000000][SIZE=14px]create a file/etc/cron.daily/ntpdate containing:[/SIZE][/COLOR][/FONT]
      [FONT=Helvetica Neue][COLOR=#000000][SIZE=14px][/SIZE][/COLOR][/FONT]
      [COLOR=#000000]ntpdate ntp.ubuntu.com[/COLOR]
      [COLOR=#000000]sudo chmod 755 /etc/cron.daily/ntpdate[/COLOR]

      posted in Linux Problems
      T
      TheWizardUk
    • RE: User Login Hist Time Stamp

      never mind i found the problem

      posted in Linux Problems
      T
      TheWizardUk
    • User Login Hist Time Stamp

      Hello All,

      We are using Fog to track user log on / off times to the workstations, the time on the server and end points are correct however when using the Report Management the time stamp is incorrect

      any thoughts?

      Thanks
      Mike

      posted in Linux Problems
      T
      TheWizardUk
    • User Login Hist

      I would like to automate the user log in history

      looking at the url when manually viewing a user

      HOSTID = 0 i assume this means all hosts the user has logged into?
      USERID is the user i am review
      = must be the date range but i am not sure how to set it to all dates ?

      IP ADDRESS /fog/management/index.php?node=report&sub=user-track-disp&hostID=0&userID=test12323544325=

      is there a way to do this? and save the PDF to a folder? i could then set up a script to name the files from id’s to user names then have it email

      it would be great if you could do this on all workstations within a group

      Thanks

      posted in General
      T
      TheWizardUk
    • RE: Wake-Up task

      sorted thank you

      posted in FOG Problems
      T
      TheWizardUk
    • RE: Can't reach domain names after starting dnsmasq

      Hi Tob

      i was running dnsmasq without any issue

      are you using dnsmasq for a DNS server or just to pick up your fog server on PXE boot without needing to mod you DHCP server?

      is that all of your ltsp.conf?

      when PXE booting does it redirect to your fog server?

      posted in FOG Problems
      T
      TheWizardUk
    • RE: ClientUpdater

      Thanks Tom

      posted in FOG Problems
      T
      TheWizardUk
    • RE: Wake-Up task

      At revision 1838.
      …/lib/ubuntu/functions.sh: line 309: [: : unary operator expected

      posted in FOG Problems
      T
      TheWizardUk
    • RE: Wake-Up task

      Script started on Sat 14 Jun 2014 16:19:54 BST
      Ubuntu
      …#######:. …,#,… .::##::.
      .:###### .:;####:…;#;…
      …##… …##;,;##::::.##…
      ,# …##…##:::## …::
      ## .::###,##. . ##.::#.:######::.
      …##:::###::…#. … .#…#. #…#:::.
      …:####:… …##…##::## … #
      # . …##:,;##;:::#: … ##…
      .# . .:;####;::::.##:::;#:…
      # …:;###…
      ###########################################

      FOG

      Free Computer Imaging Solution

      [url]http://www.fogproject.org/[/url]

      Developers:

      Chuck Syperski

      Jian Zhang

      Peter Gilchrist

      Tom Elliott

      GNU GPL Version 3

      ###########################################
      Version: 1.1.1 Installer/Updater

      • Found FOG Settings from previous install at: /opt/fog/.fogsettings
      • Performing upgrade using these settings…
        Starting Debian / Ubuntu / Kubuntu / Edubuntu Installtion.
        #####################################################################
        FOG now has everything it needs to setup your server, but please
        understand that this script will overwrite any setting you may
        have setup for services like DHCP, apache, pxe, tftp, and NFS.

      It is not recommended that you install this on a production system
      as this script modifies many of your system settings.
      This script should be run by the root user on Redhat or with sudo on Ubuntu.
      ** Notice ** Redhat users will need to disable SELinux and iptables in
      order to use FOG
      Please see our wiki for more information at [url]http://www.fogproject.org/wiki[/url]
      Here are the settings FOG will use:
      Base Linux: Debian
      Detected Linux Distribution: Ubuntu
      Installation Type: Normal Server
      Server IP Address: 172.18.130.197
      DHCP router Address:
      DHCP DNS Address:
      Interface: eth0
      Using FOG DHCP: 0
      Internationalization: 0
      Donate: 0
      DHCP will NOT be setup but you must setup your
      current DHCP server to use FOG for PXE services.
      On a Linux DHCP server you must set:
      next-server
      On a Windows DHCP server you must set:
      option 066 & 067
      Option 066 is the IP of the FOG Server: (e.g. 172.18.130.197
      Option 067 is the undionly.kpxe file: (e.g. undionly.kpxe)
      Are you sure you wish to continue (Y/N) y
      Installation Started…
      Installing required packages, if this fails
      make sure you have an active internet connection.

      • Preparing apt-get
      • Installing package: apache2
      • Installing package: php5
      • Installing package: php5-json
      • Installing package: php5-gd
      • Installing package: php5-cli
      • Installing package: php5-mysql
      • Installing package: php5-curl
      • Installing package: mysql-server
        We are about to install MySQL Server on
        this server, if MySQL isn’t installed already
        you will be prompted for a root password.
        Press enter to acknowledge this message.
        Reading package lists…
        Building dependency tree…
        Reading state information…
        mysql-server is already the newest version.
        The following packages were automatically installed and are no longer required:
        linux-headers-2.6.32-38 libtommath0 linux-headers-2.6.32-38-server
        Use ‘apt-get autoremove’ to remove them.
        0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
      • Installing package: mysql-client
      • Installing package: tftpd-hpa
      • Installing package: tftp-hpa
      • Installing package: nfs-kernel-server
      • Installing package: vsftpd
      • Installing package: net-tools
      • Installing package: wget
      • Installing package: xinetd
      • Installing package: sysv-rc-conf
      • Installing package: tar
      • Installing package: gzip
      • Installing package: build-essential
      • Installing package: cpp
      • Installing package: gcc
      • Installing package: g++
      • Installing package: m4
      • Installing package: htmldoc
      • Installing package: lftp
      • Installing package: openssh-server
      • Installing package: php-gettext
      • Installing package: clamav-freshclam
        Confirming package installation.
      • Checking package: apache2…OK
      • Checking package: php5…OK
      • Checking package: php5-json…OK
      • Checking package: php5-gd…OK
      • Checking package: php5-cli…OK
      • Checking package: php5-mysql…OK
      • Checking package: php5-curl…OK
      • Checking package: mysql-server…OK
      • Checking package: mysql-client…OK
      • Checking package: tftpd-hpa…OK
      • Checking package: tftp-hpa…OK
      • Checking package: nfs-kernel-server…OK
      • Checking package: vsftpd…OK
      • Checking package: net-tools…OK
      • Checking package: wget…OK
      • Checking package: xinetd…OK
      • Checking package: sysv-rc-conf…OK
      • Checking package: tar…OK
      • Checking package: gzip…OK
      • Checking package: build-essential…OK
      • Checking package: cpp…OK
      • Checking package: gcc…OK
      • Checking package: g++…OK
      • Checking package: m4…OK
      • Checking package: htmldoc…OK
      • Checking package: lftp…OK
      • Checking package: openssh-server…OK
      • Checking package: php-gettext…OK
      • Checking package: clamav-freshclam…OK
        Configuring services.
      • Setting up fog user…Exists
      • Setting up and starting MySql…OK
      • Backing up user reports…OK
      • Did you leave the mysql password blank during install? (Y/n) n
      • Please enter your mysql password:
      • Please re-enter your mysql password:
        …/lib/ubuntu/functions.sh: line 330: [: !=: unary operator expected
      • Setting up and starting Apache Web Server…OK
      • Configuring Fresh Clam…OK
      • Setting up storage…OK
      • Setting up and starting NFS Server…OK
      • Setting up and starting DHCP Server…Skipped
      • Setting up and starting TFTP and PXE Servers…OK
      • Setting up and starting VSFTP Server…OK
      • Setting up sudo settings…OK
      • Setting up FOG Snapins…OK
      • Setting up and building UDPCast…OK
      • Installing init scripts…OK
      • Setting up FOG Services…OK
      • Starting FOG Multicast Management Server…OK
      • Starting FOG Image Replicator Server…OK
      • Starting FOG Task Scheduler Server…OK
      • Setting up FOG Utils…OK
        Would you like to notify the FOG group about this installation?
        • This information is only used to help the FOG group determine
          if FOG is being used. This information helps to let us know
          if we should keep improving this product.
          Send notification? (Y/N)n
          NOT sending notification.
          Setup complete!
          You can now login to the FOG Management Portal using
          the information listed below. The login information
          is only if this is the first install.
          This can be done by opening a web browser and going to:
          [url]http://172.18.130.197/fog/management[/url]
          Default User:
          Username: fog
          Password: password
          Script done on Sat 14 Jun 2014 16:21:25 BST
      posted in FOG Problems
      T
      TheWizardUk
    • RE: Wake-Up task

      when installing SVN

      • Please enter your mysql password:
      • Please re-enter your mysql password:
        …/lib/ubuntu/functions.sh: line 330: [: !=: unary operator expected
      posted in FOG Problems
      T
      TheWizardUk
    • RE: Wake-Up task

      its also worth mentioning that until today my apache2 error logs we 90kb to 150kb however today its 10mb

      posted in FOG Problems
      T
      TheWizardUk
    • RE: Wake-Up task

      i have been running 0.32 for some time without issue, yesterday i updated to 1.1.0 and today i went to 1.1.1

      re install just done foginstall.log below (no issues that i can see)

      Script started on Sat 14 Jun 2014 15:50:24 BST

         ..#######:.    ..,#,..     .::##::.   
      

      .:###### .:;####:…;#;…
      …##… …##;,;##::::.##…
      ,# …##…##:::## …::
      ## .::###,##. . ##.::#.:######::.
      …##:::###::…#. … .#…#. #…#:::.
      …:####:… …##…##::## … #
      # . …##:,;##;:::#: … ##…
      .# . .:;####;::::.##:::;#:…
      # …:;###…

      ###########################################

      FOG

      Free Computer Imaging Solution

      [url]http://www.fogproject.org/[/url]

      Developers:

      Chuck Syperski

      Jian Zhang

      Peter Gilchrist

      Tom Elliott

      GNU GPL Version 3

      ###########################################

      Version: 1.1.1 Installer/Updater

      • Found FOG Settings from previous install at: /opt/fog/.fogsettings
      • Performing upgrade using these settings…

      Starting Debian / Ubuntu / Kubuntu / Edubuntu Installtion.

      #####################################################################

      FOG now has everything it needs to setup your server, but please
      understand that this script will overwrite any setting you may
      have setup for services like DHCP, apache, pxe, tftp, and NFS.

      It is not recommended that you install this on a production system
      as this script modifies many of your system settings.

      This script should be run by the root user on Redhat or with sudo on Ubuntu.

      ** Notice ** Redhat users will need to disable SELinux and iptables in
      order to use FOG
      Please see our wiki for more information at [url]http://www.fogproject.org/wiki[/url]

      Here are the settings FOG will use:
      Base Linux: Debian
      Detected Linux Distribution: Ubuntu
      Installation Type: Normal Server
      Server IP Address: 172.18.130.197
      DHCP router Address:
      DHCP DNS Address:
      Interface: eth0
      Using FOG DHCP: 0
      Internationalization: 0
      Donate: 0

           DHCP will NOT be setup but you must setup your
           current DHCP server to use FOG for PXE services.
      
           On a Linux DHCP server you must set:
               next-server
      
           On a Windows DHCP server you must set:
               option 066 & 067
      

      Option 066 is the IP of the FOG Server: (e.g. 172.18.130.197
      Option 067 is the undionly.kpxe file: (e.g. undionly.kpxe)

      Are you sure you wish to continue (Y/N) y

      Installation Started…

      Installing required packages, if this fails
      make sure you have an active internet connection.

      • Preparing apt-get

      • Installing package: apache2

      • Installing package: php5

      • Installing package: php5-json

      • Installing package: php5-gd

      • Installing package: php5-cli

      • Installing package: php5-mysql

      • Installing package: php5-curl

      • Installing package: mysql-server

        We are about to install MySQL Server on
        this server, if MySQL isn’t installed already
        you will be prompted for a root password.

        Press enter to acknowledge this message.

      Reading package lists…
      Building dependency tree…
      Reading state information…
      mysql-server is already the newest version.
      The following packages were automatically installed and are no longer required:
      linux-headers-2.6.32-38 libtommath0 linux-headers-2.6.32-38-server
      Use ‘apt-get autoremove’ to remove them.
      0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

      • Installing package: mysql-client
      • Installing package: tftpd-hpa
      • Installing package: tftp-hpa
      • Installing package: nfs-kernel-server
      • Installing package: vsftpd
      • Installing package: net-tools
      • Installing package: wget
      • Installing package: xinetd
      • Installing package: sysv-rc-conf
      • Installing package: tar
      • Installing package: gzip
      • Installing package: build-essential
      • Installing package: cpp
      • Installing package: gcc
      • Installing package: g++
      • Installing package: m4
      • Installing package: htmldoc
      • Installing package: lftp
      • Installing package: openssh-server
      • Installing package: php-gettext
      • Installing package: clamav-freshclam

      Confirming package installation.

      • Checking package: apache2…OK
      • Checking package: php5…OK
      • Checking package: php5-json…OK
      • Checking package: php5-gd…OK
      • Checking package: php5-cli…OK
      • Checking package: php5-mysql…OK
      • Checking package: php5-curl…OK
      • Checking package: mysql-server…OK
      • Checking package: mysql-client…OK
      • Checking package: tftpd-hpa…OK
      • Checking package: tftp-hpa…OK
      • Checking package: nfs-kernel-server…OK
      • Checking package: vsftpd…OK
      • Checking package: net-tools…OK
      • Checking package: wget…OK
      • Checking package: xinetd…OK
      • Checking package: sysv-rc-conf…OK
      • Checking package: tar…OK
      • Checking package: gzip…OK
      • Checking package: build-essential…OK
      • Checking package: cpp…OK
      • Checking package: gcc…OK
      • Checking package: g++…OK
      • Checking package: m4…OK
      • Checking package: htmldoc…OK
      • Checking package: lftp…OK
      • Checking package: openssh-server…OK
      • Checking package: php-gettext…OK
      • Checking package: clamav-freshclam…OK

      Configuring services.

      • Setting up fog user…Exists

      • Setting up and starting MySql…OK

      • Backing up user reports…OK

      • Did you leave the mysql password blank during install? (Y/n) n

      • Please enter your mysql password:

      • Please re-enter your mysql password:

      • Setting up and starting Apache Web Server…OK
        You still need to install/update your database schema.
        This can be done by opening a web browser and going to:

        [url]http://172.18.130.197/fog/management[/url]

      Press [Enter] key when database is updated/installed.

      • Configuring Fresh Clam…OK
      • Setting up storage…OK
      • Setting up and starting NFS Server…OK
      • Setting up and starting DHCP Server…Skipped
      • Setting up and starting TFTP and PXE Servers…OK
      • Setting up and starting VSFTP Server…OK
      • Setting up sudo settings…OK
      • Setting up FOG Snapins…OK
      • Setting up and building UDPCast…OK
      • Installing init scripts…OK
      • Setting up FOG Services…OK
      • Starting FOG Multicast Management Server…OK
      • Starting FOG Image Replicator Server…OK
      • Starting FOG Task Scheduler Server…OK
      • Setting up FOG Utils…OK

      Would you like to notify the FOG group about this installation?
      * This information is only used to help the FOG group determine
      if FOG is being used. This information helps to let us know
      if we should keep improving this product.

      Send notification? (Y/N)n
      NOT sending notification.

      Setup complete!

      You can now login to the FOG Management Portal using
      the information listed below. The login information
      is only if this is the first install.

      This can be done by opening a web browser and going to:

        [url]http://172.18.130.197/fog/management[/url]
      
        Default User:
               Username: fog
               Password: password
      

      Script done on Sat 14 Jun 2014 15:52:57 BST

      posted in FOG Problems
      T
      TheWizardUk
    • RE: Wake-Up task

      fog server

      posted in FOG Problems
      T
      TheWizardUk
    • RE: Wake-Up task

      this is line 64 from /var/www/fog/lib/db/MySQL.class.php

      if (!$this->link = new mysqli($this->host, $this->user, $this->pass))

      posted in FOG Problems
      T
      TheWizardUk
    • RE: Wake-Up task

      i have 122 entries of below in today’s Apache log. why is it using password: NO?

      [Sat Jun 14 09:45:18 2014] [error] [client 172.18.129.59] PHP Warning: mysqli::mysqli(): (28000/1045): Access denied for user ‘root’@‘localhost’ (using password: NO) in /var/www/fog/lib/db/MySQL.class.php on line 64

      posted in FOG Problems
      T
      TheWizardUk
    • RE: Wake-Up task

      in config .php

      define(‘DATABASE_PASSWORD’,‘Mypassword’);

      is set

      posted in FOG Problems
      T
      TheWizardUk
    • RE: Wake-Up task

      maybe not the password is in /var/www/fog/commons config.php

      posted in FOG Problems
      T
      TheWizardUk
    • RE: Wake-Up task

      think i might have found the issue

      mysqli::mysqli(): (28000/1045): Access denied for user ‘root’@‘localhost’ (using password: NO)

      posted in FOG Problems
      T
      TheWizardUk
    • RE: Wake-Up task

      my Apache error log is like 9mb for today full of

      [Sat Jun 14 14:36:24 2014] [error] an unknown filter was not added: PHP

      and
      Sat Jun 14 14:35:28 2014] [error] [client 172...*] PHP Fatal error: Call to a member function get() on a non-object in /var/www/fog/lib/fog/Host.class.php on line 639, referer: [url]http://172.18.130.197/fog/management/index.php?node=host&sub=deploy&id=8&type=14[/url]

      and

      [Sat Jun 14 09:42:51 2014] [error] [client 172...*] PHP Warning: mysqli::escape_string(): Couldn’t fetch mysqli in /var/www/fog/lib/db/MySQL.class.php on line 247

      posted in FOG Problems
      T
      TheWizardUk
    • 1
    • 2
    • 1 / 2