Latest LQ Deal: Latest LQ Deals
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 12-01-2005, 07:35 AM   #1
LQ Newbie
Registered: Dec 2005
Posts: 1

Rep: Reputation: 0
Exclamation mod_jk file installed by rpm corrupts it

Hello friends,
I have an rpm which copies to /etc/httpd/modules.
However on restarting rpm it complains

Starting httpd: Syntax error on line 1043 of /etc/httpd/conf/httpd.conf:
Cannot load /etc/httpd/modules/ into server: /etc/httpd/modules/ failed to map segment from shared object: Permission denied
I have noted that the size of this file is reduces from 405151 bytes to 179852 bytes.
I am pasting my partial spec file below

%define rcs_home /usr/share/rcs
%define rcs_dist rcserver-%{version}
%define httpd_conf_dir /etc/httpd/conf
%define httpd_modules_dir /etc/httpd/modules
%define httpd_ssl_dir %{httpd_conf_dir}/ssl


%setup -qc



mkdir -p $RPM_BUILD_ROOT%{rcs_home}
mkdir -p $RPM_BUILD_ROOT%{httpd_ssl_dir}
mkdir $RPM_BUILD_ROOT%{httpd_modules_dir}
cd '%{rcs_dist}'

install -m 755 rcs.war $RPM_BUILD_ROOT%{rcs_home}
install -m 755 $RPM_BUILD_ROOT%{rcs_home}
install -m 755 $RPM_BUILD_ROOT%{rcs_home}
install -m 755 $RPM_BUILD_ROOT%{httpd_conf_dir}
cp -f $RPM_BUILD_ROOT%{httpd_modules_dir}/
install -m 755 rcs.cert $RPM_BUILD_ROOT%{httpd_ssl_dir}
install -m 755 rcs.key $RPM_BUILD_ROOT%{httpd_ssl_dir}

echo "Installation of RCS %{version} Complete!!!"

rm -rf $RPM_BUILD_ROOT > /dev/null 2>&1



#%doc '%{ml_doc}/README'
# ReleaseNotes


* Fri Sep 2 2005 John Varghese <>
- Initial Creation

Thanks in advance


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to know the rpm file name which I have installed ? naihe2010 Linux - Software 1 11-12-2005 11:42 PM
How to find an installed .rpm file Gald3r Linux - Newbie 22 09-25-2005 12:19 AM
:mad: Arghhh!!! I can't figure out where this RPM file installed itself! tearinox Linux - Newbie 10 08-03-2003 01:06 PM
Installed RPM/tar file, cant find out how to run it Craneology Linux - Software 4 03-01-2003 08:10 PM
Slack8.1 install corrupts file system :( csDraco_ Slackware 4 01-14-2003 08:52 AM > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 07:19 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration