View Single Post
  #6  
Old 5th June 2007, 14:16
xkworld xkworld is offline
Junior Member
 
Join Date: Oct 2006
Posts: 12
Thanks: 1
Thanked 0 Times in 0 Posts
Default all services show offline but mysqld - and they're all on

Ok, all my services are showing offline but mysql. All my services are running, are listening to 127.0.0.1, my /etc/hosts seems to be ok, I've got no interesting messages in /var/log/messages, nothing interesting in /home/admispconfig/ispconfig/ispconfig.log... And this isn't a new install..

I can tell ya what I did before the error started happening, I made an image of the server with systemimager and before I ran systemimager I turned off all non-critical services. Well, at least I didn't think they'd be critical during this backup. After the image was taken I rebooted and that was that.. Everything is fine that I can tell aside from the services not showing up as online except mysqld.

Thanks for your attention!

EDIT -- running a version of the script, /home/admispconfig/ispconfig/lib/plugins/check_services.plugin.php, modified to run a check is returning true.. I'm guessing it's a caching issue possibly?? Things are indeed working, it's just the web page displays Offline..


Code:
[root@main ~]# netstat -tap
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address               Foreign Address             State       PID/Program name
tcp        0      0 *:imaps                     *:*                         LISTEN      1706/dovecot
tcp        0      0 *:pop3s                     *:*                         LISTEN      1706/dovecot
tcp        0      0 *:mgcp-callagent            *:*                         LISTEN      1559/sshd
tcp        0      0 localhost.localdomain:smux  *:*                         LISTEN      1541/snmpd
tcp        0      0 *:mysql                     *:*                         LISTEN      1671/mysqld
tcp        0      0 *:pop3                      *:*                         LISTEN      1706/dovecot
tcp        0      0 *:imap                      *:*                         LISTEN      1706/dovecot
tcp        0      0 *:http                      *:*                         LISTEN      2102/httpd
tcp        0      0 *:hosts2-ns                 *:*                         LISTEN      1915/ispconfig_http
tcp        0      0 main.tacticsoft.net:domain  *:*                         LISTEN      2231/named
tcp        0      0 localhost.localdomai:domain *:*                         LISTEN      2231/named
tcp        0      0 localhost.localdomain:rndc  *:*                         LISTEN      2231/named
tcp        0      0 *:smtp                      *:*                         LISTEN      2174/master
tcp        0      0 *:https                     *:*                         LISTEN      2102/httpd
Code:
[root@main ~]# telnet 127.0.0.1 80
Trying 127.0.0.1...
Connected to localhost.localdomain (127.0.0.1).
Escape character is '^]'.
show me
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>400 Bad Request</title>
</head><body>
<h1>Bad Request</h1>
<p>Your browser sent a request that this server could not understand.<br />
</p>
<hr>
<address>Apache/2.2.0 (Fedora) Server at main.tacticsoft.net Port 80</address>
</body></html>
Connection closed by foreign host.
Code:
[root@main ~]# cat /etc/hosts
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1               localhost.localdomain localhost
82.103.140.19           main.tacticsoft.net tacticsoft.net tacticsoft main
Code:
05.06.2007 - 11:22:23 => INFO - /root/ispconfig/scripts/lib/classes/ispconfig_system.lib.php, Line 728: /etc/rc.d/init.d/bastille-firewall restart &> /dev/null
05.06.2007 - 11:22:26 => INFO - /root/ispconfig/scripts/lib/classes/ispconfig_system.lib.php, Line 728: /etc/rc.d/init.d/httpd restart &> /dev/null
05.06.2007 - 11:22:26 => WARN - /root/ispconfig/scripts/lib/classes/ispconfig_system.lib.php, Line 728: WARNING: could not /etc/rc.d/init.d/postfix stop &> /dev/null
05.06.2007 - 11:22:26 => INFO - /root/ispconfig/scripts/lib/classes/ispconfig_system.lib.php, Line 728: /etc/rc.d/init.d/postfix start &> /dev/null
05.06.2007 - 11:22:29 => INFO - /root/ispconfig/scripts/lib/classes/ispconfig_system.lib.php, Line 728: /etc/rc.d/init.d/named restart &> /dev/null
05.06.2007 - 11:22:29 => INFO - /root/ispconfig/scripts/lib/classes/ispconfig_system.lib.php, Line 728: /etc/rc.d/init.d/proftpd stop &> /dev/null

Last edited by xkworld; 5th June 2007 at 18:30.
Reply With Quote