Koozali.org: home of the SME Server

missing auth section

Offline larieu

  • ****
  • 214
  • +0/-0
missing auth section
« on: February 22, 2010, 09:39:23 AM »
after failure to install ejabber
and uninstall
signal event - postupdate
and reboot
I lost my ethernet connection
entering on console I can see network is down
and in admin "console" command work but is not possible to make the "server- setup"

start manualy tha network
this seems to work
but lots of services are down
I've started httpd httpd-e-smith and httpd-admin
and webpages start to work
started imaps and users can see mails
I don't figure out how to start the service for sending mails
if everybody's life around you is better, probably yours will be better
just try to improve their life

Offline janet

  • ****
  • 4,812
  • +0/-0
Re: missing auth section
« Reply #1 on: February 22, 2010, 11:30:47 AM »
larieu

signal-event post-upgrade
reboot
Please search before asking, an answer may already exist.
The Search & other links to useful information are at top of Forum.

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Re: missing auth section
« Reply #2 on: February 22, 2010, 02:07:41 PM »
after failure to install ejabber

Off-topic for this forum, which concerns only software installed from the SME Server CDROM.

Offline larieu

  • ****
  • 214
  • +0/-0
Re: missing auth section
« Reply #3 on: February 23, 2010, 08:51:18 AM »
mary

yes

it was my first "reaction"
3 times the same result
after signal-event reboot
the server restart seems to boot correct until

Code: [Select]
Starting nagios:  usermod: user nagios does not exist
/bin/chown: 'nagios.www': invalid user
/etc/rc7.d/S86nagios: line 7: /etc/rc.d/init.d/nagios: No such file or directory
                                                                           [FAILED]

appear

after that everithing seems to be ok

but after everithing is "up"
no network at all
if I issue
Code: [Select]
ifconfig
nothing will appear

on db configuration show network I receive
Code: [Select]
network=service
      status=enabled

but until I issue
service network start
I don't have network at all
after my manual command I have IP and route
but for name resolution I must start also this manual
after that also the HTTP- services
and so on with
mail, e-smith, clamav, spamd,  ....

I've looked around in manual, wiki, and forum and I don't found any list of what are the standard services and order of their start

if someone has that it will be great to compare mine

if no list available please guide me
I have also a test one (one SME7.4 and one SME8)  which is functional and I can compare step by step

thanks
if everybody's life around you is better, probably yours will be better
just try to improve their life

Offline cactus

  • *
  • 4,880
  • +3/-0
    • http://www.snetram.nl
Re: missing auth section
« Reply #4 on: February 23, 2010, 07:38:52 PM »
after failure to install ejabber
and uninstall
signal event - postupdate
and reboot
I lost my ethernet connection
entering on console I can see network is down
and in admin "console" command work but is not possible to make the "server- setup"

start manualy tha network
this seems to work
but lots of services are down
I've started httpd httpd-e-smith and httpd-admin
and webpages start to work
started imaps and users can see mails
I don't figure out how to start the service for sending mails
And how did you do all this? I am wondering which commands you used and suspect you executed some commands you should not execute on SME Server, normally SME Server does not shutdown services like it seems to have done in your case.
Be careful whose advice you buy, but be patient with those who supply it. Advice is a form of nostalgia, dispensing it is a way of fishing the past from the disposal, wiping it off, painting over the ugly parts and recycling it for more than its worth ~ Baz Luhrmann - Everybody's Free (To Wear Sunscreen)

Offline larieu

  • ****
  • 214
  • +0/-0
Re: missing auth section
« Reply #5 on: February 24, 2010, 08:09:19 AM »
cactus

I agree that most probably I've done something wrong

In this moment if I reboot the server with signal-event post-upgrade / signal-event reboot
I have a lot of services "stopped"
here included network httpd httpd-e-smith httpd-admin....

to start them I must go to server console (actually is on pop and I need to connect one IP KVM console direct on server and access it by that method)

before and after I manually start everything  I look at the status of that services and in both cases there are the same in chkconfig

