Can /etc/httpd/conf/httpd.conf config affect php error display?
If error display is on in php.ini, can anything from "/etc/httpd/conf/httpd.conf" affect this option so errors won't be shown?
Yes, with PHP as Apache module, a directive like:
php_admin_flag display_errors off
can or, eventually:
php_admin_value error_reporting <number>
But these shouldn't be used.
Last edited by julp (2011-07-28 22:20:37)
Similar Messages
-
Error in Doc B15661-01: /etc/sysctl.conf rmem & wmem
Editing the file /etc/sysctl.conf
there is an error/typo in the kernel parameters, on Suse 9
the entries should be like this:
net.core.rmem_default = 262144
net.core.rmem_max = 262144
net.core.wmem_default = 262144
net.core.wmem_max = 262144
This should make the changes permanent.Thank you. Your feedback has been forwarded to the doc writer.
Regards,
Chao -
How to make/save changes to the file - /etc/httpd/httpd.conf - in Terminal
I'm new to Unix/Terminal and am attempting to make changes in the Apache Web server's configuation file - /etc/httpd/httpd.conf - so that I can use PHP locally. (The "LoadModule php4" has a "#" mark in front of it which I am attempting to remove.) This approach is suggested in the book "Dreamweaver MX 2004 with asp, coldfusion, and php." The book includes instructions on how to adjust the files using pico in Terminal. But the book doesn't explain how to work with Unix/Terminal to enable the right access permission to save the changes in Terminal. I've been able to make the changes in pico the book recommends, but I'm not able to save the changes. I'm the only user of the computer.
Please advise how to be able to save the changes. Thank you!
G4 Mac OS X (10.3.9)
G4 Mac OS X (10.3.9)
G4 Mac OS X (10.3.9)jamesk,
httpd.conf is owned by 'root'. therefore, to save your changes you need to use 'sudo' when editing the file. before you do that, you should type in
man sudo
and read about what sudo actually does. be aware that it can give you all-encompassing power to do many things - including messing things up.
once you have read about sudo, first do (substitute full paths, if necessary - e.g. /etc/httpd/httpd.conf for httpd.conf)
sudo cp httpd.conf httpd.conf.bak
to backup your httpd.conf file (in case you make an error), then do
sudo nano httpd.conf
to make your changes, then save the file.
then do
sudo apachectl configtest
to test changes to the server config (it should let you know if there is an error).
finally do
sudo apachectl graceful
to restart the server and re-read the config file.
cheers,
b -
Virgin /etc/httpd/httpd.conf
Hi, I tried to install php5 from the entropy site. I got install errors. PWS would then hang during startup. Checked error log and it showed a problem with httpd.conf. I saw a few different versions in the /etc/httpd directory. I sudo cp-ed a few and finally found one to work (i.e. PWS is up). "View this computer’s website at http://10.0.1.7/ or your personal website at http://10.0.1.7/~rob/"
However Document root is set to the apache directory (I can see it in httpd.conf). If I enter the url indicated by the PWS preferences as the "computer's website" I get the generic apachepage. If I enter url http://10.0.1.7/~rob/" I get:
Not Found
The requested URL /~rob/ was not found on this server.
Apache/1.3.33 Server at robsmacbook.local Port 80
I guess this does not surprise me. Any idea on how to restore the virgin httpd.conf? Will archive and install do it?
Alternatively, is there a way to get TextEdit to open this file and save it unformated?
Also any way to get finder to access the / directory? I had to delete files, directories, and links to make php5 go away. Doing this in terminal makes me feel old.Without knowing what you've done to get to the point you are at now, it's impossible to say whether rolling back the httpd.conf file will fix any of your problems, or even create new ones.
The good news is that you already have a virgin copy - Apple provide a httpd.conf.default file in /etc/httpd You can copy that file to /etc/httpd/httpd.conf to restore the default setup.
As for the speciic issues you're having, /~username/ directories require the userdir module to be enabled. Check /etc/httpd/httpd.conf for the lines:
<pre class=command>LoadModule userdir_module libexec/httpd/mod_userdir.so</pre>
and
<pre class=command>AddModule mod_userdir.c</pre>
and make sure they're not commented out.
>Alternatively, is there a way to get TextEdit to open this file and save it unformated?
It already is unformatted - it's a plain text file. The issue is that for security reasons it's owned by root, so unless you invoke TextEdit as root you cannot edit this file (TextEdit doesn't have the ability to overwrite the file).
If you want a GUI app, consider TextWrangler, a free text editor that can edit root-owned files via authentication.
Also any way to get finder to access the / directory?
I'm not sure what you're asking here. The default root directory is /Library/WebServer/Documents which you can easily get to in the Finder. If you want to change that you'll need to edit the DocumentRoot and Directory directives in httpd.conf.
If you mean you want to see the /etc/httpd directory in the Finder, just use Go -> Go to Folder and enter /etc
Although normally hidden, the Finder will display this directory if you ask it. However you will probably have trouble deleting files in here since they're all owned by root. -
How to convert wired network config from /etc/rc.conf to netcfg?
Hi,
I am trying to migrate my wired network configuration from /etc/rc.conf to a netcfg profile.
from /etc/rc.conf
interface=eth0
address=192.168.0.1
netmask=255.255.255.0
gateway=192.168.2.1
/etc/network.d/wired
CONNECTION='ethernet'
DESCRIPTION='A basic static ethernet connection using iproute'
INTERFACE='eth0'
IP='static'
ADDR='192.168.0.1'
GATEWAY='192.168.2.1'
DNS=('192.168.2.1')
NETMASK='255.255.255.0'
The problem is, it does not work: executing "netcfg wired" only gives
:: wired up [BUSY]
> No connection [FAIL]
EDIT:
NETCFG_DEBUG="yes" netcfg wired
DEBUG: Loading profile wired
DEBUG: Configuring interface eth0
:: wired up [BUSY]
DEBUG: status reported to profile_up as:
DEBUG: Loading profile wired
DEBUG: Configuring interface eth0
DEBUG: ethernet_up bring_interface up eth0
> No connection
DEBUG: profile_up connect failed
[FAIL]
Any idea how to make it work?
Last edited by Phate666 (2012-10-26 16:09:36)The rc.conf is correct because there are two diffrent subnets.
My PS3 is connected to my computer via ethernet.
The computer is connected via wifi to the router (ip 192.168.2.1).
When using /etc/rc.d/network to start ethernet everything works perfect, the PS3 can stream video from the computer and access internet.
Last edited by Phate666 (2012-10-26 16:34:47) -
Deleted /etc/rc.conf ...How can I repair?
Deleted script in /etc/rc.conf dueing clean-up...can't log-in...
Is it possible to use Arch install CD to sgway to configuration and re-install the rc data?
Is there any particular order of operations to ensure protecting the already installed kernel and packages? :?:Rasat;
I understand the chroot procedure you listed previously so I opt to use that one.
Firstly, I assume that the hdx you specify is ...root partition...
I am hoping the CD kernel boot identifies the drive as hda and partition 3 since it has been addressed in the kernel 2.4.21 as /dev/disc/disc/part3.
I assume I do not have to address the 2.4.21 kernel in this procedure...
I don't have any familiarity with vi but nano will serve OK.
One last query... if I cp /etc/rc.conf~~~~ /etc/rc.conf.... with this procedure will it not show up with the tilde~~~~? Perhaps I can just rename /etc/rc.conf~~~ to /etc/rc.conf
I assume that the contents are transferred and not the ID details. I also assume since the tilde is eliminated that the file icon script will show up in /etc/rc.conf.
If I do not find any /etc/rc.conf with tilde, I assume I will have to use the rc.root~ cp procedure and edit using an exchange procedure so as not to generate more tildes!!
marku? -
Hey guys,
For some unknown reason /etc/dhcpcd.conf continually overwrites my /etc/resolv.conf file, eventhough I set the "nohook resolv.conf" hook in /etc/dhcpcd.conf.
This is screwing up my DNS and intermittently creating connection problems. Any of you guys know why the hook is not taking effect or how I can stop dhcpcd from overwritting this file?
Thanks
Last edited by w201 (2013-03-18 19:05:15)drcouzelis wrote:
w201 wrote:I set the "nohook resolv.conf" hook in /etc/dhcpcd.conf.
kaszak696 wrote:
dhcpcd's configuration file may be edited to prevent the dhcpcd daemon from overwriting /etc/resolv.conf. To do this, add the following to the last section of /etc/dhcpcd.conf:
nohook resolv.conf
I don't think that information will help w201...
I changed my DNS to the Google one (8.8.8.8 or something). That's in "resolv.conf", isn't it? I remember editing some OTHER configuration file, which is then read to create the "resolve.conf" file. There it is, in that link to the wiki, under "Use resolv.conf.head". Does that help you do what you want to do?
There's three techniques at the wiki link, the nohook one, the resolv.conf.head one and the write-protection attribute. -
Openntpd config question - security in /etc/ntpd.conf
I read the NTP wiki page and installed openntpd. It wasn't clear to me from the page if the default /etc/ntpd.conf was secure or if securing it requires additional lines. Right now I'm using the default /etc/ntpd.conf which only contains a 'servers' line. Are there any recommended lines to add security to this daemon or is this one-line config file sufficient security-wise?
Thanks!
Last edited by graysky (2009-08-07 22:41:48)majiq wrote:If I understand correctly: A) the security section on that page is for ntp and not openntp and B) It's only a security issue if you're using it to act as a server and not just as a client (the default config is for it to just be a client, so it shouldn't be a hazard)
A) Right, I made a slight modification to the wiki page
B) Okay, thanks for the clarification -
Sudo can't open /etc/sysinfo.conf mac os x lion
I have been trying to get locate to work for ages now (well not really, only since I upgraded to lion).
And I'm having no joy. I keep getting an su error when /usr/libexec/locate.updatedb is being called.
Terminal just throws this cool error "su: Sorry".
Console (syslog) shows this error
(pam_acct_mgmt: error in service module)
Which apparently means an error occured in a PAM module
I decided to run dtrace opensnoop to find out what files were being opened and what was going wrong.
Mind you that I am not versed in Dtrace, this is one of my first uses.
This is what I get when I run "sudo /usr/libexec/locate.updatedb" whilst running "sudo opensnoop -x -n sudo -e":
UID
PID
COMM
FD
ERR
PATH
0
54853
sudo
-1
2
/etc/sysinfo.conf
0
54854
sudo
-1
2
/proc/self/fd
0
54858
su
-1
2
/etc/sysinfo.conf
/etc/sysinfo.conf does not exist on my system.
This might be the cullprit, but I'm not sure.
I have been getting the very "helpfull" tip to just use mdfind.
Not being able to use locate isn't the end of the world for me, it just bugs the **** out of me that it doesn't work anymore.
I can't shake the feeling that I don't know what else is broken.I fixed the issue by doing a clean install of Lion.
Now locate works as expected.
Incidentally, when I installed Xcode on my upgraded version of Lion I had the same problem that many other people had which was that the installer window (the one with the progress bar) got stuck at 99% even though Xcode finished installing.
I did not have this issue with the clean install Lion... hmm go figure. -
Can I set CFLAGS="-march=broadwell" optimizations in /etc/makepkg.conf
Hi
does the Arch Build System allow the new compiler optimizations
-march=broadwell
to be set as CFLAGS and CXXFLAGS in /etc/makepkg.conf?
I recently installed Arch on a machine having this processor (an Intel Broadwell NUC) and I was wondering if I should change CFLAGS from the generic "x86-64" to the more specific broadwell setting. As far as I understood gcc > 4.9 does support this.
What else needs to be adjusted in Arch in order to use this optimizations?
Thanks
gen2archThanks everyone for your input!
graysky: actually the linux kernel is exactly the package in view of which I was looking into the Arch Build System; having come over from gentoo, I thought it would be a good idea to streamline the generic arch kernel and, in the process, apply processor specific optimizations. So your point that precisely the kernel doesn't honor these settings is indeed very helpful!
Against which sources do I have to apply your patch: actually, where can I download the source package of Arch linux' own kernel build?
Thanks again
gen2arch -
what is the new syntax for 'SyncFirst' in pacman 4.1?
greetingsAllan wrote:Merge your pacman files...
it's the first i make when update package (merge changes in /etc/makepkg and /etc/pacman.conf)
but need keep SyncFirst
# If upgrades are available for these packages they will be asked for first
SyncFirst = linux-headers linux-lts-headers
need this to update kernel headers before update kernel, because i use mkinitcpio to update DKMS modules [1]
if upgrade kernel before install headers, the build dkms modules fail
[1] https://aur.archlinux.org/packages/mkinitcpio-dkms/
related:
https://wiki.archlinux.org/index.php/NV … any_kernel
https://wiki.archlinux.org/index.php/Vi … any_kernel
Last edited by sl1pkn07 (2013-04-18 12:11:34) -
Which configuration file modified the /etc/resolv.conf ?
Hello Everyone,
I have 2 linux VM in my laptop that has been setup in similar way but one of them behaves differently every time it gets rebooted.
This is OEL6 update 5
I configured 4 interfaces:
eth0 - eth3 is setup with NAT-Network to be able to communicate with other VMs only.
eth4 is setup with bridged network.
I've configured the ifcfg-eth# scripts as follows:
Interface
server 1
server 2
eth0
DEVICE=eth0
TYPE=Ethernet
UUID=8cb50704-029f-469a-b031-da44b4a49b74
ONBOOT=yes
NM_CONTROLLED=no
BOOTPROTO=none
IPADDR=10.1.2.71
PREFIX=24
GATEWAY=10.1.2.1
DNS1=10.1.2.90
DEFROUTE=yes
IPV4_FAILURE_FATAL=yes
IPV6INIT=no
NAME="System eth0"
HWADDR=08:00:27:12:F8:42
LAST_CONNECT=1389967507
DEVICE=eth0
TYPE=Ethernet
UUID=f10e7ab5-7b7e-4bcf-9ddb-a2ab439a776a
ONBOOT=yes
NM_CONTROLLED=no
BOOTPROTO=none
IPADDR=10.1.2.72
PREFIX=24
GATEWAY=10.1.2.1
DNS1=10.1.2.90
DEFROUTE=yes
IPV4_FAILURE_FATAL=yes
IPV6INIT=no
NAME="System eth0"
HWADDR=08:00:27:45:56:13
LAST_CONNECT=1389968121
eth1
DEVICE=eth1
TYPE=Ethernet
UUID=568d8c14-d28e-48f7-82e5-dd7764968648
ONBOOT=yes
NM_CONTROLLED=no
BOOTPROTO=none
IPADDR=192.168.5.81
PREFIX=24
GATEWAY=192.168.5.1
DEFROUTE=yes
IPV4_FAILURE_FATAL=yes
IPV6INIT=no
NAME="System eth1"
HWADDR=08:00:27:B1:D9:D6
DEVICE=eth1
TYPE=Ethernet
UUID=dc09606a-5126-4d2c-a0bc-ea11ce0dc80f
ONBOOT=yes
NM_CONTROLLED=no
BOOTPROTO=none
IPADDR=192.168.5.82
PREFIX=24
GATEWAY=192.168.5.1
DEFROUTE=yes
IPV4_FAILURE_FATAL=yes
IPV6INIT=no
NAME="System eth1"
HWADDR=08:00:27:15:7B:39
LAST_CONNECT=1389968121
eth2
DEVICE=eth2
TYPE=Ethernet
UUID=6e6858b9-9709-4334-9b58-bb6f02a30e94
ONBOOT=yes
NM_CONTROLLED=no
BOOTPROTO=none
HWADDR=08:00:27:9C:16:71
IPADDR=192.168.7.51
PREFIX=24
GATEWAY=192.168.7.1
DEFROUTE=yes
IPV4_FAILURE_FATAL=yes
IPV6INIT=no
NAME="System eth2"
DEVICE=eth2
TYPE=Ethernet
UUID=283b2c5c-04e1-47ca-8375-6c52d333099f
ONBOOT=yes
NM_CONTROLLED=no
BOOTPROTO=none
IPADDR=192.168.7.52
PREFIX=24
GATEWAY=192.168.7.1
DEFROUTE=yes
IPV4_FAILURE_FATAL=yes
IPV6INIT=no
NAME="System eth2"
HWADDR=08:00:27:A8:44:45
LAST_CONNECT=1389968121
eth3
DEVICE=eth3
TYPE=Ethernet
UUID=ecca01b5-e18f-4f7f-b617-0cfe50e17638
ONBOOT=yes
NM_CONTROLLED=no
BOOTPROTO=none
HWADDR=08:00:27:5C:F8:96
IPADDR=192.168.9.51
PREFIX=24
GATEWAY=192.168.9.1
DEFROUTE=yes
IPV4_FAILURE_FATAL=yes
IPV6INIT=no
NAME="System eth3"
DEVICE=eth3
TYPE=Ethernet
UUID=9f2f8b5a-2650-412b-9d12-49de5484a877
ONBOOT=yes
NM_CONTROLLED=no
BOOTPROTO=none
IPADDR=192.168.9.52
PREFIX=24
GATEWAY=192.168.9.1
DEFROUTE=yes
IPV4_FAILURE_FATAL=yes
IPV6INIT=no
NAME="System eth3"
HWADDR=08:00:27:27:0F:F0
LAST_CONNECT=1389968136
eth4
HWADDR=08:00:27:EC:60:F2
TYPE=Ethernet
BOOTPROTO=none
NM_CONTROLLED=no
DEFROUTE=no
PEERDNS=no
PEERROUTES=yes
IPV4_FAILURE_FATAL=yes
IPV6INIT=no
IPADDR=192.168.1.30
DNS1=192.168.1.90
NAME=eth4
UUID=6c6afa4f-48ce-47c7-9968-3419b4e5f8ea
ONBOOT=yes
LAST_CONNECT=1393844453
HWADDR=08:00:27:FD:E7:7E
TYPE=Ethernet
BOOTPROTO=none
NM_CONTROLLED=no
DEFROUTE=no
PEERDNS=no
PEERROUTES=yes
IPV4_FAILURE_FATAL=yes
IPV6INIT=no
IPADDR=192.168.1.31
DNS1=192.168.1.90
NAME=eth4
UUID=0ca62e7e-6770-45aa-a7a2-bca42cf3ed9c
ONBOOT=yes
LAST_CONNECT=1393849919
however, each time I rebooted, these are the difference on the /etc/resolv.conf and the other configuration
Config
Server 1
Server 2
/etc/resolv.conf
; generated by /sbin/dhclient-script
search wrx4.vm
nameserver 10.1.2.90
nameserver 103.11.48.126
# Generated by NetworkManager
search wrx4.vm
# No nameservers found; try putting DNS servers into your
# ifcfg files in /etc/sysconfig/network-scripts like so:
# DNS1=xxx.xxx.xxx.xxx
# DNS2=xxx.xxx.xxx.xxx
# DOMAIN=lab.foo.com bar.foo.com
nameserver 10.1.2.90
chkconfig --list NetworkManager
NetworkManager 0:off 1:off 2:off 3:off 4:off 5:off 6:off
NetworkManager 0:off 1:off 2:off 3:off 4:off 5:off 6:off
service NetworkManager status
NetworkManager is stopped
NetworkManager is stopped
I never setup any dhcp client configuration before, but each time the VM is rebooted or started it seems that the /etc/resolv.conf always gets overwritten again.
However, in Server 1, somehow the dhcp client is working and getting the right DNS server IP address.
What I want to achieve for the Server 2 is like the one in the Server 1 where the nameserver I got from the ISP is also configured there.
That will made it easier if I need to download just a small file from the internet.
Other than that, I also wanted to understand what other configuration that could affect this /etc/resolve.conf file gets overwritten, which configuration and how to configure it.
Thanks in advance for your help in advance.
Adhika
Message was edited by: Adhika WHi Dude!,
To make it simpler, I can simply delete those interfaces (eth0, eth1, eth2, & eth3) right now and left with eth4 which I think can be directed to the actual question I was asking.
So here's the result of ipconfig on my host:
Ethernet adapter Local Area Connection:
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Realtek PCIe GBE Family Controller
Physical Address. . . . . . . . . : 00-90-F5-CC-F9-DB
DHCP Enabled. . . . . . . . . . . : No
Autoconfiguration Enabled . . . . : Yes
IPv4 Address. . . . . . . . . . . : 192.168.1.5(Preferred)
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . : 192.168.1.1
DNS Servers . . . . . . . . . . . : 192.168.1.1
103.11.48.126
NetBIOS over Tcpip. . . . . . . . : Enabled
As you can see from that result, if you compare the Server 1 and Server 2, the /etc/resolv.conf from Server 1 managed to get that 103.11.48.126, whereas the one in the Server 2 couldn't.
This is exactly what I'm trying to resolve.
Does this make any sense to you?
Just forget about the other interfaces.
Thank you,
Adhika -
Settings in /etc/sysctl.conf overwritten [SOLVED]
I added a new line to /etc/sysctl.conf setting the vm.dirty_ratio to 3 (line is simply `vm.dirty_ratio = 3`). I can invoke it by running `sysctl -p` so I know the syntax is correct. This setting is however not loaded upon a reboot. The systemd-sysctl.service is however kicked off just fine and completes without errors. I have also tried removing the line from /etc/sysctl.conf and placing it in /etc/sysctl.d/dirty.conf but again, it is not honored at boot. What am I doing wrong?
EDIT: The solution is in post #31 - acknowledgement to chp for pointing me to it. Note that I also changed to topic to a more relevant one.
Last edited by graysky (2013-08-10 12:27:41)Guess I'm stumped. I just spun up an Arch VM, pasted in the /etc/sysctl.conf below and reboot it. All the settings in the file in the VM are applied. If Leonid's guess that something is overriding these values on my workstation, I would like to figure out what it is and shut it down. To keep things simple, I booted into the stock ARCH kernel; here are the services I have active:
UNIT LOAD ACTIVE SUB DESCRIPTION
proc-sys-fs-binfmt_misc.automount loaded active waiting Arbitrary Executable File Formats File System Automo
sys-devices-pci0000:00-0000:00:19.0-net-eno1.device loaded active plugged P8P67 Deluxe Motherboard
sys-devices-pci0...-0000:00:1b.0-sound-card0.device loaded active plugged 7 Series/C210 Series Chipset Family High Definition
sys-devices-pci0...6-0000:07:00.0-net-wlp7s0.device loaded active plugged AR9485 Wireless Network Adapter
sys-devices-pci0...:0-0:0:0:0-block-sda-sda1.device loaded active plugged OCZ-VERTEX4
sys-devices-pci0...:0-0:0:0:0-block-sda-sda2.device loaded active plugged OCZ-VERTEX4
sys-devices-pci0...:0-0:0:0:0-block-sda-sda3.device loaded active plugged OCZ-VERTEX4
sys-devices-pci0...et0:0:0-0:0:0:0-block-sda.device loaded active plugged OCZ-VERTEX4
sys-devices-pci0...:0-1:0:0:0-block-sdb-sdb1.device loaded active plugged WDC_WD1001FALS-00J7B1
sys-devices-pci0...:0-1:0:0:0-block-sdb-sdb2.device loaded active plugged WDC_WD1001FALS-00J7B1
sys-devices-pci0...:0-1:0:0:0-block-sdb-sdb3.device loaded active plugged WDC_WD1001FALS-00J7B1
sys-devices-pci0...:0-1:0:0:0-block-sdb-sdb4.device loaded active plugged WDC_WD1001FALS-00J7B1
sys-devices-pci0...:0-1:0:0:0-block-sdb-sdb5.device loaded active plugged WDC_WD1001FALS-00J7B1
sys-devices-pci0...:0-1:0:0:0-block-sdb-sdb6.device loaded active plugged WDC_WD1001FALS-00J7B1
sys-devices-pci0...:0-1:0:0:0-block-sdb-sdb7.device loaded active plugged WDC_WD1001FALS-00J7B1
sys-devices-pci0...et1:0:0-1:0:0:0-block-sdb.device loaded active plugged WDC_WD1001FALS-00J7B1
sys-devices-pci0...et3:0:0-3:0:0:0-block-sr0.device loaded active plugged ATAPI_iHAS424_B
sys-devices-platform-serial8250-tty-ttyS0.device loaded active plugged /sys/devices/platform/serial8250/tty/ttyS0
sys-devices-platform-serial8250-tty-ttyS1.device loaded active plugged /sys/devices/platform/serial8250/tty/ttyS1
sys-devices-platform-serial8250-tty-ttyS2.device loaded active plugged /sys/devices/platform/serial8250/tty/ttyS2
sys-devices-platform-serial8250-tty-ttyS3.device loaded active plugged /sys/devices/platform/serial8250/tty/ttyS3
sys-module-configfs.device loaded active plugged /sys/module/configfs
sys-module-fuse.device loaded active plugged /sys/module/fuse
sys-subsystem-net-devices-eno1.device loaded active plugged P8P67 Deluxe Motherboard
sys-subsystem-net-devices-wlp7s0.device loaded active plugged AR9485 Wireless Network Adapter
-.mount loaded active mounted /
boot.mount loaded active mounted /boot
dev-hugepages.mount loaded active mounted Huge Pages File System
dev-mqueue.mount loaded active mounted POSIX Message Queue File System
home-facade-.cache.mount loaded active mounted /home/facade/.cache
mnt-data.mount loaded active mounted /mnt/data
run-user-1000-gvfs.mount loaded active mounted /run/user/1000/gvfs
scratch.mount loaded active mounted /scratch
sys-fs-fuse-connections.mount loaded active mounted FUSE Control File System
sys-kernel-config.mount loaded active mounted Configuration File System
sys-kernel-debug.mount loaded active mounted Debug File System
tmp.mount loaded active mounted Temporary Directory
var-cache.mount loaded active mounted /var/cache
systemd-ask-password-console.path loaded active waiting Dispatch Password Requests to Console Directory Watc
systemd-ask-password-wall.path loaded active waiting Forward Password Requests to Wall Directory Watch
cronie.service loaded active running Periodic Command Scheduler
dbus.service loaded active running D-Bus System Message Bus
fancontrol.service loaded active running Fan control daemon
[email protected] loaded active running Getty on tty1
gpm.service loaded active running Virtual console mouse server
lxdm.service loaded active running LXDE Display Manager
[email protected] loaded active exited A basic static ethernet connection using iproute
ntpd.service loaded active running Network Time Service
polkit.service loaded active running Authorization Manager
psd.service loaded active exited Profile-sync-daemon
rtkit-daemon.service loaded active running RealtimeKit Scheduling Policy Service
systemd-journald.service loaded active running Journal Service
systemd-logind.service loaded active running Login Service
systemd-modules-load.service loaded active exited Load Kernel Modules
systemd-remount-fs.service loaded active exited Remount Root and Kernel File Systems
systemd-sysctl.service loaded active exited Apply Kernel Variables
systemd-tmpfiles-setup.service loaded active exited Recreate Volatile Files and Directories
systemd-udev-trigger.service loaded active exited udev Coldplug all Devices
systemd-udevd.service loaded active running udev Kernel Device Manager
systemd-update-utmp.service loaded active exited Update UTMP about System Reboot/Shutdown
systemd-user-sessions.service loaded active exited Permit User Sessions
systemd-vconsole-setup.service loaded active exited Setup Virtual Console
udisks2.service loaded active running Disk Manager
ufw.service loaded active exited CLI Netfilter Manager
upower.service loaded active running Daemon for power management
cups.socket loaded active listening CUPS Printing Service Sockets
dbus.socket loaded active running D-Bus System Message Bus Socket
dmeventd.socket loaded active listening Device-mapper event daemon FIFOs
sshd.socket loaded active listening sshd.socket
systemd-initctl.socket loaded active listening /dev/initctl Compatibility Named Pipe
systemd-journald.socket loaded active running Journal Socket
systemd-shutdownd.socket loaded active listening Delayed Shutdown Socket
systemd-udevd-control.socket loaded active listening udev Control Socket
systemd-update-utmp.service loaded active exited Update UTMP about System Reboot/Shutdown
systemd-user-sessions.service loaded active exited Permit User Sessions
systemd-vconsole-setup.service loaded active exited Setup Virtual Console
udisks2.service loaded active running Disk Manager
ufw.service loaded active exited CLI Netfilter Manager
upower.service loaded active running Daemon for power management
cups.socket loaded active listening CUPS Printing Service Sockets
dbus.socket loaded active running D-Bus System Message Bus Socket
dmeventd.socket loaded active listening Device-mapper event daemon FIFOs
sshd.socket loaded active listening sshd.socket
systemd-initctl.socket loaded active listening /dev/initctl Compatibility Named Pipe
systemd-journald.socket loaded active running Journal Socket
systemd-shutdownd.socket loaded active listening Delayed Shutdown Socket
systemd-udevd-control.socket loaded active listening udev Control Socket
systemd-udevd-kernel.socket loaded active running udev Kernel Socket
basic.target loaded active active Basic System
cryptsetup.target loaded active active Encrypted Volumes
getty.target loaded active active Login Prompts
graphical.target loaded active active Graphical Interface
local-fs-pre.target loaded active active Local File Systems (Pre)
local-fs.target loaded active active Local File Systems
multi-user.target loaded active active Multi-User System
network.target loaded active active Network
paths.target loaded active active Paths
remote-fs.target loaded active active Remote File Systems
sockets.target loaded active active Sockets
sound.target loaded active active Sound Card
swap.target loaded active active Swap
sysinit.target loaded active active System Initialization
timers.target loaded active active Timers
psd-resync.timer loaded active waiting Timer for Profile-sync-daemon - 1Hour
systemd-tmpfiles-clean.timer loaded active waiting Daily Cleanup of Temporary Directories
And...
% systemctl list-unit-files
UNIT FILE STATE
proc-sys-fs-binfmt_misc.automount static
dev-hugepages.mount static
dev-mqueue.mount static
proc-fs-nfsd.mount static
proc-sys-fs-binfmt_misc.mount static
sys-fs-fuse-connections.mount static
sys-kernel-config.mount static
sys-kernel-debug.mount static
tmp.mount static
var-lib-nfs-rpc_pipefs.mount static
cups.path disabled
systemd-ask-password-console.path static
systemd-ask-password-wall.path static
alsa-restore.service static
alsa-state.service static
alsa-store.service static
arch32.service disabled
[email protected] disabled
avahi-daemon.service disabled
avahi-dnsconfd.service disabled
binfmt-support.service disabled
blkmapd.service disabled
canberra-system-bootup.service disabled
canberra-system-shutdown-reboot.service disabled
canberra-system-shutdown.service disabled
colord.service static
console-getty.service disabled
console-shell.service disabled
cronie.service enabled
cups-browsed.service disabled
cups.service disabled
cupsd.service disabled
dbus-org.freedesktop.hostname1.service static
dbus-org.freedesktop.locale1.service static
dbus-org.freedesktop.login1.service static
dbus-org.freedesktop.timedate1.service static
dbus.service static
debug-shell.service disabled
dhcpcd.service disabled
[email protected] disabled
display-manager.service enabled
distccd.service disabled
dkms.service disabled
dmeventd.service static
emergency.service static
fancontrol.service enabled
ftpd.service disabled
[email protected] enabled
[email protected] static
gpm.service enabled
hddtemp.service disabled
healthd.service disabled
initrd-cleanup.service static
initrd-parse-etc.service static
initrd-switch-root.service static
initrd-udevadm-cleanup-db.service static
ip6tables.service disabled
iptables.service disabled
irexec.service disabled
krb5-kadmind.service disabled
krb5-kdc.service disabled
krb5-kpropd.service disabled
[email protected] static
lirc.service disabled
lircm.service disabled
lm_sensors.service disabled
lxdm.service enabled
mcelog.service disabled
mpd.service disabled
[email protected] disabled
[email protected] disabled
netctl-sleep.service disabled
netctl.service disabled
[email protected] static
[email protected] static
[email protected] enabled
nfsd.service disabled
nmbd.service disabled
nscd.service disabled
ntpd.service enabled
ntpdate.service disabled
polkit.service static
psd-resync.service enabled
psd.service enabled
quotaon.service static
rescue.service static
rpc-gssd.service disabled
rpc-idmapd.service disabled
rpc-mountd.service disabled
rpc-statd.service disabled
rpc-svcgssd.service disabled
rpcbind.service disabled
rsyncd.service disabled
[email protected] static
rtkit-daemon.service disabled
samba.service disabled
sensord.service disabled
[email protected] static
smartd.service disabled
smbd.service disabled
[email protected] static
snmpd.service disabled
snmptrapd.service disabled
speech-dispatcherd.service disabled
sshd.service disabled
[email protected] static
sshdgenkeys.service static
svnserve.service disabled
[email protected] static
systemd-ask-password-console.service static
systemd-ask-password-wall.service static
systemd-binfmt.service static
systemd-fsck-root.service static
[email protected] static
systemd-halt.service static
systemd-hibernate.service static
systemd-hostnamed.service static
systemd-hybrid-sleep.service static
systemd-initctl.service static
systemd-journal-flush.service static
systemd-journal-gatewayd.service static
systemd-journald.service static
systemd-kexec.service static
systemd-localed.service static
systemd-logind.service static
systemd-modules-load.service static
[email protected] static
systemd-poweroff.service static
systemd-quotacheck.service static
systemd-random-seed-load.service static
systemd-random-seed-save.service static
systemd-readahead-collect.service disabled
systemd-readahead-done.service static
systemd-readahead-drop.service disabled
systemd-readahead-replay.service disabled
systemd-reboot.service static
systemd-remount-fs.service static
systemd-shutdownd.service static
systemd-suspend.service static
systemd-sysctl.service static
systemd-timedated.service static
systemd-tmpfiles-clean.service static
systemd-tmpfiles-setup-dev.service static
systemd-tmpfiles-setup.service static
systemd-udev-settle.service static
systemd-udev-trigger.service static
systemd-udevd.service static
systemd-update-utmp-runlevel.service static
systemd-update-utmp.service static
systemd-user-sessions.service static
systemd-vconsole-setup.service static
udisks.service disabled
udisks2.service static
ufw.service enabled
upower.service disabled
usbmuxd.service static
[email protected] disabled
uuidd.service static
vboxweb.service disabled
vncserver.service disabled
winbindd.service disabled
[email protected] disabled
[email protected] disabled
wpa_supplicant.service disabled
[email protected] disabled
avahi-daemon.socket disabled
cups.socket enabled
dbus.socket static
dmeventd.socket static
git-daemon.socket disabled
krb5-kpropd.socket disabled
rsyncd.socket disabled
smbd.socket disabled
sshd.socket enabled
swat.socket disabled
syslog.socket static
systemd-initctl.socket static
systemd-journal-gatewayd.socket disabled
systemd-journald.socket static
systemd-shutdownd.socket static
systemd-udevd-control.socket static
systemd-udevd-kernel.socket static
uuidd.socket disabled
basic.target static
bluetooth.target static
cryptsetup.target static
ctrl-alt-del.target disabled
default.target disabled
emergency.target static
final.target static
getty.target static
graphical.target disabled
halt.target disabled
hibernate.target static
hybrid-sleep.target static
initrd-fs.target static
initrd-root-fs.target static
initrd-switch-root.target static
initrd.target static
kexec.target disabled
local-fs-pre.target static
local-fs.target static
multi-user.target disabled
network-online.target static
network.target static
nss-lookup.target static
nss-user-lookup.target static
paths.target static
poweroff.target disabled
printer.target static
reboot.target disabled
remote-fs-pre.target static
remote-fs.target enabled
rescue.target disabled
rpcbind.target static
shutdown.target static
sigpwr.target static
sleep.target static
smartcard.target static
sockets.target static
sound.target static
suspend.target static
swap.target static
sysinit.target static
system-update.target static
time-sync.target static
timers.target static
umount.target static
psd-resync.timer static
systemd-readahead-done.timer static
systemd-tmpfiles-clean.timer static
231 unit files listed.
Last edited by graysky (2014-11-03 08:39:54) -
Arch's fonts was too small in firefox and sites was difficult to read and with layout wrong because of font, then I switch the fonts config of ubuntu to my arch to fix this problem and I solve, otherwise now I receive errors in terminal when I perform a program like this: Fontconfig warning: "/etc/fonts/conf.d/53-monospace-lcd-filter.conf", line 17: invalid constant used : legacy".
somebody can help me?
sorry by bad english.
Last edited by solanoalves (2008-01-23 04:08:29)A good idea would be to post that file.
An alternative would be to remove the contents of /etc/fonts/conf.d and reinstall the fontconfig package. Then follow the instructions in the wiki to get a better font rendering.
Good luck -
The procedure to change the default global umask from 0022 to 0002, so that most files created by one user on a machine will be read-write by other users in the same group, seems to have been broken or to have been changed in OS X Lion from OS X Snow Leopard. What worked as far back as OS X 10.4 and was officially documented was done from Terminal: "defaults write /Library/Preferences/.GlobalPreferences NSUmask 2" (with a sudo, if not logged in as 'root').
Another way documented in various places and which I actually used through OS X 10.6 was also done via Terminal. Two files were created: /etc/launchd.conf (for system-wide global umask) or /etc/launchd-user.conf (for user-specific global umask). The contents of each were simply the single umask command, "umask 002" or ("umask u=rwx,g=rwx,o=rx", I can't remember which variant I used - they're functionally the same, though).
No matter which method I use, the 2nd or the 1st, the global umask no longer changes.
Does anyone know whether this has been deliberately hobbled under OS X Lion, requiring purchase of OS X Lion Server? Is this an OS X Lion bug? Or, am I looking at something wrong?See this support article, which was written for OS X Server, but seems applicable to Mac OS X client versions as well:
Mac OS X Server v10.5, 10.6: Setting a custom umask
The excerpt below describes the use of /etc/launchd-user.conf, and strongly cautions against using /etc/launchd.conf.
Umask for user applications
In Mac OS X v10.5.3 and later, you can create the file /etc/launchd-user.conf with the contents "umask nnn". Do not include the quotation marks and replace nnn with the desired umask value, such as 027 or 002.
This will set the user's umask for all applications they launch, such as Finder, TextEdit, or Final Cut Pro, and control the permissions set on new files created by any of these applications.
Umask for system processes
In Mac OS X v10.4 and later, create the file /etc/launchd.conf with the contents "umask nnn". Do not include the quotation marks and replace nnn with the desired umask value, such as 027 or 002.
This will set the umask for all processes. Changing this value is strongly discouraged because it changes the permissions on files used by the system software. If the permissions are too restrictive, dependent software may not work. If the permissions are too open, they may introduce security issues.
Maybe you are looking for
-
Is there any way to prevent the Intruders to shutdown the iPhone ?
Hi guys, I'm thinking if there is any way to prevent the Intruders to shutdown my iphone, unless they have a password, so, I can sure that my iphone secure and keep the find my iphone's information available to monitor the iphone.
-
Is it possible to recover anything after using "restore all settings and content" button?
Anyone has any idea about this? The iPod Touch has not been linked to iTunes yet.
-
Should i create a client and a server socket in a same application
Greetings, In which situation sould i have a server socket ? and in which situation should i have a client socket ?and in which situation should i have both? I 'm making a app. who receives info (like alarms ) from a automation machine and also that
-
How can I use a datatiprenderer for a DataGrid?
Hi! When using charts you can define a custom DataTipRenderer, which is pretty cool because you can add lots of things in it. But when using DataGrids there is no such functionality. Does anybody have an idea how you can change the DataGrid so that y
-
As of two days ago, I can't export a file to Word. I searched here and saw similar issues, but no solution that works. I use OS X. Help! I have no back slashes or weird symbols in the file names, just letters. Thanks!