I wanted to restart my server so I did :  sudo service apache2 restart   It instead showed me the message below :  Job for apache2.service failed. See 'systemctl status apache2.service' and 'journalctl -xn' for details.   I then did systemctl -l status apache2.service and it came out with these results:      apache2.service - LSB: Apache2 web server    Loaded: loaded (/etc/init.d/apache2)   Drop-In: /lib/systemd/system/apache2.service.d            └─forking.conf    Active: failed (Result: exit-code) since Thu 2016-12-15 07:44:48 CST; 43min ago   Process: 31239 ExecStart=/etc/init.d/apache2 start (code=exited, status=1/FAILURE)  Dec 15 07:44:48 s87890 apache2[31239]: Starting web server: apache2 failed! Dec 15 07:44:48 s87890 apache2[31239]: The apache2 configtest failed. ... (warning). Dec 15 07:44:48 s87890 apache2[31239]: Output of config test was: Dec 15 07:44:48 s87890 apache2[31239]: apache2: Syntax error on line 216 of /etc/apache2/apache2.conf: Could not open configuration file /etc/apache2/conf-enabled/softaculous.conf: No such file or directory Dec 15 07:44:48 s87890 apache2[31239]: Action 'configtest' failed. Dec 15 07:44:48 s87890 apache2[31239]: The Apache error log may have more information. Dec 15 07:44:48 s87890 systemd[1]: apache2.service: control process exited, code=exited status=1 Dec 15 07:44:48 s87890 systemd[1]: Failed to start LSB: Apache2 web server. Dec 15 07:44:48 s87890 systemd[1]: Unit apache2.service entered failed state.   I looked at line 216 of /etc/apache2/apache2.conf and this is what I saw:  IncludeOptional conf-enabled/*.conf   I did journalctl -xn and it showed me :      - Logs begin at Tue 2016-12-13 16:17:11 CST, end at Thu 2016-12-15 08:11:24 CST. -- Dec 15 08:11:05 s87890 sshd[32074]: pam_unix(sshd:auth): authentication failure; logname= uid=0 euid=0 tty=ssh ruser= rhost=116.31.116.48  user=root Dec 15 08:11:07 s87890 sshd[32074]: Failed password for root from 116.31.116.48 port 61622 ssh2 Dec 15 08:11:10 s87890 sshd[32074]: Failed password for root from 116.31.116.48 port 61622 ssh2 Dec 15 08:11:12 s87890 sshd[32074]: Failed password for root from 116.31.116.48 port 61622 ssh2 Dec 15 08:11:12 s87890 sshd[32074]: Received disconnect from 116.31.116.48: 11:  [preauth] Dec 15 08:11:12 s87890 sshd[32074]: PAM 2 more authentication failures; logname= uid=0 euid=0 tty=ssh ruser= rhost=116.31.116.48  user=root Dec 15 08:11:22 s87890 postfix/smtpd[32032]: warning: hostname dedic858.hidehost.net does not resolve to address 91.200.13.20: Name or service not kn Dec 15 08:11:22 s87890 postfix/smtpd[32032]: connect from unknown[91.200.13.20] Dec 15 08:11:24 s87890 sudo[32065]: ejandra : TTY=pts/0 ; PWD=/home/ejandra ; USER=root ; COMMAND=/bin/journalctl -xn Dec 15 08:11:24 s87890 sudo[32065]: pam_unix(sudo:session): session opened for user root by ejandra(uid=0)   I already did an apache uninstall and then installed it again but still the same error persists. What could be wrong here?
Trying to restart apache from terminal using following command:   sudo service apache2 restart   when executing that command getting below error:  Job for apache2.service failed. See "systemctl status apache2.service" and "journalctl -xe" for details.   On excuting "systemctl status apache2.service" got below output   apache2.service - (null)    Loaded: loaded (/etc/init.d/apache2)    Active: failed (Result: exit-code) since Sat 2015-05-30 02:22:41 IST; 12s ago      Docs: man:systemd-sysv-generator(8)   Process: 4866 ExecStart=/etc/init.d/apache2 start (code=exited, status=1/FAILURE)   apache error.log  AH00489: Apache/2.4.12 (Unix) configured -- resuming normal operations AH00094: Command line: '/usr/local/apache2/bin/httpd'
Not getting edit's +2 rep after reaching 2k rep After reaching 2k rep , I'm not receiving  +2 rep per edit. Why? Can anyone show me how to find invertible elements in $\mathbb{Z}/m\mathbb{Z}$, $m$ is say $28$?  Also I'm not very clear about what it mean by 'invertible element in $\mathbb{Z}/m\mathbb{Z}$' "EOL while scanning single-quoted string"? (backslash in string) import os xp1 = "\Documents and Settings\" xp2 = os.getenv("USERNAME") print xp1+xp2   Gives me error   File "1.py", line 2  xp1 = "\Documents and Settings\"                                ^ SyntaxError: EOL while scannning single-quoted string   Can you help me please, do you see the problem? Does there exists an entire function such that for each $|z|>C$ for some constant $C$, $|f(z)|=|z|+1$? What is JSON and what is it used for? Consider $X = (a+b)^n-a^n-b^n$  where  $a$ and $b$ and $a+b$ are not divisible by $n$, $n&gt;=3$ is positive and prime, $a \ne b$ and both are greater than 1.  By the binomial expansion we know $X$ is divisible by $n$, but how can we study whether $X$ is divisible by $n^2$ or other powers of $n$? Specifically I am interested to prove $X$ is NOT divisible by $n^2$, but I am not sure how to prove or disprove it. Is it possible to get old suggestion system back in Firefox 43.0? With the new update, the first suggested link is just domain. In older versions, the first suggested link was the page I visited the most and I got used to this great feature.  Is it possible to remove the new domain suggestion, for example "Visit ebay.co.uk"?  See image attached I received $1000 and was asked to send it back. How was this scam meant to work? Possible Australianism - netbank = a website + app by which an Aussie can do their banking, including transferring money to other people.  A while ago, I ended up with $1000 transferred into my account, which in the description looked like a netbank transfer, not like a cheque, cash deposit etc, and which looked like it had already cleared and landed in my account. Usually when something is still working through the bank's system it displays as 'pending', but did not in this case.  I received a phone call from someone, saying that they had accidentally typed in the wrong account number, and wanting me to send them the same amount of money back via netbank.   Surely bank account numbers have a checksum, which make it relatively difficult for a typo to result in a payment going to the wrong person? What are likely sources of them being able to find my phone number to call me? Obviously, the bank either being hacked, or giving it out in response to a query from this person (but surely the bank is unlikely to tell me my own mobile number if I claim to have forgotten it?). Presumably either my phone, or the phone of someone I have sent money to/received money from could be compromised. Has anyone heard of any instances of this happening?  I then went to my bank, explained the situation and said that I did want to refund the money through the officially sanctioned methodology. After the laughter died down, the bank told me to ask the person to fill out a form, then they would get me to fill out a form that would authorize undoing that exact payment.  I rang up the person to tell them this, and over the course of about a week received an increasingly elaborate story about how that wasn't working, they needed the money immediately, there was a fee to fill out that form and they couldn't afford to pay it etc.  After that, I never heard back from them again. I check my netbank for several weeks after, expecting the money to magically disappear, but it did not. This was probably a year ago, and I'm pretty vague with money so may not have noticed if it disappeared more recently. How were they expecting to benefit?  Were they hoping to get the transfer from me, and undo the transfer to me, to leave them $1k up? If so, how can an internet banking transfer be 'undone' once it has already shown as 'received'. Or was this to do with money laundering? The account they requested me to send money to was the same as the one that the money appeared to come from. This was a scam, right? Plot an elliptic curve in Latex How to determine the encoding of text? With regards to  post about  and the part about retaining reputation earned from deleted posts that have a score of 3 or better and were visible on the site for 60 days, does this also apply to self-deleted posts and will it continue to do so? I culled a few of my own answers over the weekend that were less than stellar, and my reputation dropped 1.8k, but the rep is back today after the changes were announced. I thought it would be useful to clarify that this also applies to self-deleted stuff. Can I calculate the size of a real object by just looking at the picture taken by a Camera? Sitemaps - one per subdomain or one for the base domain? I have more than 5 subdomains on a project, say developer, www, staff and some more, what is the best practice in creating sitemaps?   All subdomains that share a same sitemap at base domain (example.com/sitemap.xml) ? or different sitemaps for different subdomains?(developer.example.com/sitemap.xml and www.example.com/sitemap.xml)   Since the subdomains are several parts of the main application, what are the pros and cons of each, and what should I consider while choosing the one over the other? (one sitemap per subdomain or one for the whole site) Boundary of Ball of radius R has zero measure In the Stack Overflow podcast #36 (), this opinion was expressed: Once you understand how easy it is to set up a state machine, you’ll never try to use a regular expression inappropriately ever again. I've done a bunch of searching.  I've found some academic papers and other complicated examples, but I'd like to find a simple example that would help me understand this process.  I use a lot of regular expressions, and I'd like to make sure I never use one &quot;inappropriately&quot; ever again. What should the standard spelling be - British or US? Why is time special? In Special Relativity, the spacetime interval between two events is $s^2 = -(c{\Delta}t)^2+({\Delta}x)^2+({\Delta}y)^2+({\Delta}z)^2$ giving the Minkowski metric $\eta_{\mu\nu}=\text{diag}(-1, 1, 1, 1)$. What is the justification for making time have a negative coefficient, and how closely is that related to the 2nd law of thermodynamics? Sure, by letting $\eta = \text{diag}(1, 1, 1, 1)$, we get a pretty boring spacetime, and the boosts in the Poincaré group become trig instead of hyperbolic functions, but what's the physical reasoning behind this? Is there a way to choose a beginning and ending edge and auto select all the edges in between? I have been using Blender for quite a long time and I just want to make sure that there isn't a better way of selecting edges, that I might not be aware of. It is so cumbersome to have to click every single edge when I don't want to select an entire edge loop but a portion of one instead. I was wondering if there is some way in to specify a start edge and an end edge and then be able to auto select every edge in between? Why would a company like Apple be buying back its own shares? What is the reason that a company like AAPL is buying back its own shares? Does it have too much cash and it doesn't know what to do with it? So it is returning the cash back to investors? How do I find the files installed by a particular package? Where is the .deb file to look at? I have installed pulseaudio-module-bluetooth using apt.  $ type pulseaudio-module-bluetooth bash: type: pulseaudio-module-bluetooth: not found $ which pulseaudio-module-bluetooth $ whereis pulseaudio-module-bluetooth pulseaudio-module-bluetooth:   Clearly, I'm looking for the wrong thing.  The package does not simply install a command that is the same name as the package.  Alright, then.  I want to find out what all commands (or executables) this package installed, and their locations.  The answers to "" tell me how to find the files installed by the package if I have a .deb file.  I'm not installing directly from a .deb file, though.  I'm using apt.  Where is the .deb file that that used?  Is there a copy on my system somewhere that I can query with the commands in the answers to that question?  Where?  If there isn't a local copy on my system, can I get one with apt?  How?  Is there some handy apt (or similar) command that wraps this up for me, so that I do not have to run dpkg-deb directly?  What is it?  Can I find the package's file list entirely on-line, without explicitly downloading any .deb files and before installing anything with apt?  How?