0
votes
0answers
9 views

How to execute cursor in PostgreSQL? [migrated]

This is my program for cursor, but I am not getting how to execute the cursor on a database. emp=# CREATE or replace function cursor_demo() returns integer as $$ declare emp_rec employee%rowtype; ...
3
votes
1answer
101 views

(Why) does FreeBSD 'net.inet.tcp.always_keepalive' violate RFC1122?

While working on a server application that runs on FreeBSD and uses TCP, I noticed that TCP keepalive probes get sent even though my application explicitly disables SO_KEEPALIVE on TCP sockets. ...
0
votes
0answers
10 views

How to add master zone through PowerDNS API?

We have a PowerDNS master-slave setup. Now we want to use the PowerDNS API to automatically create master zones on the master server from our application. We created a master zone template, so when a ...
0
votes
1answer
7 views

Strange issue with Nginx compiled from source and Nginx from official Fedora repository

TL;DR Nginx, compiled from source, had trouble process .php files, while with the same PHP-FPM configuration, nginx , from official Fedora repository, worked like a charm on DigitalOcean 512MB Fedora ...
-1
votes
1answer
10 views

IPMI web management on Supermicro not working: “Could not open device at /dev/ipmi0 or /dev/ipmi/0 or /dev/ipmidev/0:…” and “Invalid Channel 255”

Troubleshooting an IPMI issue on a centos 6.5 server. Specifically, I am not able to set up IPMI web management due to errors when trying to work with IPMI LAN settings. I get the following error ...
-1
votes
0answers
21 views

Incoming connections blocked from some IPs on Centos

I have some server processes running on CentOS. I find that I can connect from some external IPs, e.g., port 4005 has some connections: [root@xxxxx dfxbin]# netstat -an | grep :4005 tcp 0 ...
0
votes
0answers
9 views

“Message queue service not available” in Windows Failover Cluster

I am debugging on a site where our application runs on a 3-node failover cluster with an MSMQ cluster group for message queueing. We are seeing that the system works on some combinations of nodes, but ...
-3
votes
1answer
34 views

Does swap on 32-bit OS with 4 GB make sense? [on hold]

Does having swap space makes sense if I have a 32 bit OS (Linux) and 4 GB RAM already? As it would have to be addressable with a 32 bit address, which are already all "used up" by the RAM, would ...
1
vote
1answer
24 views

Any idea why SFTP works differently based on the client machine/network

I have an odd situation. From Computer A with PSFTP.EXE (putty sftp client) I can connect to a remote sftp server and use dir and chdir to browse around. If I try to get or put files I get a ...
0
votes
1answer
11 views

how to connect wifi devices to local server without external router? [on hold]

I have a server running on a laptop which I use for live presentations (server is usb web server, on windows 10 TP), I want to be able to connect to it with tablets, cell phones, etc via wifi, but ...
0
votes
1answer
17 views

How to automate input for a repetitive script! Expect in Bash?

I am a junior sys admin. Reason I'm asking this question is because we don't have a senior sys-admin here who is proficient with scripting. Senior guys are at the head office and too busy for ...
-1
votes
1answer
22 views

How to verify whether randomness was written to a device and what exactly has been written?

I am preparing a device with shred to use it later on encrypted with dm-crypt/cryptsetup/luks. How can I check the device before and after using shred or e.g openssl/dd with /dev/urandom to be sure ...
-2
votes
0answers
14 views

SSL give page not available whe we roll out to production [duplicate]

We configured HTTPS in one of our servers running apache XAMPP (on windows server 2008 platform). Everything looks good when we run SSL checker tool we get an A Qualification, so we switched it to ...
1
vote
1answer
22 views

Why are ls and locate returning different file names?

We have recently deployed a commit that took a file called MyfileController.php and changed it to MyFileController.php If I navigate to the file's directory and call ls or nano MyFileController.php ...
0
votes
0answers
4 views

Force Apache to reload CRL without reloading everything

Is there a way to force the Apache server to reload an updated CRL without reloading everything? In particular, I noticed that it takes between 10 and 20 seconds for the application servers in ...
0
votes
1answer
14 views

Drive letter conflict between logical drives and mapped network drives

After a reboot, one of my servers seems to be sharing a drive letter between a logical drive array and a network location. F:\ and G:\ are (and were prior to the reboot) logical drive arrays. ...
0
votes
0answers
7 views

Where can I find the DRAC bulk configuration tool?

