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
0answers
3 views

What are the packages in pkgsrc that's equivalent to rmtrash and autojump in homebrew, respectively?

On Mac OS X, what's the package in pkgsrc that's equivalent to rmtrash and autojump in Homebrew? http://brewformulas.org/Rmtrash http://brewformulas.org/Autojump I just switched to pkgsrc from ...
0
votes
0answers
21 views

Apache and users write permission issues

On my web server I have two distinct folders, /home/dev/ and /home/prod/, each containing several websites. As you can guess, each directory is owned by the corresponding user, devand prod. The ...
0
votes
0answers
11 views

Error Sending £ symbol through telnet message

I use the following command to send SMS messages through SMS Adapters: telnet localhost ${PORT} <<-EOF helo x MAIL FROM: Test RCPT TO: 447999999999 DATA Test £1234 . ...
0
votes
0answers
11 views

Users migration from UNIX to NIS

I just set up a NIS server and I have 8 clients machines. Each of these machines was used by some users before setting up NIS. I want to migrate their account to the NIS server. The problem is that ...
1
vote
0answers
13 views

Issue with port range of passive FTPS using VSFTPD

First of all, I am aware that there are many similar questions to this one out there, however the common solution to those problems is the source of my problem; therefore I am asking my own question. ...
1
vote
1answer
41 views

Prevent rsync from deleting excluded directories

I'm using rsync through Ansible's synchronize-module with the following task definition: synchronize: src='{{ local_app_path }}/.' dest='{{ remote_app_path }}/' perms=no owner=yes ...
-1
votes
0answers
12 views

Samba terminates when running interactively?

I can't seem to find anything in the documentation supporting this but when I run smbd with the -i flag (smbd -i), I noticed that upon any kind of error such as authentication error, the Samba ...
0
votes
5answers
58 views

Rsync to a backup server resulted in additional space taken

I ran an rsync to backup one of our production servers. I put the production server in readonly mode so that no additional data could be added or modified. I then did a recursive rsync with archive ...
0
votes
0answers
20 views

A tool to get disk activity statistics from strace? [duplicate]

So, with strace we can monitor the "file" activity, like the "open", "read" and "write" operations, but is there a tool which will calculate a sum of read and write operations grouping it by the file, ...
0
votes
0answers
55 views

How to lock a user into a directory (not SSH)

I have regular users who are not SSH'd into a machine but are accessing the machine directly. How can I lock them into their home directory or any directory? At the moment they can successfully run rm ...
0
votes
0answers
126 views

WSAECONNREFUSED SAP Gui unable to connect on SAP server on hp ux - inetd.conf file reference

I have a sap server installed on HP-UX vm, up and running. when I try to connect to the server from SAP client GUI installed on windows machine I get the following error --------------------------- ...
0
votes
0answers
19 views

Custom schema for OpenLDAP 2.4

I am new to OpenLDAP administration. My aim is to learn how to create custom schemas, and customize "my" directory server this way. I tried to add one optional attribute - ipPhone. Made a schema ...
0
votes
1answer
35 views

Check how much time has elapsed for Cron job and send email

There is a cron job that is set which runs throughout most of the day, sometimes the job gets stuck and I would like to set a time or check on it which let's me know if it has been stuck for more than ...
1
vote
2answers
39 views

What is the difference between truss -D and truss -E?

I am currently analyzing a command on Solaris that reads from a file and has very low performance. The truss -D commands shows me read system calls taking up to 0.03 seconds, but when I use truss -E, ...
1
vote
1answer
194 views

Ubuntu Server 14.04LTS Swappiness for server with 16GB memory