actually my chkconfig --list  look like this

Code: [Select]
ldap            0:off 1:off 2:off 3:off 4:off 5:off 6:off
mdmpd          0:off 1:off 2:off 3:off 4:off 5:off 6:off
microcode_ctl  0:off 1:off 2:on 3:on 4:on 5:on 6:off
winbind        0:off 1:off 2:off 3:off 4:off 5:off 6:off
dc_server      0:off 1:off 2:off 3:off 4:off 5:off 6:off
ulogd          0:off 1:off 2:off 3:off 4:off 5:off 6:off
snmpd          0:off 1:off 2:off 3:off 4:off 5:off 6:off
irqbalance      0:off 1:off 2:off 3:on 4:on 5:on 6:off
pcmcia          0:off 1:off 2:on 3:on 4:on 5:on 6:off
dovecot        0:off 1:off 2:off 3:off 4:off 5:off 6:off
sysstat        0:off 1:on 2:on 3:on 4:on 5:on 6:off
saslauthd      0:off 1:off 2:off 3:off 4:off 5:off 6:off
pptpd          0:off 1:off 2:off 3:off 4:off 5:off 6:off
anacron        0:off 1:off 2:on 3:on 4:on 5:on 6:off
acpid          0:off 1:off 2:off 3:on 4:on 5:on 6:off
kudzu          0:off 1:off 2:off 3:on 4:on 5:on 6:off
teamspeak      0:off 1:off 2:off 3:off 4:off 5:off 6:off
messagebus      0:off 1:off 2:off 3:on 4:on 5:on 6:off
mysqld          0:off 1:off 2:off 3:off 4:off 5:off 6:off
atd            0:off 1:off 2:off 3:on 4:on 5:on 6:off
atalk          0:off 1:off 2:off 3:on 4:on 5:on 6:off
cpuspeed        0:off 1:on 2:on 3:on 4:on 5:on 6:off
psacct          0:off 1:off 2:off 3:off 4:off 5:off 6:off
netfs          0:off 1:off 2:off 3:on 4:on 5:on 6:off
readahead      0:off 1:off 2:off 3:off 4:off 5:on 6:off
readahead_early 0:off 1:off 2:off 3:off 4:off 5:on 6:off
proftpd        0:off 1:off 2:off 3:off 4:off 5:off 6:off
lpd            0:off 1:off 2:on 3:on 4:on 5:on 6:off
gpm            0:off 1:off 2:on 3:on 4:on 5:on 6:off
mailman        0:off 1:off 2:off 3:off 4:off 5:off 6:off
radiusd        0:off 1:off 2:off 3:off 4:off 5:off 6:off
netplugd        0:off 1:off 2:off 3:off 4:off 5:off 6:off
yum            0:off 1:off 2:off 3:off 4:off 5:off 6:off
dc_client      0:off 1:off 2:off 3:off 4:off 5:off 6:off
dhcpd          0:off 1:off 2:off 3:off 4:off 5:off 6:off
auditd          0:off 1:off 2:off 3:off 4:off 5:off 6:off
smolt          0:off 1:off 2:off 3:off 4:off 5:off 6:off
mdmonitor      0:off 1:off 2:on 3:on 4:on 5:on 6:off
smb            0:off 1:off 2:off 3:off 4:off 5:off 6:off
ups            0:off 1:off 2:off 3:off 4:off 5:off 6:off
clamd          0:off 1:off 2:on 3:on 4:on 5:on 6:off
isdn            0:off 1:off 2:on 3:on 4:on 5:on 6:off
crond          0:off 1:off 2:on 3:on 4:on 5:on 6:off
syslog          0:off 1:off 2:on 3:on 4:on 5:on 6:off
iptables        0:off 1:off 2:on 3:on 4:on 5:on 6:off
httpd          0:off 1:off 2:off 3:off 4:off 5:off 6:off
squid          0:off 1:off 2:off 3:off 4:off 5:off 6:off
ntpd            0:off 1:off 2:off 3:off 4:off 5:off 6:off
smartd          0:off 1:off 2:on 3:on 4:on 5:on 6:off
spamassassin    0:off 1:off 2:off 3:off 4:off 5:off 6:off
network        0:off 1:off 2:on 3:on 4:on 5:on 6:off
identd          0:off 1:off 2:off 3:on 4:on 5:on 6:off
xinetd          0:off 1:off 2:off 3:on 4:on 5:on 6:off
capi            0:off 1:off 2:off 3:off 4:off 5:off 6:off
rawdevices      0:off 1:off 2:off 3:on 4:on 5:on 6:off
lm_sensors      0:off 1:off 2:on 3:on 4:on 5:on 6:off
rdisc          0:off 1:off 2:off 3:off 4:off 5:off 6:off
dhcrelay        0:off 1:off 2:off 3:off 4:off 5:off 6:off
apmd            0:off 1:off 2:on 3:on 4:on 5:on 6:off
sshd            0:off 1:off 2:on 3:on 4:on 5:on 6:off
lvm2-monitor    0:off 1:on 2:on 3:on 4:on 5:on 6:off
snmptrapd      0:off 1:off 2:off 3:off 4:off 5:off 6:off
xfs            0:off 1:off 2:on 3:on 4:on 5:on 6:off
haldaemon      0:off 1:off 2:off 3:on 4:on 5:on 6:off
xinetd based services:
echo-udp: off
time-udp: off
chargen: off
time: off
smtp: off
xproftpd: off
rsync: off
echo: off
daytime-udp: off
daytime: off
chargen-udp: off


