• Recent
  • Unsolved
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login
  • Recent
  • Unsolved
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login

Unable to upload file

Scheduled Pinned Locked Moved
FOG Problems
3
17
5.1k
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • B
    Buddy
    last edited by Apr 16, 2013, 4:13 PM

    Keep getting this error. It does not seem to matter if it is deploying or uploading an image. This is from a Fog restore and all images are put back into the /images directory everything else seems to be working fine in Fog. Running .32

    [url=“/_imported_xf_attachments/0/297_ScreenShot002.png?:”]ScreenShot002.png[/url]

    1 Reply Last reply Reply Quote 0
    • B
      Buddy
      last edited by Apr 16, 2013, 7:16 PM

      No errors in the fog log viewer. I thought maybe a database problem but everything seems to be fine on that side.

      1 Reply Last reply Reply Quote 0
      • B
        Buddy
        last edited by Apr 16, 2013, 7:17 PM

        If it helps I am running Ubuntu 12.10 and I have disabled apparmor.

        1 Reply Last reply Reply Quote 0
        • C
          chad-bisd Moderator
          last edited by Apr 17, 2013, 1:36 AM

          Is tftp working? Can you grab pxelinux.0 from a client via command line?


          If you would like to make a donation to the Fog project, please do so [U][COLOR=#0000ff][URL='http://sourceforge.net/dona…

          1 Reply Last reply Reply Quote 0
          • B
            Buddy
            last edited by Apr 17, 2013, 1:40 AM

            Yeah I can grab pxelinux.0 via FTP. I also tried to restore the database again. No luck

            1 Reply Last reply Reply Quote 0
            • B
              Buddy
              last edited by Apr 17, 2013, 12:09 PM

              Sorry I meant TFTP - phone auto corrected me.

              1 Reply Last reply Reply Quote 0
              • B
                BryceZ
                last edited by Apr 17, 2013, 5:16 PM

                That actually looks like an FTP issue to me. The FOG web server FTP’s the MAC specific boot file to the TFTP server when creating a task. If you’ve changed the password or permissions on the TFTP server, or have a firewall blocking FTP, or the FTP service isn’t running, then you won’t be able to add those files.

                1 Reply Last reply Reply Quote 0
                • B
                  Buddy
                  last edited by Apr 17, 2013, 6:03 PM

                  Ok I turned off firewall (I forgot about that - thanks).
                  No passwords have been changed
                  TFTP server is running (verified that) - settings attached
                  Now the MAC specific part - is that look at the server nic or the client nic. This is a VM do you think that could be messing with it?

                  [url=“/_imported_xf_attachments/0/298_ScreenShot003.png?:”]ScreenShot003.png[/url]

                  1 Reply Last reply Reply Quote 0
                  • B
                    BryceZ
                    last edited by Apr 17, 2013, 6:30 PM

                    When a task is created in FOG the web server creates a small boot file for the client using the client’s MAC address as the file name. The web server uses FTP to push that file onto the TFTP server so that when the client PXE boots it will look through all the files on the TFTP server and grab the one with it’s MAC address in the name. If no MAC address specific file is on the TFTP server then the client uses the default file. The MAC specific file contains the task information, so if the file isn’t there then the client won’t realize that it has a task.

                    1 Reply Last reply Reply Quote 0
                    • B
                      Buddy
                      last edited by Apr 17, 2013, 8:38 PM

                      I see so that wouldn’t have an effect on it being virtual then. Any thing in particular I can look for in the TFTP part beside the file I attached?

                      1 Reply Last reply Reply Quote 0
                      • B
                        BryceZ
                        last edited by Apr 17, 2013, 9:00 PM

                        Are the fog username and password correct in FOG Settings ([URL=‘https://fog.classroom.ohio-state.edu/management/index.php?node=about&sub=settings’]http://<YOUR FOG SERVER>/management/index.php?node=about&sub=settings[/URL] FOG_TFTP_FTP_USERNAME and FOG_TFTP_FTP_PASSWORD)? This is referring to the user account on the server, not the user account on the FOG web console. This is the account that is used to FTP the files. If the account exists, and the settings are correct, and you’re still having problems with creating tasks, then I’d say check that the FTP service is running:
                        [CODE]/etc/init.d/vsftpd status[/CODE]

                        1 Reply Last reply Reply Quote 0
                        • B
                          Buddy
                          last edited by Apr 17, 2013, 10:11 PM

                          The FOG_TFTP_FTP_USERNAME and FOG_TFTP_FTP_PASSWORD look correct - I attached a screen shot. FTP service is running. The username on the machine that I made is “fog”.

                          [url=“/_imported_xf_attachments/0/299_ScreenShot006.png?:”]ScreenShot006.png[/url][url=“/_imported_xf_attachments/0/300_ScreenShot007.png?:”]ScreenShot007.png[/url]

                          1 Reply Last reply Reply Quote 0
                          • B
                            BryceZ
                            last edited by Apr 18, 2013, 12:25 PM

                            Are you able to connect via FTP?

                            1 Reply Last reply Reply Quote 0
                            • B
                              Buddy
                              last edited by Apr 18, 2013, 12:42 PM

                              Yep

                              [url=“/_imported_xf_attachments/0/301_ScreenShot008.png?:”]ScreenShot008.png[/url]

                              1 Reply Last reply Reply Quote 0
                              • B
                                Buddy
                                last edited by Apr 18, 2013, 12:59 PM

                                I am also able to navigate to the /images and see them all via FTP.

                                1 Reply Last reply Reply Quote 0
                                • B
                                  BryceZ
                                  last edited by Apr 18, 2013, 1:36 PM

                                  Does the fog account have write permissions to that directory?

                                  1 Reply Last reply Reply Quote 0
                                  • B
                                    Buddy
                                    last edited by Apr 18, 2013, 2:03 PM

                                    Ok fixed it. I just re-ran the installer over the install. Then went back and made sure my Database passwords were in the config file. It seems to work fine now. I am having severe throughput problems with this though. Looks to me though it is a ubuntu running as a VM thing though not part of FOG.

                                    Thank you for your help.

                                    1 Reply Last reply Reply Quote 0
                                    • 1 / 1
                                    1 / 1
                                    • First post
                                      14/17
                                      Last post

                                    159

                                    Online

                                    12.0k

                                    Users

                                    17.3k

                                    Topics

                                    155.2k

                                    Posts
                                    Copyright © 2012-2024 FOG Project