Questions tagged [rhel]

0

votes
0

answer
3

Views

RPM Vs Tar based Installation

My knowledge on Linux administration is limited and hence wanted to check here about the pros and cons of installing any RHEL/CentOS Linux software using rpm packages over installing through tar/zip files. Thanks
greenhorntechie
1

votes
1

answer
656

Views

Building GCC 5.2 on RHEL6

Since I needed C++14 support for one of our projects, I was trying to build GCC5.2 on my RHEL6 instance using the steps described in http://en.librehat.com/blog/build-gcc-5-dot-2-on-rhel-6/. However, though these steps work well on a RHEL5 instance, I get the following error on AmazonLinux during th...
samudra
1

votes
0

answer
15

Views

UnsatisfiedLinkError exception when lib is explicitly declared

Trying to execute my Java app yields a UnsatisfiedLinkError exception when the libmysqlclient.so.18 can not be found, even when it is explicitly declared in LD_LIBRARY_PATH, -Djava.library.path and /etc/ld.so.conf PROBLEM DESCRIPTION I am trying to make use of pcap4j (https://github.com/kaitoy/pcap4...
adrikayak
1

votes
1

answer
1k

Views

cap deploy:cleanup fails with use_sudo=true

My capifony deployment works great, however the capifony cleanup command fails. I'm using private keys over ssh, with sudo to gain write permissions on the deployment directories. With extended logging the result of cap deploy:cleanup is this: $ cap deploy:cleanup * 2013-07-19 15:44:42 executing `d...
james_t
1

votes
2

answer
2.1k

Views

SAS Install Fails from not Finding libXext

I'm not sure if this is the correct part of the stackoverflow family to be posting this question to so I apologize if this isn't the correct site. I'm trying to setup a new installation of SAS on Red Hat Enterprise Linux Server release 6.5 on a 64-bit machine and I keep getting an error when attempt...
jak119
1

votes
1

answer
1.2k

Views

installing zmq module on redHat linux RHEL 6.2 64bit machine

Hi I am trying to install zmq module on a linux machine.Below are the steps that i followed • Make sure you have the following packages installed (sudo apt-get install binutils libtool autoconf automake) • Get the latest POSIX tarball (http://zeromq.org/intro:get-the-software) and untar it...
user2882721
1

votes
1

answer
7.6k

Views

SSH Xforwarding changing user accounts

I am trying to make a script to install more or less automatically oracle database as well as some other application of my own. I haven't writen a line yet because I want to make all steps manually first. So, my environment is the following. I have RHEL 5 with no graphic interface. I am connecting t...
Valkyrie
1

votes
1

answer
4k

Views

Cannot Start Eclipse. JVM terminated. Exit code=13. (RHEL) [duplicate]

This question already has an answer here: Error starting Eclipse in Linux: “JVM terminated. Exit code=13” 6 answers Working on getting eclipse running on RHEL 5. I extracted the tarball, but I am getting the following errors. This is the error I get: JVM terminated. Exit code=13 /software/java6...
Triplell89
1

votes
4

answer
1.8k

Views

Linux How to copy symbolic link and preserve date

I have a directory with this kind of file: 0 lrwxrwxrwx 1 utges_m gid36 12 May 17 2011 libedit.so -> libedit.so.2 0 lrwxrwxrwx 1 utges_m gid36 16 Apr 16 2009 libedit.so.2 -> libedit.so.2.0.9 352 -rw-r--r-- 1 utges_m gid36 358958 Mar 10 2010 libedit.so.2.0.9 I would like to copy file a...
Lety
1

votes
1

answer
21

Views

Show only TSTA* files in JFileChooser

So, inverse to the question: Open only .xml file in JFileChooser I'd like to open a JFileChooser that shows files starting with, for example, "TSTA". I don't care about the rest of the file name.
Everlight
1

votes
1

answer
16.3k

Views

how to upgrade CentOS 5.11 to 6.x

I have tried executing yum update command but it only took me from 5.11 to 6.x. I need the server to be running CentOS 6.x for nagiosxi. [[email protected] network-scripts]# uname -a Linux nagiosxi.inl.gov 2.6.18-371.8.1.el5 #1 SMP Thu Apr 24 18:23:07 EDT 2014 i686 i686 i386 GNU/Linux
Wajahat Makki
1

votes
1

answer
1.5k

Views

rpmbuild can't find the files I unpack from source

I am building a custom package which for the most part has a couple of dependencies and install my own files and scripts. I have those files in a tar file and after attempting the build I can see those files unpacked in the rpmbuild/BUILD directory. However there seems to be a problem with the %file...
eignhpants
1

votes
3

answer
82

Views

How is the syntax of regular expression at bash?

I created a regex that finally works for my case :pkcs7-data\n.+\n\s+(.+?): You can have a look how it works right here REGEX101 link It has to find the first occurrence of a certain significant number. I built it using REGEX101 but I have to use it in a bash terminal. My idea is to use that regex...
Noob_Number_1
1

votes
2

answer
1.7k

Views

RPM spec %post doesn't execute in rpmbuild

Given the minimal RPM spec file, that should only execute a %post stanza: $ cat ~/RPMBUILD/SPECS/test.spec Name: None Version: 1.0 Release: 1 Summary: Bla License: Proprietary %description Bla %prep %build %install %clean %post echo ">>> Inside post
boardrider
1

votes
2

answer
57

Views

How to reliably check if I am above a certain CentOS version (CentOS 7) in a Python script?

I have been given a task to port a bunch of our internal applications from CentOS6 to CentOS7. With this move, we are changing our dependencies from external packages that we have repackaged ourselves to official upstream version of the packages. Because of this I am looking for a reliable piece of...
2

votes
2

answer
785

Views

Docker instance cannot run images anymore and unable to reclaim free space

I am trying to start any of my saved containers in docker but am unable to do it. I have started getting the Error response from daemon: Error running DeviceCreate (createSnapDevice) dm_task_run failed This started happening after committing a relatively big docker image and it seemed to have filled...
user46743
1

votes
1

answer
1.2k

Views

Ansible file module error - chown failed: failed to look up user

I am trying to change the owner of a file using file module. I tried this piece of code: --- - hosts: super_group remote_user: ec2-user tasks: - name: Checking the user name shell: /usr/bin/whoami register: username - name: Debugging the whoami username debug: msg={{ username }} - name: Changing the...
user182944
17

votes
1

answer
7.4k

Views

Can upstart expect/respawn be used on processes that fork more than twice?

I am using upstart to start/stop/automatically restart daemons. One of the daemons forks 4 times. The upstart cookbook states that it only supports forking twice. Is there a workaround? How it fails If I try to use expect daemon or expect fork, upstart uses the pid of the second fork. When I try to...
johnjamesmiller
17

votes
2

answer
11.3k

Views

What's the difference between rpm and yum? [closed]

Is there any difference between rpm and yum? I know the recent system prefer yum, but want to know if there is need for rpm also.
user705414
17

votes
2

answer
39.6k

Views

Unable to start postgresql service on CentOS 7

Unable to start postgresql-9.5 on CentOS 7. I followed this page - https://wiki.postgresql.org/wiki/YUM_Installation - for installing the database server on CentOS. I tried the same after setting setenforce 0, and that did not help either. I am doing all operations as root. systemctl start postgres...
Muthu Palanisamy
2

votes
0

answer
392

Views

Windows disappearing behind a full screen undecorated JFrame

I have a JFrame which I am setting to be full screen like so: JFrame frame = new JFrame(); frame.setSize(1920, 1080); // Resolution of the monitor frame.setUndecorated(true); frame.setVisible(true); Problem is, any popups (e.g. JDialogs) spawned from this frame open up behind the frame and I can onl...
SilentByte
6

votes
2

answer
6k

Views

EC2 instance launched from AMI not reachable(ssh) after start/stop or reboot

When we launch an instance from an AMI. At first the instance is accessible(ssh). Once we stop/start the instance or reboot it the machine becomes inaccessible via ssh,we can ping it though. We see below error in System log. AMI ID used - ami-72dc9220 Instance - i-0896a15f - Linux rhel6.4 M1.large...
Ashwani Kumar
4

votes
1

answer
1.8k

Views

rpm requires range

I currently have two questions: 1) Is it possible to specify a range of a package in a rpm spec file? something like package >= 1.0.0 and package < 1.0.50 meaning that it will pick up the latest package version closer to 1.0.50 2) Does somebody knows if yum will update to a package to a higher versi...
Gerardo
1

