Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I am isntalling a qmail in my computer. But I have faced some strange problems.
Installation was good and did it according to "livingwithqmail.org"--> good website. But even after following every steps, still the solution evades me. My problem when using
1) # qmailctl stat shows that:
/service/qmail-send: up (pid 3752) 1 seconds
/service/qmail-send/log: up (pid 3662) 356 seconds
/service/qmail-smtpd: up (pid 3663) 356 seconds
/service/qmail-smtpd/log: up (pid 3664) 357 seconds
messages in queue: 0
2) so i did used
./inst_check
but it said myLRQ isntallation ok...etc..
3) when manually started qmail-send's run script gave "env: PATH: No such file or directory"
wait.../rc: line 3: exec: env -PATH=: not found was err messge for above
then gave "space in btwn - and PATH which resulted in mssg:
env: /var/qmail/bin : /usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/home/lican:
No such file or directory
=============
by the way, my home directory is lica only, but how come it was lican..does this
has anything to do with my problem??
hope u guys out there will help me..bye
I'm no expert in this area, but something still seems wrong...
env: /var/qmail/bin : /usr/local/bin:/usr
You've still got those ugly spaces in there. Maybe you need to logout and log back in and run it again to refresh your environment? (Don't know if that's really necessary or not.. I'm just playing a hunch)
>> but i dont have a bin directory
You mean your /bin doesn't exist? If so, you can remove that from your path which is under ~/.bash_profile
thnxs for replies..but
"env: /var/qmail/bin : /usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/home/heena/bin"
is the message I rcvd
when I typed the ./rc FOR TESTING. Moreover there is now no more space in
exec env - PATH="/var/qmail/bin:$PATH" \ of rc script. I think there is
someother problem. foR EG: THE mssg (see above lines) shows
"../home/heena/bin" --> my home directory, but I dont have bin directory in my
home directory. Is this the problem? IF may be, what steps shud i take to correct
this? thnxs
Of course your third line looks different from mine, but it's still OK. The line I'm concerned about is #2 with the PATH info. I suggest copying and pasting mine into yours and try again.
If you want to convince me that your /var/qmail/rc file is correct, run the command and paste the output...
cat /var/qmail/rc
I also suggest running the ps command you are showing in your first post and see if it looks any better. I suspect it is showing the same thing. Try restarting qmail also and see if this ps error goes away.
when did ./rc gave:
PATH=/var/qmail/bin:/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/home/heena/bin
but I dont have a bin direcoty in /home/heena (???)
moreover "qmailctl stat" gave:
/service/qmail-send: up (pid 6851) 1 seconds
/service/qmail-send/log: up (pid 6084) 710 seconds
/service/qmail-smtpd: up (pid 6087) 710 seconds
/service/qmail-smtpd/log: up (pid 6088) 711 seconds
messages in queue: 5
messages in queue but not yet preprocessed: 5
It doesn't matter that you dont' have /home/heena. qmail will not be looking there for anything.
What about running your ps -efl | grep "service errors" | grep -v grep again and see what that says. It should no longer say anything about the path being wrong. Be sure to restart qmail before testing this.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.