linux,centos,java,redhat,yumRelated issues-Collection of common programming errors
datacompboy
linux printing ghostscript cups
How to make Times working for printing under linux? I have debian wheezy linux, ghostscript, cups, mscorefonts installed. But when i do print, i get Times too wide, comparing to windows one — letter spacing are too wide.Any way to fix that problem?Printing done from same Java applet and on Win and on Lin. Postscript from Lin variant use Times fonts, postscript from Win variant uses TimesNewRomanPSMT font. Just replacement font name changes it, but not changes anything in output.===============
Peter Lawrey
java linux hadoop arraylist indexoutofboundsexception
I wrote hadoop the program from the following Map phasepublic class ParallelIndexation {public static class Map extends MapReduceBase implementsMapper<LongWritable, Text, Text, LongWritable> {private final static LongWritable zero = new LongWritable(0);private Text word = new Text();public void map(LongWritable key, Text value,OutputCollector<Text, LongWritable> output, Reporter reporter)throws IOException {//DOMConfigurator.configure(“/folder/log4j.xml”);Configuration conf = new Con
Peter Lawrey
java linux unix hadoop mapreduce
I wrote following the hadoop program executing parallel file indexingpackage org.myorg;import java.io.*; import java.util.*; import org.apache.hadoop.fs.*; import org.apache.hadoop.conf.*; import org.apache.hadoop.io.*; import org.apache.hadoop.mapred.*; import org.apache.hadoop.util.*;public class ParallelIndexation {//public static native long Traveser(String Path);//public static native void Configure(String Path);//static {// System.loadLibrary(“nativelib”);//}public static class Map extend
Suge
android c linux framebuffer
I want to capture the screenshot in Android with native code.I read the framebuffer to get raw data, then convert to 24bmp to save as a file. But I just got a fuzzy image, its pixels look dislocated. Could anybody take a look at my code to give any help?3Q.#include <stdlib.h> #include <stdio.h> #include <unistd.h> #include <fcntl.h> #include <sys/mman.h> #include <sys/types.h>#include <sys/types.h> #include <linux/fb.h>#pragma pack(1)typedef struct
Leandro Arruda
ruby-on-rails ruby linux rvm
I am building my Ruby enviroment using rvm 1.23.16 (stable) and could see that Ruby passed of ruby 2.0.0-p247 to ruby-2.0.0-p353, and now if try to install Rails 4.0 rails gem install rails -v 4.0.0 or gem install rails -v 4.0.0 –no-rdoc –no-ri. (for ommit the documentation of installation process, like I did learn recently) I have the following error:Building native extensions. This could take a while… ERROR: Error installing rails:ERROR: Failed to build gem native extension./home/llarrud
Nirmal
java linux spring tomcat
I have working copy of war file which is working fine in windows..Now when i am deploying that war file into linux + tomcat, it’s giving me following stacktrace :2009-11-23 17:06:08,675 INFO (org.springframework.jdbc.datasource.DriverManagerDataSource:153) – Loaded JDBC driver: com.mysql.jdbc.Driver 2009-11-23 17:06:08,771 INFO (org.hibernate.cfg.annotations.Version:15) – Hibernate Annotations 3.4.0.CR1 2009-11-23 17:06:08,790 INFO (org.hibernate.cfg.Environment:520) – Hibernate 3.3.0.CR1 200
user1400538
java php mysql linux fedora
While accessing MySql directly through php, I am able to connect to the database without issues. Whereas, while I try to access MySql indirectly – with the help of a jar file which connects to MySql db, I am not able to connect from php.I have tested this jar file from terminal and it works perfect and connects to the db.In a nutshell, for connecting to the same db:(1) php-mysql connection works perfect (2) jar – mysql connection works perfect (3) php – jar – mysql connection failsCaling shell_e
user3305655
java linux deployment ear weblogic12c
I have this problem, a application EAR with this error, I am a new administrator with Weblogic 12c, someone help me???It is a standard installation Weblogic 12c<13-feb-2014 09H53′ CET> <[STANDBY] ExecuteThread: ‘3’ for queue: ‘weblogic.kernel.Default (self-tuning)’> <> <> <> <1392281637683> org.springframework.beans.factory.access.BootstrapException: Unable to initialize group definition. Group resource name [classpath:beanRefContext.xml], factory key [servicelayer-contex
YumYumYum
java linux networking tcp
The following was running for 1 hour and then closed:public class Mp extends JWindow implements MouseListener, MouseMotionListener {public static Mp j;private int serverPort = 0;private ServerSocket serverSock = null;private Socket sock = null; public static void main(final String[] args) throws IOException, InterruptedException, Exception {j = new Mp();j.setVisible(true);j.waitForConnections();}public void waitForConnections() {while (true) {try {sock = serverSock.accept();System.out.println(“[
user1053031
c++ c linux gcc fcgi
Good afternoon.I’m trying to build 32-bit fcgi++ binaries under my 64-bit env. I configured FCGI++ in the following way:CC=”gcc -m32″ ./configure After typing ‘make’ I see the some building process and the following errors at the end (snippet is here):gcc -m32 -shared fcgio.lo -Wl,–rpath -Wl,/home/eotovchits/Downloads/fcgi/fcgi-2.4.1-SNAP-0311112127/libfcgi/.libs -Wl,–rpath -Wl,/usr/local/lib /home/eotovchits/Downloads/fcgi/fcgi-2.4.1-SNAP-0311112127/libfcgi/.libs/libfcgi.so -Wl,-soname -W
Sergey Chechaev
ruby-on-rails ruby linux oracle centos
I am install Oracle Instant Client: Basic, SDK and SQL*Plus packages v 10.2.0.5.mkdir /opt mkdir /opt/oracle cd /opt/oracle unzip path/to/instantclient-basic-OS-VERSION.zip unzip path/to/instantclient-sdk-OS-VERSION.zip unzip path/to/instantclient-sqlplus-OS-VERSION.zipafter that i set vim ~/.oracle_clientexport ORACLE_HOME=/opt/oracle/export TNS_ADMIN=/admin/network/export LD_LIBRARY_PATH=”/opt/oracle/instantclient_10_2/”echo “source ~/.oracle_client” >> ~/.bash_profile source ~/.bash_profilecr
airbjorn
c linux gcc centos cross-compiling
I have a 32bit development machine based on CentOS6 properly configured for my needs, but now have to compile parts of my code for usage on 64bit Linux. It is about a native library (.so).With my 32bit CPU and 32bit OS, I try to compile the library for a 64bit OS environment. For getting the proper tools therefore, I installed the RPM packages x86_64-linux-gnu-gcc and binutils-x86_64-linux-gnu. Instead of gcc I’m using x86_64-linux-gnu-gcc now, but the compilation fails.Furthermore, when reading
Dimbuddha
centos metasploit
I’m midprocess installing metasploit on my Centos 5.9 box. While performing the bundle install I get an error installing pcaprub which I’ve tried running solo as gem install pcaprub and recorded here. libpcap-devel-0.9.4-15.el5.i386.rpm is installed. I’ve lurked stackoverflow a great deal and sadly this is my first post. I’m sure to be missing something cornerstone to my issue with what logs I’ve posted so please don’t hesitate to illuminate this.gem install pcaprub Building native extensions.
Cilvic
sql-server jdbc centos
I’m trying to run an example of the JDBC Microsoft SQL Connection described here import java.sql.*;public class TestAzure {public static void main(String[] args) {try {Class.forName(“com.microsoft.sqlserver.jdbc.SQLServerDriver”);}// Handle any errors that may have occurred.catch (Exception e) {e.printStackTrace();}finally {if (rs != null) try { rs.close(); } catch(Exception e) {}if (stmt != null) try { stmt.close(); } catch(Exception e) {}if (con != null) try { con.close(); } catch(Exception e)
mindtonic
ruby-on-rails ruby imagemagick centos rmagick
I am having difficulty installing the rmagick gem on CentOS. I am getting the following error$ gem install rmagick Building native extensions. This could take a while… ERROR: Error installing rmagick: ERROR: Failed to build gem native extension./home/bn/.rvm/rubies/ruby-1.9.3-p327/bin/ruby extconf.rb checking for Ruby version >= 1.8.5… yes checking for gcc… yes checking for Magick-config… yes checking for ImageMagick version >= 6.4.9… yes checking for HDRI disabled version of I
evgeniy44
tomcat tomcat6 centos port
I want to start Tomcat 6.0.29 on port 80. My OS is CentOS release 5.5 (Final) I changed following line in $TOMCAT_HOME/conf/server.xml <Connector connectionTimeout=”20000″ port=”8080″ protocol=”HTTP/1.1″ redirectPort=”8443″/>to<Connector connectionTimeout=”20000″ port=”80″ protocol=”HTTP/1.1″ redirectPort=”8443″/>Then I run command:sudo /etc/init.d/tomcat6 startIn file $TOMCAT_HOME/logs/catalina.log I found such exceptions:java.net.BindException: Permission denied <null>:80at o
st0rk
ruby-on-rails ruby linux ruby-on-rails-4 centos
I’m trying to install therubyracer on Amazon Linux AMI (~centOS).[www@ip-10-0-0-125 root]$ gem install therubyracer Fetching: libv8-3.16.14.3-x86_64-linux.gem (100%) Successfully installed libv8-3.16.14.3-x86_64-linux Building native extensions. This could take a while… ERROR: Error installing therubyracer:ERROR: Failed to build gem native extension./home/www/.rvm/rubies/ruby-2.1.1/bin/ruby extconf.rb checking for main() in -lpthread… yes creating Makefilemake “DESTDIR=” cleanmake “DESTDIR
Dan Carlson
tomcat grails imagemagick centos war
Being an (extreme) newbie to grails/groovy/maven/tomcat etc, I endeavoured to set up a CentOS box to run a grails app. I am using VMWare Fusion, CentOS 5.8, Grails 1.3.2, ImageMagick-6.2.8, Tomcat 6.0.35. I opted to install Sun’s Java.After generating my War file, I copy it into Tomcat’s webapps directory. It’s at that point that I see the following error generated in catalina.out:2012-03-28 08:00:20,676 [ContainerBackgroundProcessor[StandardEngine[Catalina]]] ERROR context.ContextLoader – Cont
welkinwalker
eclipse windows-7 centos xming
Xming was installed in win7 correctly,and the DISPLAY was set correctly too. the error output is as follows:(Eclipse:20845): GLib-GObject-WARNING **: invalid (NULL) pointerinstance(Eclipse:20845): GLib-GObject-CRITICAL **: g_signal_connect_data:assertion `G_TYPE_CHECK_INSTANCE (instance)’ failed(Eclipse:20845): Gtk-CRITICAL **: gtk_settings_get_for_screen:assertion `GDK_IS_SCREEN (screen)’ failed(Eclipse:20845): Gtk-WARNING **: Screen for GtkWindow not set; youmust always set a screen for a GtkW
AhAd
java mysql tomcat jdbc centos
I am trying to deploy a webapp on tomcat6/CentOS5I did the configuration, but when I try to start the webapp it fails so as the guys over here said a made some modification in longing system and here is the new logs.The last lines of /usr/local/tomcat/logs/catalina.out are:————- org.apache.catalina.core.ApplicationContext log INFO: HTMLManager: start: Starting web application at ‘/’ ————- org.apache.catalina.core.StandardContext listenerStart SEVERE: Error configuring application
Simon
java android
Below is the issue i am facing with urbanairship registerationIt happens some of times in between, so don’t tell that provide your manifest as it works some of the times.below is the registration codeUAIntentReceiver.emailIdForGCM = userId; AirshipConfigOptions options = AirshipConfigOptions.loadDefaultOptions(ActivationApp.instance);UAirship.takeOff(ActivationApp.instance, options);PushManager.enablePush();PushManager.shared().setIntentReceiver(UAIntentReceiver.class);01-13 15:02:33.101: W/dalv
user268397
java android android-layout android-fragments android-maps-v2
I’m getting an error with my SupportFragment code. It’s having issues inflating the XML. It crashes when the activity starts. Here is the Java code I’m using:@Override protected void onCreate(Bundle load) {super.onCreate(load);setContentView(R.layout.map);mMapView = ((SupportMapFragment) getSupportFragmentManager().findFragmentById(R.id.myMapView)).getMap();mMapscreen = findViewById(R.id.mapScreen);mMapscreen.setDrawingCacheEnabled(true);mUnits = new UnitsI18n(this);mLoggerServiceManager = ne
user1456776
java android android-contacts contact contactscontract
I am experiencing some unusual behaviour from my app – I cannot fathom why, but when a user selects a contact from my listview, the contact which is later retrieved from the handset is somehow not the one the user chose…UPDATED New code, still not working.public class nominateContactsActivity extends ListActivity { public String strName; public String strTelNo; public static final String PREFS_NAME = “locationPrefs”; public static final ArrayList<NameValuePair> contactsArray = new ArrayL
user1841232
java android reflection
I am trying to learn more some more complicated Android/Java techniques, and have come a cropper on some reflection code.I tried to make the most simple example I could – that would create a GamePieces or EnemyPieces object depending on an integer entered.By using Log statements I can see that the constructor is found and correctly named – but it still gives me a nullpointer error which I am assuming is because the objects are not created. I have gone round the houses several times. Could someon
aponomarenko
java jboss upgrade jboss6.x
I’m trying to migrate an application running on JBoss 4.2.2.GA to JBoss 6.0.0.M2 I give you some log to explain my problem :boot.log :2010-03-16 09:59:29,406 ERROR [org.jboss.system.server.profileservice.ProfileServiceBootstrap] (Thread-2) Failed to load profile: Summary of incomplete deployments (SEE PREVIOUS ERRORS FOR DETAILS):DEPLOYMENTS IN ERROR:Deployment “vfszip:/G:/jboss-6.0.0.M2/server/default/deploy/serveur.jar/” is in error due to the following reason(s): java.lang.IllegalStateExcepti
siri
java mysql gwt blob code-access-security
I am not good at GWT. I connected my eclipse to hosting server database through Database development perspective successfully. I am able to see tables of my hosting database from the eclipse window. I then tried to run Blob Example program in following blog.(code is same)http://www.fishbonecloud.com/2010/12/tutorial-gwt-application-for-storing.htmlhere in getPicture() method of BlobServiceImpl, I tried to store ‘l’ value to my hosting database table.public Picture getPicture(String id) {long
Whiz
java android eclipse
I followed this tutorial to implement a tab layout to my android application. I already have an existing android app that I’m deeloping so I had to adjust the tutorial to it a bit. I’m pretty sure I did everything exactly as I’m supposed to but everytime I click the button that’s supposed to open the tab layout activity, my app crashes.Main tabLayout activity:public class Bifrosttabs extends TabActivity {@Override protected void onCreate(Bundle savedInstanceState) {super.onCreate(savedInstanceSt
user792589
java android exception
First here is the code of the class that is bringing me trouble (its a class defined in a class):public static class MAbilitiesParseStruct{private List<CardView> cards;private List<String> abilities;private List<Boolean> ask;private List<Integer> regtype; //Used for regitering events.//private List<Integer> pos;private int current = 0;//public MAbilitiesParseStruct(List<CardView> cvs, List<String> abs, List<Boolean> asks, List<Integer> p){pub
Rasit Aklar
java android
I currently don’t have 3g on the phone, I’m trying to do all this through WIFI, is there any suggestions to do that? I think that is why I’m getting this error. Here is the Async class;class CreateNewProduct extends AsyncTask<String, String, String> {/*** Before starting background thread Show Progress Dialog* */@Overrideprotected void onPreExecute() {super.onPreExecute();pDialog = new ProgressDialog(NewProductActivity.this);pDialog.setMessage(“Creating Product..”);pDialog.setIndeterminate
Marl
java c++ netbeans jni
So I created a JNI-C++ dll for Microsoft Sapi 5.4. The program executes smoothly. But even if I call the System.exit(int) in the main of the java program, the program still remain running. I’m using netbeans for the java coding. Additionally, the Runtime.getRuntime().addShutdownHook() is never called. Any pointer why this keeps happening.UPDATE: the problem is not with the shutdownhook. The problem occurred whenever a pointer is being delete. Whenever the deleteTTS and the destructor call the de
ddri
jboss7.x redhat wildfly
I’d like to know how to use the CLI to add a new secret value attribute to the server-identities attribute for a Managed Domain instance.While adding a new user via the command line we are recommended to add the secret value to the server instance. But there’s not a lot of information given on how to do that. We know that this occurs in the host-master.xml file for instance, and that I understand that I can edit this in the XML. An example is as follows:<management><security-realms>&
shingara
mysql ruby-on-rails redhat
When trying to install rails 3.0 on a redhat 4.0 server, the ‘bundle install’ fails during the installation of mysql2.Is it possible to solve this?’bundle install’ command returns the following output:~/rails/trial# bundle install Fetching source index for http://rubygems.org/ Using rake (0.8.7) Using abstract (1.0.0) Using activesupport (3.0.0) Using builder (2.1.2) Using i18n (0.4.1) Using activemodel (3.0.0) Using erubis (2.6.6) Using rack (1.2.1) Using rack-mount (0.6.13) Using rack
PaoloVictor
java apache tomcat redhat
I have my website running on Tomcat. When I try to access one of my pages to do a status check, it checks on a particular JAR file. On Red Hat 5, but not on Windows, I get the following error:java.lang.ClassCastException: LoggingPasshashInfo cannot be cast to PasshashInfoI got this JAR from a third party and am using it just as I got it. According to Apache’s tatus page, the RH setup is on Tomcat version 7.0.22 and JVM version 1.6.0_27-b07. Windows is on Tomcat 7.0.19 and JVM 1.6.0_26-b03. Red H
rr9031
ruby-on-rails redhat gitorious
I am trying to install Gitorious on Redhat 5. I am following these instructions: https://gitorious.org/gitorious/pages/Rhel_InstallationOne of the steps is: rake db:create RAILS_ENV=production That command fails with the foll error message:[ gitorious ] sudo rake db:create RAILS_ENV=production Could not find libdolt-0.33.14 in any of the sources Run `bundle install` to install missing gems.When I ran ‘bundle install’ it fails with:0: makeup (0.4.4) from /usr/local/lib/ruby/gems/2.0.0/specific
Klam
linux mysql redhat ruby
I am having an absurdly difficult time getting MySQL-Ruby to install on RedHat 4 using Ruby 1.9.2. I am behind a company proxy that prevents pretty much any package tool from connecting to external repositories so “gem install mysql” isn’t going to cut it. I have tried installing the mysql-ruby gem locally but it fails with a mysterious:$gem install mysql-2.8.1.gem Building native extensions. This could take a while… ERROR: Error installing mysql-2.8.1.gem:ERROR: Failed to build gem native
mrchampe
redhat boot kickstart
On a brand new (just unboxed) Dell Precision 7500 computer, I began a kickstart using a red hat boot disk and a kickstart file hosted at an http address.There is a picture of the full error below with trace informationI believe this is different than the other questions relating to kernel panic errors.What I would like to know isWhat causes the kernel panic How does one fix this such that the kickstart finishesAdditional information can be provided as necessary.Edit:This article indicates the pr
estani
python bash centos debian redhat
I can’t open a bash shell in CentOS with python 2.7, I’m able to do so in python 2.6.6 Debian. What has changed?I tried a simple bash process substitution:from subprocess import Popen cmd=”””cat <<‘EOF’ this is test $unchanged EOF “”” Popen(‘cat <(%s)’ % cmd, shell=True, executable=’/bin/bash’)In Debian this works, in CentOS it doesn’t:/bin/sh: -c: line 0: syntax error near unexpected token `(‘ /bin/sh: -c: line 0: `cat <(cat <<‘EOF”The differences are:Debian: Python 2.6.6, /b
New2Lin
linux gcc redhat
I have some troubles to install GCC i686 on a RHEL X86_64. Indeed, I have to build some 32bit softwares and shared libraries on this platform. I can build these softwares and libraries on 32bit platforms (linux or windows). My questions are at the end of this post.My first problem was this error: (during a buil, under eclipse -helios)In file included from /usr/include/stdlib.h:314,from ../../../../../XXXX.h:19,from /XXXX.c:33: /usr/include/sys/types.h:150: error: duplicate ‘unsigned’ /usr/incl
anish
c linux operating-system redhat syscall
I am using RHEL 4 i am using syscall stat as follows:-if (stat (“file”,&stat_obj)){if (errno == ENOENT){printf(“File not found”);}else{printf(“Unexpected error occured %d “,errno);}}sometimes i get error message as “”Unexpected error occured 0″That means i get error as “0” . i checked file permissions that are okwhat does that mean? I am not able to understand why sometimes this is happening ?Any suggestions?
vfclists
centos redhat selinux
Does SELinux make Redhat more secure?I can’t remember the number of times when I have disabled SELinux because it kept frustrating my ability to get stuff running. Lots of times to there was no obvious reason why stuff wasn’t working and I had to Google to discover why.Given that most casual users will disable or weaken security when it appears to get in the way, with the exclusion of serious, enterprisey Redhat users, is SELinux really useful?PS. Is there some tool that helps you log, track and
Michael Hampton
mysql yum update percona
This is a Canonical Question about OpenSSL binary compatibility issues between Red Hat Enterprise Linux (and its derivatives) 6.4 and 6.5.This issue applies to a wide variety of third party packages, not only the ones listed in the original question.I had Percona 5.5 installed and am trying to upgrade to 5.6 but I’m running into unexpected issues and I’m stuck on how to resolve them.I followed the instructions at http://www.percona.com/doc/percona-server/5.6/upgrading_guide_55_56.htmlAnd removed
Aristotle
linux php yum update
Note: I have an application that requires 5.2, yet my server presently runs 5.1.6.I’m very new to server-administration, but I was thinking the task of updating PHP to 5.2+ should be relatively simple. Online I found that the following was allegedly sufficient to do this:yum update phpBut when I run this, the following is output:[root@ip-XXX-XXX-XXX-XXX /]# php -v PHP 5.1.6 (cli) (built: Jan 13 2010 17:13:05) Copyright (c) 1997-2006 The PHP Group Zend Engine v2.1.0, Copyright (c) 1998-2006 Zend
pimmhogeling
centos yum
Webtatic has two yum repositories, one for CentOS 5 and one for 6. Both work on CentOS 6, but I’m having problems switching from the one to the other.(Should you be interested in why I want to switch: a production server currently uses the former, but requires packages that only the latter provides.)Installing the one repository provides a package called php54w:rpm -Uvh http://mirror.webtatic.com/yum/el6/latest.rpm yum list php54w(Output: php54w.x86_64 5.4.15-1.w6 webtatic)After what I belie
ryber
rpm yum
Let’s pretend I have a small set of rpm dependencies like this:A/ \ B ->CSo A needs B and C, B needs C, C is alone.In the rpm I can specify these dependencies and when I install A it will also install B and C, however it seems to do it in a somewhat random order, sometimes It will do B first and sometimes C. If it does B first we might get an error because C does not exist yet.So the RPM gives me the ability to set an order. But what if my graph is not so simple? What if it’s 200 rpms with a
Dave
packages yum
I’m reading some readmes and they contain some packages with “-devel”, and some without. What is the difference?sudo yum install gcc(vs)sudo yum install pcre-develWhat would happen if I installed “sudo yum install pcre” instead?
YumYumYum
fedora centos rhel yum python
RHEL 6.2 i have python 2.6 but i need default python 2.7 using yum packaging (so that nothing goes messed up, cause its a heavy duty working system, all i need the python 2.7 on it, without messing up).I did following but still i see python version as 2.6, any pointer to this please?$ cat /etc/issue Red Hat Enterprise Linux Server release 6.2 (Santiago) Kernel \r on an \m$ python –version Python 2.6.6$ sudo sh -c ‘wget -qO- http://people.redhat.com/bkabrda/scl_python27.repo >> /etc/yum.re
Steven D
fedora yum
When I run yum update, I receive the following error:[root@chandru chandru.math]# yum update Loaded plugins: presto, refresh-packagekit, remove-with-leaves Setting up Update Process Resolving Dependencies –> Running transaction check –> Processing Dependency: kdebase-runtime-libs(x86-32) = 4.5.3-3.fc13 for package: kdebase-runtime-4.5.3-3.fc13.i686 —> Package kdebase-runtime-libs.i686 0:4.5.4-1.fc13 set to be updated –> Finished Dependency Resolution Error: Package: kdebase-runt
One Two Three
centos yum dependencies
I’m trying to install a package that depends on Java 1.7 with yum. I do I have Java 7 on my machine:#echo $JAVA_HOME $JAVA_HOME /usr/lib/jvm/jre-1.7.0-openjdk.x86_64 # java -version java version “1.7.0_09-icedtea” OpenJDK Runtime Environment (rhel-2.3.4.1.el6_3-x86_64) OpenJDK 64-Bit Server VM (build 23.2-b09, mixed mode)But yum still complains about not finding java 1.7:–> Finished Dependency Resolution Error: Package: <some package>Requires: jre >= 1.7.0Available: java-1.5.0-gcj-1
Tony
linux redhat yum rhel5
I have a redhat server that isnt resolving dependencies correctly.I want to install httpd via yum “yum install httpd” and it installs correctly, but when i go to start httpd I get the following error:/sbin/service httpd restartStopping httpd: [FAILED] Starting httpd: /usr/sbin/httpd: error while loading shared libraries: libaprutil-1.so.0: cannot open shared object file: No such file or directory[FAILED]It is missing the dependency for apr-util package.
Adrian Ber
redhat yum install tomcat7
I’m trying to install Tomcat7 on an Amazon EC2 instance, but it doesn’t work. Below is the console output:[ec2-user@ip-XXX ~]$ sudo yum install tomcat7 Loaded plugins: amazon-id, rhui-lb, security Setting up Install Process No package tomcat7 available. Error: Nothing to doAdditionally I would also like to install the Tomcat connector native libraries.[ec2-user@ip-XXX ~]$ sudo yum repolist Loaded plugins: amazon-id, rhui-lb, security rhui-REGION-client-config-server-6 | 2.6 kB 00:00 rhui-REGI
Web site is in building