I need to reconfigure and reset the DRAC configuration on hundreds of servers. This document indicates the tool I need is called "RACT" or "AD with the Dell RAC Tool" The hyperlink in the document ...
0
votes
0answers
4 views

Symlink between Libraries don't work

My system is a POWER8 with KVM. On top of it, I am working on RHEL 7.0. I am trying to install Arpack. Since it's not included in the official repos, I found on a website a Fedora version and I took ...
-1
votes
0answers
19 views

Issue with VirtualHost on Apache?

I have an Apache VPS server and I have a project in a subfolder of my site (example.com/projects/my-project). I set up a VirtualHost for this project on /etc/apache2/sites-available/000-default.conf. ...
0
votes
0answers
4 views

Rsnaphost “works” when tested but not when run

I have set up rsnapshot successfully a couple of times, and maybe because everything was rather painless (except for the vi tab fiasco of 2013) I am now out of ideas. I have a cifs mounted remote ...
1
vote
0answers
8 views

Fail2Ban's [apache-tcpwrapper] jail failing due to missing Apache log entry

I've installed Fail2Ban on two local test systems (Debian Wheezy and RHEL 5.6) and it's working great. However, I'm running into a problem on a third remote RHEL 5.6 system that I can't seem to solve. ...
0
votes
1answer
15 views

Nginx does not stop with websocket connection

I have nginx 1.6.2 wih configuration to upgrade connection to websocket. proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection "upgrade"; When no websocket connection is opened, ...
2
votes
0answers
19 views

SCCM 2012 R2 not registering clients. ApprovalStatus of -1

