Ask Your Question

rwbehne1's profile - activity

2019-01-27 18:29:03 -0500 received badge  Popular Question (source)
2017-12-21 08:10:09 -0500 received badge  Famous Question (source)
2017-12-21 08:10:09 -0500 received badge  Notable Question (source)
2017-12-21 08:10:09 -0500 received badge  Popular Question (source)
2017-08-21 04:00:53 -0500 commented answer Can't get any FTPd working

As I said before, My router has always been set up for all my servers, with proper port forwarding to my host, and It always worked before. The problem began when I installed OpenSUSE 42.2, and now that I have installed the latest Fedora it's even worse, since now I can't figure out how to get ANY servers running!

I know the data connection (which is outgoing) doesn't get forwarded, only incoming connections are forwarded to my Linux host. Since nothing has changed in the router, the problem must be in that which was changed - the installation of the new OS: Fedora.

2017-08-20 13:24:00 -0500 commented answer Can't get any FTPd working

I agree that opening the ftp service in firewall-config will make it do the right thing. When I try to connect to ftp://localhost or behne.ddns.net I get:

# ftp behne.ddns.net
Connected to behne.ddns.net (112.208.203.179).
220 (vsFTPd 3.0.3)
331 Please specify the password.
230 Login successful.
Remote system type is UNIX.
Using binary mode to transfer files.
ftp> 

So the firewall is open. My router has always been set up for all my servers, with proper port forwarding to my host, and It always worked before.

2017-08-20 13:16:44 -0500 commented question Can't get any FTPd working

http://www.portchecktool.com/ shows that my ports 80 and 21 are open. Is port 20 supposed to be open to the world?

My port 2049 is open on my Fedora, but closed on my modem/router because I only use nfs in my local network so my TV can get videos and music off the computer, not worldwide.

I'm thinking that something other than the firewall is preventing connections. It would be nice if someone could help with what and how to test so that we could find out what's going on here.

2017-08-20 12:59:45 -0500 commented question Can't get any FTPd working

Well damn, I really wish that SOMEONE would seriously help me diagnose this and other problems. I can't get ANY server to function properly, even with the ports open. No httpd, no ftpd, no nfsd, NOTHING!!!!!! I haven't tried to set up my Gopher server yet, or my Calibre, or my GeneWeb, because I thought I'd get the "easier" servers running first.

So how about you trying to ftp to behne.ddns.net from the command line and let me know if you can connect. Then try to ls or download a file. If you can connect at all, let me know. Isn't selecting "FTP" in firewall-config enough?

2017-08-20 12:26:34 -0500 commented answer sudo dolphin: "Executing Dolphin as root is not possible."

No joy. I forced an install, but the main problem persists. Although your version can run as root, it can't compare files and editors don't work.

Go to /etc/services in one view, and /usr/local/BACKUPS/etc/services in the other view. Next select TOOLS, and in the drop down menu you'll see compare, but it's grayed out so I still can't use it as root!

I also cannot open root owned files with Kate or Kwrite. So this isn't working, even though it can run as root.

2017-08-20 12:26:34 -0500 received badge  Commentator
2017-08-20 11:53:49 -0500 received badge  Supporter (source)
2017-08-20 11:53:28 -0500 commented answer sudo dolphin: "Executing Dolphin as root is not possible."

EXCELLENT! Jailbreaking Dolphin! :-) Download in progress!

2017-08-20 11:50:11 -0500 commented answer sudo dolphin: "Executing Dolphin as root is not possible."

Ok, I finally got around to installing thunar, and I was very disappointed. It lacks important features which Dolphin has:

Split windows so you can be in two different directories simultaneously, The ability to compare files, The ability to patch files section-by-section while comparing them, and so on. I'll have to find a way to fix Dolphin so I can use it again.

2017-08-20 06:16:51 -0500 commented answer GUI config utility question

Ok, I finally got Cockpit installed, but I hardly think it's overkill. It doesn't address many problems, like how to get servers working when they aren't. None of them. It gives no clue as to why. It doesn't address the firewall.

2017-08-20 04:26:09 -0500 commented question Can't get any FTPd working

Perhaps the problem isn't with port 21, but the data on port 20. How is the firewall supposed to be set up for FTP anyway? I'm not used to the way Fedora does things, so someone has to guide me.

2017-08-20 03:37:17 -0500 commented question Can't get any FTPd working

Ok, I tried 127.0.0.1 anyway, it never worked on OpenSUSE, but surprisingly it does now. So apparently it actually is a firewall problem. What to do?

I tried setenforce but it had no effect, so I re-enabled it.

2017-08-19 09:48:05 -0500 asked a question Can't get any FTPd working

I installed 3 different FTP servers, and not one would work right, they all display the same exact symptom.

