saary Posted May 23, 2013 Share Posted May 23, 2013 After restarting. The new plugin only downloaded read me file and didn't download the other files installing plugin: proftpd May 24 00:20:11 server logger: file /tmp/plugin-prepare: successfully wrote INLINE file contents May 24 00:20:11 server logger: /bin/bash /tmp/plugin-prepare ... May 24 00:20:11 server logger: May 24 00:20:11 server logger: ************************************************************* May 24 00:20:11 server logger: * ProFTPD plugin installation started... May 24 00:20:11 server logger: ************************************************************* May 24 00:20:11 server logger: May 24 00:20:11 server logger: success May 24 00:20:11 server logger: file /tmp/plugin-cleanup: successfully wrote INLINE file contents May 24 00:20:11 server logger: /bin/bash /tmp/plugin-cleanup ... success May 24 00:20:11 server logger: file /boot/config/plugins/proftpd/README: successfully wrote INLINE file contents May 24 00:20:52 server logger: file /boot/config/plugins/proftpd/device_status.png: downloading from -q --no-check-certificate https://github.com/SlrG/unRAIDplugins/raw/master/proftpd/device_status.png ... bad download, deleting May 24 00:20:52 server emhttp: unRAID System Management Utility version 5.0-rc12a Quote Link to comment
SlrG Posted May 23, 2013 Author Share Posted May 23, 2013 Hmm... Could you please try to run the following command in shell and posting the output you get? wget --no-check-certificate https://github.com/SlrG/unRAIDplugins/raw/master/proftpd/device_status.png Quote Link to comment
saary Posted May 23, 2013 Share Posted May 23, 2013 [email protected]:/boot/config/plugins# wget --no-check-certificate https://github.c> --2013-05-24 01:41:46-- https://github.com/SlrG/unRAIDplugins/raw/master/proftp d/device_status.png Resolving github.com (github.com)... failed: Name or service not known. wget: unable to resolve host address `github.com' [email protected]:/boot/config/plugins# Quote Link to comment
SlrG Posted May 23, 2013 Author Share Posted May 23, 2013 It seems your server doesn't connect to the internet correctly. This will have to be fixed, or the plugin won't work. Do you have the correct dns setting for your server? Can you try setting it to 8.8.8.8 (Google DNS)? Quote Link to comment
saary Posted May 23, 2013 Share Posted May 23, 2013 It was the router. Rebooted the router and now it is working. Damn it Sorry for this Quote Link to comment
SlrG Posted May 23, 2013 Author Share Posted May 23, 2013 No problem. I'm glad you got it fixed. And there really was a little bug in the plugin, so I'm really glad you tried it out and made me stumble upon it. Have fun with the plugin and feel free to ask if there are any questions or problems. Quote Link to comment
saary Posted May 24, 2013 Share Posted May 24, 2013 One more question. How to configure the simple features Web server to be able to edit the proftpd configuration. Thank you Quote Link to comment
SlrG Posted May 24, 2013 Author Share Posted May 24, 2013 Normally you just install the webserver plugin and enable it. The proftpd plugin will detect if it is enabled and copies the necessary files to your webroot. On the proftpd settings page you should then have a config editor window at the bottom. Be aware that the webserver plugin fails to install correctly at the moment. Check this post in the simplefeatures thread for a manual fix. If it still doesn't work you'll have to post a full syslog again. Quote Link to comment
saary Posted May 26, 2013 Share Posted May 26, 2013 lucky i got the webserver plugin installed properly i noticed that the built-in FTP is running now. but it was stopped since installed the proftp plugin ! and the proftp is still working properly should i worry ? Quote Link to comment
SlrG Posted May 26, 2013 Author Share Posted May 26, 2013 Are you sure it is the internal FTP that is running? Is the proftpd plugin icon now present in Settings? Do you get the config editor window on the plugins settings page? If not and if you have not given up by now please post a full syslog. Quote Link to comment
saary Posted May 26, 2013 Share Posted May 26, 2013 Are you sure it is the internal FTP that is running? yes Is the proftpd plugin icon now present in Settings? yes Do you get the config editor window on the plugins settings page? yes May 24 01:59:53 server logger: ----------------------------------------------------------- May 24 01:59:53 server logger: SimpleFeatures 'web.server' has been installed. May 24 01:59:53 server logger: This plugin requires SimpleFeatures core webGUI to operate May 24 01:59:53 server logger: Copyright 2012, Bergware International & Andrew Hamer-Adams May 24 01:59:53 server logger: Version: 1.0.11 May 24 01:59:53 server logger: ----------------------------------------------------------- May 24 01:59:53 server logger: May 24 01:59:53 server logger: success May 24 01:59:53 server logger: file /var/log/plugins/simpleFeatures.web.server: successfully wrote INLINE file contents May 24 01:59:53 server logger: plugin successfully installed May 24 01:59:53 server logger: installing plugin: proftpd May 24 01:59:53 server logger: file /tmp/plugin-prepare: successfully wrote INLINE file contents May 24 01:59:53 server logger: /bin/bash /tmp/plugin-prepare ... May 24 01:59:53 server logger: May 24 01:59:53 server logger: ************************************************************* May 24 01:59:53 server logger: * ProFTPD plugin installation started... May 24 01:59:53 server logger: ************************************************************* May 24 01:59:53 server logger: May 24 01:59:53 server logger: success May 24 01:59:53 server logger: file /tmp/plugin-cleanup: successfully wrote INLINE file contents May 24 01:59:53 server logger: /bin/bash /tmp/plugin-cleanup ... success May 24 01:59:53 server logger: file /boot/config/plugins/proftpd/README: already exists May 24 01:59:56 server logger: file /boot/config/plugins/proftpd/device_status.png: downloading from -q --no-check-certificate https://github.com/SlrG/unRAIDplugins/raw/master/proftpd/device_status.png ... success May 24 01:59:56 server logger: file /usr/local/emhttp/plugins/images/device_status.png: successfully copied LOCAL file May 24 01:59:58 server logger: file /boot/config/plugins/proftpd/new_config.png: downloading from -q --no-check-certificate https://github.com/SlrG/unRAIDplugins/raw/master/proftpd/new_config.png ... success May 24 01:59:58 server logger: file /usr/local/emhttp/plugins/images/new_config.png: successfully copied LOCAL file May 24 01:59:58 server logger: file /boot/config/plugins/proftpd/proftpd.conf: successfully wrote INLINE file contents May 24 02:00:00 server logger: file /boot/config/plugins/proftpd/proftpd.png: downloading from -q --no-check-certificate https://github.com/SlrG/unRAIDplugins/raw/master/proftpd/proftpd.png ... success May 24 02:00:00 server logger: file /usr/local/emhttp/plugins/proftpd/proftpd.png: successfully copied LOCAL file May 24 02:00:00 server logger: file /usr/local/emhttp/plugins/proftpd/proftpd.page: successfully wrote INLINE file contents May 24 02:00:00 server logger: file /boot/config/plugins/proftpd/proftpd.cfg: successfully wrote INLINE file contents May 24 02:00:00 server logger: file /usr/local/emhttp/plugins/proftpd/proftpd.php: successfully wrote INLINE file contents May 24 02:00:03 server logger: file /boot/config/plugins/proftpd/proftpdce.zip: downloading from -q --no-check-certificate https://github.com/SlrG/unRAIDplugins/raw/master/proftpd/proftpdce.zip ... success May 24 02:00:03 server logger: file /etc/rc.d/rc.proftpd: successfully wrote INLINE file contents May 24 02:00:03 server logger: successfully changed file mode May 24 02:00:03 server logger: file /usr/local/emhttp/plugins/proftpd/event/disks_mounted: successfully wrote INLINE file contents May 24 02:00:03 server logger: successfully changed file mode May 24 02:00:03 server logger: file /usr/local/emhttp/plugins/proftpd/event/unmounting_disks: successfully wrote INLINE file contents May 24 02:00:03 server logger: successfully changed file mode May 24 02:00:03 server logger: file /var/log/plugins/proftpd: successfully wrote INLINE file contents May 24 02:00:03 server logger: file /tmp/proftpd-install: successfully wrote INLINE file contents May 24 02:00:03 server logger: /bin/bash /tmp/proftpd-install ... May 24 02:00:03 server logger: Looking for locally saved version of proftpdce... May 24 02:00:03 server logger: Found up to date local versions of proftpdce... May 24 02:00:06 server logger: Looking for locally saved version of proftpd packages... May 24 02:00:06 server logger: Local package does not exist, downloading proftpd-1.3.5rc2.tgz to /tmp May 24 02:00:13 server logger: Local package does not exist, downloading proftpd-1.3.5rc2-sql.tgz to /tmp May 24 02:00:21 server logger: Deleting old builds from /boot/config/plugins/proftpd... May 24 02:00:21 server logger: Moving downloaded versions from /tmp/ to /boot/config/plugins/proftpd/... May 24 02:00:21 server logger: No SQL found. Installing proftpd without SQL support... May 24 02:00:21 server logger: May 24 02:00:21 server logger: +============================================================================== May 24 02:00:21 server logger: | Installing new package /boot/config/plugins/proftpd/proftpd-1.3.5rc2.tgz May 24 02:00:21 server logger: +============================================================================== May 24 02:00:21 server logger: May 24 02:00:21 server logger: Verifying package proftpd-1.3.5rc2.tgz. May 24 02:00:21 server logger: Installing package proftpd-1.3.5rc2.tgz: May 24 02:00:21 server logger: PACKAGE DESCRIPTION: May 24 02:00:21 server logger: Executing install script for proftpd-1.3.5rc2.tgz. May 24 02:00:21 server logger: Package proftpd-1.3.5rc2.tgz installed. May 24 02:00:21 server logger: May 24 02:00:21 server logger: May 24 02:00:21 server logger: Disable builtin FTP-Server... May 24 02:00:21 server logger: Restart inetd to apply change... May 24 02:00:22 server logger: Starting Internet super-server daemon: /usr/sbin/inetd May 24 02:00:22 server logger: Remove example config file... May 24 02:00:22 server logger: Symlink new config file... May 24 02:00:22 server logger: May 24 02:00:22 server logger: ************************************************************* May 24 02:00:22 server logger: * ProFTPD plugin has been installed. May 24 02:00:22 server logger: * Copyright 2013, SlrG May 24 02:00:22 server logger: * Version: 0.5a May 24 02:00:22 server logger: ************************************************************* May 24 02:00:22 server logger: May 24 02:00:22 server logger: success May 24 02:00:22 server logger: plugin successfully installed May 24 02:00:22 server emhttp: unRAID System Management Utility version 5.0-rc12a Quote Link to comment
saary Posted May 26, 2013 Share Posted May 26, 2013 i tried rebooting the server but didn't help. i also tried stopping and starting the proftp, didn't help neither. Quote Link to comment
SlrG Posted May 26, 2013 Author Share Posted May 26, 2013 All logs and pictures indicate proftpd is successfully installed and running fine. Internal FTP should be disabled then. Why are you sure it is running? To do the final check please have a look at /etc/inetd.conf. Look for this lines: # Very Secure File Transfer Protocol (FTP) server. #ftp stream tcp nowait root /usr/sbin/tcpd vsftpd If the second line has a comment sign in the beginning the internal ftpserver is disabled and not running. If you do a ps -A you should get a list of all running processes. There should be no other ftpserver besides proftpd running. inetd running is normal as this still handles your telnet connection. Quote Link to comment
saary Posted May 26, 2013 Share Posted May 26, 2013 would you please tell me where can i find /etc/inetd.conf Quote Link to comment
SlrG Posted May 26, 2013 Author Share Posted May 26, 2013 In shell (telnet or directly at the server) you enter: cat /etc/inetd.conf or: vi /etc/inetd.conf To leave vi type :q Quote Link to comment
SlrG Posted May 26, 2013 Author Share Posted May 26, 2013 I think I know now why you think the internal server is still running. The "FTP Server" icon in Settings is not removed by my plugin. It is no indication that the internal one is still running. Edit: That is misleading however, so I'll change the next version of the plugin to remove it. Quote Link to comment
saary Posted May 26, 2013 Share Posted May 26, 2013 I think I know now why you think the internal server is still running. The "FTP Server" icon in Settings is not removed by my plugin. It is no indication that the internal one is still running. Edit: That is misleading however, so I'll change the next version of the plugin to remove it. yah that's why. when i ran ps -A i didnt find other than proftpd and when i ran cat /etc/inetd.conf i have # Very Secure File Transfer Protocol (FTP) server. #ftp stream tcp nowait root /usr/sbin/tcpd vsftpd sorry but what did you mean by the comment sign? Quote Link to comment
SlrG Posted May 26, 2013 Author Share Posted May 26, 2013 In bash and many config files the # at the start of a line will make that line a comment. So do something would mean a real command, while #do something will be a comment which will not be executed. Not all programming languages use a #. There are other comment symbols as well. Version 0.5b of my plugin is online. Please use the update function on the plugin page to update. After a reboot of your server the "FTP Server" icon will be gone. Quote Link to comment
tr0910 Posted May 27, 2013 Share Posted May 27, 2013 I just installed your plugin for testing purposes, but plan on opening it up to the world later. First I need to get it working. It installs fine, but doesn't seem to start (unless there is a bug on the display of the status screen. Because when I point filezilla to 192.168.1.106 and login with newly created ftpuser, I get Status: Connecting to 192.168.1.106:21... Status: Connection attempt failed with "ECONNREFUSED - Connection refused by server". Error: Could not connect to server It doesn't matter if I have a password or not for the ftpuser. Here is what the ProFTPd status screen looks like after I start the service and enable the FTP daemon: ProFTPD Status: STOPPED Package/Plugin Local Version Online Version ProFTPD Package UNKNOWN v1.3.5rc2 ProFTPD Plugin v0.5c v0.5c Syslog reports the following from when I start proftpd, but there is no indication that filezilla tried to login: May 27 06:50:59 Server1 sudo: root : TTY=unknown ; PWD=/ ; USER=root ; COMMAND=/usr/local/sbin/proftpd -c /etc/proftpd.conf Install section from syslog: May 26 22:44:26 Server1 logger: installing plugin: proftpd May 26 22:44:26 Server1 logger: file /tmp/plugin-prepare: successfully wrote INLINE file contents May 26 22:44:26 Server1 logger: /bin/bash /tmp/plugin-prepare ... May 26 22:44:26 Server1 logger: May 26 22:44:26 Server1 logger: ************************************************************* May 26 22:44:26 Server1 logger: * ProFTPD plugin installation started... May 26 22:44:26 Server1 logger: ************************************************************* May 26 22:44:26 Server1 logger: May 26 22:44:26 Server1 logger: success May 26 22:44:26 Server1 logger: file /tmp/plugin-cleanup: successfully wrote INLINE file contents May 26 22:44:26 Server1 logger: /bin/bash /tmp/plugin-cleanup ... success May 26 22:44:26 Server1 logger: file /boot/config/plugins/proftpd/README: successfully wrote INLINE file contents May 26 22:44:27 Server1 logger: file /boot/config/plugins/proftpd/device_status.png: downloading from -q --no-check-certificate https://github.com/SlrG/unRAIDplugins/raw/master/proftpd/device_status.png ... success May 26 22:44:27 Server1 logger: file /usr/local/emhttp/plugins/images/device_status.png: successfully copied LOCAL file May 26 22:44:28 Server1 logger: file /boot/config/plugins/proftpd/new_config.png: downloading from -q --no-check-certificate https://github.com/SlrG/unRAIDplugins/raw/master/proftpd/new_config.png ... success May 26 22:44:28 Server1 logger: file /usr/local/emhttp/plugins/images/new_config.png: successfully copied LOCAL file May 26 22:44:28 Server1 logger: file /boot/config/plugins/proftpd/proftpd.conf: successfully wrote INLINE file contents May 26 22:44:28 Server1 logger: file /boot/config/plugins/proftpd/proftpd.png: downloading from -q --no-check-certificate https://github.com/SlrG/unRAIDplugins/raw/master/proftpd/proftpd.png ... success May 26 22:44:28 Server1 logger: file /usr/local/emhttp/plugins/proftpd/proftpd.png: successfully copied LOCAL file May 26 22:44:28 Server1 logger: file /usr/local/emhttp/plugins/proftpd/proftpd.page: successfully wrote INLINE file contents May 26 22:44:28 Server1 logger: file /boot/config/plugins/proftpd/proftpd.cfg: successfully wrote INLINE file contents May 26 22:44:28 Server1 logger: file /usr/local/emhttp/plugins/proftpd/proftpd.php: successfully wrote INLINE file contents May 26 22:44:29 Server1 logger: file /boot/config/plugins/proftpd/proftpdce.zip: downloading from -q --no-check-certificate https://github.com/SlrG/unRAIDplugins/raw/master/proftpd/proftpdce.zip ... success May 26 22:44:29 Server1 logger: file /etc/rc.d/rc.proftpd: successfully wrote INLINE file contents May 26 22:44:29 Server1 logger: successfully changed file mode May 26 22:44:29 Server1 logger: file /usr/local/emhttp/plugins/proftpd/event/disks_mounted: successfully wrote INLINE file contents May 26 22:44:29 Server1 logger: successfully changed file mode May 26 22:44:29 Server1 logger: file /usr/local/emhttp/plugins/proftpd/event/unmounting_disks: successfully wrote INLINE file contents May 26 22:44:29 Server1 logger: successfully changed file mode May 26 22:44:29 Server1 logger: file /var/log/plugins/proftpd: successfully wrote INLINE file contents May 26 22:44:29 Server1 logger: file /tmp/proftpd-install: successfully wrote INLINE file contents May 26 22:44:29 Server1 logger: /bin/bash /tmp/proftpd-install ... May 26 22:44:29 Server1 logger: Looking for locally saved version of proftpdce... (System) May 26 22:44:29 Server1 logger: Found up to date local versions of proftpdce... May 26 22:44:30 Server1 logger: Looking for locally saved version of proftpd packages... (System) May 26 22:44:30 Server1 logger: Local package does not exist, downloading proftpd-1.3.5rc2.tgz to /tmp May 26 22:44:33 Server1 logger: Local package does not exist, downloading proftpd-1.3.5rc2-sql.tgz to /tmp May 26 22:44:37 Server1 logger: Deleting old builds from /boot/config/plugins/proftpd... May 26 22:44:37 Server1 logger: Moving downloaded versions from /tmp/ to /boot/config/plugins/proftpd/... May 26 22:44:37 Server1 logger: No SQL found. Installing proftpd without SQL support... May 26 22:44:37 Server1 logger: May 26 22:44:37 Server1 logger: +============================================================================== May 26 22:44:37 Server1 logger: | Installing new package /boot/config/plugins/proftpd/proftpd-1.3.5rc2.tgz May 26 22:44:37 Server1 logger: +============================================================================== May 26 22:44:37 Server1 logger: May 26 22:44:37 Server1 logger: Verifying package proftpd-1.3.5rc2.tgz. May 26 22:44:37 Server1 logger: Installing package proftpd-1.3.5rc2.tgz: May 26 22:44:37 Server1 logger: PACKAGE DESCRIPTION: May 26 22:44:37 Server1 logger: Executing install script for proftpd-1.3.5rc2.tgz. May 26 22:44:37 Server1 logger: Package proftpd-1.3.5rc2.tgz installed. May 26 22:44:37 Server1 logger: May 26 22:44:37 Server1 logger: May 26 22:44:37 Server1 logger: Disable builtin FTP-Server... May 26 22:44:37 Server1 logger: Restart inetd to apply change... May 26 22:44:38 Server1 logger: Starting Internet super-server daemon: /usr/sbin/inetd May 26 22:44:38 Server1 logger: Disable icon of builtin FTP-Server... May 26 22:44:38 Server1 logger: Remove example config file... May 26 22:44:38 Server1 logger: Symlink new config file... May 26 22:44:38 Server1 logger: May 26 22:44:38 Server1 logger: ************************************************************* May 26 22:44:38 Server1 logger: * ProFTPD plugin has been installed. May 26 22:44:38 Server1 logger: * Copyright 2013, SlrG May 26 22:44:38 Server1 logger: * Version: 0.5c May 26 22:44:38 Server1 logger: ************************************************************* May 26 22:44:38 Server1 logger: May 26 22:44:38 Server1 logger: success May 26 22:44:38 Server1 logger: plugin successfully installed Quote Link to comment
SlrG Posted May 27, 2013 Author Share Posted May 27, 2013 The local version of the proftpd package should be the same as online. The unknown indicates something went wrong when downloading the package. Please click on update package. There should be a button under updates. Please make sure you have Enable ProFTP Daemon on the right side set to Yes. Then please try to reboot your server. If it it still doesn't show the same version as online please check /boot/config/plugins/proftpd/ if there are proftpd-1.3.5rc2.tgz and proftpd-1.3.5rc-sql.tgz files and what their size is, then post again. To start proftpd from commandline please use the following command and post the output if it doesn't work: /etc/rc.d/rc.proftpd start The plugin needs to show RUNNING as status. Only then we'll be able to check if the user/s are setup correctly. Quote Link to comment
tr0910 Posted May 27, 2013 Share Posted May 27, 2013 If it it still doesn't show the same version as online please check /boot/config/plugins/proftpd/ if there are proftpd-1.3.5rc2.tgz and proftpd-1.3.5rc-sql.tgz files and what their size is, then post again. Rebooting the server gives us the same result. Still unknown. Here is the listing of the directory: [email protected]:/boot/config/plugins/proftpd# ls -l total 3792 -rwxrwxrwx 1 root root 3574 2013-05-26 22:44 README* -rwxrwxrwx 1 root root 460 2013-05-26 22:44 device_status.png* -rwxrwxrwx 1 root root 607 2013-05-26 22:44 new_config.png* -rwxrwxrwx 1 root root 1876517 2013-05-26 22:44 proftpd-1.3.5rc2-sql.tgz* -rwxrwxrwx 1 root root 1839100 2013-05-26 22:44 proftpd-1.3.5rc2.tgz* -rwxrwxrwx 1 root root 41 2013-05-26 23:21 proftpd.cfg* -rwxrwxrwx 1 root root 1785 2013-05-26 22:44 proftpd.conf* -rwxrwxrwx 1 root root 3406 2013-05-26 22:44 proftpd.png* -rwxrwxrwx 1 root root 38589 2013-05-26 22:44 proftpdce.zip* [email protected]:/boot/config/plugins/proftpd# Quote Link to comment
saary Posted May 27, 2013 Share Posted May 27, 2013 till SlrG comes back you may try this remove the plugin file and proftpd folder reboot but the plugin file back in the plugins folder reboot your router ! i know it sounds weird after your router gets on-line, then reboot the server to get the plugin installed. that's how it worked with me Quote Link to comment
tr0910 Posted May 27, 2013 Share Posted May 27, 2013 That didn't help, but I guess I should try and eliminate the other things could interfere. Following dgaschk disable addons process, I went to a stock go file and got rid of the plugins and extra directories. http://lime-technology.com/forum/index.php?action=profile;u=12399 I rebooted and reinstalled. But still get Unknown, see attached screenshot. Looks like I haven't cleaned out simplefeatures completely either. Quote Link to comment
SlrG Posted May 27, 2013 Author Share Posted May 27, 2013 The error saying simplefeatures is caused by my plugin. It checks for the simplefeatures webserver config to use the webserver for the config editor. As you have removed simplefeatures it doesn't find the file. Of course this has to be rewritten in a way that it throws no error when nothing is found. Now back to the unknown problem. Please check if you have the file /etc/rc.d/rc.proftpd Then in shell call: /etc/rc.d/rc.proftpd getver app local This is what is called by the web page to retrieve the local app version. If you don't have this file or it fails we know a little bit more where the problem is. 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.