The tag has no wiki summary.

learn more… | top users | synonyms

-1
votes
2answers
53 views

too many open files only when server starts

I have a Java web application set up to start within a script in /etc/init.d/application The application fails with a "too many open files" error but if I execute the same script from my user it won't ...
3
votes
1answer
217 views

Linux bidirectional file sync over a WAN with immediate/incremental syncing

Does anyone know of a solution that lets you sync files bidirectionally over a WAN, but also syncs immediately/incrementally? Basically Unison is perfect for the file syncing, but it doesn't sync ...
1
vote
2answers
94 views

how can i get list of created and deleted files on the server?

i have a image sharing website , users log and upload image last night i've lost about 30 newly-consecutive uploaded images ... i mean they have been uploaded ... apparently ... they are in the ...
0
votes
0answers
53 views

Apache file restriction directive not working

This is what I added in /etc/apache2/sites-available/default (corresponding to Apache docs this automagically is changed and in /sites-enabled/000-default): <VirtualHost *:80> ServerAdmin ...
0
votes
1answer
403 views

Tomcat 6.0 fails to read symlink symbolic link file

This is what I have my /tomcat/conf/context.xml <Context> <Resource name="jdbc/black" driverClassName="oracle.jdbc.OracleDriver" auth="Container" ...
1
vote
1answer
142 views

Automatically retrieve a specific file via SFTP

How do I determine which file is the newest from a remote server that I am connected to via SFTP? My goal is to retrieve a specific file each day, via SFTP. The steps I will follow are: Connect to ...
4
votes
3answers
2k views

Is there a hard limit to the number of files a directory can have? [duplicate]

Wondering if there is a limit to the number of files that can be stored inside a directory, in CentOS 6. There is one particular directory which could potentially have millions of subdirectories. ...
1
vote
2answers
422 views

PowerShell filter files by date in name

I have many files with different names per day. How can I filter them by the date in their name? For example: app_20130505.log app_20130506.log app_20130507.log app_20130508.log app_20130509.log ...
2
votes
2answers
3k views

Move files to another directory which are older than a date

I am looking for a solution to move files that are year older from today. My log partition is getting full, but I can not remove them. They are needed for a long long time. Anyway one solution I came ...
0
votes
1answer
221 views

Generate a p7b file from bin and der file

I'm using Debian and I'm trying to join on a file with a certificate. Try to file.bin + cert.der => file.p7b I tried with openssl command : openssl pkcs7 -in cert.der -in file.bin -out file.p7b ...
0
votes
3answers
190 views

File copy between two servers programatically

Here's what I'm trying to do: I need to automate process of copying files from server A to server B. I ideally would like to have a script that is invoked by a cron job periodically on server B. ...
0
votes
3answers
68 views

watch file to see whos accessing/writing it and log it

I am facing some malware problems on my webserver. I updated third party software such as Wordpress to the latest version, disabled root logins and my users password complex enough but still someone ...
-4
votes
1answer
48 views

How do I run a downloaded file in Ubuntu [closed]

My server was running plesk 11, but I removed some of the plesk packages by mistake when i tried to install postfix as i wanted to fix problems that i was having with emails. So now I am attempting ...
0
votes
1answer
80 views

Hard link files within directory to reduce space usage, by “version”

I have an Ubuntu 12.04 server. Server is running rsyncd (rsync daemon), and allows an external process to rsync in files to a given path, with full control of the file structure within that given ...
2
votes
2answers
205 views

How to “quickly” create 300M files and 16M directories?

