Tag Info

New answers tagged

1

I think you are mixing things called tar-balls (when referring to multiple folders), with regular installation packages (files ending in .deb on Debian/Ubuntu and in .rpm on Red Hat/Fedora/SuSE). The former is "only" a, often compressed, directory structure with some instruction (in the form of scripts, Makefiles, configuration files) to get the files ...


0

For me, a similar error with sftp ls failing via chroot, and sftp get succeeding, was solved with copying /etc/group and /etc/passwd to my chroot. No files from /dev seem necessary. No changes in /etc/nsswitch.conf seem necessary, although I do chroot to remote cifs mount.


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.


0

You're not subscribed to RedHat updates, therefore you will not be receiving any updates to any of the core packages. Since you've now added the Scientific Linux repo, yum will notice that it now has access to packages that are far more up-to-date than your current installation and is trying to update them all. If you continue, you'll end up with a ...


0

You should be installing the gcc package from slc6-os.repo or slc6-updates.repo Then the dependancies will be provided from there too rather than using the devtoolset version. Yum Repositories Entries /etc/yum.repos.d/slc6-os.repo /etc/yum.repos.d/slc6-updates.repo /etc/yum.repos.d/slc6-extras.repo Installation instructions Location: slc6-os.repo ...


0

You can also use http://sourceforge.net/projects/crcsum/?source=directory which provides a cp and mv extended with checksum calculation & verification


0

glibc-devel should be part of the base repo, you may have a some conflicts with your repos. try disabling all the extra repos you added and try again. You should also check yum Priorities plug-in which can prevent a 3rd party repository from replacing base packages, or prevent base/updates from replacing a 3rd party package.


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 ...


-1

The following combination of things worked for me: delete the actual files in /etc/yum.repos.d yum clean all rpm -qa | grep epel (still shows) yum remove epel* yum clean all This finally cleaned it out.


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 ...


0

In my case, I have the same problem. After some searching, someone talk about the nfs service which for file sharing. so in This case just need to restart the nfs service and then try to remove the logical volume disk: service nfs-kernel-server restart lvremove -f /dev/vg_service1/lv_home


0

Can you make sure you have no epel-release packages left by listing all packages and grepping epel? rpm -qa | grep epel If there is no package in that list, you can also force install the epel-release package by running: rpm -ivh --force epel-release-6-8.noarch.rpm


0

I ran into the same problem and finally i found a solution: Remove all vmware packages that are installed via yum until yum list installed | grep vmware shows nothing: yum list installed | grep vmware yum remove vmware-tools-guestlib.x86_64 yum remove vmware-... yum remove kmod-vmware-... ... Remove files and folders found by "locate vmware". For me it ...


1

is it possible to port the latest required version of libxml2 to RHEL 4 that way I can use the latest version of ModSecurity? Yes. The ideal way to do this is to install it into /usr/local, presumably building from source. After the build and install, you will need (as root) to run ldconfig to update the linker cache. Libraries in /usr/local/lib ...


0

You may try Scientific Linux 5.9, which has the advantage of being heavily tested among big academic communities of users (notably, CERN & Fermilab). If your application is of the scientific category, I suggest you check out this argument. Also, at least once in the past, CentOS did not want to collaborate with downloaded postgresql rpms, while SL worked ...


0

To answer my own question, there are no visible rPath clone out there. If you are using rPath for package management and using Red Hat in your environment and would like to transition away, the logical tool for the task is Red Hat Satellite. If you are adventurous, you can try Spacewalk, which is the Open Source upstream version of Red Hat Satellite.


0

A simple re-install openssl will do! You can use yum to re-install or download the rpm file and use rpm -ivh --force to install it.


1

To see total progress with rsync, the modern versions (from 3.1.0) has option --info=progress2. rsync must be running on the same machine as source files (or with NFS) for this to show sane values. Don't forget to supply -a option too if you copy system directories.


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.


1

First, create a new file in the /etc/sysconfig/network-scripts directory called ifcfg-team0 that looks like this: DEVICE=team0 DEVICETYPE=Team ONBOOT=yes BOOTPROTO=none IPADDR=1.2.3.4 NETMASK=255.255.255.0 TEAM_CONFIG='{"runner": {"name": "lacp"}, "link_watch": {"name": "ethtool"}}' Obviously you need to change the IP address and netmask appropriately. ...


1

You have three options: run alternate sftp server on a separate port run sshd on a port other than 22 or not to run sshd at all - that will leave port 22 available for alternate sftp server use Subsystem sftp /path/to/alternate/sftp-server which makes sshd handle the initial connection and handing it over to the appropriate application. However, ...


1

A lot of peripherals are removable (USB, Firewire, PCMCIA, hotpluggable PCI, etc.). Furthermore a system installation might be moved to new hardware if the old hardware failed or had to be upgraded. Linux distributions tend to provide all the drivers that you might possibly need, preferring to waste a few megabytes of disk space rather than tell you ...


0

In your case, I would suggest to do only the necessary updates as applicable to the system. According to redhat, there is no harm in installing these unnecessary updates but still it is not a good idea. Although installing an unnecessary driver update will not cause harm, the presence of a driver on a system for which it was not intended can ...


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 have hit this same problem on CentOS 6.x for PGDG installs from Postgres 9.0 - 9.3. Here was how we resolved it: First I downloaded and installed the Postgres version I was after: yum install http://yum.postgresql.org/9.2/redhat/rhel-6-x86_64/pgdg-redhat92-9.2-7.noarch.rpm When trying to install the postgresql92 packages, I hit the same error: Error: ...


1

You need to make sure that the service starts at boot. To do this, run the following: # chkconfig vncserver on Note that this will start the service on the next boot. To start it now, you will still need to run: # service vncserver start


0

I don't think that you need this unless you're planning on teaming multiple network cards together as one. excerpt - http://fedoraproject.org/wiki/Features/TeamDriver The purpose of the Team driver is to provide a mechanism to team multiple NICs (ports) into one logical one (teamdev) at L2 layer. The process is called "channel bonding", "Ethernet ...


3

As root, say # systemctl --reboot Or, simply: # reboot On systems where systemctl can reboot the system, reboot is usually symlinked to it, so that systemctl detects the action to perform by the name it was called by. If you're on RHEL 7 or newer or you have manually configured sudo on RHEL 6 or older, you may not have to log in as root or su up to ...


0

Personally, I'd advise against being able to login directly to the root account unless one is at the console. What I'd suggest you might explore is having an account on the server, and then using sudo to establish an privs that might be needed to do your work. This has the advantage of NOT disclosing the root password, and logging anytime anybody activates ...


1

The default to "root" is probably coming from your PuTTY configuration. Check the following option:


0

Just edit /etc/gdm/custom.conf with your favorite editor. Then, under the [daemon] section, add 2 lines so it looks like the code below (obviously change username to the username you want to use): [daemon] AutomaticLoginEnable=true AutomaticLogin=testUser


0

Your ls call shows that /lib/modules/2.6.32-431.1.2.0.1.el6.x86_64/build exists and is a symbolic link. Changing to it complains that the file doesn't exist. This implies that the symbolic link is dangling: its target doesn't exist. You don't seem to have the kernel sources installed, at least not the right version of the kernel sources, at least no in the ...


2

There doesn't seem to be a manpage for the interfaces config files in RHEL but the documentation can be found in: /usr/share/doc/initscripts-*/sysconfig.txt Look for the sections describing files /etc/sysconfig/network and /etc/sysconfig/network-scripts/ifcfg-<interface-name> Also in your example the command whatis ifcfg returns ifcfg (8) - ...


0

This is the best way I have found to do this. You want something on the server side that attempts to read stdin and then kills the process group when that fails, but you also want a stdin on the client side that blocks until the server side process is done and will not leave lingering processes like <(sleep infinity) might. ssh localhost "sleep 99 < ...


0

Dead repo. That's a non-standard repo that someone used to get some of your packages. I'd determine what's coming from that repo and disable it in the /etc/yum.repo.d/* .repo files for it. You can determine which packages came from this repo if you know its shortname. Example Say this was in the .repo file associated with that repo. [fedora] name=Fedora ...


2

The packages perl(Net::Telnet) are what are called virtual packages. They exist only in name and are essentially an "alias" for the real package whose name is really perl-Net-Telnet. These packages come into existence through their definition within the .spec file as provides or requires. You can see some here in this package, perl-Net-HTTP: $ more ...


0

If you want kickstart to only use the remote disks then you could do this: install --firstdisk=remote


1

Since this question is RPM specific, rpm is the way to get started (as answered by @Matteo). rpm flags -q is short for --query -l is short for --list Example rpm -ql jdk1.8.0_20 | grep "jdk1.8.0_20/bin$" /usr/java/jdk1.8.0_20/bin Knowing this may be desirable for setting a user or application's $JAVA_HOME variable. This is often needed when a ...


3

Your home folder may not be identical on each system. You can check .bashrc or .bash_profile scripts are handle on each server. for the prompt you need to include export PS1="\u@\h \w> " in your bash login script (.bash_profile) You may want to have your home directory on a NFS mount to be able to see similar environment on each system.


3

The bash prompt is configured by the PS1 environment variable. You can get the same prompt as you desire by adding export PS1="[\u@\h \W]\$ " to your .bashrc file (located in your user's home directory). The full list of special characters that you can use for your prompt can be found in the official Bash documentation.


2

Assuming your login shell on both machines is bash, it's the PS1 environment variable that is different. This variable dictates the format of your prompt. You can use echo $PS1 to see what PS1 is set to on the first machine, then use export PS1=... to set it to the same value on the second machine. To make this change permanent, you should add the export ...


0

As mentioned by Cyrus, you are better off buying an Extended Life Cycle Support licence. The RedHat patch is AFAIK superior to the one provided by Mr.Ramey. However, the easy way (if you aren't on paid support) is to roll your own bash package: Install fpm Download the source file (http://ftp.gnu.org/gnu/bash/bash-3.0.tar.gz) Download all patches ...


2

The entry for RHEL4 on the table on Wikipedia indicates "28 February 2015" as the end of "Extended Life Phase", the end of "Production 3 Phase" was 29 February 2012. During that extended phase, between those dates, there is support only for customers that "pay an additional subscription" (and that for a subset of packages). This is clearly indicated in the ...


1

The biggest negative is the potential extra load that it may introduce to a server. Now saying that it's typically enabled on CentOS and Fedora, and it's designed to consume as small a footprint as possible so that it can collect these types of detailed audits. So I would fully expect that it won't cause you any issues, assuming the logs are being handled ...


1

Out of the box, auditd rotates after 6 MiB are written to /var/log/audit/audit.log. Thus, when auditd issues its rotate log messages to often, it may be a sign that an unusual amount of audit log messages are produced. Then it is likely that a SELinux policy is missing or needs to be extended (cf. audit2why/audit2allow). Another cause can be mis-labeled ...


2

After checking man pages, initscripts (package owning ifcfg scripts) documentation in /usr/share/doc/initscripts-*/sysconfig.txt, initscripts mailing list, and several bugs from redhat's bug tracker the only thing I understood is that to avoid problems those two directives should not be used in the same ifcfg script. I then forwarded my question to Jiri ...



Top 50 recent answers are included