Windows 7 x64
Image Type Single Disk Resizable
Partition Everything
d1.mbr file 32k size instead 512B
Windows 7 x64
Image Type Single Disk Resizable
Partition Everything
d1.mbr file 32k size instead 512B
RHVER=awk '{for(i=1;i<=NF;i++) if ($i == "release") print $(i+1)}' /etc/redhat-release | cut -d. -f 1;
Solve problem
SVN 3493 not fix issue with rhel/centos 7 update 1
…/config.sh
RHVER=awk ‘{for(i=1;i<=NF;i++) if ($i == “release”) print $(i+1)}’ /etc/redhat-release
Receive Value = 7.1.1503
RHVER=echo ${RHVER%.*}
Receive Value = 7.1
…/functions.sh
configureMySql()
{
echo -n " * Setting up and starting MySQL…";
if [ “7.1” == “7” -o “$linuxReleaseName” == “Fedora” ]; then
systemctl=“yes”;
systemctl enable mariadb.service >/dev/null 2>&1;
systemctl restart mariadb.service >/dev/null 2>&1;
else
What mean if you have repo installed with release file like atomic-release-1.0-19.el7.art.noarch , environment variable $rhver receive value 1 not 7 on centos/rhel 7… So detection of mariadb server not happening and mysql server absent by default on centos/rhel 7… What cause error :
Setting up and starting MySQL…error reading information on service mysqld: No such file or directory
…/lib/redhat/config.sh
RHVER=rpm -qa | grep release | xargs rpm -q --queryformat '%{VERSION}' | cut -c -1
receive wrong value if atomic repo installed
rpm -qa | grep release
atomic-release-1.0-19.el7.art.noarch
epel-release-7-5.noarch
remi-release-7.0-1.el7.remi.noarch
centos-release-7-1.1503.el7.centos.2.8.x86_64
rpm -qa | grep release | xargs rpm -q --queryformat ‘%{VERSION}’ | cut -c -1
1
…/lib/redhat/functions.sh
echo -n " * Setting up and starting MySQL…";
if [ “$RHVER” == “7” -o “$linuxReleaseName” == “Fedora” ]
“$RHVER” == “1”
Setting up and starting MySQL… error
$RHVER must be something like:
/bin/rpm -qf /etc/redhat-release --qf “%{VERSION}\n”
yum remove mysql-client mysql-server mysql-common mysql-devel
Loaded plugins: fastestmirror, langpacks
No Match for argument: mysql-client
No Match for argument: mysql-server
No Match for argument: mysql-common
No Match for argument: mysql-devel
No Packages marked for removal
yum remove mariadb-libs.x86_64 mariadb-server.x86_64
rm -rf /var/lib/mysql/
rm -rf /etc/my.cnf
yum install mariadb-libs.x86_64 mariadb-server.x86_64
Centos 7 default mariadb-server
Centos 7 error updating to last svn build
Confirming package installation.
Checking package: httpd…OK
Checking package: php…OK
Checking package: php-cli…OK
Checking package: php-common…OK
Checking package: php-gd…OK
Checking package: mysql…OK
Checking package: mysql-server…OK
Checking package: tftp-server…OK
Checking package: nfs-utils…OK
Checking package: vsftpd…OK
Checking package: net-tools…OK
Checking package: wget…OK
Checking package: xinetd…OK
Checking package: tar…OK
Checking package: gzip…OK
Checking package: make…OK
Checking package: m4…OK
Configuring services.
MBR & Partition Table of Disk causing error…
[url=“/_imported_xf_attachments/1/1950_sfdisk.txt?:”]sfdisk.txt[/url][url=“/_imported_xf_attachments/1/1951_mbr-part-table.txt?:”]mbr-part-table.txt[/url][url=“/_imported_xf_attachments/1/1952_mbr-backup.txt?:”]mbr-backup.txt[/url][url=“/_imported_xf_attachments/1/1953_mbr-boot-code.txt?:”]mbr-boot-code.txt[/url]
Tom,
I understand you very well and I said you right this is not bug , can I ask you future request? Can you do in fog menu something like quick image advanced where you script check computer compatibility if problem found not exit with error code, but give to the user option to fix problem (or try to fix problem automatically) and re-run check ?
You are right when we talk about full / quick inventory but when we talk about quick image I think maybe you can add some extra question (option) if problem with disk detected (format, wipe, clear partition table, disktest, etc ) ?
I choose open image of hdd with one partition ( Single Disk - Resizable) and option resize image to fill all space on hdd, fog must destroy all data on the disk and overwrite mbr ?
Error Message
[url=“/_imported_xf_attachments/1/1947_WP_20150430_001.jpg?:”]WP_20150430_001.jpg[/url]
I can boot from fog / gparted.iso and create partition or fog debug fdisk /sfdisk but may be this case can be fixed automatically without my intervention
Fog Boot Settings/FOG_KERNEL_DEBUG
Where is kernel debug log files ?
[url=“/_imported_xf_attachments/1/1944_WP_20150430_004.jpg?:”]WP_20150430_004.jpg[/url][url=“/_imported_xf_attachments/1/1945_WP_20150430_002.jpg?:”]WP_20150430_002.jpg[/url][url=“/_imported_xf_attachments/1/1946_WP_20150430_003.jpg?:”]WP_20150430_003.jpg[/url]
Disk was formatted using protection card magic card extra IV ([url=“http://www.rogev.co.il/”]www.rogev.co.il/[/url][B]magic[/B]-[B]card[/B]/[B]extra[/B]-4/[B]Magic[/B] [B]Card[/B] [B]Extra[/B] IV.pdf) after uninstalling card partition table was destroyed .
I can ulpload backup of destroyed mbr / partition table
I try to restore image on hdd with broken mbr/partition table and receive message:
lsblk: /dev/sda?: not a block device
Error: Could not stat device mklabel -No such file or directory
Failed to initialize disk…
I can’t erase mbr/partition with fastwipe … same mistake
After recreate mbr/partition table with external tool all work
Can you fix this case ?
Quick Registration not work on VMware Virtual Host (Windows 7) invalid mac address
[Wed Apr 29 17:19:27.818473 2015] [:error] [pid 1860] [client 192.114.111.99:12293] PHP Warning: in_array() expects parameter 2 to be array, null given in /var/www/html/fog/lib/fog/HookManager.class.php on line 75
[Wed Apr 29 17:19:27.818612 2015] [:error] [pid 1860] [client 192.114.111.99:12293] PHP Warning: in_array() expects parameter 2 to be array, null given in /var/www/html/fog/lib/fog/HookManager.class.php on line 75
[Wed Apr 29 17:19:27.818779 2015] [:error] [pid 1860] [client 192.114.111.99:12293] PHP Warning: in_array() expects parameter 2 to be array, null given in /var/www/html/fog/lib/fog/HookManager.class.php on line 75
[Wed Apr 29 17:19:27.818929 2015] [:error] [pid 1860] [client 192.114.111.99:12293] PHP Warning: in_array() expects parameter 2 to be array, null given in /var/www/html/fog/lib/fog/HookManager.class.php on line 75
[Wed Apr 29 17:19:27.819046 2015] [:error] [pid 1860] [client 192.114.111.99:12293] PHP Warning: in_array() expects parameter 2 to be array, null given in /var/www/html/fog/lib/fog/HookManager.class.php on line 75
[Wed Apr 29 17:19:27.819152 2015] [:error] [pid 1860] [client 192.114.111.99:12293] PHP Warning: in_array() expects parameter 2 to be array, null given in /var/www/html/fog/lib/fog/HookManager.class.php on line 75
[Wed Apr 29 17:19:27.819292 2015] [:error] [pid 1860] [client 192.114.111.99:12293] PHP Warning: in_array() expects parameter 2 to be array, null given in /var/www/html/fog/lib/fog/HookManager.class.php on line 75
[Wed Apr 29 17:19:27.819392 2015] [:error] [pid 1860] [client 192.114.111.99:12293] PHP Warning: in_array() expects parameter 2 to be array, null given in /var/www/html/fog/lib/fog/HookManager.class.php on line 75
[Wed Apr 29 17:19:27.819488 2015] [:error] [pid 1860] [client 192.114.111.99:12293] PHP Warning: in_array() expects parameter 2 to be array, null given in /var/www/html/fog/lib/fog/HookManager.class.php on line 75
[Wed Apr 29 17:19:27.819586 2015] [:error] [pid 1860] [client 192.114.111.99:12293] PHP Warning: in_array() expects parameter 2 to be array, null given in /var/www/html/fog/lib/fog/HookManager.class.php on line 75
[Wed Apr 29 17:19:27.819693 2015] [:error] [pid 1860] [client 192.114.111.99:12293] PHP Warning: in_array() expects parameter 2 to be array, null given in /var/www/html/fog/lib/fog/HookManager.class.php on line 75
[Wed Apr 29 17:19:27.819815 2015] [:error] [pid 1860] [client 192.114.111.99:12293] PHP Warning: in_array() expects parameter 2 to be array, null given in /var/www/html/fog/lib/fog/HookManager.class.php on line 75
[Wed Apr 29 17:19:27.819910 2015] [:error] [pid 1860] [client 192.114.111.99:12293] PHP Warning: in_array() expects parameter 2 to be array, null given in /var/www/html/fog/lib/fog/HookManager.class.php on line 75
[Wed Apr 29 17:19:27.819959 2015] [:error] [pid 1860] [client 192.114.111.99:12293] PHP Warning: in_array() expects parameter 2 to be array, null given in /var/www/html/fog/lib/fog/HookManager.class.php on line 75
[Wed Apr 29 17:19:27.820081 2015] [:error] [pid 1860] [client 192.114.111.99:12293] PHP Warning: in_array() expects parameter 2 to be array, null given in /var/www/html/fog/lib/fog/HookManager.class.php on line 75
[Wed Apr 29 17:19:27.820132 2015] [:error] [pid 1860] [client 192.114.111.99:12293] PHP Warning: in_array() expects parameter 2 to be array, null given in /var/www/html/fog/lib/fog/HookManager.class.php on line 75
[Wed Apr 29 17:19:27.820311 2015] [:error] [pid 1860] [client 192.114.111.99:12293] PHP Warning: in_array() expects parameter 2 to be array, null given in /var/www/html/fog/lib/fog/HookManager.class.php on line 75
[Wed Apr 29 17:19:27.820472 2015] [:error] [pid 1860] [client 192.114.111.99:12293] PHP Warning: in_array() expects parameter 2 to be array, null given in /var/www/html/fog/lib/fog/HookManager.class.php on line 75
[Wed Apr 29 17:19:27.820582 2015] [:error] [pid 1860] [client 192.114.111.99:12293] PHP Warning: in_array() expects parameter 2 to be array, null given in /var/www/html/fog/lib/fog/HookManager.class.php on line 75
[Wed Apr 29 17:19:27.820683 2015] [:error] [pid 1860] [client 192.114.111.99:12293] PHP Warning: in_array() expects parameter 2 to be array, null given in /var/www/html/fog/lib/fog/HookManager.class.php on line 75
[Wed Apr 29 17:19:27.820773 2015] [:error] [pid 1860] [client 192.114.111.99:12293] PHP Warning: in_array() expects parameter 2 to be array, null given in /var/www/html/fog/lib/fog/HookManager.class.php on line 75
[Wed Apr 29 17:19:27.820803 2015] [:error] [pid 1860] [client 192.114.111.99:12293] PHP Warning: in_array() expects parameter 2 to be array, null given in /var/www/html/fog/lib/fog/HookManager.class.php on line 75
[Wed Apr 29 17:19:27.823671 2015] [:error] [pid 1860] [client 192.114.111.99:12293] PHP Warning: in_array() expects parameter 2 to be array, null given in /var/www/html/fog/lib/fog/EventManager.class.php on line 50
[Wed Apr 29 17:19:27.823696 2015] [:error] [pid 1860] [client 192.114.111.99:12293] PHP Warning: in_array() expects parameter 2 to be array, null given in /var/www/html/fog/lib/fog/EventManager.class.php on line 50
[Wed Apr 29 17:19:27.823773 2015] [:error] [pid 1860] [client 192.114.111.99:12293] PHP Warning: in_array() expects parameter 2 to be array, null given in /var/www/html/fog/lib/fog/EventManager.class.php on line 50
[Wed Apr 29 17:19:27.823907 2015] [:error] [pid 1860] [client 192.114.111.99:12293] PHP Warning: in_array() expects parameter 2 to be array, null given in /var/www/html/fog/lib/fog/EventManager.class.php on line 50
[Wed Apr 29 17:19:27.823939 2015] [:error] [pid 1860] [client 192.114.111.99:12293] PHP Warning: in_array() expects parameter 2 to be array, null given in /var/www/html/fog/lib/fog/EventManager.class.php on line 50
[Wed Apr 29 17:19:27.824020 2015] [:error] [pid 1860] [client 192.114.111.99:12293] PHP Warning: in_array() expects parameter 2 to be array, null given in /var/www/html/fog/lib/fog/EventManager.class.php on line 50
[Wed Apr 29 17:19:27.824047 2015] [:error] [pid 1860] [client 192.114.111.99:12293] PHP Warning: in_array() expects parameter 2 to be array, null given in /var/www/html/fog/lib/fog/EventManager.class.php on line 50
[Wed Apr 29 17:19:27.824131 2015] [:error] [pid 1860] [client 192.114.111.99:12293] PHP Warning: in_array() expects parameter 2 to be array, null given in /var/www/html/fog/lib/fog/EventManager.class.php on line 50
[Wed Apr 29 17:19:27.824373 2015] [:error] [pid 1860] [client 192.114.111.99:12293] PHP Warning: in_array() expects parameter 2 to be array, null given in /var/www/html/fog/lib/fog/EventManager.class.php on line 50
[Wed Apr 29 17:19:27.824496 2015] [:error] [pid 1860] [client 192.114.111.99:12293] PHP Warning: in_array() expects parameter 2 to be array, null given in /var/www/html/fog/lib/fog/EventManager.class.php on line 50
[Wed Apr 29 17:19:27.860794 2015] [:error] [pid 1860] [client 192.114.111.99:12293] PHP Warning: in_array() expects parameter 2 to be array, null given in /var/www/html/fog/lib/fog/HookManager.class.php on line 56