I have a server that has been running for a long time. Red Hat 7.3 (yes, I know that's old). Several ext3fs disks. For some reason I started getting odd failures. I finally found something that's wrong but I can't figure out why.
Here's the symptom: any attempt to create a directory or file name with a numeric name (digits only) fails. So:
touch 294 - fail
mkdir 399 - fail
touch x294 - ok
touch xydf - ok
The error is "no such file or directory".
This happens on all my ext3fs file systems, not just one. The kernel has been replaced with a known good one. No modules -- the kernel has everything built in. I've fsck'd the entire set of disks. A C program that directly calls SYS_open (not using the C library; using syscall) doesn't work either. The only thing that does work is debug2fs which seems to have no problem.
procfs seems to be able to have numeric directories (although that doesn't prove much).
We have a weird issue on one of our centos 5 servers, running the 2.6.18-53.1.4.el5 kernel
for some reason we cant mkdir any directories that are numerically named
ie mkdir 5789 doesnt work
alpha and alpha numeric work fine... ie mkdir ab567a
Quote:
[root@]# mkdir 6 mkdir: cannot create directory `6': No such file or directory [root@]# mkdir 6ab [root@]#
Someone suggested the adore-ng rootkit was to blame but we have run ossec root check, rkhunter and chkrootkit and even run clamav over the drives and cant find anything nasty
basically it has to do with supporting filenames(or urls) in non English (Arabic) encoding in apache webserver....
I'm assuming that its apache that needs to be configured for this, i can't think of anything else except encoding support on the o/s too.....
funny thing is, i can upload and download non Arabic file names through ftp, and ftp displays them correctly, but they can't be accessed through a webbrowser.....
hmmmm, actually firefox can access them, it screws up the file name into funny signs but actually displays the file, I.E can't access them at all....
So, how can I enable Arabic language support on my webserver?
how can i do a search for all files (probs using regex) of files consisting purely of numbers?
for e.g. find:
53243.php 24353.php 24098.php
(always have 5 numbers).
seems one of my accounts has had some script run which generated a bunch of these in various subfolders, and the php file basically does a callback to www3.rssnews.ws and www3.xmldata.info, which seem to be some sort of spyware servers.
"Create a zend id for your machine." This is apparently for them to create a product key for their software and have to bind to it?!
I have never heard of this and have been unable to locate any information on it.
This is a Centos box with php 5.2.5 installed: Zend Engine v2.2.0, Copyright (c) 1998-2007 Zend Technologies with Zend Extension Manager v1.2.2, Copyright (c) 2003-2007, by Zend Technologies with Zend Optimizer v3.3.0, Copyright (c) 1998-2007, by Zend Technologies
I have three machines in network. One is server with Windows 2003. And rest two are having Win XP Professional and MS Office with Publisher. I want to create website using Publisher on one machine and put to Web server created on Win 2003 server. So that other machines on the network can browse my thsi local website.
I hosted with windows hosting plan. From my control panel, I can only able to create password for database. Database name is assigned as ftp user name.
I don't know how to create tables inside that database. I can create tables using many tools in my desktop environment. But how can I create table in a database residing at server?
I have 4 dedicated servers in 1and1 and i want to create a server cluster for windows media services to stabilize the server load. i tried to add the second server details in the first server's windows media services and it always says, access denied message.
how can i give permissions to create a server cluster for windows media services? i didn't installed any additional firewalls in the servers and i am using this for only Windows media services so IIS is disabled. my configuration and server details are below...
Windows 2003 Standard edition 64 bit Athlon 64x2 3800+ 2 x 2,0GHz 1 GB Ram
Im trying to create a VPN on Server 2003 running on a Xen VM, however when i try and create the VPN it wont let me because theres only one network adaptor.
Is there a way i can create another adaptor some how so i can get this to work?
If anyone can help me in doing this, I'd appreciate it. I searched to see if anyone had already done this, but I didn't find anything so my apologies if this has been answered before.
Here's what I have: 1 dedicated server with a static ip of course and currently, I run all my sites off of this machine as well as my few clients. The server is running CentOS and Apache.
What I want to do is build a new server at my house/office and create a secondary webserver that mirrors my current setup. I've heard about using Rsync to do this, but I want to know if it'll allow for the balancing effect I'm looking for.
Rather than use this 2nd server as a backup only, I want also use it for dns resolution. Right now, all my sites are using two nameservers (NS1.2D.NET and NS2.2D.NET), but they both point to the same IP address at the same location. I want NS2.2D.NET to point to this 2nd server for redundancy (in case the other location goes down) and also for balancing (to spread traffic over two servers instead of just one).
Eventually what I'm going to do is move all my clients and websites to one location again, but my own location so I can save the expenses of dedicated hosting off-site. However, I want to use this setup as a test to see if my own location will be able to handle the traffic and such.
I'd like to make a private proxy server on a Linux VPS. That way, I can use the VPS's IP address when surfing (I would configure it as a proxy in my local browser). What software would I need for that, and how do I allow only access *from* my local computer's IP address. And can this also be done for non-HTTP traffic?
* Go to "Web Server Settings" add text to "Additional directives for HTTP" and press button "Ok". * Go to "Document root" folder of your domain and now you have a new folder "/cgi-bin/test" with file "test.cgi":
Code: #!/usr/bin/perl print <<HTML; Content-type: text/html <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
I built a web hosting server, the following is its state
Cent os 5 AMP server loaded updated (installed it as a complete suite during installation so it was all set to go with php mysql modules loaded) webmin usermin virtualmin
created 2 named based hosts.
now when i load up wordpress in a site and try to run install.php
the following pops up
"Sorry, I can't write to the directory. You'll have to either change the permissions on your WordPress directory or create your wp-config.php manually."
I had this issue before and research said to redo the entire server (tried everything and was fed up had fedora then"
you can have a look at www.itgrunts.com just click create config file and the errror pops up.
The php and mysql db work great on simple scripts but i dont know why this happens.
i worked with assigning the users and apache user to the directory and everything, no joy.
Whenever I try to create a user account I get the following error
Sorry, resellers are not permitted to create subdomains of the server's main domain
My server domain is www.domain.com and reseller is trying to create a user account like new.domain.com . It was working fine a few weeks back but I think since I upgraded the cpanel and whm, it doesnt allow creation of accounts anymore.
Could someone help me to fix this error please?
I own the VPS and the reseller and all other accounts.
I am been playing with tutorials online since yesterday and can't find any to do something I think is very simple.
In PHP, I have the full path to an image saved in variable $filename
How do I use the GD library to generate a 100x100 thumbnail of $filename and display it within my PHP code without having to use more PHP files or writing the new thumbnail image to a permanent location on the drive?