Deleted syslog.conf file
Hello. I was trying to configure proftpd and intended to delete proftpd.conf, but instead I deleted syslog.conf. I am using the following version of Mac OS X:
System Version: Mac OS X 10.4.10 (8R2232)
Kernel Version: Darwin 8.10.1
Could somebody with a similar configuration please post the contents of their syslog.conf file so that I can re-create the file on my system without having to re-install the OS?
/etc/syslog.conf already exists - you just need to edit it to your needs.
The issue, of course, is that only root can edit this file. Your best bet is to run your favorite text editor using sudo in Terminal.app, e.g.:
sudo vi /etc/syslog.conf
Similar Messages
-
Missing syslog.conf file in /etc folder!
How do I create a syslog.conf file that I need in the /etc folder to resolve an isssue with DoorStop?
/etc/syslog.conf already exists - you just need to edit it to your needs.
The issue, of course, is that only root can edit this file. Your best bet is to run your favorite text editor using sudo in Terminal.app, e.g.:
sudo vi /etc/syslog.conf -
Delete httpd.conf file for apache!
I have mistakenly deleted httpd.conf file for apache.. then the localhost was not work anymore!! .. How can I solve this problem? I have XOS 10.9
Look in the Originals folder inside the apache2 folder. Make a copy of the original httpd.conf file.
-
Revision: 14509
Revision: 14509
Author: [email protected]
Date: 2010-03-02 07:32:11 -0800 (Tue, 02 Mar 2010)
Log Message:
Oops. Only meant to delete webapp conf files locally. Adding the files I deleted back in.
Added Paths:
blazeds/trunk/servers/apache-tomcat-6.0.14/conf/Catalina/localhost/blazeds.xml
blazeds/trunk/servers/apache-tomcat-6.0.14/conf/Catalina/localhost/qa-manual.xml
blazeds/trunk/servers/apache-tomcat-6.0.14/conf/Catalina/localhost/samples.xml -
Cisco Prime Soft Appliance not saving changes to syslog.conf
Greetings,
I'm having an issue with the syslog.conf file on a Cisco Prime LMS 4.2.4 soft appliance with a Solaris base. My workplace uses local4 as the logging facility for its network devices, and according to a discussion I found on this site, I need to add the line:
local4.info /var/log/syslog_info
I have attempted this several times; we're approaching at least 5 attempts today. I have attached text files created from putty logs where I've attempted to make the necessary change. I appreciate any assistance the community can provide.
Regards,
RobHi, Afroz,
I really appreciate your assistance, but I'm afraid my hopes have been dashed. The syslog.conf reverted to its original configuration. I will go through my steps to be sure that I understood your suggestion properly.
I edited the syslog.conf to put all messages from local4 in /opt/CSCOpx/conf/syslog-entries.txt. Then, I exited the shell to the console, issued the 'write mem' command, and closed the session. Upon my reconnection, I found that my changes to the syslog.conf were not saved.
Did I make the correct edits in the correct places? Another question, is this bug present in the versions of Prime LMS running Linux and/or Windows, or does it only exist in the soft appliance running Solaris?
Regards,
Rob
Edit:
I'm reading the "Installation and Migration of Cisco Prime" PDF, and it gives me the impression that Cisco Prime is only supported as Windows, Solaris, and soft appliance installations. Is that correct? If it is correct, then installation of Cisco Prime LMS is not supported on other Linux distros such as Ubuntu Server, CentOS, Fedora, etc.?
My thanks. -
I'm seeing tons of syslog in in var/log/messages. when I look at the logs they are mostly duplicate of what I see in the syslog_info file. Due to this my var/log is filling up so fast. Do I need to update my syslog.conf file, what is the recommended settings for prime LMS 4.2 ?
-rw------- 1 root root 808570913 Dec 16 04:05 messages.1
-rw-rw-r-- 1 root sys 14259416649 Dec 17 08:59 syslog_info
-rw------- 1 root root 201355173 Dec 17 08:59 messages
Here is my current syslog.conf file
local6.info /var/log/ade/ADE.log
*.info;mail.none;news.none;authpriv.none;cron.none;local0.none;local1.none /var/log/messages
authpriv.* /var/log/secure
mail.* -/var/log/maillog
cron.* /var/log/cron
*.emerg *
uucp,news.crit /var/log/spooler
local7.* /var/log/boot.log
#Application LMS Generated config
#BEGIN CSCOmd - DO NOT EDIT THESE COMMENTS OR CONTENTS CONTAINED WITHIN - local0 1
local0.emerg;local0.alert;local0.crit;local0.err;local0.warning;local0.notice;local0.info;local0.debug /var/adm/CSCOpx/log/dmgtd.lo
g
#END CSCOmd DO NOT EDIT BEFORE THIS LINE 1
local7.info /var/log/syslog_infoUsually we dont recommend to change anything on syslog.conf. Syslog_info is the file where all the syslogs coming from network pointed to LMS server is written.
Usually they should be controlled at the device level by checking the logging level of devices.
Mostly ASA/FW's send excessively huge amount of syslogs to LMS server which should be controlled. Also, you can check the logrot utility to control the syslog_info log size to keep in check. Logrot is an Log file rotation utilit in LMS.
Log files can expand and fill up disk space. Log files rotation helps you manage the log files more efficiently. See
Maintaining Log Files for an overview of maintaining the log files in LMS Server.
For more details on logrot check userguide :
http://www.cisco.com/en/US/docs/net_mgmt/ciscoworks_lan_management_solution/4.2/user/guide/admin/server.html#wp1055307
-Thanks -
Cisco Works Daemon Manager Service down after deleting Syslog files
Dears,
Cisco Works Daemon Manager Service is not comiing up after deleting the syslog.log files from NMSroot, al other services are comes up except this.
please help ...
Rgds
AslamNot sure what is happening, but I see several services that should be started by the daemon manager, that are already started!!
You best stop them, make sure the services are set to manual except daemon manager, tftp syslog and rcp who are automatic.
Then I suggest to reboot server. If the daemon manager still can start run the resetcasuser.exe in \CSCOpx\setup\support\ and try again.
Cheers,
Michel -
Configuration issue of syslog.conf
Dear All,
My client is facing a configuration issue of syslog.conf.
They have set a cacti on a Linux server for monitoring of all servers snmp & syslog.
The part of snmp has set up successfully but cannot send the syslog to the cacti.
My client want the syslog can keep on the localhost and send to cacti for monitoring
we have tried to do the following things for make it work:
Insert the information (*.* @10.251.99.74) in /etc/syslog.conf
Restart service of system-log
Deleted all word of loghost in the /etc/hosts file
But still not work. Anyone can give me suggestion or idea about this?Thank you for your reply.
It is tab. But I think the problem is solaris cannot use *.* to represent all logs.
I have used the following is work
*.err;ker.debug;daemon.notice;mail.crit @10.251.99.74
If that is not the mail reason, please put me right. -
Syslog Reports not collect Syslog.log file Messages
I am doing a installation on CiscoWorks 3.2. after two three weeks I found my syslog services is not working properly. Once I checked on the syslog.log its updated with the device logs as normal. But when I am going to generate report it’s not collect data from the syslog log file. I have notice my syslog analyzer and syslog collator processes are shown as = Program started - No mgt msgs received. Is this normal on the LMS serve?
Anyway I found following error massagers on the SyslogAnalyzer.log file.
cisco.nm.xms.ctm.common.CTMException: CTMRegistryClient::addNewURNEntry URN : SyslogAnalyzerService ErrMsg : URN already in use
at com.cisco.nm.xms.ctm.server.CTMServer.publish(CTMServer.java:253)
at com.cisco.nm.xms.ctm.server.CTMServer.publish(CTMServer.java:180)
at com.cisco.nm.rmeng.sa.SyslogAnalyzerEngine.registerWithCtm(SyslogAnalyzerEngine.java:2267)
at com.cisco.nm.rmeng.sa.SyslogAnalyzerEngine.start(SyslogAnalyzerEngine.java:2189)
at com.cisco.nm.rmeng.sa.SyslogAnalyzerService.main(SyslogAnalyzerService.java:109)
please I need your expertise knowledge to sort out this problem.
Thank you,
Chandimal.k
+94777420771Hi,
Errors Found:
SyslogCollector - [Thread: main] WARN , 15 Dec 2011 14:33:46,505, Unable to resurrect connection to a subscriber.
URN : SyslogAnalyzerService ErrMsg : URN already in use
Try deleting the ctmregistry and ctmregistry.backup files and regenerat your SSL certificate and then resubscribed to the syslog collector.
1. net stop crmdmgtd
2. delete all the server.* files in ../CSCOpx/MDC/Apache/conf/SSL
3. Open a dos shell and cd to:
../CSCOpx/MDC/Apache, and run: perl ConfigSSL.pl -disable and then again perl ConfigSSL.pl -enable
You will see now a lot of questions, please make sure that you enter correctly the question of FQDN!
4. if you don't want to use SSL, run again: perl ConfigSSL.pl -disable
If you use SSL please don't do anything.
5. net start crmdmgtd
Then wait fifteen minutes for all the LMS services to come up before testing.
Thanks -
Issue in iPlanet loading obj.conf file in admin console module
Dear all,
I have done following chanegs in obj.conf file to block insecure http methods,but whenever I try to access admin module of iPlanet and restart, all manual changes done in obj.conf disappears.
Only one time it asked me with message that file has been modified manually do you want to load?
but this is not happening every time.I am using iplanet 9.
Please let me know if there is any issue with this or I am missing something.
to just brief, only after trying 20 times it asked me above mentioned message
---obj.conf file contents----
<Object name="WebCon1" ppath="*/WebCon/*">
*<Client method="(GET|POST)">*
AuthTrans fn="match-browser" browser="MSIE*" ssl-unclean-shutdown="true"*
*</Client>*
*<Client method="(HEAD|PUT|TRACE|TRACK|SEARCH|INDEX|OPTIONS|DELETE|MKDIR|SHOWMETHOD|UNLINK|CHECKIN|TEXTSEARCH|SPACEJUMP|CONNECT|PATCH|PROPFIND|PROPPATCH|MKCOL|COPY|MOVE|LOCK|UNLOCK|CHECKOUT|RMDIR|ACL|VERSION-CONTROL|REPORT|UNCHECKOUT|ORDERPATCH)">*
*AuthTrans fn="set-variable" remove-headers="transfer-encoding" set-headers="content-length: -1" error="405"*
*</Client>*
NameTrans fn="pfx2dir" from="/mc-icons" dir="/home/cedera/iPlanetServer/Installation/ns-icons" name="es-internal"
PathCheck fn="unix-uri-clean"
PathCheck fn="find-pathinfo"
ObjectType fn="type-by-extension"
ObjectType fn="force-type" type="text/plain"
Service method="(GET|POST)" type="image/gif" fn="send-file"
Service method="(GET|POST)" type="image/jpeg" fn="send-file"
Service method="(GET|POST)" type="text/css" fn="send-file"
Service method="(GET|POST)" type="application/x-javascript" fn="send-file"
Service method="(GET|POST)" type="magnus-internal/imagemap" fn="imagemap"
Service method="(GET|POST)" type="magnus-internal/directory" fn="send-error" path="/WebCon/WebCon/restrict.htm"
Service method="(GET|POST)" fn="wl_proxy" WebLogicHost="10.10.61.224" WebLogicPort="444" HungServerRecoverSecs="600" Debug="ALL" DebugConfigInfo="TRUE" RequireSSLHostMatch="FALSE" WLLogFile="/home/cedera/iPlanetServer/Installation/https-webcon2/logs/Log_JSP.txt" PathTrim="/WebCon" PathPrepend="/WebConverter" SecureProxy="ON" URIContainsSpace="true" ErrorPage="/home/cedera/iPlanetServer/Installation/docs/WebCon/WebCon/serviceUnavailable.htm" MaxPostSize="-1" DefaultFileName="WebCon/login.jsp" ConnectTimeoutSecs="10" ConnectRetrySecs="2" WLDNSRefreshInterval="0" TrustedCAFile="/home/cedera/iPlanetServer/Installation/https-webcon2/config/trustedcafile.pem"
AddLog fn="flex-log" name="access"
</Object>
I have added contents marked in bold manually....
but it was not picking up it from frontend...then suddenly after 20 time, it picked up these changes in admin...
but now if I am trying to change in <client> tag , but it does not recognise any new changes done manually...it loads same obj.conf...whenever i restart instance from frontend...
Edited by: sweetvish on Nov 9, 2009 9:26 PMAfter making manual changes in obj.conf, have you tried clicking the 'Apply' link in admin console and then choosing 'Load configuration Changes' option?
-
I've seen instructions all over the internet about rewriting a .conf file to get Apache to see your user "Sites" folder in Mountain Lion. Mine refuses to work. The server still works at localhost, but localhost/~user will not, I get "Safari cannot connect to server localhost."
I'm really the only user that uses it, is there any problem with just changing to document root in the httpd.conf file to /Users/user/Sites?
Or, any ideas about the user.conf file? Permissions are correct, file is correct, apache restarted.Interesting. I ran apachectl configtest, and it found a syntax error in my user.conf file, which I thought I deleted. All this time I've been working in /etc/apache2/users, as the online tutorials specify. The other .conf file, brought to my attention by the configtest, is in /private/etc/apache2/users.
The error: a space between allow,deny.
Fixed the error... all is well. Thanks for the configtest tip... I never knew about that one. -
Two dbswitch.conf files on Solaris 9 DS server.
I know what the dbswitch.conf file is supposed to hold the location of configuration directory. On one server that's running Solaris 9, the admin server, and the bundled SunONE directory server, I noticed that there are two dbswitch.conf files:
/etc/iplanet/ds5/shared/config/dbswitch.conf
and
/etc/iplanet/ds5/userdb/dbswitch.conf
Can someone tell me which applications actually use each of those files?
Thanks.Well, anything with "Demo" or "Source" in the title you can delete usually without any problems.
It looks like everything in your list is X11 related. Its really a question for you. If you plan to perform TOTAL CLI type administration on this machine, you can delete the X11 stuff completely. This of course assumes there in nothing in the SunONE application software suite which doesn't require X11 capabilities for configuration. I've never used the SunONE app server but I SERIOUSLY doubt it does. More then likely its administration is browser based.
BUT, if you want to perform some limited X11 display back stuff from time to time, you're going to need the X11 stuff. -
Prevent Server.app from repeatedly hosing .conf files?
It seems every time I add or delete web server entries the Server.app replaces all my site .conf files, requiring a tedious manual replacing of AllowOverride from None back to All. Is there some way to prevent it from altering the files for sites I didn't change, or a way to make All the default value? Very frustrating.
Thanks in advance!Well, since apparently no one knows the answer to this, I'll share what I dug up today.
In the /etc/apache2 readme.txt file (I'll be happy if/when Apple releases an actual Lion Server manual that covers all of this. If I wanted to play scavenger hunt through file systems looking for miscellaneous readme files to learn how to use software I'd have stayed with Linux where that sort of thing is in vogue), there is this little nugget:
=======================================
sites_disabled/default_default.conf
sites_disabled/0000_default_default.conf
This is the configuration file template for all new default virtual hosts created by the Server application. Administrators may modify it directly. (It is installed as default_default.conf and then is renamed to 0000_default_default.conf by the Server application.)
=======================================
So, I changed the 0000_default_default.conf file so the AllowOverride is set to All instead of None. Now whenever I create a new site entry (or change something so that Server.app decides to rewrite all of them for me whether I want it to or not) at least now the default is sensible and I don't have to go back and edit them all again.
Hope that helps someone. -
I ran pacdiff a few days ago (I think that was the command) and it offered to replace a bunch of system files including /etc/passwd and /etc/groups
I figured out that I had kicked myself out of my groups and I no longer had a home directory (with all my data!) but I figured out what to do and I fixed both of those and manually checked the files so everything seemed OK. I also fixed the pacman conf file.
Then I rebooted and my home directory didn't exist. So I logged in as root and NOTHING exists. The entire file system was read only.
I started freaking out--I lost my home with all my files and my system is trashed. I was sweating bullets.
Then I figured out that something I did had deleted my /etc/fstab. I whipped out the ArchLinux Installation Guide and rebuilt that file and rebooted and everything is just fine now.
I just wanted to share about what an idiot I can be sometimes, that's all.
Thank you.Oh, I tried this also when I was freaking out, but it didn't help:
$ tail -500 /var/log/pacman.log | grep new
[2013-03-16 20:37] In order to use the new version, reload all virtualbox modules manually.
[2013-03-18 16:02] In order to use the new version, reload all virtualbox modules manually.
[2013-03-19 20:22] warning: /etc/colord.conf installed as /etc/colord.conf.pacnew
[2013-03-21 02:41] warning: /etc/php/php.ini installed as /etc/php/php.ini.pacnew
[2013-03-23 23:11] warning: /etc/pacman.d/mirrorlist installed as /etc/pacman.d/mirrorlist.pacnew
[2013-04-04 14:22] In order to use the new version, reload all virtualbox modules manually.
[2013-04-07 17:36] warning: /etc/pacman.conf installed as /etc/pacman.conf.pacnew
[2013-04-09 15:05] [ALPM-SCRIPTLET] In order to use the new version, reload all virtualbox modules manually.
Doesn't mention fstab nor passwd nor groups. -
[solved] No dhcpd : No /etc/dhcpd.conf file
I've managed to get the KDE desktop running, but ever since starting KDE, I haven't been able to connect to anything online. When I tried to check and edit the /etc/dhcpd.conf file, that file doesn't exist. Looked at the Beginner's Guide but didn't see where I skipped whatever I should have done to make the file. Install worked great, so dhcp worked for that.
What do I do to get dhcp to work? Checked /etc/rc.conf and eth0="dhcp" is uncommented.
Last edited by pottzie (2010-05-14 05:11:38)What do you mean by this?
wrote:Right now I have three, "network netfs crond," "network crond alsa," "and dbus hal networkmanager alsa crond kdm." Hal's seemed kinda "maybe-ish," as when I entered what I thought was suggested, sometimes nothing happened, sometimes some things did
If those are what you are placing in the daemon section of your /etc/rc.conf then that's probably your problem. Don't use networkmanager daemon unless you have 'networkmanager' and 'network-manager-applet' installed.
Try this
(hal syslog-ng network netfs crond alsa)
Look here for network configuration
http://wiki.archlinux.org/index.php/Beg … NG_Section
And here to start KDM using /etc/inittab instead of /etc/rc.conf
http://wiki.archlinux.org/index.php/Dis … mmended.29
Have Fun!
Maybe you are looking for
-
I recently upgraded our Test machine from 12.1.1 to 12.1.3 (RHEL 4.8). After performing the install and applying appropriate patches and most recent CPU when I attempt to 'Find Service Request' I can search by number, choose the correct SR I want in
-
Problem printing Report with Image in BI Publisher 11g
I am working with BI publisher *11g* but I have problem printing images. Everything works fine if I do not include any images however when I add a image I get following problems. When I tried printing PDF in output I get Type /Xobject subtype /Image
-
Remove fields from report painter
Hi, I try to create a z transaction code for my report which was built using the report painter tool. I got additional fields like read mode, print report and rebuild frozen report data on the selection screen. How can I remove these fields to make t
-
If I update from IOS 5.0.1 to 5.1.1 will I lose all my GPSHD Motion X map data? When I updated to IOS 5.0.1 I lost about 25GBytes of map data because Itunes will not back up my GPSHD map data.
-
Why cant I see any pictures when I start iPhoto?
I just imported a new set of photos from my iPhone. When I start iPhoto, I see a spinning disc saying "Loading Photos...", then I see my most recent imported set appear very briefly, then they disappear. Then I just see an empty iPhoto window, with