General :: How Does MySQL Usually Get Started

Jul 5, 2011

I'm trying to ensure an app starts on boot up but after MySQL has been started. I can't however locate where MySQL is being started. If I do a chkconfig, it says MySQL is off, yet I can readily access my databases with phpmyadmin.If I look at my boot log, I can see it says MySQL Server is started, right after Apache2 is started.In my rc5.d directory, I only see a symbolic link for Apache2 but nothing for MySQL. The startup script for MySQL appears in /etc/init.d.rc.local has got nothing in it but comments. So it appears to me like it's being run on startup, but not as a service. But I have next to no knowledge of Linux so don't put too much belief in that.I would have originally installed MySQL via apt-get.

View 1 Replies


ADVERTISEMENT

Ubuntu Servers :: Evaluate What Started The MySQL Daemon?

Oct 13, 2010

I installed MySQL on my Ubuntu 10.04 desktop. As I need it only once a month I removed it from all runlevels but mysql is still running after boot up. "lsof" shows that it is running and listening for connections.

Code:
neo@ubuntu:~$ sudo lsof -i
[sudo] password for neo:
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
sshd 927 root 3u IPv4 7819 0t0 TCP *:ssh (LISTEN)
sshd 927 root 4u IPv6 7821 0t0 TCP *:ssh (LISTEN)
avahi-dae 945 avahi 12u IPv4 8107 0t0 UDP *:mdns
avahi-dae 945 avahi 13u IPv6 8108 0t0 UDP *:mdns

[Code]...

How can I evaluate what started the MySQL daemon? WHy is it running?

View 1 Replies View Related

General :: Can't Connect To Local MySQL Server Through Socket '/var/lib/mysql/mysql.sock' (2)

Jun 2, 2010

i am using liferay5.2(mysql included in the download pack) on fedora. while liferay is working fine but i cannot connect to mysql.i am getting the error

