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

7
votes
1answer
119 views

su: /bin/bash: Resource temporarily unavailable

Unable to switch user to postgres. Ulimit settings for postgres user is set with reasonable limits. We are not hitting max. No errors in /var/log/messages. Error: BETA -bash-4.2# sudo su - ...
0
votes
0answers
15 views

Is duplicity a reliable backup tool? [closed]

Well, the question might seem very generic, however, I don't have any specific question about it. Can anyone here who has used duplicity for a few years for backup up production servers talk about ...
2
votes
1answer
25 views

LUKS full disk encryption use keyfile instead of passphrase

I have enabled LUKS full disk encryption on an LVM volume while installing centos6.6, however it asks for a passphrase every time the OS is rebooted. I am now trying to use a key file according to ...
0
votes
0answers
9 views

Gitlab custom hook issues

I am implementing a custom gitlab hook. While some one pushes in master, I want to update a specific file. Then commit this change and push it to remote origin. The hook looks like below: ...
0
votes
1answer
39 views

VPS restarted for no reason. Why?

I have a VPS that runs a Java server, a redis server and a PostgreSQL server. Everything is running well but last night my server "crashed" at 3:15:50 AM. At least that's what I thought. I looked at ...
0
votes
0answers
10 views

Signing PE files under Unix

After a signing PE file under Unix using osslsigncode, the file has digital signature but running it under Windows UAC shows that Publisher is unknown. Did anyone else have a similar problem? What is ...
-5
votes
1answer
25 views

How can i detect if the virtual CD ROM is attached or detached?

I have a requirement where i need to check if a virtual CD ROM is attached if yes then read the values and apply it on to the application. But couldn't find a way to detect if a CD ROM is attached or ...
3
votes
1answer
56 views

How to import custom korn shell script into Nagios monitor

Our company is consolidating our monitoring solutions (WUG, Cacti, Zabbix) to Nagios. I have used Zabbix for years, and am trying to understand how to get Nagios to report on applications that I have ...
0
votes
0answers
22 views

ls hangs on NAS mount point

Frequently we are running into this problem. our NAS mount points works perfectly and all of sudden it hangs. when we go and do ls hangs the terminal. strace ls /srv/git hangs here ...
0
votes
1answer
39 views

Server ran out of HD room

A rogue script brought my centOS-based server to its knees and resulted in 0 bytes of HD room left. I since fixed the issue and everything seems to be running normally. So my question is, what ...
0
votes
1answer
48 views

In /etc/hosts is there something special about the first hostname for any given line?

I know that the first one is said to be canonical, but I don't fully understand the practical implications. This question was triggered by the man page for hostname -f, specifically when it says: ...
3
votes
1answer
49 views

OpenLDAP advanced ACL configuration

I have a multiple DITs in my OpenLDAP server. I made user cn=config the root so that cn=config has root access to all DITs (each DIT). In addition, there is a per-DIT administrator IDed as ...
-1
votes
0answers
78 views

Server hacked; how? [duplicate]

It looks as if our CentOS LAMP server has been compromised today. It appears malicious files have been uploaded into the webroot and requests are being made to upload these files to other servers. I ...
4
votes
1answer
79 views

cp -p will preserve times for some files but not all?