and I don't want to manually change this
I don't find any method to do it by signal-event or any template (sme server way)

I think any guideline to this will help me

also I notified that lots of contribs or how to's on wiki don't have "uninstall" method or the method provided don't erase everithing (I found for example left databases after uninstallation )

but this probably is better to start another topic in contrib section for this
if everybody's life around you is better, probably yours will be better
just try to improve their life

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Re: missing auth section
« Reply #6 on: February 24, 2010, 02:19:12 PM »
actually my chkconfig --list  look like this

chkconfig has no relevance for SME server - as you can see, it says nothing about runlevel 7, which is what SME server users.

Please show the output of:

rpm -V e-smith-base

Offline larieu

  • ****
  • 214
  • +0/-0
Re: missing auth section
« Reply #7 on: February 24, 2010, 03:36:20 PM »
this is as follws follows:

Code: [Select]
S.5....T    /etc/rc.d/init.d/e-smith-service
S.5....T  c /home/e-smith/db/accounts
S.5....T  c /home/e-smith/db/configuration
S.5....T  c /home/e-smith/db/domains
S.5....T  c /home/e-smith/db/hosts
S.5....T  c /home/e-smith/db/networks

what is strange my /etc/rc.d/init.d/e-smith-service is empty
 :(

compared with a test sme8 where I have some configs

the rest of the databases are OK
if everybody's life around you is better, probably yours will be better
just try to improve their life

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Re: missing auth section
« Reply #8 on: February 24, 2010, 04:13:14 PM »
what is strange my /etc/rc.d/init.d/e-smith-service is empty
 :(

That would explain your problems.

I suggest that you mount your SME server CD, locate the e-smith-base rpm, then do:

rpm -Uhv --force /path/to/e-smith-base-*rpm

You should also think back to your various modifications and work out when you edited that file and broke it, and what other damage you may have done to your system at the same time. Either that, or you have file system corruption, which is possible, but I think less likely.


Offline larieu

  • ****
  • 214
  • +0/-0
Re: missing auth section
« Reply #9 on: February 25, 2010, 06:39:35 AM »
Thanks CharlieBrady

it worked as charm

now it seems that everything is working back normal

the strange thing bout this story is that I don't remember to play with that file
I've played around openfire and ejabbered
I tried to look in history and nothing strike me to be wrong
if everybody's life around you is better, probably yours will be better
just try to improve their life