Page 1 of 1

Hi guys - please help me

PostPosted: 17. November 2016 10:52
by Unconformed
Hi

Xamp won't run. It will work for a while when I re-install. But then it seems to crash.

Here is the output of error_log

http://pastebin.com/cLRQczim

I have had some issues with space, but I think they are resolved.

Is it possible that there is cache or something that's getting full?

Could this be an issue with PHP versions?

What about line 28? Is that just a warning?

Here is the log from MySql (this one was accessed from the GUI manger /opt/lampp/var/mysql/thomas.err

http://pastebin.com/hR0VJJAV

Thanks so much in advance for any help.

Re: Hi guys - please help me

PostPosted: 17. November 2016 11:57
by Nobbie
I cannot see any error message (only some warnings)?! Do you see any? What exactly happens and do you get any error message?? Are you running a "huge" script (a CMS like Joomla or so), or simply a small PHP script?

Funny thing: i just looked into the error_log of my linux Xampp installation and i found as well this crazy line with all the ^@^@.... (i think its a graphical representation of null characters, i can find out that if needed), that does not look good, as if there is kind of memory overflow. But my Apache is running (but i do not have installed any major PHP scripts).

Re: Hi guys - please help me

PostPosted: 17. November 2016 22:46
by Unconformed
Hi

I have a pretty large custom PHP web application running on there.

My theory is that as space diminishes, Xampp cracks it and even when I make more space, it won't be able to reuse the additional disk space (mind u OPT folder not in there).

My home dir only had 8 gig of space,

So the ssl, php warning are of no concern?

I'll try are-install tnite.

Ty for taking the time Nobbie you're a big help.

Re: Hi guys - please help me

PostPosted: 17. November 2016 23:17
by Nobbie
Unconformed wrote:So the ssl, php warning are of no concern?


No.

I asked for the behaviour, you still did not answer. What exactly happens and which messages occur?

Re: Hi guys - please help me

PostPosted: 18. November 2016 08:57
by Unconformed
My bad.

I am unable to connect, and the browser window says

Firefox can’t establish a connection to the server at local-host.

MySQL Databse, ProFTPD or Apache Web Server all do not start.

I see no error messages. Previously I have been unable to connect to DB (and this of course threw and error), but this time unable to connect at all.

Thanks again for taking the time to reply.

Re: Hi guys - please help me

PostPosted: 18. November 2016 12:00
by Nobbie
Unconformed wrote:I am unable to connect, and the browser window says

Firefox can’t establish a connection to the server at local-host.


"local-host" is unknown, it must be "localhost" instead.

Unconformed wrote:MySQL Databse, ProFTPD or Apache Web Server all do not start.


How do you try to start them?

Unconformed wrote:I see no error messages.


So how can you know, whether they start or not, when there is NO message??

Re: Hi guys - please help me

PostPosted: 18. November 2016 23:42
by Unconformed
Thanks again.

Nobbie wrote:
"local-host" is unknown, it must be "localhost" instead.



It says localhost, not local-host. I thought I copied and pasted this. That's odd. It is a generic Firefox "can't establish connect" screen. See below:

http://imgur.com/a/t8WF0



Nobbie wrote:
How do you try to start them?



I have been using the GUI to do this. I just tried in terminal, please see pastebin.

http://pastebin.com/12bbSs1R

Nobbie wrote:So how can you know, whether they start or not, when there is NO message??


Up to now, I have looked at the GUI, sorry for not explaining this clearly I understand you are spending your own time to help me and I appreciate it.

You can see the a screen here. Please note, I don;t have Skype on but I know port 80 can be an issue.

http://imgur.com/a/IwLlh

I did some extra research

http://pastebin.com/vBtWZ6mb

Could apache-htcacheclean be causing an issue? Apach seems to be the one with the issue on restart.

Re: Hi guys - please help me

PostPosted: 19. November 2016 00:19
by Nobbie
Its getting a little clearer now, seems that you also have installed Apache2 from your linux distribution, which now probably collides with Xampp. Same for Mysql, both Apache2 and Mysql are listed in the services, but Xampp does not run or install as service.

Re: Hi guys - please help me

PostPosted: 19. November 2016 11:58
by Unconformed
Thanks again. I am keen to get to the bottom of this.

So I checked and I had some leftover apache2 files. I detected an removed them.

http://pastebin.com/tvmkA3wJ

No longer any apache2 or mysql instances.

thomas@thomas:~$ sudo apt-get purge mysql-server mysql-client
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package 'mysql-client' is not installed, so not removed
Package 'mysql-server' is not installed, so not removed