Error: `interface' is undefined in /etc/rc.conf
Hi.
I started to get this error (couple days ago, I guess) with the following setup:
/etc/rc.conf
interface=
address=
netmask=
broadcast=
gateway=
# Setting this to "yes" will skip network shutdown.
# This is required if your root device is on NFS.
NETWORK_PERSIST="no"
# Enable these netcfg profiles at boot-up. These are useful if you happen to
# need more advanced network features than the simple network service
# supports, such as multiple network configurations (ie, laptop users)
# - set to 'menu' to present a menu during boot-up (dialog package required)
# - prefix an entry with a ! to disable it
# Network profiles are found in /etc/network.d
# This requires the netcfg package
NETWORKS=(eth0 eth1)
/etc/network.d/eth0
CONNECTION='ethernet'
DESCRIPTION='A basic static ethernet connection using iproute'
INTERFACE='eth0'
IP='static'
ADDR='192.168.101.8'
GATEWAY='192.168.101.1'
DNS=('192.168.101.11' '208.67.222.222' '64.59.160.13')
/etc/netwotk.d/eth1.
CONNECTION='ethernet'
DESCRIPTION='A basic static ethernet connection using iproute'
INTERFACE='eth1'
IP='static'
ADDR='192.168.102.8'
Any idea how to get rid of this error message? The network is working though.
Raynman wrote:Remove 'network' from DAEMONS array (if it's in there). You should only need net-profiles for netcfg.
Thanks! That was the problem. It also starts (significantly) faster now. :-)
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 -
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) -
1) Configured Php4.4 to have oci8 enabled with Apache2.2 on Windows 2000 ( service pack4). No error at the time of Apache start but when trying to connect to Oracle using Oracle Instant Client below error is thrown..
"Fatal error: Call to undefined function: ocilogon() in C:\Apache2 \htdocs\star\dbconnect.php on line 7"
Configuration steps..
1) Uncommented "extension=php_oci8.dll" in php.ini to enable oci API's.
2)Configured Oracle Instant client by adding path to Windows path variable as per it documentation.
3)Copied all Php4.4 dlls( oci..etc) into the directory pointed by "PHPIniDir", which is configured in httpd.conf
If i run phpinfo(), i dont see oci8 enabled in the output. I guess there is problem in the configuration? Any insights into the error is greatly appreciated..
BTW, I did same configuartion on Windows XP and is working fine..Also, I dont see path value for path variable in phpinfo() ouput for Oracle Instant Client, which i updated in Windows?
Below is the snippet of ouput from phpinfo().
Apache Environment
Variable Value
HTTP_ACCEPT image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/x-shockwave-flash, */*
HTTP_ACCEPT_LANGUAGE en-us
HTTP_ACCEPT_ENCODING gzip, deflate
HTTP_USER_AGENT Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0)
HTTP_HOST localhost
HTTP_CONNECTION Keep-Alive
PATH D:\CESi\isis\bin;D:\CESi\Gateway\mico-win32-bin\;D:\CESi\Gateway\;C:\WINNT\system32;C:\WINNT;C:\WINNT\System32\Wbem;C:\Program Files\Support Tools\
SystemRoot C:\WINNT
COMSPEC C:\WINNT\system32\cmd.exe
PATHEXT .COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH
WINDIR C:\WINNT
SERVER_SIGNATURE <address>Apache/2.0.59 (Win32) PHP/4.4.4 Server at localhost Port 80</address>
SERVER_SOFTWARE Apache/2.0.59 (Win32) PHP/4.4.4
SERVER_NAME localhost
SERVER_ADDR 127.0.0.1
SERVER_PORT 80
REMOTE_ADDR 127.0.0.1
DOCUMENT_ROOT C:/Apache2/htdocs
SERVER_ADMIN [email protected]
SCRIPT_FILENAME C:/Apache2/htdocs/info.php
REMOTE_PORT 4977
GATEWAY_INTERFACE CGI/1.1
SERVER_PROTOCOL HTTP/1.1
REQUEST_METHOD GET
QUERY_STRING no value
REQUEST_URI /info.php
SCRIPT_NAME /info.php
Environment
Variable Value
ALLUSERSPROFILE C:\Documents and Settings\All Users
CMM_CELL CSTAR_STAR
CommonProgramFiles C:\Program Files\Common Files
COMPUTERNAME STAR-SM-NR-PROD
ComSpec C:\WINNT\system32\cmd.exe
NUMBER_OF_PROCESSORS 2
OS Windows_NT
Os2LibPath C:\WINNT\system32\os2\dll;
Path D:\CESi\isis\bin;D:\CESi\Gateway\mico-win32-bin\;D:\CESi\Gateway\;C:\WINNT\system32;C:\WINNT;C:\WINNT\System32\Wbem;C:\Program Files\Support Tools\
PATHEXT .COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH
PROCESSOR_ARCHITECTURE x86
PROCESSOR_IDENTIFIER x86 Family 6 Model 11 Stepping 1, GenuineIntel
PROCESSOR_LEVEL 6
PROCESSOR_REVISION 0b01
ProgramFiles C:\Program Files
SMS_LOCAL_DIR C:\WINNT
SystemDrive C:
SystemRoot C:\WINNT
TEMP C:\WINNT\TEMP
TMP C:\WINNT\TEMP
USERPROFILE C:\Documents and Settings\xwback
windir C:\WINNT
AP_PARENT_PID 884 -
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) -
I updated to the latest Pacman in testing, and when I tried to use makepkg, I got this:
==> ERROR: BUILDSCRIPT is undefined! Ensure you have updated /etc/makepkg.conf.
However, I have already checked and modified the configuration, look:
# /etc/makepkg.conf
# SOURCE ACQUISITION
#-- The FTP/HTTP download utility that makepkg should use to acquire sources
FTPAGENT="/usr/bin/wget --continue --passive-ftp --tries=3 --waitretry=3 --no-check-certificate"
#FTPAGENT="/usr/bin/snarf"
#FTPAGENT="/usr/bin/lftpget -c"
# ARCHITECTURE, COMPILE FLAGS
CARCH="i686"
CHOST="i686-pc-linux-gnu"
#-- Exclusive: will only run on i686
# -mtune builds exclusively for an architecture
# -mcpu optimizes for an architecture, but builds for the whole processor family
CFLAGS="-march=native -mtune=generic -O2 -pipe"
CXXFLAGS="-march=native -mtune=generic -O2 -pipe"
#-- Make Flags: change this for DistCC/SMP systems
MAKEFLAGS="-j1"
# BUILD ENVIRONMENT
# Defaults: BUILDENV=(!fakeroot !distcc color !ccache)
#-- fakeroot: Allow building packages as a non-root user
#-- distcc: Use the Distributed C/C++/ObjC compiler
#-- color: Colorize output messages
#-- ccache: Use ccache to cache compilation
BUILDENV=(fakeroot !distcc color ccache)
#-- If using DistCC, your MAKEFLAGS will also need modification. In addition,
#-- specify a space-delimited list of hosts running in the DistCC cluster.
#DISTCC_HOSTS=""
# GLOBAL PACKAGE OPTIONS
# These are default values for the options=() settings
# Default: OPTIONS=(strip !docs !libtool emptydirs)
#-- strip: Strip symbols from binaries/libraries
#-- docs: Save doc and info directories
#-- libtool: Leave libtool (.la) files in packages
#-- emptydirs: Leave empty directories in packages
OPTIONS=(strip !docs libtool emptydirs)
#-- File integrity checks to use. Valid: md5, sha1, sha256, sha384, sha512
INTEGRITY_CHECK=(md5)
#-- Info and doc directories to remove (if option set correctly above)
DOC_DIRS=(usr/{,share/}{info,doc,gtk-doc} opt/gnome/{,share/}{info,doc,gtk-doc})
# PACKAGE OUTPUT
# Default: put built package and cached source in build directory
#-- Destination: specify a fixed directory where all packages will be placed
PKGDEST=/home/ltsmash/packages
#-- Source cache: specify a fixed directory where source files will be cached
SRCDEST=/home/ltsmash/sources
#-- Packager: name/email of the person or organization building packages
PACKAGER="LTSmash <[email protected]>"
# vim: set ft=sh ts=2 sw=2 et:
Any ideas?
Thanks in advanceambalex wrote:no, after reinstaling there's no /etc/makepkg.conf.pacnew, and the /etc/makepkg.conf is the old one.
If pacman didn't install a *.pacnew version of the config file that means that your makepkg.conf is up to date or, in either case, the same as the default one installed by the package.
Here is the default makepkg.conf file for reference: http://rafb.net/p/5h2PWp94.html -
http://www.oracle.com/technology/tech/php/htdocs/inst_php_apache_windows.html
I have followed all these instructions, installed what was specified (including all versions needed).
First problem I encountered was there were no oci8 title in phpinfo.php,
Second was when I compiled the oci8test.php it brings this error,
Fatal error: Call to undefined function ocilogon() in C:\Program Files\Apache Group\Apache2\htdocs\ocisample.php on line 3
As I said, I have followed exactly what was specified in the instructions, yet the error is persistent.
Actions taken:
restarted apache
checked folder locations
checked php.ini-recommended
checked httpd.conf
everything is where they need to be.
I need help.
Thanks everyone. Have a nice day.If this is line #3, then try changing "//127.0.0.1/XE" to "localhost", or better yet to your TNS alias, which is typically "XE".
$db_conn = ocilogon("hr", "your_hr_password", "//127.0.0.1/XE");
It should look like this if you're using a USER account of test with a password of test:
$db_conn = ocilogon("test","test","XE"); -
Getting Fatal error: Call to undefined function mysql_connect() error.
ok, so before I had my mysql_connect php script and it ran fine, no errors, but once I changed my php.ini file to give ERROR_REPORTING E_ALL I now get Fatal error: Call to undefined function mysql_connect(). I am just wondering how I can fix this?
I followed the arch linux LAMP wiki and I can't figure out why I am getting this error after turnning on error_reporting.
Thanks
this is my php code
<?php
$connection = mysql_connect('localhost', 'root', 'password');
if(!$connection){
echo mysql_error();
} else {
echo 'connected';
if (!mysql_select_db('my_first_db')){
echo 'uh';
} else {
echo 'selected database';
?>
<?php phpinfo(); ?>
Last edited by clandest (2012-03-22 04:36:43)aking9 wrote:grabbing into the back of the back of my memory here but don't you need to specify a port to connect to?
Only if you change the port from the default 3306. But even then, a different error message will output, in this case the mysql modules have not loaded for some reason.
There is a syntax error in your php.ini file, at line 510. Comment out this line as it's a line giving information rather than an option. Then uncomment the error_reporting option.
So this:
Default Value: E_ALL & ~E_NOTICE
; Development Value: E_ALL | E_STRICT
; Production Value: E_ALL & ~E_DEPRECATED
; http://php.net/error-reporting
;error_reporting = E_ALL & ~E_DEPRECATED
Should be changed to this:
; Default Value: E_ALL & ~E_NOTICE
; Development Value: E_ALL | E_STRICT
; Production Value: E_ALL & ~E_DEPRECATED
; http://php.net/error-reporting
error_reporting = E_ALL & ~E_DEPRECATED
After this try "sudo /etc/rc.d/httpd restart" then see if you have any better luck connecting to mysql.
Last edited by astiak (2012-03-22 23:24:40) -
/etc/resolv.conf problems
In my conky script, the gmail portion stopped working so I just tried to do a normal wget https://mail.google.com in the terminal. The output was
--11:41:41-- https://mail.google.com/
=> `index.html'
Resolving mail.google.com... 1.0.0.0
Connecting to mail.google.com|1.0.0.0|:443...
which obviously isn't right. What could have changed? I use WICD to connect to my network.
rc.conf
# /etc/rc.conf - Main Configuration for Arch Linux
# LOCALIZATION
# LOCALE: available languages can be listed with the 'locale -a' command
# HARDWARECLOCK: set to "UTC" or "localtime"
# TIMEZONE: timezones are found in /usr/share/zoneinfo
# KEYMAP: keymaps are found in /usr/share/kbd/keymaps
# CONSOLEFONT: found in /usr/share/kbd/consolefonts (only needed for non-US)
# CONSOLEMAP: found in /usr/share/kbd/consoletrans
# USECOLOR: use ANSI color sequences in startup messages
LOCALE="en_US.utf8"
HARDWARECLOCK="localtime"
TIMEZONE="Canada/Pacific"
KEYMAP="us"
CONSOLEFONT=
CONSOLEMAP=
USECOLOR="yes"
# HARDWARE
# Scan hardware and load required modules at bootup
MOD_AUTOLOAD="yes"
# Module Blacklist - modules in this list will never be loaded by udev
MOD_BLACKLIST=()
# Modules to load at boot-up (in this order)
# - prefix a module with a ! to blacklist it
MODULES=(sky2 iwl4965 snd-mixer-oss snd-pcm-oss snd-hwdep snd-page-alloc snd-pcm snd-timer snd snd-hda-intel soundcore acpi-cpufreq cpufreq_conservative)
# Scan for LVM volume groups at startup, required if you use LVM
USELVM="no"
# NETWORKING
HOSTNAME="reasons"
# Use 'ifconfig -a' or 'ls /sys/class/net/' to see all available
# interfaces.
# Interfaces to start at boot-up (in this order)
# Declare each interface then list in INTERFACES
# - prefix an entry in INTERFACES with a ! to disable it
# - no hyphens in your interface names - Bash doesn't like it
# Note: to use DHCP, set your interface to be "dhcp" (eth0="dhcp")
lo="lo 127.0.0.1"
eth0="dhcp"
wlan0="dhcp"
#eth0="eth0 192.168.0.2 netmask 255.255.255.0 broadcast 192.168.0.255"
INTERFACES=(lo eth0 wlan0)
# Routes to start at boot-up (in this order)
# Declare each route then list in ROUTES
# - prefix an entry in ROUTES with a ! to disable it
gateway="default gw 192.168.0.1"
ROUTES=(!gateway)
# Enable these network profiles at boot-up. These are only useful
# if you happen to need multiple network configurations (ie, laptop users)
# - set to 'menu' to present a menu during boot-up (dialog package required)
# - prefix an entry with a ! to disable it
# Network profiles are found in /etc/network-profiles
#NET_PROFILES=(main)
# DAEMONS
# Daemons to start at boot-up (in this order)
# - prefix a daemon with a ! to disable it
# - prefix a daemon with a @ to start it up in the background
DAEMONS=(syslog-ng crond dbus netfs !network !dhcdbd wicd @cups @alsa @acpid @hal @fam @mpd @acpid @cpufreq gdm)
# End of file
/etc/hosts
# /etc/hosts: static lookup table for host names
#<ip-address> <hostname.domain.org> <hostname>
127.0.0.1 localhost.localdomain localhost reasons
# End of file
Last edited by Reasons (2008-01-11 01:28:45)nawcom wrote:
i was wandering around forums and i noticed the wicd issue with archlinux, since it still focuses on dhcpcd, not dhclient - so resolv.conf doesnt upload.
http://bbs.archlinux.org/viewtopic.php? … 34#p332334
let me know if it solves the issue.
That fixed it, thanks. Let's hope it stays this time.
Cerebral wrote:
Reasons wrote:
I tried that all to no avail. The problem actually went away for a while but now it is back. I've disabled ipv6 which is what solved it but now that isn't working. Also,
[shawn] /etc/rc.d/dhcpd start
:: Starting DHCP Server [FAIL]
Is there a reason you're starting the dhcp Server, and not client? Do you want dhcpcd?
That was my mistake. -
[SOLVED]/etc/vconsole.conf doesn't react to any change
Hi,
I'm new in Arch Linux, so sorry if I'm missreading something.
I try to change my font and keymap using this manual: https://wiki.archlinux.org/index.php/KEYMAP
So i edit /etc/vconsole.conf like this:
KEYMAP=cz-lat2
FONT=Lat2-Terminus16
but nothing change, even after reboot. "kbd" is installed.
Btw. when I run "setfont Lat2-Terminus16" the font is changed (but just this session).
Thanks
Last edited by Kotrfa (2012-11-06 16:22:41)It doesnt work in any form.
I tried to add i915 to my mkinicpio to modules, but when I run:
[dan@localhost ~]$ sudo mkinitcpio -p linux
[sudo] password for root:
==> Building image from preset: 'default'
-> -k /boot/vmlinuz-linux -c /etc/mkinitcpio.conf -g /boot/initramfs-linux.img
==> Starting build: 3.6.3-1-ARCH
-> Running build hook: [base]
-> Running build hook: [udev]
-> Running build hook: [autodetect]
findmnt: /etc/fstab: parse error at line 7
-> Running build hook: [pata]
-> Running build hook: [scsi]
-> Running build hook: [sata]
-> Running build hook: [filesystems]
-> Running build hook: [usbinput]
-> Running build hook: [fsck]
==> Generating module dependencies
==> Creating gzip initcpio image: /boot/initramfs-linux.img
bsdcpio: Failed to set default locale
==> Image generation successful
==> Building image from preset: 'fallback'
-> -k /boot/vmlinuz-linux -c /etc/mkinitcpio.conf -g /boot/initramfs-linux-fallback.img -S autodetect
==> Starting build: 3.6.3-1-ARCH
-> Running build hook: [base]
-> Running build hook: [udev]
-> Running build hook: [pata]
-> Running build hook: [scsi]
-> Running build hook: [sata]
-> Running build hook: [filesystems]
-> Running build hook: [usbinput]
-> Running build hook: [fsck]
==> Generating module dependencies
==> Creating gzip initcpio image: /boot/initramfs-linux-fallback.img
bsdcpio: Failed to set default locale
==> Image generation successful
There are messages about failing to set locale.
Btw. here is my locale and locale -a output:
[dan@localhost ~]$ locale -a
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_COLLATE to default locale: No such file or directory
C
POSIX
cs_CZ.utf8
en_GB.utf8
[dan@localhost ~]$ locale
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
LANG=en_US.utf8
LC_CTYPE="en_US.utf8"
LC_NUMERIC="en_US.utf8"
LC_TIME="en_US.utf8"
LC_COLLATE="en_US.utf8"
LC_MONETARY="en_US.utf8"
LC_MESSAGES="en_US.utf8"
LC_PAPER="en_US.utf8"
LC_NAME="en_US.utf8"
LC_ADDRESS="en_US.utf8"
LC_TELEPHONE="en_US.utf8"
LC_MEASUREMENT="en_US.utf8"
LC_IDENTIFICATION="en_US.utf8"
LC_ALL=
Edit: When I try to change my keyboard layout in gnome creating /etc/X11/xorg.conf.d/10-keyboard.conf with:
Section "InputClass"
Identifier "Keyboard Defaults"
MatchIsKeyboard "yes"
Option "XbkLayout" "cz"
EndSection
it doesn't work.
And when I try to use: "setxkbmap cz", it change my keyboard to czech, but it doesn't work in terminal (when i type "+ěščřtřžýáí" i get "+???????".
Last edited by Kotrfa (2012-10-29 12:33:51) -
When I use facebook, I keep getting this message [Java Script Application] Error: options is undefined whenever I try to return something, click on a link, or message, open a game, etc. ... I have Windows 7, addons of greasemonkey and better facebook (which seems to have disappeared)
== URL of affected sites ==
http://www.facebook.com/reqs.php#!/?ref=homeStart Firefox in [[Safe Mode]] to check if one of your add-ons is causing your problem (switch to the DEFAULT theme: Tools > Add-ons > Themes).
See [[Troubleshooting extensions and themes]] and [[Troubleshooting plugins]]
If it does work in Safe-mode then disable all your extensions and then try to find which is causing it by enabling one at a time until the problem reappears.
You can use "Disable all add-ons" on the [[Safe mode]] start window to disable all extensions.
You have to close and restart Firefox after each change via "File > Exit" (Mac: "Firefox > Quit"; Linux: "File > Quit") -
/etc/resolv.conf between netctl profile switches
Hi, all.
I use same laptop at home and in my office. Network is managed by netct. At home I connect using a profile generated by wifi-menu, in the office — plain ethernet-dhcp profile form examples folder.
With both connections nameservers are obtained via dhcp.
The issue is that after switching from office ethernet-dhcp to my home wi-fi netctl profile, /etc/resolve.conf retains nameserver and domain entries from the office connection. My home's nameserver entry gets appended to the end of the resolv.conf file. This, of course, causes unacceptable delays when resolving domain names, so I have to edit /etc/resolve.conf manually every time I've been using that office's connection.
I'm wondering whether there is something wrong with my setup.
Profiles are nothing special, as I said:
Description='Automatically generated profile by wifi-menu'
Interface=wlp3s0
Connection=wireless
Security=wpa
ESSID=my_ssid
IP=dhcp
Key=my_passwd
Description='A dhcp ethernet connection'
Interface=enp0s25
Connection=ethernet
IP=dhcp
DHCPClient='dhcpcd'
Please, help me to resolve that issue. Feel free to ask for more details if needed.
Thanks in advance for help.
Last edited by eDio (2014-04-12 19:30:51)2branch,
I switch them with netctl switch-to command, which is incorrect, as I understand now.
Important notice is that I unplug ethernet cord first, and then I perform a switch.
Also I tried disabling ethernet-dhcp explicitly after switching to wlp3s0 — not helped.
I checked /run/resolvconf/interfaces, and found that enp0s25 is missing. Instead, I have tun0, which contains problematic entries.
dhcpcd --dumplease enp0s25
broadcast_address=10.1.20.255
dhcp_lease_time=604800
dhcp_message_type=5
dhcp_rebinding_time=529200
dhcp_renewal_time=302400
dhcp_server_identifier=10.1.10.2
domain_name=my.company.domain.name
domain_name_servers='10.1.10.2 10.1.1.6'
ip_address=10.1.20.30
network_number=10.1.20.0
ntp_servers=10.1.10.2
routers=10.1.20.1
subnet_cidr=24
subnet_mask=255.255.255.0 -
No "lo" line in /etc/rc.conf after a fresh install?
I just did a reinstall of Arch this morning using 2007.08-2 ftp installation CD and noticed that there is no 'lo' line in /etc/rc.conf. Is this intentional? I've manually added the 'lo' line back into /etc/rc.conf but I still would like to know whether this is intentional or simply some unintended error or bug? Sorry if there's already a thread on this issue.
zodmaner wrote:
Ah, I see. Thanks for clearing that up, thayer. So it's safe to remove them (again ), right?
Also, we should update the wiki to reflect this change (since the wiki still talks about lo line).
Fixed Beginner's Guide and Network articles to reflect this change. -
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 -
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)
Maybe you are looking for
-
I haven’t seen anything posted yet so I thought I’d let anyone who is curious know: Yes, you can upgrade your DV6000 to Windows 8. I did mine a couple of days ago and it seems to be running fine so far. The procedure described in the thread General
-
Hi, In the file (Serial Read and Write to .tdms & Compare on Graph – test.vi) I am trying to integrate the following two waveforms into a single waveform: Realtime reading and Waveform chart (open vi to see). Both of them display speed vs time but fr
-
How to get black text in Aperture for offset printing?
I have a lot of text in my Aperture Books. 60 pages is like 300USD plus from Apple store! Offset printing for 1000 copies is 3 USD each (and I am happy with that lower quality). This is what my printer says: The files for offset print generally shoul
-
Display Cost Center Group Text
Hi.. I'm new to abap, and I am working for abap for hr module now. My question will be... How can I display a cost center group text in report? Is there a text table for it? I get the cost center value from table pa0001-kostl. I find the function BAP
-
Wait time announcement on UCCX
Hi all, Our customer have a requirement to play back the wait time using UCCX IVR, in short when the customer calls and placed in to queue, IVR has to playback the wait time to the customer , which will help them to know how long they need to wait in