0
votes
4answers
34 views

Is it possible for a cronjob to start before MySQL starts?

I am on CentOS 7, and if I put: * * * * * python script.py It works. If I put: @reboot python script.py Then it says it cannot connect to MySQL. If I run it from command line too, it works. ...
0
votes
0answers
24 views

nginx - Allow any http-traffic that is not x-forwarded-for

In my nginx configuration, only a few whitelisted IPs are allowed (based on x-forwarded-for header), and rest all are blocked via deny all rule. Since nginx is running behind an AWS load balancer, I ...
0
votes
0answers
10 views

Ping is not working in cygwin [on hold]

In my system cygwin64bit I'm using. Os is win 2008r2. When it is pinging, ping is not happening. When I try to ping from one more cygwin both are working fine. What might be the issue?
-2
votes
2answers
38 views

I did 'ifdown eth0' and…I can't connect my instance [duplicate]

I should have run ifdown eth0 && ifup eth0, but I just ran ifdown eth0. Can I connect to my instance and run ifup eth0? What should I do?
0
votes
0answers
8 views

connect server via ssh using ldap account anywhere

I'm new in using openldap I'm using centOS7 to be my openldap server my question is, can I login server via ssh using ldap account without any client settings? something like when I done setting ...
-1
votes
0answers
7 views

CentOS 7: Write failed: Broken pipe on reboot

So I am trying to reboot on CentOS 7: $ sudo reboot Write failed: Broken pipe After I run the command, it waits 60 seconds for the timeout that is specified both on the server and client side, as ...
0
votes
1answer
31 views

SELinux - mysql/ and httpdoc/ in same folder?

Looks like my old faithful LAMP directory structure has come unstuck with SELinux. I prefer everything in the same place. CentOS 6.6 Apache 2.2.15 MySQL 6.5 /DATA/ /DATA/httpdocs/ /DATA/mysql/ ...
-1
votes
0answers
12 views

Most likely source of infection? [on hold]

