Koozali.org: home of the SME Server

HELP! i think i killed my server

Offline MasthaX

  • ***
  • 52
  • +0/-0
HELP! i think i killed my server
« on: August 24, 2007, 07:53:22 PM »
Well, i think i killed my server. I was trying to make htaccess work but when i wanted to expand some templates i got an error concerning a error in phpsysinfo. Ok fine, so i did:

Code: [Select]
yum remove smeserver-phpsysinfo

It showed no errors and so. So i wanted to check if it worked and suddenly my server isnt reacheable anymore(by http). SSH and SAMBA are still working so i think i messed up my apache.

how can i solve this?
p.s. if someone needs logs or any i will post them, i dont know what logs i should post right now.
There's no place like 127.0.0.1

Offline byte

  • *
  • 2,183
  • +2/-0
Re: HELP! i think i killed my server
« Reply #1 on: August 24, 2007, 07:56:31 PM »
What do you get in your /var/log/httpd/admin_error or error logs ?
--[byte]--

Have you filled in a Bug Report over @ http://bugs.contribs.org ? Please don't wait to be told this way you help us to help you/others - Thanks!

Offline MasthaX

  • ***
  • 52
  • +0/-0
Re: HELP! i think i killed my server
« Reply #2 on: August 24, 2007, 08:05:35 PM »
nothing special to mee. those are just webmail requests i guess

asked for missing languages nl, referer: https://10.0.0.60/server-manager/cgi-bin/qmailanalog
[Fri Aug 24 17:29:30 2007] [error] [client 127.0.0.1] get_languages: Browser asked for missing languages nl, referer: https://10.0.0.60/server-manager/cgi-bin/qmailanalog
[Fri Aug 24 17:29:30 2007] [error] [client 127.0.0.1] get_languages: Browser asked for missing languages nl, referer: https://10.0.0.60/server-manager/cgi-bin/qmailanalog
[Fri Aug 24 17:29:30 2007] [error] [client 127.0.0.1] get_languages: Browser asked for missing languages nl, referer: https://10.0.0.60/server-manager/cgi-bin/qmailanalog
[Fri Aug 24 17:29:39 2007] [error] [client 127.0.0.1] get_languages: Browser asked for missing languages nl, referer: https://10.0.0.60/server-manager/navigation
[Fri Aug 24 17:29:39 2007] [error] [client 127.0.0.1] get_languages: Browser asked for missing languages nl, referer: https://10.0.0.60/server-manager/navigation
[Fri Aug 24 17:29:39 2007] [error] [client 127.0.0.1] get_languages: Browser asked for missing languages nl, referer: https://10.0.0.60/server-manager/navigation
[Fri Aug 24 17:29:39 2007] [error] [client 127.0.0.1] get_languages: Browser asked for missing languages nl, referer: https://10.0.0.60/server-manager/navigation
[Fri Aug 24 17:29:39 2007] [error] [client 127.0.0.1] get_languages: Browser asked for missing languages nl, referer: https://10.0.0.60/server-manager/navigation
[Fri Aug 24 19:47:06 2007] [warn] Init: Session Cache is not configured [hint: SSLSessionCache]
[Fri Aug 24 19:47:07 2007] [notice] Digest: generating secret for digest authentication ...
[Fri Aug 24 19:47:07 2007] [notice] Digest: done
[Fri Aug 24 19:47:07 2007] [notice] Apache configured -- resuming normal operations
There's no place like 127.0.0.1

Offline byte

  • *
  • 2,183
  • +2/-0
Re: HELP! i think i killed my server
« Reply #3 on: August 24, 2007, 08:11:09 PM »
And what does...

sv status /service/httpd-e-smith

Show ?
--[byte]--

Have you filled in a Bug Report over @ http://bugs.contribs.org ? Please don't wait to be told this way you help us to help you/others - Thanks!

Offline byte

  • *
  • 2,183
  • +2/-0
Re: HELP! i think i killed my server
« Reply #4 on: August 24, 2007, 10:37:20 PM »
On another note did you notice that yum was going to remove any other packages when you ran...

yum remove smeserver-phpsysinfo

??
--[byte]--

Have you filled in a Bug Report over @ http://bugs.contribs.org ? Please don't wait to be told this way you help us to help you/others - Thanks!

Offline MasthaX

  • ***
  • 52
  • +0/-0
Re: HELP! i think i killed my server
« Reply #5 on: August 24, 2007, 10:49:21 PM »
i checked yum and it said it was ready to remove one package then got a confirm (Y or N) so i did, after that my server was down

[root@s1 ~]# sv status /service/httpd-e-smith
down: /service/httpd-e-smith: 1s, want up

this is what the status command said.

i tried to restart the httpd server and even rebooted my whole server but that didnt work.
There's no place like 127.0.0.1

Offline byte

  • *
  • 2,183
  • +2/-0
Re: HELP! i think i killed my server
« Reply #6 on: August 24, 2007, 11:08:13 PM »
i checked yum and it said it was ready to remove one package then got a confirm (Y or N) so i did, after that my server was down

