I have zm on RH 9.0 kernel, and I installed the apache2.0.52, and PHP 5.0.2 for the so-called memory leak problem. Also, I recompiled the 2.4.20 kernel.
I installed the zm 1.19.5, and is working except for the zmpkg.pl.
I can only start from the web console clicking 'stopped' to start the zm.
I tried changing the zmpkg.pl as described in forums, but still zmpkg.pl does not work. I get the following error in /tmp/zmpkg.log when I tried both -c option and --shell option.
----------
Command: start
Executing: su apache -c '/usr/local/bin/zmdc.pl check'
Your account has expired; please contact your system administrator
su: incorrect password
Command: start
Executing: su apache --shell=/bin/sh --command='/usr/local/bin/zmdc.pl check'
Your account has expired; please contact your system administrator
su: incorrect password
-----------
I tried "usermod -s /bin/bash apache", and I also tried resetting the apache password, but it does not work.
My question is "is this related to PAM(pluggable authentication module)"?
Could you please give me some hint or guide where to look?
Thank you very much.
On zmpkg.pl start, I get error 'Your account has expired...
- lazyleopard
- Posts: 403
- Joined: Tue Mar 02, 2004 6:12 pm
- Location: Gloucestershire, UK
Re: On zmpkg.pl start, I get error 'Your account has expired
Try man chage and then check apache using it...
Rick Hewett
Thank you very much, lazyleopard. I finally fixed doing the following. I had this problem for long time, and also tried the 'chage' command. BUt somehow I has not been able to fix it. Now thanks to your advice again, I tried seriously again and this time it worked. This time I changed the Max Password Age and the Account Expiration Date.
I thank you again for your help.
***************
[root@lserver jmin]# chage apache
Changing the aging information for apache
Enter the new value, or press ENTER for the default
Minimum Password Age [0]:
Maximum Password Age [0]:
Last Password Change (YYYY-MM-DD) [2004-12-12]:
Password Expiration Warning [7]:
Password Inactive [0]:
Account Expiration Date (YYYY-MM-DD) [1969-12-31]: 2010-12-31
[root@lserver tmp]# chage apache
Changing the aging information for apache
Enter the new value, or press ENTER for the default
Minimum Password Age [0]:
Maximum Password Age [0]: 10000
Last Password Change (YYYY-MM-DD) [2004-12-12]:
Password Expiration Warning [7]:
Password Inactive [0]:
Account Expiration Date (YYYY-MM-DD) [2010-12-31]:
[root@lserver tmp]# chage apache
Changing the aging information for apache
Enter the new value, or press ENTER for the default
Minimum Password Age [0]:
Maximum Password Age [10000]:
Last Password Change (YYYY-MM-DD) [2004-12-12]:
Password Expiration Warning [7]:
Password Inactive [0]:
Account Expiration Date (YYYY-MM-DD) [2010-12-31]:
[root@lserver tmp]# zmpkg.pl start
[root@lserver tmp]# zmpkg.pl status
running
[root@lserver tmp]#
I thank you again for your help.
***************
[root@lserver jmin]# chage apache
Changing the aging information for apache
Enter the new value, or press ENTER for the default
Minimum Password Age [0]:
Maximum Password Age [0]:
Last Password Change (YYYY-MM-DD) [2004-12-12]:
Password Expiration Warning [7]:
Password Inactive [0]:
Account Expiration Date (YYYY-MM-DD) [1969-12-31]: 2010-12-31
[root@lserver tmp]# chage apache
Changing the aging information for apache
Enter the new value, or press ENTER for the default
Minimum Password Age [0]:
Maximum Password Age [0]: 10000
Last Password Change (YYYY-MM-DD) [2004-12-12]:
Password Expiration Warning [7]:
Password Inactive [0]:
Account Expiration Date (YYYY-MM-DD) [2010-12-31]:
[root@lserver tmp]# chage apache
Changing the aging information for apache
Enter the new value, or press ENTER for the default
Minimum Password Age [0]:
Maximum Password Age [10000]:
Last Password Change (YYYY-MM-DD) [2004-12-12]:
Password Expiration Warning [7]:
Password Inactive [0]:
Account Expiration Date (YYYY-MM-DD) [2010-12-31]:
[root@lserver tmp]# zmpkg.pl start
[root@lserver tmp]# zmpkg.pl status
running
[root@lserver tmp]#
- lazyleopard
- Posts: 403
- Joined: Tue Mar 02, 2004 6:12 pm
- Location: Gloucestershire, UK
My system's set as follows:
Code: Select all
# chage -l apache
Minimum: 0
Maximum: 99999
Warning: 7
Inactive: -1
Last Change: Apr 25, 2002
Password Expires: Never
Password Inactive: Never
Account Expires: Never
Rick Hewett