mysql.server is empty [Solved]

Problems with the Linux version of XAMPP, questions, comments, and anything related.

mysql.server is empty [Solved]

Postby Ciartan » 03. January 2012 22:23

Hello .9
I have a question about my mysql.server file . It's empty and has no rights. (Also the file phar, but i don't know what this file is for)

Code: Select all
---------- 1 root root       0 2011-06-30 01:18 mysql.server


I updated my apache from 1.7.4 to 1.7.7 but the file stays missing.

When i try to start mysql with: /opt/lampp/lampp startmysql it gives the following error: /opt/lampp/lampp: Zeile 253: /opt/lampp/bin/mysql.server: Keine Berechtigung

I don't know what to do now. The rest of my installation seems to work.

Greetz
Nicole
Ciartan
 
Posts: 4
Joined: 03. January 2012 22:14
XAMPP Version: 5.6.3
Operating System: Ubuntu 11.10

Re: mysql.server is empty

Postby JonB » 04. January 2012 01:08

how did you do this:
I updated my apache from 1.7.4 to 1.7.7 but the file stays missing.


:shock:
User avatar
JonB
AF Moderator
 
Posts: 3210
Joined: 12. April 2010 16:41
Location: Land of the Blazing Sun
XAMPP Version: 1.8.3-2
Operating System: Windows XP/7 - Fedora 15 1.7.7

Re: mysql.server is empty

Postby Ciartan » 04. January 2012 17:24

Ehm sorry, i updated my xampp.
Ciartan
 
Posts: 4
Joined: 03. January 2012 22:14
XAMPP Version: 5.6.3
Operating System: Ubuntu 11.10

Re: mysql.server is empty

Postby JonB » 04. January 2012 21:12

OK - did you use the same command under LAMPP 1.7.4?? and did it work correctly???

Also - does MySQL start correctly when you issue the command /opt/lampp/lampp start?

As far as the 'empty files' -

The mysql.server file in /opt/lampp/bin is a symbolic link (and thus should be empty).

Code: Select all
lrwxrwxrwx. 1 nobody root      27 Jan  7  2010 mysql.server -> ../share/mysql/my
sql.server


Ditto the phar file

Are you familiar with the Linux command 'ls'?

Code: Select all
[root@localhost ~]# cd /opt/lampp
[root@localhost lampp]# cd bin
[root@localhost bin]# ls -l
total 86016
-rwxr-xr-x. 1 nobody root  101768 Jan 25  2011 a2p
-rwxr-xr-x. 1 nobody root   47988 Jan 25  2011 ab
-rwxr-xr-x. 1 nobody root    3404 Oct 21  2010 apachectl
-rwxr-xr-x. 1 nobody root    6968 Oct 21  2010 apr-1-config
-rwxr-xr-x. 1 nobody root    6017 Oct 21  2009 apreq2-config
-rwxr-xr-x. 1 nobody root    6519 Oct 21  2010 apu-1-config
-rwxr-xr-x. 1 nobody root   22651 Oct 21  2010 apxs
-rwxr-xr-x. 1 nobody root   12003 Feb 10  2003 autopoint
-rwxr-xr-x. 1 nobody root    4012 Sep  7  2004 bdftogd
-rwxr-xr-x. 1 nobody root   19856 Jan 25  2011 bsqldb
-rwxr-xr-x. 2 nobody root   36613 Oct 21  2009 c2ph
lrwxrwxrwx. 1 nobody root       5 Jan  7  2010 CA -> CA.pl



Note that last entry
the initial 'l' says this is a symbolic link (a pointer) and the 'CA -> CA.pl' shows what is linked to

http://beginnerlinuxtutorial.com/help-t ... s-command/

I need to ask - why do some of the files in /opt/lampp/bin belong to root??? Did you make that change?

Good Luck
8)
User avatar
JonB
AF Moderator
 
Posts: 3210
Joined: 12. April 2010 16:41
Location: Land of the Blazing Sun
XAMPP Version: 1.8.3-2
Operating System: Windows XP/7 - Fedora 15 1.7.7

Re: mysql.server is empty

Postby Ciartan » 05. January 2012 19:26

No i didn't make any change.

But i found in the archive the mysql.server to which the empty file should link.
So i replace my empty file with this file and now mysql seems to work. But seems. I'm curious if it really works.

With the normal start command, the mysql did not start, that is for what im trying the mysqlstart.
Ciartan
 
Posts: 4
Joined: 03. January 2012 22:14
XAMPP Version: 5.6.3
Operating System: Ubuntu 11.10

Re: mysql.server is empty

Postby JonB » 05. January 2012 19:40

I'm a bit lost right now

Is MySQL running correctly now?

What happens when you use /opt/lampp/lampp start ?

What happens now with

/opt/lampp/lampp stopmysql

/opt/lampp/lampp startmysql

:?:
User avatar
JonB
AF Moderator
 
Posts: 3210
Joined: 12. April 2010 16:41
Location: Land of the Blazing Sun
XAMPP Version: 1.8.3-2
Operating System: Windows XP/7 - Fedora 15 1.7.7

Re: mysql.server is empty

Postby Ciartan » 08. January 2012 18:57

with /opt/lmapp/lampp start

Starte XAMPP fuer Linux 1.7.7...
XAMPP: Starte Apache mit SSL (und PHP5)...
XAMPP: Starte MySQL...
XAMPP: Starte ProFTPD...
XAMPP fuer Linux gestartet.

Everything seems to work!

/opt/lampp/lampp stopmysql
XAMPP: Stoppe MySQL...

seems to work to!

/opt/lampp/lampp startmysql
XAMPP: Starte MySQL...

also :)

I made a few tables, an a data entry, everything works finde. Seems a bit curious, because i only overwrite the link with the linked file...

But if everything works finde, i hope it will continue like that.
Ciartan
 
Posts: 4
Joined: 03. January 2012 22:14
XAMPP Version: 5.6.3
Operating System: Ubuntu 11.10


Return to XAMPP for Linux

Who is online

Users browsing this forum: No registered users and 9 guests