God’s ways are inscrutable
With the new kernel works fine and with the old one no.
Close this ticket, please!!
God’s ways are inscrutable
With the new kernel works fine and with the old one no.
Close this ticket, please!!
I will try with other kernel, but until now with this kernel worked well
The update process doesn’t show any error
I have re-run the installer and the same answer.
Hi … again
I have updated to the last version 6371 of FOG and when I send a task to a computer, this one reboots continuously.
The computer receivers the bzImage and init.xz files, but after this … reboot. Maybe the init.xz file? I try in two different compueters and the answer is the same in both.
[...]
bzImage ... OK
init.xz .... OK
And then … reboots.
Hi,
I have troubles to update the version of FOG under RHEL 7 and php-mysql package. Unitl now I could update the version with problems, the last time (Fryday) but today is impossible to me update the version, the reason php-mysql package
fog_error_6369.log file
Complementos cargados:product-id, rhnplugin, search-disabled-repos,
: subscription-manager
This system is receiving updates from RHN Classic or Red Hat Satellite.
No packages marked for update
httpd-2.4.6-40.el7.x86_64
php-5.6.18-1.el7.remi.x86_64
php-cli-5.6.18-1.el7.remi.x86_64
php-common-5.6.18-1.el7.remi.x86_64
php-gd-5.6.18-1.el7.remi.x86_64
mariadb-5.5.44-2.el7.x86_64
mariadb-server-5.5.44-2.el7.x86_64
tftp-server-5.2-12.el7.x86_64
nfs-utils-1.3.0-0.21.el7_2.x86_64
vsftpd-3.0.2-10.el7.x86_64
net-tools-2.0-0.17.20131004git.el7.x86_64
wget-1.14-10.el7_0.1.x86_64
xinetd-2.3.15-12.el7.x86_64
tar-1.26-29.el7.x86_64
gzip-1.5-8.el7.x86_64
make-3.82-21.el7.x86_64
m4-1.4.16-10.el7.x86_64
gcc-4.8.5-4.el7.x86_64
gcc-c++-4.8.5-4.el7.x86_64
lftp-4.4.8-7.el7.x86_64
Complementos cargados:product-id, rhnplugin, search-disabled-repos,
: subscription-manager
This system is receiving updates from RHN Classic or Red Hat Satellite.
Paquetes instalados
php-mysqlnd.x86_64 5.6.18-1.el7.remi @remi-php56
Paquetes disponibles
php-mysql.x86_64 5.4.45-4.el7.remi remi
php-mysqlnd-5.6.18-1.el7.remi.x86_64
el paquete php-mysql no está instalado
I see that the developer team changed the functions.sh file and these changes doesn’t work fine
svn info ../lib/common/functions.sh
Ruta: /root/fog/lib/common/functions.sh
Nombre: functions.sh
Working Copy Root Path: /root/fog
URL: https://svn.code.sf.net/p/freeghost/code/trunk/lib/common/functions.sh
RaÃz del repositorio: https://svn.code.sf.net/p/freeghost/code
UUID del repositorio: 71f96598-fa45-0410-b640-bcd6f8691b32
Revisión: 4845
Tipo de nodo: archivo
Agendado: normal
Autor del último cambio: masterzune
Revisión del último cambio: 4844
Fecha de último cambio: 2016-02-22 12:55:47 +0100 (lun 22 de feb de 2016)
Texto actualizado por última vez: 2016-02-22 13:57:08 +0100 (lun 22 de feb de 2016)
Suma de verificación: e33ea422a6558980c40cd961145133a2e0e1fa8b
The diif with the versioni that worked
svn diff --revision 4807:4844 ../lib/common/functions.sh
Index: ../lib/common/functions.sh
===================================================================
--- ../lib/common/functions.sh (revisión: 4807)
+++ ../lib/common/functions.sh (revisión: 4844)
@@ -588,6 +588,15 @@
fi
done
;;
+ php${php_ver}-mysqlnd)
+ for phpmysql in $(echo php${php_ver}-mysqlnd php${php_ver}-mysql); do
+ eval $packagelist $phpmysql >>$workingdir/error_logs/fog_error_${version}.log 2>&1
+ if [[ $? -eq 0 ]]; then
+ x=$phpmysql
+ break
+ fi
+ done
+ ;;
esac
newPackList="$newPackList $x"
eval $packageQuery >>$workingdir/error_logs/fog_error_${version}.log 2>&1
@@ -636,6 +645,15 @@
fi
done
;;
+ php${php_ver}-mysqlnd)
+ for phpmysql in "php${php_ver}-mysqlnd php${php_ver}-mysql"; do
+ eval $packagelist $phpmysql >>$workingdir/error_logs/fog_error_${version}.log 2>&1
+ if [[ $? -eq 0 ]]; then
+ x=$phpmysql
+ break
+ fi
+ done
+ ;;
esac
eval $packageQuery >>$workingdir/error_logs/fog_error_${version}.log 2>&1
errorStat $?
@@ -1623,8 +1641,9 @@
cnt=0
while [[ $localinitsum != $remoteinitsum && $cnt -lt 10 ]]; do
[[ $cnt -eq 0 ]] && echo "Failed init.xz"
+ let cnt+=1
dots "Attempting to redownload init.xz"
- curl --silent -ko "${webdirdest}/service/ipxe/init.xz" https://fogproject.org/init.xz >/dev/null 2>&1
+ curl --silent -ko "${webdirdest}/service/ipxe/init.xz" https://fogproject.org/inits/init.xz >/dev/null 2>&1
errorStat $?
localinitsum=$(sha512sum $webdirdest/service/ipxe/init.xz | awk '{print $1}')
done
@@ -1635,8 +1654,9 @@
cnt=0
while [[ $localinit_32sum != $remoteinit_32sum && $cnt -lt 10 ]]; do
[[ $cnt -eq 0 ]] && echo "Failed init_32.xz"
+ let cnt+=1
dots "Attempting to redownload init_32.xz"
- curl --silent -ko "${webdirdest}/service/ipxe/init_32.xz" https://fogproject.org/init_32.xz >/dev/null 2>&1```
Curously the upload and download of image of two disks worked well.
You can see my report in:
https://forums.fogproject.org/topic/6473/possible-bug-when-you-upload-the-image-from-a-second-disk-5844
But now, crashed completely I will try to upgrade to the last version
I have updated the version to cloud 6339, and when I try to upload a multidisk image, the upload process fails when the first partition of the second disk.
First disk: Windows7
d1.partitions
label: dos
label-id: 0x42e8d3f9
device: /dev/sda
unit: sectors
/dev/sda1 : start= 2048, size= 159744, type=7, bootable
/dev/sda2 : start= 161792, size= 234278912, type=7
Second disk: windows7
d2.partitions
label: dos
label-id: 0x000b6c36
device: /dev/sdb
unit: sectors
/dev/sdb1 : start= 2048, size= 312494080, type=7
Files in /images/dev/MAC/
-rw-r--r-- 1 root root 1048576 feb 19 19:20 d1.mbr
-rw-r--r-- 1 root root 8820297 feb 19 19:20 d1p1.img
-rw-r--r-- 1 root root 5167660345 feb 19 19:27 d1p2.img
-rw-r--r-- 1 root root 190 feb 19 19:20 d1.partitions
-rw-r--r-- 1 root root 1048576 feb 19 19:27 d2.mbr
-rw-r--r-- 1 root root 20 feb 19 19:27 d2p1.img.000
-rw-r--r-- 1 root root 122 feb 19 19:27 d2.partitions
The first disk uploads well, but when the parclone tries to upload the first partition of the second disk, it crashs.
Failed to complete upload (savePartition)
Args passed: /dev/sdb1 2 /images/0025b3149ac6 all
Problem solved, the /var folder was full. Now I can update the version.
I have problems to update the version of FOG under RHEL 7 and the mysql package. Until now, I don’t have any problems to update but with the last revision I can 't install the mysql package.
* Installation Started
* Installing required packages, if this fails
| make sure you have an active internet connection.
* Adding needed repository....................................OK
* Preparing Package Manager...................................OK
* Packages to be installed:
httpd php php-cli php-common php-gd mysql mysql-server tftp-server nfs-utils vsftpd net-tools wget xinetd tar gzip make m4 gcc gcc-c++ lftp php-mysqlnd curl php-mcrypt php-mbstring mod_ssl php-fpm php-process
* Skipping package: httpd.....................................(Already Installed)
* Skipping package: php.......................................(Already Installed)
* Skipping package: php-cli...................................(Already Installed)
* Skipping package: php-common................................(Already Installed)
* Skipping package: php-gd....................................(Already Installed)
* Installing package: mysql...................................Failed!
Revisión: 4830
Tipo de nodo: directorio
Agendado: normal
Autor del último cambio: masterzune
Revisión del último cambio: 4778
Fecha de último cambio: 2016-02-08 01:47:32 +0100 (lun 08 de feb de 2016)
I think that the problem is the energy setup of the network card. If I shutdown the computer from the button, a dirty shutdown, the ip addr show command doesn’t show the ip. But when I reboot from the OS, the network setup appears fine.
Actually I have the same problem, but I notice that if you send the task and reboot from windows, the task works fine.
When the kernel is loading you can see some line like these:
bzImage ... OK
init.xz .... OK
[....]
initiating random number generator .... OK
Starting eth0 interface
udhcpc (v1.24.1) started
Sending discover ....
Well, If I don t reboot from windows, for example from WOL, the last two lines dont appear and your error appears.
Please, try to reboot from windows to see if the error apeears.
Hi,
I updated the version to 6237 and with images which have one disk, this version works fine but if the image has two disks, no.
The files in the server are:
This issue is solved in version 6150
Can do it later? Hera is 14:35, time to eat … and I go late
I can’t update the version
Some errors appear in the installer process:
[root@fog6 bin]# ./installfog.sh
../lib/common/functions.sh: lÃnea 1557: error sintáctico cerca del elemento inesperado `<<<'
../lib/common/functions.sh: lÃnea 1557: `<<<<<<< .mine'
./installfog.sh: lÃnea 503: configureHttpd: no se encontró la orden
./installfog.sh: lÃnea 528: configureDHCP: no se encontró la orden
The fog settings say Version: 5844
SVN info :
[root@fog6 fog]# svn info
Ruta: .
Working Copy Root Path: /root/fog
URL: https://svn.code.sf.net/p/freeghost/code/trunk
RaÃz del repositorio: https://svn.code.sf.net/p/freeghost/code
UUID del repositorio: 71f96598-fa45-0410-b640-bcd6f8691b32
Revisión: 4722
Tipo de nodo: directorio
Agendado: normal
Autor del último cambio: masterzune
Revisión del último cambio: 4722
Fecha de último cambio: 2016-01-26 02:12:03 +0100 (mar 26 de ene de 2016)
My globalSettings table:
MariaDB [fog]> select settingKey , settingValue from globalSettings;
+--------------------------------------+-----------------------------------------------------------------------+
| settingKey | settingValue |
+--------------------------------------+-----------------------------------------------------------------------+
| FOG_TFTP_HOST | 10.XXX.XX.X |
| FOG_TFTP_FTP_USERNAME | fog |
| FOG_TFTP_FTP_PASSWORD | x |
| FOG_MINING_PACKAGE_PATH | http://fogproject.org/fogpackage.zip |
| FOG_TFTP_PXE_KERNEL_DIR | /var/www/html/fog/service/ipxe/ |
| FOG_TFTP_PXE_KERNEL | bzImage_3_18_4 |
| FOG_KERNEL_RAMDISK_SIZE | 127000 |
| FOG_USE_SLOPPY_NAME_LOOKUPS | 1 |
| FOG_MEMTEST_KERNEL | memtest.bin |
| FOG_PXE_BOOT_IMAGE | init.xz |
| FOG_PXE_IMAGE_DNSADDRESS | 10.XXX.XX.X |
| FOG_VIEW_DEFAULT_SCREEN | search |
| FOG_ADVANCED_MENU_LOGIN | |
| FOG_STORAGENODE_MYSQLPASS | fs30398394677 |
| FOG_STORAGENODE_MYSQLUSER | fogstorage |
| FOG_NFS_BANDWIDTHPATH | /fog/status/bandwidth.php |
| FOG_UPLOADRESIZEPCT | 5 |
| FOG_WEB_HOST | 10.XXX.XX.X |
| FOG_WEB_ROOT | /fog/ |
| FOG_EFI_BOOT_EXIT_TYPE | exit |
| FOG_SNAPINDIR | /opt/fog/snapins/ |
| FOG_QUEUESIZE | 10 |
| FOG_CHECKIN_TIMEOUT | 600 |
| FOG_USER_MINPASSLENGTH | 4 |
| FOG_USER_VALIDPASSCHARS | 1234567890ABCDEFGHIJKLMNOPQRSTUVWZXYabcdefghijklmnopqrstuvwxyz_()^!#- |
| FOG_NFS_ETH_MONITOR | ens192 |
| FOG_UDPCAST_INTERFACE | ens192 |
| FOG_UDPCAST_STARTINGPORT | 65396 |
| FOG_MULTICAST_MAX_SESSIONS | 64 |
| FOG_REPORT_DIR | ./reports/ |
| FOG_THEME | default/fog.css |
| FOG_UPLOADIGNOREPAGEHIBER | 1 |
| FOG_SERVICE_DIRECTORYCLEANER_ENABLED | 1 |
| FOG_USE_ANIMATION_EFFECTS | 1 |
| FOG_SERVICE_USERCLEANUP_ENABLED | |
| FOG_SERVICE_GREENFOG_ENABLED | 1 |
| FOG_SERVICE_AUTOLOGOFF_ENABLED | 1 |
| FOG_SERVICE_DISPLAYMANAGER_ENABLED | 1 |
| FOG_SERVICE_DISPLAYMANAGER_X | 1024 |
| FOG_SERVICE_DISPLAYMANAGER_Y | 768 |
| FOG_SERVICE_DISPLAYMANAGER_R | 60 |
| FOG_SERVICE_AUTOLOGOFF_MIN | 0 |
| FOG_SERVICE_AUTOLOGOFF_BGIMAGE | c:\program files\fog\images\alo-bg.jpg |
| FOG_KEYMAP | |
| FOG_SERVICE_HOSTNAMECHANGER_ENABLED | 1 |
| FOG_SERVICE_SNAPIN_ENABLED | 1 |
| FOG_KERNEL_ARGS | |
| FOG_SERVICE_CLIENTUPDATER_ENABLED | 1 |
| FOG_SERVICE_HOSTREGISTER_ENABLED | 1 |
| FOG_SERVICE_PRINTERMANAGER_ENABLED | 1 |
| FOG_SERVICE_TASKREBOOT_ENABLED | 1 |
| FOG_SERVICE_USERTRACKER_ENABLED | 1 |
| FOG_CHANGE_HOSTNAME_EARLY | 1 |
| FOG_PIGZ_COMP | 3 |
| FOG_KEY_SEQUENCE | |
| FOG_FORMAT_FLAG_IN_GUI | |
| FOG_PROXY_USERNAME | |
| FOG_PROXY_PASSWORD | |
| FOG_NO_MENU | |
| FOG_TFTP_PXE_KERNEL_32 | bzImage32 |
| FOG_PXE_BOOT_IMAGE_32 | init_32.xz |
| FOG_MINING_ENABLE | 1 |
| FOG_BOOT_EXIT_TYPE | sanboot |
| FOG_MINING_MAX_CORES | 1 |
| FOG_MINING_FULL_RESTART_HOUR | 6 |
| FOG_MINING_FULL_RUN_ON_WEEKEND | 1 |
| FOG_DATA_RETURNED | 0 |
| FOG_QUICKREG_GROUP_ASSOC | |
| FOG_ALWAYS_LOGGED_IN | |
| FOG_INACTIVITY_TIMEOUT | 1 |
| FOG_REGENERATE_TIMEOUT | 0.5 |
| FOG_TASK_FORCE_REBOOT | |
| FOG_SERVICE_CHECKIN_TIME | 60 |
| FOG_UDPCAST_MAXWAIT | 10 |
| FOG_CLIENT_MAXSIZE | 204800000 |
| FOG_KERNEL_DEBUG | |
| FOG_KERNEL_LOGLEVEL | 4 |
| FOG_AD_DEFAULT_PASSWORD_LEGACY | |
| FOG_NONREG_DEVICE | |
| FOG_TORRENT_INTERVAL | 1800 |
| FOG_TORRENT_TIMEOUT | 120 |
| FOG_TORRENT_INTERVAL_MIN | 60 |
| FOG_TORRENT_PPR | 20 |
| FOG_TORRENTDIR | /opt/fog/torrents/ |
| FOG_MEMORY_LIMIT | 128 |
| FOG_EMAIL_ACTION | |
| FOG_EMAIL_ADDRESS | |
| FOG_EMAIL_BINARY | /usr/sbin/sendmail -t -f noreply@${server-name}.com -i |
| FOG_FROM_EMAIL | noreply@${server-name}.com |
| FOG_PXE_HIDDENMENU_TIMEOUT | 3 |
| FOG_USED_TASKS | 1,2,8,17 |
| FOG_GRACE_TIMEOUT | 60 |
| FOG_SNAPIN_LIMIT | 0 |
| FOG_MULTICAST_ADDRESS | 239.0.104.1 |
| FOG_MULTICAST_PORT_OVERRIDE | 0 |
| FOG_MULTICAST_DUPLEX | --full-duplex |
| FOG_REGISTRATION_ENABLED | 1 |
| FOG_TZ_INFO | UTC |
| FOG_FTP_PORT | 21 |
| FOG_FTP_TIMEOUT | 90 |
+--------------------------------------+-----------------------------------------------------------------------+
127 rows in set (0.00 sec)