Unix is a multitasking, multi-user computer operating system originally developed in 1969 by a group of AT&T employees at Bell Labs.

learn more… | top users | synonyms

0
votes
4answers
53 views

How can I tell which static IP address one computer uses to connect to another computer?

I have a workstation connected to several internal networks, with a different static IP address on each of them. Through one (?) of these networks, I can connect to a server over ssh. How can I tell ...
1
vote
0answers
232 views

uWSGI TCP/IP host:port vs Unix socket

We are running a Python WSGI server (uWSGI) and changed to socket file instead of a tcp/ip localhost:port connection. Now our uwsgi logs are full of errors like IOError: write error SIGPIPE: writing ...
0
votes
0answers
20 views

inconsistency between pfiles and fuser

$ uname -sri SunOS 5.10 i86pc $ fuser securityagent-default-server321-1449307160087-2015-12-05.log securityagent-default-server321-1449307160087-2015-12-05.log: 29478o $ pfiles 29478|grep ...
7
votes
2answers
276 views

Is there a way of exporting fstab info for device which is currently mounted?

Does there exist any tool which can tell you what the fstab line for a mount should be? Ie. it looks at something which has been mounted manually and tells you the line which you would have to add to ...
-2
votes
2answers
57 views

Does /etc/host.deny blocks http requests?

If I put the entry into /etc/hosts.deny, would it block all requests from that IP address to my machine (like iptables do), or would it only block access for some applications like SSH?
-2
votes
1answer
54 views

Grep is not working without having read permissions [closed]

I am in a folder where I do not have read permission in contents. ls -l List all files sucessfully. I want to count files that have some attributes in their name with: ls -l | grep ...
0
votes
2answers
79 views

list of size of directories of /dev/sda mounted as / without other partition or mounter

as you can see here: Filesystem Size Used Avail Use% Mounted on udev 10M 0 10M 0% /dev tmpfs ...
0
votes
2answers
58 views

How to ensure that the script and its command get killed once terminal is closed

I have written a script and it is working fine . It do some tail and grep operations. When I am closing my terminal and the greping the PID of my script , I can find the script is still present in ...
0
votes
1answer
32 views

save output of a python script to a text file

how can i save output of this python script to a text file? this is a KMS server which clients connect to it and activates their windows or office. i wanted to save the log in a text file. I should ...
0
votes
1answer
92 views

How to edit /proc/partitions file in linux

I know /proc is a VFS and cannot be updated by user from shell prompt. this is my understanding from the beginning. Now , I am writing one code and where I am taking care of corrupted /proc/partitions ...
0
votes
2answers
35 views

ErrorDocument not working with .htaccess file

I am trying to use a .htaccess file to setup specific behaviors for one directory. My .htaccess is as follows: ErrorDocument 401 /var/www/secret/logging.php AuthName "My Password Protected Site" ...
0
votes
2answers
29 views

How to unlist partitions from fdisk command in linux

While working on one of my server I noticed that there are no partitions listed under "fdisk -l" command. However the machine is working just fine. Wanted to know following things if anyone can help. ...
1
vote
1answer
51 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 ...
0
votes
0answers
39 views

Cannot access samba share using full path

I'm unable to access my samba share //server01/test using the full path. But I am able to access by first browsing into //server01 and clicking on the test directory. Any reasons for this?
1
vote
1answer
42 views

VPS freeze every few days

I have a recurring problem with one of my applications/servers i'm responsible for. I basically had one VPS with all the stack needed to run my application (nginx + postgresql + ruby + ruby on rails + ...
2
votes
0answers
104 views

