Bluehost.com Web Hosting $6.95

[Snort-users] Problem installing Snort with PHP -please help

This is a discussion on [Snort-users] Problem installing Snort with PHP -please help within the Snort forums, part of the System Security and Security Related category; This message is in MIME format. Since your mail reader does not understand this format, some or all of this ...


Go Back   Usenet Forums > System Security and Security Related > Snort

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 08-03-2004
Juan Fernandez
 
Posts: n/a
Default [Snort-users] Problem installing Snort with PHP -please help

This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

------_=_NextPart_001_01C47933.82C6C2FC
Content-Type: text/plain

Hi,



I am installing snort on a Red Hat 9 machine according to Snort, Apache,
PHP, MySQL and Acid

Install on RH9.0 by Patrick Harper which I downloaded in the snort web site.



I have a problem with php 4.3.3.



After the install and editing of /www/conf/httpd.conf I receive the
following error when I try to start /etc/rc5.d/S85httpd start



[root@linuxmgr root]# /etc/rc5.d/S85httpd start

Syntax error on line 231 of /www/conf/httpd.conf:

Cannot load /www/modules/libphp4.so into server: /www/modules/libphp4.so:
cannot open shared object file: No such file or directory



This is the 231 line in /www/conf/httpd.conf :



LoadModule php4_module modules/libphp4.so



And those are the files I have in /www/module directory :



[root@linuxmgr root]# ls -al /www/modules

total 10980

drwxr-xr-x 2 root root 4096 Aug 2 17:57 .

drwxr-xr-x 16 root root 4096 Aug 2 17:57 ..

-rw-r--r-- 1 root root 8217 Aug 2 17:42 httpd.exp

-rw-r--r-- 1 root root 11198994 Aug 2 17:57 libphp4.a

-rw-r--r-- 1 root root 740 Aug 2 17:57 libphp4.la



I tried replacing the 3 files in the directory instead of libphp4.so but it
didn't help !!! I got another error when I tried to start http.



Please Help !!



Thanks






------_=_NextPart_001_01C47933.82C6C2FC
Content-Type: text/html
Content-Transfer-Encoding: quoted-printable

<html xmlns:o=3D"urn:schemas-microsoft-com:office:office" =
xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns=3D"http://www.w3.org/TR/REC-html40">

<head>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Dus-ascii">


