Organized data encoded in a pre-defined format and stored on a filesystem.

learn more… | top users | synonyms

0
votes
0answers
17 views

Vanishing files on Ubuntu

I have an Ubuntu 14.04 web server installed on an Azure virtual machine. I am encountering a strange issue, where on seemingly random occasions files or directories are suddenly deleted without ...
-4
votes
1answer
39 views

Unable to upload file on FTp

My server is CentOS-6.2-64bit. I have made following changes in php.ini file: memory_limit = 7G post_max_size = 6G upload_max_filesize = 5G But unable to upload 5GB file on server. Guide me to ...
0
votes
0answers
21 views

Prevent Windows Installer from copying all files while installing from USB flash

Is there any option (probably using Autounattend.xml) that will prevent the Windows installer to copy all files from USB flash to the C:\Windows folder while installing? Eg: the installation media ...
8
votes
3answers
199 views

Bash one-liner to atomically create a file if it doesn't exist

I want a Bash one-liner that atomically creates a file if it doesn't exist. That means essentially "if file doesn't exist, create it" but ensuring that no one else manages to create the file in the ...
0
votes
0answers
15 views

Write important libs after deleting file-libs accidentally on CentOS?

this is what seems to be my biggest fault since working on servers: I'm fighting yum rpmdb issues for the whole evening and accidentally deleted krb5-libs and file-libs. This leads to missing ...
2
votes
3answers
128 views

Debian - how to prevent global read access for all files?

In my debian all files, even the system ones have permissions rw-r--r--, so it means that all users can view ANY file even some system configuration or database files and so on. How do I prevent ...
0
votes
1answer
38 views

Using nginx try_files and custom error pages for the main location block?

When using try_files in nginx, is there a way to specify and use a custom error_page only after it has tried each URI specified in the try_files directive? The below configuration does not work: ...
0
votes
0answers
20 views

How to capture configuration files from saltstack minion and store them on git?

I'm trying to use salt to manage the configurations from systems that have configuration files in many different locations (but within a given account). My intent is not only deploy the files in ...
0
votes
2answers
36 views

Serving images from two different directories with Nginx

This should be basic... I'm brand new, and no amount of googling and searching stack exchange is helping. I have a website that I want to be able to serve images from, from different directories. I ...
0
votes
1answer
67 views

How to maintain ssh connection for multiple scp transfers?

I'm using the scp command to copy files from my local machine (ArchLinux) to my server (CentOS 6.5). But for each scp command a new connection is established and although I'm using SSH keys for ...
1
vote
1answer
192 views

Linux Find File with Exact Size

In the Linux command line, how can I find all files exactly 158 kB in size? I was using the following command but it didn't work: find /var/www/ -xdev -type f -size 158k
0
votes
1answer
44 views

Replacement for Offline Files

We're trying to use IIS shared configuration on Server Core 2012 R2. It works perfectly with one exception which is that if the SMB share that stores the IIS config files goes offline IIS crashes ...
0
votes
0answers
20 views

parse_failed error occured in augeas,why this error occur and how to fix this issue?

I want to edit file "myfileDB.properties" using augeas. so used Properties.lns. but it made error "parse_failed"and some time "parse_skel_failed". explain the root cause of this error and solve this ...
0
votes
1answer
23 views

FTP file size limit

I have a webhost account, which has a file size limit, so cannot upload my backup file. How can I upload it maybe in more pieces and after that merge pieces on server? I don't have SSH access.
0
votes
2answers
49 views

Inotify/iwatch cannot see when more files created at the same time

I would need a script that can check files when they are getting uploaded/created on the server. I wrote the script that checks, but I would like to make it run when a create event happens. I tried ...
6
votes
4answers
244 views

rsync directory so all changes appear atomically

I do some nightly and weekly mirrors of frequently used repositories for the local network. On a few occasions, someone has tried to do an update while the rsync is happening and failed because the ...
0
votes
2answers
27 views

Using the output of a program as the contents of a file, dynamically

