Tag Info

New answers tagged

1

There are no definitive/standard methods that will work across all major distributions. You'll have to use extra code to figure it out to the best of your knowledge (based on how you understand each distribution make this information available). If this is for an installation script, give the user the option of specifying it by hand. If you want o be super ...


2

lsb_release -a See Linux Standard Base documentation As per your question you mention this as an alternative in case the above do not work. You should use lsb_release first as it is the standard. Also it should return more information than the enterprise-release command, specifically the LSB Version line (eg, lsb_release -v)


5

(Are Mandrake, AsianUX and UnitedLinux still around enough to certify compatibility on new software?) Definitely check the suggestions at: What version of RHEL am I using? But beyond that, look at facter if you have some control over the systems this software will be deployed on. If this is software that will be shipped and run on systems that you don't ...


6

Most likely you have some library installed in there that gets loaded instead of the system ones when you execute a command in there and it is binary incompatible with the commands in your system. It's probably something related to glibc or so. You can confirm this by running LD_TRACE_LOADED_OBJECTS=1 ls and examining the output to see if it includes any of ...


0

In phpMyAdmin , in Settings tab, you can try checking the following values: Settings -> SQL Queries -> Ignore multiple statement errors If you are using CSV format: Settings -> Import -> CSV -> Do not abort on INSERT error If you are using SQL format: Settings -> Export -> SQL -> Use ignore inserts you use my answer here with details


1

I don't know if this is the correct solution, but it worked for us. Hopefully it will at least point others in the right direction, even if it doesn't solve it completely. We noticed that every time we had an outage, the processor usage was near 100%. This, in turn, was because of another application batch processing certain files, and using up most of the ...


1

It's a cluster of RPM bugs. Not just one bug, or two bugs. A nest of the critters. RPM fails (failed?) to validate signed packages, didn't understand v4 GPG signatures but didn't notice it didn't understand them, didn't understand some key sizes and types but didn't notice it didn't understand that, and also choked on subkeys! This lifesaving blog entry by ...


0

Have you tried: mysql --user=root -p and then when asked for the password, just pressing enter? Sorry it this is obvious and you have, thought it worth a mention just in case.


2

Try running mysql_secure_installation - improve MySQL installation security, as Michael mention, it almost sounds like you already have mysql database with something other than fresh install. You can also try stop mariadb.service delete mysql database and then try to give it another try with mysql_install_db - initialize MySQL data directory.


0

After my instructor himself tried to solve this he noticed that it wasn't possible without the Administrator password, so we got one of the Administrators to enter it remotely. I was then able to add a domain account to my local machine, however, I couldn't log in using domain accounts that weren't already created on the machine. To solve this, I used the ...


0

No guarantees, but try this: Go to: Control Panel -> Administrative Tools -> Local Security Policy Select: Local Policies -> Security Options There are two settings to change. "Network security: LAN Manager authentication level" -> Send LM & NTLM responses "Minimum session security for NTLM SSP" -> uncheck: Require 128-bit encryption source: ...


0

There have been many changes in file sharing (SMB) from XP to Vista/7, one of them being on the authentication method. You could try making the Win7 machines go back to using NTLMv1 (Google "windows 7 NTLMv1") but this is a bad idea. You have an environment that is outdated beyond imagination. I would not even think about fixing ANYTHING in it, sincerely. ...


0

I didn't find any option in that nice GUI, but it is possible via Rich rule language To enable only outgoing port 80: firewall-cmd --permanent --direct --add-rule ipv4 filter OUTPUT 0 -p tcp -m tcp --dport=80 -j ACCEPT firewall-cmd --permanent --direct --add-rule ipv4 filter OUTPUT 1 -j DROP This will add it to permanent rules, not the runtime rules. ...


1

You can use sssd with RHEL7 Take a look at this guide: https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/7/pdf/Windows_Integration_Guide/Red_Hat_Enterprise_Linux-7-Windows_Integration_Guide-en-US.pdf (verify that you have it installed first: yum info sssd) sssd.conf: [sssd] domains = mycompany.local services = nss config_file_version ...


0

You can run yum groupinfo "GNOME Desktop Environment", which on an EL5 system, will display: Group: GNOME Desktop Environment Description: GNOME is a powerful, graphical user interface which includes a panel, desktop, system icons, and a graphical file manager. Mandatory Packages: control-center gnome-applets gnome-panel gnome-session ...


1

RHEL7 includes realmd which is excellent. Try this. As the machine account exists, you probably will not need admin privileges in AD. Also, you do not need to extend the AD schema to cover rfc2307.


0

In case you have configured kerberos correctly (klist shows krb ticket after kinit) probably there's issue with your machine account in the AD. Joining AD requires Administrator account or one with permissions to join clients in the domain, because it had to create machine account with unique SID for your pc. The next thing you need to do is verify kerberos ...


0

Define slow. WIndows does not magically make the CPU slower so a system with little IO will run similar speed (I do not see 3% as relevant difference, and it is a lot less than that). IO also depends on subsystem etc. Generally any "windows i a lot slower than linux" without a lot of specification about circumstances is trolling by an idiot - and yes, ...


0

Did you try to install 'sssd' package on RHEL 5.10? yum install sssd That package will install 'sss_ssh_authorizedkeys' binary. If the package doesn't exist in RHEL repositories for 5.10 you can safely use the CentOS RPM because they are binary compatible distros.


0

If you have a RHEL subscription then you can login into your RH account and download the RPM then install it with yum -y install x.y.z.rpm. Otherwise, you can also take the package from a CentOS repository, it should be 100% compatible. For example this URL. By the way, the latest version is .65 and you should really use that.


0

