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

2
votes
0answers
10 views

Should I rather explicitly run programs in foreground (instead as a daemon), or `expect fork` when configuring upstart daemons?

Many programs allow to be run either in daemon mode (which is usually the default), or explicitly run it in foreground with a flag such as -f. Now when configuring upstart to run programs like this, ...
2
votes
0answers
20 views

Extracting the date of the latest message from an mbox file

How would I go about extracting the "Date:" header for the latest received message in an mbox file? Note that it's not simply an issue of grep'ing for the latest occurrence of "^Date:", since it ...
2
votes
0answers
326 views

Solaris 9: Degraded mirror unmanageable with raidctl after drive replacement

We have a pair of Sunfire v20z's (WITH LSI MPT raid) that have each had one drive in their mirrors die. bash-2.05# cat /etc/release Solaris 9 4/04 s9x_u6wos_08a x86 ...
2
votes
0answers
27 views

Process identifier mask in z/OS

I've noticed a curious pattern to process identifier numbers on the z/OS system I'm working on (uname reports it as OS/390), they're either 1-4 digits long or 8 digits long but never in between. The ...
2
votes
0answers
262 views

Umlaut encoding: tar on Mac Lion

I have a tar archive created on an old Unixware machine using ISO8859-1 encoding. When I try to extract it under Macosx Lion, I experience a bit of weirdness with German umlauts. For instance: I open ...
1
vote
0answers
11 views

how to backup/sync and zipped ftp content to local drive (unix)

I know we can use the lftp command with "repeat mirror" flag but the files mirrored are not zipped so it will require huge local storage, what is the workaround/alternative? cheers
1
vote
0answers
31 views

what is the the difference between all the NSS caching daemons?

I would like to see a comparison between nscd (part of glibc), unscd, nsscache, sssd and nss-pam-ldapd. Those are all the alternatives to nscd that i could find in Debian... Our setup is that we ...
1
vote
0answers
52 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: ...
1
vote
0answers
61 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 ...
1
vote
0answers
28 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 ...
1
vote
0answers
102 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 | ...
1
vote
0answers
126 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 ...
1
vote
0answers
75 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
0answers
147 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. ...
1
vote
0answers
38 views

Redhat quitting process never works always have to kill it

I am working on a RedHat server creating a unicorn process. I have two sets of these processes being created. I am able to QUIT one of the process fine and do so over and over again create it and QUIT ...
1
vote
0answers
89 views

Mac OS 10.6.8 Firewall Blocking Wiki for ONE User

This is a very bizarre issue that I hope someone can help with. We're running 10.6.8 server to host our internal wiki. We had the firewall enabled on that machine without any issues. Last week one ...
1
vote
0answers
66 views

Is there a way for a user to temporarily remove its own group membership within a script?

I'm writing a script which will be used to "detect" whether a generic, no-frills, user account has access to certain files. Basically a user which only has membership in the "staff" group or ...
1
vote
0answers
413 views

rsyslog logging same data to multiple files

I'm new to configuring rsyslog for centralized logging and was wondering if one of you experts could help me with the following problem. I am trying to store logs for each remote host to a per host ...
1
vote
0answers
46 views

Apache, php, maven and me—pemissions…

I have setup a local Apache2, with PHP and mysql. I wrote a maven build script to deploy my page on that local server. All that is working fine except for one thing: When I instruct maven to clean up ...
1
vote
0answers
432 views

Error sh: line 9: 19705: Memory fault (coredump) in case of OpenSSH installation

I downloaded openssh-6.1.p1/tar.gz with http://mirror.corbina.net/pub/OpenBSD/OpenSSH/portable/. I made at first ./configure, then make which, it seems, fulfilled without errors (Nexenta Illumos ...
1
vote
0answers
235 views

Limiting memory usage and mimimizing swap thrashing on Unix / Linux

I have a few machines that I machine that I use for running large numbers of jobs where I try to limit the number of jobs so as not to exceed the available RAM of the machine. Occasionally I ...
1
vote
0answers
657 views

MySQL crashes when connecting from localhost with tcp (UNIX sockets work)

I have Ubuntu 12.04 running MySQL server 5.5.24. I can connect with mysql --user root -p. status shows me : ... Connection: Localhost via UNIX socket ... When I try to connect with mysql --host ...
1
vote
0answers
1k views

Pure-FTP login error

I've installed Pure-FTPd and am trying to get virtual users to work with it. Unix users are OK and are able to transfer files but my virtual user that I created can't log in. I'm running Linux Ubuntu ...
1
vote
0answers
172 views

SNMP OID for CPU and Mem usage

does anybody know the OIDs for CPU and Mem usage for this machine: ReliantUNIX-N release:5.45 version:A3001 machine:RM400 The Standard OIDs didn't work it wasn't possible to figure out with snmpwalk ...
1
vote
0answers
52 views

Working of trashcan utility in tru64 Unix server.. or any other utility?

I used this mktrashcan command mktrashcan deleteMe1 trashcan/ And then i Deleted all the contents inside deleteMe1 directory(rm -rf*).. But then what happend is only the two text files which are ...
0
votes
0answers
24 views

red5 server installation could not resolve dependencies issue

I am trying to install Red5 server on my dedicated VPS server. My server is Ubuntu 12.04. I'm doing my installation over SSH in Terminal on Mac. I have Java 7 JDK and JRE installed. I am doing ...
0
votes
0answers
17 views

Dangers of closing file descriptors

In the Stack Overflow question Check if a program exists from a bash script the accepted answer notes that closing stderr is dangerous: (minor side-note: some will suggest 2>&- is the same ...
0
votes
0answers
6 views

Oracle external authentication from application server via sqlplus client

can we perform the external authentication (sqlplus / ) via sqlplus client from unix application server in oracle 10g or we must login to oracle database server to perform this ?
0
votes
0answers
19 views

How can I automate the retrieval and usage of passwords from within a script?

We have automated scripts that access certain devices and are getting the passwords for the devices from a root-read-only plain-text file. Is there some kind of architecture we can use so that we can ...
0
votes
0answers
49 views

Restore of AIX backup on other Unix system

I have two old AIX backup tapes box labelled "System Image" that I need to recover a few files from. I've tried to extract them using tar (Solaris and Gnu) and cpio with no success. I then ...
0
votes
0answers
39 views

cron job doesn't run under specific account

I have a crontab entry on my RHEL 5.4 system under the "oracle" account but it never seems to actually run. I have the following entry: * * * * * /home/oracle/blahblah.sh > /tmp/test.log ...
0
votes
0answers
22 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 ...
0
votes
0answers
61 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
0answers
32 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 ...
0
votes
0answers
135 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 ...
0
votes
0answers
125 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 ...
0
votes
0answers
10 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 ...
0
votes
0answers
58 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
49 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
26 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 ...
0
votes
0answers
113 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
1k 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
45 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
0answers
82 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 ...
0
votes
0answers
27 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 ...
0
votes
0answers
61 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
52 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 ...
0
votes
0answers
470 views

Unexpected EOF write error

We have a Sun Solaris 10 server that is failing to backup using tar to write to tape. tar cEf /dev/rmt/0cn . The complete error is tar: write error: unexpected EOF tar error code 2 The ...
0
votes
0answers
42 views

Balancing server bandwith

I am working on a file uploading website. It will be run on dedicated server with 1GBPS connection. I wanna offer visitors max download speed possible at the current moment. So lets say server can ...