Thanks again. All done. I'll mark this as solved.
Beiträge von Borat
-
-
I have this sorted now (I think). I added the SSH rule from your example including the uuid, saved the file and rebooted. I no longer have the "Apply" section at the top of the screen and no error appearing. I can ssh into the server also. However the boot log is still showing this:
CodeThu Nov 14 21:59:35 2013: Setting up networking.... Thu Nov 14 21:59:35 2013: Configuring network interfaces.../etc/network/if-pre-up.d/iptables: 7: -A: not found Thu Nov 14 21:59:35 2013: /etc/network/if-pre-up.d/iptables: 7: -A: not found Thu Nov 14 21:59:35 2013: SIOCSIFADDR: File exists Thu Nov 14 21:59:35 2013: Failed to bring up lo. Thu Nov 14 21:59:35 2013: /etc/network/if-pre-up.d/iptables: 7: -A: not found Thu Nov 14 21:59:37 2013: /etc/network/if-pre-up.d/iptables: 7: -A: not found Thu Nov 14 21:59:38 2013: done.
Code
Alles anzeigenroot@openmediavault:~# ifconfig eth0 Link encap:Ethernet HWaddr a0:b3:cc:df:1c:5a inet addr:192.168.1.100 Bcast:192.168.1.255 Mask:255.255.255.0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:5825 errors:0 dropped:294 overruns:0 frame:0 TX packets:3501 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:4790814 (4.5 MiB) TX bytes:2739871 (2.6 MiB) Interrupt:18 lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 inet6 addr: ::1/128 Scope:Host UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:111 errors:0 dropped:0 overruns:0 frame:0 TX packets:111 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:36016 (35.1 KiB) TX bytes:36016 (35.1 KiB)
Could you advise if this thread can be closed or if the above log section highlights an issue still to be fixed?
Thanks very much for your help.
-
Sorry for the delay in getting back. A long day at work.
Code
Alles anzeigen<iptables> <!-- <rule> <uuid>xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx</uuid> <family>inet|inet6</family> <rulenum>1...x</rulenum> <chain>INPUT|OUTPUT</chain> <action>ACCEPT|REJECT|DROP|LOG</action> <source>[!]?xxx.xxx.xxx.xxx|[!]?xxx.xxx.xxx.xxx/xx|xxx.xxx.xxx.xxx-yyy.yyy.yyy.yyy</source> <sport>xxx|xxx-yyy</sport> <destination>[!]?xxx.xxx.xxx.xxx|[!]?xxx.xxx.xxx.xxx/xx|xxx.xxx.xxx.xxx-yyy.yyy.yyy.yyy</des tination> <dport>xxx|xxx-yyy</dport> <protocol>[!]?(tcp|udp|icmp)|all</protocol> <extraoptions>xxx</extraoptions> <comment>xxx</comment> </rule> --> <rule></rule> <rule></rule> </iptables>
-
I have done all updates already. The ssh problem has existed from the moment I installed OMV.
When I click Apply I get the error above. The warning never disappears. Every time I Apply the error shows.
-
I'm running openmediavault_0.5.20. I have two big problems with it so far. First of all SSH does not start (at boot) most times even though it's enabled in the services. It shows a green indicator for "enabled" but grey for "running". I have to physically attach to the server and
This works until the next boot.
The 2nd problem occurred after I enabled Squeeze backports to get Kernel 3.2.0-0.bpo.4-amd64 #1 SMP Debian 3.2.46-1+deb7u1~bpo60+1. I needed this to use my RocketRAID 2720SGL card. Anyway, after installing build-essential and the kernel (+headers) I have the card working. I did an apt-get upgrade and that's when I noticed this message at the top of the screen. "The configuration has been changed. You must apply the change". After I click Apply I get this
Code
Alles anzeigenFailed to execute command '/etc/network/if-pre-up.d/iptables 2>&1': /etc/network/if-pre-up.d/iptables: 7: -A: not found /etc/network/if-pre-up.d/iptables: 8: -A: not found Error #4000: exception 'OMVException' with message 'Failed to execute command '/etc/network/if-pre-up.d/iptables 2>&1': /etc/network/if-pre-up.d/iptables: 7: -A: not found /etc/network/if-pre-up.d/iptables: 8: -A: not found' in /usr/share/openmediavault/engined/module/iptables.inc:53 Stack trace: #0 /usr/share/openmediavault/engined/rpc/config.inc(194): OMVModuleIptables->startService() #1 [internal function]: OMVRpcServiceConfig->applyChanges(Array, Array) #2 /usr/share/php/openmediavault/rpcservice.inc(125): call_user_func_array(Array, Array) #3 /usr/share/openmediavault/engined/rpc/config.inc(243): OMVRpcServiceAbstract->callMethod('applyChanges', Array, Array) #4 [internal function]: OMVRpcServiceConfig->applyChangesBg(Array, Array) #5 /usr/share/php/openmediavault/rpcservice.inc(125): call_user_func_array(Array, Array) #6 /usr/share/php/openmediavault/rpc.inc(62): OMVRpcServiceAbstract->callMethod('applyChangesBg', Array, Array) #7 /usr/sbin/omv-engined(495): OMVRpc::exec('Config', 'applyChangesBg', Array, Array, 1) #8 {main}
Coderoot@openmediavault:~# cat /etc/network/if-pre-up.d/iptables #!/bin/sh # ifpreup hook script for iptables # Generated by OpenMediaVault iptables -t filter -F ip6tables -t filter -F -A -p -j -A -p -j
Any help appreciated.