Jump to content

dearleuk

Members
  • Posts

    6
  • Joined

  • Last visited

Posts posted by dearleuk

  1. The key changes that I used were...

     

    Change UPSCABLE usb to UPSCABLE ether

    Change UPSTYPE usb to UPSTYPE net

    Change DEVICE to DEVICE TOWER:3551

     

    Of course if your server is named differently then change TOWER to the name that you are using.

     

    Then reboot the PC of course.  THe APCUPSD status icon should shange to show that the network connection is detected and you should then be able to right-click on it to interrogate the UPS status.

     

    Thanks a lot for this, saved me no end of work

     

  2. Hello SlrG

     

    I was unable to access the forum on Sunday for some reason

     

    I'm certain that I've not changed anything in the config file, but I will copy the contents of your post and paste them into my config file.

     

    I think you're on to something with the passwd file. The user Dave was created using the web interface for UnRaid. Dave cannot login via telnet or a keyboard attached to the unraid server. The user test was created via keyboard on the unraid server and can login, but I still get the same error when trying to connect vis FTP

     

    root:x:0:0:Console and webGui login account:/root:/bin/bash
    bin:x:1:1:bin:/bin:/bin/false
    daemon:x:2:2:daemon:/sbin:/bin/false
    adm:x:3:4:adm:/var/log:/bin/false
    lp:x:4:7:lp:/var/spool/lpd:/bin/false
    mail:x:8:12:mail:/:/bin/false
    news:x:9:13:news:/usr/lib/news:/bin/false
    uucp:x:10:14:uucp:/var/spool/uucppublic:/bin/false
    ftp:x:14:50::/home/ftp:/bin/false
    smmsp:x:25:25:smmsp:/var/spool/clientmqueue:/bin/false
    mysql:x:27:27:MySQL:/var/lib/mysql:/bin/false
    rpc:x:32:32:RPC portmap user:/:/bin/false
    sshd:x:33:33:sshd:/:/bin/false
    gdm:x:42:42:GDM:/var/state/gdm:/bin/false
    avahi:x:61:214:Avahi Daemon User:/dev/null:/bin/false
    avahi-autoipd:x:62:62:Avahi AutoIP Daemon User:/dev/null:/bin/false
    messagebus:x:81:81::/dev/null:/bin/false
    pop:x:90:90:POP:/:/bin/false
    nobody:x:99:100:nobody:/:/bin/bash
    dave:x:1002:100:ftpuser /mnt/disk1/audiobooks:/mnt/disk1/audiobooks:/bin/false
    test:x:1003:1003:ftpuser:/home/test:
    

  3. Thanks for the reply.

     

    I did restart the profto daemon and rebooted a couple of times

    Jun 29 19:12:25 Hilda emhttp: shcmd (39): usermod -c 'ftpuser /mnt/disk1/audiobooks' paul (Other emhttp)
    Jun 29 19:12:25 Hilda emhttp: shcmd (40): cp /etc/passwd /etc/shadow /etc/samba/private/smbpasswd /boot/config (Other emhttp)
    Jun 29 19:12:25 Hilda emhttp: shcmd (41): :>/etc/samba/smb-shares.conf (Other emhttp)
    Jun 29 19:12:25 Hilda emhttp: Restart SMB... (Other emhttp)
    Jun 29 19:12:25 Hilda emhttp: shcmd (42): killall -HUP smbd (Minor Issues)
    Jun 29 19:12:25 Hilda emhttp: shcmd (43): ps axc | grep -q rpc.mountd (Other emhttp)
    Jun 29 19:12:25 Hilda emhttp: _shcmd: shcmd (43): exit status: 1 (Other emhttp)
    Jun 29 19:12:25 Hilda emhttp: shcmd (44): /usr/local/sbin/emhttp_event svcs_restarted (Other emhttp)
    Jun 29 19:12:25 Hilda emhttp_event: svcs_restarted (Other emhttp)
    Jun 29 19:12:44 Hilda proftpd[17635]: 127.0.0.1 (192.168.1.115[192.168.1.115]) - FTP session opened. 
    Jun 29 19:12:52 Hilda proftpd[17635]: 127.0.0.1 (192.168.1.115[192.168.1.115]) - notice: unable to use '~/' [resolved to '/mnt/cache/FTP/']: No such file or directory 
    Jun 29 19:12:52 Hilda proftpd[17635]: 127.0.0.1 (192.168.1.115[192.168.1.115]) - Preparing to chroot to directory '~/' 
    Jun 29 19:12:52 Hilda proftpd[17635]: 127.0.0.1 (192.168.1.115[192.168.1.115]) - chroot to '~/' failed for user 'paul': Operation not permitted  (Minor Issues)
    Jun 29 19:12:52 Hilda proftpd[17635]: 127.0.0.1 (192.168.1.115[192.168.1.115]) - error: unable to set DefaultRoot directory  (Errors)
    Jun 29 19:12:52 Hilda proftpd[17635]: 127.0.0.1 (192.168.1.115[192.168.1.115]) - FTP session closed.

     

    Permiisions for audiobooks are -rw-rw-rwx 1 nobody users 0

     

    /mnt/disk1

     

     

    drwxrwxrwx 2 nobody users        48 2013-06-29 19:22 audiobooks/

     

    Thanks again

     

  4. Thanks for this great plugin.

     

    I'm running unRAID Server Plus version: 5.0-rc15a. Port 21 is open on router.

    netstat -tulpn | grep :21

     

    gives

     

    metcp        0      0 0.0.0.0:21              0.0.0.0:*              LISTEN      17392/proftpd: (acc

     

    telnet localhost 21

     

    gives

     

    220 ProFTPD 1.3.5rc3 Server (ProFTPD) [127.0.0.1]

     

    I have a user paul with with the description

     

    ftpuser /mnt/disk1/audiobooks

     

    I just can't logon. I enter username and then password, but I always get the error

     

    530 Permission denied

     

    I've tried it with different users, different clients, but I still get the same error.

     

    Has anyone got any ideas how I can resolve this please? I know it's not a fault with the plugin, it's almost certainly something stupid I've done.

×
×
  • Create New...