• Recent
    • Unsolved
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login
    1. Home
    2. fabritrento
    3. Posts
    F
    • Profile
    • Following 0
    • Followers 0
    • Topics 32
    • Posts 151
    • Groups 0

    Posts

    Recent Best Controversial
    • RE: Latest FOG 0.33b

      i tryed out the multicast:

      clicked on group ->basic task -> multicast.

      is a group of 5 pc

      these pc is waked up by wol, but too fast, so some pc start the process other boots from local disk bypassing.

      so i reset by hand powering off then on, then all starts the multicast process.

      the problem is that all pc stays with empty gray screen of partclone.

      there is a bug, also if the members of the group scheduled is 5 pc, for some reason it expect 29 connection before start.

      as a note, my pc is members of 3 group. I think that the check of how many pc is scheduled is to see how many pc is in the group that i 've scheduled, without other group membership…

      my situation:
      total # of pc in mysql: 27
      pc in first group: 25
      pc in second group: 3
      pc in third group: 5

      on the server:

      root@fog:/opt/fog/log# ps -ef|grep fog
      avahi 507 1 0 10:03 ? 00:00:02 avahi-daemon: running [fog.local]
      root 12747 1 0 18:30 ? 00:00:00 /usr/bin/php -q /opt/fog/service/FOGTaskScheduler/FOGTaskScheduler
      root 12781 1 0 18:30 ? 00:00:02 /usr/bin/php -q /opt/fog/service/FOGMulticastManager/FOGMulticastManager
      root 12816 1 0 18:30 ? 00:00:00 /usr/bin/php -q /opt/fog/service/FOGImageReplicator/FOGImageReplicator
      root 13467 29116 4 18:36 pts/1 00:00:00 grep --color=auto fog

      multicast.log:
      [01-31-14 6:36:16 pm] * [01-31-14 6:36:16 pm] I am the group manager.
      [01-31-14 6:36:27 pm] * [01-31-14 6:36:27 pm] Checking if I am the group manager.
      [01-31-14 6:36:27 pm] * [01-31-14 6:36:27 pm] I am the group manager.
      [01-31-14 6:36:38 pm] * [01-31-14 6:36:38 pm] Checking if I am the group manager.
      [01-31-14 6:36:38 pm] * [01-31-14 6:36:38 pm] I am the group manager.
      [01-31-14 6:36:49 pm] * [01-31-14 6:36:49 pm] Checking if I am the group manager.
      [01-31-14 6:36:49 pm] * [01-31-14 6:36:49 pm] I am the group manager.
      [01-31-14 6:37:00 pm] * [01-31-14 6:37:00 pm] Checking if I am the group manager.
      [01-31-14 6:37:00 pm] * [01-31-14 6:37:00 pm] I am the group manager.

      multicast.log.udpcast.50:
      Udp-sender 20120424
      Using mcast address 232.168.0.3
      UDP sender for (stdin) at 192.168.0.3 on eth0
      Broadcasting control to 224.0.0.1
      New connection from 192.168.0.133 (#0) 00000009
      New connection from 192.168.0.113 (#1) 00000009
      New connection from 192.168.0.141 (#2) 00000009

      root@fog:/opt/fog/log# ps -ef|grep udp
      root 13001 12781 0 18:31 ? 00:00:00 sh -c exec gunzip -c “/images//labinfociro/d1p1.img”|/usr/local/sbin/udp-sender --min-receivers 29 --portbase 27198 --interface eth0 --half-duplex --ttl 32 --nokbd;gunzip -c “/images//labinfociro/d1p2.img”|/usr/local/sbin/udp-sender --min-receivers 29 --portbase 27198 --interface eth0 --half-duplex --ttl 32 --nokbd;gunzip -c “/images//labinfociro/d1p3.img”|/usr/local/sbin/udp-sender --min-receivers 29 --portbase 27198 --interface eth0 --half-duplex --ttl 32 --nokbd;
      root 13003 13001 0 18:31 ? 00:00:00 /usr/local/sbin/udp-sender --min-receivers 29 --portbase 27198 --interface eth0 --half-duplex --ttl 32 --nokbd

      posted in General
      F
      fabritrento
    • RE: Latest FOG 0.33b

      so why if i have no task scheduled/running

      i have these process? i try to kill and restart multicast.

      root@fog:/opt/fog/log# ps -ef|grep udp-sender
      root 567 24601 0 16:10 ? 00:00:00 sh -c exec gunzip -c “/images//labinfociro/d1p1.img”|/usr/local/sbin/udp-sender --min-receivers 27 --portbase 27198 --interface eth0 --half-duplex --ttl 32 --nokbd;gunzip -c “/images//labinfociro/d1p2.img”|/usr/local/sbin/udp-sender --min-receivers 27 --portbase 27198 --interface eth0 --half-duplex --ttl 32 --nokbd;gunzip -c “/images//labinfociro/d1p3.img”|/usr/local/sbin/udp-sender --min-receivers 27 --portbase 27198 --interface eth0 --half-duplex --ttl 32 --nokbd;
      root 570 567 0 16:10 ? 00:00:02 /usr/local/sbin/udp-sender --min-receivers 27 --portbase 27198 --interface eth0 --half-duplex --ttl 32 --nokbd
      root 10972 29116 0 18:15 pts/1 00:00:00 grep --color=auto udp-sender
      root@fog:/opt/fog/log#

      posted in General
      F
      fabritrento
    • RE: Latest FOG 0.33b

      [quote=“Tom Elliott, post: 22331, member: 7271”]How many clients are supposed to be connected?

      On the fog server run:
      [code]ps -ef|grep udp-sender[/code]

      Look for --max-clients. There should be a number there.[/quote]

      hanged processes? i have no active multicast deployment at this time… but 3 different single download. Whats the differences between download and deploy?? is not the same?

      root@fog:/opt/fog/log# ps -ef|grep udp-sender
      root 567 24601 0 16:10 ? 00:00:00 sh -c exec gunzip -c “/images//labinfociro/d1p1.img”|/usr/local/sbin/udp-sender --min-receivers 27 --portbase 27198 --interface eth0 --half-duplex --ttl 32 --nokbd;gunzip -c “/images//labinfociro/d1p2.img”|/usr/local/sbin/udp-sender --min-receivers 27 --portbase 27198 --interface eth0 --half-duplex --ttl 32 --nokbd;gunzip -c “/images//labinfociro/d1p3.img”|/usr/local/sbin/udp-sender --min-receivers 27 --portbase 27198 --interface eth0 --half-duplex --ttl 32 --nokbd;
      root 570 567 0 16:10 ? 00:00:00 /usr/local/sbin/udp-sender --min-receivers 27 --portbase 27198 --interface eth0 --half-duplex --ttl 32 --nokbd
      root 2886 29116 4 16:42 pts/1 00:00:00 grep --color=auto udp-sender
      root@fog:/opt/fog/log#

      posted in General
      F
      fabritrento
    • RE: Latest FOG 0.33b

      multicast imaging on r1170 don’t work, partclone grey empty ncurses screen is on the monitors, bot the transfer don’t start, here some logs:

      root@fog:/opt/fog/log# ps -ef|grep fog
      avahi 507 1 0 10:03 ? 00:00:02 avahi-daemon: running [fog.local]
      root 1161 29116 0 16:15 pts/1 00:00:00 grep --color=auto fog
      root 24601 1 0 14:51 ? 00:00:19 /usr/bin/php -q /opt/fog/service/FOGMulticastManager/FOGMulticastManager
      root 24611 1 0 14:51 ? 00:00:00 /usr/bin/php -q /opt/fog/service/FOGImageReplicator/FOGImageReplicator
      root 24624 1 0 14:51 ? 00:00:03 /usr/bin/php -q /opt/fog/service/FOGTaskScheduler/FOGTaskScheduler

      root@fog:/opt/fog/log# vi multicast.log
      [01-31-14 4:14:21 pm] * [01-31-14 4:14:21 pm] I am the group manager.
      [01-31-14 4:14:31 pm] * [01-31-14 4:14:31 pm] Checking if I am the group manager.
      [01-31-14 4:14:31 pm] * [01-31-14 4:14:31 pm] I am the group manager.
      [01-31-14 4:14:41 pm] * [01-31-14 4:14:41 pm] Checking if I am the group manager.
      [01-31-14 4:14:41 pm] * [01-31-14 4:14:41 pm] I am the group manager.
      [01-31-14 4:14:52 pm] * [01-31-14 4:14:52 pm] Checking if I am the group manager.
      [01-31-14 4:14:52 pm] * [01-31-14 4:14:52 pm] I am the group manager.
      [01-31-14 4:15:03 pm] * [01-31-14 4:15:03 pm] Checking if I am the group manager.
      [01-31-14 4:15:03 pm] * [01-31-14 4:15:03 pm] I am the group manager.
      [01-31-14 4:15:13 pm] * [01-31-14 4:15:13 pm] Checking if I am the group manager.
      [01-31-14 4:15:13 pm] * [01-31-14 4:15:13 pm] I am the group manager.
      [01-31-14 4:15:24 pm] * [01-31-14 4:15:24 pm] Checking if I am the group manager.
      [01-31-14 4:15:24 pm] * [01-31-14 4:15:24 pm] I am the group manager.
      [01-31-14 4:15:34 pm] * [01-31-14 4:15:34 pm] Checking if I am the group manager.
      [01-31-14 4:15:34 pm] * [01-31-14 4:15:34 pm] I am the group manager.
      [01-31-14 4:15:45 pm] * [01-31-14 4:15:45 pm] Checking if I am the group manager.
      [01-31-14 4:15:45 pm] * [01-31-14 4:15:45 pm] I am the group manager.
      [01-31-14 4:15:55 pm] * [01-31-14 4:15:55 pm] Checking if I am the group manager.
      [01-31-14 4:15:56 pm] * [01-31-14 4:15:56 pm] I am the group manager.
      [01-31-14 4:16:06 pm] * [01-31-14 4:16:06 pm] Checking if I am the group manager.
      [01-31-14 4:16:06 pm] * [01-31-14 4:16:06 pm] I am the group manager.

      root@fog:/opt/fog/log# vi multicast.log.udpcast.50
      Udp-sender 20120424
      Using mcast address 232.168.0.3
      UDP sender for (stdin) at 192.168.0.3 on eth0
      Broadcasting control to 224.0.0.1
      New connection from 192.168.0.41 (#0) 00000009
      New connection from 192.168.0.128 (#1) 00000009
      New connection from 192.168.0.42 (#2) 00000009

      posted in General
      F
      fabritrento
    • RE: Latest FOG 0.33b

      finally with r1170 all seems to work.

      but now there are another problem: a multicast task, in 0.32, wait for all clients of the multicast process to connect, then send to all al maximum 100Mbit speed.

      in 0.33b also if you schedule a multicast, don’t work, the first pc start immediatly the data transfer not waiting the others

      but i test better in 1 hour (now i have to do other urgent works)

      posted in General
      F
      fabritrento
    • RE: Latest FOG 0.33b

      [quote=“Tom Elliott, post: 22317, member: 7271”]r1170 released.

      Neatly to end the night even 🙂

      Just adds comments to the service files. A minor change in ServiceConfigurationPage.[/quote]

      with this (and previous) release new pc inventory (quick or full inventory from grub fog menu) dont’ work.
      pc says: No Host found for mac address xx:xx:xx:xx:xx (is normal… is a new pc!!) 2 times, one at start of inventory and another at end of inventory

      no errors in error.log of apache.

      here access.log:
      172.24.77.119 - - [30/Jan/2014:12:43:15 +0100] “POST /fog/service/auto.register.php HTTP/1.1” 200 318 “-” “Wget”
      172.24.77.119 - - [30/Jan/2014:12:43:23 +0100] “POST /fog/service/inventory.php HTTP/1.1” 200 318 “-” “Wget”

      i cannot find another errors…

      i deleted all fog dir /opt/fog/* and reinstalled: no works.

      So at the moment i cannot add another pc to inventory.

      i used on pc1: dd|netcat xxx.xxx.xxx.xxx 10000 pc2: netcal -l -p 10000 >/dev/sda for the moment to clone pc… is my only way, the inventory don’t work.

      Tryed also to delete the db and www root and install the last test release: don’t work.

      please fix this problem… is urgent

      posted in General
      F
      fabritrento
    • RE: Latest FOG 0.33b

      [quote=“Tom Elliott, post: 22173, member: 7271”]r1162 released. Should resize SDR disks after imaging completes. It wasn’t before and I’m sorry I missed that part.

      Spelling issues have been addressed as well.[/quote]

      with this release new pc inventory (quick inventory from grub fog menu) dont’ work.
      pc says: No Host found for mac address xx:xx:xx:xx:xx (is normal… is a new pc!!) 2 times, one at start of inventory and another at end of inventory

      no errors in error.log pf apache.

      here access.log:
      172.24.77.119 - - [30/Jan/2014:12:43:15 +0100] “POST /fog/service/auto.register.php HTTP/1.1” 200 318 “-” “Wget”
      172.24.77.119 - - [30/Jan/2014:12:43:23 +0100] “POST /fog/service/inventory.php HTTP/1.1” 200 318 “-” “Wget”

      i cannot find another errors…

      posted in General
      F
      fabritrento
    • RE: Latest FOG 0.33b

      i have a problem with multicast group deploy:

      i addes 25 pc to a multicast deploy but:

      -the first powered on started the image restore without waiting for other 24 with a very poor speed of 330mbyte/minute instead of 1000mbyte/minute when restore only one pc.
      -all others has a gray window of partclone that waits…

      i expect that all 25 pc waits for udp broadcast data to start restore, and start restore all togheter receiving the unique multicast udp connection, and not that the first one starts withlout waiting all others… in 0.32 this was worked.

      now i go to home because 300 mbyte/minute means hours of deploy… tomorrow i pray the good that all pc works and are added to domain!

      bye and thanks, good night

      posted in General
      F
      fabritrento
    • RE: Latest FOG 0.33b

      now when i clich on the link to see all machines, ( [url]http://192.168.0.3/fog/management/index.php?node=host&sub=list[/url] ) i get this error
      FOG DEBUG: Image: Database Load Failed: ID: 0, Error: Row not found
      FOG DEBUG: Image: Database Load Failed: ID: 0, Error: Row not found

      posted in General
      F
      fabritrento
    • RE: Latest FOG 0.33b

      ok i removed /images/labinfociro SOLVED. i don’t understand the reason… this directory was chmodded to 777 so i don’t understand…

      posted in General
      F
      fabritrento
    • RE: Latest FOG 0.33b

      [quote=“Tom Elliott, post: 22140, member: 7271”][php] if ($ftp->rename($dest,$src)||$ftp->put($dest,$src))
      ($_REQUEST[‘osid’] == ‘1’ ? $ftp->delete($StorageNode->get(‘path’).‘/dev/’.$macftp) : null);[/php]

      And these functions are in /var/www/fog/lib/fog/FOGFTP.class.php[/quote]

      in fog script, /images is mounted on the client via nfs. so i don’t understand why is needed create pgfile (what is?) and use ftp.

      is not more simple to:

      1. mount the /images as nfs
      2. partclone to /images/dev/mac/d1p1,d1p2…
      3. simply do a mv /images/dev/mac /images/imagename

      ?? why to use ftp?

      posted in General
      F
      fabritrento
    • RE: Latest FOG 0.33b

      [quote=“Tom Elliott, post: 22135, member: 7271”]Try, simply, removing the /images/labinfociro directory[/quote]

      if i have a image named labinfociro on web gui and i remove by hand /images/labinfociro this is not a problem?

      posted in General
      F
      fabritrento
    • RE: Latest FOG 0.33b

      [quote=“Tom Elliott, post: 22131, member: 7271”]FOG GUI->Storage Management->Storage Node->Management Username/Password[/quote]

      the user fog can connect correctly to server. /images is chmodded to 777 so is writable to any user

      i tryed now to remove image labinfociro (1) and create a new image with same name labinfociro (2).

      now i’lll see if the rename fails or no.

      can you give to me the part of script where this rename is done?

      a question: why don’t use nfs for all operation instead of ftp?? /images is mounted on server so ftp is not needed!!!
      we can just do a mv /images/dev/[machine] /images/[imagename] instead of use ftp. why not? is more simple.

      posted in General
      F
      fabritrento
    • RE: Latest FOG 0.33b

      [quote=“Tom Elliott, post: 22070, member: 7271”]/opt/fog/log is for the three FOG Services installed (FOGScheduler, FOGMulticastManager, FOGImageReplicator)

      /var/log/{httpd,apache2}/{error_log/access_log, error.log/access.log} is the right places to look, but it seems strange.

      Is there an actual task in place on the FOG GUI for your upload task?

      I haven’t seen any issues with SDR deploy of xp, as it’s all I’ve had to test with for the last few weeks (from an xp standpoint), and as far as I can tell, the fog.capone script has it’s own checks/balances, but ultimately call’s upon the main fog script. Can you try registering one of your systems and deploy the XP image that way?[/quote]

      var/log/apache don’t contain errors
      /opt/fog/log don’t contain errors

      i cannot deploy until the image upload finish… before we must fix the ftp error: * FOGFTP: Failed to rename file. Remote Path: /images/labinfociro, Local Path: /images/dev/00215a60eb2a, Error: ftp_rename(): Rename failed.

      what is the full rename command that fails? (part of script)

      the images are correctly created under /images/dev/002115a60eb2a (d1p1.img d1p2.img d1p3.img ).

      the directory /images/labinfociro exists and is empty.

      now i go to eat, i resume tomorrow

      posted in General
      F
      fabritrento
    • RE: Latest FOG 0.33b

      [quote=“Tom Elliott, post: 22128, member: 7271”]I’m good for now, but can you test, using the same username and password set in the Storage username and password fields, that that user can actually ftp data to the location?[/quote]

      where is located these 2 variables?

      posted in General
      F
      fabritrento
    • RE: Latest FOG 0.33b

      [quote=“Tom Elliott, post: 22124, member: 7271”]He’s referring to the bugs found/fixed and finally getting an image to upload.

      His is also a very special case, in that he’s trying to (successfully) do an image of a Dual boot system.[/quote]

      error.log of apache don’t contain errors.

      in the access.log the request is:

      192.168.0.140 - - [29/Jan/2014:18:35:19 +0100] “GET /fog/service/Post_Stage2.php?to=labinfociro&mac=00:21:5a:60:eb:2a&ftp=192.168.0.3&size=&imgid=1&imgtype=mps&osid=1&type=up HTTP/1.1” 200 434 “-” “Wget”

      administrator@fog:/var/log$ ps -ef|grep ftp
      root 10252 1 0 17:39 ? 00:00:00 /usr/sbin/in.tftpd --listen --user root --address 0.0.0.0:69 -s /tftpboot
      root 10281 1 0 17:39 ? 00:00:01 /usr/sbin/vsftpd
      nobody 23883 10281 0 18:38 ? 00:00:00 /usr/sbin/vsftpd
      1000 23885 5624 0 18:38 pts/1 00:00:00 grep --color=auto ftp
      administrator@fog:/var/log$

      Tom, if you want i can give to you teamviewer access…

      posted in General
      F
      fabritrento
    • RE: Latest FOG 0.33b

      [quote=“Tom Elliott, post: 22107, member: 7271”]r1161 released should fix the inventory issue.[/quote]

      there is a bug, the image of 3 disks are created but after that a new error is printed:

      • FOGFTP: Failed to rename file. Remote Path: /images/labinfociro, Local Path: /images/dev/00215a60eb2a, Error: ftp_rename(): Rename failed.

      is possible to take 15 days to do a correct image on server? i become crazy…

      posted in General
      F
      fabritrento
    • RE: Latest FOG 0.33b

      esthetic bug: when i do a uload from host to server the confirmation of task creation is:

      [SIZE=6][B]Host Management[/B][/SIZE]

      [SIZE=5][B]Deploy Image to Host[/B][/SIZE]

      Successfully created task for deployment of [U]limage[/U] to [U]pc-name[/U]

      the message must be:

      image upload from host

      Sucessfully created task for upload of [U]limage[/U] to [U]pc-name[/U]

      posted in General
      F
      fabritrento
    • RE: Latest FOG 0.33b

      [quote=“Tom Elliott, post: 22093, member: 7271”]r1160 released. Should properly fix capone now. Had a variable sending the full image path name rather than just the image name. This caused issues because imagePath was looking for the file(s) in: /images/images/winxp, or something similar, and would return as invalid image file.[/quote]

      quick invetory don’t works, after a (apparently) done pc inventory if i click on “list all hosts” list i don’t see anything (empty list)

      here a error in apache log:

      [Wed Jan 29 08:16:37.811486 2014] [:error] [pid 15375] [client 172.24.77.115:60192] PHP Warning: mysql_query() expects parameter 2 to be resource, boolean given in /var/www/fog/lib/db/MySQL.class.php on line 109, referer: [url]http://172.24.77.115/fog/management/index.php?node=host&sub=list[/url]
      [Wed Jan 29 08:16:37.811546 2014] [:error] [pid 15375] [client 172.24.77.115:60192] PHP Warning: array_key_exists() expects parameter 2 to be array, null given in /var/www/fog/lib/db/MySQL.class.php on line 184, referer: [url]http://172.24.77.115/fog/management/index.php?node=host&sub=list[/url]
      [Wed Jan 29 08:16:37.817353 2014] [:error] [pid 15375] [client 172.24.77.115:60192] PHP Warning: mysql_query() expects parameter 2 to be resource, boolean given in /var/www/fog/lib/db/MySQL.class.php on line 109, referer: [url]http://172.24.77.115/fog/management/index.php?node=host&sub=list[/url]
      [Wed Jan 29 08:16:37.817403 2014] [:error] [pid 15375] [client 172.24.77.115:60192] PHP Warning: array_key_exists() expects parameter 2 to be array, null given in /var/www/fog/lib/db/MySQL.class.php on line 184, referer: [url]http://172.24.77.115/fog/management/index.php?node=host&sub=list[/url]

      additionally:

      mysql> select * from hosts;
      Empty set (0.00 sec)

      mysql>

      is urgent please help me

      i think the problem is in one of these files (but i’m not sure):

      172.24.77.119 - - [29/Jan/2014:08:16:09 +0100] “POST /fog/service/auto.register.php HTTP/1.1” 200 318 “-” “Wget”
      172.24.77.119 - - [29/Jan/2014:08:16:17 +0100] “POST /fog/service/inventory.php HTTP/1.1” 200 318 “-” “Wget”

      posted in General
      F
      fabritrento
    • RE: Latest FOG 0.33b

      [quote=“Tom Elliott, post: 21983, member: 7271”]If you’re trying to upload an image, why is it sending inventory?[/quote]

      Sorry, the problem is when I make quick inventory from grub fog menu, not the image upload

      posted in General
      F
      fabritrento
    • 1 / 1