• Recent
    • Unsolved
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login
    1. Home
    2. Fernando Gietz
    3. Posts
    F
    • Profile
    • Following 0
    • Followers 8
    • Topics 67
    • Posts 554
    • Best 52
    • Controversial 0
    • Groups 1

    Posts made by Fernando Gietz

    • RE: BUG: clamAV antivirus error

      In debug mode:
      [CODE]#ldd clamscan

      libclamav.so.6 => not found
      libpthread.so.0 => /lib/libpthread.so.0 (0xb76f2000)
      libgcc_s.so.1 => /lib/libgcc_s.so.a (0xb7706000)
      libc.so.0 => /lib/libc.so.1 (0xb769b000)
      ld-uClibc.so.0 => /lib/ld-uClibc.so.0 (0xb7706000)[/CODE]

      It seems that in Busybox the clamav is not well installed or maybe is obsolete.

      posted in Bug Reports
      F
      Fernando Gietz
    • RE: How-to shutdown XP

      Easy 🙂 make a “deploy one snapin task” in Advanced Tasks Section

      posted in General
      F
      Fernando Gietz
    • RE: How-to shutdown XP

      This .exe (you must uncompress) shutdown the machine

      [url=“/_imported_xf_attachments/0/213_apagar.exe.zip?:”]apagar.exe.zip[/url]

      posted in General
      F
      Fernando Gietz
    • BUG: clamAV antivirus error

      Hi,
      when I make a antivirus tasks, the PC shows the next message:

      [CODE]clamscan: can’t load library ‘libclamav.so.6’[/CODE]

      I run in debug mode
      [CODE]#clamscan -V[/CODE]
      and appears the error.

      posted in Bug Reports
      F
      Fernando Gietz
    • RE: How-to shutdown XP

      Only run the next command:
      C:\WINDOWS\SYSTEM32\shutdown.exe -s -t 0
      You can make a script or .exe (see tutorial about howTO 😉 )

      posted in General
      F
      Fernando Gietz
    • RE: How-to shutdown XP

      Well. You have two ways:

      1. Use one snapin to shutdown them. You can program it to launch dayly, weekly ,

      2. You can setup the greenFOG service only in the computers that you want shutdown.

      The most services in FOG are global. His setting, activated or not acticated, is applied to all Pcs. Then, you can activate the service in the PC setting. For example:
      In webui fog>service>GreenFOG. Service Activate: YES
      We add two new scheduled tasks:
      [LIST]
      []08:00 shutdown
      [
      ]23:00 reboot
      [/LIST]
      We have four PC: PC1, PC2, PC3, PC4
      In PC1 and PC2 we activate the GreenFOG service (be care, by default, the checkboxes appear checked, but the services aren’t activated. You must update them)
      In PC3 and PC4 the GreenFOG service isn’t activated.
      What happen?
      At 8:00 PC1 and PC2 will be turned off and at 23:00 will be rebooted.

      Now, we add a new PC, PC5. We want to shutdown it at 02:00. We add a new scheduled tasks in fog>service>GreenFOG:
      [LIST]
      [*]02:00 shutdown
      [/LIST]
      We activate the GreenFOG setting in PC5.
      What happen?
      At 8:00 PC1, PC2 an PC5 will be turned off and at 23:00 will be rebooted.
      At 02:00 PC1, PC2 and PC5 will be turned off. :mad: I’am making High Performance Computing in PC1 and PC2.

      I don’t know if is clear 😞

      PD: we use snapins to shutdown the computers

      posted in General
      F
      Fernando Gietz
    • RE: How do I tell if an upload completes successfully?

      You can update the code to do it.
      There are some elements: imagingLog table in FOG database, pre_Stage1.php and post_Stage3.php webservices. Those webservices are located in /var/www/fog/service.

      When FOG makes a tasks, those tasks write a log in imagingLog table (make a checkin/checkout). Well, the fog script, that runs in the computer, calls to a webservice when the task begin. This webservice is pre_Stage1.php and makes the checkin. When the task ends, the script calls to post_Stage3.php to make a checkout. You must update the checkin and checkout functions to add the taskType in the imagingLog (you must add a new column in imagingLog table), and filter the task type. After this, you can make a personal report.

      posted in General
      F
      Fernando Gietz
    • RE: How-to shutdown XP

      Be care. Green FOG shutdowns or reboots all computers which are in the FOG Database. The Green FOG setup is for all computers, you can’t setup it to a little group of computers.

      posted in General
      F
      Fernando Gietz
    • RE: Fog and printers - troubles

      We use the printer manager with fog 0.30 and in windows XP without problems. If your printer is a network printer and HP. Try this, please:

      Printer type: local printer
      Printer model: HP LaserJet III
      Printer alias: your_printer_alias
      Printer port: IP_xxx.yyy.zzz.www
      Printer inf File: c:\windows\inf\ntprint.inf
      Printer IP: xxx.yyy.zzz.www

      The printer model must be the same that appears in ntprint.inf. We use LaserJet III driver as universal driver.

      posted in General
      F
      Fernando Gietz
    • RE: Fog and printers - troubles

      Hi,
      we use printer manager, and works fine. We use fog 0.30, but i’m sure that the printer manager don’t change.
      You must setup the printer port like IP_172.21.146

      [url=“/_imported_xf_attachments/0/193_capturaimpresora.png?:”]capturaimpresora.png[/url]

      posted in General
      F
      Fernando Gietz
    • RE: Bugs in FOG 0.33

      I’ve updated my svn to the ver865, in lib/redhat/config.sh (see attached files):
      *php-mysql package -> php53-mysql
      *clamav-update -> clamav
      *freshclam configuration
      [QUOTE]#where is freshclam’s config file
      freshdb=“/var/clamav/”;
      freshwebroot=“${webdirdest}/av/”;
      freshconf=“/etc/freshclam.conf”;
      freshcron=“/usr/bin/freshclam”
      [/QUOTE]

      This information in not mine, I see it in “install FOG on Centos” video tutorial. I don’t have merit 😛 .

      Other bug:
      I can’t access to the fog configuration in the web gui. I can only access to the external links.[ATTACH=full]112[/ATTACH]

      [url=“/_imported_xf_attachments/0/112_Captura de pantalla de 2012-05-11 18:59:14.png?:”]Captura de pantalla de 2012-05-11 18:59:14.png[/url][url=“/_imported_xf_attachments/0/113_config.sh.txt?:”]config.sh.txt[/url]

      posted in Bug Reports
      F
      Fernando Gietz
    • RE: Bugs in FOG 0.33

      I’ve problems under Centos and the FOg daemons: FOGReplicator,FOGScheduler and FOGMulticastManager.

      [CODE]
      [root@r800145 administrador]# /etc/init.d/FOGImageReplicator start
      Iniciando FOGImageReplicator: [ OK ]
      [root@r800145 administrador]# PHP Warning: date(): It is not safe to rely on the system’s timezone settings. You are required to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected ‘Europe/Berlin’ for ‘CEST/2.0/DST’ instead in /opt/fog/service/common/functions.php on line 46
      [/CODE]

      The problem is the php function date(), if you don’t setup your timezone in php.ini, it crash.
      I setup my php.ini with my timezone values and don’t problems.
      But FOGShceduler daemon:

      [CODE]
      [root@r800145 administrador]# /etc/init.d/FOGScheduler start
      Iniciando FOGTaskScheduler: [ OK ]
      [root@r800145 administrador]# PHP Warning: require_once(/var/www/html/fog/management/lib/Imageable.interface.php): failed to open stream: No such file or directory in /opt/fog/service/FOGTaskScheduler/FOGTaskScheduler on line 58
      PHP Fatal error: require_once(): Failed opening required ‘/var/www/html/fog/management/lib/Imageable.interface.php’ (include_path=‘.:/usr/share/pear:/usr/share/php’) in /opt/fog/service/FOGTaskScheduler/FOGTaskScheduler on line 58
      [/CODE]

      The file [B]/var/www/html/fog/management/lib/Imageable.interface.php [/B]don’t exists[B].[/B]

      [CODE][root@r800145 lib]# pwd
      /var/www/html/fog/management/lib
      [root@r800145 lib]# ls -la
      total 20
      drwxr-xr-x 5 apache apache 4096 may 4 21:47 .
      drwxr-xr-x 15 apache apache 4096 may 4 21:47 

      drwxr-xr-x 5 apache apache 4096 may 4 21:47 jpgraph
      drwxr-xr-x 3 apache apache 4096 may 4 21:47 ssh
      drwxr-xr-x 6 apache apache 4096 may 4 21:47 .svn
      [/CODE]

      posted in Bug Reports
      F
      Fernando Gietz
    • RE: Missing Log Files

      If you run in the server:
      [B][I]#ps aux | grep FOG[/I][/B]
      The response is:
      [B][I]1000 2052 0.0 0.1 4364 812 tty1 S+ 17:19 0:00 grep --color=auto FOG[/I][/B]

      You have a problem 🙂 . FOG uses certain daemon:
      [LIST]
      []FOGMulticastManager: this daemon manages the multicast session. This daemon logs in /opt/fog/log/multicast.log
      [
      ]FOGScheduler: this daemon manages the scheduled tasks. And logs in /opt/fog/log/fogscheduler.log
      [*]FOGImageReplicator: this daemon manages the images between storage nodes, and logs in /opt/fog/log/fogreplicator.log
      [/LIST]
      The server runs those daemons when the server turn on, or you can stop and start them running:

      #/etc/init.d/FOGMulticastManager start
      Be sure that you have permissons to run it (be root or sudoers)
      For example:
      [CODE]

      /etc/init.d/FOGMulticastManager start

      Iniciando FOGMulticastManager: [ OK ]
      [/CODE]

      posted in FOG Problems
      F
      Fernando Gietz
    • RE: Bugs in FOG 0.33

      No problems found with Centos 5.
      [QUOTE][root@r800145 administrador]# yum search php53
      Loaded plugins: fastestmirror
      Loading mirror speeds from cached hostfile

      • base: ftp.cica.es
      • extras: ftp.cica.es
      • rpmforge: mir01.syntis.net
      • updates: ftp.cica.es
        ============================================================== Matched: php53 ===============================================================
        php53.i386 : PHP scripting language for creating dynamic web sites
        php53-bcmath.i386 : Un mĂłdulo para aplicaciones PHP para utilizar la biblioteca bcmath
        php53-cli.i386 : Interfase de lĂ­nea de comando para PHP
        php53-common.i386 : Archivos comunes para PHP
        php53-dba.i386 : Un mĂłdulo de capas de abstracciĂłn de bases de datos para aplicaciones PHP
        php53-devel.i386 : Files needed for building PHP extensions
        php53-gd.i386 : MĂłdulo para aplicaciones PHP para usar la biblioteca de grĂĄficos gd.
        php53-imap.i386 : A module for PHP applications that use IMAP
        php53-intl.i386 : Internationalization extension for PHP applications
        php53-ldap.i386 : A module for PHP applications that use LDAP
        php53-mbstring.i386 : MĂłdulo para aplicaciones PHP que necesitan manejar cadenas multi-byte
        php53-mysql.i386 : A module for PHP applications that use MySQL databases
        php53-odbc.i386 : A module for PHP applications that use ODBC databases
        php53-pdo.i386 : Un mĂłdulo de abstracciĂłn de acceso a bases de datos para aplicaciones PHP
        php53-pgsql.i386 : A PostgreSQL database module for PHP
        php53-process.i386 : Modules for PHP script using system process interfaces
        php53-pspell.i386 : A module for PHP applications for using pspell interfaces
        php53-snmp.i386 : A module for PHP applications that query SNMP-managed devices
        php53-soap.i386 : Un mĂłdulo para utilizar el protocolo SOAP en aplicaciones PHP
        php53-xml.i386 : Un mĂłdulo para aplicaciones PHP el cuĂĄl utiliza XML
        php53-xmlrpc.i386 : MĂłdulo para aplicaciones PHP que usan el protocolo XML-RPC
        [/QUOTE]

      The installed packages
      php53.i386 5.3.3-5.el5 installed
      php53-cli.i386 5.3.3-5.el5 installed
      php53-common.i386 5.3.3-5.el5 installed
      php53-gd.i386 5.3.3-5.el5 installed
      php53-mysql.i386 5.3.3-5.el5 installed
      php53-pdo.i386 5.3.3-5.el5 installed

      posted in Bug Reports
      F
      Fernando Gietz
    • RE: Missing Log Files

      Be sure that the FOGMulticastManager script is running.

      [QUOTE]
      $ps aux | grep FOG
      root 4510 0.0 0.1 21772 8604 ? S May04 0:11 /usr/bin/php -q /opt/fog/service/FOGTaskScheduler/FOGTaskScheduler
      [B]root 4552 0.0 0.0 20088 6532 ? S May04 1:13 /usr/bin/php -q /opt/fog/service/FOGMulticastManager/FOGMulticastManager[/B]
      root 4596 0.0 0.0 19856 6340 ? S May04 0:01 /usr/bin/php -q /opt/fog/service/FOGImageReplicator/FOGImageReplicator
      root 24037 0.0 0.0 4584 1108 pts/1 S 13:40 0:04 /bin/bash /opt/fog/service/FOGpxe/FOGpxe.sh[/QUOTE]

      posted in FOG Problems
      F
      Fernando Gietz
    • RE: Bugs in FOG 0.33

      I try the fog 0.33b installer under Centos 5. I found a “bug”: the packages are not right under this distro.

      [CODE]lib/redhat/config.sh

      packages=“httpd php php-gd php-cli php-gettext mysql mysql-server php-mysql dhcp tftp-server nfs-utils vsftpd net-tools wget xinetd tar gzip make m4 gcc gcc-c++ htmldoc perl perl-Crypt-PasswdMD5 lftp clamav-update”;
      [/CODE]

      The php-gettext not exists in Centos nor RedHat. And the php packages install an old version of PHP, and this 0.33b version don’t works, you must install php53 packages.

      posted in Bug Reports
      F
      Fernando Gietz
    • RE: How to use FOG to supply machine specific drivers for Windows 7 Sysprepped machines

      You are right. You need suppress the Found New Hardware Wizard.
      To do it, in XP 32 bits:
      [QUOTE]
      [I]To fix the issue in Windows XP 32-bit versions, add a DWORD value that is named “SuppressNewHWUI” to the following registry subkey: [/I]
      [I] HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\DeviceInstall\Settings [/I]
      [I] To configure this registry setting, follow these steps: [/I]
      [LIST=1]
      [][I]Click [B]Start[/B], click [B]Run[/B], type regedit, and then click [B]OK[/B].[/I]
      [
      ][I]Locate the following subkey in the registry, and then click it: [/I]
      [I] HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\DeviceInstall\Settings [/I]
      [][I]On the [B]Edit[/B] menu, point to [B]New[/B], and then click [B]DWORD Value[/B]. [/I]
      [
      ][I]Type SuppressNewHWUI for the name of the DWORD entry, and then press [B]ENTER[/B].[/I]
      [][I]Right-click [B]SuppressNewHWUI[/B], and then click [B]Modify[/B]. [/I]
      [
      ][I]Do one of the following: [/I]
      [LIST]
      [][I]To suppress messages, type 1 in the [B]Value data[/B] box, and then click [B]OK[/B].[/I]
      [
      ][I]To stop suppressing messages, type 0 in the [B]Value data[/B] box, and then click [B]OK[/B].[/I]
      [/LIST]
      [*][I]Exit Registry Editor, and then restart the computer. [/I]

      [I][B]Note[/B] The setting does not take effect until the computer is restarted.[/I][/LIST][/QUOTE][LIST=1]
      [/LIST]
      To see all microsoft article, [URL=‘http://support.microsoft.com/kb/938596/en-us’]here[/URL]

      posted in General
      F
      Fernando Gietz
    • RE: How to use FOG to supply machine specific drivers for Windows 7 Sysprepped machines

      [quote=“boon, post: 3244, member: 833”]F
      Fernando, I’d love to test your driverpack/script. I deal with many of the same model workstations in our environment.[/quote]
      You can download the driverpack from [URL=‘http://www.ehu.es/fogenehu/download/driverpack/softpack.7z’]here[/URL].
      I call to DP_Tools from runonce.cmd script. You must uncompress the .7z file in c:\drivers folder, and post-sysprep call to runonce.cmd script.

      posted in General
      F
      Fernando Gietz
    • RE: How to use FOG to supply machine specific drivers for Windows 7 Sysprepped machines

      Andrew: We tested a similar solution. The script is saved in the database (you write it in the WEBUI in a text area, and fog saved it via form), and the fog script accesses it from a web service after deploy process, before restart PC.

      If you want to test the driverPack, I can share it.

      posted in General
      F
      Fernando Gietz
    • RE: How to use FOG to supply machine specific drivers for Windows 7 Sysprepped machines

      [quote=“Andrew Single, post: 3131, member: 1006”]Fernando: You don’t run into issues with Dell Optiplex pulling the wrong audio driver?[/quote]
      No. At least we have not had any problems with Optiplex. No one has reported anything 🙂 , and we use these models for years.
      But we don’t use sysprep to deploy this model’s images. I have test the SAD method and my 3rd party DrivePack, and works fine, but in laboratory, not in producction environment.

      Which are your issues?

      posted in General
      F
      Fernando Gietz
    • 1
    • 2
    • 24
    • 25
    • 26
    • 27
    • 28
    • 26 / 28