Iplanet
Tags:
To force daily rotation of Iplanet (Sun One Web Server) logs, add the following line to magnus.conf:
Init fn=flex-rotate-init rotate-start=0000 rotate-interval=1440
where the rotate-interval is in minutes, 1440 being 24 hours.
Restart Iplanet. "access" and "errors" logs will be rotated every 24 hours and named as such:
-rw-r--r-- 1 iplanet iplanet 143 Apr 23 00:00 access -rw-r--r-- 1 iplanet iplanet 143 Apr 21 21:35 access.200704220000 -rw-r--r-- 1 iplanet iplanet 143 Apr 22 00:00 access.200704230000
- Add new comment
- Read more
- 1714 reads
Tags:
If Iplanet (Sun One Webserver) has security turned on (in the magnus.conf) it will prompt for a password to start the webserver. In cases where you might script the starting of Iplanet, you might want to provide the password, but not be prompted every time.
create a file called "token" (or anything for that matter) and put your iplanet password in it. (Yes, this will be plain text, so take security measures...)
now, start Iplanet by redirecting that file into the start command:
/apps/iplanet/https-hostname.camelrichard.org/start < token
- Add new comment
- Read more
- 1688 reads
Tags:
Iplanet (Sun One Webserver) requires a server certificate to boot if you turn security on (to require a password to boot). This is commonly done through the admin console, but can also be done on the command line. This example uses Sun One Webserver 6.1SP7.
To Turn Security ON:
vi magnus.conf
change:
Security off
to:
Security on
Now, if you tried to start the webserver, you would see a message like this:
- Add new comment
- Read more
- 2042 reads
