Tag Info

New answers tagged

0

Looks like very bad news. GNU coreutils touch contains this code: int default_permissions = S_IRUSR | S_IWUSR | S_IRGRP | S_IWGRP | S_IROTH | S_IWOTH; fd = fd_reopen (STDIN_FILENO, file, O_WRONLY | O_CREAT | O_NONBLOCK | O_NOCTTY, default_permissions); which suggests that it always creates ...


0

Problem is qt5 from epel, I removed it and upgrade without problem. There is already fixed qt5 in epel-testing: https://admin.fedoraproject.org/updates/FEDORA-EPEL-2014-3484/qt5-qtbase-5.3.2-3.el6


0

Upgrading cmake to version 2.8 fixed everything.


0

I was able to solve the issue with a reboot of the Virutal Machine. After reboot, I was able to run pvcreate /dev/sdb successfully. Any idea what happened after a reboot. I'd like to know more on why a reboot resolved the issue.


2

Found the clean answer. Background - when installing the GUI by doing the groupintstall remember that you had to set id:3:initdefault to id:5:initdefault in /etc/inittab before typing init 6 for root to boot the GUI. So just reset /etc/iniittab back to id:3:initedefault BEFORE! for doing groupremove. What appears to happen is the system has no way of ...


4

They are actually unrelated problems. If the permissions of the .ssh directory and the authorized_keys file are correct run: restorecon -R -v /root/.ssh and you should be able to login with your private-public key pair. To solve the slow login issue you can disable the following entries in /etc/ssh/sshd_config: GSSAPIAuthentication no ...


-1

Change the configuration file /etc/sysconfig/network-scripts/ifcfg-eth0 like this example and it will works: DEVICE=”p1p1″ BOOTPROTO=”static” IPADDR=”192.168.1.22″ NETMASK=”255.255.255.0″ GATEWAY=”192.168.1.1″ HWADDR=”00:12:34:56:78:90″ DNS1=”192.168.1.1″ DNS2=”4.2.2.2″ NM_CONTROLLED=”no” ONBOOT=”yes” TYPE=”Ethernet” ...


2

Depending on your needs, you can achieve this by doing one of the following. 1. Running X Applications on your Windows 8.1 This can be done by using X11Forwarding. Install Xming on Windows machine set X11Forwarding yes in /etc/ssh/sshd_config Configure PuTTy to use X11 Forwarding Can be found in the menu: Connection > SSH > X11 Tick checkbox Enable X11 ...


1

Yes, you can have that same auto code completion for C++ feature. Both Gedit and Vim have facilities for extension through plug-ins. This allows you to write the completion, so you can have that feature in either of them. You might want to spent some time looking if someone has not already done so.


0

The solution i've found is to disable intel pstate in grub


1

I can highly recommend X2Go. It's based on NoMachine NX code, meaning communication is compressed and it's using cache, but unlike NoMachine it's foss. At least in Fedora, install is as easy as yum install x2goserver (assuming firewall allows ssh). Fedora 20 has adopted x2go as remote desktop solution, replacing NoMachine's NX implementation. X2Go supports ...


1

For automated installs of RHEL or distributions based on this, use Kickstart. When you build a RHEL server a /root/anaconda-ks.cfg file is created that can be used to build a duplicate host. There are various options, the two most suitable: 1. Custom Live CD / removable media build from the kiskstart image. 2. Full PXE boot network installation. The ...


1

In case anyone else comes across this: I found this link more helpful. It lists different versions, and then you can download a convenient *.tar.gz to unpack / install. I did wget on the URL for the link ghostscript-9.10.tar.gz. For some reason it saved to a file called download, but it is a .tar.gz. So I unpacked with tar -zxvf download cd into the new ...


2

The minimal install likely did not come with the bind-utils package, which I believe contains nslookup. You can install bind-utils with: sudo yum install bind-utils In general, you can search for what package provides a command using the yum provides command: sudo yum provides '/usr/bin/nslookup'


0

You could use the kerberos keytab file: net ads join createupn=host/`hostname -f`@ADIRE.DOMAIN.CO.UK -U priviledged_user net ads keytab create net ads keytab add host/`hostname -f`@ADIRE.DOMAIN.CO.UK Then use the keytab file in your samba configuration: $ grep -i keytab /etc/samba/smb.conf kerberos method = secrets and keytab


1