votes
1

answer
5.6k

Views

Kernel source rpm CentOS 6.3

I have CentOS 6.3 installed. cat /etc/redhat-release CentOS release 6.3 (Final) uname -mrs Linux 2.6.32-279.el6.x86_64 x86_64 I am following the steps outlined in the following links to fetch and build the kernel (to enable certain features): http://wiki.centos.org/HowTos/I_need_the_Kernel_Source...
Ahmed A
1

votes
2

answer
183

Views

Writing a Sys::Getpagesize Perl module for system call getpagesize (man page GETPAGESIZE(2))

I have been tasked to write a Perl module that requires that I use Perl XS. I have not ever used Perl XS but I have looked at the documentation here: http://perldoc.perl.org/perlxs.html and it looks like I will need the C source code for the getpagesize system call. I tried looking for getpagesize....
Red Cricket
19

votes
2

answer
11k

Views

Permanently enable RHEL scl

Is there a way to permanently enable custom Software Collections for RedHat? I have installed an scl to provide python27 in RHEL6 and don't want to have to enable the custom scl every time.
paweloque
5

votes
1

answer
1.2k

Views

Unable to compile the class for JSP

We are facing the below exception when I click on View button to see the user details : 2017-06-30 19:23:52,831 ERROR [com.myapp.jsp] - org.apache.jasper.JasperException: Unable to compile class for JSP: An error occurred at line: 53 in the jsp file: /WEB-INF/jsps/ViewUserDetails.jsp apache cannot...
Deepak Jain
1

