New answers tagged

0

According to firewalld manual firewall-cmd --permanent --zone=trusted --change-interface=enp3s0 must allow all connections on interface.


0

for CentOS 7: ip a in my box, the MAC comes after 'link/ether' ex: link/ether cc:10:ee:5f:d8:aa


0

My yum command was not working. root@server [/etc/yum.repos.d]# export NSS_DISABLE_HW_AES=1 and it fixed the problem and s3cmd was installed


0

You have already received two good answers to your question, so I apologize for adding a new one which addresses something which I read between the lines of your post. My answer is intended to complement the other two answers, not to substitute them. From the output of netstat it is not possible to determine whether the connection was started by your own ...


0

Its working for me on these options : Port forwarding settings Browser photo : Click here


1

It looks like the permissions for the chroot directory, /home/sftp/comege, are not set to allow read access by the comege user. Permissions on /home/sftp/comege should look like this: # ls -la /home/sftp/comege total 0 drwxr-xr-x 1 root root 8 Jul 19 12:00 . drwxr-xr-x 1 root root 12 Jul 19 11:59 .. drwx------ 1 comege sftp-only 76 Jul 19 12:...


0

The correct command to restart a MySql service is: $ service mysql restart Please confirm the status of the service by typing $ service mysql status


0

It seems to be corrupted Yum cache. Can you please try "yum clear all" and see if it helps? Source : http://kb.plesk.com/en/124973


2

How do I know it's an incoming connection from that IP, as opposed to an outgoing connection from my server to that IP? The Local Address is the address of the machine you are running the NETSTAT commands from so understanding the state of the TCP connections will help you understand if it's incoming or outgoing from a local address perspective. The ...


1

You can tell if you check if your server listens on port 39922 then the connection was established from the remote side. For example: Your server accepts ssh connections on the standard port 22. With netstat -anutp | grep :22 you will see if it listens, is connected to or you have a connection to. If you open two terminal sessions to your server and then ...


0

As answered by @strandraeber above your /boot/ is full due to old kernels One way to fix this would be deleting old kernels. You can do that by installing yum-utils and running command as shown package-cleanup --oldkernels --count=1 This will delete all old kernels except for latest one. You can play with the numbers too. Another option for you is to ...


1

There are probably old and unused kernel images residing in /boot. According to this post http://unix.stackexchange.com/a/83420/176600 you can remove them with yum autoremove.


0

How to do it using gparted. first back-up your data, then shrink /dev/sdb6 to the right. move /dev/sdb5 to the right. (Now pay attention to what @curtis said) if you will next extend /dev/sdb3 into the space then shrink /dev/sdb4 (the extended partition) to the right. extend /dev/sdb3 into space. click apply else if you will next add a new partition ...


1

Are we talking about the terminal prompt? If so, you're looking at the variable PS1. From bash, this can be changed by issuing for example export PS1=\u@\h\$ (which is most likely similar to what you already have). Change the part after = to whatever you want. Depending on what you want as your prompt, you need different variables in the export. Here's a ...


0

This is old, but I've had the same issue installing vlc. You can have a library installed "outside of yum", with rpm, so one should check for that too: rpm -qa | grep libavutil then remove if found (I had to also remove libswscale): rpm -e libswscale0-0.7.16-33.el6.x86_64 rpm -e libavutil50-0.7.16-33.el6.x86_64 This did it for me.


0

Just configure the IP forwarding and iptables to make your master node work as a software router. Here is a very nice step-by-step guide about it: CentOS / Redhat : Configure CentOS as a Software Router with two interfaces


1

Actually, your question contains two parts. First, how to make sure the HA between your server and router. Second, how to make sure the HA between your router and internet. For the first question, you need two physical enterprise routers. There are dedicated protocols for this purpose, such as HSRP,VRRP,GLBP. For the second question, I would suggest you ...


0

It happens to me and it's annoying. But here is the workaround. Say _.x86_64 explicitly. yum --enablerepo=base install parted.x86_64


2

