Linux - ServerThis forum is for the discussion of Linux Software used in a server related context.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I ran into an interesting problem yesterday that I as of yet have not been able to solve. I can not create numerical directories on my server anymore. It was a RHEL3 server. I had not made any changes to it. No patches or anything, it stopped working for no particular reason. I can not "mkdir 123", and I can not mkdir abc and then move it to 123. A mkdir abc123 works. This causes a significant for a server with a qmail queue, or software such as vBulletin and it'd addon products that use numerical directory names such as attachments/1/2/3. I did some googling and came up with a few other people who had this problem for example here and here . The problem exists on all file systems. The file systems are ext3. The problem is still there if I mount them ext2. The problem is still there if I recreate the ext3 journals via tunefs. The problem is still there if I fsck. The problem is still there if I reboot. My mkdir is unmodified, confirmed by rpm, and I don't have any aliases for mkdir. I had to get this working eventually so today I am upgrading to RHEL5. That worked for one person in the threads linked above,m at least long enough to be working and get migrated to a new server. Any thoughts? I'd love to hear a solution to this problem that does not involve reinstalling / upgrading the operating system.
The error you are seeing will often be displayed if there is a permissions or selinux problem. However you demonstrated creating a directory with a normal name.
My /bin/mkdir is the binary, not aliased, and not a wrapper.
Quote:
[root@holdems tmp]# which mkdir
/bin/mkdir
If I su - root and eliminate any of my personal prompt preferences the problem still exists.
Quote:
{DING! popowich@holdems ~} su - root
Password:
[root@holdems ~]# cd /tmp
[root@holdems tmp]# mkdir 123456
mkdir: cannot create directory `123456': No such file or directory
So far I have replaced all of my bin binaries switched kernels had server support personell from different website look into the issue and read serveral forum threads. This is a weird one. So far the only solution I have seen is to reload the OS of course I would love to take the cheaper route and figure this out and I have noticed a lot of people with this problem recently is this a bug with cent?
Edit: Might be a good idea to get this moved to the RedHat forum, in the hope that
1. somebody has the soln
2. somebody there has a PAID RHEL subscription and can ask RH; they should know the answer if anybody does...
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.