Sponsor:

Server and Web Integrator
Link:
Kloxo-MR logo
6.5.0 or 7.0.0
Click for "How to install"
Donation/Sponsorship:
Kloxo-MR is open-source.
Donate and or Sponsorship always welcome.
Click to:
Click Here
Please login or register. 2024-04-19, 21:50:00

Author Topic: errors qmail  (Read 7469 times)

0 Members and 1 Guest are viewing this topic.

Offline zmatrix

  • Junior Member
  • *
  • Posts: 49
  • Karma: +0/-0
    • View Profile
errors qmail
« on: 2014-03-21, 17:26:19 »
hello

I face this error every time I run a script like fixweb

exist
svc: warning: unable to control /var/qmail/supervise/send/log: file does not exist
svc: warning: unable to control /var/qmail/supervise/smtp/log: file does not exist
svc: warning: unable to control /var/qmail/supervise/submission/log: supervise not running
.
Starting qmail-toaster: svscan.
Stopping xinetd: id: vpopmail: No such user
id: vpopmail: No such user
id: vpopmail: No such user
id: vpopmail: No such user

Offline Kloxo-DR

  • Senior Member
  • *
  • Posts: 239
  • Karma: +3/-9
    • View Profile
Re: errors qmail
« Reply #1 on: 2014-03-21, 17:43:06 »
Run:

Code: [Select]
cd /
yum clean all
yum remove *-toaster -y
yum install cronie cronie-anacron cronie-noanacron crontabs webalizer yum-cron -y
yum install *-toaster  -y
sh /script/fixmail-all
sh /script/fixdomainkey
sh /script/restart-services

Offline zmatrix

  • Junior Member
  • *
  • Posts: 49
  • Karma: +0/-0
    • View Profile
Re: errors qmail
« Reply #2 on: 2014-03-21, 18:02:09 »
--> Processing Conflict: vpopmail-toaster conflicts vpopmail
--> Finished Dependency Resolution
vpopmail-toaster-5.4.33-1.4.3.mr.el5.i386 from mratwork-release-version-arch has depsolving problems
  --> vpopmail-toaster conflicts with vpopmail
ezmlm-cgi-toaster-0.53.324-1.3.6.i386 from lxcenter-updates has depsolving problems
  --> Missing Dependency: control-panel-toaster >= 0.2 is needed by package ezmlm-cgi-toaster-0.53.324-1.3.6.i386 (lxcenter-updates)
Error: vpopmail-toaster conflicts with vpopmail
Error: Missing Dependency: control-panel-toaster >= 0.2 is needed by package ezmlm-cgi-toaster-0.53.324-1.3.6.i386 (lxcenter-updates)
 You could try using --skip-broken to work around the problem
 You could try running: package-cleanup --problems
                        package-cleanup --dupes
                        rpm -Va --nofiles --nodigest

Offline zmatrix

  • Junior Member
  • *
  • Posts: 49
  • Karma: +0/-0
    • View Profile
Re: errors qmail
« Reply #3 on: 2014-03-21, 18:03:12 »

[root@khdmaty /]# sh /script/fixdomainkey
/bin/sh: tcprules: command not found
make: *** [tcp.cdb] Error 127
/bin/sh: tcprules: command not found
make: *** [tcp.cdb] Error 127
/bin/sh: tcprules: command not found
make: *** [tcp.cdb] Error 127
/bin/sh: tcprules: command not found
make: *** [tcp.cdb] Error 127
/bin/sh: tcprules: command not found
make: *** [tcp.cdb] Error 127
/bin/sh: tcprules: command not found
make: *** [tcp.cdb] Error 127
/bin/sh: tcprules: command not found
make: *** [tcp.cdb] Error 127
/bin/sh: tcprules: command not found
make: *** [tcp.cdb] Error 127
/bin/sh: tcprules: command not found
make: *** [tcp.cdb] Error 127
/bin/sh: tcprules: command not found
make: *** [tcp.cdb] Error 127
/bin/sh: tcprules: command not found
make: *** [tcp.cdb] Error 127
/bin/sh: tcprules: command not found
make: *** [tcp.cdb] Error 127
/bin/sh: tcprules: command not found
make: *** [tcp.cdb] Error 127

Offline zmatrix

  • Junior Member
  • *
  • Posts: 49
  • Karma: +0/-0
    • View Profile
Re: errors qmail
« Reply #4 on: 2014-03-21, 18:04:05 »
# sh /script/restart-services
Stopping Djbdns for:
  - axfrdns    [  OK  ]
  - tinydns    [  OK  ]
Starting Djbdns for:
  - axfrdns    [FAILED]
  - tinydns    [FAILED]
Stopping httpd:                                            [  OK  ]
Starting httpd:                                            [  OK  ]
Stopping nginx:.                                           [  OK  ]
Starting nginx:                                            [  OK  ]
Stopping xinetd:                                           [  OK  ]
Starting xinetd:                                           [  OK  ]
Stopping mysqld:                                           [  OK  ]
Starting mysqld:                                           [  OK  ]
[root@khdmaty /]#

Offline Kloxo-DR

  • Senior Member
  • *
  • Posts: 239
  • Karma: +3/-9
    • View Profile
Re: errors qmail
« Reply #5 on: 2014-03-21, 18:16:54 »
Hi,

[/quote]
Starting Djbdns for:
  - axfrdns    [FAILED]
  - tinydns    [FAILED]

Try to change DNS from djbdns to bind in the kloxo control panel and wait until the process is complete.

Then restart:
service named start

You have two web servers http and nginx running? You must see which one is active in kloxo control panel.

[/quote]
Stopping httpd:                                            [  OK  ]
Starting httpd:                                            [  OK  ]
Stopping nginx:.                                           [  OK  ]
Starting nginx:                                            [  OK  ]

Keep the one you see in there,***service remaining***, and remove the other with yum.

Then do:
chkconfig nginx off

Then restart:
service ***service remaining*** start

Offline zmatrix

  • Junior Member
  • *
  • Posts: 49
  • Karma: +0/-0
    • View Profile
Re: errors qmail
« Reply #6 on: 2014-03-21, 18:20:39 »
thanks for your replay

I use nginx proxy so it appear that http and nginx  is working

Offline zmatrix

  • Junior Member
  • *
  • Posts: 49
  • Karma: +0/-0
    • View Profile
Re: errors qmail
« Reply #7 on: 2014-03-21, 18:26:01 »
when using

yum install *-toaster  -y


I get

--> Finished Dependency Resolution
vpopmail-toaster-5.4.33-1.4.3.mr.el5.i386 from mratwork-release-version-arch has depsolving problems
  --> vpopmail-toaster conflicts with vpopmail
ezmlm-cgi-toaster-0.53.324-1.3.6.i386 from lxcenter-updates has depsolving problems
  --> Missing Dependency: control-panel-toaster >= 0.2 is needed by package ezmlm-cgi-toaster-0.53.324-1.3.6.i386 (lxcenter-updates)
Error: vpopmail-toaster conflicts with vpopmail
Error: Missing Dependency: control-panel-toaster >= 0.2 is needed by package ezmlm-cgi-toaster-0.53.324-1.3.6.i386 (lxcenter-updates)
 You could try using --skip-broken to work around the problem
 You could try running: package-cleanup --problems
                        package-cleanup --dupes
                        rpm -Va --nofiles --nodigest

Offline zmatrix

  • Junior Member
  • *
  • Posts: 49
  • Karma: +0/-0
    • View Profile
Re: errors qmail
« Reply #8 on: 2014-03-21, 18:27:54 »

when using

sh /script/fixmail-all

I get

