Skip to content

Instantly share code, notes, and snippets.

1) Goal screen shot: http://i.imgur.com/LMTcz.png
2) Fedora (Site 4 trying to connect Site 1) failed:
[root@example ~]# ip route
98.0.0.0/24 dev em1 proto kernel scope link src 98.0.0.2 metric 1
81.164.40.0/21 dev wlan0 proto kernel scope link src 81.164.44.90 metric 2
default via 98.0.0.1 dev em1 proto static
[root@example ~]# ip addr
[control]
wizard_flag=0
wizard_isdn_flag=1
[general]
terminal_name="PCS-XG80"
standby_flag=0
standby_time=30
list_save_flag=0
cam_ctrl_recv_flag=1
alg {
h323 {
media-source-port-any;
application-screen {
unknown-message {
permit-nat-applied;
permit-routed;
}
}
}
## reset all mistakes
load factory-default
## root passwd
set system root-authentication plain-text-password(will prompt for password)
set system host-name srx210
## WAN - static
set interfaces ge-0/0/0 unit 0 family inet address xx.xx.232.189/18
set routing-options static route 0.0.0.0/0 next-hop xx.xx.192.1
<?php
/**
* Router - virtual link
*/
protected function _initRoutes()
{
$front = Zend_Controller_Front::getInstance();
$router = $front->getRouter();
1. When i visit http://site/en/selection, it gives error no page found
2. when i visit http://site/en/selection/index does not give error and works
Question: How can i allow 1 to act same like point 2?
<?php
protected function _initRoutes()
{
$front = Zend_Controller_Front::getInstance();
Problem:/var/log/maillog
Jul 7 05:41:46 out postfix/qmgr[1340]: 5DC948308: to=<[email protected]>, relay=none, delay=933, delays=929/3.4/0/0, dsn=4.4.1, status=deferred (delivery temporarily suspended: connect to 127.0.0.1[127.0.0.1]: Connection refused)
1)
[root@out postfix]# netstat -tulpn | grep master
tcp 0 0 127.0.0.1:587 0.0.0.0:* LISTEN 21469/master
tcp 0 0 127.0.0.1:10028 0.0.0.0:* LISTEN 21469/master
tcp 0 0 127.0.0.1:25 0.0.0.0:* LISTEN 21469/master
[root@out postfix]#
[root@out postfix]# cat master.cf
#
# Postfix master process configuration file. For details on the format
# of the file, see the master(5) manual page (command: "man 5 master").
#
# ==========================================================================
# service type private unpriv chroot wakeup maxproc command + args
# (yes) (yes) (yes) (never) (100)
# ==========================================================================
smtp inet n - n - - smtpd
static void
_midori_browser_update_progress (MidoriBrowser* browser,
MidoriView* view)
{
MidoriLocationAction* action;
gdouble progress;
action = MIDORI_LOCATION_ACTION (_action_by_name (browser, "Location"));
progress = midori_view_get_progress (view);
/* When we are finished, we don't want to *see* progress anymore */
make: Entering directory `/home/sun/test1-build-desktop'
/usr/lib/qt4/bin/uic ../test1/mainwindow.ui -o ui_mainwindow.h
g++ -c -pipe -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/lib/qt4/mkspecs/linux-g++ -I../test1 -I/usr/include/QtCore -I/usr/include/QtGui -I/usr/include -I. -I. -I../test1 -I. -o mainwindow.o ../test1/mainwindow.cpp
g++ -Wl,-O1 -o test1 main.o mainwindow.o moc_mainwindow.o -lQtGui -lQtCore -lpthread
mainwindow.o: In function `Ui_MainWindow::setupUi(QMainWindow*)':
make: Leaving directory `/home/sun/test1-build-desktop'
/home/sun/test1-build-desktop/./ui_mainwindow.h:43: undefined reference to `QWebView::QWebView(QWidget*)'
/home/sun/test1-build-desktop/./ui_mainwindow.h:46: undefined reference to `QWebView::setUrl(QUrl const&)'
collect2: ld returned 1 exit status
make: *** [test1] Error 1