Linux is the generic term for a UNIX-like open source operating system based on the Linux kernel.

learn more… | top users | synonyms (1)

0
votes
0answers
15 views

How to determine if a cd/dvd media is writable [migrated]

Is there any way to determine whether a inserted cd/dvd media is writable or not on Linux? It seems that the good old cdrecord had an option called -minfo, which is missing in wodim. Thanks in ...
3
votes
2answers
396 views

Two hard disks in Linux based server, have one sleep most of the time [closed]

I have two hard disks in my server. One of them is 300 GB and very silent. The other one is 750 GB and makes some noise (it's working perfectly, it's just not a silent drive). Both are connected ...
1
vote
0answers
12 views

Process-wide VPN connection via openconnect

I'm using openconnect to connect to a remote endpoint and SSH onto the machine inside the remote network. The problem is, when I do create the connection, the machine I do it on is unresponsive for ...
2
votes
1answer
44 views

How to replace a hardware modem by virtual modem

I have an embedded device that is connected by an old dial-up modem to the Internet. I cannot change the embedded device but would like to connect the embedded device to a Linux machine that has an ...
4
votes
1answer
939 views

Gracefully Restarting Django Celery Instances

I'm wondering what the best way to restart Celery is without losing any tasks during the restart. I'm currently running it as a daemon using the init.d/ script provided with celery - everything is ...
0
votes
1answer
855 views

Webmin + SSH Public Key [closed]

Is it possible to upload a UNIX user's public key to Webmin? I would think this would be on this screen, but I'm not finding it....
1
vote
0answers
29 views

curl error 51 - of multiple requesting machines, only one has the issue

I have an SSL cURL request that fails from a single machine with the following error: curl: (51) SSL peer certificate or SSH remote key was not OK This error seems to have popped up overnight, and ...
1
vote
1answer
273 views

DNS Protection in named.conf

