Hello all!
I have posted in another forum with bad results as well. I have posted previous threads on bottom.
PROBLEM:
I am running Solaris 8 on an Ultra 10. When I telnet to my box from any other machine I get this error:
ld.so.1 login: fatal: /usr/lib/libc.so.1: too many open files
How can I correct this, and what may be causing this?
Thanks in advance
Previous Threads:
bpinos (Programmer) Mar 5, 2003
Set the open file hande setting in /etc/system to a higher number by adding the lines below. By default they are at 1024
set rlim_fd_max = ??Whatever you want??
set rlim_fd_cur = ??Tuning documents suggest setting this
to a max of 1024??
This will require a reboot after changing. For immediate results, run:
ulimit -n unlimited
This will set the value immediately, but it will not set it accross reboots. So you will still need to set the values in /etc/system
Hope this helps!
************************************************************
comtec17 (Vendor) Mar 5, 2003
Bpinos,
Thanks for the help. I have placed the info in my /etc/system file and now I am hung trying to telnet. Any ideas?
Inappropriate post?
If so, Red Flag it!
Check out the FAQ
area for this forum!
************************************************************
bpinos (Programmer) Mar 5, 2003
No errors? No logs? Can you run a truss on the telnet process?
i.e.: truss telnet somehost.com
Or how about running a netstat on a separate terminal while trying to telnet. Can you see the connection going out?
Mark this post as a helpful/expert post!
Inappropriate post?
If so, Red Flag it!
Check out the FAQ
area for this forum!
************************************************************
comtec17 (Vendor) Mar 5, 2003
I made the changes and rebooted, now my server wont come up. I get "failed to create uxtmp" and "cannot find root in shadow" and it comes up in single user mode. When I try any command I get the lib.so.1 fatal error. I typed in ulimit -n unlimited and it stops, but when I try to vi or rm, the filesystem is in read only mode.
Any idea?
Inappropriate post?
If so, Red Flag it!
Check out the FAQ
area for this forum!
************************************************************
bpinos (Programmer) Mar 5, 2003
comtec17,
Well it sounds like your hard disk has errors. Try to run fsck.
Basically you have to type:
fsck /
fsck /var
fsck /usr
and whatever other partitions you have. You will need to run this as many times as it takes on each partition till it comes up with no errors.
Mark this post as a helpful/expert post!
Inappropriate post?
If so, Red Flag it!
Check out the FAQ
area for this forum!
************************************************************
comtec17 (Vendor) Mar 6, 2003
Thanks for your help. Unfortunatly, an fsck did not work. I had to boot to cdrom in single user mode and vi the /etc/system file and take out the entries you had me enter. Once this was done my system was able to come up. I still get the errors while telneting to the server from any other server but I can use Xterm for now. Again, thanks for your response.
I have posted in another forum with bad results as well. I have posted previous threads on bottom.
PROBLEM:
I am running Solaris 8 on an Ultra 10. When I telnet to my box from any other machine I get this error:
ld.so.1 login: fatal: /usr/lib/libc.so.1: too many open files
How can I correct this, and what may be causing this?
Thanks in advance
Previous Threads:
bpinos (Programmer) Mar 5, 2003
Set the open file hande setting in /etc/system to a higher number by adding the lines below. By default they are at 1024
set rlim_fd_max = ??Whatever you want??
set rlim_fd_cur = ??Tuning documents suggest setting this
to a max of 1024??
This will require a reboot after changing. For immediate results, run:
ulimit -n unlimited
This will set the value immediately, but it will not set it accross reboots. So you will still need to set the values in /etc/system
Hope this helps!
************************************************************
comtec17 (Vendor) Mar 5, 2003
Bpinos,
Thanks for the help. I have placed the info in my /etc/system file and now I am hung trying to telnet. Any ideas?
Inappropriate post?
If so, Red Flag it!
Check out the FAQ
area for this forum!
************************************************************
bpinos (Programmer) Mar 5, 2003
No errors? No logs? Can you run a truss on the telnet process?
i.e.: truss telnet somehost.com
Or how about running a netstat on a separate terminal while trying to telnet. Can you see the connection going out?
Mark this post as a helpful/expert post!
Inappropriate post?
If so, Red Flag it!
Check out the FAQ
area for this forum!
************************************************************
comtec17 (Vendor) Mar 5, 2003
I made the changes and rebooted, now my server wont come up. I get "failed to create uxtmp" and "cannot find root in shadow" and it comes up in single user mode. When I try any command I get the lib.so.1 fatal error. I typed in ulimit -n unlimited and it stops, but when I try to vi or rm, the filesystem is in read only mode.
Any idea?
Inappropriate post?
If so, Red Flag it!
Check out the FAQ
area for this forum!
************************************************************
bpinos (Programmer) Mar 5, 2003
comtec17,
Well it sounds like your hard disk has errors. Try to run fsck.
Basically you have to type:
fsck /
fsck /var
fsck /usr
and whatever other partitions you have. You will need to run this as many times as it takes on each partition till it comes up with no errors.
Mark this post as a helpful/expert post!
Inappropriate post?
If so, Red Flag it!
Check out the FAQ
area for this forum!
************************************************************
comtec17 (Vendor) Mar 6, 2003
Thanks for your help. Unfortunatly, an fsck did not work. I had to boot to cdrom in single user mode and vi the /etc/system file and take out the entries you had me enter. Once this was done my system was able to come up. I still get the errors while telneting to the server from any other server but I can use Xterm for now. Again, thanks for your response.