Jump to content

luowilliam

Members
  • Posts

    21
  • Joined

  • Last visited

Posts posted by luowilliam

  1. 2 hours ago, trurl said:

    Why are your appdata, domains, and system shares set to cache-yes? They should be prefer. After you get them moved to cache then cache-only would be even better.

     

    This isn't the likely cause of your issues though. Just a likely cause of decreased performance due to having these on the array impacted by parity writes, and also causing array disks to spin since these are always in use.

     

    Did you try deleting the appdata for these dockers? Of course that would be starting them from scratch.

    Deleting the appdata and reinstall the docker worked. Thanks!

  2. Hi guys,

    I have been having different problems with my server so I decided to reinstall unraid but try to keep the array.

    The reinstallation went good. I still have my array but needed to reinstall dockers I had. For most of the dockers after resintall from Community Application, the content of the docker was restored automatically and all good. But for Transmission and OpenVPN-as, after resintallation of docker, I can't get into web interface anymore.

    Transmission says:

    This site can’t be reached

    192.168.1.xxx refused to connect.

     

    OpenVPN-as says:

    Your connection is not private. Gives the chrome page that says the certificate is no good. It doesn't even give you the option to say advance anyway and ignore the warning like some of the other websites that doesn't have "valid" certificate.

     

    I've tried deleting the docker and re-installing them without any difference.


    Need help on what to do next. Any help is appreciated.

    William

    nas1-diagnostics-20200217-1126.zip

  3. Still can't figure out what the problem is. 

    It not my network speed as I get same speed as WIFI

    The SATA cable was switched out as well.

    I would expect the read speed to be low for files that have not been copied before but writing to the cache drive should be as fast as the network speed, no?

    Please help.

    Thanks!

  4. 21 hours ago, itimpi said:

    Is the cache drive a SSD?    If so do you have the CA Trim plugin installed to do periodic Trim operations on it?   Is the drive attached to a motherboard port or one on a HBA?

    Yes, the cache drive is a SSD. It's attached to motherboard port. I will install the CA trim and try.

  5. 22 hours ago, Marshalleq said:

    I'd try SATA cables.  Also, be real sure the cache is set to the mode you think it is.  And if you're copying over the network - make sure you're over a cable not wifi and all of that kind of thing.  Lots of small files copying will be a slower MB/s so depends if you're doing that.  I'm just guessing though as you don't say what you're trying to copy etc.

    I tried copying a movie file over ethernet connection from Windows and MAC... It's just super weird it was working fine up until a week ago. Tried to switch SATA cable didn't make a difference.

  6. I have a 240GB cache drive on my unraid server. I have been getting the maximum writting and reading speed from the server limited by only the Gbit network speed. I think aorund 110Mbps.

    However recently, the speed dropped way down to 40ish Mbps. It almost seem like the cache drive is no longer working. I checked the cache drive it has no error and I re-formatted the cache drive as well. No change.

    Any idea where to go next for troubleshooting?

    Thanks.

  7. On 5/27/2016 at 5:14 PM, Kuroyukihimeeee said:

    Worked perfectly, ended up keeping my go file for some custom network binds and ensuring that all disks were in the right place so no data was lost.

     

    Only thing i had to do was set all shares to use cache drives again and that was pretty much it.

     

    Running much more stable now, excellent work on the wiki page. Hell, even my array is performing almost double its old speed in some cases! Something must have been really wrong with my old install.

    What would happen to the installed dockers? Will I need to reinstall them and configure them from scratch?

  8. On 11/3/2018 at 6:55 PM, BRiT said:

    The grep command searches for strings inside of files. In this situation since your syslog shows multiple logins for user adm for ssh, so you should make sure the user is prevented from logging in. We can do that using the 2 grep commands I provided.

     

    The location /etc/ contains criticial configuration files for the running system in RAM. These files do NOT survive reboots and are replaced when the server reboots.

    The location /boot/config/ contains SAVED ciritical configurations files that are copied into /etc/ when unraid first boots up. These files survive reboots.

     

    The first grep command searches for all occurrences of adm in the file /boot/config/passwd and the file /etc/passwd.

    The second grep command searches for all occurrences of adm in the file /boot/config/shadow and the file /etc/shadow

     

    Try the following 2 commands at the unraid command prompt / terminal prompt.

     

    
    grep adm /boot/config/passwd /etc/passwd 

     

    
    grep adm /boot/config/shadow /etc/shadow 

     

    They should produce output similar to what I posted above and will post below again. It the numbers may be different, but the PASSWD files should contain an 'x' after the username and the SHADOW files should contain an '*' after the username.

     

    If the two command do not produce files, then your system is likely majorly compromised and it would be wise reboot the system at least once and then try them again. If it still doesn't produce results then you should unplug it from the network until you start over from scratch with an entirely brand new USB drive from scratch so you can be certain no compromised configurations or scripts are reinstalling at reboot.

     

    Output results from the 2 commands:

     

    
    /boot/config/passwd:adm:x:3:4:adm:/var/log:/bin/false
    
    /etc/passwd:adm:x:3:4:adm:/var/log:/bin/false
    
    

     

    
    /boot/config/shadow:adm:*:14824:0:99999:7:::
    
    /etc/shadow:adm:*:14824:0:99999:7:::
    
    

     

     

     

     

     

     

     

     

    Thank you for the explanation. 

    Here's what I got from the grep command:

    grep: /boot/config/passwd: No such file or directory
    /etc/passwd:_kadmin_admin:*:218:-2:Kerberos Admin Service:/var/empty:/usr/bin/false
    /etc/passwd:_kadmin_changepw:*:219:-2:Kerberos Change Password Service:/var/empty:/usr/bin/false
    /etc/passwd:_krb_kadmin:*:231:-2:Open Directory Kerberos Admin Service:/var/empty:/usr/bin/false
    grep: /boot/config/shadow: No such file or directory
    grep: /etc/shadow: No such file or directory

    Doesn't look good I guess right?

    So the next question is how would I restart from scratch and minimize the amount of work I have to do in the configuration?

    Thanks.

  9. 58 minutes ago, BRiT said:

    I don't know how anyone was able to login as 'adm' as under standard unraid configuration that user has no password and can not login. Double check your password and shadow files on your USB drive [/boot/config/] and on the running system [/etc/]. The 'x' in passwd indicates the real data is in the shadow file. The '*' in the shadow file indicates no acceptable password.

     

     

    
    # grep adm /boot/config/passwd /etc/passwd
    /boot/config/passwd:adm:x:3:4:adm:/var/log:/bin/false
    /etc/passwd:adm:x:3:4:adm:/var/log:/bin/false
    
    

     

     

     

    
    # grep adm /boot/config/shadow /etc/shadow
    /boot/config/shadow:adm:*:14824:0:99999:7:::
    /etc/shadow:adm:*:14824:0:99999:7:::
    

     

    Sorry, can you provide a little more explanation for this? Like how is it there's an adm account left there for default and the commands you provided. When I typed those in it says there is no such file or direcotry.

  10. So I have closed SSH port 22 on my router. Seems like the spamming stopped but do I need to worry about the box been compromised any other way?

    Also, If I would like to get Plex working over internet. What's the proper and secure way of doing that?

    Thanks for all the help.

  11. Attached is my diagnostics. I used netstat to look at all the established connection can't see anything weird.

    Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID/Program name
    tcp        0      0 0.0.0.0:1967            0.0.0.0:*               LISTEN      8608/Plex DLNA Serv
    tcp        0      0 0.0.0.0:sunrpc          0.0.0.0:*               LISTEN      1562/rpcbind
    tcp        0      0 0.0.0.0:32400           0.0.0.0:*               LISTEN      8503/./Plex Media S
    tcp        0      0 0.0.0.0:http            0.0.0.0:*               LISTEN      4822/nginx: master
    tcp        0      0 NAS1:32401              0.0.0.0:*               LISTEN      8503/./Plex Media S
    tcp        0      0 0.0.0.0:41361           0.0.0.0:*               LISTEN      1567/rpc.statd
    tcp        0      0 0.0.0.0:32469           0.0.0.0:*               LISTEN      8608/Plex DLNA Serv
    tcp        0      0 192.168.122.1:domain    0.0.0.0:*               LISTEN      7000/dnsmasq
    tcp        0      0 0.0.0.0:ftp             0.0.0.0:*               LISTEN      4726/inetd
    tcp        0      0 0.0.0.0:ssh             0.0.0.0:*               LISTEN      4688/sshd
    tcp        0      0 0.0.0.0:telnet          0.0.0.0:*               LISTEN      4726/inetd
    tcp        0      0 NAS1:32600              0.0.0.0:*               LISTEN      8610/Plex Tuner Ser
    tcp        0      0 NAS1:34009              0.0.0.0:*               LISTEN      8543/Plex Plug-in [
    tcp        0      0 NAS1:41339              0.0.0.0:*               LISTEN      8669/Plex Plug-in [
    tcp        0      0 NAS1:16509              0.0.0.0:*               LISTEN      6533/libvirtd
    tcp        0      0 0.0.0.0:microsoft-ds    0.0.0.0:*               LISTEN      1632/smbd
    tcp        0      0 0.0.0.0:6789            0.0.0.0:*               LISTEN      7309/nzbget
    tcp        0      0 0.0.0.0:netbios-ssn     0.0.0.0:*               LISTEN      1632/smbd
    tcp        0    101 192.168.1.100:34378     news.iad.usenetser:8080 ESTABLISHED 7309/nzbget
    tcp        0      0 192.168.1.100:42758     news.iad.usenetser:8080 ESTABLISHED 7309/nzbget
    tcp        0    101 192.168.1.100:42778     news.iad.usenetser:8080 ESTABLISHED 7309/nzbget
    tcp        0     85 192.168.1.100:34342     news.iad.usenetser:8080 ESTABLISHED 7309/nzbget
    tcp        0      0 192.168.1.100:42802     news.iad.usenetser:8080 ESTABLISHED 7309/nzbget
    tcp        0      0 192.168.1.100:42798     news.iad.usenetser:8080 ESTABLISHED 7309/nzbget
    tcp        0      0 192.168.1.100:6789      172.17.0.3:42748        TIME_WAIT   -
    tcp        0      0 192.168.1.100:34334     news.iad.usenetser:8080 ESTABLISHED 7309/nzbget
    tcp        1      0 192.168.1.100:56608     ec2-52-208-155-135:http CLOSE_WAIT  8608/Plex DLNA Serv
    tcp        0      0 192.168.1.100:42770     news.iad.usenetser:8080 ESTABLISHED 7309/nzbget
    tcp        0      0 192.168.1.100:42774     news.iad.usenetser:8080 ESTABLISHED 7309/nzbget
    tcp        0      0 192.168.1.100:6789      172.17.0.3:42756        TIME_WAIT   -
    tcp        0      0 192.168.1.100:34322     news.iad.usenetser:8080 ESTABLISHED 7309/nzbget
    tcp        0      0 192.168.1.100:http      192.168.1.76:59168      ESTABLISHED 4823/nginx: worker
    tcp        0      0 192.168.1.100:ssh       customer.worldstre:2494 ESTABLISHED 4871/sshd: adm [pri
    tcp        0      0 192.168.1.100:6789      172.17.0.4:33332        TIME_WAIT   -
    tcp        0      0 192.168.1.100:6789      172.17.0.3:42760        TIME_WAIT   -
    tcp        0    320 192.168.1.100:ssh       192.168.1.90:64131      ESTABLISHED 23142/sshd: root@pt
    tcp        0      0 192.168.1.100:34346     news.iad.usenetser:8080 ESTABLISHED 7309/nzbget
    tcp        0      0 192.168.1.100:6789      172.17.0.3:42750        TIME_WAIT   -
    tcp        0      0 192.168.1.100:34360     news.iad.usenetser:8080 ESTABLISHED 7309/nzbget
    tcp        0    101 192.168.1.100:42754     news.iad.usenetser:8080 ESTABLISHED 7309/nzbget
    tcp        0      0 192.168.1.100:6789      192.168.1.76:59421      ESTABLISHED 7309/nzbget
    tcp        1      0 NAS1:57568              NAS1:34009              CLOSE_WAIT  8608/Plex DLNA Serv
    tcp        0      0 192.168.1.100:6789      172.17.0.3:42746        TIME_WAIT   -
    tcp        0      0 192.168.1.100:34318     news.iad.usenetser:8080 ESTABLISHED 7309/nzbget
    tcp        0      0 192.168.1.100:6789      192.168.1.76:59420      ESTABLISHED 7309/nzbget
    tcp        0      0 192.168.1.100:6789      172.17.0.4:33330        TIME_WAIT   -
    tcp        0      0 192.168.1.100:http      192.168.1.76:59606      ESTABLISHED 4823/nginx: worker
    tcp        0      0 192.168.1.100:6789      192.168.1.76:59396      TIME_WAIT   -
    tcp        0      0 192.168.1.100:6789      192.168.1.76:59423      ESTABLISHED 7309/nzbget
    tcp       64      0 192.168.1.100:42750     news.iad.usenetser:8080 ESTABLISHED 7309/nzbget
    tcp        0      0 192.168.1.100:44246     184.105.148.98:https    ESTABLISHED 8503/./Plex Media S
    tcp        0      0 192.168.1.100:42782     news.iad.usenetser:8080 ESTABLISHED 7309/nzbget
    tcp        0      0 192.168.1.100:6789      192.168.1.76:59397      TIME_WAIT   -
    tcp        0    101 192.168.1.100:34362     news.iad.usenetser:8080 ESTABLISHED 7309/nzbget
    tcp        0      0 192.168.1.100:6789      192.168.1.76:59422      ESTABLISHED 7309/nzbget
    tcp        0      0 192.168.1.100:6789      172.17.0.4:33328        TIME_WAIT   -
    tcp        0      0 192.168.1.100:34370     news.iad.usenetser:8080 ESTABLISHED 7309/nzbget
    tcp        0      0 192.168.1.100:34366     news.iad.usenetser:8080 ESTABLISHED 7309/nzbget
    tcp        0      0 192.168.1.100:34338     news.iad.usenetser:8080 ESTABLISHED 7309/nzbget
    tcp        0      0 192.168.1.100:6789      172.17.0.3:42758        TIME_WAIT   -
    tcp        0      0 192.168.1.100:http      192.168.1.76:58751      ESTABLISHED 4823/nginx: worker
    tcp6       0      0 [::]:sunrpc             [::]:*                  LISTEN      1562/rpcbind
    tcp6       0      0 [::]:http               [::]:*                  LISTEN      4822/nginx: master
    tcp6       0      0 [::]:51413              [::]:*                  LISTEN      8156/docker-proxy
    tcp6       0      0 [::]:ssh                [::]:*                  LISTEN      4688/sshd
    tcp6       0      0 [::]:60599              [::]:*                  LISTEN      1567/rpc.statd
    tcp6       0      0 [::]:8989               [::]:*                  LISTEN      7817/docker-proxy
    tcp6       0      0 [::]:9117               [::]:*                  LISTEN      6561/docker-proxy
    tcp6       0      0 [::]:microsoft-ds       [::]:*                  LISTEN      1632/smbd
    tcp6       0      0 [::]:9091               [::]:*                  LISTEN      8169/docker-proxy
    tcp6       0      0 [::]:7878               [::]:*                  LISTEN      7459/docker-proxy
    tcp6       0      0 [::]:netbios-ssn        [::]:*                  LISTEN      1632/smbd
    tcp6       0      0 192.168.1.100:9091      172.17.0.4:55036        TIME_WAIT   -
    

     

    nas1-diagnostics-20181102-2314.zip

  12. My ISP called/emailed me and said my IP is used for sending out tons of spams. I scanned all my computers except for the unraid box. ISP still reporting spams. Last night, I shut down my unraid box and today ISP said they haven't seen any spam since.

    What can I do at this point to pin point what happened on the unraid box?

    Any help is welcome.

    Thanks in advance.

    William

    • Upvote 1
  13. I have searched around google as well as on the forum for other people's solution on this but couldn't find anything good.

    Basically what i'm trying to do is that I have a few USB external hard drives I take with me for work. I would like them to be backed up or synced to be more precise (the external drive being the master copy). Right now I'm doing this by every once in a while plug them into my home computer and Acronis it and store it on the unRaid NAS. There are 2 flaws in this system:

    1. I have to manually use another computer to Acronis it, taking up resource on that computer.

    2. The backup is in the *tib file format, in order to view the content, I need to have a windows computer with Acronis installed to view.

    I'm hoping to find a solution that would be natively installed on unraid server, where I can just plug in my USB drive to the unraid server, it would copy all the files that are different then what's in the backup already in plain files (not *tib). On the mac, there's this app called carbon copy cloner, but I couldn't find anything similar for unraid.

    Any help is appreciated. 

    Thanks!

    William

×
×
  • Create New...