cat /etc/named.conf [...] acl "trusted" { IPS HERE }; options { allow-recursion { trusted; }; allow-notify { trusted; }; allow-transfer { trusted; }; allow-query { trusted; }; directory ...
0
votes
0answers
23 views

Deployment guidance for a EE 7 web app [closed]

I was out of high tech for 20+ years but had an idea and have been developing like crazy for the last 14 months. It has been a very steep learning curve but I have a comprehensive working system based ...
0
votes
1answer
548 views

Archiving Emails: Multiple Transports in Postfix?

I'm trying to archive incoming mail by routing it to a PHP script (which inserts it into a database) before sending the email to the destination server. If I configure my /etc/postfix/transport as ...
4
votes
1answer
384 views

Tool for network/infrastructure graph [closed]

I search for Linux a graphic tool to document our network/server infrastructure. A script that converts maybe some textual representation into dot (i.e. graphviz) would be enough. Nodes should be ...
4
votes
2answers
2k 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 ...
12
votes
3answers
16k views

How to prevent ntpd to listen on 0.0.0.0:123?

ntpd listens on numerous interfaces by default, I only want it to listen on 127.0.0.1:123 since I only want the localhost to sync the time. How to do that, I tried by editing /etc/default/ntp on ...
-1
votes
1answer
48 views

Convert value of an Ansible variable from lower case to upper case

I am working on a playbook to join linux systems to Active Directory. I can't seem to find a way to convert the value of ansible_hostname to uppercase. One of the commands I need to run requires the ...
8
votes
4answers
16k views

In unix/linux, what is the proc directory for? why does it exists?

In unix/linux, what is the proc directory for? why does it exists? What can I use it for (if not just for the system)?
-1
votes
0answers
22 views

nftables - call for documentation [closed]

I'm currently using some pretty advanced iptables setup in deployment for traffic-shaping and NATting routers for ISP customers (talking about gigabits traffic, so a bit of efficiency is needed...). ...
0
votes
0answers
48 views

How can I disable specific file type uploads globally in Apache?

In order to secure my webserver, I would like to block specific file types from being uploaded globally, independent of what FTP users configure in their webpages. Is there a way to globally block ...
0
votes
1answer
33 views

fio on virtual disk created with dd to stress disk

I am trying to create a script for my coworkers to use in the field that will stress the internal disks to a Linux server. I plan to put some logic in for finding the /dev/sd's available and such. But ...
0
votes
1answer
878 views

file locking problems with recent Samba versions (from DOS/Clipper under XP)

we have several DOS applications (Clipper) which share dbase files on a file server. The applications run under XP. This has worked for about two decades with Netware and for years with Samba (member ...
0
votes
2answers
45 views

What is the benefit of cloudfares or inkapsulas etc ddos protection [closed]

My Server get even more attacked via DDOS. And im thinking about buying a service like cloudfare or incapsule for preventing DDOS. But i dont understand one thing. When the attackers see that the ...
-1
votes
0answers
47 views

How can I use grep to search only on the first line of files for a specific string? [migrated]

How can I use grep to find a string in files, but only search in the first line of these files?
-1
votes
0answers
20 views

Where did this memory go? Linux machine missing 10G of memory [duplicate]

any idea where my memory went? I got a list of all the RSS memory used by all processes and it comes out to around 600-700M. I have 4GB of cached, but only around 420M free. /dev/shm is 1GB. Any ideas ...
1
vote
1answer
599 views

sudoers restriction only works when using “sudo”, how to restrict regular usage?

I have the following in my sudoers.d/nginx file: deployer ALL=NOPASSWD: /etc/init.d/nginx reload This works if I run the command as sudo: $ sudo /etc/init.d/nginx start [sudo] password for ...
1
vote
1answer
867 views

WMI: wmic linux agent query error: NTSTATUS: NT_STATUS_ACCESS_DENIED

Myself new to wmic and keep trying for a long time with default agent query approach. wmic is linux based WMI tool to talk to windows WMI agent. While trying to fetch data with wmic from nt(win7 with ...
0
votes
0answers
20 views

Ubuntu Apache 500 Server Error When installing d-note application [closed]

I'm trying to use d-note but when installing the application I've run into many issues with the documentation being very vague. Here is my Apache config file <VirtualHost *:80> ServerAdmin ...
1
vote
1answer
40 views

Increase tmpfs size more than available RAM Is that a good option?

Is it advisable to increase the size of tmpfs [/dev/shm] more than available RAM. Will it crash the Machine ? The reason for the excercise is to optimize the perfromance of the SAP application. please ...
6
votes
2answers
123 views

TCP acks are paused, then resumed, then paused again. Why?

I would like some help finding the reason for the reduced data transfer rate in my application. I have 12 embedded systems and a Linux server. The embedded systems send data to the server over TCP on ...
0
votes
1answer
2k views

LDAP+SAMBA login issues

i'm on a clean Ubuntu 13.10 install and i've just installed and configured openldap+samba while i'm trying to configure a domain controller plus user shares. In order to ease ldap management i've also ...
0
votes
2answers
434 views

Mailman automatic approval for new message from a specific domain

kindly all can you show how to configure mailman to approve all message from specific domain without a request to confirmation even if this domain sender is not subscribed ? i tried this but not ...
1
vote
1answer
66 views

Configure Sympa: Command output usage error

I have a problem on configuring Sympa. I've created a new list new_test_list@example.com, but when I try to send mail to this list, I get an error in my maillog: postfix/pipe[13544]: C699261227: ...
0
votes
1answer
1k views

How could I fix “No subnet declaration for restart (0.0.0.0)”?

I have a DHCP service installed on my distribution, Backtrack 5 R2 (ubuntu 10.04) and it was working fine, but when I began to configure DNS it suddenly stoped working, how can I make it work again?? ...
3
votes
3answers
316 views

How do I monitor RAID status when using an external eSATA RAID5 SATA port multiplier?

I am using an external eSATA device which takes 5 SATA drives and presents them as one large HW RAID5 to linux (ubuntu). It uses a SiI3726 chipset. Linux sees and handles the sata device just fine, ...
1
vote
1answer
96 views

nginx: 'location' as an alias for 'server'?

I have nginx set up with several servers in /etc/nginx/sites-enabled However, I want to convert my setup to one domain myserver.com , so typing in a browser lalala.com will no longer get me to the ...
1
vote
2answers
3k views

Munin email notification

I am trying to get munin to notify me via email. I have configured munin and it reports critical and warning values but no alerts are being sent neither is any script being called. Can you please help ...
4
votes
1answer
3k views

ldap_add no such object (32) matched dn dc=domain dc=com

When im trying to import users to LDAP using this command: ldapadd -x -D "cn=Manager,dc=domain,dc=com" -W -f /etc/openldap/root.ldif I have this error: ldap_add no such object (32) ...
4
votes
1answer
3k views

Error headers: ap_headers_output_filter() after putting cache header in htaccess file

Receiving error: [debug] mod_headers.c(663): headers: ap_headers_output_filter() after I included this within the htaccess file: # 6 DAYS <FilesMatch ...
0
votes
1answer
859 views

Fail2ban won't start via /etc/init.d/fail2ban but will via /usr/bin/fail2ban-client

I've been running fail2ban successfully for a long time on RHEL. Now all of a sudden starting, stopping and restarting via /etc/init.d/fail2ban no longer works: # /etc/init.d/fail2ban start Starting ...
-1
votes
0answers
7 views

How to get the Adaptec 1200A to work under Linux at UDMA/100 (instead of 66) [migrated]

A while ago, I got myself a used Adaptec 1200A controller card to keep my onboard slots free for easier connect/disconnect of drives and now I am wondering why this card will only operate at UDMA 66. ...
2
votes
1answer
2k views

Windows Server 2008 x86 Services for Unix SDK (SUA) RSH

Running RSH commands on a Windows box against a Linux box works only for the administrator user. Is there a file somewhere that has a list of users that can run commands remotely? More Info The ...
0
votes
0answers
31 views

linux system slab cache proc_node_cache usage too large

My system run java program only, at some time the memory usage increase very quickly to a very hight percentage: memory usage of java : PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ ...
0
votes
0answers
121 views

Reading home files permission: Policy constraint violation

I want to confine a certain user to be able to bind a node.js server to a certain port. That bit is working. What isn't working is allowing said user to access his own files. audit2allow is telling ...
6
votes
1answer
411 views

Poor iSCSI performance with SSD disks and 10 Gbe network

iSCSI Target Ubuntu 14.04 (Trusty Tahr) with 16 GB RAM and 16 core CPU as LVM backed iSCSI target using three Samsung SSD disks, each capable of doing 65k IOPS using an LSI 6 Gbit/s ...
3
votes
4answers
2k views

How to get the mount point of flash drive by using uuid?

I am beginner in ubuntu linux and i need to write simple bash script, that can identify necessary flash drive(which contains only one vfat partition) using uuid of this partition, and get the mount ...
1
vote
0answers
15 views

Hadoop namenode port getting blocked

I have installed 7 VM instances of Ubuntu 14.04 LTS servers. First instance runs the namenode service and all other 6 nodes run datanode service.I think my NameNode is getting crashed or blocked due ...
5
votes
4answers
205 views

Is it good or not to include all frequently used and important addresses in /etc/hosts?

Is it generally considered a good or bad practice to include all frequently used and company's important hosts in /etc/hosts? Now I can see the following pros and cons: Pros: improved speed, ...
0
votes
2answers
1k views

Active Directory integration with linux users and zimbra

I have the following questions about setting an active directory, that already has users and a domain, (i.e. internaldomain.edu) and real domain (i.e mydomain.edu.), and I have seeing many examples of ...
1
vote
0answers
42 views

Trouble setting up a transparent proxy

I have been trying without success to setup a transparent proxy on a router like computer. Most examples that I have found don't have the gateway and proxy on the same computer, so I may be looking at ...
0
votes
1answer
1k views

How does changes in /etc/pam.d/common-session-noninteractive affect fail2ban and possibly other programs/services?

Fail2Ban on Ubuntu 10.04 Configuration files /etc/fail2ban/jail.local [DEFAULT] ignoreip = 127.0.0.1 bantime = 10 # made for test purposes maxretry = 3 backend = polling destemail = ...
0
votes
2answers
894 views

Server, Database or Code Issue? Magento backend rewrites itself with a index.php which doesnt work

I will be honest and admit my cross posting in magento.stackexchange.com but the reason is that I believe it is a server fault, and now I am looking for proof to present to my dreaded hosting ...
4
votes
2answers
1k views

ps returning unreasonably high values for %cpu and cputime

We've had an alert from Nagios on one of our servers that we have a runaway process. Logging in and running top doesn't show anything bad happening, but when I look at the output of ps I see something ...