You can try to download the relevant RPMs from a CentOS mirror and install by hand, but this might end up in more problems due to (version) dependency issues. It might even be possible to switch the repos from RHEL to CentOS and just update as usual, but I would be wary about that.


-1

Do you have outbound internet access from the machine? If so, you can download the RedHat OpenJDK RPM from here and then run rpm -i open_jdk_file_name.rpm. I believe this will perform an upgrade, but you can always run rpm -e old_java_package_name first to remove the old version before installing the new.


0

After many different configurations, I came to the solution where I setup access_provider = simple simple_allow_groups = linuxtest and this worked out the way I wanted to work.


0

Alternately, after using "yum update" you can use "yum downgrade redhat-release" Downgrade command will install the latest package before the last released. For example, if the latest is 6.4 it will downgrade to 6.3


0

I have configured a RHEL 6.5 with sssd to authenticate against LDAP, and we configured the ldap_access_filter to check for membership of certain groups (those groups do not need to be configured as the UNIX groups for the group mapping): ldap_access_filter = (|(groupmembership=cn=group1,ou=groups,o=company)(groupmembership=cn=group2,ou=groups,o=company)) ...


0

I know this is an old thread, but as I found another (likely added in a later version of cobbler) solution, I thought I'd add it: If you put $yum_config_stanza in your %post in your kickstart templates cobbler will create a .repo file of the assigned repos and place it in /etc/yum.repos.d/ for you. I also remove the default ones so that only my mirrors are ...


1

You are overriding VNCSERVERS variable. Doc in file says "The VNCSERVERS variable is a list of display:user pairs.". You should use this form instead: VNCSERVERS="2:abc 3:root" VNCSERVERARGS[2]="-geometry 800x600 -nolisten tcp -nohttpd -localhost" VNCSERVERARGS[3]="-geometry 800x600 -nolisten tcp -nohttpd -localhost"


1

You can set the default runlevel in /etc/inittab. Runlevel 3, which is most probabyl set right now only starts multiuser without graphical systems. If you change it to 5 it should start X11 on boot.


1

Actually. i found out the answer in ubuntu systemd is not used by ubuntu at the moment ( at least not yet) you can install and use systemd if you want to, right now ubuntu now uses UFW ( iptables is not removed) UFW enables users to use iptables in a better way, easy to add rules. etc The init.d is still there with symbolic links to upstart to eg : ...


1

It's in the "RHEL Server Optional repository". You need to subscribe your machine to that repository via RHN.


0

These commands can be used to download mongodb rpm and extract the files. After extracting package contents, binary files can be used directly. yum install yum-plugin-downloadonly yum install --downloadonly --downloaddir=/tmp mongodb-org-server mkdir /usr/local/mongo2 cd /usr/local/mongo2 rpm2cpio /tmp/mongodb-org-server-2.6.4-1.x86_64.rpm | cpio -idmv ...


2

You can grab the source code for 9.0.8, then install the module from source: tar xf postgresql-9.0.8.tar.gz cd postgresql-9.0.8/contrib/unaccent PATH=/usr/bin/pgsql-9.0/bin:$PATH make USE_PGXS=1 sudo PATH=/usr/bin/pgsql-9.0/bin:$PATH make USE_PGXS=1 install Of course this requires the correct headers to be present, in particular the postgresql-devel ...


0

The only way I have managed to do this is to select the servers throught the SSM in the gui and re-assign the channels through there rather than in a script


1

A Docker image bundles application and "platform", that's correct. But usually the image is composed of a base image and the actual application. So the canonical way to handle security updates is to update the base image, then rebuild your application image.


0

Is puppet in your environment at all? # facter operatingsystemrelease 6.5 Is quite clean... But in your local repository, are you actually distributing different packages depending on the point release of your EL system? That may not make sense, as EL tends to automatically move/update to the newest point release within a major version. E.g. You won't ...


0

To register a system within RHN (assumed you have a valid subscription) you can use rhn_register. You have to provide your username and password from RHN.


0

I found the solution to my issue. The solution was I also had to install the setuptools package in Python. sudo pip install --upgrade setuptools After I did this everything loaded up properly and worked. Not sure why the documentation wouldn't have this step in it.


1

Your free block count isn't very far off from the reserved count. Block count: 52428800 Reserved block count: 2619904 Free blocks: 5432592 At creation time the ext3 filesystem reserves a percentage of blocks for use by the root user, which is 5% by default. This allows root owned processes to continue writing to disk while ...


1

Use sepolicy from the policycoreutils-devel package on your RedHat distribution. To achieve what you asked you will need to use the following: sepolicy generate --confined_admin -n NAME [-a ADMIN_DOMAIN] [-u USER] This will generate a policy which you can compile (make -f /usr/share/selinux/devel/Makefile) into a module that you can install with ...


0

I also faced the same issue, to fix this issue I need to enable server-status in httpd.conf file, as ./apachectl status command trying to connect server-status page which by default not configured [root@bin]# ./apachectl status Not Found The requested URL /server-status was not found on this server. [root@bin]# sh ...


1

If you've installed the new server, the new clients are installed too - they're a dependency of the server. Redhat systems now use an "alternatives" mechanism similar to Debian. You'll find that /usr/bin/psql is a symlink pointing to /etc/alternatives/pgsql-psql which is in turn a symlink to the default psql. You can use the update-alternatives command to ...


0

Keep in mind, that yumdownloader will use your yum database when resolving dependencies. For example if you download bash, which needs glibc, it will resolve glibc and skip it, since it is installed. If you want to download all dependencies, use a different installroot instead. It downloads all the dependencies: yumdownloader ...



Top 50 recent answers are included