We are experiencing an issue with SCCM 2012 R2 when a client attempts to register within the DB. The MP_RegistrationManager log is reporting an ApprovalStatus of -1 <![LOG[Mp Reg: Reply message ...
0
votes
0answers
11 views

crontab at reboot for EC2 instance

I'm trying to mount an EBS volume after restart. It does not work. I set the mount after reboot, in the following manner: echo "@reboot 'sudo mount $DEVICE_PATH $TARGET_PATH -O noatime,noexec'" | ...
1
vote
0answers
5 views

Clone/copy definition of MIB leaf into another MIB tree

I have MIB file with definitions of four traps .1.3.6.1.4.1.5591.1.0.0 (SCTE-HMS-COMMON-MIB::hmsColdStart) .1.3.6.1.4.1.5591.1.0.1 (SCTE-HMS-ALARMS-MIB::hmsAlarmEvent) .1.3.6.1.4.1.5591.1.0.2 ...
1
vote
1answer
30 views

What's an inexpensive way to connect 3 sites over VPN, each with dynamic IPs?

I have 3 networks that I would like to connect to each other over VPN (IPSec or OpenVPN). Each site has a single dynamic public IP address and is running NAT. How can I connect each of the sites ...
0
votes
0answers
6 views

Re-routing packets back inside the network on a SonicWall firewall

I have two wireless networks, one guest network which uses a 10.0.0.0 network to assign IP address to guests and one internal one who gets the IP address from the internal DHCP (let's say ...
1
vote
1answer
28 views

Merge Live VMware hosts into existing vcenter

We currently have 3 VMware hosts, all running ESXi 4.1. They are all HP DL380 G7's, two of them having dual Xeon E5620 cpus with 96GB RAM, and the third having dual Xeon E5645 cpus and 64GB RAN. The ...
1
vote
1answer
21 views

Windows server 2012R2 RDS installed on Domain Controller will not uninstall

Knowing I had 90 days to figure out the licensing, I installed RDS. Seems I didn't need to as Administrators can log in anyway. Now it seems we don't want to buy any more licenses so I figured I would ...
-1
votes
0answers
14 views

Linux workstations environment Microsoft equivalent (DC,LDAP, File shareing etc) [on hold]

How can I build Linux (Ubuntu) workstations environment with all the equivalent Microsoft environment, including DC, LDAP, File sharing, login scripts and auto mount shares etc? I tried installing ...
0
votes
2answers
28 views

Multiple IP addresses on host and one on kvm

I've recently configured my network using advice from this question but now I need to configure this a little different. I'm using Debian distribution. I have one dedicated server with 3 IP addresses ...
0
votes
1answer
10 views

Postgres replication via different interfaces

I have one PG master server that replicates itself to one slave server. Also I would like to replicate this master to slave that is in another network. Master has 2 interfaces, and there are ...
0
votes
0answers
15 views

setting up iptables dmz for dns (bind9) and web server (apache2) [on hold]

I have a pc server as dns server (example.com) and also a web server inside. I want to access the web server from the Internet using my public IP. What settings should be applied in iptables if the ...
1
vote
0answers
10 views

How to route select e-mails from Office 365 to another SMTP Server

I have set up an SAP system to act as an SMTP server on port 25000. The company uses Office 365 as its email provider. Is it possible to route/forward e-mails that are delivered to a specific e-mail ...
2
votes
0answers
41 views

Deny anonymous downloads in AWS S3

I have a bucket with several files publicly downloadable. I want to put up a bucket policy after which these files should only be downloadable by my IAM users. The policy I have got so far is this: { ...
-5
votes
1answer
36 views

Why do we frequently have to re-start the default web site to prevent errors 500 after a page edit? [on hold]

We make frequent changes to web pages in virtual directories on our IIS 8.5 site. Many times after editing, the server responds with 'Error 500'. To resolve this, we restart the entire 'Default web ...
0
votes
0answers
19 views

Can't get logstash to work with upstart script

I've installed logstash on my headless server but I'm having a few problems getting it to work from the upstart script with sudo service logstash start. This is the output I get from ...
0
votes
0answers
11 views

How I can Add variables to PHP.ini using chef

I am using redis into my project using chef. We are creating server automation, so everything is done using chef recipe's only. I have installed php-redis using chef. Now I need to add two variables ...
1
vote
1answer
21 views

Group Policy is blocking exe files

I teach programming in Visual Studio. We want to run it on a terminal server. The problem is that whenever we compile our programs, the Windows refuses to start the created exe file. (I didn't even ...
0
votes
0answers
14 views

Azure Site-to-Site VPN to Cyberoam cannot ping Azure VM from local VPN PC

I've set up Azure site-to-site VPN to Cyberoam following these instructions. The problem is that I can ping the local PC through the Azure VM but I cannot ping/access the shared folder/rdp of the VM ...
0
votes
0answers
11 views

Multiple conditions in redirect for HAProxy

I'm having some difficulties using the redirect option when having multiple named ACL's I'd like to use for conditions. Say I have five hostnames that I have put into named ACL's and now I want to ...
0
votes
0answers
5 views

Automatically activating bridge slave connections

I created a bridge connection in the NetworkManager applet and assigned two ethernet interfaces to it. When I click connect on the bridge connection, the setup halts at "Obtaining network address" ...
1
vote
2answers
35 views

How to find potential AD-groupname and OU-structure dependencies of eco-systems?

Currently we are in the process of redesigning our AD infrastructure. I am pretty concerned about the possible impact a change of several group- or OU-names might have to our eco-systems (like IAM ...
0
votes
0answers
15 views

Libreswan not working

i have 2 servers with CentOS and libreswan, the default vpn in red hat distributions. I´m using firewalld too. My vpn start without any erros, i can ping cross subnets, but i cant acess any service, ...
1
vote
1answer
15 views

apache ssl - unable to get local issuer certificate

Somehow just today suddenly my seafile client throwed this error. I don't believe its a seafile issue, because my openssl throws the exact same error: user@nb-user:~$ echo |openssl s_client -connect ...
-2
votes
0answers
20 views

Web page not loading over 4g on some networks [on hold]

I have recently came over a weird problem with a website. We use amazon EC2 servers with nginx and mysql rds backend and load a balancer to distribute load across servers and the website loads fast in ...
-1
votes
0answers
14 views

How to handle multiple domain requests on single tomcat server?

I am using dedicated server. I have hosted different HTML, PHP and wordpress websites on this server those are working perfectly. Now I want to deploy java web application on this server. So I have ...
1
vote
0answers
16 views

Why some apt-get and aptitude installations remove some programs?

I wanted to install wireshark, and I went to Installing wireshark So I just typed on terminal aptitude install wireshark and before it install wireshark, it removed 251 programs, and I don't have ...
0
votes
0answers
6 views

IIS two layer authentication for BETA webapp

I have an ASP.NET MVC webapp that has a public area and a member area with login using cookie + oauth, nothing fancy is just a regular webapp. I want to publish a BETA version for testing but I don't ...
0
votes
1answer
26 views

Using Puppet apt module

I'm an absolute beginner at Puppet, and I'm having an issue when I try to install a package via the apt-module. class newrelic { apt::source { 'newrelic':location => ...

15 30 50 per page