Article ID: 4442, created on Mar 24, 2008, last review on Apr 18, 2012

  • Applies to:
  • Sphera

Symptoms

On the start of ServerDirector the manager launches "quotacheck -fm /partiotion" once and then initialize VDSs. In case of missing critical account properties "manager" will not initialize and restart, running quotacheck again.

Resolution

1. Check /etc/fstab includes "defaults,usrquota" options on the partiotion accounts reside.

2. Enable logs on manager by editing hostdir.xml

    a. Stop ServerDirector

    b. Backup and edit /opt/hostdir/conf/hostdir.xml

    c. Find a node <runner>, goto <start bin="/usr/hostdir/bin/manager" ... .../>, add entry param="-d /tmp/log_file_name"

    d. Start ServerDirector

3. Monitor the log and see why manager fails to initialize.

4. Add missing entries in sddb, use exisiting entries as example:

In case activeservices are missing add with:

insert into activeservice (available_modes,current_mode,enabled,io_read,io_write ,key,maxaccounts,maxprocesses,name,net_read,net_write,nice,port,run_time,watchdog_enabled,watchdog_running,vds_key) VALUES ('inetd','inetd','t','0','0','ftp','0','0','ftp','0','0','very_high','21','0','t','t','vds_name');
insert into activeservice (available_modes,current_mode,enabled,io_read,io_write ,key,maxaccounts,maxprocesses,name,net_read,net_write,nice,port,run_time,watchdog_enabled,watchdog_running,vds_key) VALUES ('standalone','standalone','t','0','0','http','0','0','http','0','0','very_high','80','0','t','t','vds_name');
insert into activeservice (available_modes,current_mode,enabled,io_read,io_write ,key,maxaccounts,maxprocesses,name,net_read,net_write,nice,port,run_time,watchdog_enabled,watchdog_running,vds_key) VALUES ('inetd','inetd','t','0','0','other','0','0','other','0','0','very_high','-1','0','t','t','vds_name');
insert into activeservice (available_modes,current_mode,enabled,io_read,io_write ,key,maxaccounts,maxprocesses,name,net_read,net_write,nice,port,run_time,watchdog_enabled,watchdog_running,vds_key) VALUES ('inetd','inetd','t','0','0','smtp','0','0','smtp','0','0','very_high','25','0','t','t','vds_name');
insert into activeservice (available_modes,current_mode,enabled,io_read,io_write ,key,maxaccounts,maxprocesses,name,net_read,net_write,nice,port,run_time,watchdog_enabled,watchdog_running,vds_key) VALUES ('inetd','inetd','t','0','0','pop','0','0','pop','0','0','very_high','110','0','t','t','vds_name');

 

5f478287f7e74fe9b07217d8131cd741 6311ae17c1ee52b36e68aaf4ad066387

Email subscription for changes to this article
Save as PDF