<meta name=3DGenerator content=3D"Microsoft Word 11 (filtered medium)">
<style>
<!--
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
text-align:right;
direction:rtl;
unicode-bidi:embed;
font-size:12.0pt;
font-family:"Times New Roman";}
a:link, span.MsoHyperlink
{color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{color:purple;
text-decoration:underline;}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:Arial;
color:windowtext;}
@page Section1
{size:595.3pt 841.9pt;
margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
{page:Section1;}
-->
</style>

</head>

<body lang=3DEN-US link=3Dblue vlink=3Dpurple>

<div class=3DSection1 dir=3DRTL>

<p class=3DMsoNormal dir=3DLTR =
style=3D'text-align:left;direction:ltr;unicode-bidi:
embed'><font size=3D3 face=3DArial><span =
style=3D'font-size:12.0pt;font-family:Arial'>Hi,<o:p></o:p></span></font=
></p>


<p class=3DMsoNormal dir=3DLTR =
style=3D'text-align:left;direction:ltr;unicode-bidi:
embed'><font size=3D3 face=3DArial><span =
style=3D'font-size:12.0pt;font-family:Arial'><o:p>&nbsp;</o:p></span></f=
ont></p>

<p class=3DMsoNormal dir=3DLTR =
style=3D'text-align:left;text-autospace:none;
direction:ltr;unicode-bidi:embed'><font size=3D3 face=3DArial><span
style=3D'font-size:12.0pt;font-family:Arial'>I am installing snort on a =
Red Hat 9
machine according to </span></font><b><span =
style=3D'font-weight:bold'>Snort,
Apache, PHP, MySQL and Acid<o:p></o:p></span></b></p>

<p class=3DMsoNormal dir=3DLTR =
style=3D'text-align:left;text-autospace:none;
direction:ltr;unicode-bidi:embed'><b><font size=3D3 face=3D"Times New =
Roman"><span
style=3D'font-size:12.0pt;font-weight:bold'>Install on =
RH9.0</span></font></b> by
<b><span style=3D'font-weight:bold'>Patrick Harper</span></b><font =
size=3D2><span
style=3D'font-size:10.0pt'> which I downloaded in the snort web =
site.<o:p></o:p></span></font></p>

<p class=3DMsoNormal dir=3DLTR =
style=3D'text-align:left;text-autospace:none;
direction:ltr;unicode-bidi:embed'><font size=3D2 face=3D"Times New =
Roman"><span
style=3D'font-size:10.0pt'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal dir=3DLTR =
style=3D'text-align:left;text-autospace:none;
direction:ltr;unicode-bidi:embed'><font size=3D3 face=3D"Times New =
Roman"><span
style=3D'font-size:12.0pt'>I have a problem with php =
4.3.3.<o:p></o:p></span></font></p>

<p class=3DMsoNormal dir=3DLTR =
style=3D'text-align:left;text-autospace:none;
direction:ltr;unicode-bidi:embed'><font size=3D3 face=3D"Times New =
Roman"><span
style=3D'font-size:12.0pt'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal dir=3DLTR =
style=3D'text-align:left;text-autospace:none;
direction:ltr;unicode-bidi:embed'><font size=3D3 face=3D"Times New =
Roman"><span
style=3D'font-size:12.0pt'>After the install and editing of
/www/conf/httpd.conf&nbsp; I receive the following error when I try to =
start
/etc/rc5.d/S85httpd start<o:p></o:p></span></font></p>

<p class=3DMsoNormal dir=3DLTR =
style=3D'text-align:left;text-autospace:none;
direction:ltr;unicode-bidi:embed'><font size=3D3 face=3D"Times New =
Roman"><span
style=3D'font-size:12.0pt'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal dir=3DLTR =
style=3D'text-align:left;text-autospace:none;
direction:ltr;unicode-bidi:embed'><font size=3D3 face=3D"Times New =
Roman"><span
style=3D'font-size:12.0pt'>[root@linuxmgr root]# /etc/rc5.d/S85httpd =
start</span></font><span
lang=3DHE dir=3DRTL><o:p></o:p></span></p>

<p class=3DMsoNormal dir=3DLTR =
style=3D'text-align:left;text-autospace:none;
direction:ltr;unicode-bidi:embed'><font size=3D3 face=3D"Times New =
Roman"><span
style=3D'font-size:12.0pt'>Syntax error on line 231 of =
/www/conf/httpd.conf:</span></font><span
lang=3DHE dir=3DRTL><o:p></o:p></span></p>

<p class=3DMsoNormal dir=3DLTR =
style=3D'text-align:left;text-autospace:none;
direction:ltr;unicode-bidi:embed'><font size=3D3 face=3D"Times New =
Roman"><span
style=3D'font-size:12.0pt'>Cannot load /www/modules/libphp4.so into =
server: /www/modules/libphp4.so:
cannot open shared object file: No such file or =
directory<o:p></o:p></span></font></p>

<p class=3DMsoNormal dir=3DLTR =
style=3D'text-align:left;text-autospace:none;
direction:ltr;unicode-bidi:embed'><font size=3D3 face=3D"Times New =
Roman"><span
style=3D'font-size:12.0pt'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal dir=3DLTR =
style=3D'text-align:left;text-autospace:none;
direction:ltr;unicode-bidi:embed'><font size=3D3 face=3D"Times New =
Roman"><span
style=3D'font-size:12.0pt'>This is the 231 line in =
/www/conf/httpd.conf&nbsp; :<o:p></o:p></span></font></p>

<p class=3DMsoNormal dir=3DLTR =
style=3D'text-align:left;text-autospace:none;
direction:ltr;unicode-bidi:embed'><font size=3D3 face=3D"Times New =
Roman"><span
style=3D'font-size:12.0pt'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal dir=3DLTR =
style=3D'text-align:left;text-autospace:none;
direction:ltr;unicode-bidi:embed'><font size=3D3 face=3D"Times New =
Roman"><span
style=3D'font-size:12.0pt'>LoadModule php4_module =
modules/libphp4.so</span></font><o:p></o:p></p>

<p class=3DMsoNormal dir=3DLTR =
style=3D'text-align:left;text-autospace:none;
direction:ltr;unicode-bidi:embed'><font size=3D3 face=3D"Times New =
Roman"><span
style=3D'font-size:12.0pt'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal dir=3DLTR =
style=3D'text-align:left;text-autospace:none;
direction:ltr;unicode-bidi:embed'><font size=3D3 face=3D"Times New =
Roman"><span
style=3D'font-size:12.0pt'>And those are the files I have in =
/www/module directory
:<o:p></o:p></span></font></p>

<p class=3DMsoNormal dir=3DLTR =
style=3D'text-align:left;text-autospace:none;
direction:ltr;unicode-bidi:embed'><font size=3D3 face=3D"Times New =
Roman"><span
style=3D'font-size:12.0pt'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal dir=3DLTR =
style=3D'text-align:left;text-autospace:none;
direction:ltr;unicode-bidi:embed'><font size=3D3 face=3D"Times New =
Roman"><span
style=3D'font-size:12.0pt'>[root@linuxmgr root]# ls -al =
/www/modules</span></font><font
size=3D2><span lang=3DHE dir=3DRTL =
style=3D'font-size:10.0pt'><o:p></o:p></span></font></p>

<p class=3DMsoNormal dir=3DLTR =
style=3D'text-align:left;text-autospace:none;
direction:ltr;unicode-bidi:embed'><font size=3D3 face=3D"Times New =
Roman"><span
style=3D'font-size:12.0pt'>total 10980</span></font><font =
size=3D2><span lang=3DHE
dir=3DRTL style=3D'font-size:10.0pt'><o:p></o:p></span></font></p>

<p class=3DMsoNormal dir=3DLTR =
style=3D'text-align:left;text-autospace:none;
direction:ltr;unicode-bidi:embed'><font size=3D3 face=3D"Times New =
Roman"><span
style=3D'font-size:12.0pt'>drwxr-xr-x&nbsp;&nbsp;&nbsp; 2 =
root&nbsp;&nbsp;&nbsp;&nbsp;
root&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs p; 4096 Aug&nbsp; 2 =
17:57 .</span></font><font
size=3D2><span lang=3DHE dir=3DRTL =
style=3D'font-size:10.0pt'><o:p></o:p></span></font></p>

<p class=3DMsoNormal dir=3DLTR =
style=3D'text-align:left;text-autospace:none;
direction:ltr;unicode-bidi:embed'><font size=3D3 face=3D"Times New =
Roman"><span
style=3D'font-size:12.0pt'>drwxr-xr-x&nbsp;&nbsp; 16 =
root&nbsp;&nbsp;&nbsp;&nbsp;
root&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs p; 4096 Aug&nbsp; 2 =
17:57 ..</span></font><font
size=3D2><span lang=3DHE dir=3DRTL =
style=3D'font-size:10.0pt'><o:p></o:p></span></font></p>

<p class=3DMsoNormal dir=3DLTR =
style=3D'text-align:left;text-autospace:none;
direction:ltr;unicode-bidi:embed'><span dir=3DLTR></span><font size=3D3
face=3D"Times New Roman"><span style=3D'font-size:12.0pt'><span =
dir=3DLTR></span>-rw-r--r--&nbsp;&nbsp;&nbsp;
1 root&nbsp;&nbsp;&nbsp;&nbsp;
root&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs p; 8217 Aug&nbsp; 2 =
17:42 httpd.exp</span></font><font
size=3D2><span lang=3DHE dir=3DRTL =
style=3D'font-size:10.0pt'><o:p></o:p></span></font></p>

<p class=3DMsoNormal dir=3DLTR style=3D'text-align:left;text-autospace:n=
one;
direction:ltr;unicode-bidi:embed'><span dir=3DLTR></span><font size=3D3
face=3D"Times New Roman"><span style=3D'font-size:12.0pt'><span =
dir=3DLTR></span>-rw-r--r--&nbsp;&nbsp;&nbsp;
1 root&nbsp;&nbsp;&nbsp;&nbsp; root&nbsp;&nbsp;&nbsp;&nbsp; 11198994 =
Aug&nbsp; 2
17:57 libphp4.a</span></font><font size=3D2><span lang=3DHE dir=3DRTL
style=3D'font-size:10.0pt'><o:p></o:p></span></font></p>

<p class=3DMsoNormal dir=3DLTR =
style=3D'text-align:left;text-autospace:none;
direction:ltr;unicode-bidi:embed'><span dir=3DLTR></span><font size=3D3
face=3D"Times New Roman"><span style=3D'font-size:12.0pt'><span =
dir=3DLTR></span>-rw-r--r--&nbsp;&nbsp;&nbsp;
1 root&nbsp;&nbsp;&nbsp;&nbsp;
root&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs p;&nbsp; 740 =
Aug&nbsp; 2 17:57
libphp4.la<o:p></o:p></span></font></p>

<p class=3DMsoNormal dir=3DLTR =
style=3D'text-align:left;text-autospace:none;
direction:ltr;unicode-bidi:embed'><font size=3D3 face=3D"Times New =
Roman"><span
style=3D'font-size:12.0pt'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal dir=3DLTR =
style=3D'text-align:left;text-autospace:none;
direction:ltr;unicode-bidi:embed'><font size=3D3 face=3D"Times New =
Roman"><span
style=3D'font-size:12.0pt'>I tried replacing the 3 files in the =
directory instead
of libphp4.so but it didn't help !!! I got another error when I tried =
to
start http.<o:p></o:p></span></font></p>

<p class=3DMsoNormal dir=3DLTR =
style=3D'text-align:left;text-autospace:none;
direction:ltr;unicode-bidi:embed'><font size=3D3 face=3D"Times New =
Roman"><span
style=3D'font-size:12.0pt'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal dir=3DLTR =
style=3D'text-align:left;text-autospace:none;
direction:ltr;unicode-bidi:embed'><font size=3D3 face=3D"Times New =
Roman"><span
style=3D'font-size:12.0pt'>Please Help !!<o:p></o:p></span></font></p>

<p class=3DMsoNormal dir=3DLTR =
style=3D'text-align:left;text-autospace:none;
direction:ltr;unicode-bidi:embed'><font size=3D3 face=3D"Times New =
Roman"><span
style=3D'font-size:12.0pt'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal dir=3DLTR =
style=3D'text-align:left;text-autospace:none;
direction:ltr;unicode-bidi:embed'><font size=3D3 face=3D"Times New =
Roman"><span
style=3D'font-size:12.0pt'>Thanks<o:p></o:p></span></font></p>

<p class=3DMsoNormal dir=3DLTR =
style=3D'text-align:left;text-autospace:none;
direction:ltr;unicode-bidi:embed'><font size=3D3 face=3D"Times New =
Roman"><span
style=3D'font-size:12.0pt'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal dir=3DRTL><font size=3D3 face=3D"Times New =
Roman"><span lang=3DHE
style=3D'font-size:12.0pt'><o:p>&nbsp;</o:p></span></font></p>

</div>

</body>

</html>

------_=_NextPart_001_01C47933.82C6C2FC--


-------------------------------------------------------
This SF.Net email is sponsored by OSTG. Have you noticed the changes on
Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now,
one more big change to announce. We are now OSTG- Open Source Technology
Group. Come see the changes on the new OSTG site. www.ostg.com
_______________________________________________
Snort-users mailing list
Snort-users@lists.sourceforge.net
Go to this URL to change user options or unsubscribe:
https://lists.sourceforge.net/lists/...fo/snort-users
Snort-users list archive:
http://www.geocrawler.com/redir-sf.p...st=snort-users
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT +1. The time now is 01:56 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0