Server :: Iptables Error "unrecognized Service"
Aug 3, 2011root@linux-laptop:/home/linux# service iptables status iptables: unrecognized service
View 5 Repliesroot@linux-laptop:/home/linux# service iptables status iptables: unrecognized service
View 5 RepliesI have installed package tigervnc-1.0.0-3.fc12.i686, but when I am trying to start it: service vncserver start it comes back with following message: vncserver: unrecognized service.
View 1 Replies View Relatedi can smb in centos 5 and i run service smb restart, it shows :smb: unrecognized service..... i run rpm -qa |grep samba,it shows
samba-common-3.0.33-3.7.el5
samba-client-3.0.33-3.7.el5
.....
I've already installed centos 5.5 and checked the xinetd services using the command : service xinetd status and the reply is xinetd: unrecognized service.
View 3 Replies View RelatedI have a few computers that share files from this main Ubuntu desktop - I've been having samba problems so I've run Quote: sudo aptitude purge samba then re-installed it from the Software Centre. But it's not starting:
Code:
brent@Bertha:~$ sudo service samba start
samba: unrecognized service
Im using centos. I have install rpm for mysql
But when i have enter service mysqld start it shows mysqld: unrecognized service
And when I type mysql it shows ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (111)
I am facing a strange problem witht my iptables as there are some firewall entries stored somewhere which is displaying the below firewall entries even after flushing the iptables & when I restart the iptables service then the firewall entries are again shown in my iptables as shown below,
[root@myhome ~]# iptables -L
Chain INPUT (policy ACCEPT)
target prot opt source destination
[code]....
When i try to add value 150 on portflood section of csf,i get following error:
iptables: Unknown error 18446744073709551615 PORTFLOOD tcp opt -- in !lo out * 0.0.0.0/0 -> 0.0.0.0/0 tcp dpt:80 state NEW recent: UPDATE seconds: 5 hit_count: 150 name: 80 side: source
Error: iptables command [/sbin/iptables -v -A INPUT -i ! lo -p tcp --dport 80 -m state --state NEW -m recent --update --seconds 5 --hitcount 150 --name 80 -j PORTFLOOD] failed, at line 996
how is limitation with ip_recent where highest value for hit_count is 20,and how i need to modify and recompile ip_recent.But i was not able find anything about either modify or recompiling that module.I have cent os 5.4 64 bit,iptables are installed over yum.Also i have 4 servers with completely identical configuration,yet on two servers portflood works while on other two it reporting that error.Maybe it was different install cd which caused this,but again i dont know why this doesnt work since iptables version are indetical.
I use red hat linux. When I start up network service. I get below error in eth2
root@vls etc]# service network restart
Shutting down interface eth2: [OK]
Shutting down loopback interface: [OK]
Bringing up loopback interface: [OK]
Bringing up interface eth2: RTNETLINK answers: File exists
Error adding address 10.1.1.82 for eth2. [OK]
I paste the ifcfg-eth2 in here
[root@vls network-scripts]# cat ifcfg-eth2
# Intel Corporation 82572EI Gigabit Ethernet Controller (Copper)
DEVICE=eth2
BOOTPROTO=none
BROADCAST=10.1.255.255
HWADDR=00:80:82:8F:B4:A2
IPADDR=10.1.1.82
NETMASK=255.255.0.0
NETWORK=10.1.0.0
ONBOOT=yes
GATEWAY=10.1.1.249
TYPE=Ethernet
USERCTL=yes
IPV6INIT=no
PEERDNS=yes
So, what is the problem of error adding address?
WHEN I START /openvpn /etc/openvpn/server.conf im getting the following error i had installed the configuration by following link [url]
I had pasted i error log below:
I followed the below link for installing disk space alert in opennms its not automatically alertin disk space so i followed the procedure below i getting such a error can somebody point out where im making mistake in installation
[url]
Im getting mail alert for allnode down events i opennms..but not gettting mail regarding disk &memory down events:
Stopping OpenNMS: Trying to stop OpenNMS but it's already stopped.
[ OK ]
Starting OpenNMS: Started OpenNMS, but it stopped running: for details see /opt/opennms/logs/daemon/output.log
We have one FTP server. Users are uploding files to the perticular directory remotely. but today some users got below error message.
421 Service not available, remote server has closed connection.
(vsftpd service is up and running) What are the possible causes for this error and from where I should start troubleshooting?
I have task to do configure a two httpd service in a same linux machine using iptables.
For example: Run primary httpd instance on 80 and 443 port if primary instance is down switch to second instance running on 8080 and 4443 this can be achieved using iptables.
I've download the gpac files for MP4box from:[URL]..but im having issues compiling it. Its telling me "gcc: error: unrecognized option '--warn-common'"Running 64bit FC 15
View 2 Replies View RelatedTearing my hair out on this one a little bit, having problems sending message from web based PHP form to user inbox.I keep getting: Undelivered Mail Returned to Sender<me@mydomain.co.uk>: Host or domain name not found. Name service error for name=mydomain.co.uk type=A: Host not found.Running these commands:
$ hostname = mydomain.co.uk
$ hostname -f = mydomain.co.uk
$ postconf -n =
[code]....
I have CentOS 5.2 just installed and massively updated with yum -update command. Than I tried to configure firewall. After changes via system_config_securitylevel_tui (open ssh, http, ftp, and 3306:TCP ports) iptables service can't start with message
> /sbin/service iptables start
Flushing firewall rules: [OK]
Setting chains to policy ACCEPT: mangle filter nat [OK]
Unloading iptables modules: [OK]
Applying iptables firewall rules: iptables-restore v1.3.5: Couldn't load match `TCP':/lib64/iptables/libipt_TCP.so: cannot open shared object file: No such file or directory
Error occurred at line: 18
Try `iptables-restore -h' or 'iptables-restore --help' for more information.
[FAILED]
I erased the iptables service and installed it again with yum. How can I make this service work?
I am having memory problems on my old Compaq PC, and am trying to run memtest86+-4.20 to check it. I downloaded the source file, and tried a compile, but had the following problem:
[code]...
how to get around this issue?
IPtables creates an error during startup as well as when I try to restart it: Here's the output of:
[Code]....
i dont know if this is the right section for this but i installed linux after i installed windows server 2003 and some how the grub loader got messed up and wouldnt show, only windows would boot. i fixed the grub loader through my live disc and when i select Other operating systems i get Error 11: Unrecognized device string. here is my fdisk -l.
Disk /dev/sda: 320.1 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x2c8e2c8d
Device Boot Start End Blocks Id System
/dev/sda1 * 1 6 48163+ 7 HPFS/NTFS
/dev/sda2 7 34329 275699497+ 7 HPFS/NTFS
[Code].....
This started happening about 2-3 weeks ago when i noticed our backups weren't running anymore. whenever i try to run ANY type of scp command I get the following error: warning: Unrecognized configuration parameter permitlocalcommand ssh: FATAL: Illegal -o parameter "PermitLocalCommand no" lost connection
I checked the /etc/ssh/ssh_config file and there was a command PermitLocalCommand commented out, but for testing I even totally removed that line and then in scp forced the use of that file via scp -F /etc/ssh/ssh_config ......
and I still get the same error. This command is nowhere is any of my ssh config files so im at a loss here on how im supposed to fix this!! I even checked my home directory for maybe a ssh config file that might be overridding the system config but nothing.
use gcc command to compile a *.c file error:unrecognized option '--eh-frame-hdr' why is it? and how to solution it?
View 2 Replies View Relatedi dont know if this is the right section for this but i installed linux after i installed windows server 2003 and some how the grub loader got messed up and wouldnt show, only windows would boot. i fixed the grub loader through my live disc and when i select Other operating systems i get Error 11: Unrecognized device string. here is my fdisk -l.
Disk /dev/sda: 320.1 GB, 320072933376 bytes 255 heads, 63 sectors/track, 38913 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Disk identifier: 0x2c8e2c8d
Device Boot Start End Blocks Id System /dev/sda1 * 1 6 48163+ 7 HPFS/NTFS /dev/sda2 7 34329 275699497+ 7 HPFS/NTFS /dev/sda3 34330 38227 31310685 83 Linux /dev/sda4 38228 38913 5510295 db CP/M / CTOS / ...
Disk /dev/sdb: 320.1 GB, 320072933376 bytes 255 heads, 63 sectors/track, 38913 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Disk identifier: 0x99b707d2
Device Boot Start End Blocks Id System /dev/sdb1 1 38912 312560608+ 7 HPFS/NTFS
Disk /dev/sdc: 320.1 GB, 320072933376 bytes 255 heads, 63 sectors/track, 38913 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Disk identifier: 0x00000080
Device Boot Start End Blocks Id System /dev/sdc1 1 6 48163+ de Dell Utility /dev/sdc2 7 38227 307010182+ 7 HPFS/NTFS /dev/sdc3 38228 38913 5510295 db CP/M / CTOS / ...
and here is my menu.lst
[Code]......
i downloaded backtrack 4 (final) and booted the iso onto a flash drive using unetbootin. i then changed the boot order so the flash drive was first. after i did that i got into backtrack 4 did the install.sh and now i cant boot windows 7. even after changing the boot order to default, i turn my computer on and get a message that says:
Ubuntu 8.10, kernel 2.6.30.9
Ubuntu 8.10, kernel 2.6.30.9 (recovery mode)
Ubuntu 8.10, memtest86+
Other operating systems :
Memory Test (on /dev/sda1)
Ubuntu 8.10, kernel 2.6.30.9 (on dev/sda1)
Ubuntu 8.10, kernel 2.6.30.9 (recover mode) (on dev/sda1)
Ubuntu 8.10, memtest86+ (on dev/sda1)
[Code]....
i can only boot backtrack 4 OS, i really want to know what can i do to be able to boot my windows 7 home premium os.
This is my first use of Ubuntu, but I have previous decent experience on Centos & Mandriva. I've just installed Natty 11.04 on a box that was running a mandriva 2010 - and the network is acting quite strange. When I define a static IP for eth0 through the gui, along with route & dns, it sort of works: ssh is fine, vnc too. However, I have an asterisk running on the box, and it is wild: some packets get lost in the box.
An ngrep shows the packets reaching the interface, but they dont show in asterisk !!! I've done a ufw disable, iptables is empty (why cant I service iptable restart btw ?). ip route list show decent routes (eth0 default); When I switch to DHCP, it is better, but unstable... If i plug a wifi usb stick, it seems to be better... Is there some known issues that could explain this behaviour ? The nic is a: Ethernet controller: Marvell Technology Group Ltd. 88E8001 Gigabit Ethernet Controller
I installed exim4 package on my debian server as MTA. Now I want to send mail with this by SMTP. But when I connect to this via telnet, it returns this banner:
Code:
220 *******************************************************
And when I try to execute a command like EHLO, it says:
Code:
500 unrecognized command
while trying to compile grace (5.1.22), I am facing problem:
Code:
$ make
make[1]: Entering directory `/home/rudra/Downloads/grace-5.1.22/
cephes'
gcc -O2 -m486 -fno-common -Wall -Wpointer-arith -Wnested-externs -I.. -
I. -c -o airy.o airy.c
cc1: error: unrecognized command line option "-m486"
[code]...
I am forced to use source because rpm is also giving some problem and crashing while starting.
i am currently trying to install vsFTP onto my new linux server and btw i just started using linux today this is my first time using linux so i got the ftp installed good it got downloaded and everything then i went to open a port for my server for vsFTP i used this comand to open it "-A RH-Firewall-1-INPUT -m state --state NEW -m tcp -p tcp --dport 21 -j ACCEPT" then i closed it by pressing ESC then :wq! and it brought me back to my comand line again so now when i try to start the ip table thing with the comand "service iptables start" then when i execute that comand putty respondes with this "Applying iptables firewall rules: iptables-restore: line 1 failed [FAILED]"
The install Guide im using: [URL]
[root@itsupport ~]# service httpd restart Stopping httpd: [FAILED] Starting httpd: (98)Address already in use: make_sock: could not bind to address [::]:80 (98)Address already in use: make_sock: could not bind to address 0.0.0.0:80
no listening sockets available, shutting down Unable to open logs [FAILED] Iam facing the above error when i restart the service httpd
I noticed that my VPS was rebooted recently and a new service appears
[root@localhost ~]# pstree
init─┬─brcm_iscsiuio───2*[{brcm_iscsiuio}]
I have debian linux system on ticketing tool i am getting error 'Service Name'='diskarray' 'Value'='2'
the structure of file system is as per below. /dev/cciss/c0d0p11
not able to understand the issue with storage and unable to find out the exact error if someone know the commands and details about the file system structure let us know.