Martin,
Even worse response

"root@Server:~# ps -aux ¦ grep mysql
ERROR: User name does not exist."
Iain

On 10 July 2013 15:19, Martin Nix <mar...@nixes.net> wrote:

> some distros are more picky
>
>
> On 10 July 2013 15:19, Martin Nix <mar...@nixes.net> wrote:
>
>> ps -aux | grep mysql
>>
>>
>>
>> On 10 July 2013 15:00, HARLEY IAIN <iain.harle...@ntlworld.com> wrote:
>>
>>> Martin,
>>> Looks like I need a different syntax but not something I understand.
>>>
>>>
>>> root@Server:~# ps aux¦grep mysql
>>> ERROR: Unsupported option (BSD syntax)
>>> ********* simple selection *********  ********* selection by list
>>> *********
>>> -A all processes                      -C by command name
>>> -N negate selection                   -G by real group ID (supports
>>> names)
>>> -a all w/ tty except session leaders  -U by real user ID (supports names)
>>> -d all except session leaders         -g by session OR by effective
>>> group name
>>> -e all processes                      -p by process ID
>>> T  all processes on this terminal     -s processes in the sessions given
>>> a  all w/ tty, including other users  -t by tty
>>> g  OBSOLETE -- DO NOT USE             -u by effective user ID (supports
>>> names)
>>> r  only running processes             U  processes for specified users
>>> x  processes w/o controlling ttys     t  by tty
>>> *********** output format **********  *********** long options
>>> ***********
>>> -o,o user-defined  -f full            --Group --User --pid --cols --ppid
>>> -j,j job control   s  signal          --group --user --sid --rows --info
>>> -O,O preloaded -o  v  virtual memory  --cumulative --format --deselect
>>> -l,l long          u  user-oriented   --sort --tty --forest --version
>>> -F   extra full    X  registers       --heading --no-heading --context
>>>                     ********* misc options *********
>>> -V,V  show version      L  list format codes  f  ASCII art forest
>>> -m,m,-L,-T,H  threads   S  children in sum    -y change -l format
>>> -M,Z  security data     c  true command name  -c scheduling class
>>> -w,w  wide output       n  numeric WCHAN,UID  -H process hierarchy
>>>
>>> Iain
>>>
>>>
>>> On 10 July 2013 14:16, Martin Nix <mar...@nixes.net> wrote:
>>>
>>>> Sounds like mysql isn't running in the first place, do a :
>>>>
>>>> # ps aux | grep mysql
>>>>
>>>> Post the output back
>>>>
>>>> Martin
>>>>
>>>>
>>>> On 10 July 2013 13:38, HARLEY IAIN <iain.harle...@ntlworld.com> wrote:
>>>>
>>>>> I am running Slackware 14 with KDE desktop.  After running an update
>>>>> whilst inadvertently logged into K-Mail Akonadi will not run and K-mail is
>>>>> not functioning correctly.
>>>>> The Akonadi error log is as follows:
>>>>>
>>>>> Database process exited unexpectedly during initial connection!
>>>>> executable: "/usr/libexec/mysqld"
>>>>> arguments: ("--defaults-file=/root/.local/share/akonadi/mysql.conf",
>>>>> "--datadir=/root/.local/share/akonadi/db_data/",
>>>>> "--socket=/root/.local/share/akonadi/socket-Server/mysql.socket")
>>>>> stdout: ""
>>>>> stderr: "130703  9:50:24 [ERROR] Fatal error: Please read "Security"
>>>>> section of the manual to find out how to run mysqld as root!
>>>>>
>>>>> 130703  9:50:24 [ERROR] Aborting
>>>>>
>>>>> 130703  9:50:24 [Note] /usr/libexec/mysqld: Shutdown complete
>>>>>
>>>>> "
>>>>> exit code: 1
>>>>> process error: "Unknown error"
>>>>> "[
>>>>> 0: akonadiserver(_Z11akBacktracev+0x35) [0x8090755]
>>>>> 1: akonadiserver() [0x8090a8f]
>>>>> 2: linux-gate.so.1(__kernel_sigreturn+0) [0xffffe400]
>>>>> 3: /lib/libc.so.6(gsignal+0x3c) [0xb6dd4d1c]
>>>>> 4: /lib/libc.so.6(abort+0x143) [0xb6dd6533]
>>>>> 5:
>>>>> /usr/lib/qt/lib/libQtCore.so.4(_Z17qt_message_output9QtMsgTypePKc+0x86)
>>>>> [0xb74ba2f6]
>>>>> 6: akonadiserver(_ZN15FileDebugStream9writeDataEPKcx+0xd8) [0x8092988]
>>>>> 7: /usr/lib/qt/lib/libQtCore.so.4(_ZN9QIODevice5writeEPKcx+0xe8)
>>>>> [0xb7562cf8]
>>>>> 8: /usr/lib/qt/lib/libQtCore.so.4(+0x11b0bd) [0xb756f0bd]
>>>>> 9: /usr/lib/qt/lib/libQtCore.so.4(_ZN11QTextStreamD2Ev+0x3e)
>>>>> [0xb757828e]
>>>>> 10: akonadiserver(_ZN13DbConfigMysql19startInternalServerEv+0x17ab)
>>>>> [0x811d8ab]
>>>>> 11:
>>>>> akonadiserver(_ZN7Akonadi13AkonadiServer20startDatabaseProcessEv+0xe1)
>>>>> [0x8093751]
>>>>> 12: akonadiserver(_ZN7Akonadi13AkonadiServerC2EP7QObject+0xc6)
>>>>> [0x8094d86]
>>>>> 13: akonadiserver(_ZN7Akonadi13AkonadiServer8instanceEv+0x46)
>>>>> [0x8096466]
>>>>> 14: akonadiserver(main+0x137) [0x8089c07]
>>>>> 15: /lib/libc.so.6(__libc_start_main+0xf3) [0xb6dbe7a3]
>>>>> 16: akonadiserver() [0x808a501]
>>>>> ]
>>>>> "
>>>>> Following instructions on the MySQL site on how to run this as root I
>>>>> try to shut the server down with "mysqladmin shutdown" but only get the
>>>>> message:
>>>>>
>>>>> "mysqladmin: connect to server at 'localhost' failed
>>>>> error: 'Can't connect to local MySQL server through socket
>>>>> '/var/run/mysql/mysql.sock' (2)'
>>>>> Check that mysqld is running and that the socket:
>>>>> '/var/run/mysql/mysql.sock' exists!"
>>>>>
>>>>> When I look in /var/run/mysql/ there is nothing! In
>>>>> Home/.local/share/akonadi/ there is a file mysql.conf that suggests that 
>>>>> it
>>>>> has its own version but both akonadiserver.socket and mysql.socket are
>>>>> files with 0 bytes.
>>>>> Can anybody help as I am at the limits of my understanding on this.
>>>>> Iain
>>>>>
>>>>> _______________________________________________
>>>>> Peterboro mailing list
>>>>> Peterboro@mailman.lug.org.uk
>>>>> https://mailman.lug.org.uk/mailman/listinfo/peterboro
>>>>>
>>>>
>>>>
>>>> _______________________________________________
>>>> Peterboro mailing list
>>>> Peterboro@mailman.lug.org.uk
>>>> https://mailman.lug.org.uk/mailman/listinfo/peterboro
>>>>
>>>
>>>
>>> _______________________________________________
>>> Peterboro mailing list
>>> Peterboro@mailman.lug.org.uk
>>> https://mailman.lug.org.uk/mailman/listinfo/peterboro
>>>
>>
>>
>
> _______________________________________________
> Peterboro mailing list
> Peterboro@mailman.lug.org.uk
> https://mailman.lug.org.uk/mailman/listinfo/peterboro
>
_______________________________________________
Peterboro mailing list
Peterboro@mailman.lug.org.uk
https://mailman.lug.org.uk/mailman/listinfo/peterboro

Reply via email to