Tag Info

New answers tagged

0

Many documents dealing with file system layouts (hier(7) in FreeBSD, the Filesystem Hierarchy Standard, et al.) don't talk about what to do with shared user data. Anything that isn't covered by the standards can be put in whatever location best fits your organisation. For example, on my home storage server I have a top-level directory /data containing ...


0

Usually it depends on exactly what the files are for. In practice I've seen people use /srv for server data, /var/www/html for web-accessible files, and /usr/local as sort of a catch-all. I've also seen a lot of vendors using /opt as being similar to C:\Program Files on Windows (i.e a collection third party application roots) which may themselves have files ...


0

There are no RPMs of MySQL 5.1 for CentOS 7. Your only chance is to take the "generic tar-ball", its installation is described in the manual. At the top of my head, I see two potential points of trouble: 1) You may need to disable SElinux. 2) Some system library may have had an API change between the build platform of the binaries and CentOS 7. I have no ...


0

Found the problem, default /etc/mongod.conf is configured with bind_ip = 127.0.0.1. Commenting that out fixes problem. Duh.


0

You will have to uncomment certain lines in order to enable logging: From the authorize section in /etc/raddb/sites-enabled/default file: # # If you want to have a log of authentication requests, # un-comment the following line, and the 'detail auth_log' # section, above. # auth_log From the post-auth section in /etc/raddb/sites-enabled/default ...


0

OK, so I do have a working read-only system on an SD card that allows the read/write switch to be set to read-only mode. I'm going to answer my own question, since I have a feeling I'll be looking here again for the steps, and hopefully this will help someone else out. While setting various directories in /etc/fstab as read-only on a Red Hat Enterprise ...


0

I was using the same rule (synproxy on a bridge) but realized that the normal tcp request would not work, i.e., after implementing the synproxy rules ALL syn request got blocked. I have monitored with tcpdump. I wonder if your synproxy rules work as expected?


1

I'm betting the program you're trying to run requires a newer version of GLIBC than is current installed on your system. Unfortunately, because it is GLIBC, there is no way to get a newer version without having root access and without affecting the entire system. Check the program's upstream site, make sure it's supported on RHEL 6.


0

Here you can find a doc how to do it: http://nginx.com/resources/admin-guide/reverse-proxy/ Generally use HTTP proxy, from the example: location /some/path/ { proxy_pass http://www.example.com/link/; } It means that if you go to yourserver.com/some/path/ the request will be forwaded to http://www.example.com/link/. If you have an internal ...


0

In the main I have used the SAMBA package on a Windows server for printing from RedHat, SuSe and Mint. I have also used GhostScript to utilise a printer connected to a Windows XP PC. This requires the SAMBA client and CUPS to be installed and running on your RedHat system. I cannot remember the details but if you Google these terms I am sure you will find ...


0

It sounds like your networking is not working. The delays you are seeing are due to the numerous daemons present in startup that utilize the network and taking a long time to timeout requests. I'd suggest that you closely examine your VM NIC configuration parameters closely. One other thought, are you sure you set the ONBOOT parameter to yes in the NIC ...


1

I'm using an in-house Puppet module that uses Puppetlabs HAProxy module. The puppet code did look like this ... keepalived::instance { 'haproxy-vip': advert_int => '1', priority => "$priority", state => "$state", virtual_router_id => "$vrouter_id", interface => 'eth0', virtual_ips ...


0

I will answer my own question I was using VirtualBox 4.3.14 on Windows host, after upgraded to latest 4.3.22 everything start working. Without any RHEL config changes.


0

I added mailman to my working postfix setup by following the instructions here: http://sharealike.org/index.php/2011/02/04/adding-mailman-to-postfix-with-virtual-domains/ I think this will work well for you because I also use a different subdomain for lists.example.com from the primary domain.


-1

Just add IP address with hostname in /etc/host , It'll short out your problem :)


0

Verify if there is a software group called Desktop yum grouplist | grep -i desktop Remove that group and then install it again yum groupremove Desktop yum groupinstall Desktop


0

enp0s3 is managed by system scripts under etc/sysconfig/network-scripts/; i.e. that network will be configured on boot even if NetworkManager isn't running. enp0s8 is not managed by system scripts (as there's no network script to set it up). enp0s8 instead is managed by NetworkManager; i.e. that network will be configured by NetworkManager once ...


0

Update for RedHat/CentOS 7 that has switched from sysvinit to systemd. To switch from GUI to CLI: systemctl isolate multi-user.target To switch from CLI to GUI: systemctl isolate graphical.target To set the CLI as a default runlevel (target in systemd terminology): systemctl set-default multi-user.target. Analogously for GUI: systemctl set-default ...


0

The oracle-linux 7 installation by defaults takes minimal installation option . You must change it to installation with GUI mode at the time of installation .This has solved my issue on not able to use the graphical user mode .


0