I have a refurbished HP Envy Laptop. When loading for first time, it asked me to create a new account, so I hope it is safe. Anyway, the McFree virus check seems active for some reason (e.g. blocks ...
-6
votes
0answers
29 views

If my server gets shutdown how will my php react? [on hold]

sorry for no code or anything just want to know what will happen if my server gets shut down by mistake or a fault and if anything bad happens if anyway to prevent it
1
vote
0answers
4 views

libexecdir in systemd .service file?

I'm deploying something to machines (internally, not for public consumption) using RPMs. Now, in RPM .spec files there's the %_libexecdir variable. The package deploys a service binary in that ...
0
votes
1answer
25 views

Linux based asterisk server, SIP softphone able to hear audio but not send audio to others

Running Ubuntu 14.04 LTS and Asterisk 11.7.0. The server is set up for SIP phones to use our SIP trunk via voip.ms/didlogic (two different services because we like international rates on didlogic, but ...
0
votes
0answers
9 views

Trouble connecting to MySQL from Tomcat, Connection refused: connect

I've been try to connect my tomcat server to MySQL via an eclipse project. I have the code working on a colleaguemachine but not on my own, so I believe it is a configuration problem. I have a MySQL ...
0
votes
0answers
9 views

SFTP chroot jail not working

Trying to follow this tutorial but for Arch Linux. /etc/ssh/sshd_config: # override default of no subsystems #Subsystem sftp /usr/lib/ssh/sftp-server Subsystem sftp internal-sftp ...
2
votes
0answers
21 views

Centos 7 & Hard CPU Limits

OS Version Information: [root@localhost system]# cat /etc/redhat-release CentOS Linux release 7.1.1503 (Core) Configuration for the test.slice is as follows: [root@localhost system]# cat ...
3
votes
0answers
35 views

Is it possible to ssh or rsync into a system whose file-system has remounted itself read-only?

I need to login to a system that went into a read-only state. I can ping it just fine but I can't ssh in anymore. Is there some special command line flag/parameter I can pass ssh that lets me login ...
0
votes
1answer
12 views

Add existing hosts to hostgroups in Nagios

How can I add existing Hosts to HostGroups in Nagios XI, automatically? For example, I have an existing 100+ Windows servers that I want to add to a hostgroup called "Windows".
0
votes
1answer
23 views

Monitor WiFi association attempts

I'm using hostapd to create an access point and I was wondering if there's any way for me to get an output of current or recent association attempts. Ideally I'd like to see the MAC ID and any other ...
0
votes
0answers
16 views

postgres sql returning "more than one row returned by a subquery used as an expression

Postgres sql is returning: more than one row returned by a subquery used as an expression The data base format is: rpt_rec_num | wksht_cd | line_num | clmn_num | itm_val_num ...
0
votes
0answers
13 views

Why are packets piling up in my router? [on hold]

I had been experiencing some latency spikes with my internet for about a day. After having an ISP tech come and confirm that there were no problems on their end, I tried pinging my router (Airport ...
0
votes
0answers
11 views

Is it possible to “hook” into IIS site binding

I have IIS hosting several different versions of the same website. Right now, I access each one with a different hostname where the binding for each site has the hostname I want configured on it. I ...
0
votes
1answer
20 views

Why does Apache need o+x permissions for a Virtual Host running under suEXEC?

Running Apache 2.4.10 on Arch Linux. I'm trying to restrict an SFTP user to only be able to access his home directory, a public folder under a vhost directory, without being able to access that vhost ...
0
votes
1answer
17 views

Trouble with SWAP on AWS

I created an AWS m3.large instance. It comes with a single 32GB SSD. During the creation process, I added a second drive for the system. I picked the second drive for the system: xvda1 and the ...
0
votes
0answers
19 views

cPanel latest visitors log configuration file path [on hold]

I was trying to change the LogFormat for the Latest Visitors stats to report clients' real IPs, but I couldn't find a path for it. I've already modified the LogFormat in httpd.conf file and now the ...
0
votes
1answer
14 views

Good idea to add Google MX records with old records to not lose mail?

Currently im looking to transition to google apps for mail service. Right now I'm using my own mail server. Would it be wise to just leave my current MX entries as is and just add in the google MX ...
0
votes
1answer
12 views

screen -r and screen -list only show last screen

My problem is pretty much as the title describes it. I am running ssh session and on my server I screen for multitasking. My issue here is that I have at least 4 screens open and detached, but screen ...
0
votes
0answers
24 views

How do I (or is it possible) set the DNS domain and a separate Windows domain?

I setup a small network @ home as a small business to provide a testbed for learning and keeping my computer skills reasonable current. The main pieces of the network are a smallish linux server w/a ...
1
vote
2answers
21 views

Opening outgoing ports on dedicated machine

I have a website where I have been working with another person on a game server listing site. It queries the game servers and shows information etc. Anyway upon talking to the creator of the script he ...
0
votes
0answers
13 views

Proxy a URL in a path/location in nginx

I want to create a location block like this location /proxy/ { proxy_pass $url; } So I can reach arbitrary servers (and add headers, etc.) using something like this: ...
1
vote
0answers
9 views

Ubuntu 14.04 - rsync corrupting SSH configs/keys?

I have two Ubuntu 14.04 servers S1 (user root) and S2 (user dataman). S1 is responsible for handling file uploads and transferring backups to S2. On S1 I am using PubKey authentication to S2 for ...
0
votes
0answers
8 views

SSH-FTP Authentication Fail and MySQL Database Error on Debian VPS Until Reboot

The last few days I'm having an issue with a VPS which is part of a cluster setup. The VPS with the problem is used as a MySQL and a nameserver. All other machines in cluster behaving as should. I ...
0
votes
0answers
10 views

Linux client for pki certificate auto enrollment from Windows CA

I just set up a Windows Server Certificate Authority. I would like to auto-enroll Ubuntu Linux computers for certificates. Can anyone share the available client options? I found this (old) technet ...
1
vote
1answer
14 views

Windows SBS 2011 - Have Exchange send via Office365?

I have Windows SBS 2011. As you know, Exchange 2010 is built in to this. Some time ago, I have started using Office 365 for email. In a perfect world, I would uninstall Exchange 2010, but this cannot ...
-1
votes
0answers
17 views

Are there any step by step tutorials to install django, mod_wsgi on redhat 7? [on hold]

I cannot find any tutorials for installing a complete django environment on Redhat 7. Specifically I am having problems with installing: mod_wsgi Is there a reason that there is nothing on the ...
0
votes
0answers
19 views

ModSecurity + Nginx “SecRule” startup error

I've installed Nginx (1.8.0) + ModSecurity (2.9.0) from source on OpenBSD (5.6), without problems. But when I try to configure modsecurity with the default config, upon starting nginx I get: ...
0
votes
0answers
9 views

Is there a build-in Icinga/Nagios configurator in Debian? [on hold]

I would like to know the easiest way to configure Icinga. Mainly: - Monitor a Cisco router using eg. SNMP - Monitor a Windows Server
0
votes
0answers
13 views

Formatting external drives when changing a laptop [on hold]

I recently bought a new macbook pro. I had a windows laptop before. I have a couple of external harddrives which I used to use with external harddrives. To be able to write data to those external ...
0
votes
0answers
12 views

Where should SCCM be installed in a small system?

Server 2012 R2 host running all VM servers to support a small IDE After collating guidance regarding SCEP I've decided to go ahead install SCCM even though I only initially need SCEP. (I figure I'll ...
1
vote
2answers
26 views

Connecting a LAN drive to Windows 2008 / 2012 VM instance on Google / AWS / Azure

Scenario: Our office uses a Sage software on multiple workstations. The software is individually installed on each workstations, but the database is stored on a server tower that has shared access to ...
0
votes
0answers
12 views

CentOS7 firewalld no zones

I have installed firewalld on fresh CentOS 7 minnimal installation on a VPS (weirdly enough, from what I've been searching firewalld should already be installed with system). I tried opening some ...
0
votes
0answers
15 views

How to configure mkinitfs for stateless alpine linux / xen DOM0 boot?

I am working on setting up a test bed for some Xen development. I have a development server where I can create new builds of xen and push them to the tftp server to be PXE booted on some test ...
0
votes
0answers
5 views

FTP - Giving Access To Multiple Directories with a Home

So I'm using ProFTPd for now with virtual users (AuthUserFile) but they can only be locked to one directory and everything inside. So let's say I had a directory layout like such: /users /user1 ...
3
votes
2answers
104 views

What is the proper way to connect cables from a patch panel to a switch when you have more ports on the patch panel than the switch?

We're in a situation at our new building where we have 58 drops but only 48 ports on our switch. Roughly 40 of our drops will be in use, but it's a random selection ranging from 1 to 58. Typically I ...
1
vote
0answers
13 views

Kickstart for ubuntu works on vm but not on physical machine

So I have made a ks.cfg file for Ubuntu 14.04 server edition and uploaded it to http://address/of/my/ks.cfg and modified isolinux/txt.cfg with necessary changes. Now when I use this ISO on ...
0
votes
2answers
22 views

How can I set resource stickiness in pacemaker?

I'm playing around with Red Hat's High Availability Add-On, everything seems working fine however I have one issue: Whenever I reboot one of nodes 7test2, resource group g1 migrates to 7test1 (by ...
-1
votes
0answers
12 views

DNS forward to goolge apps

Im setting up a local doimain, but still keeping my google apps account. Inside my domain I nedd to be able to type mail.mydomain.com in a webbrowser and have that request redirected to ...
-2
votes
0answers
22 views

Securing the server/domain against sql injection bot [on hold]

I recently had a break-in attack on one of my website, that was performed by a sql injection bot. I was quite luckily to even know about it, since I was at my computer when it happened. What is the ...
0
votes
0answers
16 views

Fabric: Using ssh_config settings on env.gateway

I have a relatively standard AWS setup, that looks like this: [ App server ] \ [ App server ] -- [ Dev gateway ] [ App server ] / Where the servers are only accessible over 22 from the gateway's ...
0
votes
0answers
10 views

Passwords in modsec log files

Are there any best practices or approaches I can take to prevent certain data (e.g. passwords) from being logged into mod-security's log files? We've a call coming into our Apache server (and onto ...
0
votes
2answers
32 views

Add a user from root with ssh key

Perhaps a strange question, but I'm not a shell script expert. I'm provisioning an Ubuntu server starting out as root. I'd like to non-interactively setup a new user account, remove root login and ...
0
votes
0answers
11 views

How to delete scheduled task when it does not appear in menu?

The Windows Server 2012 documentation refers to a Delete action for tasks -- but this does not appear on the Task Schedule actions on my server (and I am not the administrator). When I attempted to ...

15 30 50 per page