| Blogs | Classifieds | Downloads | FlashChat | Gallery | Googlemap | Invite Friends | Links | Projects | Reviews | Wiki |
| |||||||||
Welcome to the pSeries Tech Forums,
our free peer-based support site for administrators, engineers and architects working with IBM pSeries servers and software. You are currently viewing our site as a guest which gives you limited access to view most discussions, articles, tutorials and access our other free features. By joining our community you will be able to collaborate with administrators, engineers and architects charged with designing, delivering or maintaining IBM pSeries server environments. Founded by a recognized IBM pSeries consultant and IBM Redbook author, pSeries Tech Forums was developed with the single mission of bringing IBM pSeries professionals together into a single self-help community. Registration is fast, simple and absolutely free to all IT professionals with responsibility for or interest in IBM pSeries servers. We invite you to join our community today! If you have any problems with the registration process or your account login, please contact contact support. |
| Our Sponsors | |
| | |
| Want to advertise? | |
![]() |
| | LinkBack | Thread Tools |
|
#1
| ||||
| ||||
| Hi, I've installed logrotate from AIX PDSLIB on several systems (AIX 5.1 and AIX 5.3). I've fisrt used binary 5.1 version. After that I've compiled the source version. In both cases, it seems to work well but no rotation is done : # /usr/local/sbin/logrotate -vf /etc/logrotate.conf reading config file /etc/logrotate.conf including /etc/logrotate.d and I have a return code of 1 : # echo $? 1 but no other message. Does anyone know what's going wrong ? A failing file ? An incomplete path ? Thanks. |
|
#2
| ||||
| ||||
We use logrotate and it runs perfectly. Well, the first time, it blows up compressing (gzip) big files. No glue why, but after that it does its job. ;-) Maybe you should post your logrotate.conf to get an idea about the logfiles or other options you use. Riscy |
|
#3
| ||||
| ||||
| Hi riscy, After several tests, I've found what's going wrong. In logrotate.conf, I use include command which allows logrotate to read also configuration files in a specific directory. But it seems that this include option doesn't work. Do you use it ? I've write a little shell to do the job without include option : /usr/bin/cat /etc/logrotate.conf > /etc/logrotate.cum /usr/bin/cat /etc/logrotate.d/* >> /etc/logrotate.cum /usr/local/sbin/logrotate /etc/logrotate.cum /usr/bin/rm -fr /etc/logrotate.cum Thank's for your answer. It made me search in configuration. |
|
#4
| ||||
| ||||
| Hi mitteljc Quote:
Riscy |
|
#7
| ||||
| ||||
Hi again, you have to get the source code and than compile it! I didn't find any binary package for AIX yet, so that's my suggestion. If you have further questions compiling it, let me know. ;-) Regards, riscy |
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Can't see disks on VIO install | Otto | IBM PowerVM Editions | 6 | July 13th, 2007 13:33 |
| Not able to install AIX 5.2 in pSeries Server | sush | AIX for POWER Systems | 1 | April 13th, 2007 19:40 |
| problems when install DCE3.2 on AIX v5.3 | buaa_kyle | AIX for POWER Systems | 3 | April 2nd, 2007 01:43 |
| how to install the manual pages? | Melih | AIX for POWER Systems | 1 | March 29th, 2007 00:59 |
| Install multiple languages after install using NIM | rweller3 | AIX for POWER Systems | 1 | August 4th, 2006 21:05 |