Re: creating script for init.d

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



If I hit ENTER anything hapens (even with a lots of enter's)
In /var/log/messages seems to compleate the scrips, I'm realy comfiusing (and :( of course)
Can be SElinux? can I disable it to try?
At terminal all work smooth, I don't understand why hangs at boot time
Thanks a lot guys for you help!!
 
2006/12/20, Michael Velez <mikev777@xxxxxxxxxxx>:



> -----Original Message-----
> From: centos-bounces@xxxxxxxxxx
> [mailto:centos-bounces@xxxxxxxxxx] On Behalf Of Linux Man
> Sent: Tuesday, December 19, 2006 11:40 PM
> To: CentOS mailing list
> Subject: Re: creating script for init.d
>
> Sorry, i sent the spript to as particular adress but not for
> the adress that I wanted (all centos mailing list), again, sorry
>
> If I execute it in a terminal as root, works, without
> problem, but if i put it to load a boot time (with chkconfig)
> there isn't a visual error, just hang.
>
> Using "echo" I isolate, ther problematic part, this is:
>
> > #Flush everything, start from scratch
> > $IPTABLES -F
> > $IPTABLES -F -t mangle
> > $IPTABLES -F -t nat
> > $IPTABLES -X
> > $IPTABLES -X -t mangle
> > $IPTABLES -X -t nat
> >
> > #Set default policies to DROP
> > $IPTABLES -P INPUT DROP
> > $IPTABLES -P OUTPUT DROP
> > $IPTABLES -P FORWARD DROP
>
> Why hangs? any idea?
> Thanks a lot
>


Is there any message that appears in /var/log/messages?

What happens if you just press the <ENTER> key when it hangs?

Michael

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux