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

    maples

    @maples

    1
    Reputation
    179
    Profile views
    3
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    maples Unfollow Follow

    Latest posts made by maples

    • RE: Services (TFTP, MySQL) not starting after reboot on Lubuntu 13.10

      It’s working now. I made /etc/init/tftpd-hpa.override that contains “manual” and I changed my /etc/rc.local to
      [code]
      sleep 30
      start tftpd-hpa
      exit 0
      [/code]

      Does this forum have a “thread solved” button? I know that some others do, but I haven’t found it yet.

      Thanks!

      posted in Linux Problems
      M
      maples
    • RE: Services (TFTP, MySQL) not starting after reboot on Lubuntu 13.10

      So for the tftpd service, I would create /etc/init/tftpd-hpa.override (overwrite if it already exists), and it should contain only the word “manual”

      From what I’ve found, /etc/rc.local gets run at the end of every runlevel. We only want to start it once, so wouldn’t it be a better idea to put a startup (with delay) script into one of the /etc/rcX.d/ directories?

      MySQL seems to be working for now, but would you suggest doing the same thing for that service as well?

      Thanks!

      posted in Linux Problems
      M
      maples
    • Services (TFTP, MySQL) not starting after reboot on Lubuntu 13.10

      [b]### SOLVED ###[/b]
      The issue was with a bug that Ubuntu doesn’t properly start services.
      My issue was only with tftpd-hpa, but this probably can be applied to other services as well.

      /etc/init/tftpd-hpa.override:
      [code]
      manual
      [/code]

      /etc/rc.local:
      [code]
      sleep 30
      start tftpd-hpa
      exit 0
      [/code]

      [b]### Original post###[/b]
      Hi,
      I’m trying to install FOG on a compuer that’s running Lubuntu 13.10. This has happened twice, and I’ve gotten similar results both times.
      I did a fresh install, updated everything, then installed FOG. Everything ran fine, and soon we were able to start booting from the PXE server, registering hosts, and taking images.
      However, after we rebooted the computer, we ran into issues. Both times, the TFTP server refused to start. The first time, the MySQL service broke as well, but the second time it seems to still be working.

      Since I reinstalled the OS after the first failure, I’m unable to give any more details about it, but we haven’t done anything to the second install.

      Here’s the /etc/default/tftpd-hpa config file.
      [code]# /etc/default/tftpd-hpa

      FOG Modified version

      TFTP_USERNAME=“root”
      TFTP_DIRECTORY=“/tftpboot”
      TFTP_ADDRESS=“0.0.0.0:69”
      TFTP_OPTIONS=“-s”[/code]

      Thanks!

      posted in Linux Problems
      M
      maples