Operating System - Linux
1830169 Members
5910 Online
109999 Solutions
New Discussion

/etc/rc.d/rc.sysinit: line dup:2Bad file descriptor

 
monu_1
Regular Advisor

/etc/rc.d/rc.sysinit: line dup:2Bad file descriptor

Hi All,

There is problem when i start the my mail server and there are some errors show as follows

Configuring kernel parameter: dup2:Bad file descriptor [FAILED]

Setting hostname mail3.newslinkservices.net: dup2: Bad file descriptor {FAILED]

Initializing USB controller(ehci - hcd): dup2: Bad file descriptor [FAILED]

***An error occured during the file system check.
***Droping u to be a shell; the system will reboot
***When u leave the shell.


What should i do..???
Should i format and install Fedora again or other else.

Please suggest me i m new to linux.

Thanks in Advance....
Manoj
3 REPLIES 3
Ragu_3
Trusted Contributor

Re: /etc/rc.d/rc.sysinit: line dup:2Bad file descriptor

Check whether you have got the package "file" installed by doing a "rpm -q file". Maybe you have a corrupt MTA binary or a bad inode where the binary is. Do check this and get back here.
Debian GNU/Linux for the Enterprise! Ask HP ...
monu_1
Regular Advisor

Re: /etc/rc.d/rc.sysinit: line dup:2Bad file descriptor

Thanks Raqu!!!

:( ! but i have also running mail server and it trnsfer mail very smoothely till one day before.
now today when i restart the system there are showing above failed query at startup.
and then asking for reboot or maintenance!

but i m new to linux and i also run yr rpm pkg at maintenance prompt and reboot again but problem is still there.

i have to remount file system?
if yes then suggest what is command for same.


with warm regards,
Manoj
Ragu_3
Trusted Contributor

Re: /etc/rc.d/rc.sysinit: line dup:2Bad file descriptor

Please run e2fsck on your FS, both root and others. YMMV whether you can recover!
Debian GNU/Linux for the Enterprise! Ask HP ...