The .conf file I thought was just for the proxy version of PCA. I stand corrected. I implemented your suggestion, David, and it worked. Of course, since I've already installed patches on the server I'm working on, I didn't get any log info, but I'll try it again another day to see it that change works, too. Thanks!
Jamen McGranahan Systems Services Librarian Vanderbilt University -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of French, David Sent: Wednesday, November 26, 2008 3:15 PM To: PCA (Patch Check Advanced) Discussion Subject: Re: [pca] PCA Forum Link - And question about PCA The syslog option logs at ____.info. So when you used local0, it logs to local0.info, so you need to make sure your /etc/syslog.conf is logging info level alerts to your file. I can't remember what the default is, but I don't think *.info levels get logged outside of auth.info. As for the password, your best bet is to use the pca.conf file. It can be /etc/pca.conf, ../etc/pca.conf (from executable), ~/.pca or ./pca.conf. You can put the command line args in there minus the '--'. For example you would have a pca.conf like so: syslog=local0 user=your_account passwd=your_password If you are running from a specific location, it is easiest to have pca.conf in the same dir as pca or use ~/.pca. Otherwise, if it is installed, the /etc or ../etc options are good. The pca.conf file is described in the man page, which you can get with: pca.pl --man Hope this helps, --Dave > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of McGranahan, Jamen > Sent: Wednesday, November 26, 2008 12:45 PM > To: PCA (Patch Check Advanced) Discussion > Subject: Re: [pca] PCA Forum Link - And question about PCA > > I figured out my 403 error (didn't have a contract connected to my Sun > acct) and have resolved that issue. I do have another > question, though: > I want the system to keep a log of patches that have been > installed, and I thought I could use the syslog variable, but > I'm not seeing any information in the log. This is how I am > running it currently (from command line): > > pca.pl -x -i --user=xxxxx --passwd=xxxx --syslog=local0 > > I've also tried this method: > > pca.pl -x -i --user=xxxxx --passwd=xxxx --syslog=user > > And a second question, I tried inputting the user/passwd > variables in the perl script itself, but it is not > registering them and I'm not sure why. The lines I have tried > to modify are as follows (in the my @options > section): > > "user||s|xxxxx||Sun Online Account user name", > "passwd||s|xxxxx||Sun Online Account password", > > Please advise. Thank you! > > Jamen McGranahan > Systems Services Librarian > Vanderbilt University > > >