Using ftp from a terminal [ftp behne.ddns.net] for an anonymous login, I can get logged in just fine, and I can use the help command, but ls hangs until it times out, never giving a file listing. From a web browser [ftp://behne.ddns.net/] you just get a blank screen, until it times out.

I prefer to use vsftpd, (which is what's currently installed,) but proftpd and pure-ftpd also failed in exactly the same way. It looks like this:

bash-4.4$ ftp behne.ddns.net
Connected to behne.ddns.net (112.208.203.179).
220 (vsFTPd 3.0.3)
331 Please specify the password.
230 Login successful.
Remote system type is UNIX.
Using binary mode to transfer files.
ftp> help
Commands may be abbreviated.  Commands are:

!               debug           mdir            sendport        site
$               dir             mget            put             size
account         disconnect      mkdir           pwd             status
append          exit            mls             quit            struct
ascii           form            mode            quote           system
bell            get             modtime         recv            sunique
binary          glob            mput            reget           tenex
bye             hash            newer           rstatus         tick
case            help            nmap            rhelp           trace
cd              idle            nlist           rename          type
cdup            image           ntrans          reset           user
chmod           lcd             open            restart         umask
close           ls              prompt          rmdir           verbose
cr              macdef          passive         runique         ?
delete          mdelete         proxy           send
ftp> ls
227 Entering Passive Mode (112,208,203,179,156,94).421 Timeout.
ftp: connect: Connection refused
ftp>

I had the exact same problem when I was using OpenSUSE, but have just installed Fedora, and the problem is here again on this completely new install. No one in that other list could help, they kept blaming me for an incorrect config, and that wasn't the problem. Are there any FTPd experts who can help solve this problem? I've had it for nearly a year now.

2017-08-19 01:11:04 -0500 received badge  Editor (source)
2017-08-19 01:00:16 -0500 asked a question sudo dolphin: "Executing Dolphin as root is not possible."

I want to run Dolphin as root, but I only get this error message.

$ sudo dolphin
Executing Dolphin as root is not possible.

I ran Dolphin as root on other distros. How can I defeat this annoyance so I can once again use Dolphin as root?

2017-08-17 05:06:37 -0500 commented answer Help with date in shell script

It's because I'm still learning the peculiarities of this forum: I wasn't using the html pre /pre code, so the forum software stripped out the line feeds. I use the backslash even after operators as a matter of habit. Bad habit perhaps? ;-)

2017-08-17 04:38:38 -0500 commented answer Help with date in shell script

The double ampersand causes the remaining commands following it to be executed only if the preceding command ended successfully. The backslash is a delimiter for the carriage return: it allows you to continue a long string of commands on the next line without the bash processor acting on the carriage return.

#! /bin/bash
Command 1 && \
command 2 && \
last command
2017-08-16 12:41:54 -0500 commented answer Help with date in shell script

Beautiful solution! Thanks! Looks like it's working perfect, so I modified my script like this:

cd /opt/GeneWeb/bases &&\ tar cf - "Behne.gwb" | gzip -f9 > "/opt/GeneWeb/bases/BACKUPS/date +%d-%m-%Y-Behne.gwb.tar.gz" &&\ find /opt/GeneWeb/bases/BACKUPS/ -name '*Behne.gwb.tar.gz' -mtime +6 -exec rm {} +

The reason I'm tacking it on the end after the &&\ is so that if something causes my data directory to disappear again (thus failing to make any more backups) this script will simply stop deleting files until after I restore the directory. I'll have to study find more, it's very handy.

2017-08-16 12:29:47 -0500 received badge  Scholar (source)
2017-08-16 07:44:33 -0500 asked a question Help with date in shell script

I wrote a brief bash shell script (one line) to archive a tarball of a specific directory tree:

cd /opt/GeneWeb/bases && tar cf - "Behne.gwb" | gzip -f9 > "/opt/GeneWeb/bases/BACKUPS/date +%d-%m-%Y-Behne.gwb.tar.gz"

This creates a tarball named like this: 16-08-2017-Behne.gwb.tar.gz

I use a cron job to execute this code once a day. It works fine, but I now want to test for tarballs which are eight days or older, and automatically delete them. That way I'll have snapshots of only the last seven days. The problem is that I have no idea how to accomplish this. Can anyone help with writing this script? TIA!

2017-08-15 09:05:54 -0500 received badge  Good Question (source)
2017-08-15 09:03:41 -0500 received badge  Nice Question (source)
2017-08-15 07:52:27 -0500 commented answer GUI config utility question

Although using a text editor is good, Yast is one thing which OpenSUSE has that Fedora doesn't; an easy-to-use gui with all servers represented so I can quickly edit all the basic settings of any server or the firewall. It makes administration easy to be able to find everything in one place instead of having to search through the /etc directory tree for that one file that needs edited. All I need is the basic setup for pretty much everything, and a way to enable and disable things without having to memorize long esoteric strings of commands.

2017-08-15 02:43:52 -0500 received badge  Student (source)
2017-08-14 04:57:41 -0500 asked a question GUI config utility question

I'm preparing to switch from OpenSUSE to Fedora. What GUI app is there for configuring servers like http, NFS, etc.? Is there also a GUI for systemctl?