Nagios in activating status (doesn't want to start)

I've experienced issue when installing nagios on VM (Centos 6) I followed steps described in http://www.tecmint.com/install-nagios-in-linux/ Everything was fine untill [root@tecmint ]# service ...
1
vote
0answers
36 views

Monitor disk occupancy

The problem should be simple, but not so obvious to me. I have a process that creates temporaries in a specified directory, under MacOS X. I need to find the disk occupancy of the process, if ...
2
votes
1answer
77 views

I need a command to create a unique fingerprint from unix machine

I need to create a serial number for my application in a Unix machine. The generated serial number should be unique Do not change over time (Only changes after hard drive or mother board changes) Do ...
3
votes
2answers
91 views

How can I combine two commands to tally data from compressed and uncompressed log files?

I am running this command to get a tally of failed login attempts from a server’s auth.log and it works well: sudo cat /var/log/auth.{log,log.1} | grep 'Failed password' | grep sshd | awk '{print ...
-1
votes
1answer
276 views

What shebang for Anaconda Python on my directory of Server

I have anaconda python distribution in ~/anaconda/bin/python but what shebang can I use to call this version of python instead of the old one that is default on the server? # ...
1
vote
0answers
74 views

Interpreting TCP Traceroute results here?

I used to be able to connect via SFTP to a remote server to download files. Our local server is Windows 2008 Enterprise and the remote server is Unix. The local computer and the remote server are ...
-2
votes
1answer
55 views

Only downloading new folders/files with rsync

I periodically run a rsync command which downloads new files from my remote server. The files that are downloaded are stored in folders, once I have downloaded them to my local machine I may delete ...
0
votes
1answer
22 views

Know which file is related to a process execution

In Unix, with top I have an output similar to this: 13916 root 18 0 903m 129m 9936 S 51.4 0.1 3:07.01 php How can I know which file is this php process executing? For example: 13916 root 18 0 903m ...
2
votes
1answer
40 views

Archiving bunch of files in the fastest possible way [closed]

I'm implementing a torrent downloading and archiving system. I want to download a torrent file (which contain several small files) and then archive it. My Disk performance is poor. so i want an ...
0
votes
1answer
38 views

How do I create a shared directory under root?

I'm trying to create a shared folder on my root partition that anyone in a particular group can read and write to and any new files within that folder are also read writeable by anyone in that group ...
1
vote
0answers
28 views

Simple anti DDoS protection in FreeBSD [duplicate]

I have a lot of request from data centers to my web server on FreeBSD and sometimes it've have a lot of performance problem with my web projects. Adding to IPFW list all IP's data centers is ...
5
votes
1answer
88 views

Is it possible to increase the rate at which ntpd updates the system clock?

We have some hosts that have gotten out of sync due to ntpd being mis-configured, with an ntp server that was unreachable. Our clocks on some hosts (CentOS 6) are now upwards of 30 seconds off (in the ...
0
votes
2answers
63 views

Moving files between hosts using intermediate storage area [closed]

Is there any good existing solution for moving files from host A to host C, using host B a an passive intermediate storage area. A -> B -> C Limitations Host A and host C are on separate networks ...
-3
votes
1answer
251 views

Change existing file type from standard file “-” to directory “d” as shown with Unix ls -l

In summary, if I use ls -l it yields something for a directory like... drwxr-xr-x and the reported error for a directory with files in it, is it shows as a standard file and ls -l yields... ...
-1
votes
2answers
192 views

netstat on unix server shows strange connections

netstat is showing a lot of unknown connections from different strange places. are they just attempt to establish connection? or is my server compromised? I've removed my local addresses from the log ...
1
vote
2answers
110 views

Finding out what happened that I cannot connect to SFTP server?

We have a server with Windows Server Enterprise that runs a simple console app that connects to another server via SFTP in order to download files. I believe the remote server is Unix server, but I'm ...
1
vote
2answers
78 views

Crontab - How to determine current active processes started by cron

We have a very sensitive application which heavily makes use of crontab and we would like to track of how many processes started by crontab are still running. In short, we have a limit of 300 cron ...
0
votes
1answer
47 views

Easiest way to view puppet reports on pending (i.e., --noop) changes

My Puppet environment consists of a master and numerous agents which are run manually via the invocation of puppet agent --test. I am attempting to find the easiest (i.e., human readable, at-a-glance ...
0
votes
2answers
147 views

Why can't I cd to a root owned folder, as a member of the root group? [closed]

I verified I'm a member of root: user_me@host1:~$ sudo useradd -G root user_me useradd: user 'user_me' already exists However, I can't cd to /root/testing from my user: user_me@host1:~$ cd ...
0
votes
0answers
16 views

Expand variable in system.d configuration files

I am wondering if it is possible in a system.d configuration file to expand variables as in a shell. The proxy configuration must be defined in HTTP_PROXY, http_proxy, HTTPS_PROXY, https_proxy and ...
2
votes
0answers
156 views

Unix Server Vs Windows in application deployment (Not a web application) [closed]

Ok, I was browsing through a lot of forums, but I couldn't get a very convincing answer for the same. My question is - What is the advantage of deploying an application in UNIX server instead of ...
7
votes
2answers
98 views

Setting timezone to UTC in unattended install

In FreeBSD, I'd like to set the timezone to UTC in an unattended way. If I run tzsetup, and select "yes" and "a" in the dialogs, for choosing UTC, I see that there are no /etc/localtime files present. ...
0
votes
1answer
60 views

WUFTP: sleeping: fcntl lock of pid file failed: Permission denied

Our main and largest FTP server, which uses wuftpd as FTP server software is facing constant drops of connection. It has been running for years now, all of suddenly, is presenting this problem. ...
0
votes
1answer
261 views

Postgres /root": Permission denied

why on ubuntu 14.10 every time that i try to start the postgres on: sudo -p 'sudo password: ' -u postgres /usr/lib/postgresql/9.4/bin/initdb -D /mnt/postgresql/9.4/data show this: could not ...
1
vote
3answers
902 views

Linux's /etc/init.d - symlink, hard link, or actual file?

I have a Debian and an RPM package that requires a start/stop script to be added to the /etc/init.d directory. Recently, I was informed by a remote developer that "those in the know" know that "best ...
0
votes
0answers
421 views

NAT with IPFW in FreeBSD without divert

I'm using IPFW and trying to do NAT on my LAN (FreeBSD 11). I'm following https://forums.freebsd.org/threads/ipfw-nat-setting.46929/ but I can't get it working. The FreeBSD manual uses divert which is ...
0
votes
0answers
41 views

disable simple paged results control support

Trying to make my client, originally developed for OpenLDAP, also compatible with Oracle DSEE. Oracle DSEE is missing support for simple paged results, which the client code uses. Yet, ODSEE supports ...
0
votes
0answers
141 views

PJSUA playing wave file on state “EARLY”

I'm trying to create a system, where a wave file is generated and then some of our employees are called by pjsua and the wave file is played to them. Everything seems fine, I am running the following ...
3
votes
2answers
56 views

Can idle NFS mounts on several clients impact performance

We had a NFS server at work which was working with slight lag. However as more mount points were getting created at several clients(serviced by the same server) we noticed the performance coming to a ...
-1
votes
1answer
50 views

Deploying R on Work Server [closed]

We are looking to install R on our UNIX server at work, where we currently have SAS up and running. I know that R uses RAM to run, so are there any concerns with having R installed on an enterprise ...
0
votes
1answer
45 views

CPIO ulimit reached error

I have been googling this without much luck. I hope someone can help here. We have a customer running SCO Unixware 7 machine. This machine does a daily backup to tape. These have stopped running. ...
1
vote
2answers
67 views

How to prevent rsync from chown'ing remote users files

I'm doing rsync /local/path/to/src user1@remote:/path/to/dest. dest belongs to user2@remote. How do I keep rsync from chown'ing dest to user1 after syncing? Please note that I have already tried ...
0
votes
1answer
98 views

Hostname changes history in unix systems

I've been trying to find a command or file that contains all the previous hostnames a Linux/Solaris machine has had, but I can't seem to find any way to do this. The question is really about the ...
0
votes
1answer
78 views

Using PowerCLI Versus using asp.net WMI to scan and retrive informaion about ESX hosts

I want to scan and view information about ESX hosts which have "ESXi 5.0 Update 1" as their OS inside my asp.net web application. mainly to be able to retrieve the ESX specification and all the vms ...
2
votes
1answer
88 views

logrotate compression parameters

I've been using cstream for a while for many things, for example to reduce the impact that mysqldump has on drives. However, I have always done so by calling the binary directly from a script or ...