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

learn more… | top users | synonyms

2
votes
5answers
142 views

How can I retrieve a directory (folder) from Ubuntu Server 14.04 VM without FTP, SCP, or NFS

I am in a bit of a sticky situation. I started my current job a few months ago, and I have a web application running on an apache web server (a simple PHP-based one). I need to update this code to fix ...
0
votes
1answer
42 views

Strange file appeared in my public_html [duplicate]

I was sending some files through FileZilla to my site when I noticed this strangely named file: \002\217a\333\\rb\004ݠ\025H\214d\277\\Z\304H\3328\f#\3641\ \tFA\001\\Z\272r\ \021\340\@\263\>\210\...
0
votes
1answer
24 views

parse-server upload size limit , more than 100MB?

I am trying to upload a file to my parse server(using javascript sdk), but I need to make sure i can upload up to 500MB (for example). Is it possoible to be done in parse-server ? Can it be edited in ...
0
votes
1answer
22 views

Can I edit a “live” log file?

I want to mark some log entries for a web server log file. Is it possible to do this while the file, possibly simultaneously, gets new entries added by the server?
0
votes
0answers
6 views

Multi-Folder/Site update of files

In our company we are hosting around 120+ sites on one of our servers, and we are bumping into the same scenario every few months. We find a bug in either an entire .html file or a class of a .css ...
0
votes
0answers
19 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
44 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
23 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
4answers
277 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
17 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
131 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
63 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
24 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
46 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
80 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
202 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
52 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
22 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
55 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
273 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
29 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
48 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
129 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
23 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
66 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
42 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
44 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
521 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
82 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
669 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
75 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 ...
2
votes
2answers
492 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 quickly....
1
vote
0answers
174 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
293 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
282 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
114 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
303 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
38 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 //server/...
0
votes
0answers
119 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
219 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
118 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
430 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
52 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
4k 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 ...