ootuoyetahi Posted February 11, 2014 Share Posted February 11, 2014 I have attached the config.log the error is referring to. config.txt Quote Link to comment
SlrG Posted February 11, 2014 Author Share Posted February 11, 2014 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. Quote Link to comment
ootuoyetahi Posted February 11, 2014 Share Posted February 11, 2014 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. Quote Link to comment
SlrG Posted February 11, 2014 Author Share Posted February 11, 2014 Great. I'm glad you solved it. Quote Link to comment
ootuoyetahi Posted February 12, 2014 Share Posted February 12, 2014 Lol oops. Sorry about that. Sent from my Nexus 5 using Tapatalk Quote Link to comment
ootuoyetahi Posted March 8, 2014 Share Posted March 8, 2014 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. Quote Link to comment
ootuoyetahi Posted March 8, 2014 Share Posted March 8, 2014 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. Quote Link to comment
flake Posted March 8, 2014 Share Posted March 8, 2014 iirc use mount -o bind to mount your shares inside your /glftpd/site mount -o bind /mnt/user/TV /glftpd/site/TV Quote Link to comment
ootuoyetahi Posted March 8, 2014 Share Posted March 8, 2014 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? Quote Link to comment
flake Posted March 8, 2014 Share Posted March 8, 2014 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 Quote Link to comment
ootuoyetahi Posted March 9, 2014 Share Posted March 9, 2014 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. Quote Link to comment
SlrG Posted March 9, 2014 Author Share Posted March 9, 2014 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. Quote Link to comment
ootuoyetahi Posted March 9, 2014 Share Posted March 9, 2014 Thank you!!! This worked perfect. Quote Link to comment
ootuoyetahi Posted March 9, 2014 Share Posted March 9, 2014 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? Quote Link to comment
SlrG Posted March 9, 2014 Author Share Posted March 9, 2014 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? Quote Link to comment
ootuoyetahi Posted March 9, 2014 Share Posted March 9, 2014 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 Quote Link to comment
SlrG Posted March 10, 2014 Author Share Posted March 10, 2014 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". Quote Link to comment
ootuoyetahi Posted March 10, 2014 Share Posted March 10, 2014 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 Quote Link to comment
SlrG Posted March 10, 2014 Author Share Posted March 10, 2014 Glad you got it working. And thanks for sharing your commands. It might be helpful for others. Quote Link to comment
ootuoyetahi Posted April 9, 2014 Share Posted April 9, 2014 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? Quote Link to comment
ootuoyetahi Posted February 22, 2015 Share Posted February 22, 2015 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. Quote Link to comment
SlrG Posted February 22, 2015 Author Share Posted February 22, 2015 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. Quote Link to comment
SlrG Posted March 25, 2015 Author Share Posted March 25, 2015 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. Quote Link to comment
ootuoyetahi Posted March 25, 2015 Share Posted March 25, 2015 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. Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.