What command could I use to see all the currently running services on my Windows (vista) computer?
I'm trying to start my MySQL server, but it won't start. I think I know what the problem is though I'm not sure. I think that the service name "MySQL" is already running...and I need to remove it or something.
Btw...my apache and php is fine. Though...I cannot use my MySQL from php obviously...since it's not running.
I'm having issues after changing my system time and rebooting for whatever reason it didn't take effect but now my VMWare servers wont boot. I get this error when trying to run a vmware-cmd
[root@plexus ~]# /usr/bin/vmware-cmd -l /usr/bin/vmware-cmd: Could not connect to vmware-authd (VMControl error -14: Unexpected response from vmware-authd: 511 Error connecting to /usr/sbin/vmware-serverd process.) [root@plexus ~]#
also when i try logging into the web interface same error.
I've got a small box running as a fileserver with CentOS 5. Sometimes life is a little easier using a GUI for jobs rather than SSH.
As this is not accessible externally, I've got it to autologin to a non-privilaged user, and as part of that logon a VNC session is opened using the inbuilt remote desktop tool.
This was working perfectly, until I realised if I cold boot the server without a monitor attached, X11 wont start at all unless I attach a monitor to it.
I know I can start a VNC session from using vncserver, but this way allows me to logon to the server as if I was sat infront of it, rather than running an extra session.
Presumabley I can add something into /etc/X11/xorg.conf so X11 will start without a monitor hooked up?
A part of my sshd_config: Port 2255 Protocol 2 ListenAddress 8x.xx.xx.46 PermitRootLogin no
Recently, when I want to connect to my server using putty, I get "Connection Refused" using the above IP address and port. When I enter the above IP address (or any other IP address that is stored/set on the server) and port 22, I get "Server refused to start shell/command".
It did work before, using 8x.xx.xx.46:2255 and when I enter 8x.xx.xx.46:22 it will block. But now... not anymore.
I am using "Direct Admin" to do a "System Backup". I do see the right port and IP address in the sshd_config file.
How can I fix this? I can not login the server anymore, however I am going to the datacenter tomorrow.
OS: CentOS Installed firewall / protection: APF + BFD Control Panel: Direct Admin
Invalid command 'AuthDigestProvider', perhaps misspelled or defined by a module not included in the server configuration..No port is using port 80 or 8080.
tdot:/# /etc/init.d/mysql start Starting MySQL database server: mysqld.
. . . . ...failed or took more than 6s. Please take a look at the syslog. /usr/bin/mysqladmin: connect to server at 'localhost' failed error: 'Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)' Check that mysqld is running and that the socket: '/var/run/mysqld/mysqld.sock' exists! tdot:/#
/usr/bin/mysqladmin: connect to server at 'localhost' failed error: 'Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)' Check that mysqld is running and that the socket: '/var/lib/mysql/mysql.sock' exists! mysql has failed, please contact the sysadmin (result was "Warning, no valid mysql.sock file found.mysql has failed").
have googled this to death. solutions are not working.
so far have tried the whole linking mysql.sock to the file in /tmp, changing mysql root password, rebooting, adding socket parameters in my.cnf. nothing works!
Stopping web server: Apache2. www:/# /var/wkscript/tools/panel_manager start LayeredPanel related software starting.Starting system log daemon: syslogd. Starting periodic command scheduler: cron. Starting mail transport agent: Postfix. Starting MySQL database server: mysqld. . . . . . . . . . . . . . ...failed or took more than 6s. Please take a look at the syslog. /usr/bin/mysqladmin: connect to server at 'localhost' failed error: 'Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)' Check that mysqld is running and that the socket: '/var/run/mysqld/mysqld.sock' exists! Starting domain name service: named. Starting ftp server: Running: /usr/sbin/pure-ftpd-mysql -l mysql:/etc/pure-ftpd/db/mysql.conf -l pam -E -O clf:/var/log/pure-ftpd/transfer.log -S 75.126.177.244,21 -u 1000 -B Starting web server: Apache2. Starting web server: Apache2.
If you visit the site, the main page gives this error: Fatal error: Failed to connect to the DB server in /var/wkscript/db.php on line 28
I have a cheap managed server and support is of little help BUT they will do what I tell them, where should I tell them to start to fix high mysql load?
The server currently has a large IPB forum, a large 4images gallery, and a couple popular Wordpress blogs, and this combo keeps taking mysql down.
What can I do server side to help this? And what shouldn't I do?
I just installed mySQL server on a brand new dedicated server and am getting Timeout error occurred trying to start MySQL Daemon. I have uninstalled and reinstalled it a few times and am still getting the same error.
Can anyone recommend a Apached and MYSQL optimization expert? I just some optimization done on mysql and apache upgraded... but pache wouldn't restart with the following entries:
if i remove above then it starts... but my CPU spikes and I am getting a ton of errors emailed to me:
Invalid SQL: SELECT COUNT(DISTINCT(userid)) AS count FROM vb_session WHERE vb_session.userid>0 AND vb_session.lastactivity>1245294346;
MySQL Error : Out of memory (Needed 8388580 bytes) Error Number : 5 Request Date : Wednesday, June 17th 2009 @ 09:39:06 PM Error Date : Wednesday, June 17th 2009 @ 09:39:06 PM
Its constantly complaining about this same query and i thought i removed all of the vbulletin options...
i am pulling my hair out... cuz my server isn't swapping, ther are 0ver 8GBs in cache.... but my CPU goes up
Here is original problem thread...
[url]
2nd post has recommended config... and my subsequent probs
I am getting the error (as listed in the title) on my server. This is a BRAND NEW FRESH install on a brand new server...
OS: Unix Fedora Kernel Version: Kernel 2.6.18-1/2798.fc6 on an i686 Hardware Information: Brand new Dell SC1435 Server Software Version: MySQl 5 Control Panel: Nothing yet
Apache starts ok but when I go to strart MySQL I get the following error...
[root@server112]# /etc/rc.d/init.d/mysqld start Timeout error occurred trying to start MySQL Daemon Starting MySQL: [FAILED]
Does anyone have any ideas? I did some pretty extensive searching... Web Hosting Talk article that basically describes the same error. I followed everything as listed in his suggestion and it didn't change anything.
I have one bare server and installed everything myself. however, I found apache, mysqld can not automatically start after reboot, may I know how to enable them to automatically start after reboot?
Is there any safe way to grant command line permissions to a user/specific account? One that only allows them access to databases on their account.
The problem is that this user intermittently runs queries that cause their database to hang (including PHPMyAdmin, so they can't view the processlist through there), and I have to manually kill that process, because they can't.
Server is 2.4.21 with MySQL 4.0.27, admin is cPanel WHM.
when I try to go to a site of mine with the www like this one [url] It won't work but if I take out the www like this[url]it does work.
I'm not sure what could be causing this. As far as I'm aware everything is setup okay. I understand it's impossible for anyone who reads this to properly diagnose the issue without access to my server.
I've got the latest grsec stable, but i'm having a problem with getting ip_conntrack working.
I did the following with make menuconfig after copying my default kernels config file...
Networking -> Networking support -> Networking options -> Network packet filtering framework (Netfilter) -> Core Netfilter -> Configuration -> Netfilter Xtables support (required for ip_tables) -> "conntrack" connection tracking match support.
After a compile and reboot:
error: "net.ipv4.netfilter.ip_conntrack_generic_timeout" is an unknown key error: "net.ipv4.netfilter.ip_conntrack_icmp_timeout" is an unknown key error: "net.ipv4.netfilter.ip_conntrack_tcp_timeout_close" is an unknown key error: "net.ipv4.netfilter.ip_conntrack_tcp_timeout_time_wait" is an unknown key error: "net.ipv4.netfilter.ip_conntrack_tcp_timeout_last_ack" is an unknown key error: "net.ipv4.netfilter.ip_conntrack_tcp_timeout_close_wait" is an unknown key error: "net.ipv4.netfilter.ip_conntrack_tcp_timeout_fin_wait" is an unknown key error: "net.ipv4.netfilter.ip_conntrack_tcp_timeout_established" is an unknown key error: "net.ipv4.netfilter.ip_conntrack_tcp_timeout_syn_recv" is an unknown key error: "net.ipv4.netfilter.ip_conntrack_tcp_timeout_syn_sent" is an unknown key error: "net.ipv4.netfilter.ip_conntrack_udp_timeout" is an unknown key error: "net.ipv4.netfilter.ip_conntrack_udp_timeout_stream" is an unknown key error: "net.ipv4.netfilter.ip_conntrack_max" is an unknown key error: "net.ipv4.ip_conntrack_max" is an unknown key
I did a ls on /lib/modules/2.6.27.10-grsec/kernel/net/ipv4/netfilter and dont see the modules that i see in the default kernels...
I keep trying to restart Apache but it wont restart... I run a command line to restart it, but nothing happens. Here is what I have tried:
Quote:
-bash-3.1# chroot /home/fatehost.net/runtime_layeredpanel/ fatehost:/# /etc/ bash: /etc/: is a directory fatehost:/# /etc/init.d bash: /etc/init.d: is a directory fatehost:/# /etc/init.d/httpd-users Usage: /etc/init.d/apache2 start|stop|restart|reload|force-reload fatehost:/# /etc/init.d/httpd-users start Starting web server: Apache2(98)Address already in use: make_sock: could not bind to address 205.209.135.132:80 no listening sockets available, shutting down Unable to open logs fatehost:/# /etc/init.d/httpd-users restart Forcing reload of web server: Apache2httpd (pid 5955) already running . fatehost:/# /etc/init.d/httpd-users force-reload Forcing reload of web server: Apache2. fatehost:/# /etc/init.d/httpd force-reload Forcing reload of web server: Apache2. fatehost:/# /etc/init.d/httpd-users restart Forcing reload of web server: Apache2httpd (pid 13475) already running . fatehost:/# fatehost:/# /etc/init.d/httpd-users start Starting web server: Apache2(98)Address already in use: make_sock: could not bind to address 205.209.135.132:80 no listening sockets available, shutting down Unable to open logs fatehost:/# /etc/init.d/httpd-users stop Stopping web server: Apache2. fatehost:/# fatehost:/# /etc/init.d/httpd-users start Starting web server: Apache2(98)Address already in use: make_sock: could not bind to address 205.209.135.132:80 no listening sockets available, shutting down Unable to open logs fatehost:/# fatehost:/# sudo /etc/init.d/httpd-users stop bash: sudo: command not found fatehost:/# su root /etc/init.d/httpd-users restart Forcing reload of web server: Apache2httpd (pid 20391) already running . fatehost:/# /etc/init.d/httpd-users reboot Usage: /etc/init.d/apache2 start|stop|restart|reload|force-reload fatehost:/# reboot WARNING: could not determine runlevel - doing soft reboot (it's better to use shutdown instead of reboot from the command line) shutdown: timeout opening/writing control channel /dev/initctl init: timeout opening/writing control channel /dev/initctl fatehost:/# WARNING: could not determine runlevel - doing soft reboot bash: WARNING:: command not found fatehost:/# (it's better to use shutdown instead of reboot from the command line) > shutdown: timeout opening/writing control channel /dev/initctl > init: timeout opening/writing control channel /dev/initctl > fatehost:/# /home/fatehost.net/runtime_layeredpanel bash: /home/fatehost.net/runtime_layeredpanel: No such file or directory fatehost:/#
I'm running Plesk 8.4.0 and for whatever reason apparently IonCube didn't come pre installed or wasn't working so I tried installing it which is just getting the .so files and adding it to the php.ini that didn't work so I tried Zend the installer said it was complete but again no go. So I have this for an error