User Tools

Site Tools


en:v2_-_bugfixes

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
en:v2_-_bugfixes [2013/11/10 20:52]
fischerm
en:v2_-_bugfixes [2019/05/26 10:40] (current)
fischerm [3. TMPFS is mounted multiple times (2.0.90)]
Line 6: Line 6:
 </​style>​ </​style>​
  
 +{{ :​images:​line.png?​620x3&​nolink |}}
 \\ \\
-\\+
 ====== Copfilter V2 - Bugfixes ====== ====== Copfilter V2 - Bugfixes ======
  
   * ** The main purpose of this part is to collect and describe several //​__Bugfixes__//​ regarding the Copfilter-Addon for IPCop 1.9.x/2.x [color=red](abbreviated:​ V2)[/​color].**   * ** The main purpose of this part is to collect and describe several //​__Bugfixes__//​ regarding the Copfilter-Addon for IPCop 1.9.x/2.x [color=red](abbreviated:​ V2)[/​color].**
   * **The respective currently affected Copfilter release is given in brackets.**   * **The respective currently affected Copfilter release is given in brackets.**
-  * If there are problems regarding this guidances, please open a new thread in the **[[http://​www.copfilter.org/​forum|Copfilter-Forum]]** or send us (karesmakro,​ severus, fischerm) a PM //​(**P**rivate **M**essage)//​ via Copfilter Forum.\\ Any requests for changes or extensions will be taken in account.+  * If there are problems regarding this guidances, please open a new thread in the **[[http://​www.copfilter.org/​forum|Copfilter-Forum]]**, write a report on **[[http://​www.copfilter.org/​bugtracker/​|Copfilter-Bugtracker]]** or send us (karesmakro,​ severus, fischerm) a PM //​(**P**rivate **M**essage)//​ via Copfilter Forum.\\ Any requests for changes or extensions will be taken in account.
  
 [size=15]**[color=red]Please note:​[/​color]**[/​size] [size=15]**[color=red]Please note:​[/​color]**[/​size]
Line 30: Line 31:
 And, **[size=9]as said before...[/​size]**:​ And, **[size=9]as said before...[/​size]**:​
   * **[color=red]It is an absolutely __must__ to use a __Linux-compatible text editor__ - on a Linux OS - for __all__ changes to be made![/​color]**   * **[color=red]It is an absolutely __must__ to use a __Linux-compatible text editor__ - on a Linux OS - for __all__ changes to be made![/​color]**
-\\+ 
 +{{ :​images:​line.png?​620x3&​nolink |}}
  
 {{anchor:​bugfixes_2090:​}} {{anchor:​bugfixes_2090:​}}
Line 61: Line 63:
  
 Afterwards settings of the antivirus Copfilter page must be saved through WebGUI - no restart required. Afterwards settings of the antivirus Copfilter page must be saved through WebGUI - no restart required.
-\\+ 
 +{{ :​images:​line.png?​nolink |}}
  
 ===== 2. POP3S not receiving emails (2.0.90) ===== ===== 2. POP3S not receiving emails (2.0.90) =====
Line 93: Line 96:
  
 Afterwards restart P3SCAN-service. Afterwards restart P3SCAN-service.
-\\+ 
 +{{ :​images:​line.png?​nolink |}}
  
 ===== 3. TMPFS is mounted multiple times (2.0.90) ===== ===== 3. TMPFS is mounted multiple times (2.0.90) =====
Line 99: Line 103:
 **See:** [url]http://​www.copfilter.org/​forum/​viewtopic.php?​p=2854#​p2854[/​url] (german)\\ **See:** [url]http://​www.copfilter.org/​forum/​viewtopic.php?​p=2854#​p2854[/​url] (german)\\
 and [url]http://​www.copfilter.org/​forum/​viewtopic.php?​p=2875#​p2875[/​url] (german)\\ and [url]http://​www.copfilter.org/​forum/​viewtopic.php?​p=2875#​p2875[/​url] (german)\\
 +
 +==== Problem ====
  
 //...I had just noticed that /​var/​log/​copfilter/​2.0.90/​opt/​havp/​tmp is mounted 6 times...// //...I had just noticed that /​var/​log/​copfilter/​2.0.90/​opt/​havp/​tmp is mounted 6 times...//
Line 134: Line 140:
  
 Afterwards restart HAVP service. Afterwards restart HAVP service.
-\\+ 
 +{{ :​images:​line.png?​nolink |}}
  
 ===== 4. F-PROT not updating (2.0.90) ===== ===== 4. F-PROT not updating (2.0.90) =====
Line 142: Line 149:
 ==== Problem ==== ==== Problem ====
  
-No F-PROT Updates (free version) are performed - counter is always at the same time, although all [[en:​v2_-_bugfixes|fixes]] were applied.+No F-PROT Updates (free version) are performed - counter is always at the same time, although all [[:en:​v2_-_bugfixes|fixes]] were applied.
  
 ==== Cause ==== ==== Cause ====
Line 165: Line 172:
 Afterwards, settings of the antivirus Copfilter page must be saved once through WebGUI - **no restart required**. Afterwards, settings of the antivirus Copfilter page must be saved once through WebGUI - **no restart required**.
  
-If [[en:​modifications_and_extensions#​rd_party_signatures|3rd Party Signaturen]] have been installed, the following fix must be applied:\\+If [[:en:​modifications_and_extensions#​rd_party_signatures|3rd Party Signaturen]] have been installed, the following fix must be applied:\\
 |[[http://​www.it-connect-unix.de/​copfilter/​copfilter_antivirus.cgi-v1.tgz|copfilter_antivirus.cgi-v1.tgz]]| ​ 13 KB  | |[[http://​www.it-connect-unix.de/​copfilter/​copfilter_antivirus.cgi-v1.tgz|copfilter_antivirus.cgi-v1.tgz]]| ​ 13 KB  |
 |**MD5SUM:​**| ​ 441EBAD676A5BB3C822A1A0BBB628FC9 ​ | |**MD5SUM:​**| ​ 441EBAD676A5BB3C822A1A0BBB628FC9 ​ |
Line 171: Line 178:
 **Installation**:​ **Installation**:​
 <​code>​tar xzf copfilter_antivirus.cgi-v1.tgz -C /​home/​httpd/​cgi-bin</​code>​ <​code>​tar xzf copfilter_antivirus.cgi-v1.tgz -C /​home/​httpd/​cgi-bin</​code>​
-\\+ 
 +{{ :​images:​line.png?​nolink |}}
  
 ===== 5. HAVP and HTTPS traffic (2.0.90) ===== ===== 5. HAVP and HTTPS traffic (2.0.90) =====
Line 187: Line 195:
 Apply patch. Apply patch.
  
-**Please use at first the [[en:​v2_-_bugfixes#​tmpfs_is_mounted_multiple_times_2090|TMPS patch]] above before using this patch!**+**Please use at first the [[:en:​v2_-_bugfixes#​tmpfs_is_mounted_multiple_times_2090|TMPS patch]] above before using this patch!**
  
 ==== Download ==== ==== Download ====
Line 206: Line 214:
  
 Afterwards restart HAVP service. Afterwards restart HAVP service.
-\\+ 
 +{{ :​images:​line.png?​nolink |}}
  
 ===== 6. '​Monit'​ tries to start '​fpscand',​ although not present (2.0.90) ===== ===== 6. '​Monit'​ tries to start '​fpscand',​ although not present (2.0.90) =====
Line 212: Line 221:
 ==== Problem ==== ==== Problem ====
  
-After installing the __free__ [[en:​component_updates#​f-prot|F-PROT-Home-User-Version]] the following messages appear in '/​var/​log/​copfilter/​default/​opt/​monit/​var/​log/​**monit.log**':​+After installing the __free__ [[:en:​component_updates#​f-prot|F-PROT-Home-User-Version]] the following messages appear in '/​var/​log/​copfilter/​default/​opt/​monit/​var/​log/​**monit.log**':​
  
 <​code>​Execution failed Service fpscand ​ <​code>​Execution failed Service fpscand ​
Line 250: Line 259:
 if [ -f $BASEDIR/​etc/​fprotd_enable ] && [ -f "​${copfilter_swroot}/​opt/​f-prot/​default/​fpscand"​ ] ; then if [ -f $BASEDIR/​etc/​fprotd_enable ] && [ -f "​${copfilter_swroot}/​opt/​f-prot/​default/​fpscand"​ ] ; then
 </​code>​ </​code>​
-\\+ 
 +{{ :​images:​line.png?​nolink |}}
  
 ===== 7. Avoid F-PROT-Update-Messages in '​copfilter_cron.log'​ (2.0.90) ===== ===== 7. Avoid F-PROT-Update-Messages in '​copfilter_cron.log'​ (2.0.90) =====
Line 281: Line 291:
 $BASEDIR/​opt/​f-prot/​default/​fpupdate ​ >/​dev/​null 2>&1 $BASEDIR/​opt/​f-prot/​default/​fpupdate ​ >/​dev/​null 2>&1
 </​code>​ </​code>​
-\\+ 
 +{{ :​images:​line.png?​nolink |}}
  
 {{anchor:​bugfixes_2091beta1:​}} {{anchor:​bugfixes_2091beta1:​}}
Line 303: Line 314:
 ==== Solution ==== ==== Solution ====
  
-Install [[en:​component_updates#​php|PHP 5.3.9 update]] and initiate following commands on the console:+Install [[:en:​component_updates#​php|PHP 5.3.9 update]] and initiate following commands on the console:
  
 <​code>​chmod 755 /​var/​log/​copfilter/​default/​etc/​cp_spam_whitelist <​code>​chmod 755 /​var/​log/​copfilter/​default/​etc/​cp_spam_whitelist
 chmod 666 /​var/​log/​copfilter/​default/​etc/​cp_spam_whitelist/​local_webgui.cf</​code>​ chmod 666 /​var/​log/​copfilter/​default/​etc/​cp_spam_whitelist/​local_webgui.cf</​code>​
-\\+ 
 +{{ :​images:​line.png?​nolink |}}
  
 ===== 9. '​wget'​ cannot be found (2.0.91beta3) ==== ===== 9. '​wget'​ cannot be found (2.0.91beta3) ====
Line 330: Line 342:
  
 <​code>​ln -s /​usr/​bin/​wget /​var/​log/​copfilter/​default/​opt/​tools/​bin/​wget</​code>​ <​code>​ln -s /​usr/​bin/​wget /​var/​log/​copfilter/​default/​opt/​tools/​bin/​wget</​code>​
-\\+ 
 +{{ :​images:​line.png?​nolink |}}
  
 ===== 10. F-PROT not updating (2.0.91beta3) ===== ===== 10. F-PROT not updating (2.0.91beta3) =====
Line 365: Line 378:
  
 <​code>​tar xzf ./​copfilter_cron-fprot-periodic_fix.tgz -C /</​code>​ <​code>​tar xzf ./​copfilter_cron-fprot-periodic_fix.tgz -C /</​code>​
-\\+ 
 +{{ :​images:​line.png?​nolink |}}
  
 ===== 11. ProxSMTP on strike (2.0.91beta3) ===== ===== 11. ProxSMTP on strike (2.0.91beta3) =====
Line 393: Line 407:
     /​etc/​rc.d/​init.d/​copfilter_proxsmtpd config_fwrules     /​etc/​rc.d/​init.d/​copfilter_proxsmtpd config_fwrules
 </​code>​ </​code>​
-\\+ 
 +{{ :​images:​line.png?​nolink |}}
  
 ===== 12. Daily Spam Digest is not delivered (2.0.91beta3) ==== ===== 12. Daily Spam Digest is not delivered (2.0.91beta3) ====
Line 441: Line 456:
 for ii in `ls /​var/​log/​copfilter/​default/​opt/​tmp/​spam_digest.*` for ii in `ls /​var/​log/​copfilter/​default/​opt/​tmp/​spam_digest.*`
 </​code>​ </​code>​
-\\+ 
 +{{ :​images:​line.png?​nolink |}}
  
 ===== 13. "Use own Domain-Blacklist:"​ not working (2.0.91beta3) ==== ===== 13. "Use own Domain-Blacklist:"​ not working (2.0.91beta3) ====
Line 472: Line 488:
 </​code>​ </​code>​
  
-//After installing this fix, you have to disable the blacklist and afterwards activate it again.//\\+//After installing this fix, you have to disable the blacklist and afterwards activate it again.//
 \\ \\
 +
 +{{ :​images:​line.png?​nolink |}}
  
 {{anchor:​bugfixes_2091beta4:​}} {{anchor:​bugfixes_2091beta4:​}}
Line 482: Line 500:
 Typos in '/​var/​spool/​cron/​**root.orig**',​ '/​home/​httpd/​cgi-bin/​**copfilter_testlog.cgi**'​ and '/​etc/​logrotate.d/​**3rdpsigs**'​. Typos in '/​var/​spool/​cron/​**root.orig**',​ '/​home/​httpd/​cgi-bin/​**copfilter_testlog.cgi**'​ and '/​etc/​logrotate.d/​**3rdpsigs**'​.
  
-This leads to empty (or growing) logs, logs that cannot be accessed from the [[en:​copfilter-basics_-_features_and_first_setup#​tests_logs|Test & Logs]] page and URLFilter-Blacklist updating one hour late.+This leads to empty (or growing) logs, logs that cannot be accessed from the [[:en:​copfilter-basics_-_features_and_first_setup#​tests_logs|Test & Logs]] page and URLFilter-Blacklist updating one hour late.
  
 ==== Solution ==== ==== Solution ====
Line 542: Line 560:
 if [ $(cat $BASEDIR/​etc/​icap_counter) -gt 5 ]; then if [ $(cat $BASEDIR/​etc/​icap_counter) -gt 5 ]; then
 </​code>​ </​code>​
-\\+ 
 +{{ :​images:​line.png?​nolink |}} 
 + 
 +===== 15. Error message during IPCop-Start:​ "stty: standard input: Inappropriate ioctl for device"​ ===== 
 + 
 +**Initiated by:** [url]http://​www.copfilter.org/​forum/​viewtopic.php?​p=3452#​p3452[/​url] 
 + 
 +{{ :​images:​line.png?​nolink |}} 
 + 
 +==== Problem ==== 
 + 
 +//Booting the IPCop ends with messages that I don't understand://​ 
 + 
 +//Starting interface RED...stty: standard input: Inappropriate ioctl for device//\\ 
 +//stty: standard input: Inappropriate ioctl for device//​\\ 
 +//stty: standard input: Inappropriate ioctl for device//​\\ 
 +//stty: standard input: Inappropriate ioctl for device//​\\ 
 + 
 +{{ :​images:​line.png?​nolink |}} 
 + 
 +==== Cause ==== 
 + 
 +When IPCop backup is executed from the GUI, it saves '/​etc/​rc.d/​**rc.firewall.local**',​ '/​etc/​rc.d/​**rc.event.local**'​ and\\ '/​var/​ipcop/​main/​**menu.lst**'​ (**V2**) automatically. 
 + 
 +After reinstalling the complete IPCop and a subsequent restore and reinstallation of Copfilter these files can contain duplicated Copfilter entries which can lead to these error messages. 
 + 
 +{{ :​images:​line.png?​nolink |}} 
 + 
 +==== Solution ==== 
 + 
 +**Edit**:​\\ 
 + 
 +'/​var/​ipcop/​backup/​**exclude.system**'​ 
 + 
 +**If they don't exist, add the following lines:​**\\ 
 + 
 +<code - copfilter_exclude.system>#​ Copfilter exceptions start - do not modify 
 +/​etc/​rc.d/​rc.copfilter 
 +/​etc/​rc.d/​rc.event.local 
 +/​etc/​rc.d/​rc.firewall.local 
 +/​var/​ipcop/​main/​menu.lst 
 +/​var/​log/​copfilter 
 +# Copfilter exceptions end - do not modify</​code>​ 
 + 
 +Furthermore,​ the current '/​etc/​rc.d/​**rc.event.local**'​ and '/​etc/​rc.d/​**rc.firewall.local**'​ should be checked for duplicate or incorrect Copfilter entries. 
 + 
 +This is especially true when updating an older Copfilter-version (for example **2.0.90**)! 
 + 
 +{{ :​images:​line.png?​nolink |}}
  
 <style background-lwhite center> <style background-lwhite center>
en/v2_-_bugfixes.1384113155.txt.gz · Last modified: 2013/11/10 20:52 by fischerm