votes
1

answer
2.2k

Views

Unable to set just year with Linux date command [closed]

For some reason I fail to update year only using date command date Tue Mar 4 20:15:42 IST 2014 date '+%Y' -s '2013' date Tue Mar 4 20:13:01 IST 2014 I tried it on both RedHat and Ubuntu... NTP is not running...
Greg Dan
1

votes
3

answer
54

Views

Portable packaging technology

I am looking for a good portable technology that would allow for unified way to package software that runs on five different platforms. The platforms are Solaris10/SPARC, Solaris10/X86, Solaris11/SPARC, Solaris11/X86, and RHEL6.4/X86. About 95% of the software is portable Java applications but there...
evolvah
5

votes
2

answer
1.6k

Views

XSP Configure fails due to mono module dependancy

I have mono installed in my RHEL 5 machine which is visible as follows: which mono /usr/local/bin/mono mono -V Mono JIT compiler version 2.10.2 (tarball Wed Oct 16 10:33:49 CDT 2013) Copyright (C) 2002-2011 Novell, Inc and Contributors. www.mono-project.com TLS: __thread SIGSEGV: alt...
varun kumhar
2

votes
1

answer
248

Views

Installing laravel on RHEL php54

So, RedHat Enterprise Linux doesn't support the MCrpyt module, but you can get it from the Fedora project through the EPL. This would work fine, except the fact that we're using SoftWare Collections (SCL) to get a newer version of PHP (5.4). So what is the best approach to getting the dependencies...
J. A. Streich
4

votes
1

answer
121

Views

Convert video to OGV, on fedora platform

I need to develop a rest API for publishing and converting videos. A major hurdle that I am facing, I need a free converter to convert video in any format to OGV. Even though ffmpeg is the best candidate, but I cannot use it because it is not in official Fedora repository, but in rpmfusion. I am dev...
Hammad Haleem
2

votes
2

answer
4k

Views

Issue with 'gem install sqlite3-ruby' on RHEL6

I'm attempting to install Ruby on Rails 3 on RHEL 6. I've 'yum install' sqlite and sqlite-devel (which is sqlite3 on RHEL6). As you can see, sqlite3.h does exist where it needs to be. 'gem install sqlite3-ruby' still doesn't work, for some reason. SQLite3: [[email protected] gems]# yum list sqlite-d...
Adam
2

votes
2

answer
826

Views

python socket.recv hangs, however I see the frame in tcpdump

I have below code to send command, but python script never exits. it hangs. i am using RHEL 6.4 x86_64. scapy srp1 also hangs. from socket import * from scapy.all import * from myproto import * def sendeth(REQUEST, interface = "eth0"): """Send raw Ethernet packet on interface.""" s = socket.socket(s...
mungayree
20

votes
8

answer
40.1k

Views

mysql is dead but subsys locked

I am using PHP-mysql on Linux (RHEL 5.0) For First Time When I tried to connect to MySQL from my PHP Script using mysqli_connect. It Displayed The Following Error: Can't connect to local MySQL server through socket '/var/mysql/mysql.sock'(2) After googling for hour I found solution to this as sta...
Vedant Terkar
5

votes
1

answer
781

Views

RODBC and Microsoft SQL Server: Truncating Long Character Strings

I am trying to query a variable from a Microsoft SQL Server database using R/RODBC. RODBC is truncating the character string at 8000 characters. Original code: truncates at 255 characters (as per RODBC documentation) library(RODBC) con_string
Chris
6

votes
4

answer
9.2k

Views

Did I install Ruby 1.9.3 correctly on RHEL?

Before you say yum -y install ruby193... I did that. Please note that I am not a Ruby developer, but need this program as part of another developer's work via web services. (He is not available.) Any help would be greatly appreciated. I attempted to install a library per instructions and got: [root...
Jerry
4

votes
2

answer
150

Views

Does the mysql client package version on webserver affect PHP queries?

I have two RHEL servers, one to host the PHP application, one to host the MySQL server. Database server has MySQL Enterprise version 5.6.21 installed. While getting the application server built, I asked that the rpm MySQL-client-advanced-5.6.21-1.el6.x86_64 be installed (to match server), but the ha...
tkwargs
11

votes
2

answer
9.2k

Views

Mono 3.0.0 build on CentOS 6

I recently found myself needing to build Mono 3.0 for CentOS 6, with a request from my infrastructure guy to otherwise keep the system as close to CentOS as possible (i.e. no 3rd-party packages if possible). Because there are currently no Mono 3.0 RPMs that I could find, I went through the exercise...
arootbeer
1

votes
2

answer
142

Views

prevent rpmbuild from reading ~/.rpmmacros

Is there a way to prevent the rpmbuild command from reading the ~/.rpmmacros file? I want to add rpmbuild to a Make target and want to get a consistent build under any user account, regardless of the options somebody might have personally set in the rpmmacros file in his home directory. How can I do...
oliver

View additional questions

Смотреть фильмы онлайн бабушка легкого поведения 2 фильм бесплатно