- This topic is empty.
November 25, 2011 at 7:30 pm #43202fadjar340Member
I installed snort following the patch_detail, but no luck.
There are info no files as below:
/sbin/service: line 6: /etc/rc.d/init.d/snort: No such file or directory
/sbin/service: line 6: exec: /etc/rc.d/init.d/snort: cannot execute: No such file or directory
Fadjar TMarch 18, 2013 at 8:56 pm #52083earendilMember
I’m a new user of ZeroShell. I’ve the same problem when using any version of ZS 2.0. Does anybody have an idea where we can find a patch for more recents versions than beta12?
Francois DApril 8, 2013 at 2:24 pm #52084chungvokyMember
After few days looking into patch downloaded from https://www.zeroshell.org/patch-details/#DA12, I found the way to install this patch on ZS2.0. I’m using ZS2.0RC2. You can try that as following steps:
Download and extract patch:
tar xvfj DA12-Snort-2.8.5-1.0.beta12.tar.bz2
Edit install script to match release version:
Find and replace 1.0 by 2.0 as bellow:
if ! ls /Database/opt/2.0/*/db/$D/Description 2>/dev/null > /dev/null ; then
echo "ABORTED: dependence failed: the update $D is required. Please install it."
Change current directory to tars directory:
Uncompressed tar file in this directory:
tar -xjf DA12.tar.bz2
Move to opt directory:
Change name of 1.0 directory to 2.0 and subdirectory beta12 to RC2 to match ZS release version:
mv 1.0 2.0
mv beta12 RC2
Open file RC2/packages/bin/pcre-config:
and replace line as bellow:
Open file RC2/packages/etc/snort.conf:
Find and replace all lines content ‘1.0/beta12’ by ‘2.0/RC2’ using replace function of vim:
Now go to RC2/tars directory:
Extract tar file in this:
tar -xzf DA12-files.tar.gz
Recreate link of snort.conf:
rm -f snort.conf
ln -s /Database/opt/2.0/RC2/packages/etc/snort.conf snort.conf
Make a new directory and move init.d directory into it:
mv init.d rc.d
Now remove old tar file, recreate new one and remove directory:
rm -f DA12-files.tar.gz
tar -czf DA12-files.tar.gz etc
rm -rf etc
And now, recreate DA12.tar.bz2 file:
rm -f DA12.tar.bz2
tar -cjf DA12.tar.bz2
rm -rf opt
And run install script:
You can using web face to view log with session snort.
- You must be logged in to reply to this topic.