• Recent
    • Unsolved
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login
    1. Home
    2. To_Tha_Cloud
    3. Posts
    T
    • Profile
    • Following 0
    • Followers 0
    • Topics 1
    • Posts 20
    • Best 0
    • Controversial 0
    • Groups 0

    Posts made by To_Tha_Cloud

    • RE: Fog was working fine until a power outage

      Now I can head home! Thanks again!

      posted in FOG Problems
      T
      To_Tha_Cloud
    • RE: Fog was working fine until a power outage

      [quote=“Tom Elliott, post: 18144, member: 7271”]what does the /var/log/messages say when this happens?[/quote]

      HOLY MOTHER OF GOD! I just rebooted my laptop to try the tftp command from another machine and I forgot it is set to boot from network. And guess what!? It booted up into FOG! WOOOT! Many Thanks! If you are ever in Jackson, TN I’ll owe you a beer!

      posted in FOG Problems
      T
      To_Tha_Cloud
    • RE: Fog was working fine until a power outage

      [quote=“Tom Elliott, post: 18142, member: 7271”]Okay,

      Run this command:
      [code]sed -i ‘s/SELINUX=enforcing/SELINUX=disabled/’ /etc/sysconfig/selinux[/code]

      Then reboot and try again![/quote]

      I rebooted and tried again… and… Sucess!

      tftp -4 localhost
      tftp> get
      (files) pxelinux.0
      tftp>

      BUT… When I try from another machine I am still getting the can’t write to local file error.

      posted in FOG Problems
      T
      To_Tha_Cloud
    • RE: Fog was working fine until a power outage

      [quote=“Tom Elliott, post: 18140, member: 7271”]Ah ha!

      Does your system need SELINUX running?[/quote]
      Not that I am aware. This machine is an old dell Optiplex 740 and only used for FOG

      posted in FOG Problems
      T
      To_Tha_Cloud
    • RE: Fog was working fine until a power outage

      [quote=“Tom Elliott, post: 18136, member: 7271”]is selinux running per chance?[/quote]

      sestatus
      SELinux status: enabled
      SELinuxfs mount: /selinux
      Current mode: enforcing
      Mode from config file: enforcing
      Policy version: 24
      Policy from config file: targeted

      posted in FOG Problems
      T
      To_Tha_Cloud
    • RE: Fog was working fine until a power outage

      [quote=“Tom Elliott, post: 18135, member: 7271”]Same error message as well?[/quote]

      Yes sir. same error Permission Denied.

      Should I try Percussive Maintenance?

      posted in FOG Problems
      T
      To_Tha_Cloud
    • RE: Fog was working fine until a power outage

      [quote=“Tom Elliott, post: 18133, member: 7271”]can you perform
      [code] tail -f /var/log/messages[/code]

      Then, in another terminal or tty (CTRL+ALT+[1-6]) try your tftp command.

      NOTE: [1-6] is a representation of a number, so type the individual tty you want access to. 1 is the one you usually first see.

      You should see the access hopefully.

      Display the output of that here for clarity.[/quote]

      tail -f /var/log/messages
      Oct 14 16:20:16 charon kernel: RPC: Registered tcp transport module.
      Oct 14 16:20:16 charon kernel: RPC: Registered tcp NFSv4.1 backchannel transport module.
      Oct 14 16:20:17 charon kernel: Installing knfsd (copyright © 1996 [email]okir@monad.swb.de[/email]).
      Oct 14 16:20:17 charon rpc.mountd[1411]: Version 1.2.3 starting
      Oct 14 16:20:17 charon kernel: NFSD: Using /var/lib/nfs/v4recovery as the NFSv4 state recovery directory
      Oct 14 16:20:17 charon kernel: NFSD: starting 90-second grace period
      Oct 14 16:20:18 charon xinetd[1493]: xinetd Version 2.3.14 started with libwrap loadavg labeled-networking options compiled in.
      Oct 14 16:20:18 charon xinetd[1493]: Started working: 1 available service
      Oct 14 16:22:12 charon xinetd[1493]: START: tftp pid=2091 from=127.0.0.1
      Oct 14 16:37:12 charon xinetd[1493]: EXIT: tftp status=0 pid=2091 duration=900(sec)
      Oct 14 16:37:41 charon xinetd[1493]: START: tftp pid=3879 from=127.0.0.1

      posted in FOG Problems
      T
      To_Tha_Cloud
    • RE: Fog was working fine until a power outage

      [quote=“Tom Elliott, post: 18131, member: 7271”]Can you show me the contents of:

      [code]/etc/xinetd.d/tftp[/code][/quote]

      default: off

      description: The tftp server serves files using the trivial file transfer # protocol. The tftp protocol is often used to boot diskless # workstations, download configuration files to network-aware printers, # and to start the installation process for some operating systems.

      service tftp
      {
      socket_type = dgram
      protocol = udp
      wait = yes
      user = root
      server = /usr/sbin/in.tftpd
      server_args = -s /tftpboot
      disable = no
      per_source = 11
      cps = 100 2
      flags = IPv4
      }

      posted in FOG Problems
      T
      To_Tha_Cloud
    • RE: Fog was working fine until a power outage

      [quote=“Tom Elliott, post: 18128, member: 7271”]okay, thanks.

      Maybe this fixes it fingers crossed lol.[/quote]

      had fingers and toes crossed but no luck.

      When running tftp on the server I am still getting Error code 0: Permission denied
      😞

      posted in FOG Problems
      T
      To_Tha_Cloud
    • RE: Fog was working fine until a power outage

      [quote=“Tom Elliott, post: 18126, member: 7271”]I’m going to ask that you reboot the server, if that’s okay with you?

      But before you reboot type:

      [code]touch /forcefsck
      shutdown -rF now[/code]

      The shutdown -rF now command will force the system to shutdown and ensure that, if for some other reason, forcefsck will work on next reboot.[/quote]

      Rebooting now.

      posted in FOG Problems
      T
      To_Tha_Cloud
    • RE: Fog was working fine until a power outage

      [quote=“Tom Elliott, post: 18124, member: 7271”]Okay,

      When you performed the install, did you have any special parameters involved. Such as:

      [LIST]
      []Is your tftpboot folder in a location other than /tftpboot?
      [
      ]Is your tftpboot folder hosted on another filesystem?
      [/LIST]
      Has your system performed a filesystem check and/or is your filesystem on a RAID setup? Is it possible one of the drives has failed?[/quote]

      The only special perameter was /images is mounted on a seperate drive. I just checked it and it appears to be mounted properly and I can navigate to it.
      The system as far as I know has not performed a filesystem check and I am not on a RAID setup.

      posted in FOG Problems
      T
      To_Tha_Cloud
    • RE: Fog was working fine until a power outage

      [quote=“Tom Elliott, post: 18122, member: 7271”]what is the output of the command:
      [code]umask[/code][/quote]

      0022

      posted in FOG Problems
      T
      To_Tha_Cloud
    • RE: Fog was working fine until a power outage

      [quote=“Tom Elliott, post: 18116, member: 7271”]This is also going to sound a bit odd, I think, but is there a firewall running on the FOG Server? Is iptables disabled?

      To find out run:
      [code]iptables -L -n[/code]

      If you get the text such as:
      [code]Chain INPUT (policy ACCEPT)
      target prot opt source destination

      Chain FORWARD (policy ACCEPT)
      target prot opt source destination

      Chain OUTPUT (policy ACCEPT)
      target prot opt source destination[/code]

      Then chances are it’s already disabled. If you get anything more than that run:

      [code]chkconfig iptables off; service iptables stop[/code][/quote]

      The firewall is off.

      posted in FOG Problems
      T
      To_Tha_Cloud
    • RE: Fog was working fine until a power outage

      [quote=“Tom Elliott, post: 18114, member: 7271”]This may sound really odd, but can you try tftp from your fogserver with:

      [code]cd
      yum -y install tftp
      tftp -4 localhost
      get
      pxelinux.0
      exit[/code]

      Does this work?[/quote]
      I get the following:

      ]# tftp -4 localhost
      tftp> get
      (files) pxelinux.0
      Error code 0: Permission denied

      I am running as root.

      posted in FOG Problems
      T
      To_Tha_Cloud
    • RE: Fog was working fine until a power outage

      [quote=“Tom Elliott, post: 18113, member: 7271”]This is starting to make some sense.

      The files that you’re working with are all currently 666, or rw-rw-rw- try chmoding all folders as 755 with:
      [code]chmod -R 755[/code]

      Then perform:
      [code]find /tftpboot -type f -exec chmod 744 {} ;[/code]

      This should put all files as rwxr–r-- which is what my system looks like. It will also place all the directories as their natural state of rwxr-xr-x[/quote]

      Do I need to restart any services?

      posted in FOG Problems
      T
      To_Tha_Cloud
    • RE: Fog was working fine until a power outage

      [quote=“Tom Elliott, post: 18110, member: 7271”]Well,

      One way to be ensure it’s a permissions issue is to make sure all permissions are out of the question. Most Directories follow a 755 rule, and many of the files follow that as well. It sounds like it can’t write any request data to the filesystem, which means when you’re accessing it, it can’t modify the last access time. One way to verify if it’s permissions is to put the whole directory as rwx all the way through with:[code]chmod -R 777 /tftpboot[/code]

      Then try your ftp command. if that allows it to work, then try [code]chmod -R 755 /tftpboot[/code]

      It should still work. I can’t fully remember, though, if you have to specify the full path either, in reference to the command you’re writing in windows…[/quote]

      Changed the permissions to 777 and tried to rerun the command. I still get the same error. I even made up a filename to make sure I didnt have to enter the full path and it came back with a file not found. So I know my command should work. Scratches head

      posted in FOG Problems
      T
      To_Tha_Cloud
    • RE: Fog was working fine until a power outage

      forgot to mention I also restarted the service you mentioned as well.

      posted in FOG Problems
      T
      To_Tha_Cloud
    • RE: Fog was working fine until a power outage

      [quote=“Tom Elliott, post: 18094, member: 7271”]Also,

      Please try service xinetd restart as that should control tftp for Centos 6.4[/quote]

      I tried the following command in Windows:
      [CODE]tftp x.x.x.x get pxelinux.0[/CODE]
      and I get:
      [CODE]tftp: can’t write to local file ‘pxelinux.0’[/CODE]

      Seems like a permission issue. But I’m somewhat of a newb.

      posted in FOG Problems
      T
      To_Tha_Cloud
    • RE: Fog was working fine until a power outage

      [quote=“Tom Elliott, post: 18029, member: 7271”]make sure the folder is also accessible to the fog user:

      [code]chown -R fog:root /tftpboot[/code][/quote]

      I did that and am still getting the same messages. 😞

      I found a site that showed me how to test it from inside windows with command line when I set the server up, but I didnt write it down 😞 and my google fu is failing me.

      posted in FOG Problems
      T
      To_Tha_Cloud
    • Fog was working fine until a power outage

      Good Morning All!

      This is my first post here. I hope I provided enough information.

      We had a power outage over last weekend and when I tried to image a machine after turning the FOG server back on I could not connect it. I found the problem to be the firewall. So I turned it off. Then the next issue was -

      PXE-T00: Permission Denied
      DASH-E36: Error received from TFTP server
      DASH-M0F: Exiting Option ROM

      After some googling I though I should chmod 666 the /tftpboot directory and all the contents. Once I did that I am now getting the following:

      DASH-E32: TFTP open timeout
      TFTP…

      What have I managed to hose up?

      I am running CentOS release 6.4 (Final) with latest version of FOG. The machine I am trying to image is a Lenovo M88 Desktop. I have imaged several of these before the power outage.

      Thanks in advance for any help.

      posted in FOG Problems
      T
      To_Tha_Cloud
    • 1 / 1