The creation of an iSCS target LUN links the previously-defined storage objects with the target and defines which number the device will use. Therefore, if you want the LUN (lun0) to be expanded, then the underlying storage object (disk01) needs to be expanded. One method to do this is to create a logical volume from the two disks as follows (although this ...


0

Any time you are going to sudo rm things, you should gravely consider what you are doing if you are not using explicit paths. sudo rm /explicit/path/to/directory/* should work. You will still get that error if there are not files in directory; you can suppress that with rm -f (not rm -fr unless you are absolutely certain of what you are doing).


5

You're having problems because your shell is trying to expand * into the list of files, but it can't since you don't have rights to read the directory. I can think of two things that would work sudo bash -c "rm directory/*" In this case, the * isn't expanded by you, but by root, who can read the directory OR sudo find directory -type f -exec rm {} \; ...


-1

we recently wrote an article on how to setup a simple mailserver with Exim and Dovecot on a CentOS 7 system which you may find helpful. It does not cover the installation and configuration of spamassasin, though there's a follow up article on how to setup opendkim with exim for digital signing of the emails. hth


0

In my case, I have a proxy:port settings. I edited the /etc/yum.conf file, but forgot the port number after the proxy= entry. proxy=http://your.proxyhost.org:8080 I was seeing this exact error as stated above, so I rechecked the yum.conf file and added the correct port and it works.


1

It appears I overlooked my iptables firewall, the problem doesn't appear to be with ip6tables but actually proto 41 being blocked which is required for 6in4 to work, I added the following to my csfpre.sh file: iptables -t filter -I INPUT -p 41 -j ACCEPT iptables -t filter -I OUTPUT -p 41 -j ACCEPT Connectivity appears to be maintained now.


6

I would have to guess that those options came into upstream after the Fedora release that RHEL 6 was based on was frozen, since they are available in Fedora ${recent} and RHEL 7 / CentOS 7. That's only a guess, though.


0

For the cert directory and the SElinux issue, seems that's quite old, first reported here: https://bugzilla.redhat.com/show_bug.cgi?id=555785 And seems it's an upstream bug, at least when you use NetworkManager to control your openvpn connection. But the upstream bug is still "unconfirmed" -.- https://bugzilla.gnome.org/show_bug.cgi?id=670198 Maybe SELinux ...


1

For the benefit of others: $ sudo yum history summary provides a list of total upgrades and installs over various time periods. Reference. Example $ sudo yum history summary Loaded plugins: fastestmirror, langpacks, refresh-packagekit, tsflags Login user | Time | Action(s) | Altered ...


1

I had the same problem, and I found the mirrors site of Fedora has the RPM I need. china mirrors: http://mirrors.aliyun.com/fedora/releases/20/Everything/x86_64/os/Packages/n/NetworkManager-pptp-gnome-0.9.8.2-3.fc20.x86_64.rpm http://mirrors.aliyun.com/fedora/releases/20/Everything/x86_64/os/Packages/n/NetworkManager-vpnc-gnome-0.9.8.2-2.fc20.x86_64.rpm


1

Issue with NIC? You can use the ip_route2 tool ip to display the statistics about a particular network interface. $ ip -s link show wlp1s0 3: wlp1s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP mode DORMANT group default qlen 1000 link/ether c8:f7:33:15:0b:12 brd ff:ff:ff:ff:ff:ff RX: bytes packets errors dropped overrun ...


0

Wireshark is what you are looking for.


5

Avahi is the opensource implementation of Bonjour/Zeroconf. excerpt - http://avahi.org/ Avahi is a system which facilitates service discovery on a local network via the mDNS/DNS-SD protocol suite. This enables you to plug your laptop or computer into a network and instantly be able to view other people who you can chat with, find printers to print ...


0

Hmmm. More so than "en" and "o", I would be more concerned about the "16777736". Unless, you accidentally wondered into Google, and found yourself sitting at a server with a custom PCI architecture, I don't really see how 16777736 could be a possible value. This might be a hint to a more serious problem. Under the current schema, a system would not be ...


-2

Run this command: useradd -d ftp_user:chown 711 /etc/init.d/


3

You might want to run fixfiles -R openvpn restore An ls -alZ should give you something like this (showing your files are in the correct selinux context now): [root@server openvpn]# ls -alZ /etc/openvpn/ drwxr-xr-x. root root system_u:object_r:openvpn_etc_t:s0 . drwxr-xr-x. root root system_u:object_r:etc_t:s0 .. drwxr-xr-x. root root ...


1

After you've changed your config to include chroot_local_user=YES You could change the user's shell to /usr/sbin/nologin so that if the password leaks you will have mitigated some risk (set the home directory too) usermod -d /var/www/my.domain.example -s /usr/sbin/nologin exampleuser -d, --home HOME_DIR The user’s new login ...


1

Was an UEFI configuration problem, Hitachi SMP blades with more than 1TB of RAM need some tweeks. (Firmware dependant, so if you have such problem, ask Hitachi for the correct parameters).


0

Take also into account that the default SELinux configuration will prevent your virtual hosts directories from being accessed by httpd. You will need to set the appropriate context for them: # chcon -R -u system_u -r object_r -t httpd_sys_content_t <DocumentRoot> The other option is to disable SELinux.


0

This is similar to Daniel's answer but, I used the following command: service network restart ifup e* This automatically boots up the named adapter (enp0s3 in my case, since ifup eth0 didn't work)


0

The instructions you followed appear to have a typo in the mount -o remount, rw / line. There should not be a space after the comma. The corrected line should read: mount -o remount,rw / If you entered it with the space as indicated in the document, the passwd command will not change the root password because the system is still in a read-only state.


0

Neither CentOS nor Fedora are "RedHat Linux". There isn't really any such thing; there is Red Hat Enterprise Linux, which replaced the previous Red Hat Linux. Fedora and CentOS are both Red-Hat sponsored projects but are not Red Hat products. Generally, Fedora is compatible with whatever is supported by the upstream kernel. Fedora does have kernel ...


3

From your output: Not a compatible architecture: x86_64 Your options are to download and install a 32-bit version, if that is available. Or install this version on a 64-bit operating system. It is sometimes possible to run 32-bit software on a 64-bit processor, but not the opposite.


3

If you're running 32-bit Windows 7 on a 64-bit processor, then VirtualBox can run a 64-bit guest with a few caveats: 3.1.2. 64-bit guests VirtualBox supports 64-bit guest operating systems, even on 32-bit host operating systems, provided that the following conditions are met: You need a 64-bit processor with hardware virtualization support ...


3

From the CentOS wiki: CentOS aims to be 100% binary compatible with its upstream source, Red Hat Enterprise Linux (RHEL) From the Red Hat website: Red Hat Enterprise Linux 7 will only provide 64-bit ISO's, thus allowing only a 64-bit operating environment. However, 32-bit is supported in the following ways: RHEL 7 will continue to ...


0

kvm requires vt (hardware assisted virtualisation in the CPU), so if your box doesn't have that, then you have to use emulation using qemu. This will be very slow. kqemu is (was) a kernel module which predated vt, and which acted to run all userspace code natively, and only emulate privileged kernel code. This sped things up a lot, but kqemu support was ...


1

I offer this "Answer" as a supportive post AND as additional information on a point. The Andreas Reiff answer with 4-step details worked very well for my situation and I learned/found an interesting "oh, by the way". My situation was an attempt to TRIPLE-BOOT CentOS 7, Windows Server 2012, and Windows7. I thought I would be smart and add two separate ...


-1

While L.D.James' answer (no longer here) put me onto the whole users and groups issue it was not wholly helpful. Thankfully it was enough to get Google involved. Here are the steps I took to solve the problem. The folder was owned by root which would not be a good group to add a user to. The solution was to create a special group. I called it "www" because ...


2

You could try mosh. It is optimized for slow and buggy network connections and does some neat tricks to allow comfortable working with such a connection, i.e. it displays characters you type on the fly and not after the server sends them back to you. Opening files will sadly still be slow, but commands are better.


3

To get that exact output use: echo "Today is: Thursday, November 05, 2014" echo "The hostname for localhost.localdomain is: 192.168.141.140"


1

Just run following command: echo "Today is `date "+%A, %B %d, %Y"`" && echo "The IP for `hostname` is: `hostname -i`"


2

Your host can be offering KVMoIP which allows you to connect to your server without SSH.


0

Sounds like you just need to install the Perl RPMs. $ sudo yum install perl You might need additional Perl modules, these can typically be installed via RPM as well, assuming they're in the standard YUM repos. If so you can search for them like so: $ sudo yum search perl-<module name> Where <module-name> would be of the form: "XML-Simple" ...


0

I did not see any official packages for this in any of the normal CentOS repositories so you'll likely have to download the source package and attempt to rebuild it yourself. I would start with the Fedora 21 version of the package available here: http://dl.fedoraproject.org/pub/fedora/linux/development/21/source/SRPMS/p/python-pyside-1.2.2-2.fc21.src.rpm ...


0

We've found a workaround recently that goes like this: /etc/ssh/sshd_config: ... Subsystem sftp internal-sftp Match Group sftponly ChrootDirectory /home AllowTCPForwarding no X11Forwarding no ForceCommand internal-sftp directory permissions: root@server:~ # chown root:root /home root@server:~ # chmod 111 /home root@server:~ # chmod 700 ...



Top 50 recent answers are included