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
Last revision Both sides next revision
en:v2_-_bugfixes [2013/12/28 08:27]
fischerm [Copfilter V2 - Bugfixes]
en:v2_-_bugfixes [2019/05/26 10:40]
fischerm [3. TMPFS is mounted multiple times (2.0.90)]
Line 6: Line 6:
 </​style>​ </​style>​
  
-{{ :​images:​line.png?​nolink |}}+{{ :​images:​line.png?​620x3&nolink |}}
 \\ \\
  
Line 32: Line 32:
   * **[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?​nolink |}}+{{ :​images:​line.png?​620x3&nolink |}}
  
 {{anchor:​bugfixes_2090:​}} {{anchor:​bugfixes_2090:​}}
Line 103: 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 147: 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 170: 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 193: 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 219: 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 312: 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
Line 486: 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 |}} {{ :​images:​line.png?​nolink |}}
Line 497: 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 557: 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 |}} {{ :​images:​line.png?​nolink |}}
en/v2_-_bugfixes.txt · Last modified: 2019/05/26 10:40 by fischerm