(don't worry I'm not asking what my setting should be, asking for the theory behind some conflicting advice I've read) My application is one that is lightweight and not under much load, but needs to ...
-2
votes
2answers
34 views

assign variable in puppet

I am newbie to puppet, I have code like below in unix log_exts=$(vgdisplay /dev/cassandra|grep Free|awk '{print $5}') if lvcreate -n lv_cas -l ${log_exts} /dev/cassandra then mkfs -v -t ext4 ...
0
votes
1answer
23 views

Exim need to send mail off server

Never needed to set up a mail server before. I've got exim up and running perfectly fine. When I send an email using command line to my.email@gmail.com it works wonderfully, arrives from ...
1
vote
2answers
676 views

Expect script error send: Spawn id exp4 not open while executing

Update: Working code added here for others CREDITS to : http://serverfault.com/users/30957/glenn-jackman @Glenn I'm sorry! just apologizing and I mean it! Sorry Glenn your code need few changes ...
0
votes
1answer
59 views

Pipe multiple files into one tar gz

I'd like to call mysqldump to create multiple backup files and then archive them in one tar.gz. I am following this tutorial on mysqldump part: ...
3
votes
3answers
89 views

How to pass command output as several arguments to another command

I have a command that produce a output like this: $./command1 word1 word2 word3 I want to pass this three words as arguments to another command like this: $ command2 word1 word2 word3 How to pass ...
0
votes
2answers
31 views

Unzip piping order

I have a file, foo.zip which looks something like this: foo.zip -- fileA.txt -- fileB.txt I can pipe the output of the extracted files like this: unzip -p foo.zip *.txt | something My problem is ...
6
votes
2answers
139 views

Calling sync/fsync slows IO after 30 minutes uptime

After 30 minutes of uptime using Ubuntu 14.04 with an ext4 hybrid SSD I see many processes blocking IO using iotop. The root cause of this slowdown has been traced back to the Unix system call sync. ...
0
votes
1answer
161 views

uWSGI cannot load virtualenv

I'm setting up a Python app using nginx and uWSGI. My dependencies are in a virtualenv. If I activate the virtualenv manually, everything works by running this command: uwsgi --ini uwsgi.ini But if ...
0
votes
1answer
21 views

how to configuring vagrant to allow some specific IP to be available on a windows machine?

I have Vagrant installed on my windows machine. I am using putty to ssh to the ubuntu machine. Lets say that I need some specific service (let's say a graphite for stats) which should be reached with ...
-2
votes
2answers
122 views

How do I pipe the output of the journalctl to cURL? [closed]

I am trying to send logs to a remote server using curl. I tried the following command and nothing happened journalctl -o json -f | curl -H "content-type:application/json" -d @- http://logs Any ...
0
votes
0answers
46 views

no record of login thru phpseclib

I am having a strange problem. I am using phpseclib to communicate with one of our server server - 10.0.0.2 my pc client - 10.0.0.1 I am accessing it via 10.0.0.1 when i hit "last -n 10" i cannot ...
-1
votes
2answers
70 views

Compare files/folders across servers [closed]

We have two Unix servers, spread across two countries. These servers hold our software repository (scripts, binaries, documents etc). I am looking for a simple way to keep these servers in sync ...
0
votes
1answer
36 views

How to git add list of files from git diff

I accidentally added a bunch of cache files into the repo. I've now removed them and now want to commit the change to the repo. So I tried to do the following, but git doesn't seem to like it: git ...
1
vote
1answer
121 views

Puppet template if defined syntax

I am having trouble finding a solution in Puppet documents. I am trying to define a variable in Puppet template. For example: If class graylog2 and apache are defined in node class section then the ...
0
votes
1answer
291 views

Cannot mount an existing EBS on AWS

I tried mounting an existing EBS Storage (which has data) to an instance, but it keeps throwing this error. mount: wrong fs type, bad option, bad superblock on /dev/xvdf, missing codepage or ...
0
votes
0answers
21 views

w Reports A Process of A Deleted User

the w command reports the following: adm1@prdsvr:/home/adm1> w 10:18AM up 13 days, 15:04, 6 users, load average: 0.00, 0.00, 0.01 User tty login@ idle JCPU PCPU ...
2
votes
3answers
113 views

How to control the rate of automatic restarts of a runit service?

I have this runit service with run and log/run scripts properly working. As it happens, the service itself can crash for external reasons and might not be able to start for many minutes. The default ...
0
votes
0answers
71 views

Setting Samba passwords using Chef without storing plain text passwords in data bags

We have a server that is configured using Chef. Currently, the way that chef manages the passwords is by simply copying down the samba tdb databases and updating the shadow hashes of each user. ...
2
votes
1answer
176 views

Should I create ZFS zpools with whole disks or partitions?

I am making zpools on FreeBSD machine. While creating zpools i observe these two cases:- If i take raw disks and create zpool then i am able to form zpools and they are working perfectly. If i ...
-2
votes
1answer
19 views

DocumentRoot Path in browser?

I'm using Apache v2.2.26 on Mavericks and I am unable to understand why http://localhost/~username/Sites/ returns a 404 error, when, in fact the directory, Sites, exists, whereas ...
0
votes
0answers
36 views

Collectd types.db save unix epoch time

I am trying to save unix epoch time to collectd and get it out with command: collectctl getval servername/stime/execstime The output I get is showed like this: value=9.998742e-01 The type I am ...
0
votes
0answers
30 views

Tru64 UNIX Does Not Respond

We had our old Tru64 UNIX system on an AlphaServer 400 233 crash today with I/O errors. From what I've read and the error outputs it appears that the drive containing the /usr partition is toast, and ...
2
votes
1answer
305 views

chattr - How to change file +i attribute without using chattr

Here`s the problem. My server got probably hacked. I would like to change a config file, but it is immutable (has the +i attribute), so I can't edit it. trying to execute a "chattr -i" on the file ...
0
votes
1answer
39 views

TOP processes by system time

I have a system running 2 processes - MySQL and Java I'm seeing 20-30% of the time spent in %system. I've looked around to try and find a way to identify which what the balance of the system time is ...
-1
votes
1answer
66 views

How to share my linux folder with mac mini over nfs [closed]

I tried to mount using following command after exporting the folder in linux source machine ( NFS server) . sudo mount -t nfs -o resvport,rw 192.168.12.10:/home/pavunkumar /private/nfs It is ...
3
votes
1answer
103 views

Troubleshooting DNS issue

I am trying to troubleshoot a DNS issue I am currently having with a new project host on an AWS EC2 instance. It is a brand new domain, and I have already updated the nameservers on the registrar ...
4
votes
2answers
156 views

How to trigger cross-platform jobs between Windows and Unix

I have an application which has components on Windows and Unix. I need to run overnight jobs which initiate tasks/jobs on both environment. These need to be sequenced so I cannot simple use Cron / ...
-4
votes
2answers
73 views

Closed source alternative to Linux? [closed]

Is there any closed source alternative to Linux that's still actively used and developed? I'm looking for a good, expensive Unix-like OS please. The only other OS's that come to my mind are the ...
3
votes
1answer
64 views

screen in screen, detach only last one

I have strange issue on my hands. I have opened (GNU) screen for one serial console and in that same console I have opened another screen to another serial console. It was working but I am now ...
1
vote
2answers
97 views

My reverse zone doesn't work

I'm trying to configure my reverse zones on Centos server. I've read many articles and it looks like I'm doing everything right and don't know what to check or fix next. The following is a part of my ...
1
vote
1answer
111 views

Upload files from vsftpd ftp client in /tmp and once they are uploaded, move them to original folder

I'm having issues with my application. The scenario is that, there is a php cron which is running every 1 minute and it processes the uploads folder, wherein, files are uploaded via ftp ...
-1
votes
4answers
382 views

need to make password less login for same linux server with same user [duplicate]

I need to make passwordless login for same linux server with same user. [airwide@eir ~]$ hostname -i 10.3.7.73 [airwide@eir ~]$ ssh airwide@10.3.7.73 airwide@10.3.7.73's password: how can make to ...
4
votes
2answers
585 views

Is “sudo su -” considered a bad practice?

Background I know the difference between su -, sudo su -, and sudo <command>: su - - switches user to root, requires the root password sudo su - - switches user to root, requires only the ...
0
votes
2answers
115 views

Find Users without a password in UNIX AIX

I'm searching for a script that finds users who don't have a password. Could anybody please explain me the commands that are needed in such a script?
2
votes
1answer
114 views

TCP traceroute works fine but not UDP

So I ran into this issue where doing traceroute some-server.abc.com returned *** for multiple lines and finally reached maximum hops limit. Doing a traceroute -T some-server.abc.com works perfectly ...