I have a 3-level directory structure defined by 2 hex digits as such: 0A/FF/2B/someimagefile.gif I have 300M small files in 1.5TB of compressed files that will populate these directories (we will ...
5
votes
2answers
261 views

Concatenating files to a virtual file on Linux

On a Linux system, is there any way to concatenate a series of files into one exposed file for reading and writing while not actually taking up another N bytes of disk space? I was hoping for ...
1
vote
2answers
942 views

Putting a shortcut on the desktop of all the people in a particular OU?

At work we have all the user desktops redirected to a server. Within a all the users in an OU I need to put the same shortcut on all of their desktops. Is there an easier way to do this than just ...
0
votes
1answer
124 views

How can I find out which process is using a file on a remote samba share?

We have a large number of processes that are business specific that have been piling up over the years on a particular server. The developers of these processes have not left much documentation and ...
2
votes
2answers
2k views

sftp file size limit

There seem to be a file size limit for sftp transfer from the command line, if I try to download a 20 MB file it stops at 20% when the transfered data is larger than 4 MB: /myfile.xml ...
0
votes
1answer
275 views

Web Browsers don't show progress bar when downloading SOME kind of files (Apache server)

When I download a file from my server, only specific extensions are working. This is really annoying since I want to be able to see how much time left to finish a download. For example I uploaded an ...
-1
votes
1answer
135 views

Why can't my apache open stream? [closed]

I'm trying to copy and unlink files on my apache server. I'm trying to doing this about 1 hour ago. I can't imagine what's the problem. This is my source: if ...
1
vote
2answers
555 views

Upload file to nginx server through php/html form

I think this is very popular question, however I can't find information I interested in, hope you help me. I new to server administration things, so don't throw stones at me:) I install nginx to my ...
0
votes
1answer
553 views

How to read a keyword from a txt file in zabbix

I want to know is there are any solution for my to read the word "Error" from a txt file on solaris and Alert me where the Error is found. I tried to create a item of type zabbix agent active but it ...
0
votes
4answers
254 views

Copy files from one server to another with same permissions

Im migrating to new server and i need to move few websites but i need to have same read/write permissions to new serves as they were on old server. I don't need to keep group and owner id's same but ...
0
votes
1answer
57 views

SBS 2008 Redirection visibility issues - want to move off SBS 2008

I inherited an SBS2008 server which had a corrupt or otherwise lost userid which was used to setup redirects, etc. I was able to break in by enabling the Administrator ID and resetting the password. ...
0
votes
1answer
43 views

rsync synchronizing files only without creating folders on destination

Is it possible with rsync to not create directories on destination? MY SOURCE: a/ a/x.txt b/ b/y.txt b/c/g.txt MY WANTED DESTINATION: d/x.txt d/y.txt d/g.txt Is there any way to do this with ...
0
votes
1answer
102 views

make backup of file when user run rm -f [closed]

Here is the scenario; I need to authorize a user to do activity in /opt/dev-folder/. Developer makes frequent changes in file, some time they replaced or remove original file. I have assigned ...
1
vote
1answer
36 views

Find and group all unique versions of a file

I have a convoluted directory structure where there are many copies of foo.txt. I'd like to find all copies of this file and group them by their diff result, i.e. [type 1] /bar2/sub1/foo.txt ...
-2
votes
2answers
82 views

How can i get information about file

I need to get detailed information of certain file or folder; File chmod changed date, which user? How can i do this?
1
vote
2answers
67 views

How to get information of last created files on server

I want to get list of created files and folders after certain date in whole server, is it possible and how can i do?
0
votes
1answer
408 views

SSH: connect with public key avoiding passphrase prompt

root@myhost:/# ssh -i /opt/id_rsa.pub azureuser@myhost2.cloudapp.net Enter passphrase for key '/opt/id_rsa.pub': azureuser@myhost2.cloudapp.net's password: I have created key pair without ...
0
votes
0answers
128 views

What would cause binary files to automatically delete after remote copy from Windows Server 2008?

We have a Windows Server 2008 machine where we publish our asp.net web site. Recently, we noticed odd problems with the site after publishing, and traced it down to the \bin directory of the website ...
0
votes
2answers
654 views

Linux Shell - How to copy directory without symlink

I would like to get everything inside one directory. How can I copy entire directory (that originally contains files and symlinks) to a new directory that should contains all files but no symlink?? ...
2
votes
4answers
232 views

How to quickly remove hundreds of thousands of files? [duplicate]

