« first day (1720 days earlier)      last day (3261 days later) » 

10:04 AM
:D
Work time soon
Collegue fixed the script on one box
no clue why the other box has stopped working still, but we've given up for now.
 
 
2 hours later…
11:53 AM
Annnnnnnnd sorted \o/
Something had cleared all the enviromental vars and they wouldn't load
 
12:12 PM
@djsmiley2k If you don't know what that something was, and how to prevent it reoccurring, it's not sorted...
 
We are no longer using that box \o/
That says to me, it won't re-occur (on that box at least).
 
12:26 PM
like I said...
 
Yah I know, kinda stuck tho
 
yeah... At least next time you'll know a bit more about what to look for.
I had a similar thing last week when one of my servers refused to speak to its HSM. Eventually I gave up and rebooted the thing, and then it started working again. So I have no idea what caused it and thus I can't prevent it from happening again.
It irks me.
 
heh
We have stuff like that happening at work
mostly older gear tho
 
Nod
solar flares is my excuse D:
errrrrr ok php is being weird too
/me gives up
 
12:35 PM
hh yea I'm starting to learn that.
 what on earth is this on the begining of this CSV...
        curl_setopt($ch, CURLOPT_RETURNTRANSFER,1);
        ....
        $result = curl_exec($ch);
    $newFilePath = './reports/' . $newName;
	$newFile = fopen($newFilePath, 'w');
	fwrite($newFile, $result);
Why on earth is fwrite complaining that one of the variables is a boolean?!
magic I guess. :D
 
12:51 PM
are you sure that curl_exec actually returns the output from curl and not the return value?
Mind, I don't know PHP at all, but that looks somewhat dodgy to me.
 
    curl_setopt($ch, CURLOPT_RETURNTRANSFER,1); means it should output the content, not a result...
however I'm now wondering if some of the pages I'm grabbing are failing and thats why I'm getting the error (as it'd return bool(false)) instead.
 
1:09 PM
that's the point of checking return codes :-)
 
Yeah
 
In this case, maybe an if ($result = curl_exec($ch))or whatever the PHP equivalent might be...
 
well, i'm just checking result after to see if it is a boolean (of value false)
Billing%20Suppressed\&rc%3AParameters=Collapsed
yey we are escaping char's properly o/
 
 
2 hours later…
3:11 PM
I have a problem with my mod security...any help is really appreciate, thanks
0
Q: How can I fix this error on mod_security: AH00526: Syntax error ... /etc/modsecurity/modsecurity.conf

SimoneFollowing this tutorial I tried to verify if the mod_security module was loaded on my Apache2. apachectl -M | grep --color security I got this error message: AH00526: Syntax error on line 187 of /etc/modsecurity/modsecurity.conf: ModSecurity: Failed to open the audit log file: /var/log/apache...

 
 
1 hour later…
4:25 PM
@Simone try chown
 
 
1 hour later…
6:09 PM
@djsmiley2k ok thanks even if this is not the case
 
it's not helped?
 
Normally, on Debian apache runs as the www-data user, not apache. The ownership of the file (root:adm) is correct, as are the perms, changing them would be wrong too so the problem lies elsewhere.
this is from Lain
 
whoops, ok
damn debian and it's weirdness.
wait
 
I didn't downvote you in any case
:)
 
root:adm with 640 means www-data can't write to it either
unless they are in adm group, which would be.... weird?
 
6:15 PM
@djsmiley2k I really don't know, but during this time I costantly think "why always me?"
:/
 
hehe
can you do groups www-data
urgh i can't backtick on this keyboard
 
Lain said "The ownership of the file (root:adm) is correct, as are the perms, changing them would be wrong too so the problem lies elsewhere"
so it's not the problem
Lain has 77k experience
 
well, pls keep it over the main site guy :P
 
hehe yah sr
 

« first day (1720 days earlier)      last day (3261 days later) »