In Linux, I would like to create a file where the contents of the file are dynamically generated by the output of a program. The examples which already exist are /dev/random /dev/urandom, /dev/zero, ...
1
vote
2answers
46 views

Linux - wrapper to monitor an application's file access? [closed]

Are there any user-level wrapper-like scripts/programs that can watch what files an application accesses, without impacting performance? I'm trying to capture what files are produced by an automated ...
-1
votes
1answer
26 views

Why du -sh * tells me sys has 0 size?

I use du -sh * to find out the size of folders, but the sys folder is giving me 0, and the same about any folder inside sys. find . | wc -l gives me 11k files. Do you know why and can you suggest a ...
0
votes
1answer
81 views

Could not evaluate: Could not retrieve information from environment bootmaster source(s)

Feeling like a complete newbie to puppet (I admit I am very rusty :-) So my manifest/site.pp file contains. file {"/tmp/findme.txt": source => "puppet:///modules/concat/concatfragments.rb" ...
0
votes
1answer
21 views

Directory vs Files for efficient search and retrieval of files

I am working on a website where users have ability to store all kinds of media on the server and there can be any number of users. I thought I would store all the media which users upload like this: ...
1
vote
1answer
52 views

How to pipe a file being written to?

I have a binary file that is being written to continuously. I need to read the full content of that file to a pipe (either to nc or to a FIFO) and keep reading it while its is written (i.e. the ...
5
votes
1answer
71 views

Windows Active Directory backup to a file

How can i take a complete backup of windows Active Directory into a single file and is it possible to restore this AD backup to another server? I cannot use active directory replication now, because ...
-2
votes
2answers
54 views

How To Optimize Huge Directory of Images

I took over the tech operations at a small company. However, the previous lead made the erroneous decision of storing 100's of GB's of images, even though our website only ever uses around 5GB of ...
0
votes
0answers
38 views

File is renamed from test.zip to test_zip on download

I'm facing a very strange problem with IIS 7.5 or/and the Internet Explorer 11. On download the IE/IIS replaced the file extension delimiter . with an _ . The download starts and stops instant leaving ...
1
vote
1answer
40 views

Access denied for Administrator but security says otherwise

I was removing rights to some uses on a certain folder when Windows complained that my action would restrict said user. I naturally ignored the warning since I was logged as Administrator and the user ...
0
votes
1answer
345 views

NGINX Keeps Crashing, Seems to be because of too many open files

As stated in the title, my Nginx server seems to be crashing constantly although the reason is unknown. I do have some hints from my error log which may lead to the issue. I have tried to increase ...
-2
votes
2answers
78 views

Copy Files from one Linux server to another with Encryption [closed]

I want that when i copy files from one Linux server to another it should be encrypted. Also, there should be a log maintained as which files are uploaded from which IP just like ftp logs. The ...
0
votes
1answer
485 views

What are the file name limitations in an FTP path?

What characters are allowed and what is the maximum length of a filename in an FTP path? And can the rules be different between the various FTP servers? Any other limitations?
0
votes
0answers
61 views

Make a symbolic link of all files and subdirs, Ubuntu 14,04 server

Sorry if this has been asked before. I tried a search but... We would like to make a central collection of symlinks from a number of disparate folders and subdirs and which use unnormalised file ...
1
vote
1answer
338 views

nginx split large configuration file

My nginx default configuration file is becoming huge. I'd like to split it to smaller config files, each including only one, maximum 4 locations to each file, so that I can enable/disable them ...
0
votes
0answers
22 views

apache2 serving some files, some not

I am running apache2 in order to serve files for pxe-boot. There are files which are already served so I made a new directory with files, so they are served, too. But I get a "403" from Apache. PXE ...
1
vote
0answers
149 views

How to check what process or application is deleting a file without using Process Monitor? (Windows Server)

Currently I'm having an issue with a piece of software that makes use of specific files (which are basically xml), sometimes stored on a file share and sometimes stored locally. Every so often one of ...
1
vote
1answer
248 views

Move a specific number of files to folders from a large pool of files

I have 1 million files in a single folder (source). I want to create a new folder, move 5K files into it and repeat until all files in source are moved over to separate destination folders. The end ...
0
votes
1answer
247 views

IIS 7.5 - Deployed WebApp can't access network shared's folder / files

I come back with a new question for you guys. :) My project need to work with some important data and print the results. I'm working with a big db and few files located on my company's network. So I ...
0
votes
1answer
107 views

get physical disk name for a file

When I opened disk management in Windows Server 2008 I see Disk 8 G: H: Disk 9 H: Disk 10 H: I Now, I have few files in H: drive and I want to know which disk it belongs to. I have to do it ...
0
votes
0answers
264 views

Too many php session files created on one server

We have a web application running multiple instances on different plesk servers. On one server we see quick generation of php session files under /var/lib/php/session directory. Which grows in 100 ...
0
votes
1answer
36 views

Grep a textfile with (find generated) files, but ignore paths

I receive a huge textfile generated with find. The contents of the generated textfile are a file-referenes with full path, i.e.: //server/dir1/dir1foobar.ext //server/dir1/dir2/dir1bar.ext ...
0
votes
0answers
105 views

MySQL slow file I/O

I got a little issue with MySQL having slow file IO. When benchmarking 1k blocks (I did them on purpose that small for worst-case) I get an hdd speed of about 2MB/s. When looking at iotop while ...
1
vote
1answer
55 views

is there a tool for windows 7 that can find which program is modifying a particular file [duplicate]

My system is infected by a malware that keeps modifying a particular configuration file. Is there a way/tool to find out which program is making change to a particular file? I am simply looking for a ...
1
vote
1answer
204 views

SSLRequire - file function

I'm having trouble with Apache 2.2 and the small documentation that I can find for the file function of SSLRequire. I'm trying to check the email property of the client certificate in a request using ...
0
votes
2answers
117 views

Why my netcat connection doesn't send the file correctly?

I wrote this script to send a file using netcat. My intention is to open the netcat port in the destination server from the origin, this way I do everything with just one script instead of having one ...
1
vote
1answer
1k views

Unable to upload a big file to server behind nginx as a reverse proxy

I use nginx as a reverse proxy. Behind it is coming apache hosing foo.com . In order to upload a big file, I set post_max_size = 20M and upload_max_filesize = 20M in php.ini . But I can't upload file ...
1
vote
1answer
400 views

File extension .QCOW2 on Windows [closed]

While I was researching for solution, I saw the file extension could have something to do with vmware, thats why I am asking my question here. I would like to know how, what software should I use, to ...
0
votes
0answers
50 views

inconsistent behavior of files created by an archive / ssh / tar command

Working on a deploy script, I ran into issues that I cannot explain. We have a production server (Ubuntu server 10.04), a repository (Gitlab), and a development server (Ubuntu 14.04). I work on the ...
3
votes
3answers
3k views

OSX connecting to Windows Server 2012 R2 (SMB) for file sharing unable to search

When users on OSX 10.10 connect to a remote server (SRV02) fileshare via SMB, they are unable to search the file share... when they do, it just hangs (pinwheel of death). There are several users on ...
0
votes
1answer
166 views

Copy files limited to 50GB or so?

Several times I have tried to copy a vhd file from one HDD to another one colocated in the same physical box and connected to the same motherboard. GUI drag and drop, Powershell, copy and paste - all ...
2
votes
3answers
117 views

Output of a command to the first line of a file

I am trying to insert output of a command into the first line of a file. For example, I have a file named "list.txt" and want to insert a text containing all the file names in that folder. A way to ...
0
votes
1answer
90 views

Managing uploaded files on a server [duplicate]

I have a server hosting an intranet web site where one of the features will be the ability to upload files. The files will be saved in a restricted access folder and managed through the web back-end. ...
0
votes
1answer
37 views

After restoration of .stm file i unable to open emails.

We use Exchange server 2007 as a mail server where mailboxes don`t synced to Outlook. We had some problems with a .stm file and we restored it. After that we unable to open any emails located in these ...