Preparing Horde database
- Fix MySQL commands in import files of Horde
cp: cannot stat `/home/kloxo/httpd/webmail/horde/scripts/sql/horde_groupware.mysql.sql': No such file or directory
cp: cannot stat `/home/kloxo/httpd/webmail/horde/config/horde_conf.php': No such file or directory
- Generating password
- Add password to configuration file
- Database installed
Initialize Horde files
- Initialize process
Preparing RoundCube database
- Fixing MySQL commands in import files
- Generating password
- Add Password to configuration file
- Database installed
Initialize Roundcube files
- Initialize process
T-Dah webmail no exists
Preparing Afterlogic database
- Fixing MySQL commands in import files
- Generating password
- Add Password to configuration file
- Database installed
Initialize Afterlogic files
- Initialize process
Preparing Squirrelmail Database
- No need database
Initialize Squirrelmail files
- Initialize process
Preparing Telaen Database
- No need database
Initialize Telaen files
- Initialize process
Install Webmail chooser
- Install process

Offline Kloxo-DR

  • Senior Member
  • *
  • Posts: 239
  • Karma: +3/-9
    • View Profile
Re: errors qmail
« Reply #9 on: 2014-03-21, 18:34:58 »
Hi,
[root@khdmaty /]# sh /script/fixdomainkey
/bin/sh: tcprules: command not found
make: *** [tcp.cdb] Error 127

May be you have not yet configured one domain in the system.
If you have, then there is something missing or was uninstalled.
Do:

qmailctl cdb

and see if you can manually generate a cdb file. It will generate if you have the Qmailtoaster fully installed.

Offline zmatrix

  • Junior Member
  • *
  • Posts: 49
  • Karma: +0/-0
    • View Profile
Re: errors qmail
« Reply #10 on: 2014-03-21, 18:39:49 »
thanks again  :)


[root@khdmaty ~]# qmailctl cdb
-bash: qmailctl: command not found
[root@khdmaty ~]#

Offline Kloxo-DR

  • Senior Member
  • *
  • Posts: 239
  • Karma: +3/-9
    • View Profile
Re: errors qmail
« Reply #11 on: 2014-03-21, 19:08:51 »
Hi

If you issue # qmailctl, it will give you help commands. If you do not see it, your qmail is not correctly installed or not there.
[root@khdmaty ~]# qmailctl cdb
-bash: qmailctl: command not found

Well, you do not have your Qmailtoaster installed properly. The best is to remove every thing related to qmail and reinstall it.

Work on this error:

Error: vpopmail-toaster conflicts with vpopmail

and remove all components. Work on this first to get installation working properly. You cannot run a fix script on a software not installed properly.

BTW, the sh /script/fix-all or even sh /script/cleanup DOES NOT PROPERLY REPAIR THE QMAILTOASTER. Thats why your problem remained.

Offline zmatrix

  • Junior Member
  • *
  • Posts: 49
  • Karma: +0/-0
    • View Profile
Re: errors qmail
« Reply #12 on: 2014-03-21, 19:18:17 »
now I used this

/script/cleanup
then

sh /script/fixmail-all; qmailctl stop; killall -9 qmail-send; qmailctl start

and tried again then I got


[root@khdmaty ~]# qmailctl cdb
Reloaded /etc/tcprules.d/tcp.smtp
Reloaded /var/qmail/control/badmimetypes.cdb
Reloaded /var/qmail/control/badloadertypes.cdb





Offline Kloxo-DR

  • Senior Member
  • *
  • Posts: 239
  • Karma: +3/-9
    • View Profile
Re: errors qmail
« Reply #13 on: 2014-03-21, 19:23:20 »
Hi,

Good. So somehow your qmail got repaired and cdb gets built.

Now "#qmailctl stat" will show you if all the services of qmail is working.

Use:
qmailctl stat

If you give qmailctl start, it will restart qmail. Then, svc: warning:  will disappear.

If this remains, reboot.
Then you are finished and it will work...

Offline zmatrix

  • Junior Member
  • *
  • Posts: 49
  • Karma: +0/-0
    • View Profile
Re: errors qmail
« Reply #14 on: 2014-03-21, 19:39:02 »
now it almost working fine

but I have released that my vps Ip is blacklisted from gmail due to the spaming during the hacker was using my vps to spam emails

how to remove my server ip from the gmail blacklist ?

 


Top 10 Social Networking:    Facebook    Twitter    LinkedIn    Pinterest    Google Plus    Tumblr    Instagram    VK    Flickr    Vine

Page created in 0.03 seconds with 18 queries.

web stats analysis