Jump to content

pokmiuhy

Members
  • Posts

    45
  • Joined

  • Last visited

Posts posted by pokmiuhy

  1. The issue I have now is the docker log is giving me this error:

    Error parsing /etc/telegraf/telegraf.conf, line 70: field corresponding to `logfile' is not defined in `*config.AgentConfig'

     

    I believe it has something to do with this line...Not sure what to do to fix the error.

     ## Specify the log file name. The empty string means to log to stderr.
      logfile = ""

     

    Glad you figured it out. Should also help the next person to forget the config file. As for that error I would try commenting out that line and restarting telegraf.

    Ya, glad I'm at least getting this far. Now to figure out the errors..

     

    I commented out the line already and keep getting other errors. 

     

    Error parsing /etc/telegraf/telegraf.conf, line 492: field corresponding to `collect_cpu_time' is not defined in `*system.CPUStats'

     

    edit: just got it running. had to comment out the #logfile line and & #collect_cpu_time line. We will see if it collects correctly.

  2. Now to figure out why the other container doesn't work.

     

    Have you tried nuking your docker image? Turn off docker in settings and go to your appdata folder and delete the docker image? That's about all the help I can think to offer at this point.

     

    Well I'm getting closer. Issue was the .conf file location. The required location was noted as /mnt/user/appdata/telegraf/telegraf.conf. It was creating this path automatically, but telegraf.conf was an actual directory. So I removed the directory and placed the file at /mnt/user/appdata/telegraf/. Hope this makes sense, but that is at least got things moving.

     

    The issue I have now is the docker log is giving me this error:

    Error parsing /etc/telegraf/telegraf.conf, line 70: field corresponding to `logfile' is not defined in `*config.AgentConfig'

     

    I believe it has something to do with this line...Not sure what to do to fix the error.

     ## Specify the log file name. The empty string means to log to stderr.
      logfile = ""

     

    • Like 1
  3. Here is the output...

     

     

    root@Hollywood:/mnt/user/appdata/telegraf/telegraf.conf# docker ps -a

    CONTAINER ID        IMAGE                COMMAND                CREATED            STATUS              PORTS              NAMES

    9019198678bf        telegraf:1.0-alpine  "/entrypoint.sh tele  About an hour ago                                          telegraf

    root@Hollywood:/mnt/user/appdata/telegraf/telegraf.conf#

     

    and here is the docker.log file

     

    root@Hollywood:/var/log# tail docker.log

    time="2017-01-22T17:11:51.820267584-05:00" level=error msg="Handler for POST /containers/create returned error: No such image: telegraf (tag: latest)"

    time="2017-01-22T17:11:51.820317841-05:00" level=error msg="HTTP Error" err="No such image: telegraf (tag: latest)" statusCode=404

    time="2017-01-22T17:15:38.295712969-05:00" level=error msg="Handler for POST /images/create returned error: Invalid repository name (telegraf:1.0-alpine), only [a-z0-9-_.] are allowed"

    time="2017-01-22T17:15:38.295769839-05:00" level=error msg="HTTP Error" err="Invalid repository name (telegraf:1.0-alpine), only [a-z0-9-_.] are allowed" statusCode=500

    time="2017-01-22T17:15:38.344527428-05:00" level=error msg="Handler for POST /containers/create returned error: No such image: telegraf:1.0-alpine (tag: 1.0-alpine)"

    time="2017-01-22T17:15:38.344576266-05:00" level=error msg="HTTP Error" err="No such image: telegraf:1.0-alpine (tag: 1.0-alpine)" statusCode=404

    time="2017-01-22T17:15:44.748237211-05:00" level=error msg="Handler for POST /containers/{name:.*}/start returned error: Cannot start container 9019198678bfbb19bd9845604a9260cb5d3ac2a68631cdd42a0d284cba81a465: [8] System error: not a directory"

    time="2017-01-22T17:15:44.748287605-05:00" level=error msg="HTTP Error" err="Cannot start container 9019198678bfbb19bd9845604a9260cb5d3ac2a68631cdd42a0d284cba81a465: [8] System error: not a directory" statusCode=500

    time="2017-01-22T17:22:10.525209560-05:00" level=error msg="Handler for POST /containers/{name:.*}/start returned error: Cannot start container telegraf: [8] System error: not a directory"

    time="2017-01-22T17:22:10.525254243-05:00" level=error msg="HTTP Error" err="Cannot start container telegraf: [8] System error: not a directory" statusCode=500

    root@Hollywood:/var/log#

     

  4. If you check my sig, it'll give you some helpful info on how to post your docker run command.

     

    Here is a picture when I tried to re-create the telegraf container pqBldHEh.jpg

     

    root@localhost:# /usr/local/emhttp/plugins/dynamix.docker.manager/scripts/docker run -d --name="telegraf" --net="host" --privileged="true" -e HOST_PROC="/rootfs/proc" -e HOST_SYS="/rootfs/sys" -e HOST_ETC="/rootfs/etc" -e HOST_MOUNT_PREFIX="/rootfs" -e TZ="America/New_York" -v "/var/run/utmp":"/var/run/utmp":ro -v "/var/run/docker.sock":"/var/run/docker.sock":ro -v "/":"/rootfs":ro -v "/sys":"/rootfs/sys":ro -v "/etc":"/rootfs/etc":ro -v "/proc":"/rootfs/proc":ro -v "/mnt/user/appdata/telegraf/telegraf.conf":"/etc/telegraf/telegraf.conf":rw telegraf:1.0-alpine

  5. I've got another thread specific to my issue, but was suggested to post here.

    https://lime-technology.com/forum/index.php?topic=55847.0

    Issue: Docker will not start. the .conf file is in the appropriate location. Not sure what the below logs are telling me. I've deleted and tried to add again with same issue.

     

    Contents of docker.log:

    time="2017-01-22T07:59:54.001220628-05:00" level=error msg="Handler for POST /containers/{name:.*}/start returned error: Cannot start container telegraf: [8] System error: not a directory"

    time="2017-01-22T07:59:54.001267923-05:00" level=error msg="HTTP Error" err="Cannot start container telegraf: [8] System error: not a directory" statusCode=500

    time="2017-01-22T08:00:04.392312922-05:00" level=error msg="Handler for POST /containers/create returned error: No such image: telegraf (tag: latest)"

    time="2017-01-22T08:00:04.392361541-05:00" level=error msg="HTTP Error" err="No such image: telegraf (tag: latest)" statusCode=404

    time="2017-01-22T08:00:39.574439066-05:00" level=error msg="Handler for POST /containers/create returned error: Conflict. The name \"telegraf\" is already in use by container a52ecba4b5fc. You have to delete (or rename) that container to be able to reuse that name."

    time="2017-01-22T08:00:39.574495067-05:00" level=error msg="HTTP Error" err="Conflict. The name \"telegraf\" is already in use by container a52ecba4b5fc. You have to delete (or rename) that container to be able to reuse that name." statusCode=409

    time="2017-01-22T08:22:01.441279607-05:00" level=error msg="Handler for POST /containers/{name:.*}/start returned error: Cannot start container telegraf: [8] System error: not a directory"

    time="2017-01-22T08:22:01.441326640-05:00" level=error msg="HTTP Error" err="Cannot start container telegraf: [8] System error: not a directory" statusCode=500

    time="2017-01-22T08:36:19.265370324-05:00" level=error msg="Handler for POST /containers/{name:.*}/start returned error: Cannot start container telegraf: [8] System error: not a directory"

    time="2017-01-22T08:36:19.265415682-05:00" level=error msg="HTTP Error" err="Cannot start container telegraf: [8] System error: not a directory" statusCode=500

     

  6. I'll assume you mean the logs? If so, this is what's posted in docker.log

     

     

     

    time="2017-01-22T07:59:54.001220628-05:00" level=error msg="Handler for POST /containers/{name:.*}/start returned error: Cannot start container telegraf: [8] System error: not a directory"

    time="2017-01-22T07:59:54.001267923-05:00" level=error msg="HTTP Error" err="Cannot start container telegraf: [8] System error: not a directory" statusCode=500

    time="2017-01-22T08:00:04.392312922-05:00" level=error msg="Handler for POST /containers/create returned error: No such image: telegraf (tag: latest)"

    time="2017-01-22T08:00:04.392361541-05:00" level=error msg="HTTP Error" err="No such image: telegraf (tag: latest)" statusCode=404

    time="2017-01-22T08:00:39.574439066-05:00" level=error msg="Handler for POST /containers/create returned error: Conflict. The name \"telegraf\" is already in use by container a52ecba4b5fc. You have to delete (or rename) that container to be able to reuse that name."

    time="2017-01-22T08:00:39.574495067-05:00" level=error msg="HTTP Error" err="Conflict. The name \"telegraf\" is already in use by container a52ecba4b5fc. You have to delete (or rename) that container to be able to reuse that name." statusCode=409

    time="2017-01-22T08:22:01.441279607-05:00" level=error msg="Handler for POST /containers/{name:.*}/start returned error: Cannot start container telegraf: [8] System error: not a directory"

    time="2017-01-22T08:22:01.441326640-05:00" level=error msg="HTTP Error" err="Cannot start container telegraf: [8] System error: not a directory" statusCode=500

    time="2017-01-22T08:36:19.265370324-05:00" level=error msg="Handler for POST /containers/{name:.*}/start returned error: Cannot start container telegraf: [8] System error: not a directory"

    time="2017-01-22T08:36:19.265415682-05:00" level=error msg="HTTP Error" err="Cannot start container telegraf: [8] System error: not a directory" statusCode=500

     

     

  7. [ftp][/ftp]I got telegraf 1.0 from the community apps and believe to have it set up correctly. It looks like I have everything set up right? pBSLFjch.jpg.

     

    I did add the telegraf.conf file to /mnt/user/appdata/telegraf/telegraf.conf/ but no matter how many times I try to click the icon and start it, it refreshes the page and stays off. Can't seem to find any log info either.

     

    Anyone have similar issues? Any pointers?

  8. Thanks for the replies. I know it'll be loud, but my rack is in the basement and won't disturb anyone. Long term plan would probably be to rebuild a new machine in this case as time/money permits. Just figured this could work for my needs now until then.

     

     

  9. I currently have a 4 drive QNAP but need to upgrade to something that has more capacity potential. Contemplated building a system but stumbled on this and can't figure out why I wouldn't get it...if for nothing other than the case. Am I missing something?

     

    If I was to get this, would I be able to run it out of the box as a simple mass storage server? I don't run plex and don't intend to. I just use the box to store files, music, etc. Worst case, I could keep the case and replace the guts...Still ahead compared to the cost of a new Norco 24bay case. Again, maybe I'm missing something and I'm just not seeing it. Any help is appreciated.

     

     

    http://www.ebay.com/itm/Supermicro-24-Bay-Chassis-SAS846TQ-SATA-Server-AMD-QC-2-10GHz-16GB-4x4GB-H8DME-2-/172292680402?hash=item281d71aad2:g:wacAAOSwnQhXoN4U

     

    Specs:

    • Chassis Manufacturer:  Supermicro
    • Backplane: SAS846TQ rev. 3.1
    • Motherboard: H8DME-2 2.01A
    • Processor: 1X Quad-Core AMD Opteron 2.10GHz 2372 HE
    • RAM: 16GB  4x4GB
    • RAM Open Slots: 12 Open
    • Hard Drive : None
    • # Power Supplies: 2 x 900 W
    • HD Controller: 3x Supermicro SAT2-MV8
    • IPMI: SIM1U+ with AOC-USB2RJ45
    • Optical Drive: None

     

  10. First off, I'm new here, so hello. I've been lurking for a while and have read what seems like 1000's of pages. Great community here with lots of knowledge!

     

    To cut to the chase, I'm out of space on my QNAP NAS. It's a TS-412 and has worked great for my needs. Basically network storage and the occasional streaming of video to one of my 2 AppleTV's in the house. I MAY do some computer backups in the future, but for now I have dedicated drives for that. I also run a web server, SQL server & VPN server from the QNAP. Mainly just to play around with and test things. 99% of the use is storage.  I will most likely use my dedicated Poweredge server for virtualization and the other stuff. Plus I'd like to use it as my own private dropbox like service.

     

    Bottom line, I want a low power system (will stay on nearly 24/7) that will store all my media and stream the occasional movie/tv show to the AppleTV's. I'm not going to populate all 24 drives at once, but I drives and drives of stuff that I'd like to get in one location.

     

    OS at time of building: unRAID 6 Pro

    CPU: Intel Core i3-4130T Haswell Dual-Core 2.9 GHz

    Motherboard: Supermicro MBD-X10SLL-F-O uATX

    RAM: Kingston 8GB DDR3 ECC Unbuffered SDRAM

    Case: SuperMicro SC846E1-R900B (or similar from ebay) OR Norco 4224

    Power Supply: SuperMicro will come with (2) 900w. Not sure yet on a PSU if I go with the Norco case.

    SATA Expansion Card(s): SYBA SI-PEX40071 8 Internal SATA Port Card OR Supermicro AOC-SASLP-MV8

     

    Add Ons Planned: preclear, unMenu, cache_dirs

     

     

    Main questions are:

    Is the CPU/Mobo combo sufficient for my needs?

    What SATA card should I go with?

×
×
  • Create New...