February 11, 201412 yr Author You will propably need to install libmpc: http://slackware.cs.utah.edu/pub/slackware/slackware-13.37/slackware/l/libmpc-0.8.2-i486-2.txz This is from Slackware 13.37 however. I did not find it for 13.1, which it should be for unraid 5. Maybe you have more luck searching.
February 11, 201412 yr I figured it out. I had the wrong gcc package installed. flow listed the correct version and I somehow installed the wrong version. Flows instructions work perfect for pzs-ng and eggdrop.
March 8, 201412 yr How were you guys able to mount directories? I keep getting an error that says mount.cifs: bad UNC (/mnt/user/unRAID) and im not really sure why. That path is definitely correct. I am trying to mount that to /mnt/cache/glftpd/site. Thanks for your help.
March 8, 201412 yr Nevermind. I just had to install http://search.slackware.eu/cgi-bin/package.cgi/view/slackware64-current/slackware64/n/cifs-utils-5.5-x86_64-2.txz EDIT: Scratch that. Didnt fix it. I still count successfully mount shares to my site folder.
March 8, 201412 yr iirc use mount -o bind to mount your shares inside your /glftpd/site mount -o bind /mnt/user/TV /glftpd/site/TV
March 8, 201412 yr flake, I love you. That worked like a charm. Now, how can I put that in my fstab so it mounts automatically when the server is booted?
March 8, 201412 yr i don't think you'll be able to do that, as you'll have to wait until your shares are mounted before mounting them inside your site you could try adding the commands to your go file, although i'm not sure that would work either
March 9, 201412 yr You may very well be right but I am going to give it a shot with this: /mnt/user/unRAID/tv /mnt/cache/glftpd/site/tv none defaults,bind 0 0 I havent rebooted yet to see if it works and I probably wont until tomorrow but I will report back and let you know.
March 9, 201412 yr Author If you go to the plugins directory in /boot/config/plugins/glftpd you find two scripts (mountscript.sh and unmountscript.sh) there. These are the correct place to put your commands to create mountpoints and mount dirs. Have a look at the comments in the files. No need to use the go file. mountscript.sh will be executed when your array goes online and unmountscript.sh will be executed when your array goes offline.
March 9, 201412 yr It seems that with a sitebot running, you cant stop the array. Would there be a way to add to your unmount script a line to kill the eggdrop connection?
March 9, 201412 yr Author If there is a shell command to stop it, you should be able to use it in unmountscripts.sh. But I don't use eggdrop, so I can't tell you. Maybe flake has an idea?
March 9, 201412 yr If there is a shell command to stop it, you should be able to use it in unmountscripts.sh. But I don't use eggdrop, so I can't tell you. Maybe flake has an idea? I can just put killall -9 eggdrop in that file, that should do it. Maybe one of you can help with my other issue. Eggdrops won't run as the root user, any idea how I can change the process owner and have it run as someone else? Apparently you can't have a persistent telnet user other than root. Sent from my Nexus 5 using Tapatalk
March 10, 201412 yr Author The command to run something as a specific user is: sudo -u username command If you want your telnet session to persist, you'll have to use "screen".
March 10, 201412 yr Thank you SlrG and flake! My glftpd setup is now running perfect from top to bottom. I definitely could not have done it without your help. In case anyone is interested, here is what I put in the mountscript.sh to start the eggdrop. cd /mnt/cache/ww/ && sudo -u ww ./eggdrop ww.conf and here is what I put in the unmountscript to kill it: killall -9 eggdrop
March 10, 201412 yr Author Glad you got it working. And thanks for sharing your commands. It might be helpful for others.
April 9, 201412 yr Me again... Because of the OPENSSL vulnerability i want to upgrade glftpd, which I have done. It is mandatory to create a new certificate. My certificates are creating with an expiration year of 1904. Any thoughts on how I can rectify this? Are you guys having a similar issue if you create a certificate?
February 22, 201511 yr Any possibility of this being upgraded to an unraid 6 plugin? This is my glFTPd Plugin for unRAID 5.0. Please feel free to test it and report back if there are problems. I will continue testing myself. Until further notice this should be considered a development release. To install it, unzip and put the plugin into /boot/config/plugins and reboot. Go to the Settings tab and enter the plugins settings. Change settings according to your needs and click enable. Be aware, that this plugin DOESN'T use tcpd for glftpd access and does a NOT jailed installation. After the installation glftpd will at first only be available locally through your servers console or a telnet session. Only a single administrative FTP user named glftpd was created and has the password glftpd. You have to create users and make them accessible from other hosts yourself. See the links in the plugin settings or in the README.txt for more information about it. Roadmap: none yet Known Issues: none yet SlrG -- 2013-11-13 v0.1 Initial Development Release on 5.0 2013-11-13 v0.1a Removed tip to use mount bind, as mount and umount scripts are already included.
February 22, 201511 yr Author Well, I'm sadly much to busy with work at the moment. Maybe you can try this docker: https://registry.hub.docker.com/u/c0rnflake/glftpd/dockerfile/ The maintainer is needo, so maybe there will be a release by him for glftpd in the unraid forums? Maybe ask him? Going the docker route is propably the better way for unraid 6 than using plugins.
March 25, 201511 yr Author As the glftpd docker I recommended above seems to be broken, I started looking into creating a new one, or if this fails releasing this plugin for v6. It will take some time however, so stay tuned.
March 25, 201511 yr As the glftpd docker I recommended above seems to be broken, I started looking into creating a new one, or if this fails releasing this plugin for v6. It will take some time however, so stay tuned. I tried it as well and the file paths (his docker looks for sbin) seem to be different than Slackware/unraid so it seems your right, it won't work. I will do my best to wait patiently glad to hear youre working in it.
Archived
This topic is now archived and is closed to further replies.