It depends. If you are talking about http traffic (I'm assuming that from the ports given), proxying might be preferable to using (D)NAT. IPTables wise this should do it: iptables -t nat -A PREROUTING -p tcp -d 172.16.1.10 --dport 80 -j DNAT --to 192.168.1.10:80 iptables -t nat -A PREROUTING -p tcp -d 172.16.1.10 --dport 8080 -j DNAT --to ...


0

I will try to explain you how rpm files work and why you will not be able to install them without a lots of cheating. rpm files are archives that deploys lib, binaries and conf files in the standard RHEL file hierarchy. Problem is most path to those folders will not be user writable /lib, /bin or /etc. If you need to install wine you will need to ...


2

Are you sure that the su - dummy is executed when you login?  Are you sure that your .bashrc is processed when you login?  bash(1) says, When bash is invoked as an interactive login shell, or as a non-interactive shell with the --login option, it first reads and executes commands from the file /etc/profile, if that file exists.  After reading that ...


0

Despite having checked /etc/resolv.conf you must make sure that DNS is actually working. Try do a simple request such as "dig www.google.com" and see whether you get a response. If that works you can try to manually open a connection with telnet like this: telnet www.google.com 80.


0

The main point to understand about GPG checking for packages is that the GPG signature is embedded within the package, and the GPG keys are stored in the rpmdb. There is no secure API to ask "What key is package X signed with" you can only ask "Is package X signed with a key in the rpmdb" and "Does key Y exist in the rpmdb". Also note that this means that a ...


0

I have a fine solution for you a)A script like this #!/bin/sh # # localshutdown # # chkconfig: 06 01 25 # description: localshutdown script # ### BEGIN INIT INFO # Provides: # Required-Start: # Required-Stop: # Should-Start: # Should-Stop: # Default-Start: 0 6 # Default-Stop: # Short-Description: # Description: ### END INIT ...


1

It's normal, depending on how the Initramfs was set up by your distribution. An Initramfs can be customized; so it could ask for the passphrase more often / indefinitely, or show a different message / force a reboot instead of just exiting init followed by the kernel panic. It actually already shows a message (the message is Wrong password, as opposed to ...


0

You're using the wrong distro if you cannot accept that you'll be starting with "outdated" packages even on the first day of a new major CentOS version release, and that they'll only get older. CentOS is that way on purpose. Red Hat Enterprise Linux 7 — on which CentOS 7 was based — was forked from Fedora 19, which was released about 15 months prior to the ...


2

Yes. The init process, which always had process ID 1, exited. UNIX operating systems panic by design when this happens, because essentally, without init, the system cannot continue to do much of anything useful. (That's not technically quite true, some things can continue, but it's not supposed to happen and it considered bad enough to justify restarting the ...


0

There are drivers for RHEL 7 for that network card available from HP. However they are not listed in the card's download web page at HP website. They are included with the "Red Hat Enterprise Linux 7 Supplement for HP Service Pack for ProLiant 2014.06.0" (filename supspp-1.00.rhel7.en.tar.gz) available at HP website. Just decompress it and you'll find the ...


0

You should add in the following [Unit] RequiresMountsFor=<path required> This will ensure the path is accessible before starting the service and also will mount it if it's not already (unless it has noauto specified). Check with your manpages (man systemd.unit) if the option is supported in your system as mine is quite bleeding edge.


1

The dump or fs_freq column in /etc/fstab is the dump frequency in days. It is used by dump's -w and -W options to inform the operator which filesystems need to be dumped. To my knowledge, a 0 in that field never prevented dump from running; the filesystem just wouldn't show up in dump -w output. One use case is that the dump operator would run dump -w to ...


1

You can download webkitgtk-2.2.4-1.el7.x86_64.rpm for rhel7 for example from http://rpm.pbone.net/index.php3/stat/4/idpl/27127038/dir/redhat_el_7/com/webkitgtk-2.2.4-1.el7.x86_64.rpm.html and then install by rpm -ihv webkitgtk-2.2.4-1.el7.x86_64.rpm It need libsecret,libwebp, gstreamer1-plugins-base packages - yuu can install it from rhel7/centos7 ...


0

you will find pts/0 listed in who output if there is a remote connection to ssh: I am one and the only on my machine: $ who me :0 2015-02-02 14:06 (:0) me pts/7 2015-02-02 14:07 (:0) me pts/12 2015-02-02 14:07 (:0) I am connected from other machine to ssh server, so I have opened remote terminal: $ who me :0 ...


5

You can boot grub over the network through TFTP. grub can then present a menu of choices for the next thing to boot in the manner that it usually does. Those choices can be various OS installers. grub can load the chosen OS installer also through TFTP. I know that the Debian (and Ubuntu) installer can be booted as a single self-contained Linux kernel + ...


1

I had a similar requirement - I needed to use ksh93 on AIX 5.3 to support associative arrays. So I set up the script to start a second instance using ksh93. I also added a safeguard to keep it from respawning itself over and over. #!/bin/ksh scr=$0 safe=$1 echo "Check OS to determine if ksh93 is needed..." if ( `typeset -A testvar > /dev/null ...


1

I suspect it's a regression regarding this bug https://rhn.redhat.com/errata/RHBA-2011-1096.html From the errata: This update fixes the following bug: Prior to this update, there was a problem when entering a password using the pinentry-curses utility; an error message was displayed instead of the password entry dialog if pinentry-curses was ...


0

Short Answer: Device mapper in kernel versions after 2.6.31 (released September 9th 2009) includes support for "request-based" dm targets. So far only the only request-based dm target is dm-multipath. For the targets that remain BIO (i.e everything except multipath) scheduler selection is still present but irrelevant as the DM target hands off the IOP ...



Top 50 recent answers are included