Hmm.

Quote
[root@s1 ~]# sv status /service/httpd-e-smith
down: /service/httpd-e-smith: 1s, want up

this is what the status command said.

i tried to restart the httpd server and even rebooted my whole server but that didnt work.

How did you try to start the httpd-e-smith ? What did it say when you tried to restart ? I'm in two minds if we should start a bug report....
--[byte]--

Have you filled in a Bug Report over @ http://bugs.contribs.org ? Please don't wait to be told this way you help us to help you/others - Thanks!

Offline MasthaX

  • ***
  • 52
  • +0/-0
Re: HELP! i think i killed my server
« Reply #7 on: August 24, 2007, 11:31:20 PM »
i did:

/etc/init.d/httpd-e-smith restart
There's no place like 127.0.0.1

Offline byte

  • *
  • 2,183
  • +2/-0
Re: HELP! i think i killed my server
« Reply #8 on: August 24, 2007, 11:43:36 PM »
/etc/init.d/httpd-e-smith restart

For SME Server that is incorrect, please try...

sv restart /service/httpd-e-smith

That should start the service...
--[byte]--

Have you filled in a Bug Report over @ http://bugs.contribs.org ? Please don't wait to be told this way you help us to help you/others - Thanks!

Offline MasthaX

  • ***
  • 52
  • +0/-0
Re: HELP! i think i killed my server
« Reply #9 on: August 24, 2007, 11:47:03 PM »
[root@s1 ~]# sv restart /service/httpd-e-smith
ok: run: /service/httpd-e-smith: (pid 17726) 0s, normally down


well it still doesnt work, im quite a noob so i dont know what to do.

Is there a way to just reinstall the apache server? if not, i have full backups so.
« Last Edit: August 24, 2007, 11:50:51 PM by MasthaX »
There's no place like 127.0.0.1

Offline byte

  • *
  • 2,183
  • +2/-0
Re: HELP! i think i killed my server
« Reply #10 on: August 24, 2007, 11:56:31 PM »
[root@s1 ~]# sv restart /service/httpd-e-smith
ok: run: /service/httpd-e-smith: (pid 17726) 0s, normally down

OK, thats restarted fine, use the same checking commands i.e

sv status /service/httpd-admin


Show results first ?

Then type...

sv restart /service/httpd-e-smith
--[byte]--

Have you filled in a Bug Report over @ http://bugs.contribs.org ? Please don't wait to be told this way you help us to help you/others - Thanks!

Offline MasthaX

  • ***
  • 52
  • +0/-0
Re: HELP! i think i killed my server
« Reply #11 on: August 25, 2007, 12:03:11 AM »

[root@s1 ~]# sv status /service/httpd-admin
run: /service/httpd-admin: (pid 3972) 15310s, normally down; run: log: (pid 2955) 15324s
[root@s1 ~]# sv restart /service/httpd-e-smith
ok: run: /service/httpd-e-smith: (pid 18779) 0s, normally down
[root@s1 ~]#


still its down, but the server is running fine i guess.
There's no place like 127.0.0.1

Offline byte

  • *
  • 2,183
  • +2/-0
Re: HELP! i think i killed my server
« Reply #12 on: August 25, 2007, 12:09:58 AM »
[root@s1 ~]# sv status /service/httpd-admin
run: /service/httpd-admin: (pid 3972) 15310s, normally down; run: log: (pid 2955) 15324s
[root@s1 ~]# sv restart /service/httpd-e-smith
ok: run: /service/httpd-e-smith: (pid 18779) 0s, normally down
[root@s1 ~]#


still its down, but the server is running fine i guess.

I actually meant to put...

sv restart /service/httpd-admin

But the httpd-admin service was already up, ok from here would you mind taking all the notes and open a bug ticket telling all what we have done here already and attaching your logs to the bug....Thanks.
--[byte]--

Have you filled in a Bug Report over @ http://bugs.contribs.org ? Please don't wait to be told this way you help us to help you/others - Thanks!

Offline byte

  • *
  • 2,183
  • +2/-0
Re: HELP! i think i killed my server
« Reply #13 on: August 25, 2007, 12:21:10 AM »
Code: [Select]
yum remove smeserver-phpsysinfo

MasthaX, do open a bug, I've just tested on my test box downloading that package and removing via yum and nothing affects the server-manager/apache, so my guess is you have changed/removed something else too.
--[byte]--

Have you filled in a Bug Report over @ http://bugs.contribs.org ? Please don't wait to be told this way you help us to help you/others - Thanks!

Offline MasthaX

  • ***
  • 52
  • +0/-0
Re: HELP! i think i killed my server
« Reply #14 on: August 25, 2007, 12:46:29 AM »
Well i did some other stuff but cant remember exactly what. All i did is some soluton on this forum to activate HTACCESS then there was a problem with PHPsysinfo, i removed it and now we're here.

well i dont think i need to fill in a bug report. i think i just messed it all up myself. a reinstall will do i guess.
« Last Edit: August 25, 2007, 02:10:44 AM by MasthaX »
There's no place like 127.0.0.1