Possible Duplicate: Doing an rm -rf on a massive directory tree takes hours I'm running a simulation program on a computing cluster (Scientific Linux) that generates hundreds of thousands ...
2
votes
1answer
98 views

finding files that match a precise size: a multiple of 4096 bytes

I have several drupal sites running on my local machine with WAMP installed (apache 2.2.17, php 5.3.4, and mysql 5.1.53). Whenever I try to visit the administrative page, the php process seems to ...
1
vote
1answer
206 views

File movement monitoring and alerts

We have applications that integrates to other applications through files exchanging. We needed to be able to be notified on the following situations: Files are accumulating on a certain folder, ...
2
votes
1answer
75 views

Copying lines from multiple logfiles, based on content of the line

I have multiple log files of 10mb each. The content of the log files always look like this: 06.09.2012, 21:36:02:83: xxxxx yyyyyy zzz 06.09.2012, 21:36:02:84: xx yyy zzz 06.09.2012, 21:36:05:24: ...
1
vote
0answers
129 views

Secure file downloads on IIS 8 (mod_auth_token or similar)

I'm trying to set up secure file downloads (for example, where a temporary link can be generated to download a file instead of using obscure URLs, which can be insecure). Something like mod_auth_token ...
1
vote
1answer
32 views

move files/directories with similar names, matching rule

We were moving about 4TB of files to a Windows Server08R2 from a Mac Sever. A lot of the filenames wouldn't go because of incompatible characters. We ran a renaming tool to fix the problem and copied ...
0
votes
2answers
1k views

arrays in puppet

I'm wondering how to solve the following puppet problem: I want to create several files based on an array of strings. The complication is that I want to create multiple directories with the files: ...
1
vote
1answer
34 views

Is there a way for tar to check for new files not in an archive?

Is there a way to for the tar command to check for new files that are not already in the archive, or those that have been deleted (for good measure)?
1
vote
1answer
54 views

How can I remotely verify that a file is encrypted?

Is there any way to remotely verify that a file is encrypted? I have a very complex problem, but here's a simplified scenario that illustrates the point: I have a server that generates very large ...
5
votes
1answer
493 views

BYOD (accessing files) on a domain without joining?

I run a Samba 4 instance at a small private school. This makes a regular Linux server appear as a directory controller. There are two relevant benefits to this: I have a Samba share for people's ...
3
votes
1answer
331 views

Force Close a file not a process

I want to write a script that forces closed a specific file and then copies it from one server to another. To manually do this I would use Administrative Tools --> Computer Management --> Shared ...
2
votes
2answers
228 views

Merge folders on different drives in linux?

I would like to merge the contents of two folders with the same same, from the linux terminal. Drive 1\Folder Drive 2\Folder I want all files and sub-files in drive 1's folder to go to drive 2's ...
0
votes
2answers
454 views

Linux: don't use file system cache under a directory

For a PHP website I'm monitoring, I need to see what files are being used each time the browser makes a request. I thought of using find . -type f -amin 1. With that I get all files which were read ...
1
vote
2answers
955 views

tracking down what files are causing io activity in iostat

Using iostat -Nkx 1 I can see that I am getting regular IO on a volume group. What I'm trying to do is find a way to link that IO to a file/pipe/whatever to see what process is creating this IO and ...
0
votes
1answer
98 views

Fox Pro Database File Locked by Shadow Copy?

I'm using Process Explorer to determine what process has a lock on a particular Fox Pro Database file in windows. It's telling me that System has a lock on it. When I go to kill the "System" ...
0
votes
4answers
1k views

Find files/folders that are filling up disk space [duplicate]

Possible Duplicate: How can I determine what is taking up so much space? I just had an old server go belly up because it ran out of drive space. I am logged in to the shell, and I'm trying ...
0
votes
2answers
264 views

How to access data in different userhomes from a single non-root user

I have Owncloud on my server running, and it saves uploaded files unter /home/uid/files. But Apache is running as a non-root user, and it can't access(write) the files under /home/uid/files. What is ...