[
[root@localhost ~]# ln -s /var/lib/mysql/mysql.sock /tmp
[root@localhost ~]# /etc/init.d/mysqld start
Timeout error occurred trying to start MySQL Daemon.

[code]....

i didnt find the mysql.sock file in the location /var/lib/mysql/mysql.sock. i cannot find the portal-ext.properties file also to make intial settings.

View 9 Replies View Related

Ubuntu :: No Sound In KDE When Started By Startx While Working Fine When Started By Kdm/gdm

Dec 14, 2010

I recently installed KDE in my ubuntu 10.10. To access KDE, I want to use
startx /usr/bin/startkdeBut using it disables sound in KDE (Sound is working fine in GNOME). It doesn't sound for anything like login sound, totem, mplayer or any other playerBut when I press Alt+Ctrl+F1 to change to virtual console, the playback resumes from where it was in time and when coming back Alt+Ctrl+F7 and the time in totem (or any other player) doesn't move. While log out also it doesn't play logout sound and doesn't logout, so I have to press Ctrl+Alt+F1 so that logout sound play then it exits.When starting KDE by kdm or gdm, the sound works normally. But I don't want to login again using kdm or gdm and not to use root user to start kdm or gdm.I don't know what is the difference between when KDE is started by startx or by kdm/gdm where the same user login in kdm/gdm as that for startx

View 2 Replies View Related

General :: Create A New Mysql User And A Mysql Database At The Shell Prompt?

Aug 7, 2010

How do I create a new mysql user and a mysql database at the shell prompt?

View 1 Replies View Related

General :: Mysql Not Starting After Changing Mysql Admin Password In Fedora?

Feb 19, 2010

Mysql starting problem after changing mysqladmin password.I tried all the solutions available on forums, but not solve the problem.At last I restored the mysql db backup, this make mysql service start, but till other databases not showing all tables.

View 1 Replies View Related

General :: Access Remote Mysql Db With Mysql-administrator Command?

May 13, 2011

I have install mysql on my fedora12. My different mysql server is located in us. I want to check health status and hits per seconds everything. Is it possible with mysql-administrator command.

now a these days i am connect through ssh and excuting below command

#mytop mysql -u root -p <passwd>

In my mysql db i have added the userip & passwd (allowed the privileages for that ip)

If i use mysql-administrator i am getting below error

MySQL Error Nr. 2003
Can't connect to MySQL server on '66.98.152.64' (111)

View 6 Replies View Related

General :: Interact With The Mysql To Reset The Root Mysql Pass?

Jun 14, 2011

I have tried many different ways to interact with the mysql to reset the root mysql pass. This is what I got to right now

Code:
#!/bin/sh
newpass=$1
service mysqld stop
mysqld_safe --skip-grant-tables --skip-networking &
echo "use mysql;" >> /tmp/mysql_pass_reset.txt
echo "update user set password=PASSWORD("$newpass") where User="root";" >> /tmp/mysql_pass_reset.txt

[Code]...

View 6 Replies View Related

OpenSUSE Network :: ERROR 2002 (HY000): Can't Connect To Local MySQL Server Through Socket '/var/mysql/mysql.sock

Jun 7, 2011

I think this goes here, but I'm not sure. I decided that XAMPP had been troublesome enough. MySQL never worked. So I decided to instal the LAMP stack offered by YaST. I went about installing it thinking that it would all work. But it seems that I was wrong. So I try to start mysql, and here's what I get:

Code:
the-matrix:~ # mysql start
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/mysql/mysql.sock' (2) or
Code:
the-matrix:~ # rcmysql start
Starting service MySQL warning: /var/mysql/mysql.sock didn't appear within 30 seconds
chmod: cannot access `/var/run/mysql/mysqld.pid': No such file or directory

[Code]...

View 6 Replies View Related

General :: Fan Keeps Running Once Started?

Feb 28, 2011

My problem is that my fan will keep running quite quickly once started. It will keep running till reboot independently of CPU usage and temperature. To check the temperature I installed lm-sensors. Output of temperature related commands and kernel version are below. Shouldnt they all give the temperature? My machine is a Toshiba Satellite pro L300. Eg. at the moment my fan is running quite quickly although CPU usage is 3-4% and the temperature according to lm-sensors is approximately 40-45 degrees Celcius.

Code:
:~$ acpi --thermal
Battery 0: Full, 100%
Thermal 0: ok, 0.0 degrees C
:~$ cat /proc/acpi/thermal_zone/THRM/temperature

[Code].....

View 4 Replies View Related

General :: Start A Program After X Has Started?

Jun 8, 2010

there's a little app called F.Lux that sets your screen temperature based on the time of day. The Linux version is a little spartan with just a console interface but it works perfectly well. The question I have is where can I invoke it so that it starts up after X has started?

View 4 Replies View Related

General :: Run Tcsh But Bash Started Instead

Jul 23, 2010

I tried to start a tcsh on my Fedora 7 (default shell is bash)

[ss@ssvm ~]$ tcsh
[ss@ssvm ~]$ echo $SHELL
/bin/bash

As you see, another bash shell started.

I looked at the tcsh file:

[ss@ssvm ~]$ ll /bin/tcsh
-rwxr-xr-x 1 root root 345348 2007-02-26 23:58 /bin/tcsh
[ss@ssvm ~]$ ll /bin/csh
lrwxrwxrwx 1 root root 4 2010-03-07 13:13 /bin/csh -> tcsh

It is not a link (but csh is). I don't understand why this is happening.

View 3 Replies View Related

General :: Windows - Know/read/do To Get Started With (Ubuntu)?

Apr 16, 2011

I am a Windows user. I work as a web developer. I would like to start using Linux, slowly perhaps as my main OS. I would like to know more abt Linux, like what Anti-Virus/Firewalls are recommended (if needed?) abit more abt the shell commands. And in general, how do what I do in Windows map to Linux

View 5 Replies View Related

General :: Bring To Front A Process Started With &?

Feb 19, 2010

Consider I am logged on a machine via SSH.I execute a process having "&" at the end from a shell - I run the process in background.Then I log off from the machine.I am just wondering if it is possible to bring that process to front after I log onto the machine again?I would like to check the output of my running process.Or is there any different approach to have a process running in background and to be able to view its output (i.e. printf)

View 3 Replies View Related

General :: Date And Time Of A Process When It Was Started?

Mar 19, 2010

Centos 5.4 64bitWould like to know when a particular process was started.1.Quote:ll -d /proc/4014/dr-xr-xr-x 5 mysql mysql 0 Nov 28 07:34 /proc/4014/2.Quote:ps -o pid,lstart -p 4014 PIDSTARTED 4014 Tue Nov 17 23:10:13 20091) Which one should I consider?2) why do both have such a difference?

View 1 Replies View Related

General :: Kill Remote Processes Started With SSH?

Aug 26, 2009

I've run into what is apparently an age-old SSH problem, which is that killing an ssh client process does not kill the remote process (unlike e.g. rsh). There seem to be lots of patches and a couple of open bugs on this topic that have been there for about 10 years or so... Having convinced myself by googling that there is no easy solution, I'm now looking for a workaround of some sort. I'm writing a testing framework so the processes I'm running remotely could be anything at all, i.e. I only have control of the client side. Also the remote processes are of course highly unstable and I need to be able to terminate them if they hang. ssh -t won't work for me as I don't necessarily have a terminal. Finding the remote process ID would be enough so I can do ssh <machine> kill <pid>, but I don't see any way to do that either. Just using ps, pgrep etc seems to suffer from not being able to uniquely identify the correct process, and killing the wrong process is of course very bad.

View 14 Replies View Related

General :: Get The External Screen Working (only After GDM Is Started?

Apr 14, 2011

I have a laptop with SuSE 11.2 installed, worked all like a charm.Then the problems started :I lost my display (it is dark, you can see very very faint the desktop from time to time)Clearly a hardware problem.So, I attached an external screen. Only this shows nothing, cannot get it activated.Since the laptop automatically boots into our LAN, i just started it, and connected via SSH from an other computer.No problem i have a shell.Then I thought to be clever, and activated the pure-ftp demon, so I can download all interesting files to a new computer. I activated it with / as shared directory.After that, I could not boot the laptop anymore, it did not connect to the network.

After a lot of try-outs I finally managed to get the external screen working (only after GDM is started, i can see the workspace, nothing at boot time).Then I found out that the network would not start anymore, actually I could not even start yast or a su shell.After some investigation, I found that pure-ftp had changed the owner of all files in the / partition to ftp (and the group also to ftp)So, su has no access rights anymore to /etc/shadow, and thus cannot verify my root password anymore.Now i'm stuck. I can work as normal user on the old machine, but no network, the DVD wont write anymore and usb sticks don't open anymore.I cannot boot the system in single usermode, since then I have no screen.Has anybody here the brilliant idea I need to get the files out of this machine, without taking the disc out(would not know how to do that anyway).

View 7 Replies View Related

General :: Use Valgrind Tool Over A Exe Which Is Started With Start_daemon?

Jul 20, 2010

I am trying to run valgrind tool findout memleak for a executable which is run from start_daemon process..

View 4 Replies View Related

General :: After Some Logins 11.04 Started Disconnect From Internet

Apr 30, 2011

i have installed ubuntu 11.04 linux by wubi (windows 7 ultimate is the other operating system). after some logins it started disconnect from internet.

View 11 Replies View Related

General :: Torrent Or Transmission Started But Uncompleted?

Dec 21, 2010

If you start a transmission then shutdown unintentionally, what happens to transmission? This hasn't happened recently, but the question sticks in my mind. I was downloading 2 files. I opened raw package which, at the time I didn't have BT or FDM or any other type of transmission at that point I shutdown system. I'm assuming it picked up after restarting computer. Anyway what I really want to know is if I only shutdown os and not the transmission, when does it actually stop?

View 3 Replies View Related

General :: Control In KDE On Which Desktop An Application Started From Commandline Will Appear?

Jul 13, 2010

I am using a script to start an application (with GUI, i.e. windows) in KDE. However, the window will always appear on the currently used desktop. I would like to define which desktop the application will appear to be able to just run in invisible in the background. How can I do this for KDE?

View 1 Replies View Related

General :: Which Version Of Matlab Started Supporting 64-bit On Linux/Mac?

May 8, 2011

What is the first Matlab release that fully supports 64-bit? Is it 2010a? I've got 64-bit installations of Linux and Mac OS X, and want to make sure I install a copy of Matlab that takes full advantage of 64-bit and the resulting larger memory support.

View 1 Replies View Related

General :: Resume A Torrent Download Started On Windows?

Sep 1, 2011

Maybe some torrent client for Linux can understand the metadata generated by a Windows client. Or maybe there is a Web/Desktop client that works in both systems. Is there any way to do that?I use uTorrent for Windows, and I haven't used any torrent client on my Ubuntu 11.04 yet. But if the solution uses other client for Windows, it will work for me.

View 2 Replies View Related

General :: Started To Prepare RHCSA Certificate From RedHat?

Apr 18, 2011

I started to prepare myself to RHCSA certificate from RedHat. In order to get this cert I have to pass exam EX200.THe best way to prepare would be to take part in courses RH124 and RH135 but I don't have cash for this and that's why I decided to prepare by myself.I downloaded ebook and have some experience in linux administration :McGraw.Hill.RHCE.Red.Hat.Certified.Engineer.Linux.Study.Guide.Exam.RH302.5th.Edition.Jun.2007Do you think that's enough to pass this EX200 exam ?Maybe someone have torrents to RH124 and RH135 courses ?

View 8 Replies View Related

General :: Set A Programm Auto Started When The Machine Is Restarting?

Jan 6, 2010

I've installed a JBoss-JON-Agent on a Linux-machine. Normally to start the JON-Agent I have to go to /opt/jboss/VGER1/Agent/bin/ and run ./ rhq-agent-wrapper.sh startBut sometimes the Linux-machine will be restarted and I have to start the JON-Agent manually.Now what I want is: when the Linux-machine is restarting, the JON-Agent will be restarted.

View 4 Replies View Related

General :: Place A Fire-started ,and Ports Come Disable?

Mar 15, 2010

I running ubuntu 9.04 server edition,I place a pci expressmodel PEX8S952 8 Port PCI Express Serial Card ,and ports are disable there is a place

View 4 Replies View Related

General :: Ubuntu 9.10 Started Freezing Randomly After Last Updates

Feb 23, 2010

What's even weirder is it unlocks when I press power on my desktop. When it freezes, I have several windows opened, and I'm switching between windows. I can still move the mouse, but cant click anywhere. Cant select anything yet there are still cursors flashing (text editor or terminal). The only thing that will unfreeze everything is the signal from pressing power (not rebooting, just quickly pressing power).
Processor: I7
VGA compatible controller: nVidia Corporation G92 [GeForce GTS 250] (rev a2)

View 12 Replies View Related

General :: Kill Process Started With Different User Without Being Root / Sudoer?

May 3, 2010

I need to kill a process which has been started by user2 if I am user1 without being sudoers or using root.Do you know if there is a way of setting that when launching the process? Such as a list of users allowed to kill the process?

View 7 Replies View Related

General :: Radius Has Started In Debugging Mode Upon Boot And Cannot Login

Oct 11, 2010

I have created a Radius startup script in /etc/init.d for Debian which looks like this:

Now this works but when I boot my server it shows as ready to process requests and it doesnt login. I cant get a login prompt. If I do a CTRL C to try close this it doesnt work and just shows CTRL C on the screen, I can type in kill radius but nothing happens.

I guess its because my script is in debugging mode, most of the suggestions for a script said I should use:

However the radiusd a doesnt work and if I try to run using command radiusd in it comes up and says invalid command and I dont have the option to use

So if this script runs on my server, I could connect to the server through a putty session via port 22 and log on fine and do what I need too, but if I try to connect to the server directly after boot its just sitting on ready to process requests and I cannot do anything when directly at the server. On one particular server I didnt have the network confg right so I couldnt putty to it and now Im a bit stuck. Will I need to rebuild my server? As I canït break out of this ready to process requests and I cannot login as its just sitting there, I have tried connecting through serial management via my laptop but I cant do anything this way either the only way I could do anything was if I could get through to the server on putty.

There must be a way when directly at the server to cancel the radius and get logged in? As Ive mentioned CTRL C doesnt work. I can get to the ok prompt but not sure what command to use and if I could change the network config at the ok prompt or if I could somehow cancel the startup script at the ok prompt? I thought I could use the init commands to start the server without the script starting but the init commands don�t work and the server just sits there.

Also I guess I shouldnt be using radius X in my startup script, to prevent this problem is there something else I should be using? I tried using radius x (the small x) and I hit enter and then no process for radius starts .

View 1 Replies View Related

General :: Enable Gtk Themes When Ubuntu Started In Xterm Mode?

Aug 5, 2010

i booted up my Ubuntu 10.04 and at the login promt I changed from GNOME to xterm session. Then i logged in and opened my programs and it didn't have the gtk theme enabled that i have when I start my ubuntu in GNOME session mode. How do i enable gtk themes there so everything looks pretty again? I like starting from xterm because it's very fast..

This is how it looks, notice the ugly buttons and everything... the gtk theme is not loaded and i don't know how to enable it..

[URL]

And here i will show you how it should look and how it normally looks with the gtk theme loaded up... basically i would like it to look like this even when i start it from xterm..

[URL]

Really, I would like to know how i can enable gtk themes when I run my computer in xterm session mode. Is there another application that i have to run? I don't want to run the full GNOME environment, i really don't.

View 3 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved