/etc/hosts ip update
Hi all
What I would like to do is have DHCP (through NetworkManager) update the /etc/hosts file when it gets an IP. The problem I am running into now is that I have to go and manually edit my hosts file to update my current IP, otherwise a program the networking code in my java program breaks
In other words, I need 192.168.1.106 to be kept current.
/etc/hosts
#<ip-address> <hostname.domain.org> <hostname>
127.0.0.1 localhost.localdomain localhost
192.168.1.106 arch61 localhost
# End of file
/etc/resolv.conf
# generated by NetworkManager, do not edit!
search hsd1.ca.comcast.net.
nameserver 68.87.76.178
nameserver 68.87.78.130
/etc/rc.conf
HOSTNAME="arch61"
lo="lo 127.0.0.1"
eth0="dhcp"
INTERFACES=(lo !eth0)
#gateway="default gw 192.168.0.1"
ROUTES=(!gateway)
Thanks
updated,,, better error handling, etc
ipup.py
#!/usr/bin/env python
#################################notes#################################
# ipup.py r3 #
# ipup.py updates the hosts file,with the current *AN ip address #
# ~configure~ #
# hosts = '/etc/hosts' = location of hosts file #
# interface = 'ath0|wlan0|etc0' = name of the inerface to poll #
import re
from subprocess import PIPE, Popen
hosts = '/etc/hosts'
interface = 'ath0'
handle = open(hosts, 'r')
hbuf = handle.read()
handle.close()
ibuf = Popen(['ifconfig', interface], stdout=PIPE).stdout.read()
ipat = re.compile('inet addr:(\d+\.\d+\.\d+\.\d+) ')
ip = ipat.search(ibuf)
ip = ip and ip.group(1)
hpat = re.compile('(.*\D)(\d+\.\d+\.\d+\.\d+)(.*#ip~up#.*)', re.DOTALL)
ih = hpat.search(hbuf)
if ih and ip:
if ip != ih.group(2):
try:
out = ih.group(1) + ip + ih.group(3)
handle = open(hosts, 'w')
handle.write(out)
print 'updated ip address to', ip
except:
print 'failed to update hosts file,'
print 'maybe you don\'t have permision to write to', hosts
else:
print hosts, 'is already up to date'
else:
ih = ih and ih.group(2)
print 'failed to get ip address(es)'
print 'old ip(' + hosts + '):', ih
print ' new ip(ifconfig):', ip
~~~~~~~~~~~~~~~~~~~~~~~~~~~
don't forget, the hosts file needs to have the line
`````````````````````````````````````````
127.0.0.1 arch61 localhost #ip~up#
``````````````````````````````````````````
Last edited by kumico (2007-12-07 08:57:12)
Similar Messages
-
Hosts-update: automatically append the mvp blocklist to /etc/hosts
This util written by wintervenom has actually been in the AUR for going on 2 years now.
What it does:
Updates /etc/hosts with the mvps blocklist to prevent thousands of parasites, hijackers and unwanted adware/spyware/privacy websites from working.
Operation is trivial:
1) Edit /etc/hosts.local to match the hostname of your system and adjust the domainname as needed. Also add any hosts that you wish to keep i.e. other PCs on your network.
2) Run /usr/bin/update_hosts as root which will append /etc/hosts.local to the mvps blocklist and apply some post processing writing the final file to /etc/hosts automatically.
3) (Optional) Add a cronjob under root crontab at some interval to keep your /etc/hosts fresh.
AUR: https://aur.archlinux.org/packages/hosts-update
Github: https://github.com/graysky2/hosts-update
Original thread: https://bbs.archlinux.org/viewtopic.php?id=106367
Enjoy!
Last edited by graysky (2013-12-11 17:09:06)Sure you can, but not in this particular tool. There is a script written by haarp designed to run on a tomato-usb powered router that does just this. I host the code here: https://github.com/graysky2/adblock
EDIT: I can't remember if it pulls from the same urls as pgl does but you can certainly modify the code to do it.
Last edited by graysky (2013-12-11 19:52:02) -
Lil' script to update adblockfilter, adblocking via /etc/hosts file
hi, i've recently changed to adblocking via the hosts file (which works great btw), but i was missing filtersetupdating like in firefox, so i've created with my limited scripting skills this one...
# lil' script to update /etc/hosts adblock-filter
#hosts adblock filter taken from this site...
wget --directory-prefix=/tmp http://www.mvps.org/winhelp2002/hosts.txt
#Backup /etc/hosts to /tmp
cp /etc/hosts /tmp
#standard static hosts file
echo '# /etc/hosts: static lookup table for host names' > /etc/hosts
echo '#' >> /etc/hosts
echo '#<ip-address> <hostname.domain.org> <hostname>' >> /etc/hosts
echo '127.0.0.1 localhost.localdomain localhost' >> /etc/hosts
#add custom statc host configuration here
echo ' ' >> /etc/hosts
echo '###Ad-Blocking###' >> /etc/hosts
cat /tmp/hosts.txt >> /etc/hosts
echo '# End of file' >> /etc/hosts
rm /tmp/hosts.txt
enjoy!hosts_udate
#!/bin/bash
# 2012 Ontobelli for this script
# make hosts temporal directory
HOSTSDIR=~/.hostsupdate
mkdir -p "${HOSTSDIR}"
# make temporary directory
TMPDIR=/tmp/hostsupdate
mkdir -p "${TMPDIR}"
# set output file
OUTPUTFILE="${TMPDIR}/hosts"
# set temporal file
TMPFILE="${TMPDIR}/tmpfile"
if [ ! -f "${HOSTSDIR}/hosts.local" ]; then
echo "You need to create "${HOSTSDIR}"/hosts.local containing the hosts you wish to keep!"
exit 0
fi
# download the mvps.org hosts file.
wget -c -O "${HOSTSDIR}/hosts.mvps" "http://winhelp2002.mvps.org/hosts.txt"
# download hpHOSTS
wget -c -O "${HOSTSDIR}/hosts.hphosts" "http://support.it-mate.co.uk/downloads/HOSTS.txt"
# download hpHOSTS Partial
wget -c -O "${HOSTSDIR}/hosts.partial" "http://hosts-file.net/hphosts-partial.asp"
# download hpHOSTS ad/tracking servers
wget -c -O "${HOSTSDIR}/hosts.adservers" "http://hosts-file.net/ad_servers.asp"
# download the pgl.yoyo.org hosts Peter Lowe - AdServers
wget -c -O "${HOSTSDIR}/hosts.yoyo" "http://pgl.yoyo.org/as/serverlist.php?hostformat=hosts&showintro=0&mimetype=plaintext"
# download SysCtl Cameleon hosts
wget -c -O "${HOSTSDIR}/hosts.sysctl" "http://sysctl.org/cameleon/hosts"
# cat entries in a single file
cat "${HOSTSDIR}/hosts.mvps" > "${TMPFILE}0"
cat "${HOSTSDIR}/hosts.hphosts" >> "${TMPFILE}0"
cat "${HOSTSDIR}/hosts.partial" >> "${TMPFILE}0"
cat "${HOSTSDIR}/hosts.adservers" >> "${TMPFILE}0"
cat "${HOSTSDIR}/hosts.yoyo" >> "${TMPFILE}0"
cat "${HOSTSDIR}/hosts.sysctl" >> "${TMPFILE}0"
# tabs to space
sed -e 's/ / /g' "${TMPFILE}0" > "${TMPFILE}1"
# find relevant lines without comments
grep ^127.0.0.1 "${TMPFILE}1" > "${TMPFILE}2"
# remove duplicate spaces
cat "${TMPFILE}2" | tr -s [:space:] > "${TMPFILE}3"
# remove carriage returns
cat "${TMPFILE}3" | tr -d "\r" > "${TMPFILE}4"
# 0.0.0.0 is nicer than constantly knocking on localhosts' door.
sed -e 's/127.0.0.1 /0.0.0.0 /g' "${TMPFILE}4" > "${TMPFILE}5"
# remove inline comments
cut -d ' ' -f -2 "${TMPFILE}5" > "${TMPFILE}6"
# sort blocklist entries and remove duplicates
sort "${TMPFILE}6" | uniq > "${TMPFILE}7"
# remove unneeded blocked sites
grep -Ev ' dl.dropbox.com| host_you_want_to_whitelist' "${TMPFILE}7" > "${TMPFILE}9"
# write the user's hosts.local to head, then the blacklists
cat "${HOSTSDIR}"/hosts.local > "${OUTPUTFILE}"
cat "${TMPFILE}9" >> "${OUTPUTFILE}"
echo -e "# end of file" >> "${OUTPUTFILE}"
# move to /etc/hosts
mv "${OUTPUTFILE}" /etc/hosts
# delete temporary directory
rm -r -f "${TMPDIR}"
hosts.local
# /etc/hosts: static lookup table for host names
#<ip> <hostname.domain.org> <hostname>
127.0.0.1 localhost.localdomain localhost YOURHOSTSNAMEHERE
::1 localhost.localdomain localhost YOURHOSTSNAMEHERE
# YOUR PERSONAL list
# blocked list
Create an alias in your ~/.bashrc
alias hu='sudo /root/.hostsupdate/hosts_update'
Run
# hu <enter>
Script and cache must be located in /root/.hostsupdate or modify scrip accordingly
Cheers.
Last edited by ontobelli (2012-02-15 09:15:17) -
Problem updating 10.6.8 SWUpdate server to host Lion updates
Anyone else having problems following the directions in KB article "Mac OS X Server v10.6: Hosting Software Updates for OS X Lion or Lion Server" <http://support.apple.com/kb/HT4771?viewlocale=en_US>?
It's basically modifying a plist and a conf file, but when I look at MY .conf file I don't find the specified text to change? I've even checked the previous version of the file, and don't find the text.
TFA says:
In step 5, you will need root access to update the file /etc/swupd/swupd.conf. To be safe, make a backup copy of the file before editing it. Locate the following line near the end of the file:
RewriteCond %{HTTP_USER_AGENT} Darwin/11
Edit the following line to read:
RewriteRule ^/index\.sucatalog$ /index-lion-snowleopard-leopard.merged-1.sucatalog
But I'm not finding either of these lines in my own file.
Anyone have luck with this? Anyone run into the same issue?
TIA for any help!
-NickHmm, I'm having more of a problem now. Having re-started SUS, /etc/swupd/swupd.conf contains the required lines, so I stopped SUS again, edited swupd.conf as indicated and restarted SUS. All seems good, except when I checked back, swupd.conf has reverted back to how it was prior to my edit. IOW, the rewrite rules etc are there, but Darwin/10 and Darwin/11 are identical again with no mention of lion.
I've repeatedly edited the file, but every time SUS starts, it reverts the file. The swupd.conf.previous file actually contains the correct line, so looks like every time SUS starts it copies swupd.conf to swupd.conf.previous, but then creates a new swupd.conf based on something else.
I also edited /System/Library/PrivateFrameworks/SUServer.framework/Versions/A/Resources/swupd . conf to contain the correct line, but although it does seem to be retained, it doesn't help and /etc/swupd/swupd.conf ALWAYS reverts to the old incorrect line.
So, how worrying is this that Apple's own technical article on this subject is now wrong on 2 counts. First of all, swupd.conf is likely to initially not contain the line they are instructing us to modify and then if it does (because SUS has been restarted since they issued some update) editing the file is UTTERLY USELESS since starting SUS again just reverts the file. Sometimes I despair.
Anyway, SUS is obviously obtaining the file from somewhere else and writing /etc/swupd/swupd.conf on every start. So where is it getting it from? I cannot find any other instance of swupd.conf, so it's extracting it from something else. Anyone any idea where? -
EtreCheck says /etc/hosts file is Corrupted
EtreCheck says the Cofiguration files: /etc/host - Corrupted. Here is the EtreCheck Report and my actual hosts file from Terminal below:
How do I fix this? Thanks
EtreCheck version: 2.0.1 (82)
Report generated October 10, 2014 at 7:52:19 PM PDT
Hardware Information: ℹ️
iMac (27-inch, Late 2013) (Verified)
iMac - model: iMac14,2
1 3.2 GHz Intel Core i5 CPU: 4-core
8 GB RAM Upgradeable
BANK 0/DIMM0
4 GB DDR3 1600 MHz ok
BANK 1/DIMM0
4 GB DDR3 1600 MHz ok
BANK 0/DIMM1
empty empty empty empty
BANK 1/DIMM1
empty empty empty empty
Bluetooth: Good - Handoff supported
Wireless: en1: 802.11 a/b/g/n/ac
Video Information: ℹ️
NVIDIA GeForce GT 755M - VRAM: 1024 MB
iMac 2560 x 1440
System Software: ℹ️
OS X 10.9.5 (13F34) - Uptime: 0 days 5:59:33
Disk Information: ℹ️
APPLE SSD SM0256F disk0 : (251 GB)
S.M.A.R.T. Status: Verified
EFI (disk0s1) <not mounted> : 210 MB
iMac SSD (disk0s2) / [Startup]: 250.14 GB (202.02 GB free)
Recovery HD (disk0s3) <not mounted> [Recovery]: 650 MB
USB Information: ℹ️
Apple Inc. FaceTime HD Camera (Built-in)
Apple Inc. BRCM20702 Hub
Apple Inc. Bluetooth USB Host Controller
Wacom Co.,Ltd. CTT-460
Apple, Inc. Keyboard Hub
Apple, Inc Apple Keyboard
Thunderbolt Information: ℹ️
Apple Inc. thunderbolt_bus
Configuration files: ℹ️
/etc/hosts - Corrupt!
Gatekeeper: ℹ️
Mac App Store and identified developers
Kernel Extensions: ℹ️
/Applications/DiskWarrior.app
[not loaded] com.alsoft.Preview (4.4) Support
/Applications/VMware Fusion.app
[not loaded] com.vmware.kext.vmci (90.5.7) Support
[not loaded] com.vmware.kext.vmioplug.12.1.17 (12.1.17) Support
[not loaded] com.vmware.kext.vmnet (0188.79.83) Support
[not loaded] com.vmware.kext.vmx86 (0188.79.83) Support
[not loaded] com.vmware.kext.vsockets (90.5.7) Support
/System/Library/Extensions
[not loaded] com.wacom.kext.pentablet (5.2.6) Support
Launch Agents: ℹ️
[running] com.wacom.pentablet.plist Support
User Login Items: ℹ️
None
Internet Plug-ins: ℹ️
WacomNetscape: Version: 1.1.1-1 Support
Flip4Mac WMV Plugin: Version: 3.2.0.16 - SDK 10.8 Support
QuickTime Plugin: Version: 7.7.3
WacomTabletPlugin: Version: WacomTabletPlugin 2.0.0.4 Support
Default Browser: Version: 537 - SDK 10.9
Safari Extensions: ℹ️
Ghostery (Disabled)
FastestTube
YouTube5
NoMoreiTunes
3rd Party Preference Panes: ℹ️
PenTablet Support
Flip4Mac WMV Support
Perian Support
Time Machine: ℹ️
Time Machine not configured!
Top Processes by CPU: ℹ️
4% WindowServer
1% fontd
0% System Events
0% fseventsd
0% imagent
Top Processes by Memory: ℹ️
387 MB com.apple.IconServicesAgent
172 MB WindowServer
120 MB mds_stores
94 MB Grab
94 MB Finder
Virtual Memory Information: ℹ️
5.29 GB Free RAM
1.89 GB Active RAM
632 MB Inactive RAM
774 MB Wired RAM
676 MB Page-ins
0 B Page-outs
and here is my actual hosts file from Terminal:
Joses-iMac:~ josemontanez$ cat /etc/hosts
# Host Database
# localhost is used to configure the loopback interface
# when the system is booting. Do not change this entry.
127.0.0.1 localhost
255.255.255.255 broadcasthost
::1 localhost
fe80::1%lo0 localhost
m
Joses-iMac:~ josemontanezI have 95 corrupt configuration files in /etc/hosts. Here is my EtreCheck report and my Terminal report follows.
Hardware Information: ℹ️
iMac (24-inch Mid 2007) (Verified)
iMac - model: iMac7,1
1 2.8 GHz Intel Core 2 Duo CPU: 2-core
2 GB RAM Upgradeable
BANK 0/DIMM0
1 GB DDR2 SDRAM 667 MHz ok
BANK 1/DIMM1
1 GB DDR2 SDRAM 667 MHz ok
Bluetooth: Old - Handoff/Airdrop2 not supported
Wireless: en1: 802.11 a/b/g/n
Video Information: ℹ️
ATI,RadeonHD2600 - VRAM: 256 MB
iMac 1920 x 1200
System Software: ℹ️
OS X 10.10.2 (14C109) - Time since boot: 0:4:31
Disk Information: ℹ️
ST3500630AS Q disk0 : (500.11 GB)
EFI (disk0s1) <not mounted> : 210 MB
Macintosh HD (disk0s2) / : 499.25 GB (310.40 GB free)
Recovery HD (disk0s3) <not mounted> [Recovery]: 650 MB
USB Information: ℹ️
Apple Inc. Built-in iSight
LaCie Porsche Mobile for Mac 2 TB
EFI (disk1s1) <not mounted> : 210 MB
LaCie (disk1s2) /Volumes/LaCie : 2.00 TB (1.70 TB free)
Apple Inc. Bluetooth USB Host Controller
Apple Computer, Inc. IR Receiver
Configuration files: ℹ️
/etc/hosts - Count: 99 - Corrupt!
Gatekeeper: ℹ️
Mac App Store and identified developers
Kernel Extensions: ℹ️
/System/Library/Extensions
[not loaded] com.digidesign.fwfamily.driver (7.4f1) [Click for support]
[not loaded] com.digidesign.iokit.DigiDal (7.4f1) [Click for support]
[not loaded] com.digidesign.iokit.DigiIO (7.4f1) [Click for support]
[not loaded] com.digidesign.mbox2.boot.driver (7.4f1) [Click for support]
[not loaded] com.digidesign.mbox2.driver (7.4f1) [Click for support]
[not loaded] com.paceap.kext.pacesupport.master (5.5) [Click for support]
/System/Library/Extensions/PACESupportFamily.kext/Contents/PlugIns
[not loaded] com.paceap.kext.pacesupport.leopard (5.5) [Click for support]
[not loaded] com.paceap.kext.pacesupport.panther (5.5) [Click for support]
[not loaded] com.paceap.kext.pacesupport.tiger (5.5) [Click for support]
Startup Items: ℹ️
Digidesign Mbox 2: Path: /Library/StartupItems/Digidesign Mbox 2
DigidesignLoader: Path: /Library/StartupItems/DigidesignLoader
MySQLCOM: Path: /Library/StartupItems/MySQLCOM
PACESupport: Path: /Library/StartupItems/PACESupport
Qmaster: Path: /Library/StartupItems/Qmaster
Startup items are obsolete in OS X Yosemite
Launch Agents: ℹ️
[not loaded] com.adobe.AAM.Updater-1.0.plist [Click for support]
[loaded] com.divx.dms.agent.plist [Click for support]
[loaded] com.divx.update.agent.plist [Click for support]
[loaded] com.oracle.java.Java-Updater.plist [Click for support]
Launch Daemons: ℹ️
[loaded] com.adobe.fpsaud.plist [Click for support]
[loaded] com.adobe.SwitchBoard.plist [Click for support]
[loaded] com.adobe.versioncueCS3.plist [Click for support]
[running] com.digidesign.fwfamily.helper.plist [Click for support]
[loaded] com.microsoft.office.licensing.helper.plist [Click for support]
[loaded] com.oracle.java.Helper-Tool.plist [Click for support]
[failed] PACESupport.plist [Click for support]
User Launch Agents: ℹ️
[running] com.google.Chrome.framework.plist [Click for support]
[loaded] com.google.keystone.agent.plist [Click for support]
[loaded] com.spotify.webhelper.plist [Click for support]
User Login Items: ℹ️
iAntiVirus UNKNOWN Hidden (missing value)
Caffeine Application (/Applications/Caffeine.app)
Dropbox Application (/Applications/Dropbox.app)
X1100 Series Button Monitor Application Hidden (/Library/Application Support/Lexmark/X1100 Series Scanner.bundle/Contents/SharedSupport/X1100 Series Button Monitor.app)
EEventManager Application (/Applications/Epson Software/Event Manager.app/Contents/Resources/Assistants/Event Manager/EEventManager.app)
Internet Plug-ins: ℹ️
DirectorShockwave: Version: 12.1.3r153 - SDK 10.6 [Click for support]
nplastpass: Version: 2.5.5 [Click for support]
OVSHelper: Version: 1.1 [Click for support]
Default Browser: Version: 600 - SDK 10.10
Google Earth Web Plug-in: Version: 6.0 [Click for support]
RealPlayer Plugin: Version: Unknown
AdobePDFViewerNPAPI: Version: 11.0.09 - SDK 10.6 [Click for support]
FlashPlayer-10.6: Version: 16.0.0.305 - SDK 10.6 [Click for support]
DivX Web Player: Version: 3.2.4.1250 - SDK 10.6 [Click for support]
Silverlight: Version: 4.0.50401.0 [Click for support]
Flash Player: Version: 16.0.0.305 - SDK 10.6 [Click for support]
iPhotoPhotocast: Version: 7.0
QuickTime Plugin: Version: 7.7.3
SharePointBrowserPlugin: Version: 14.0.0 [Click for support]
AdobePDFViewer: Version: 11.0.09 - SDK 10.6 [Click for support]
JavaAppletPlugin: Version: Java 7 Update 55 Check version
User internet Plug-ins: ℹ️
BrowserPlus_2.9.8: Version: 2.9.8 [Click for support]
Safari Extensions: ℹ️
LastPass
Audio Plug-ins: ℹ️
DVCPROHDAudio: Version: 1.3
Digidesign CoreAudio: Version: 7.4 [Click for support]
3rd Party Preference Panes: ℹ️
Adobe Version Cue CS3 [Click for support]
BrowserPlus [Click for support]
Flash Player [Click for support]
Growl [Click for support]
Java [Click for support]
Time Machine: ℹ️
Auto backup: YES
Volumes being backed up:
Macintosh HD: Disk size: 499.25 GB Disk used: 188.85 GB
Destinations:
LaCie [Local]
Total size: 2.00 TB
Total number of backups: 24
Oldest backup: 2015-01-25 07:12:35 +0000
Last backup: 2015-03-07 17:57:35 +0000
Size of backup disk: Excellent
Backup size 2.00 TB > (Disk size 499.25 GB X 3)
Top Processes by CPU: ℹ️
5% Activity Monitor
5% recentsd
3% CalendarAgent
3% WindowServer
1% sysmond
Top Processes by Memory: ℹ️
268 MB mds_stores
75 MB Dropbox
69 MB ocspd
54 MB Dock
52 MB Activity Monitor
Virtual Memory Information: ℹ️
162 MB Free RAM
889 MB Active RAM
766 MB Inactive RAM
329 MB Wired RAM
1.03 GB Page-ins
29 KB Page-outs
Diagnostics Information: ℹ️
Mar 7, 2015, 10:23:52 AM Self test - passed
Mar 6, 2015, 10:50:33 PM /Library/Logs/DiagnosticReports/Spotify_2015-03-06-225033_[redacted].hang
Mar 6, 2015, 10:22:01 PM /Users/[redacted]/Library/Logs/DiagnosticReports/Dock_2015-03-06-222201_[redact ed].crash
Mar 6, 2015, 08:34:05 PM /Library/Logs/DiagnosticReports/Safari_2015-03-06-203405_[redacted].hang
TERMINAL REPORT:
Start time: 12:09:52 03/07/15
Model Identifier: iMac7,1
Memory: 2 GB
System Version: OS X 10.10.2 (14C109)
Kernel Version: Darwin 14.1.0
Time since boot: 1:46
Memory
BANK 0/DIMM0:
Size: 1 GB
Speed: 667 MHz
Status: OK
Manufacturer: 0xAD00000000000000
BANK 1/DIMM1:
Size: 1 GB
Speed: 667 MHz
Status: OK
Manufacturer: 0xAD00000000000000
SATA
ST3500630AS Q
USB
Porsche Mobile for Mac (LaCie)
Diagnostic reports
2015-02-06 coreduetd crash
2015-02-06 iTunes crash
2015-02-12 AddressBookSourceSync crash
2015-02-17 coreduetd crash
2015-02-17 iTunes crash
2015-03-06 Dock crash
2015-03-06 Safari hang
2015-03-06 Spotify hang
Log
Mar 7 10:25:12 BUG in process suhelperd[176]: over-released legacy external boost assertions (1 total, 1 external, 0 legacy-external)
Mar 7 10:25:12 BUG in process suhelperd[176]: over-released legacy external boost assertions (1 total, 1 external, 0 legacy-external)
Mar 7 10:25:12 BUG in process suhelperd[176]: over-released legacy external boost assertions (1 total, 1 external, 0 legacy-external)
Mar 7 10:25:12 BUG in process suhelperd[176]: over-released legacy external boost assertions (1 total, 1 external, 0 legacy-external)
Mar 7 10:25:12 BUG in process suhelperd[176]: over-released legacy external boost assertions (1 total, 1 external, 0 legacy-external)
Mar 7 10:25:12 BUG in process suhelperd[176]: over-released legacy external boost assertions (1 total, 1 external, 0 legacy-external)
Mar 7 10:25:12 BUG in process suhelperd[176]: over-released legacy external boost assertions (1 total, 1 external, 0 legacy-external)
Mar 7 10:25:12 BUG in process suhelperd[176]: over-released legacy external boost assertions (1 total, 1 external, 0 legacy-external)
Mar 7 10:25:12 BUG in process suhelperd[176]: over-released legacy external boost assertions (1 total, 1 external, 0 legacy-external)
Mar 7 10:25:12 BUG in process suhelperd[176]: over-released legacy external boost assertions (1 total, 1 external, 0 legacy-external)
Mar 7 10:25:12 BUG in process suhelperd[176]: over-released legacy external boost assertions (1 total, 1 external, 0 legacy-external)
Mar 7 10:25:12 BUG in process suhelperd[176]: over-released legacy external boost assertions (1 total, 1 external, 0 legacy-external)
Mar 7 10:25:12 BUG in process suhelperd[176]: over-released legacy external boost assertions (1 total, 1 external, 0 legacy-external)
Mar 7 10:25:12 BUG in process suhelperd[176]: over-released legacy external boost assertions (1 total, 1 external, 0 legacy-external)
Mar 7 10:25:12 BUG in process suhelperd[176]: over-released legacy external boost assertions (1 total, 1 external, 0 legacy-external)
Mar 7 10:25:12 BUG in process suhelperd[176]: over-released legacy external boost assertions (1 total, 1 external, 0 legacy-external)
Mar 7 10:25:12 BUG in process suhelperd[176]: over-released legacy external boost assertions (1 total, 1 external, 0 legacy-external)
Mar 7 10:25:12 BUG in process suhelperd[176]: over-released legacy external boost assertions (1 total, 1 external, 0 legacy-external)
Mar 7 10:25:12 BUG in process suhelperd[176]: over-released legacy external boost assertions (1 total, 1 external, 0 legacy-external)
Mar 7 10:25:12 BUG in process suhelperd[176]: over-released legacy external boost assertions (1 total, 1 external, 0 legacy-external)
Mar 7 10:25:12 BUG in process suhelperd[176]: over-released legacy external boost assertions (1 total, 1 external, 0 legacy-external)
Mar 7 10:25:12 BUG in process suhelperd[176]: over-released legacy external boost assertions (1 total, 1 external, 0 legacy-external)
Mar 7 10:25:12 BUG in process suhelperd[176]: over-released legacy external boost assertions (1 total, 1 external, 0 legacy-external)
Mar 7 10:25:47 proc 307: load code signature error 4 for file "garcon"
Mar 7 10:26:24 BUG in process suhelperd[176]: over-released legacy external boost assertions (0 total, 0 external, 0 legacy-external)
Daemons
com.paceap.pacesupport
com.adobe.versioncueCS3
com.microsoft.office.licensing.helper
com.oracle.java.Helper-Tool
com.adobe.SwitchBoard
com.adobe.fpsaud
com.digidesign.fwfamily.helper
Agents
com.google.Chrome.framework.service_process~/Library/Application_Support/Google /Chrome
com.oracle.java.Java-Updater
com.spotify.webhelper
com.google.keystone.user.agent
com.divx.update.agent
com.divx.dms.agent
launchd
/System/Library/LaunchDaemons/com.apple.installer.osmessagetracing.plist
- com.apple.installer.osmessagetracing
/Library/LaunchAgents/com.adobe.AAM.Updater-1.0.plist
- com.adobe.AAM.Startup-1.0
/Library/LaunchAgents/com.divx.dms.agent.plist
- com.divx.dms.agent
/Library/LaunchAgents/com.divx.update.agent.plist
- com.divx.update.agent
/Library/LaunchAgents/com.oracle.java.Java-Updater.plist
- com.oracle.java.Java-Updater
/Library/LaunchDaemons/com.adobe.fpsaud.plist
- com.adobe.fpsaud
/Library/LaunchDaemons/com.adobe.SwitchBoard.plist
- com.adobe.SwitchBoard
/Library/LaunchDaemons/com.adobe.versioncueCS3.plist
- com.adobe.versioncueCS3
/Library/LaunchDaemons/com.digidesign.fwfamily.helper.plist
- com.digidesign.fwfamily.helper
/Library/LaunchDaemons/com.microsoft.office.licensing.helper.plist
- com.microsoft.office.licensing.helper
/Library/LaunchDaemons/com.oracle.java.Helper-Tool.plist
- com.oracle.java.Helper-Tool
/Library/LaunchDaemons/PACESupport.plist
- com.paceap.pacesupport
Library/LaunchAgents/com.google.Chrome.framework.plist
- com.google.Chrome.framework.service_process~/Library/Application_Support/Google /Chrome
Library/LaunchAgents/com.google.keystone.agent.plist
- com.google.keystone.user.agent
Library/LaunchAgents/com.spotify.webhelper.plist
- com.spotify.webhelper
Startup items
/Library/StartupItems/Digidesign Mbox 2/CheckKextForOs
/Library/StartupItems/Digidesign Mbox 2/Digidesign Mbox 2
/Library/StartupItems/Digidesign Mbox 2/getCurrentUser
/Library/StartupItems/Digidesign Mbox 2/isJaguar
/Library/StartupItems/Digidesign Mbox 2/Mbox2CS
/Library/StartupItems/Digidesign Mbox 2/StartupParameters.plist
/Library/StartupItems/DigidesignLoader/DigidesignLoader
/Library/StartupItems/DigidesignLoader/StartupParameters.plist
/Library/StartupItems/MySQLCOM/MySQLCOM
/Library/StartupItems/MySQLCOM/StartupParameters.plist
/Library/StartupItems/PACESupport/PACESupport
/Library/StartupItems/PACESupport/Resources/PACESupport.plist
/Library/StartupItems/PACESupport/StartupParameters.plist
/Library/StartupItems/Qmaster/Qmaster
/Library/StartupItems/Qmaster/StartupParameters.plist
Bundles
/System/Library/Extensions/DigiDal.kext
- com.digidesign.iokit.DigiDal
/System/Library/Extensions/DigidesignFireWireAudio.kext
- com.digidesign.fwfamily.driver
/System/Library/Extensions/DigidesignMbox2.kext
- com.digidesign.mbox2.driver
/System/Library/Extensions/DigidesignMbox2Boot.kext
- com.digidesign.mbox2.boot.driver
/System/Library/Extensions/DigiIO.kext
- com.digidesign.iokit.DigiIO
/System/Library/Extensions/JMicronATA.kext
- com.jmicron.JMicronATA
/System/Library/Extensions/PACESupportFamily.kext
- com.paceap.kext.pacesupport.master
/Library/Audio/Plug-Ins/HAL/Digidesign CoreAudio.plugin
- com.digidesign.digidesign.DigiCoreAudioPlugIn
/Library/Internet Plug-Ins/AdobePDFViewer.plugin
- com.adobe.acrobat.pdfviewer
/Library/Internet Plug-Ins/AdobePDFViewerNPAPI.plugin
- com.adobe.acrobat.pdfviewerNPAPI
/Library/Internet Plug-Ins/DirectorShockwave.plugin
- com.adobe.director.shockwave.pluginshim
/Library/Internet Plug-Ins/DivX Web Player.plugin
- com.divx.DivXWebPlayer
/Library/Internet Plug-Ins/Google Earth Web Plug-in.plugin
- com.Google.GoogleEarthPlugin.plugin
/Library/Internet Plug-Ins/JavaAppletPlugin.plugin
- com.oracle.java.JavaAppletPlugin
/Library/Internet Plug-Ins/nplastpass.plugin
- com.lastpass.nplastpass
/Library/Internet Plug-Ins/OVSHelper.plugin
- com.divx.OVSHelper
/Library/Internet Plug-Ins/SharePointBrowserPlugin.plugin
- com.microsoft.sharepoint.browserplugin
/Library/Internet Plug-Ins/SharePointWebKitPlugin.webplugin
- com.microsoft.sharepoint.webkitplugin
/Library/Internet Plug-Ins/Silverlight.plugin
- com.microsoft.SilverlightPlugin
/Library/PreferencePanes/Flash Player.prefPane
- com.adobe.flashplayerpreferences
/Library/PreferencePanes/JavaControlPanel.prefPane
- com.oracle.java.JavaControlPanel
/Library/PreferencePanes/VersionCueCS3.prefPane
- com.adobe.versioncueCS3.VCPrefPane
/Library/QuickTime/FLV.component
- com.macromedia.FLVExporter
/Library/QuickTime/FLV.component/Contents/Resources
- com.macromedia.FLVExporter
/Library/ScriptingAdditions/Adobe Unit Types.osax
- N/A
Library/Address Book Plug-Ins/SkypeABDialer.bundle
- com.skype.skypeabdialer
Library/Address Book Plug-Ins/SkypeABSMS.bundle
- com.skype.skypeabsms
Library/Caches/com.apple.Safari/Extensions/LastPass.safariextension
- com.lastpass.lpsafariextension
Library/Internet Plug-Ins/BrowserPlus_2.9.8.plugin
- com.yahoo.browserplus
Library/iTunes/iTunes Plug-ins/AudioScrobbler.bundle
- N/A
Library/PreferencePanes/BrowserPlusPrefs.prefPane
- com.yahoo.browserplus.prefpane
Library/PreferencePanes/Growl.prefPane
- com.growl.prefpanel
Library/Widgets/Tumblet.wdgt
- com.tumblr.tumblet
Apps
/Applications/Dropbox.app
Contents of /etc/hosts
127.0.0.1 192.150.14.69
127.0.0.1 192.150.18.101
127.0.0.1 192.150.18.108
127.0.0.1 192.150.22.40
127.0.0.1 192.150.8.100
127.0.0.1 192.150.8.118
127.0.0.1 209-34-83-73.ood.opsource.net
127.0.0.1 3dns-1.adobe.com
127.0.0.1 3dns-2.adobe.com
127.0.0.1 3dns-2.adobe.com
127.0.0.1 3dns-3.adobe.com
127.0.0.1 3dns-3.adobe.com
127.0.0.1 3dns-4.adobe.com
127.0.0.1 3dns.adobe.com
127.0.0.1 activate-sea.adobe.com
127.0.0.1 activate-sjc0.adobe.com
127.0.0.1 activate.adobe.com
127.0.0.1 activate.wip.adobe.com
127.0.0.1 activate.wip1.adobe.com
127.0.0.1 activate.wip2.adobe.com
127.0.0.1 activate.wip3.adobe.com
127.0.0.1 activate.wip3.adobe.com
127.0.0.1 activate.wip4.adobe.com
127.0.0.1 adobe-dns-1.adobe.com
127.0.0.1 adobe-dns-2.adobe.com
...and 79 more line(s)
Contents of /System/Library/LaunchDaemons/com.apple.installer.osmessagetracing.plist (XML document text)
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Label</key>
<string>com.apple.installer.osmessagetracing</string>
<key>LaunchOnlyOnce</key>
<true/>
<key>ProgramArguments</key>
<array>
<string>/System/Library/PrivateFrameworks/OSInstaller.framework/Resources/OSMes sageTracer</string>
</array>
<key>UserName</key>
<string>root</string>
<key>GroupName</key>
<string>wheel</string>
<key>WatchPaths</key>
<array>
<string>/var/db/.AppleDiagnosticsSetupDone</string>
</array>
</dict>
</plist>
Global login items
/Library/Application Support/Lexmark/X1100 Series Scanner.bundle/Contents/SharedSupport/X1100 Series Button Monitor.app
/Applications/Epson Software/Event Manager.app/Contents/Resources/Assistants/Event Manager/EEventManager.app
Font issues: 15
Listeners
launchd: printer
launchd: printer
cupsd: ipp
User login items
iAntiVirus
- missing value
Caffeine
- /Applications/Caffeine.app
Dropbox
- /Applications/Dropbox.app
X1100 Series Button Monitor
- /Library/Application Support/Lexmark/X1100 Series Scanner.bundle/Contents/SharedSupport/X1100 Series Button Monitor.app
EEventManager
- /Applications/Epson Software/Event Manager.app/Contents/Resources/Assistants/Event Manager/EEventManager.app
Safari extensions
LastPass
Restricted files: 10398
Elapsed time (s): 496 -
Hello People
i have installed 11.2.0.1 on oracle linux release 5 update 7 and is working fine
i have logged into the actual system where i installed and checked that sqlplus "/as sysdba" is working and i can log into the database
my company has all its computers connected by a lan cable that provides both file sharing and internet connection..
so is this what dhcp means??
because, i think so,so here is what my /etc/hosts file looks like
127.0.0.1 unknown485b39d0b515.local.lan unknown485b39d0b515
127.0.0.1 localhost.localdomain localhost
yeah it has only two lines(my bad, i had been doing some tweaking)
my ifconfig output looks like this
eth0 Link encap:Ethernet HWaddr 48:5B:39:D0:B5:15
inet addr:192.168.1.3 Bcast:192.168.1.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:21980 errors:0 dropped:0 overruns:0 frame:0
TX packets:14479 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:17251832 (16.4 MiB) TX bytes:1814446 (1.7 MiB)
Interrupt:27 Base address:0x8000
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:4439 errors:0 dropped:0 overruns:0 frame:0
TX packets:4439 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:2788171 (2.6 MiB) TX bytes:2788171 (2.6 MiB)
virbr0 Link encap:Ethernet HWaddr 2E:12:83:50:CA:6A
inet addr:192.168.122.1 Bcast:192.168.122.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:23 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 b) TX bytes:4190 (4.0 KiB)
and the error i am right now getting is this
[oracle@unknown485b39d0b515 ~]$ sqlplus "/as sysdba"
SQL*Plus: Release 11.2.0.1.0 Production on Wed Aug 8 12:03:27 2012
Copyright (c) 1982, 2009, Oracle. All rights reserved.
ERROR:
ORA-12547: TNS:lost contact
tell me if i need to elaborate on anything
thanks in advanceHi,
In the etc/hosts you have add ur ip address with hostname, something like this it should be.
127.0.0.1 localhost.localdomain localhost
10.93.10.XX mysystem.localdomai
because, i think so,so here is what my /etc/hosts file looks like
127.0.0.1 unknown485b39d0b515.local.lan unknown485b39d0b515
127.0.0.1 localhost.localdomain localhostFor the below TNS lost contact error, recently I faced a similar kind of error:
and the error i am right now getting is this
[oracle@unknown485b39d0b515 ~]$ sqlplus "/as sysdba"
SQL*Plus: Release 11.2.0.1.0 Production on Wed Aug 8 12:03:27 2012
Copyright (c) 1982, 2009, Oracle. All rights reserved.
ERROR:
ORA-12547: TNS:lost contact
Check your ORACLE_HOME/bin folders rights.
$ ls -ltr oracle
-rwxr-xr-x 1 oracle dba 25485683 Jul 2 12:02 oracle
$ chmod 6751 oracle
$ ls -ltr oracle
-rwsr-s--x 1 oracle dba 25485683 Jul 2 12:02 oracle
And check whether your user has dba group.
This may help you..
Thanks,
nonuday -
Hi all,
Please help sorting my terminal, I'm having problem with my iTune everytime I want to update or restore my ipad or iphone, it keep saying "this device isn't eligible for the requested build"
Now I tried to edit the etc/hosts using the Terminal, but suddenly all the script
# Host Database
# localhost is used to configure the loopback interface
# when the system is booting. Do not change this entry.
127.0.0.1 localhost
255.255.255.255 broadcasthost
::1 localhost
fe80::1%lo0 localhost
#74.208.10.249 gs.apple.com
#127.0.0.1 gs.apple.com
are all gone i think i accidentally deleted it. so what I did was I copy this from forum and paste it to terminal.
But i'm having problem how to save it, when I press ^O it goes like this:
# Host Database
# localhost is used to configure the loopback interface
# when the system is booting. Do not change this entry.
127.0.0.1 localhost
255.255.255.255 broadcasthost
::1 localhost
fe80::1%lo0 localhost
#74.208.10.249 gs.apple.com
#127.0.0.1 gs.apple.com
File Name to Write: etc/hosts
^G Get Help ^T To Files M-M Mac Format M-P Prepend
^C Cancel M-D DOS Format M-A Append M-B Backup File
and I dont know how to save it. when I press ^X doesn't save at all.
Please Help me.
Thank you in advance.Well lets make things easier, get out of Terminal by just Quiting it or Force Quit.
Download the free TextWrangler here
http://www.barebones.com/products/textwrangler/download.html
Now under the File Menu >Open File by Name
/etc/hosts
It should look like this, if not then just copy and paste it in.
# Host Database
# localhost is used to configure the loopback interface
# when the system is booting. Do not change this entry.
127.0.0.1 localhost
255.255.255.255 broadcasthost
::1 localhost
fe80::1%lo0 localhost
Now save it and give it your admin password and that's it. Easy as pie.
Terminal's pico and vi editing programs have a lot to be desired, but serve the basic puposes.
With Terminal you need to enter
sudo pico /etc/hosts
then enter your admin password to access a system file.
It can only be done via a Admin account, however with TextWrangler not only is it much easier, you can also access system files from a Standard user account.
the two lines
#74.208.10.249 gs.apple.com
#127.0.0.1 gs.apple.com
You have there are "commented out" with the "#" symbol, basically your telling the computer to "ignore this line"
Why you think messing with your /etc/hosts file is going to solve your primary issue with iTunes/iPad/iPhone is beyond me.
Did you ever think that perhaps your two devices are too old for the "requested build"? -
File /etc/hosts in the zone replaced aft patching
Hi ALL,
I've had this problem after patching on gloabal zone and attach -u of the zone..
The file /etc/hosts of the zone has been replaced with the same file of the global.
What could be happens ??
Regards
Max
Edited by: 878770 on 11-ago-2011 1.47
Edited by: 878770 on 11-ago-2011 3.03I also had a case where zoneadm attach -u changed the hostname of a zone from FQDN, i.e. "zonename.mydomain.com", to just "zonename".
Never bothered to figure out why, but it caused an application to fail..
.7/M.
Edited by: abrante on Aug 11, 2011 12:26 PM
Update: after writing this post i changed the zone for a sysidcfg file, and it had a sysidcfg file which set the hostname to just 'zonename', so this was also caused by a /etc/sysidcfg file. -
Appending a blocklist to /etc/hosts
Is it possible to append a blocklist (er... redirectlist) to /etc/hosts somehow?
For example, mvps has been supplying a very nice list of known parasite websites for years. Basically, it just uses 127.0.0.1 to redirect known bad websites so they don't load. It's a nice system-wide method to block them. I have been pasting their list into my /etc/hosts but am wondering if I can someone call it as I do in bash scripts.
For example, this doesn't work, but you get idea:
$ cat /etc/hosts
127.0.0.1 localhost.localdomain localhost novelty
192.168.1.1 router
192.168.1.2 inky
192.168.1.3 blinky
. /etc/hostsmvps # try to load the mvps redirect listWintervenom wrote:
Copy your local machine and network hosts to "/etc/hosts.local," then:
#!/bin/dash
### MVPS Hosts Updater #########
# Version 0.3 by Scott Garrett #
# Wintervenom [(at)] gmail.com #
# Download the MVPS hosts file.
wget -c -O /tmp/hosts.txt http://www.mvps.org/winhelp2002/hosts.txt
# Be paranoid and replace every IP address with 0.0.0.0. We also get
# only want the actual blacklist, 'cause we want to prepend the user's
# own hosts. 0.0.0.0 is nicer than constantly knocking on localhosts' door.
sed -r -e 's:^([0-9]{1,3}\.){3}[0-9]{1,3}:0.0.0.0:' /tmp/hosts.txt > /tmp/hosts.new.txt
tail -n+`grep -nF 'start of lines' /tmp/hosts.new.txt | cut -d':' -f1` /tmp/hosts.new.txt > /tmp/hosts.txt
# Write this new list over the system hosts list. MVPS' line feeds
# are \n\r; we will be getting rid of those dirty carriage returns.
# We'll first write the user's hosts head, then the black list.
cat /etc/hosts.local > /etc/hosts
cat /tmp/hosts.txt | tr -d "\r" >> /etc/hosts
rm /tmp/hosts*.txt
# This is the end!
Thanks for the script, I actually wrote one very similar to yours but then thought I'd ask about sourcing it like a bash script does...
Last edited by graysky (2010-10-10 16:04:16) -
Sudo nano etc/hosts can't save
Hi all,
Please help sorting my terminal, I'm having problem with my iTune evrytime I want to update or restore my ipad or iphone, it keep saying "this device isn't eligible for the requested build"
Now I tried to edit the etc/hosts using the Terminal, but suddenly all the script
# Host Database
# localhost is used to configure the loopback interface
# when the system is booting. Do not change this entry.
127.0.0.1 localhost
255.255.255.255 broadcasthost
::1 localhost
fe80::1%lo0 localhost
#74.208.10.249 gs.apple.com
#127.0.0.1 gs.apple.com
are all gone i think i accidentally deleted it. so what i did was copy this from forum and paste it to terminal.
But i'm having problem to save it when I press ^O it goes like this:
# Host Database
# localhost is used to configure the loopback interface
# when the system is booting. Do not change this entry.
127.0.0.1 localhost
255.255.255.255 broadcasthost
::1 localhost
fe80::1%lo0 localhost
#74.208.10.249 gs.apple.com
#127.0.0.1 gs.apple.com
File Name to Write: etc/hosts
^G Get Help ^T To Files M-M Mac Format M-P Prepend
^C Cancel M-D DOS Format M-A Append M-B Backup File
and I dont know how to save it. when I press ^X doesn't save at all.
Please Help me.
Thank you in advance.Thanks.
What's this "sudo dscacheutil -flushcache"???
Why show this "when the system is booting. Do not change this entry."????
Can i add what i want between 127.0.0.1 localhost and 255.255.255.255 broadcasthost?
Why is saying i can't change the file, why can i unprotect? Explain me.
Thanks in advance
Message was edited by: NunoPortugal -
Pacman ignores /etc/hosts
I use csslayer-aur-repo which is placed on googlecode.com server, however csslayer-aur-repo.googlecode.com sometimes returns IP of server which doesn't seem to have csslayer-aur-repo.db.tar.gz file. As a workaround i've put csslayer-aur-repo.googlecode.com in /etc/hosts with an IP which works just fine. I've tested it with wget and ping, and both of them seem to use this "new" IP address. However pacman seems to ignore /etc/hosts and picks that random IP which mostly leads to "404 not found" error when doing pacman -Syu/Syy/Sy.
Here is my /etc/hosts
# /etc/hosts: static lookup table for host names
#<ip-address> <hostname.domain.org> <hostname>
127.0.0.1 localhost.localdomain localhost Archie
209.85.135.82 csslayer-aur-repo.googlecode.com
# End of file
and here is the repo entry from pacman.conf:
[csslayer-aur-repo]
Server = http://csslayer-aur-repo.googlecode.com/filesYup, wget fetches http://csslayer-aur-repo.googlecode.com … .db.tar.gz just fine and it uses the IP specified in /etc/hosts.
Surely pacman does not deploy its own DNS server, but seems to ignore /etc/hosts. If i remove csslayer line from /etc/hosts then wget also will fail.
[hash@Archie ~]$ wget http://csslayer-aur-repo.googlecode.com/files/csslayer-aur-repo.db.tar.gz
--2010-07-26 18:54:29-- http://csslayer-aur-repo.googlecode.com/files/csslayer-aur-repo.db.tar.gz
Translacja csslayer-aur-repo.googlecode.com... 209.85.135.82
Łączenie się z csslayer-aur-repo.googlecode.com|209.85.135.82|:80... połączono.
Żądanie HTTP wysłano, oczekiwanie na odpowiedź... 200 OK
Długość: 1190 (1,2K) [application/x-gzip]
Zapis do: `csslayer-aur-repo.db.tar.gz'
100%[=============================================================================================================================================================================>] 1.190 --.-K/s w 0,02s
2010-07-26 18:54:30 (72,5 KB/s) - zapisano `csslayer-aur-repo.db.tar.gz' [1190/1190]
[hash@Archie ~]$ pacman -Syu
:: Synchronizing package databases...
kde-unstable is up to date
core is up to date
extra is up to date
community is up to date
error: nie udało się pobrać pliku 'csslayer-aur-repo.db.tar.gz' z csslayer-aur-repo.googlecode.com : Not Found
error: failed to update csslayer-aur-repo (Not Found)
Last edited by hash (2010-07-26 16:55:47) -
Proper /etc/hosts for my situation
Hello all,
I just (finally) got set up through an ISP which assigns me (well the DSL modem) a publicly routable dynamic address. Anyway, I've setup a dyndns.org hostname, and ddclient to update it, and it routes beautifully to my linux box, through the dsl modem which has the ssh port (and other services as they come up) forwarded to the proper box.
Anyway, I was updating my /etc/hosts, and I'm wondering if I have it setup correctly.
#<ip-address> <hostname.domain.org> <hostname>
127.0.0.1 XXXXXXXX.homelinux.org localhost.localdomain localhost XXXXXXXX
192.168.0.51 XXXXXXXX.homelinux.org XXXXXXXX
192.168.0.50 regulator-pc regulator-pc.localdomain
192.168.0.1 qwest-modem qwest-modem.localdomain
192.168.0.2 regulator-bridge regulator-bridge.localdomain
# End of file
Please replace all instances of XXXXXXXX with my actual hostname.
This box (XXXXXXXX) has a static IP of 192.168.0.51, is that line correct?
I've left the (hostname.localdoman) stuff in my hosts lists since at one point I had a caching bind server running on my local net, but I've yet to set that up on this network.
regulator-bridge is my dd-wrt'd wrt54g, which now is set up in client bridge mode to allow the boxes with ethernet ports to join the network (routed off the DSL modem), and so I don't have to run an ethernet cable across the living room to the DSL modem. Works like a champ.
Appreciate any input.
Thanks.Hi,
In the etc/hosts you have add ur ip address with hostname, something like this it should be.
127.0.0.1 localhost.localdomain localhost
10.93.10.XX mysystem.localdomai
because, i think so,so here is what my /etc/hosts file looks like
127.0.0.1 unknown485b39d0b515.local.lan unknown485b39d0b515
127.0.0.1 localhost.localdomain localhostFor the below TNS lost contact error, recently I faced a similar kind of error:
and the error i am right now getting is this
[oracle@unknown485b39d0b515 ~]$ sqlplus "/as sysdba"
SQL*Plus: Release 11.2.0.1.0 Production on Wed Aug 8 12:03:27 2012
Copyright (c) 1982, 2009, Oracle. All rights reserved.
ERROR:
ORA-12547: TNS:lost contact
Check your ORACLE_HOME/bin folders rights.
$ ls -ltr oracle
-rwxr-xr-x 1 oracle dba 25485683 Jul 2 12:02 oracle
$ chmod 6751 oracle
$ ls -ltr oracle
-rwsr-s--x 1 oracle dba 25485683 Jul 2 12:02 oracle
And check whether your user has dba group.
This may help you..
Thanks,
nonuday -
Is there a way to manually add older software updates to the software update service?
My issue started out like this. I would click change version beside both Mac OS X update/combo update v10.6.6 and select v10.6.5 because I want to push the older version. When I clicked save the check marks went away on those two items. I then figured I would refresh everything by renaming /var/db/swupd/http to /var/db/swupd/http-old and /etc/swupd/ to /etc/swupd-old. I restarted the service and all of the files were recreated and updates were downloaded but now when I click change version the older version is no longer available. Keep in mind that I still have the old folders so I can always go back and I can always download old updates from the Apple web site if need be. So if there is a way to manually add older updates hopefully my issue will be resolved. It was written in the description of Mac OS X Server v10.6.5 that a new feature was available that allowed hosting older updates but I can't find instructions on how to do so.
I welcome any takers. Thanks in advance!I understood the older version only being able to be hosted/downloaded when they come available, but were updated on SUS due to a bug or something, so as far as I understood, apple wont let you host that VERSION of that file again, unless you had it before.
Essentially, they only allow sus to download the last version of it, if you had the one before the last version, you could keep it. I could/might/usually am wrong though.
my 2 cents -
Entries in /etc/hosts are being ingored.
I added
209.132.176.175 bugzilla.gnome.org
to /etc/hosts and restarted Xserver, network service and my pppoe connection.
And the entry in /etc/hosts is is being ignored. Any idea how to debug this weird behavior?Ah, now I see what your problem is :-)
What if you ping bugzilla.gnome.org? Does that reach 209.132.176.175?
-edit-
It seems that Firefox simply doesn't use /etc/hosts at all. Solution (if don't want to wait for your DNS servers to get updated): install dnsmasq, cp /etc/resolv.conf /etc/resolv.conf.2, change nameserver in resolv.conf to 127.0.0.1, change resolv-file to resolv.conf.2 and add bugzilla.gnome.org to address field in dnsmasq.conf and start /etc/rc.d/dnsmasq. You'd have to make sure ppooe doesn't overwrite resolv.conf (it'd have to write to resolv.conf.2). Additional benefit: local caching of DNS queries (=> faster browsing).
Last edited by lucke (2007-10-21 23:23:42) -
Configuration files: ️ /etc/hosts - Count: 44 mean
I used etrecheck on my laptop because it is very slow and the result is below. what does it mean:
Configuration files: ℹ️
/etc/hosts - Count: 44EtreCheck version: 2.1.5 (108)
Report generated 11 January 2015 23:23:35 GMT+3
Click the [Support] links for help with non-Apple products.
Click the [Details] links for more information about that line.
Click the [Adware] links for help removing adware.
Hardware Information: ℹ️
MacBook Pro (13-inch, Mid 2012) (Verified)
MacBook Pro - model: MacBookPro9,2
1 2.5 GHz Intel Core i5 CPU: 2-core
4 GB RAM Upgradeable
BANK 0/DIMM0
2 GB DDR3 1600 MHz ok
BANK 1/DIMM0
2 GB DDR3 1600 MHz ok
Bluetooth: Good - Handoff/Airdrop2 supported
Wireless: en1: 802.11 a/b/g/n
Video Information: ℹ️
Intel HD Graphics 4000
Color LCD 1280 x 800
System Software: ℹ️
OS X 10.10.1 (14B25) - Uptime: one day 21:23:36
Disk Information: ℹ️
APPLE HDD ST500LM012 disk0 : (500.11 GB)
EFI (disk0s1) <not mounted> : 210 MB
Recovery HD (disk0s3) <not mounted> [Recovery]: 650 MB
Macintosh HD (disk1) / : 498.88 GB (252.55 GB free)
Encrypted AES-XTS Unlocked
Core Storage: disk0s2 499.25 GB Online
MATSHITADVD-R UJ-8A8
USB Information: ℹ️
Apple Inc. BRCM20702 Hub
Apple Inc. Bluetooth USB Host Controller
Apple Computer, Inc. IR Receiver
Apple Inc. Apple Internal Keyboard / Trackpad
Apple Inc. FaceTime HD Camera (Built-in)
Thunderbolt Information: ℹ️
Apple Inc. thunderbolt_bus
Configuration files: ℹ️
/etc/hosts - Count: 44
Gatekeeper: ℹ️
Mac App Store and identified developers
Kernel Extensions: ℹ️
/Applications/Toast 11 Titanium/Spin Doctor.app
[loaded] com.hzsystems.terminus.driver (4) [Support]
/Applications/Toast 11 Titanium/Toast Titanium.app
[not loaded] com.roxio.BluRaySupport (1.1.6) [Support]
/Library/Application Support/VirtualBox
[loaded] org.virtualbox.kext.VBoxDrv (4.3.16) [Support]
[loaded] org.virtualbox.kext.VBoxNetAdp (4.3.16) [Support]
[loaded] org.virtualbox.kext.VBoxNetFlt (4.3.16) [Support]
[loaded] org.virtualbox.kext.VBoxUSB (4.3.16) [Support]
/Users/[redacted]/Library/Services/ToastIt.service/Contents/MacOS
[not loaded] com.roxio.TDIXController (2.0) [Support]
Startup Items: ℹ️
MobileBrServ: Path: /Library/StartupItems/MobileBrServ
Startup items are obsolete in OS X Yosemite
Launch Agents: ℹ️
[not loaded] com.adobe.AAM.Updater-1.0.plist [Support]
[loaded] com.adobe.CS5ServiceManager.plist [Support]
Launch Daemons: ℹ️
[loaded] com.adobe.fpsaud.plist [Support]
[invalid?] com.adobe.SwitchBoard.plist [Support]
[loaded] com.macpaw.CleanMyMac2.Agent.plist [Support]
[loaded] com.microsoft.office.licensing.helper.plist [Support]
[not loaded] org.virtualbox.startup.plist [Support]
User Launch Agents: ℹ️
[loaded] com.adobe.ARM.[...].plist [Support]
[loaded] com.adobe.ARM.[...].plist [Support]
[invalid?] com.google.GoogleContactSyncAgent.plist [Support]
[loaded] com.google.keystone.agent.plist [Support]
[loaded] com.macpaw.CleanMyMac2Helper.diskSpaceWatcher.plist [Support]
[loaded] com.macpaw.CleanMyMac2Helper.scheduledScan.plist [Support]
[running] com.macpaw.CleanMyMac2Helper.trashWatcher.plist [Support]
[not loaded] org.virtualbox.vboxwebsrv.plist [Support]
User Login Items: ℹ️
iTunesHelper Application (/Applications/iTunes.app/Contents/MacOS/iTunesHelper.app)
Google Drive Application (/Applications/Google Drive.app)
BitTorrent Sync UNKNOWN (missing value)
AdobeResourceSynchronizer Application (/Applications/Adobe Reader.app/Contents/Support/AdobeResourceSynchronizer.app)
Android File Transfer Agent Application (/Users/[redacted]/Library/Application Support/Google/Android File Transfer/Android File Transfer Agent.app)
Dropbox Application (/Applications/Dropbox.app)
AdobeResourceSynchronizer Application (/Applications/Adobe Acrobat XI Pro/Adobe Acrobat Pro.app/Contents/Support/AdobeResourceSynchronizer.app)
EvernoteHelper Application (/Applications/Evernote.app/Contents/Library/LoginItems/EvernoteHelper.app)
Internet Plug-ins: ℹ️
Flip4Mac WMV Plugin: Version: 3.2.0.16 - SDK 10.8 [Support]
FlashPlayer-10.6: Version: 16.0.0.235 - SDK 10.6 [Support]
AdobeAAMDetect: Version: AdobeAAMDetect 1.0.0.0 - SDK 10.6 [Support]
AdobePDFViewerNPAPI: Version: 11.0.10 - SDK 10.6 [Support]
AdobePDFViewer: Version: 11.0.10 - SDK 10.6 [Support]
Flash Player: Version: 16.0.0.235 - SDK 10.6 [Support]
Default Browser: Version: 600 - SDK 10.10
QuickTime Plugin: Version: 7.7.3
SharePointBrowserPlugin: Version: 14.2.0 - SDK 10.6 [Support]
Silverlight: Version: 5.1.30514.0 - SDK 10.6 [Support]
JavaAppletPlugin: Version: 15.0.0 - SDK 10.10 Check version
Safari Extensions: ℹ️
MacCaptain [Installed]
3rd Party Preference Panes: ℹ️
Flash Player [Support]
Flip4Mac WMV [Support]
Growl [Support]
Time Machine: ℹ️
Time Machine not configured!
Top Processes by CPU: ℹ️
8% Contacts
7% WindowServer
6% Safari
4% CVMCompiler
2% hidd
Top Processes by Memory: ℹ️
136 MB Safari
99 MB Mail
86 MB AdobeAcrobat
77 MB mds_stores
73 MB Finder
Virtual Memory Information: ℹ️
523 MB Free RAM
2.03 GB Active RAM
593 MB Inactive RAM
833 MB Wired RAM
14.81 GB Page-ins
267 MB Page-outs
Diagnostics Information: ℹ️
Jan 11, 2015, 09:17:03 PM /Library/Logs/DiagnosticReports/DesktopServicesHelper_2015-01-11-211703_[redact ed].cpu_resource.diag [Details]
Jan 10, 2015, 11:29:22 AM /Users/[redacted]/Library/Logs/DiagnosticReports/garcon_2015-01-10-112922_[reda cted].crash
Jan 10, 2015, 02:00:53 AM Self test - passed
Maybe you are looking for
-
Using variable in the Like Search
Hello, I am having some trouble in writing the query for the below requirement. I have a variable @LineName whose value is 'WEP3' and the datatype is varchar(50). I have a table called CacheStore which has the below columns ID SearchWord
-
IPod Classic 80gb Battery Drain
Perhaps I can get some input or perhaps I can help others. I bought my iPod off of an eBay site. About day 101 and 11 days after the warranty expired, the Battery would no longer hold a charge. I would charge it overnight and the next day the battery
-
I am using Windows Vista. Both LastPass and the auto form filler have disappeared from my toolbar. Is there a way to retrieve this information or do I need to start again?
-
Hello All. A function module (RFC_READ_TABLE) is called from Web Dynpro Java application using Adaptive RFC model. When the number of returned data records is above 20000 Java engine stops. It there any settings to increase Web Dynpro cache size or s
-
Can Titles and Comments go with the photo from iPhoto when the photo is moved to another Library, put on a CD or DVD, emailed or used in Pages?