If available in the repository there is dhcpdump from man page: SYNOPSIS dhcpdump [-h regular-expression] -i interface DESCRIPTION This command parses the output of tcpdump to display the dhcp-packets for easier checking and debugging. USAGE dhcpdump -i /dev/fxp0 If you want to filter a specific Client Hardware Address (...


3

The problem you are experiencing is that in all RedHat distributions and their derivatives--including CentOS--/bin/vi is the "tiny"/"small" version of Vim which has very limited functionality. It lacks the ability to do any sort of evaluation, set a number of options, do syntax highlighting, and so on. Your vimrc is being read, but a significant portion of ...


0

This is perfectly normal behaviour (i.e. not an error) in bash in similar shells: Ctrl-Z suspends programs and returns control to the parent shell. Execution of the program -- vi in your case -- will be stopped in the mean time. You can type fg to resume execution. The reason you are getting swap file errors is because you now have multiple instances of vi ...


0

There could be a few reasons: Your lftp version is lower than 4.3.0, see Changes. You're using Debian stable version. According to this answer: The Debian stable version might not have the attach feature though, but you can still list the active lftp processes with pgrep. But you can trick the shell if you set cmd:move-background-detach setting to ...


0

Not sure it's a good thing to answer this probably "dead and buried" question but here we go... Basic configuration (i.e. meh security) Generate your private key (>= 2048bit) and your certificate. I assume you have them already, otherwise have a look at letsencrypt.org. Make sure your certificate includes the full certificate chain (usually intermediate/...


1

According to https://www.dropbox.com/en/help/144 Want more details? Dropbox stores metadata on your files in RAM to prevent constant and expensive database lookups while syncing. The metadata includes paths to files in your Dropbox, checksums, modification times, etc. We are working hard on making this information more compact and are working on ...


0

I finally found the answer. The mac address in /etc/udev/rules.d/70-persistent-net.rules is different from that in ifcfg-eth0. Change the MAC address in ifcfg-eth0 the same as that in 70-persistent-net.rules. and reboot the system or service network restart.


0

Depending on the kernel version, check for eth0 in the /etc/modprobe.conf (kernel 2.6) or/etc/modules.conf (kernel 2.4). If it's not there, find out what module does you NIC need. Add the module with modprobe, check if it's loaded, recheck with ifconfig if it's working and if all goes well, make the change stick after reboot (write the addition to etc/...


0

Use Inkscape to convert SVG to PNG Inkscape supports command line. Below is the command for converting SVG to PNG. I have successfully converted the SVG to PNG. inkscape --without-gui --file=kv.svg --export-area-drawing --export-area-page --export-dpi=300 --export-png=kv.png


0

This issue got resolved after removing virtuabox 5.0.20 and installing virtualbox 5.0.22.


1

I use xssstate for such purposes. It's available in suckless-tools package in Debian or Ubuntu, or upstream. Then you can use the following shell script: #!/bin/sh if [ $# -lt 2 ]; then printf "usage: %s minutes command\n" "$(basename $0)" 2>&1 exit 1 fi timeout=$(($1*60*1000)) shift cmd="$@" triggered=false while true do tosleep=$(((...


-1

bsd ports (packages collection) has a program that can do this: http://man.openbsd.org/OpenBSD-current/man1/xidle.1 it's available e.g. here: http://distcache.freebsd.org/local-distfiles/novel/xidle-26052015.tar.bz2 build like: # apt-get install libxss-dev # for include/X11/extensions/scrnsaver.h # gcc -o /usr/local/bin/xidle xidle.c -lX11 -lXss note ...


2

i've used xen hypervisor type 1 and 2 successfully. prefer type 1. but sounds like you're gonna need type 2. From what I've read, rpm based distros are getting, or should have, xen support now. I know openSuSE has it, I use Debian on one test machine and citrix xenserver on another. create your virtual switch appropriately and you should be golden.


1

This is probably because in the %files section you have something like this: %files /etc/sudoers.d/ This makes your package not only include the files in /etc/sudoers.d; but also the directory itself. You can check this using rpm -qlp <generated-rpm>. rpm does not allow different packages to provide the same file or directory. The solution is to ...


1

These services are defined within the /etc/services file. I believe the port you're looking for is 2049 tcp and udp. Good luck.



Top 50 recent answers are included