I have a source directory on a machine with a bunch of files, all with the same permissions, that I want to copy to another directory, that is mounted via SMB. [tmark@dexter JR09141045 ...
1
vote
0answers
24 views

How do I configure nginx to have a server block pointing towards a django app?

Suppose I have an nginx server, with Django apps set up as "/djangoapps/exampleapp1/" and "/djangoapps/exampleapp2/". Suppose I just registered a domain "www.exampleapp2.com". How can I point ...
-5
votes
2answers
56 views

Determine UNIX version without using uname command? [closed]

Is it possible to which flavor of UNIX a machine is running (AIX, HP-UX, etc.) without using uname command? If so, what other method/command is used to determine this?
1
vote
1answer
33 views

How to strip TCP headers from tcpdump (with hexadecimal output of non-printable data)

tcpdump don't know how to strip TCP headers from packed data. tcpflow print's only packet data, nice, but it supports only ASCII characters, no hexadecimal output possible. Did I overlooked some ...
-2
votes
1answer
37 views

Install SSH key in UNIX server

I'm trying to connect to a UNIX server from a Windows server, through PSFTP. I am using this command in CMD: psftp.exe -i %userprofile%\.ssh\certificate.ppk username@unixserver The problem is that ...
0
votes
1answer
16 views

SFTP and syslog-ng custom logging format

I have modified sshd_config and syslog-ng configs to log sftp connections into separate files. Now I would like to create custom logging like: [date] [source_ip] has downloaded the [filename] [size] ...
0
votes
1answer
39 views

Why am I getting a 'Memory fault(coredump)' when I start the oracle listener?

This server (AIX ver 6) recently went out due a prolonged power outage. When I try to start the oracle listener I get this $ lsnrctl start Memory fault(coredump)
1
vote
1answer
85 views

Squid Segmentation Fault?

I'm currently fixing an issue with one of our production servers. The issue is related to squid not able to run properly. When I try to run service squid start/stop, it throws an error: 2015/03/11 ...
0
votes
0answers
33 views

Cannot start mysql on vagrant CentOS machine

I am getting the following problem doing "vagrant up" ==> default: [2015-03-10T16:31:03-04:00] INFO: template[default :start /etc/init.d/mysql-default] mode changed to 755 ==> default: ...
0
votes
2answers
128 views

How to let PHP connect to database by using UNIX socket (Joomla)

I'd like to have my PHP applications such as Joomla make use of the UNIX socket to connect to the local mysql database. I've already configured the php.ini with: mysqli.default_socket = ...
0
votes
0answers
16 views

insufficient replicas Error in logical domains but primary domain is fine in solaris 10

In my primary box has 5 logical domains in that primary box status and one logical domain status is good but in that remaining 4 logical domain status is unavailable. We didn't change any hard disk ...
1
vote
1answer
38 views

Purpose of the noaccess user in UNIX?

Can someone point me to a document or explain to me the utility or application of the noaccess user? It would seem interchangeable with any other user I might create. What is it's purpose of being ...
1
vote
3answers
48 views

Erase old dump tape in Tru64 UNIX

We backup our OLD Tru64 UNIX system (Digital UNIX 4.0F) to DDS3 tapes using the dump command. We want to recycle those tapes to make future backups on when they get too old. I've found the mt erase ...
1
vote
0answers
57 views

VLAN configuration on HP J9279A

I've tried to set up separate VLAN for lab environment on one of my HP switches (J9279A/J9280A). Network schema: WAN | GW | ...
0
votes
0answers
65 views

php55-session fails to initialize, freebsd / ports

I have installed the extensions, base library and php55-session via ports https://forums.freebsd.org/threads/no-session-support-in-default-php-installation.12565/ but a basic session fails to ...
-1
votes
1answer
59 views

date and sleep during leap second [closed]

Did you ever watch what happens with a sleep during a leap second or what date will show us? Most UNIX systems can handle a sleep with a fraction of a second and the date command can display ...
0
votes
0answers
48 views

Openfire how to fix? Error creating secured outgoing session to remote server

I have a OpenBSD server 5.6, in this server install Openfire 3.9.3. But I am getting the following error: error.log 2015.02.16 08:59:44 org.jivesoftware.openfire.session.LocalOutgoingServerSession ...
1
vote
0answers
73 views

Environment variables using AWS CodeDeploy

I have a web application that utilizes environment variables for some of its configuration (DB credentials, API keys, etc). I'm currently using Elastic Beanstalk for deployment and can easily set ...
0
votes
1answer
70 views

catch bash script output from expect, expect hangs

I currently use expect to pass password to rsync to copy files across unix servers test.sh ./expect.sh $password rsync -azvr $username@$host:$file ./$dir expect.sh #!/usr/bin/expect -f ...
0
votes
0answers
5 views

how to add server column to adsm_k event query

My current adsm_k query for server group opsfile is "opsfile:q ev * prod_ begindate=-1 enddate=today node= exceptionsonly=yes" it returns the scheduled start, actual start, schedule name, node ...
1
vote
2answers
53 views

server maintenance to prevent fsck failures

once in a while after a reboot I found fsck would fail on OS disk and booting becoming impossible on many of my servers. and then I had to reinstall OS and do data migration from the failed OS disk. ...
0
votes
0answers
49 views

Writing to Unix Domain Socket from rsyslog

I want to write output messages from rsyslog to a Unix Domain Socket. I want to do this so that I can read the messages from that socket using my script and parse log messages further. I try to use ...
13
votes
5answers
802 views

Copy file permissions, but not files in Unix

(From : http://stackoverflow.com/questions/15245144/copy-file-permissions-but-not-files, closed because off-topic) I have two copies of the same directory tree. They almost have the same files in ...
0
votes
2answers
44 views

How to find out the serial number of a reverse zone in bind?

Is there a way to extract the actual serial number in effect for a reverse zone from a bind9 server?. I can find out the domain's serial, but have no idea how to do the same for the reverse zones. ...
0
votes
0answers
39 views

Apache2 and LD_PRELOAD libraries wrapping

I'm trying to load a custom library on an Apache2 web server. On Unix systems, I know it's possible to do it using the LD_PRELOAD variable. I've configured /etc/apache2/envvars file to preload my ...
0
votes
0answers
43 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
22 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
16 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
50 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
203 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 ...
0
votes
5answers
96 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
89 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
677 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
33 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
40 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
45 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
501 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 ...